~singpolyma/sgx-jmp

Merge branch 'new-blather'

* new-blather:
  Update to latest blather upstream
  notify_customer helper
Fix for em-pg-client and latest pg gem
Update to latest blather upstream

Which has merged our changes
notify_customer helper
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
Fix tests for sip account using APIError
Amount needs to be a number to check it
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
Next