Commit Graph

1139 Commits

Author SHA1 Message Date
Kenneth Kehl
8aae0d59b4 use shared memory instead of expiring dict for jobs cache 2024-09-26 11:56:39 -07:00
Kenneth Kehl
64a85868a3 code review feedback and merge from main 2024-09-11 09:39:18 -07:00
Kenneth Kehl
fefdd297ea initial 2024-09-06 11:13:13 -07:00
Kenneth Kehl
3ac2db4379 more flake 8 2024-08-15 11:24:24 -07:00
Kenneth Kehl
c0ab7c8a68 more exc_info 2024-08-15 11:07:36 -07:00
Kenneth Kehl
146f0cc787 initial 2024-08-15 10:31:02 -07:00
Cliff Hill
fef3173876 Minor fix.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-26 12:42:36 -04:00
Cliff Hill
17b078982f Logging where the error is at.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-07-26 09:46:37 -04:00
Kenneth Kehl
bf587aaf2f set delivery receipt delay to 30 seconds (from 120 seconds) 2024-07-23 09:21:40 -07:00
Carlo Costino
26c6d392ce Merge pull request #1200 from GSA/grrr
fix ExpiringDict caching solution
2024-07-22 17:15:44 -04:00
Kenneth Kehl
aa63003937 cleanup 2024-07-22 07:21:03 -07:00
Kenneth Kehl
875d378b3d fix ExpiringDict caching solution 2024-07-19 13:58:23 -07:00
Kenneth Kehl
56c87e9611 handling throttling exception 2024-07-19 07:48:55 -07:00
Kenneth Kehl
d7279c7c38 revamp PII masking 2024-06-17 11:12:30 -07:00
Kenneth Kehl
76c34ffae6 Need magic PII-free debugging method for API 2024-06-11 10:34:57 -07:00
Kenneth Kehl
6081ff4873 merge from main 2024-06-06 13:18:00 -07:00
Kenneth Kehl
feb8a1bfaf merge from main 2024-06-06 13:12:37 -07:00
Kenneth Kehl
920d2c4539 debug for notify-admin-1588 2024-06-05 12:42:35 -07:00
Kenneth Kehl
db68583cf9 merge from main 2024-06-04 08:20:01 -07:00
Kenneth Kehl
22ffc56520 remove v2 2024-05-30 12:27:07 -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
Kenneth Kehl
8fba67170e remove deprecated notification 2024-04-11 10:28:09 -07:00
Kenneth Kehl
ebdb78e52e reformat up to latest version of black 2024-04-01 15:12:33 -07:00
Andrew Shumway
1547e80e37 Fix spacing 2024-03-28 09:35:53 -06:00
Andrew Shumway
d3b895ddc6 PEP-257 changes 2024-03-27 10:32:40 -06:00
Andrew Shumway
6599c284cc Add docs/code comments for message-send-flow 2024-03-18 11:45:40 -06:00
Andrew Shumway
5f2508a975 Add docs/code comments for message send flow 2024-03-18 11:32:29 -06:00
Kenneth Kehl
492daee970 fix personalisation for emails 2024-03-06 10:28:34 -08:00
Cliff Hill
06d1e0236f String cleanup complete.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:58:23 -05:00
Cliff Hill
a118b16eb8 Replaced "delivered".
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:58:22 -05:00
Cliff Hill
bd705ed188 More cleanup.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:34 -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
db3761609b Job Status changed.
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
ac9591ec7c More tweaks, trying to get tests to be clean.
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
e45d4dbac9 fix tests 2024-01-12 15:08:59 -08:00
Kenneth Kehl
3414c8e15a fix redis issue causing error in log 2024-01-12 14:28:14 -08:00
Kenneth Kehl
212834dd7d fix 90% threshold message 2023-12-06 07:32:03 -08:00
Kenneth Kehl
9f037058e3 tidy up 2023-11-29 09:04:34 -08:00
Kenneth Kehl
4a44171795 fix email 2023-11-29 08:14:28 -08:00
Kenneth Kehl
d710cdefd6 notify-api-634 2023-11-28 12:30:53 -08:00
Cliff Hill
8350408512 Working on getting tests working.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-13 16:00:11 -05:00
Cliff Hill
3e6a7931d8 Working on getting expiration implemented.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-13 16:00:11 -05:00
Kenneth Kehl
6d84ec64e5 notify-api-522 2023-10-24 11:35:00 -07:00
Kenneth Kehl
2487aeb657 remove debugging 2023-10-02 14:13:25 -07:00