Commit Graph
587 Commits
Author SHA1 Message Date
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 0429a5490d merge from main 2024-06-04 08:29:13 -07:00
Kenneth Kehl db68583cf9 merge from main 2024-06-04 08:20:01 -07:00
Carlo Costino a555bd429e Merge pull request #1022 from GSA/notify-api-951
replace utcnow with timezone naive utc call
2024-05-31 11:18:29 -04:00
Carlo Costino 543a20f4a1 Merge pull request #987 from GSA/pr_debug_reports
add some debug around report generation
2024-05-31 10:03:05 -04: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 e7c68531f2 fix flake 8 2024-05-15 08:34:56 -07:00
Kenneth Kehl c3a20eca17 add some debug around report generation 2024-05-14 07:23:47 -07:00
Kenneth Kehl b777249b6f merge from main 2024-03-01 13:50:09 -08: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 69a9accfca Getting NotificationStatus implemented everywhere.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:32 -05:00
Cliff Hill 985ad27b3e Getting imports right to use app.enums
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 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 31ff6a11ee merge from main 2024-02-01 08:06:10 -08:00
Kenneth Kehl a790c2f9c7 notify-admin-1158 fix email sending 2024-01-26 11:42:30 -08:00
Kenneth Kehl b5a0562077 fix tests 2024-01-24 07:55:14 -08:00
Kenneth Kehl 6dc9828663 fix tests 2024-01-22 10:55:09 -08:00
Cliff Hill 1157f5639d black, isort, flake8
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 21:43:52 -05:00
Cliff Hill 1fdad3099b Working on tests.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 13:15:40 -05:00
Andrew Shumway 67d38ef32d Fixed tests with appropriate parameters 2023-11-02 16:21:02 -04:00
Andrew Shumway a346a734fc Removed/replaced retention redis count with notification count from db call 2023-11-02 16:16:08 -04:00
Kenneth Kehl 6af998a080 notify-api-521 code review feedback and fix code coverage 2023-10-03 07:31:24 -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 065009bb7a merge from main and reformat 2023-08-29 16:21:18 -07: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 00fd3a72bb code review feedback, fix setup.cfg and reformat 2023-08-25 08:10:33 -07:00
Kenneth Kehl 026dc14021 notify-api-412 use black to enforce python style standards 2023-08-23 10:35:43 -07:00
Kenneth Kehl 1765dba476 fix references to gds 2023-08-17 09:01:53 -07:00
Kenneth Kehl daa74f08d2 rename 2023-07-13 07:25:19 -07:00
Kenneth Kehl cbed8b8104 retry 2023-07-12 14:52:40 -07:00
Kenneth Kehl d7ad65ef89 remove autocommit and clean up some bad debug statements 2023-06-27 13:06:38 -07:00
Kenneth Kehl 48ce584773 merge from main 2023-05-11 07:16:25 -07:00
Ryan Ahearn 663ea8435e Fix SNS cert address regex to allow govcloud region domain 2023-05-09 12:04:05 -04: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 8d87b6ec09 Add a total-message daily limit (#195) 2023-03-14 16:28:38 -04: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
Ryan Ahearn d1c03e5e8c Get SES config from VCAP_SERVICES 2023-01-31 17:27:17 -05:00
Ryan Ahearn bfeb65c914 Install newrelic and enable in development 2023-01-18 09:06:09 -05:00