Commit log

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

76a2ba1 Need access to braintree in sim job

Stephen Paul Weber created

2690f9a Import hotfixes

Stephen Paul Weber created

9fba119 Setup logger and use it

Stephen Paul Weber created

de165bd Add $0 transaction when activating via Google Play

Stephen Paul Weber created

51e3998 Fix typo

Stephen Paul Weber created

90c9d4f Also guard fetching the code itself

Stephen Paul Weber created

99ad56c Limit creation of new subaccounts by trust level

Stephen Paul Weber created

b808c03 When two plan logs overlap current window

Click to expand commit body
Extend the later one

Stephen Paul Weber created

bb83156 Switch to new plans

Stephen Paul Weber created

75919c9 Allow parent plan to apply subaccount discount

Stephen Paul Weber created

125326c Only allow registration with registration plans

Stephen Paul Weber created

b0fa472 Allow setting data overage limit

Stephen Paul Weber created

6f2a32c Merge branch 'sim-top-up'

Click to expand commit body
* sim-top-up:
  Cronjob to auto top up and renew and warn about data plan SIMs
  Get list of all SIMs from Keepgo
  Factor out identical part of keepgo requests
  Add newline in low balance notification with target
  Split direct sources/direct targets

Stephen Paul Weber created

cff0794 Cronjob to auto top up and renew and warn about data plan SIMs

Stephen Paul Weber created

2074187 Get list of all SIMs from Keepgo

Click to expand commit body
This loads the whole list into memory for now, should be good until we get to
tens of thousands of SIMs.

Stephen Paul Weber created

e92186a Factor out identical part of keepgo requests

Stephen Paul Weber created

b624841 Add newline in low balance notification with target

Stephen Paul Weber created

8fee6dd Split direct sources/direct targets

Click to expand commit body
Thus allowing multiple JIDs to be treated as "direct inputs" for a given number,
such as cronjobs sending notifications from support.

Stephen Paul Weber created

ffbf7df Patch say to add an id to messages

Stephen Paul Weber created

161ce49 Specify state or province *code*

Stephen Paul Weber created

0637a4b Warn more about fees

Stephen Paul Weber created

5d28e88 Fixes for snikket domaininfo

Stephen Paul Weber created

5f10d72 Command to lookup snikket instance

Stephen Paul Weber created

4f0e80f Don't create subaccount for Tomb'd parent

Stephen Paul Weber created

97530c5 Support snikket region and av-region, default av-region to na

Stephen Paul Weber created

0d6a65f Go to BillPlan after setting parent, not to Finish

Stephen Paul Weber created

85574f1 Smaller, faster result for feeling lucky

Stephen Paul Weber created

dd532cc Support full state/province names in search queries

Click to expand commit body
Instead of broadening the patterns, this relies on realizing that almost all
query formats either won't match when a state name is present, or will work when
that name is replaced by the code.  So just preprocess the query string to
replace state names with their code before pattern matching.

Special case for vanity pattern ~ which can really be anything at all so don't
process that.

Stephen Paul Weber created

274677b Braintree can't charge for sub-cent, so make sure it doesn't try

Stephen Paul Weber created

52fad25 Another fix for parent codes

Stephen Paul Weber created

656ecce Option to "just show me some numbers"

Click to expand commit body
If you use it with a blank search it pulls from a fallback list for now.

Stephen Paul Weber created

27fa572 Fix for parent codes

Click to expand commit body
Put them in the right place and also check from the InviteCodes handler

Stephen Paul Weber created

ca2af0f Fix for newer ruby

Stephen Paul Weber created

293e35a Create subaccount command

Stephen Paul Weber created

4a4b0c8 Forgot file

Stephen Paul Weber created

69e76bc Merge branch 'child-signup'

Click to expand commit body
* child-signup:
  Refactor CutomerPlan to use value semantics
  Allow setting parent during signup using a special referral code

Stephen Paul Weber created

eeb7208 Refactor CutomerPlan to use value semantics

Stephen Paul Weber created

aab558d Allow setting parent during signup using a special referral code

Click to expand commit body
Lookup any referral code to see if it is one for setting a parent, if so set the
parent when we set the plan.  In the invite code flow, reload customer and check
balance and if there is enough then we can bill customer and proceed, no need to
add more credit or another code.

Verify parent when setting to make sure it has the same currency as the child
plan at creation time (note that updating the parent plan in the future can
violate this, so be very careful if/when we allow for that!)

Stephen Paul Weber created

d1899ac Better telephone number search form

Stephen Paul Weber created

fb89e1a Show the fillable fields for top up as well

Stephen Paul Weber created

0ecf17e Allow for nil or empty

Stephen Paul Weber created

04ecfbe Allow ordering SIMs from the bot

Stephen Paul Weber created

d3ed7ec Better error when fees are high

Stephen Paul Weber created

3699044 Change voicemail format to match what cheogram expects for new fallback generation

Stephen Paul Weber created

fd09dad Show pending status for not yet activated users

Stephen Paul Weber created