Ryan Ahearn
e07b596857
Remove contact list db, dao, and s3 code
2023-04-12 15:01:24 -04:00
Kenneth Kehl
27d86c949a
#224 remove crown ( #228 )
...
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us >
2023-04-11 16:29:37 -04:00
Steven Reilly
25a89458c8
remove real endpoint from test suite ( #227 )
2023-04-11 12:24:01 -04:00
Ryan Ahearn
5f56186859
Merge pull request #197 from GSA/dev-infra-setup
...
Add scripts for provisioning development credentials
2023-03-15 16:40:40 -04:00
Steven Reilly
8d87b6ec09
Add a total-message daily limit ( #195 )
2023-03-14 16:28:38 -04:00
Ryan Ahearn
84e7e9b5cf
Use credentials output by terraform/development
2023-03-13 13:44:10 -04:00
Ryan Ahearn
22aa7e2787
Remove default creds from s3 module
2023-03-03 16:01:12 -05:00
Ryan Ahearn
c58a151e65
Merge branch 'main' into use-sns-service
...
* main:
Remove letters-related code (#175 )
2023-03-03 08:53:32 -05:00
Steven Reilly
ff4190a8eb
Remove letters-related code ( #175 )
...
This deletes a big ol' chunk of code related to letters. It's not everything—there are still a few things that might be tied to sms/email—but it's the the heart of letters function. SMS and email function should be untouched by this.
Areas affected:
- Things obviously about letters
- PDF tasks, used for precompiling letters
- Virus scanning, used for those PDFs
- FTP, used to send letters to the printer
- Postage stuff
2023-03-02 20:20:31 -05:00
Ryan Ahearn
28f8649444
Use sns credentials from VCAP_SERVICES
2023-02-28 16:50:00 -05:00
Ryan Ahearn
71010e78d8
Fix formatting for secret code to ensure 0 padding no matter the passed length
2023-02-22 10:48:15 -05:00
Ryan Ahearn
e26bc5095c
Use cryptographically secure random number for sms codes
...
Also, increase token length to 6 digits
2023-02-17 11:54:17 -05:00
Steven Reilly
dc06b411ca
Update default templates and add update command ( #166 )
...
This commit adds config_files for default data and, using that, creates a new way to update our default templates without needing to hardcode a migration.
---------
Co-authored-by: Ryan Ahearn <ryan.ahearn@gsa.gov >
2023-02-03 10:11:21 -05:00
Ryan Ahearn
828671ecfc
Remove obsolete strip_leading_plus_one method
2023-01-06 11:14:45 -05:00
Ryan Ahearn
8a0535fa03
Save normalized phone format to DB
2023-01-06 11:06:23 -05:00
Ryan Ahearn
82df01653f
Update tests to focus on US numbers
2023-01-05 11:06:12 -05:00
Ryan Ahearn
7878316790
Remove placeholder sms callback comments
2023-01-03 10:23:14 -05:00
Ryan Ahearn
44a4b2d1a9
Remove firetext from notifications_sms_callback.py
2022-12-22 10:01:12 -05:00
Ryan Ahearn
77afecf8d2
Remove mmg & firetext from research_mode_tasks.py
2022-12-22 09:31:12 -05:00
Ryan Ahearn
db75efe789
Remove mmg & firetext from test_provider_details_dao
2022-12-22 09:31:12 -05:00
Ryan Ahearn
b4a05d6ae7
Remove mmg & firetext from test_send_to_providers
2022-12-22 09:31:12 -05:00
Ryan Ahearn
041cd08097
Clean up more mmg and firetext references
2022-12-22 09:31:12 -05:00
Ryan Ahearn
6a04be0370
Remove firetext and mmg from inbound SMS options
2022-12-22 09:31:12 -05:00
Ryan Ahearn
431f7aeb3c
Gracefully handle decryption errors in past-7-days notification reports
2022-12-13 14:18:34 -05:00
Ryan Ahearn
6aa46da916
Create fixture that just calls create_app
2022-12-13 08:53:41 -05:00
Ryan Ahearn
17ee4c3f2b
Use encrypt/decrypt methods in place of signing
2022-12-12 16:41:04 -05:00
Ryan Ahearn
b553ea4c77
Update uses of encryption.encrypt to more accurate encryption.sign
2022-12-07 14:55:05 -05:00
Ryan Ahearn
45c3e3c277
Remove unused is_delivery_slow_for_providers method
2022-11-30 13:50:49 -05:00
Ryan Ahearn
01cf3dfb9d
Completely remove code to switch sms providers on slow delivery
2022-11-30 11:08:55 -05:00
stvnrlly
9e7ee1c0f8
migrate bst_date to local_date
2022-11-21 11:49:59 -05:00
stvnrlly
e6d30394ba
london → local
2022-11-16 14:11:52 -05:00
stvnrlly
052f911ca8
rename billing date function to clearer about timezone
2022-11-16 12:54:08 -05:00
stvnrlly
53019995d1
more time test times
2022-11-14 14:53:28 -05:00
stvnrlly
213f699c99
time adjustments in tests
2022-11-14 14:23:54 -05:00
stvnrlly
3528bd37e1
update time handling for more tests
2022-11-10 16:54:48 -05:00
stvnrlly
b50cb4712f
tz utility swap and many test updates
2022-11-10 12:33:25 -05:00
Ryan Ahearn
ac7ad61e10
Replace old notifications-api service prefix with notify-api
2022-11-07 12:10:49 -05:00
Ryan Ahearn
e576bbc7e2
Merge pull request #104 from GSA/fix-deployed-db-string
...
Fix deployed db string
2022-11-01 13:02:16 -04:00
stvnrlly
f2f70f42a6
Merge branch 'main' into stvnrlly-create-user-command
2022-11-01 12:04:01 -04:00
Ryan Ahearn
b4256d0a6c
Properly set database connection string in cloud.gov
2022-11-01 11:34:00 -04:00
Ryan Ahearn
f7dce28546
Use safe env getter for test verification
2022-10-31 16:32:20 -04:00
Ryan Ahearn
41a52daca0
Clean up bucket settings
2022-10-31 15:37:12 -04:00
stvnrlly
11d123051a
validate mobile number so that sms auth works
2022-10-28 14:42:25 -04:00
stvnrlly
19cdd9b052
tests & prompts for user creation command
2022-10-28 14:07:43 -04:00
stvnrlly
637fbdb891
broadcast flake8 cleanup
2022-10-25 11:53:24 -04:00
Steven Reilly
d37c2a53b8
Merge branch 'main' into stvnrlly-remove-broadcasts
2022-10-25 10:17:49 -04:00
stvnrlly
8e2b8dd7c4
keep on flakin the flake world
2022-10-21 13:29:52 +00:00
stvnrlly
9f37592b1e
cleaner flake8 cleaning
2022-10-21 00:26:37 +00:00
stvnrlly
d4e156e8ae
Merge branch 'main' into stvnrlly-remove-broadcasts
2022-10-20 19:44:20 -04:00
stvnrlly
5dfc26c1f5
pass pytest multiline preferences
2022-10-19 16:16:29 +00:00