~singpolyma/jmp-pay

Merge branch 'invite-rewards'

* invite-rewards:
  Process invite/referral rewards
Process invite/referral rewards

Select all unrewarded codes where there are associated transactions to meet the
reward criteria, and insert the rewards to the DB.
Check for low balance when setting auto top up

People expect to be able to set their auto top up setting in response to a low
balance alert, and have this solve the problem instantly.  This change resets
the lock that prevents sgx-jmp from acting on a low_balance notification, and
then asks the database to check if the balance is low and issue a notify if
relevant, which would then result in sgx-jmp acting and charging their card at
the newly-configured level.
Factor out AutoTopUpRepo and add tests
Removed web activation form

No longer used for either registrations or as a hack for payments, everything
handled by ad-hoc commands now and nothing links here any longer.
Add rake, used for tests
Merge branch 'do-not-bill-unregistered'

* do-not-bill-unregistered:
  Query sgx-jmp for every expired user
  Show backtrace and bail out hard on panic
Merge branch 'rubocop'

* rubocop:
  Update rubocop
Query sgx-jmp for every expired user

If they have no assigned tel, do not bill them or notify them.
Show backtrace and bail out hard on panic
Update rubocop

And use settings from sgx-jmp
Merge branch 'guix'

* guix:
  Build Guix package
Build Guix package
We don't use this rake task anyway

No need to make Rakefile depend on rubocop if we don't even use it.
Make Script Executable

I missed this, but the original commit was already merged.
Find Bad Customers

This is meant to go through all customers who aren't already on sgx_jmp
and who don't already have an open porting request to get them there.
Show what tels are paid-up but not in dashboard
Next