Commit log

de973bb Prevent SIM jobs from overdrawing balances

Click to expand commit body
Process actions serially and reload their balance before each action so
accounts sharing a balance can't spend the same funds in parallel.

Keep processing after individual failures, correct the arithmetic so
refills fit within the monthly limit, and retry annual renewal using the
balance returned by an automatic top-up.

Amolith created

eb33c42 handle failed porting jobs

Click to expand commit body
customers without tels are no longer considered unknown.
the only other sensible definition of an unknown customer would
be "doesn't have a customer id," but the customer info command
will never return data that didnt come from a CustomerRepo.

anyway, this causes failed registrations to retry

Phillip Davis created

19fd189 Ceil monthly data limit steps

Click to expand commit body
Monthly data limit choices are in whole dollars, but a 5GB refill can
cost a fractional dollar amount. Round the refill price up when deriving
the step so valid choices cover the full refill charge.

Amolith created

a3579a3 Merge branch 'monthly-data-limit-ux' of https://git.secluded.site/sgx-jmp

Click to expand commit body
* 'monthly-data-limit-ux' of https://git.secluded.site/sgx-jmp:
  Flatten SIM job pricing config
  Flatten main SIM pricing config
  Improve data limit UX

Stephen Paul Weber created

f1be76f There is always at least one recipient

Stephen Paul Weber created

5b03816 Flatten SIM job pricing config

Click to expand commit body
Update the SIM job's inline Dhall schema to use fixed CAD/USD records
for the annual and per-GB prices it reads.

Amolith created

0728377 Flatten main SIM pricing config

Click to expand commit body
Replace the main app's SIM pricing maps with fixed CAD/USD records for
SIM, eSIM, per-GB refill, and annual prices.

Derive the displayed plan label from the per-GB and annual prices so the
one-time SIM prices and ongoing plan pricing are not duplicated in
config.

Amolith created

230ed1c Improve data limit UX

Click to expand commit body
Show the default data limit instead of a blank value and include
range/options metadata so clients can render a stepped slider.

Check submitted values against the price of a 5GB top-up in the
customer's currency and cap them at a fixed multiplier.

Amolith created

a5b0dec Fix for sometimes not using trust level

Stephen Paul Weber created

5786edf Count MMS rate by 10-chunks

Phillip Davis created

ac63cd8 refactor: add `addresses` blather helper

Phillip Davis created

c7b7d93 just 'build' etc

Phillip Davis created

113432c Restrict making SIP account

Stephen Paul Weber created

66ff324 fix: don't explode when one port fails

Phillip Davis created

650048c fix: don't explode snikket on SSLError

Phillip Davis created

3d61f4a refactor: fetch snikket invites from repo class

Phillip Davis created

4e22051 make lib/snikket.rb load its own deps

Phillip Davis created

8a0977a add statsd counter for data-only registration

Phillip Davis created

efa3cf5 Add statsd counter for BCH registration writes

Phillip Davis created

812ea05 Make lib/statsd.rb load its own dependencies

Phillip Davis created

2cb39a7 fix: no Reachability unless backend right

Phillip Davis created

9188fd9 Simplify logic to choose GoodNumber or WrongNumber

Stephen Paul Weber created

d261cc2 fix: dont fire reachability before number_change

Phillip Davis created

22c3c24 Fix 2nd leg retry

Click to expand commit body
insert into outbound_transfers with the right source call id

Stephen Paul Weber created

b49253c Allow inbound calls to Cellar

Click to expand commit body
Not just voicemail

Stephen Paul Weber created

37edcd8 More call logging

Stephen Paul Weber created

aaef462 clear low balance key on successful auto top-up

Phillip Davis created

4287d03 Merge branch 'replace-canadian-bitcoins-with-bull-bitcoin' of https://git.secluded.site/sgx-jmp

Click to expand commit body
* 'replace-canadian-bitcoins-with-bull-bitcoin' of https://git.secluded.site/sgx-jmp:
  Replace Canadian Bitcoins with Bull Bitcoin

Stephen Paul Weber created

726e71b Replace Canadian Bitcoins with Bull Bitcoin

Amolith created

b4b749c block AutoTopUp for onboarding customers

Phillip Davis created

7a8e049 fix: ox dep

Phillip Davis created

f53aa8a chore: add mutex_m for ruby 3+ compat

Phillip Davis created

1071b8f what if the network requests fail?

Phillip Davis created

4e44a95 bandwidth_tn_repo.rb: fallback to geocode

Phillip Davis created

85bf6c4 add LocalCallingGuideRepo

Phillip Davis created

6d69da1 geo_code_repo.rb: add reverse geocode

Phillip Davis created

a8e3eab geo_code.rb: add city and state accessors

Phillip Davis created

9382798 Merge branch 're-add-calls-remaining' of https://git.secluded.site/sgx-jmp

Click to expand commit body
* 're-add-calls-remaining' of https://git.secluded.site/sgx-jmp:
  Re-add call info to Show Account Info

Stephen Paul Weber created

f771deb Re-add call info to Show Account Info

Click to expand commit body
Fixes: https://todo.sr.ht/~singpolyma/soprani.ca/585

Amolith created

5959d08 Allow Cellar to message short codes

Stephen Paul Weber created

baae220 Fixes for guix and ruby 2.7

Stephen Paul Weber created

728e765 Generate schema

Stephen Paul Weber created

240dbc4 Fix rubocop

Stephen Paul Weber created

3458632 Merge branch 'add-oauth' of https://git.secluded.site/sgx-jmp

Click to expand commit body
* 'add-oauth' of https://git.secluded.site/sgx-jmp:
  Switch BW clients from Basic to Client creds
  Update bandwidth gems/use for OAuth

Stephen Paul Weber created

e89c3df Switch BW clients from Basic to Client creds

Click to expand commit body
Basic credentials are only usable for id.bandwidth.com, both gems prefer
api.bandwidth.com, and only iris seems to fall back to id. This adds the new
client cred fields to the config and uses them throughout.

Amolith created

e199a02 Update bandwidth gems/use for OAuth

Amolith created

1e9bfcc Guard against nil body

Stephen Paul Weber created

08217c7 This should match class not a symbol

Stephen Paul Weber created

fadea15 fix: remove processing_status from ports

Click to expand commit body
now it's inferred from actual_foc_date
(originally forgot to include new schemas commit hash)

Phillip Davis created

cbbef71 Don't let blocked tl through for short

Stephen Paul Weber created