Disco info with XEP-0157
Allows us to advertise support address, for eventual inclusion in Cheogram adhoc
bot help output.
Reply to old bot address
Keep this deprecation message in so that users with this still in roster know
where bot has moved.
Merge branch 'pass-messages'
* pass-messages:
Pass messages to and from the SGX
Merge branch 'web-register-start'
* web-register-start:
Hidden command to allow jmp-register to start a web registration
Hidden command to allow jmp-register to start a web registration
This is the command jmp-register will use to tell use a certain claimed JID
wants a certain tel. We relay that to cheogram and save in web_register_manager
the tel associated with the JID cheogram assigns to the target.
Pass messages to and from the SGX
Rewriting the from/to as appropriate.
Set execting status properly
ergonomics for testing credit card
Merge branch 'create_customer_id'
* create_customer_id:
Create customer_id if it does not exist before we start registration
Break out CustomerPlan
Inject BackendSgx per customer
Create customer_id if it does not exist before we start registration
Break out CustomerPlan
We had Plan and Customer but the relationship between the two lived
entirely in Customer, which was growing quite large. Break that
relationship out into its own concept and give it a name.
Inject BackendSgx per customer
Instead of being a singleton that represents the entire relationship
with the backend, the object is now per-customer (since any meaningful
method requires a customer anyway for the from JID at least) and can be
delegated to directly from Customer.
Merge branch 'invites'
* invites:
Block repeated invite code tries by customer id
Allow user to activate using invite code
Block repeated invite code tries by customer id
So it's not as trivial to brute-force the space and find an open one. Limit is
10 tries per hour.
Allow user to activate using invite code
Checks if the code is available and marks it used, then activates. Tracks who
invited and who used in the table for later reward or punishment.
Merge branch 'set-forwarding-on-finish'
* set-forwarding-on-finish:
Configure number for inbound calls
Fixed code to expect 201 but forgot to update tests
Merge branch 'import-to-catapult'
* import-to-catapult:
Import newly-purchased numbers to Catapult