~singpolyma/sgx-jmp

Throttle notification processing to prevent starvation
Do not catchup low-balance notifications for expired customers

Makes the number of users to do on startup much smaller and slower-growing.
Expired users have been told about their low balance quite a bit already, and
will be notified by billing cronjob etc from here out.
Optional alternate transcription with rev.ai

The bitfield bit 1 was used by a different project (sgx-catapult, see:
https://gitlab.com/ossguy/sgx-catapult/-/commit/459d7d1dfe208db1708f1d648b82b38c002ad35a).
This other project no longer uses the bit, and in fact that whole project is
dead and gone, but if you previously ran that project against the same redis
that you now run this project against then please make sure you have zeroed-out
that bit first.

You can verify using this script:

    redis = Redis.new
    redis.keys("catapult_settings_flags-*").each do |k|
      p redis.getbit(k, 1)
    end
Bad XML parser produces hash for one element, array for >1
Empty URI is invalid
Fix tests for sip account using APIError
Amount needs to be a number to check it
Add to_s for Expired
Extract response_status type errors
Don't bother looking for nothing
Merge branch 'snikket'

* snikket:
  Initial bare-bones admin command for launching a snikket instance
Merge branch 'limit-credit-card-amount'

* limit-credit-card-amount:
  Limit size of credit card transaction by trust level
Limit size of credit card transaction by trust level
Merge branch 'limit-top-up-take-2'

* limit-top-up-take-2:
  Only one credit card transaction per customer per day
Only one credit card transaction per customer per day
Initial bare-bones admin command for launching a snikket instance
Fix test broken by hotfix
Revert "Merge branch 'limit-top-up-freq'"

This reverts commit 7a28753d7df5d7d6f5f890d302634b1bdbd25f73, reversing
changes made to e4ec9b8eb368ed0997887ebd99f8c79982640d20.
Merge branch 'limit-top-up-freq'

* limit-top-up-freq:
  Only allow one credit card transaction per customer per day
Move between accounts requires a sip peer id
Next