Commit Graph

437 Commits

Author SHA1 Message Date
Kenneth Kehl
85c5268eae change to send 3 messages per second 2024-12-23 13:51:21 -08:00
Kenneth Kehl
4c5741a82e change timing a bit 2024-12-23 08:03:12 -08:00
Kenneth Kehl
1bac8a82a0 introduce gaps in message sends 2024-12-20 09:58:03 -08:00
Kenneth Kehl
cfe9b11cf6 remove tasks from redis after they complete 2024-12-18 14:09:22 -08:00
Kenneth Kehl
6bc329006e change retries 2024-12-12 11:49:51 -08:00
Kenneth Kehl
665de72059 add expire times for redis objects 2024-12-04 07:37:59 -08:00
Kenneth Kehl
9b1eb70bbe try to fix tests 2024-12-03 14:05:25 -08:00
Kenneth Kehl
14e4d761fc try to fix tests 2024-12-03 13:50:42 -08:00
Kenneth Kehl
6124fbc6a4 fix logic 2024-12-02 12:15:32 -08:00
Kenneth Kehl
791d18b4ec fix logic 2024-12-02 11:48:26 -08:00
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
c0ab7c8a68 more exc_info 2024-08-15 11:07:36 -07:00
Kenneth Kehl
146f0cc787 initial 2024-08-15 10:31:02 -07: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
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
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
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
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
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
2928cd8dac merge from main 2023-09-22 08:22:20 -07:00
Kenneth Kehl
141deb3880 notify-admin-768 initial 2023-09-21 13:50:36 -07:00
stvnrlly
7bbb05059c update to correct error 2023-08-31 10:57:54 -04:00
stvnrlly
bf33ed7173 Merge branch 'main' into notify-300b 2023-08-31 10:28:44 -04:00
Kenneth Kehl
1ecb747c6d reformat 2023-08-29 14:54:30 -07:00
Kenneth Kehl
5a350560d7 notify-api-433b remove research mode 2023-08-25 12:09:00 -07:00
Kenneth Kehl
cbed8b8104 retry 2023-07-12 14:52:40 -07:00
Kenneth Kehl
f0c59c05a4 remove debug statement 2023-05-01 13:59:50 -07:00
Kenneth Kehl
be04edd04a fix some issues uncovered during testing 2023-05-01 13:26:19 -07:00
Kenneth Kehl
9de806000a notify-300 set total message limit of 250k 2023-04-28 12:37:06 -07:00
Steven Reilly
ff4190a8eb Remove letters-related code (#175)
This deletes a big ol' chunk of code related to letters. It's not everything—there are still a few things that might be tied to sms/email—but it's the the heart of letters function. SMS and email function should be untouched by this.

Areas affected:

- Things obviously about letters
- PDF tasks, used for precompiling letters
- Virus scanning, used for those PDFs
- FTP, used to send letters to the printer
- Postage stuff
2023-03-02 20:20:31 -05:00
stvnrlly
052f911ca8 rename billing date function to clearer about timezone 2022-11-16 12:54:08 -05:00
stvnrlly
b50cb4712f tz utility swap and many test updates 2022-11-10 12:33:25 -05:00
Jim Moffet
d0bba8a8bd Merge branch 'main' into jim/091422/deliverycallbacks 2022-09-30 11:21:46 -04:00
Ryan Ahearn
e3ad01119d Replace celery[sqs] with celery[redis] 2022-09-29 08:59:17 -04:00