Commit log

5c72610 Load config with coder

Stephen Paul Weber created

29e51cc Fix types

Stephen Paul Weber created

bac60c4 This script doesn't use a node

Stephen Paul Weber created

439bf9e Add script for testing Snikket launch end-to-end

Amolith created

8ec86c3 Add command to stop Snikket instance

Amolith created

2946b84 Add command to delete snikket instance

Amolith created

91c42fe Import hotfix from prod

Stephen Paul Weber created

ca1801e Typo

Stephen Paul Weber created

d5c23f4 Forgot these

Stephen Paul Weber created

cf3dcdd Use BCH for all swaps

Stephen Paul Weber created

cbde134 Ability to add new BCH address to an account

Stephen Paul Weber created

5bfca29 Currency required now

Stephen Paul Weber created

3a666a7 They moved the sell price column

Stephen Paul Weber created

938803b Support new electrum config schemas

Click to expand commit body
For eventual BCH

Stephen Paul Weber created

ebe3328 Need customer

Stephen Paul Weber created

87fce70 Allow auto top up / low balance if there is a SIM

Click to expand commit body
Even without phone number.

Stephen Paul Weber created

8acb830 Fix lint

Stephen Paul Weber created

b0ebc0f Always use type=form to prevent autonext

Click to expand commit body
All fields are already fixed anyway since this is always a possibility.

Means compatibility with gajim is a bit worse, but chatbot is more
common than gajim command ui anyway.

Stephen Paul Weber created

7ed8241 Enable buy sim for everyone

Stephen Paul Weber created

d9f1961 Typo

Stephen Paul Weber created

0cdba41 Bigger postgres pool size

Stephen Paul Weber created

ed3f052 Basement only 50 per day

Stephen Paul Weber created

761fb85 Hotfix from prod

Stephen Paul Weber created

bf9da77 missing require

Stephen Paul Weber created

3e17f86 TelSelections prod hotfixes

Stephen Paul Weber created

0c15ac6 Don't add domain-info if no domain given

Stephen Paul Weber created

e371211 Case insentitive currency code

Stephen Paul Weber created

7687741 Hotfix from prod

Stephen Paul Weber created

745e92b Need to set content type for payload

Stephen Paul Weber created

9fd2e7f Typo

Stephen Paul Weber created

ed4b4cc Move braintree require into async_braintree wrapper

Stephen Paul Weber created

dd1830f Raise fee warning

Stephen Paul Weber created

86e9e94 This is what we use in prod

Stephen Paul Weber created

9421eda Don't try to use the nil customers

Stephen Paul Weber created

c54af34 Exclude planless customers

Stephen Paul Weber created

d01d5d6 Need to call with on ExpiringLock

Stephen Paul Weber created

8402987 Fix typo in TelSelections and fix local inv test

Click to expand commit body
Minitest 5.19.0 introduced a change that breaks the latest version of
rantly. I've forked rantly, added a require that fixes the issue, and
opened a PR upstream. Until rantly's updated, the Gemfile requires my
fork instead of upstream.

Signed-off-by: Amolith <amolith@secluded.site>

Amolith created

ed57a91 Disambiguate user input for enabling unlimited ringing

jgart created

1ef966f Eliminate a registration race condition

Click to expand commit body
Check whether we've actually deleted anything before proceeding with
registration; if we have not deleted anything, it means another customer
has registered that number before this one could.

Signed-off-by: Amolith <amolith@secluded.site>

Amolith created

a8b9ebe Update schema for new local inventory feature

Stephen Paul Weber created

74afc0e "Order" numbers from local inventory

Click to expand commit body
- Add methods necessary for actually assigning numbers to customers and
  deleting those numbers from the local database
- Add accompanying test

Signed-off-by: Amolith <amolith@secluded.site>

Amolith created

b0ed80e Only assign num from local inv if available

Click to expand commit body
Add available_after constraint to all local inventory search queries and
update tests to match

Signed-off-by: Amolith <amolith@secluded.site>

Amolith created

1e82f52 Reserve number in appropriate backend

Click to expand commit body
- At the start of registration, numbers are now reserved in
  Bandwidth or "reserved" in the local inventory, whichever source the
  number is from
- Tests mock successful reservation rather than half of a reservation

Signed-off-by: Amolith <amolith@secluded.site>

Amolith created

2bc3af7 TelSelections returns object instead of string

Click to expand commit body
Two new objects, TelSelection::ChooseTel::Tn::Bandwidth and
Tn::LocalInventory and TelSelections now returns and persists through
pending state the correct variant.

No new functionality at this time, but formatted_number is now used when
displaying the number to the user at registration.

Signed-off-by: Amolith <amolith@secluded.site>

Amolith created

32ebeb7 Fetch numbers from local inventory

Click to expand commit body
References: https://soprani.ca/todo/323
Signed-off-by: Amolith <amolith@secluded.site>

Amolith created

626c9d3 Add SQL queries to find numbers from local db

Click to expand commit body
References: https://soprani.ca/todo/323
Signed-off-by: Amolith <amolith@secluded.site>

Amolith created

d8cf0f0 Toll Free Leads to Infinity

Click to expand commit body
If rate is zero, then minutes remaining becomes infinite.
That's hard to express in json...

So instead I just leave the limits out, which downstream can interpret
as "unlimited".

Christopher Vollick created

c5fa081 Log when we warn for annual fee

Stephen Paul Weber created

5028921 Warn a max of once per day

Stephen Paul Weber created

703ddcf Remove duplicate hardcoded fees

Stephen Paul Weber created