Merge branch 'state-search'
* state-search:
Finish state search and add test
Add state search - for granularity & jmp-register
Finish state search and add test
Add state search - for granularity & jmp-register
Note that this is not quite complete yet, since we need to pull in the
STATE_MAP stuff used elsewhere to make it work properly. But it will
at least work for every state/province/territory that is not Quebec
for now, which is way better than nothing. Quebec users will get the
same fallbacks they had before.
Return exact matches only
By default bandwidth includes numbers in the "local calling area" of a search.
This is confusing, so change it to include only actual matches.
Allow lowercase state/province abbreviations
Seems like it won't overlap with other things we allow.
Merge branch 'more-tel-selection-coverage'
* more-tel-selection-coverage:
Patch bandwidth-iris to raise useful exceptions
More city maps
Merge branch 'rubocop'
* rubocop:
Additional fixes for rubocop 1.10.1
Switch to rubocop 0.89.1
Switch to rubocop 0.89.1
This is the rubocop in new Debian stable
Bandwidth is very picky about city and state/province names
So transform reasonable things into what we know Bandwidth expects.
If number search fails, send user error and ask to search again
Merge branch 'number-search'
* number-search:
Do not direct back to website to pick new number
Run rubocop after tests
Add reference to option to show where the tel is
Format tel for human reader
Allow user to search for numbers over XMPP
s/WebRegisterManager/TelSelections
Do not direct back to website to pick new number
Instead, if number is no longer available keep them in flow and use the number
search tool.
Add reference to option to show where the tel is
Format tel for human reader
Allow user to search for numbers over XMPP
s/WebRegisterManager/TelSelections
Hotfix: arguments in wrong order
Merge branch 'finish-btc'
* finish-btc:
No more legacy session for BTC
Do not lose WebRegisterManager on retart
Do not lose WebRegisterManager on retart
Store web registrations in redis. Set an expiry so they don't grow in RAM
forever as they previously would have without a restart.