Commit Graph

221 Commits

Author SHA1 Message Date
Anastasia Gradova
ee6dfacad1 Standardized command names and updated
documentation
2024-03-04 14:34:41 -07:00
Anastasia Gradova
980e32c86c Swapped random for secrets 2024-03-01 14:43:36 -07:00
Anastasia Gradova
b13d3eda78 Merge branch 'main' into 800-flask-command-for-test 2024-03-01 12:15:29 -07:00
Anastasia Gradova
08fe6beff7 Added commands to add test data to DB
Updated old .uk strings in db.py
2024-03-01 12:13:29 -07:00
Cliff Hill
116078524e Switching to using StrEnum, which is in an external lib until 3.11.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:44:15 -05:00
Cliff Hill
e64e500561 Debugging things is fun.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:37 -05:00
Cliff Hill
9523cc1d97 Cleaning up with black, isort, flake8.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:33 -05:00
Cliff Hill
7416de2a28 KeyType implemented.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:33 -05:00
Cliff Hill
69a9accfca Getting NotificationStatus implemented everywhere.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:32 -05:00
Cliff Hill
3982f061b6 Made enums.py for all the enums to avoid cyclic imports.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:31 -05:00
Cliff Hill
43f18eed6a More changes for enums.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:41:57 -05:00
Cliff Hill
820ee5a942 Cleaning up a lot of things, getting Enums used everywhere.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:40:52 -05:00
Cliff Hill
81b5afc983 Fixing tests.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-12 09:13:43 -05:00
Cliff Hill
e4f228ca0d More test fixes.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 22:01:27 -05:00
Cliff Hill
1157f5639d black, isort, flake8
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 21:43:52 -05:00
Cliff Hill
9bcf811320 Cleaned up string formatting for commands.py.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-05 23:03:44 -05:00
Kenneth Kehl
9dab7cc481 fix typo 2023-11-09 12:59:43 -08:00
Kenneth Kehl
46b236ca35 initial 2023-11-09 08:46:53 -08:00
Kenneth Kehl
7392663b10 cleanup 2023-11-07 07:08:42 -08:00
Kenneth Kehl
aa7b5d3905 notify-api-533 add flask command to promote user to platform admin 2023-11-06 13:31:03 -08:00
Kenneth Kehl
a1890109d8 notify-api-490 fix sns region 2023-09-21 14:48:10 -07:00
stvnrlly
833a6977c4 add default template when it does not exist 2023-09-06 14:46:06 -04:00
Kenneth Kehl
fb3a6cca68 notify-api-59 make command to create new service 2023-08-30 13:13:43 -07:00
Kenneth Kehl
1ecb747c6d reformat 2023-08-29 14:54:30 -07:00
Carlo Costino
574e0b92fc Merge pull request #404 from GSA/notify-api-391
notify-api-391 increase code coverage to 95%
2023-08-16 16:40:33 -04:00
Kenneth Kehl
c5008da8df cleanup 2023-08-15 11:44:47 -07:00
Kenneth Kehl
b9ba7d018b more tests 2023-08-14 15:32:22 -07:00
Kenneth Kehl
85604e5394 more tests 2023-08-11 11:47:57 -07:00
Kenneth Kehl
318bb01392 more 2023-08-10 12:58:52 -07:00
Kenneth Kehl
abd1898150 fix code for vulture 2023-08-08 11:48:19 -07:00
Kenneth Kehl
4940d5e93b notify-api-332 rename organisation 2023-07-10 11:06:29 -07:00
Kenneth Kehl
39707adf10 Merge branch 'main' of https://github.com/GSA/notifications-api into notify-260 2023-05-30 11:47:36 -07:00
Kenneth Kehl
6f6061455c notify-162 delete incomplete s3 uploads (#276)
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us>
2023-05-23 11:31:30 -04:00
Kenneth Kehl
08c1ad75c8 notify-260 remove server-side timezone handling 2023-05-10 08:39:50 -07:00
Kenneth Kehl
001954538e notify-243 remove statsd 2023-04-25 07:50:56 -07: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
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
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
041cd08097 Clean up more mmg and firetext references 2022-12-22 09:31:12 -05:00
Ryan Ahearn
0ed7a31765 Merge pull request #126 from GSA/open-api
Add OpenAPI spec for selected api endpoints
2022-11-30 13:30:26 -05:00
Ryan Ahearn
1e7d99e853 Fix flake8 and isort findings 2022-11-18 12:39:50 -05:00
Ryan Ahearn
2efed403b1 Add external API for sending SMS to openapi 2022-11-18 12:25:45 -05:00
Ryan Ahearn
3b7dbddc58 Add /user routes to openapi schema 2022-11-17 10:57:34 -05:00
stvnrlly
b50cb4712f tz utility swap and many test updates 2022-11-10 12:33:25 -05:00
stvnrlly
57adbf3f6b document create-test-user command 2022-11-01 12:14:26 -04:00
stvnrlly
713daee566 flake8 indentation 2022-10-28 14:49:02 -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
4eeba59abb Merge branch 'main' into stvnrlly-create-user-command 2022-10-28 13:37:30 -04:00
stvnrlly
d87c224473 remove broadcast-related code, except migrations 2022-10-26 16:41:35 -04:00