Set location (API calls it "SipPeer") on new TN orders
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.
Alt top up command
To show mailing address, eTransfer address, Bitcoin addresses, and allow
generating a new Bitcoin address.
Add plans and electrum structure to example
Reply to extdisco with sip server
Merge branch 'create-reset-sip-account'
* create-reset-sip-account:
Create or reset SIP account
Factor out Catapult connection
Create or reset SIP account
New command to create or reset SIP account. Always try create first because
it's faster and more common, fall back to search the list for our account if
that fails due to conflict. Password is always randomly generated from the
mnemonicode word list.
Disco info with XEP-0157
Allows us to advertise support address, for eventual inclusion in Cheogram adhoc
bot help output.
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.
Merge branch 'import-to-catapult'
* import-to-catapult:
Import newly-purchased numbers to Catapult
Import newly-purchased numbers to Catapult
Since we still use Catapult ("v1") for voice application, we need to import all
numbers there and set their applicationId to match.
Merge branch 'new-signup-add-credit-card'
* new-signup-add-credit-card:
Happy path for credit card signup
Panic should work on any value for error
Allow getting default payment method, not just index
Object representing the backend SGX to use
Stop polluting Object namespace with Blather DSL
Work in the presence of em-synchrony
Helper to allow ordering phone number from Bandwidth v2
Helper to get a promise that resolves after N seconds
Every payment kind will need the plan, so put it at the top
Use registration pattern for Payment kinds
Method to bill the plan of a Customer
Use Forwardable for simple delegations
Helper to allow using sync-style code in a Promise context
New signup: go to web to choose credit card
OOB helper
Reject promise on stanza error
Fix typo
Happy path for credit card signup
Assuming credit card payment works, you can now activate a new account by paying
with one.
New signup: go to web to choose credit card
This step, if chosen, directs the user to the jmp-pay webapp to add a credit
card. It includes an OOB element for use by user agents that can handle
that (possibly for webview embed, etc) with a note-based fallback as per XEP.
Once the user chooses "next" the code checks if they have actually added a card,
and if so continues to a yet-unimplemented step and if not repeats the
instruction to go to the web app.
Currency aware
Look up the user's plan to find out what currency to charge them in.
Write initial buy credit command
Initial commit
Supports registering with backend SGX via basic iq:register.
Does not support data forms version with nice labels.
Does not verify billing or anything else yet, just unconditionally registers the user.