Commit Graph

1877 Commits

Author SHA1 Message Date
alexjanousekGSA
5d1e758e57 Updated BE code to breakdown stats by hour instead of day 2025-03-18 11:07:32 -04:00
Kenneth Kehl
cf3baff4cc merge from main 2025-03-11 13:21:31 -07:00
Kenneth Kehl
da9bbc31ba remoe print statement 2025-02-28 14:47:26 -08:00
Kenneth Kehl
d6bb2d8fb0 track message costs 2025-02-28 08:39:13 -08:00
Kenneth Kehl
4cfb980ac6 add debug tag adr 2025-02-27 13:24:32 -08:00
ccostino
bcd872b492 Merge pull request #1546 from GSA/notify-admin-2180
add endpoint for 'recent' notifications
2025-02-27 11:16:21 -05:00
Alex Janousek
52b0998727 Merge pull request #1569 from GSA/feat/fe-tz-change
Updated endpoint to allow hourly updates to enable utc => local time conversion
2025-02-27 10:04:15 -05:00
alexjanousekGSA
d12b188861 Fixed bug 2025-02-24 18:16:19 -05:00
alexjanousekGSA
896d26343c Fixed bug with deconstruction 2025-02-24 17:20:17 -05:00
Kenneth Kehl
3bd2e1d158 fix message ratio endpoint 2025-02-24 12:29:31 -08:00
alexjanousekGSA
aad562bb88 Fixed flake errors 2025-02-24 12:35:25 -05:00
alexjanousekGSA
9bb8b31b65 Updated backend to include stat endpoint that gives hourly results instead of daily 2025-02-24 12:26:22 -05:00
Kenneth Kehl
4a742a8873 code review feedback 2025-02-10 11:05:41 -08:00
Kenneth Kehl
88ac910d92 fix test 2025-01-31 13:13:28 -08:00
Kenneth Kehl
b5b7885ce4 fix test 2025-01-31 12:30:47 -08:00
Kenneth Kehl
6c66d66c09 update to support status dropdown 2025-01-31 11:03:35 -08:00
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