Commit Graph

1861 Commits

Author SHA1 Message Date
Kenneth Kehl
45308d5013 fix test 2025-01-30 15:11:16 -08:00
Kenneth Kehl
6d82567b0e fix test 2025-01-30 14:52:48 -08:00
Kenneth Kehl
2dc07b9cee fix test 2025-01-30 14:41:14 -08:00
Kenneth Kehl
e59e3429e4 fix test 2025-01-30 14:30:06 -08:00
Kenneth Kehl
240ec5a712 add endpoint for 'recent' notifications 2025-01-30 13:20:51 -08:00
Beverly Nguyen
1fc78d81e5 Merge branch 'main' into 2199-add-pending-message-data-to-daily-and-user_daily-stats 2025-01-21 16:40:19 -08:00
Kenneth Kehl
025a10a906 merge from main 2025-01-16 13:22:38 -08:00
Andrew Shumway
d7c97d6428 Remove hilite imports 2025-01-16 09:05:49 -07:00
Andrew Shumway
ee90b2478d Merge branch 'main' of https://github.com/GSA/notifications-api into invite-expiration-fix 2025-01-16 08:59:38 -07:00
Andrew Shumway
f1118d6a19 Remove print statement 2025-01-16 08:59:27 -07:00
Andrew Shumway
3fd8009e33 Add error handling for possible string/datetime created at stamps 2025-01-15 12:49:47 -07:00
Beverly Nguyen
880237f55d fix tuples 2025-01-14 16:57:43 -08:00
Kenneth Kehl
fdf6158934 merge from main 2025-01-14 12:01:46 -08:00
Kenneth Kehl
a92eb91470 add a test 2025-01-13 10:00:18 -08:00
Andrew Shumway
345ae88ffc Merge branch 'main' of https://github.com/GSA/notifications-api into invite-expiration-fix 2025-01-13 10:07:43 -07:00
Andrew Shumway
f497203791 Ensure created_at stamp is correct 2025-01-13 10:07:33 -07:00
Beverly Nguyen
dd3c277985 fix testing 2025-01-10 19:26:46 -08:00
Beverly Nguyen
2eef7ab206 remove comments 2025-01-10 18:45:05 -08:00
Beverly Nguyen
50a183f05d flake 2025-01-10 18:42:43 -08:00
Beverly Nguyen
af46a671f9 cleaningu up pending 2025-01-10 18:41:09 -08:00
Beverly Nguyen
30dfc6a571 pending count 2025-01-10 18:29:16 -08:00
Beverly Nguyen
7ef808196e pending count 2025-01-10 18:18:20 -08:00
Cliff Hill
3f8c49d829 Removing total_notification calculations.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 16:52:30 -05:00
Cliff Hill
467357c031 Getting total notifications per day made.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 16:21:15 -05:00
Cliff Hill
b543db474f Moving where the pending calculation is done.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 16:07:49 -05:00
Cliff Hill
162823e59b Query fixing.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 14:46:59 -05:00
Cliff Hill
bc80841212 Changing the queries again.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 14:29:46 -05:00
Kenneth Kehl
64a61f5d36 cleanup redis commands and flow 2025-01-10 11:21:39 -08:00
Cliff Hill
ef61069101 black cleanup.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 13:55:01 -05:00
Cliff Hill
f1cc6aa400 estructuring how to get total_notifications.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 13:47:43 -05:00
Beverly Nguyen
b6337ad807 updating pending count 2025-01-10 10:28:28 -08:00
Kenneth Kehl
874c8ffb54 try batch inserts 2025-01-10 07:58:24 -08:00
Cliff Hill
8656c44757 Make sure join is correct table.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-09 13:02:21 -05:00
Cliff Hill
37fa1187ac Adding group by clause to outer query for function.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-09 08:29:36 -05:00
Cliff Hill
05055aa60a Updated query
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-08 15:41:26 -05: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
Kenneth Kehl
4e3f89906d try again 2024-12-30 12:11:19 -08:00
Kenneth Kehl
bf497d8896 try again 2024-12-30 11:45:14 -08:00
Kenneth Kehl
4ac7c7479c merge from main 2024-12-30 09:11:11 -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
3c0621f472 more code review feedback 2024-12-20 08:09:19 -08:00
Kenneth Kehl
a77343ebc7 noqa the x == False for sqlalchemy 2024-12-19 13:58:28 -08:00
Kenneth Kehl
f809a060d5 noqa the x == False for sqlalchemy 2024-12-19 13:47:14 -08:00
Kenneth Kehl
8f572bbe05 noqa the x == False for sqlalchemy 2024-12-19 13:33:59 -08:00
Kenneth Kehl
5a94229a50 noqa the x == False for sqlalchemy 2024-12-19 13:21:59 -08:00
Kenneth Kehl
bb1d81be44 noqa the x == False for sqlalchemy 2024-12-19 13:11:26 -08:00
Kenneth Kehl
605782c1b1 noqa the x == False for sqlalchemy 2024-12-19 13:01:02 -08:00