88cb18b
Use safe nav
Stephen Paul Weber created
88cb18b
Use safe nav
Stephen Paul Weber created
46d9022
Merge branch '388-warn-about-top-up-limits' of https://git.sr.ht/~amolith/sgx-jmp
* '388-warn-about-top-up-limits' of https://git.sr.ht/~amolith/sgx-jmp: feat(form): conditionally display max top-up amount test(credit-card-sale): add missing openstruct require style: wrap YARD comment lines refactor: remove duplicated logic from BuyAccountCreditForm refactor: set DeclinedError defaults to nil fix: raise and check for errors correctly refactor: protect max_declines fix: redo amount validation in the form docs: add Yard documentation to code we touched feat: add upper limit to top-ups based on trust level
Stephen Paul Weber created
32f038a
feat(form): conditionally display max top-up amount
Remove range from the form, but pass max_top_up_amount through and only display it if the user isn't tombed.
Amolith created
09e0c80
test(credit-card-sale): add missing openstruct require
Not entirely sure what was changed, but the test started failing until I added the missing require.
Amolith created
3e2a08f
style: wrap YARD comment lines
Amolith created
6ed0a2d
refactor: remove duplicated logic from BuyAccountCreditForm
Amolith created
2185f8f
refactor: set DeclinedError defaults to nil
Amolith created
d0ff2d5
fix: raise and check for errors correctly
Replace incorrect `CreditCardSale::TooLowError` and `CreditCardSale::TooHighError` with correct `AmountTooLowError` and `AmountTooHighError` respectively.
Amolith created
29c2353
refactor: protect max_declines
Amolith created
e195e3d
fix: redo amount validation in the form
Amolith created
51380d3
rate_center -> :city
Phillip Davis created
fc6e0a2
docs: add Yard documentation to code we touched
Document methods and attributes in `BuyAccountCreditForm`, `CreditCardSale` error classes, and the `TrustLevel` module subclasses.
Amolith created
318f293
feat: add upper limit to top-ups based on trust level
Amolith created
afa62c8
Fix copy now that BCH is supported
Stephen Paul Weber created
ef820c8
Add WA for bulk
Stephen Paul Weber created
d6b3ca1
Merge branch 'bulk-order-api'
* bulk-order-api: New bulk order API
Stephen Paul Weber created
9a88e00
New bulk order API
Stephen Paul Weber created
04aedd4
insert number into tel_inventory on cancel
instead of Bandwidth.move'ing it
Phillip Davis created
1b075f6
Send meaningful error on invalid cancel attempt
invalid: adj., 1) not registered
Phillip Davis created
c60352c
Add test for onboarding getting subaccount
Stephen Paul Weber created
3f3e707
fix(registration): ensure onboarding JIDs can't create subaccounts
Amolith created
a655acb
obey the cop
Phillip Davis created
4a3cea5
fix tests
Phillip Davis created
1e27be8
add bch registration option
Phillip Davis created
bb44a81
add registration w/ bch
Phillip Davis created
07a651c
refactor: use configed onboarding domain for Change JID cmd
Replace hardcoded string with the configuration value that's already used elsewhere.
Amolith created
4442339
notify chatwoot on port-in req
Phillip Davis created
13ca2d2
Reduce basement level a bit
Stephen Paul Weber created
07015bb
Revert "Add some more verbose logs"
This reverts commit 88d89128b38e555638dbcffeecd9322c97887a17.
Stephen Paul Weber created
88d8912
Add some more verbose logs
To help tracing stuff back from endstream
Stephen Paul Weber created
51c450d
Fix lint
Stephen Paul Weber created
f05fc82
dont write cdr if tombed
Phillip Davis created
6c501f1
fetch route and include it in form
Phillip Davis created
a0c1d07
TollFree should not override other things which may block the call
Stephen Paul Weber created
562d42d
More churnbuster integration
Stephen Paul Weber created
29f56bd
Initial churnbuster integration
Stephen Paul Weber created
7d3dd44
Log the query
Stephen Paul Weber created
7e64a55
Fixed a typo in 'province'.
Root created
9fbd964
Wait for call attempt to start before returning
This should prevent calls from ending before they start... I hope
Stephen Paul Weber created
feb87b6
Log when we've written call start
Stephen Paul Weber created
c3ccc20
Fuck
Stephen Paul Weber created
9051fd9
Fix that
Stephen Paul Weber created
14881c5
Fix direct targets with explicit backend set
Stephen Paul Weber created
c9efc37
Log ending_call
Stephen Paul Weber created
b9beae5
Unless it's one of our jids, is it really a customer?
Stephen Paul Weber created
cb20c8b
That's in the repo
Stephen Paul Weber created
036d1bd
Fix typo
Stephen Paul Weber created
32f5cb6
Short circuit sending to any JMP customer
No matter which route they use. Also doesn't count internal messages for billing purposes or block them if you're expired, etc.
Stephen Paul Weber created
78ff748
No more spam cooldown
Since "spam" is a false positive so often at this point
Stephen Paul Weber created
0cb3aaa
We're gonna charge something for shipping
Stephen Paul Weber created