Merge branch 'bill-with-note' * bill-with-note: Add a note when billing account
Add a note when billing account
Merge branch 'activate-with-balance' * activate-with-balance: If customer already has enough balance, just bill them and finish New BillPay registration step Save plan to DB as soon as it is selected Move credit_to lookup into relevant class
If customer already has enough balance, just bill them and finish
New BillPay registration step Assumes they have enough balance (anyone using this step must be sure of this) and then does the billing before proceeding to finish.
Save plan to DB as soon as it is selected Customer will appear as instantly expired (having been active for 1 second in the immediate past). This can replace the pending_plan key for BTC activations. It also serves as a record for mail-in activation of what plan they had selected. Once the account is really activated the tiny row is removed.
Move credit_to lookup into relevant class
Import some hotfixes from prod
approved_domains unproxied
Make wording more verbose In case you've been living under a rock and don't know what an eTransfer is.
Merge branch 'whitelist' * whitelist: Allow whitelisting domains Use FormTemplate for activation form
Allow whitelisting domains Some domains credit new users to the admin, some to no one. We still have to show a form to get them to pick a plan, but otherwise skip most of the process, activate them with 1 month and go to Finish.
Use FormTemplate for activation form
Merge branch 'rubocop' * rubocop: Additional fixes for rubocop 1.10.1 Switch to rubocop 0.89.1
Switch to rubocop 0.89.1 This is the rubocop in new Debian stable
Merge branch 'configure-calls-v2' * configure-calls-v2: New configure calls command Move more persistence into the repo layer Easy DSL for adding XEP-0122 validation to fields CustomerFwd uses ValueSemantics, translates old XMPP-SIP URI
Move more persistence into the repo layer BackendSGX shouldn't touch Redis, instead get one of the repos to save the data we want saved wherever that repo saves it (in this case, those same Redis keys).
Merge branch 'reset-sip-v2' * reset-sip-v2: After SIP reset, offer to change inbound fwd Reset sip account using v2 API
After SIP reset, offer to change inbound fwd
Move CustomerFwd behind Customer All the previously-lazy BackendSgx data is now either all loaded or all not loaded by swapping the sgx_repo used by your CustomerRepo instance. When not loaded the fields are filled with bottom values that explode when used. When loaded the values are present in RAM and not promises at all. Most code paths do not need any of the data, a few need most of it, so this seems like a good trade-off. Most code using this object will simply never touch those fields or care about how they are loaded, etc. Of course, most of this data isn't even SGX related and should move out of here, but that would take a data model refactor/migration on the catapult_* schema.