Commit Graph

235 Commits

Author SHA1 Message Date
Kenneth Kehl
905df17f65 remove datetime.utcnow() 2024-05-23 13:59:51 -07:00
Carlo Costino
99edc88197 Localize notification_utils to the API
This changeset pulls in all of the notification_utils code directly into the API and removes it as an external dependency.  We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the API.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-16 10:17:45 -04:00
Aditi Anand
df2a590f1a Merge branch 'notify-api-869' into aanand-sqlalchemy-version-update 2024-04-24 16:11:03 -04:00
Kenneth Kehl
a1f57ac4c0 make it possible to create e2e test user on staging 2024-04-12 11:29:33 -07:00
Kenneth Kehl
b36496ccb9 flake8 2024-04-01 15:19:21 -07:00
Kenneth Kehl
ebdb78e52e reformat up to latest version of black 2024-04-01 15:12:33 -07:00
Kenneth Kehl
87db56622e remove debug line 2024-04-01 14:58:04 -07:00
Kenneth Kehl
952e3c6434 clean templates out of redis when we do update-templates 2024-04-01 14:30:49 -07:00
Aditi Anand
b338e11f4d sqlalchemy2.0 fix 2024-03-20 11:19:25 -04:00
Aditi Anand
8bc1091f73 fix for failing tests 2024-03-20 10:57:04 -04:00
Anastasia Gradova
8e44e4d981 Corrected flake spacing 2024-03-05 08:10:05 -07:00
Anastasia Gradova
f9f26a2439 Merge branch '800-flask-command-for-test' of https://github.com/GSA/notifications-api into 800-flask-command-for-test 2024-03-04 16:03:58 -07:00
Anastasia Gradova
117ac98491 moved faker to under imports according to PEP-8 2024-03-04 16:02:21 -07:00
Anastasia Gradova
6cf9c811ae Update app/commands.py
Co-authored-by: Carlo Costino <ccostino@users.noreply.github.com>
2024-03-04 15:59:44 -07:00
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