Commit Graph

500 Commits

Author SHA1 Message Date
Kenneth Kehl
a92eb91470 add a test 2025-01-13 10:00:18 -08:00
Kenneth Kehl
64a61f5d36 cleanup redis commands and flow 2025-01-10 11:21:39 -08:00
Kenneth Kehl
874c8ffb54 try batch inserts 2025-01-10 07:58:24 -08:00
Kenneth Kehl
a2fc97000b cleanup pending notifications 2025-01-08 08:58:24 -08:00
Kenneth Kehl
0d1a98914a cleanup pending notifications 2025-01-08 08:44:49 -08:00
Kenneth Kehl
e2d64c0738 add number of notifications processed 2025-01-02 11:07:20 -08:00
Kenneth Kehl
f8e30f80b8 add performance testing debug info 2025-01-02 09:29:30 -08:00
Cliff Hill
46ec1aafa8 Getting the IntegrityErrors to be OK if the data already exists in the
DB.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-12-26 08:52:51 -05:00
Kenneth Kehl
48c3cebc72 clean up 2024-12-18 07:44:24 -08:00
Kenneth Kehl
7cf747d35a go back to filter log events 2024-12-17 15:59:30 -08:00
Kenneth Kehl
b784d33173 more work 2024-12-13 16:45:09 -08:00
Kenneth Kehl
56ebed5445 switch to log insights for delivery receipts 2024-12-13 14:40:37 -08:00
Kenneth Kehl
f706086bbf cleanup 2024-12-13 09:48:48 -08:00
Kenneth Kehl
26e53a80ba avoid message is none scenario 2024-12-13 08:43:23 -08:00
Kenneth Kehl
5ce31c78fd start writing message ids to the notifications table 2024-12-13 07:30:41 -08:00
Kenneth Kehl
14e4d761fc try to fix tests 2024-12-03 13:50:42 -08:00
Kenneth Kehl
b4093e8152 change create notification to an upsert 2024-12-03 12:55:52 -08:00
Kenneth Kehl
ed30a85bc8 change create notification to an upsert 2024-12-03 12:44:57 -08:00
Kenneth Kehl
331cc41389 fix more 2024-10-31 09:17:49 -07:00
Kenneth Kehl
a9385107b0 code review feedback 2024-10-28 12:50:11 -07:00
Kenneth Kehl
ef6e4048c2 fix core daos 2024-10-11 10:38:28 -07:00
Kenneth Kehl
84e46f1ef2 fix core daos 2024-10-11 10:29:13 -07:00
Kenneth Kehl
c44300a737 fix core daos 2024-10-11 10:13:11 -07:00
Kenneth Kehl
958861df59 fix core daos 2024-10-11 09:59:16 -07:00
Kenneth Kehl
d8bb71bf39 fix core daos 2024-10-11 09:47:00 -07:00
Kenneth Kehl
90b407241f fix core daos 2024-10-11 09:38:12 -07:00
Kenneth Kehl
88c9af9050 fix core daos 2024-10-11 09:31:47 -07:00
Kenneth Kehl
b5f7977a48 fix core daos 2024-10-11 09:16:19 -07:00
Kenneth Kehl
64a85868a3 code review feedback and merge from main 2024-09-11 09:39:18 -07:00
Kenneth Kehl
146f0cc787 initial 2024-08-15 10:31:02 -07:00
Carlo Costino
a555bd429e Merge pull request #1022 from GSA/notify-api-951
replace utcnow with timezone naive utc call
2024-05-31 11:18:29 -04:00
Kenneth Kehl
bbeb602224 fix query 2024-05-28 14:01:37 -07:00
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
ad55eef5e9 Changes for sqlalchemy 2.0 2024-04-24 16:27:20 -04:00
Aditi Anand
420291ffee sqlalchemy 2.0 changes 2024-03-25 10:55:14 -04:00
Kenneth Kehl
b777249b6f merge from main 2024-03-01 13:50:09 -08: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
Kenneth Kehl
0010a431a6 merge from main again 2024-02-06 12:31:32 -08:00
Kenneth Kehl
ddad4e409e update send_at when status resolves 2024-02-02 12:51:11 -08:00
Kenneth Kehl
c45e74a74b update sent_at 2024-02-02 09:03:54 -08:00
Kenneth Kehl
6dc9828663 fix tests 2024-01-22 10:55:09 -08:00
Kenneth Kehl
ed3a356ad1 merge from main and fix some tests 2024-01-19 08:58:24 -08:00
Kenneth Kehl
567dd390b4 fix personalisation 2024-01-18 10:03:35 -08:00
Kenneth Kehl
f9f1013f5b notify-api-742 don't write phone numbers to db 2024-01-16 11:21:24 -08:00