Commit Graph

269 Commits

Author SHA1 Message Date
Kenneth Kehl
f844da8c68 update comment 2024-09-30 08:38:49 -07:00
Kenneth Kehl
0d82f89bb5 reduce max connections to 10 2024-09-27 14:18:42 -07:00
Kenneth Kehl
e99f4bc6b5 suppress warnings 2024-09-27 12:38:27 -07:00
Kenneth Kehl
641b01d094 some cleanup 2024-09-13 11:22:50 -07:00
Kenneth Kehl
3737865153 add try/except 2024-09-12 12:30:19 -07:00
Kenneth Kehl
7dd396b2fd whoops 2024-09-12 11:06:22 -07:00
Kenneth Kehl
97cecd8569 add initial phone validation ability 2024-09-12 10:31:01 -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
6a7717c1d2 fix import 2024-08-20 10:35:10 -07:00
Kenneth Kehl
5c3b96123a code review feedback 2024-08-20 10:29:19 -07:00
Kenneth Kehl
08fe1a04db fix imports 2024-08-19 13:12:31 -07:00
Kenneth Kehl
7b1942c3fe initial 2024-08-19 12:53:18 -07:00
Kenneth Kehl
146f0cc787 initial 2024-08-15 10:31:02 -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
920d2c4539 debug for notify-admin-1588 2024-06-05 12:42:35 -07:00
Kenneth Kehl
905df17f65 remove datetime.utcnow() 2024-05-23 13:59:51 -07: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
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
Kenneth Kehl
467a2919f4 add log warning in dev environment if phone number is opted out (notify-api-539) 2024-02-13 09:39:53 -08:00
Kenneth Kehl
59e8c493e5 add stats for cache hits/misses and remove debug message 2024-01-12 07:30:19 -08:00
Kenneth Kehl
efe4cd589c more debugging messages 2024-01-11 13:22:13 -08:00
Kenneth Kehl
6ab8d556e5 fix case where we dont know the phoneCarrier for any reason 2024-01-11 12:41:24 -08:00
Carlo Costino
e0bf936420 Merge pull request #704 from GSA/API-312_Make_Multiple_Opt_Out_Lists_Pinpoint
Clean up client classes
2024-01-04 15:52:00 -05:00
Cliff Hill
b88d1f0aa2 Minor tweaks
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-01-04 15:07:50 -05:00
Cliff Hill
d714ebcd5d Restructured how clients are implemented.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-01-04 09:00:41 -05:00
Cliff Hill
3ff6d38660 Making the new pinpoint client.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-29 18:11:55 -05:00
Cliff Hill
8461b336ca Fixing bug.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-29 09:56:17 -05:00
Kenneth Kehl
9c841320ca fix tests 2023-11-03 08:28:21 -07:00
Kenneth Kehl
6d84ec64e5 notify-api-522 2023-10-24 11:35:00 -07:00
Kenneth Kehl
ef64bd424a fix time passed to boto3 2023-10-03 07:52:20 -07:00
Kenneth Kehl
6af998a080 notify-api-521 code review feedback and fix code coverage 2023-10-03 07:31:24 -07:00
Kenneth Kehl
bd09c63ea9 notify-api-521 fix sms temporary failure message 2023-10-02 14:09:50 -07:00
Kenneth Kehl
8af7a5552f notify-api-520 persist the provider response even for successful sms messages 2023-09-29 13:39:10 -07:00
Kenneth Kehl
f1a4516c9e notify-api-360 stop worrying about aws regions 2023-09-27 08:57:00 -07:00
Kenneth Kehl
309c49dc84 notify-api-360 messages are hanging in pending forever 2023-09-26 08:11:47 -07:00
Kenneth Kehl
5e2d65a348 add debug for check sms deliver receipt bug 2023-09-25 13:22:21 -07:00
Kenneth Kehl
a1890109d8 notify-api-490 fix sns region 2023-09-21 14:48:10 -07:00
Kenneth Kehl
62f83ffe1e revamp how authentication code is displayed as per Steven 2023-08-30 09:29:08 -07:00
Kenneth Kehl
29a280ced4 notify-api-390 2023-08-29 13:12:18 -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
807941ac86 notify-api-413 fix flake8 2023-08-16 10:42:52 -07:00
Kenneth Kehl
e037df8cbc notify-api-413 reduce cyclomatic complexity identified by radon 2023-08-16 09:29:32 -07:00
Carlo Costino
d4848a67b5 Switch to using FIPS-enabled endpoints
This changeset switches AWS service touchpoints to use their FIPS-enabled counterparts.  Note that S3 has some specific configuration associated with it.

This changeset also updates our allow ACLs to cover the FIPS-enabled endpoints.  We should investigate removing the non-FIPS endpoints as a part of this.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-11 16:24:45 -04:00
Kenneth Kehl
17e9fc1e8f notify-api-317 fix the scrubbing of pii for successful notifications 2023-06-27 10:48:14 -07:00
Kenneth Kehl
359ac9d967 merge from main 2023-05-10 09:58:03 -07:00
Kenneth Kehl
08c1ad75c8 notify-260 remove server-side timezone handling 2023-05-10 08:39:50 -07:00