Commit log
d52e900
Slightly better logging
Click to expand commit body
Import structured logging gem ougai and replace current use of puts/warn with
logging calls. Gives us level, timestamp, and formatting for exceptions and/or
hash of arbitrary context data. Can do JSON logging if we ever need that, but
set to human-readable (with colour if isatty) for now.
Stephen Paul Weber
created
4 years ago
6e8fb2e
Merge branch 'btc_spop'
Click to expand commit body
* btc_spop:
Get new Bitcoin address from Redis set
Stephen Paul Weber
created
4 years ago
a7f39ff
Get new Bitcoin address from Redis set
Click to expand commit body
This set is populated by a cron job to have only known-good available addresses
in it.
Stephen Paul Weber
created
4 years ago
Stephen Paul Weber
created
4 years ago
39741b7
On SGX register! failure, return a useful error to user
Stephen Paul Weber
created
4 years ago
a58d09c
Explicitly wrap errors we want to send
Stephen Paul Weber
created
4 years ago
75362f5
Sync/flush stdout when logging
Stephen Paul Weber
created
4 years ago
13db097
Set type map on *all* connections in pool
Stephen Paul Weber
created
4 years ago
35bce21
monthly_price is in 10000ths of a dollar, not 1000ths
Stephen Paul Weber
created
4 years ago
4922e6b
Alt registration payment wording
Stephen Paul Weber
created
4 years ago
decdb12
Command cancel rejects the promise
Click to expand commit body
So it won't be taken as next by naive code.
Stephen Paul Weber
created
4 years ago
b64408f
No more "choose next"
Click to expand commit body
Instead, adhoc bot will show the options for actions to take
Stephen Paul Weber
created
4 years ago
313111a
Set catapult_fwd_timeout on our backend-facing JID
Click to expand commit body
Not on our inbound-facing JID. This is why we shouldn't be mucking in the SGX's
Redis at all...
Stephen Paul Weber
created
4 years ago
7e4d61d
Fix Invites with Empty Guard
Click to expand commit body
Turns out every user will start with no attempts, and the code wasn't
handling that case. Oops.
Christopher Vollick
created
4 years ago
1e8eef2
Set location (API calls it "SipPeer") on new TN orders
Stephen Paul Weber
created
4 years ago
5b36a8c
Funnel statsd for registration
Stephen Paul Weber
created
4 years ago
2c2975d
Import group-text fix from prod
Stephen Paul Weber
created
4 years ago
a4621ec
Cheogram should not save the route since signup is not done
Stephen Paul Weber
created
4 years ago
Stephen Paul Weber
created
4 years ago
324f326
Add disco info features
Stephen Paul Weber
created
4 years ago
1c26971
Show current balance in alt top up form
Stephen Paul Weber
created
4 years ago
1148e56
Signup should work if rate center lookup fails
Stephen Paul Weber
created
4 years ago
8965c1b
error of type error
Stephen Paul Weber
created
4 years ago
Stephen Paul Weber
created
4 years ago
Stephen Paul Weber
created
4 years ago
28d302a
Fix sending to MUC
Stephen Paul Weber
created
4 years ago
6b6e3ee
Use stats-instrument with graphite support
Stephen Paul Weber
created
4 years ago
e417c05
Send to StatsD for different inbound stanza types
Stephen Paul Weber
created
4 years ago
257d026
Only count billable messages
Click to expand commit body
Not typing indicators, etc.
Stephen Paul Weber
created
4 years ago
b9c4c2c
Notify admin if a user goes over 500 messages in 30 days
Click to expand commit body
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.
Stephen Paul Weber
created
4 years ago
b1cee59
Allow using pay-by-mail or eTransfer during register
Click to expand commit body
Just gives them the information and we're done. Support has to manually process
these payments anyway.
Stephen Paul Weber
created
4 years ago
f5cf445
Tell user about bonus amount when doing credit card top up
Stephen Paul Weber
created
4 years ago
f238598
Use PG connection pool
Stephen Paul Weber
created
4 years ago
e5f1219
Hotfix, iq replies coming to customer_ should try the manager first
Stephen Paul Weber
created
4 years ago
6d7b1ee
Alt top up command
Click to expand commit body
To show mailing address, eTransfer address, Bitcoin addresses, and allow
generating a new Bitcoin address.
Stephen Paul Weber
created
4 years ago
cf84aef
Handle invalid customer id
Click to expand commit body
An invalid customer id is an error from braintree, so handle the error and
return an empty list of payment methods.
Stephen Paul Weber
created
4 years ago
bbc0bb6
Refactor command list to use composition
Click to expand commit body
Also rename buy credit to top up
Stephen Paul Weber
created
4 years ago
847be4f
Add btc_addresses to Customer
Click to expand commit body
And use that in registration instead of implementing it inline
Stephen Paul Weber
created
4 years ago
938e2d7
Command to get to the credit card settings page
Stephen Paul Weber
created
4 years ago
2ae7839
Add plans and electrum structure to example
Stephen Paul Weber
created
4 years ago
6670718
Reply to extdisco with sip server
Stephen Paul Weber
created
4 years ago
fe4c9e8
fix config sample syntax
Stephen Paul Weber
created
4 years ago
2b7b276
Spec says we must reply to all IQs
Click to expand commit body
So say feature-not-implemented if we haven't got it with some other handler.
Stephen Paul Weber
created
4 years ago
1e6063d
Merge identical cases
Stephen Paul Weber
created
4 years ago
3c312eb
Validate that amount of credit to buy is in valid range
Stephen Paul Weber
created
4 years ago
d632629
Rename buy-credit to buy credit
Stephen Paul Weber
created
4 years ago
c29b156
When no plan, all plan attributes are nil
Stephen Paul Weber
created
4 years ago
df67870
Merge branch 'conditionally-show-commands'
Click to expand commit body
* 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)
Stephen Paul Weber
created
4 years ago
3e6ca1e
Only show buy credit option if customer has a plan and a credit card
Stephen Paul Weber
created
4 years ago
345895d
Show commands conditionally (plus add voicemail record command)
Click to expand commit body
Refactor to a factory that allows commands to be shown conditionally, so that
the voicemail record command can only be shown if the customer has a forwarding
target set up.
Stephen Paul Weber
created
4 years ago
Page 18 of 20