~singpolyma/sgx-jmp

Notify admin if a user goes over 500 messages in 30 days

Notify only once per day (using expiring redis key).
Can notify MUC or user, always sends directed presence first so it will join MUC
if not joined.
Ignore all messages direct to the component, mostly to throw out live messages
from MUC if we join that to notify.
Allow using pay-by-mail or eTransfer during register

Just gives them the information and we're done. Support has to manually process
these payments anyway.
Tell user about bonus amount when doing credit card top up
Use PG connection pool
Hotfix, iq replies coming to customer_ should try the manager first
Alt top up command

To show mailing address, eTransfer address, Bitcoin addresses, and allow
generating a new Bitcoin address.
Handle invalid customer id

An invalid customer id is an error from braintree, so handle the error and
return an empty list of payment methods.
Refactor command list to use composition

Also rename buy credit to top up
Add btc_addresses to Customer

And use that in registration instead of implementing it inline
Command to get to the credit card settings page
Add plans and electrum structure to example
Reply to extdisco with sip server
fix config sample syntax
Spec says we must reply to all IQs

So say feature-not-implemented if we haven't got it with some other handler.
Validate that amount of credit to buy is in valid range
Rename buy-credit to buy credit
When no plan, all plan attributes are nil
Merge branch 'conditionally-show-commands'

* conditionally-show-commands:
  Only show buy credit option if customer has a plan and a credit card
  Show commands conditionally (plus add voicemail record command)
Only show buy credit option if customer has a plan and a credit card
Next