Commit log

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

91edcc3 Subaccounts check for active parent

Stephen Paul Weber created

bfaa383 Other place using sismember uses to_s

Stephen Paul Weber created

4c409ae Still log when only warning

Stephen Paul Weber created

726f930 Do not bill for messages to cheogram

Stephen Paul Weber created

4c31be6 Obviously

Stephen Paul Weber created

5513c01 Why is this not working

Stephen Paul Weber created

2c3ec64 log errors

Stephen Paul Weber created

a2e51d7 log stanza we're trying to get body from

Stephen Paul Weber created

ba272e5 Temp logs

Stephen Paul Weber created

ba409f4 We changed this to customer

Stephen Paul Weber created

8cdd513 Typo

Stephen Paul Weber created

333aed4 Nothing named s here

Stephen Paul Weber created

a2c7dba hotfix

Stephen Paul Weber created

3a6217c Update cutoff

Stephen Paul Weber created

4e10506 Link to support in error

Stephen Paul Weber created

96d6239 Warn for short dupes

Click to expand commit body
But not block them

Stephen Paul Weber created

53e2a3a Stop showing "included" credit for now

Click to expand commit body
it mostly just confuses people

Stephen Paul Weber created

28e6421 Add dynamic descriptor

Stephen Paul Weber created

c7e522f Restrict new users from outbound call/text

Click to expand commit body
Create a new trust level "Cellar" that cannot call or text or
invite (simlar to Tomb, but semantically different and can pay etc).

This is now the default trust level until an account receives at least
one text "from a person". Accounts before a certain date are
grandfathered in to now get this level. Port ins will get to bypass this
because the reachability SMS reply will count as a text from a person.
Accounts invited in any way except a group code will also bypass Cellar.

The instructions on the payment form and the welcome message are both
updated to warn of this new restriction. Note that the welcome message
is conditional to only include the warning if it applies to the customer
by that point.

Texts from short codes or with links or codes or from support do not
count as "from a person". There is also a block list of numbers in redis
to restrict what numbers are "from a person". The number that got an
account past Cellar is stored for possible addition to the block list.

Stephen Paul Weber created

79e9b81 Create the Cellar trust level

Stephen Paul Weber created

786e38f Fix rubocop

Stephen Paul Weber created

098049a fix/regression: support 'migrate billing'

Click to expand commit body
- `MigrateBilling` passes a string for a tel, previously causing
  NoMethodError when `Payment.for` says `product.price`
- Introduces a new MigrateBilling class in lib so that unit tests
  capture any changes that break this in the future
- Edit .rubocop.yml to exclude `when_ready` from
  `Lint/ConstantDefinitionInBlock`, which was raised just now because
  this commit touched sgx_jmp.rb . I think this is the best solution
  because those constants (`REDIS`, `DB`, etc.) are used as globals
  throughout the codebase. Since many of them require a running EM
  reactor, changing this would require extensive refactoring.

Phillip Davis created

607a0cf backport: log failed bin/sim_job HTTP reqs

Phillip Davis created

c7cb2cf Allow Customer on any route also

Stephen Paul Weber created

e19781b fix: recycle local inventory with price

Click to expand commit body
note: in `test/test_admin_command`, the "-removal was to satisfy
rubocop, which my pre-commit hook caught because it only runs rubocop on
changed files.

Phillip Davis created

1b94a4c Data only fixes

Stephen Paul Weber created

8e2e6fc Raise global body limit to 10

Click to expand commit body
Sometimes you want to send a message to a handful of people...

Stephen Paul Weber created

7982836 Flag for who we trust with any route

Stephen Paul Weber created

62ea2c3 Needs to be number

Stephen Paul Weber created

206351e Backwards

Stephen Paul Weber created

2e272b4 fix: display correct price for data-only

Click to expand commit body
to that end: make `SIMKind` easier to hold by making internals, as well
as the raw CONFIG[:sims] entry, protected

Phillip Davis created

6cb9b2d Block same body over 5 times in 120s

Stephen Paul Weber created

1839aaf Remove this validation

Click to expand commit body
It doesn't do anything we need and causes us to need more config we'd
rather not have

Stephen Paul Weber created

f06192e source ports from db

Click to expand commit body
- should behave identically to previous script if no rows found,
  manually running it just produces an empty array for
  `PortRepo::Db.list`, i guess our client knows about no rows errors
- allowed `OptionParser.new` to hold a huge block because this block is
  just naturally very large. Alternatively, we could write separate
  files just for argument parsing, eg `lib/bin_arg_parsers/{args.rb,
  parser.rb}`. But that's probably a separate ticket

Phillip Davis created

01371f5 fix undefined symbol error

Phillip Davis created

e9bf1fc add rubocop to native-inputs for pre-commit hook

Phillip Davis created

672d8ea fix undefined method 'catch_after' in Q.for

Click to expand commit body
problem was that AvailableNumber.for sometimes returned a promise,
sometimes not, causing us to try to call `catch_after` on a Tn

Phillip Davis created

d03822b Not every search has an iris query

Stephen Paul Weber created