Commit Graph

560 Commits

Author SHA1 Message Date
Beverly Nguyen
fa00bd14bf isort 2025-01-10 18:47:39 -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
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
9219049150 Cleaning up function a bit.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 15:08:44 -05: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
Cliff Hill
05055aa60a Updated query
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-08 15:41:26 -05:00
Beverly Nguyen
67a56626a4 update pending count 2024-12-30 20:18:56 -08:00
Beverly Nguyen
f4e68d7903 add pending stats 2024-12-19 17:53:04 -08:00
Kenneth Kehl
a5b83f5eff fix broken go live email notification 2024-11-27 11:12:21 -08:00
Kenneth Kehl
a1155dff7e fix broken go live email notification 2024-11-27 11:03:01 -08:00
Kenneth Kehl
43eba01bb4 fix broken go live email notification 2024-11-27 10:56:13 -08:00
Kenneth Kehl
61b9948270 fix broken go live email notification 2024-11-27 10:46:49 -08:00
Kenneth Kehl
6c0cbd2d34 fix broken go live email notification 2024-11-27 10:19:09 -08:00
Kenneth Kehl
9b392af576 fix broken go live email notification 2024-11-27 10:05:41 -08:00
Kenneth Kehl
12776354e3 fix broken go live email notification 2024-11-27 08:36:52 -08:00
Cliff Hill
70404a2a8b Invites are now working.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-11-07 08:37:55 -05:00
Kenneth Kehl
621770daf0 merge from main and code review feedback 2024-10-08 07:36:17 -07:00
Kenneth Kehl
76373de13b comment out search for notification by to field 2024-10-03 08:54:16 -07:00
Kenneth Kehl
64a85868a3 code review feedback and merge from main 2024-09-11 09:39:18 -07:00
Kenneth Kehl
01fff300f8 merge from main 2024-08-22 08:38:01 -07:00
Kenneth Kehl
9182ba0323 Merge pull request #1277 from GSA/more_backoff
improve exponential backoff while job hunting
2024-08-16 12:57:00 -07:00
Kenneth Kehl
88f718a906 fix 2024-08-16 10:24:10 -07:00
Kenneth Kehl
496571686a initial 2024-08-16 09:53:29 -07:00
Cliff Hill
7a3a216444 Merge pull request #1248 from GSA/notify-apy-283
Need to remove priority logic
2024-08-16 12:36:55 -04:00
Kenneth Kehl
c0ab7c8a68 more exc_info 2024-08-15 11:07:36 -07:00
Kenneth Kehl
3fde9c5d5d fix flake 8 2024-08-15 10:40:26 -07:00
Kenneth Kehl
146f0cc787 initial 2024-08-15 10:31:02 -07:00
Kenneth Kehl
b9eec69423 add retry with backoff 2024-08-13 14:51:51 -07:00
Kenneth Kehl
8444b76690 fix flake8 2024-08-09 09:18:58 -07:00
Kenneth Kehl
2e7e6e81fc Need to remove priority logic 2024-08-09 09:11:28 -07:00
Cliff Hill
d6b59611cb Fixing hopefully
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-24 10:24:47 -04:00
Cliff Hill
32500a13c1 Fixing some things.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-22 17:04:13 -04:00
Cliff Hill
67b43ffbb1 Getting the logging where I think it will be most useful.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-22 16:39:03 -04:00
Kenneth Kehl
e902e69082 wrap calls to get personalization and phone number so dashboard doesn't explode 2024-07-05 11:02:28 -07:00
Cliff Hill
c368d3d3f2 More import adjustments.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-02 16:00:58 -04:00
Cliff Hill
8708d8ddce Fixin' imports.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-02 15:57:14 -04:00
Cliff Hill
f95d3e0b99 Made changes I requested to be done.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-02 15:38:22 -04:00
Anastasia Gradova
966f9b4050 moved generate_date_range to date_util
standardized the SQLAlchemy calls
refactored the endpoints in service/rest.py
2024-06-20 23:12:47 -06:00
Anastasia Gradova
abc0ba9281 Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days 2024-06-20 08:35:12 -06:00
Anastasia Gradova
fd37923294 Updated SQLAlchemy queries and API endpoints
for single database queries to improve
application performance.
2024-06-20 01:04:31 -06:00
Anastasia Gradova
e293f7e3f5 Updated all usage of datetime.utcnow() to
app.utils utc_now() function. Added new endpoint
/service/{{service_id}}/notifications/month
2024-06-14 16:01:04 -06:00
Anastasia Gradova
0082ba3dd0 Updated sort order, endpoint defenition, and tests
for REQUESTED attribute
2024-06-06 22:11:24 -06:00
Anastasia Gradova
cd188180ca Added new endpoint for getting statistics for a
service, for a user, by a number of days
2024-06-06 16:37:12 -06:00