Merge branch 'more-admin-info' * more-admin-info: Test Admin Info with Numbers Refetch Customer on Repeated Customer Info Calls Trust Level in Customer Info Show Callability State in Customer Info PromiseHash No Settled Transactions is 0, not Null
Refetch Customer on Repeated Customer Info Calls This means if I fetch a user, make a change (add a transaction, set their trust level, etc), I can re-run info from the menu to get the same user with up-to-date info, so you can see the thing I just did reflected back to me.
Merge branch 'message-limits' * message-limits: Block outgoing messages when expired Contacting support is not billable Use TrustLevel to determine daily quota Refactor message limits, change to 500/day
Block outgoing messages when expired
Contacting support is not billable
Use TrustLevel to determine daily quota
Refactor message limits, change to 500/day
JID Switch This allows a customer to change their JID, but it's a bit raw. In practice I don't expect anyone to actually run this directly, instead cheogram covers with with a friendlier and safer version. This is just the business.
Need repo too during bill plan command
Merge branch 'only-bill-if-expired' * only-bill-if-expired: Only bill customer if they for sure have balance and are expired Allow an in-transaction condition for billing Change multiline chain style
Change multiline chain style
Postgres#query_one Helper for queries that only return a single row.
Merge branch 'monthly-billing' * monthly-billing: Allow the DB to notify us to bill a customer Command.execution setter Bill plan command Clearer name for lock bypass factory
Allow the DB to notify us to bill a customer
Do not get CNAM during admin command Since this is used by the billing cronjob and hitting BW so much is too expensive.
Set Sentry user from CustomerRepo We don't always use this to get the current user, so make it optional.
Import some hotfixes from prod
Merge branch 'tx-list' * tx-list: Admin Command Menu + Admin Financial View Transactions List Customer Financials Telephone Link
Admin Command Menu + Admin Financial View I've added a new command to show financial information about the user. But more importantly I've added an infinite admin subsystem which allows me to go into a user and then run multiple commands on them. For now it's just these two info commands, but in the future I'd like to add mutative commands here. Finally, since I sometimes look up multiple users in a pretty short timeframe I made the menu open and if I put something into the list that doesn't parse as one of the actions it instead switches the current user so I don't have to do "cancel", "customer", and then put the next one in. I can just have the session open and put stuff in as needed.
Transactions List Using the new Financials object a user can list their transaction list We only show the user the date, amount, and method.