Commit Graph

4497 Commits

Author SHA1 Message Date
Anastasia Gradova
08fe6beff7 Added commands to add test data to DB
Updated old .uk strings in db.py
2024-03-01 12:13:29 -07: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
3e6ea3aa2c merge from main 2024-02-02 10:44:29 -08:00
Kenneth Kehl
fad3d4f473 fix tests 2024-02-02 09:32:24 -08:00
Kenneth Kehl
82dd29d457 handle bom in phone number field 2024-02-01 12:01:29 -08:00
Kenneth Kehl
a028be238b notify-api-784 remove simulated numbers 2024-02-01 10:48:59 -08:00
Kenneth Kehl
7997d887c6 fix case sensitivity looking up phone number 2024-01-18 10:53:20 -08:00
Kenneth Kehl
c13ed73d23 substitute phone numbers back in when sending data to reports 2024-01-17 09:04:04 -08:00
Kenneth Kehl
848b62092a merge from main 2024-01-16 11:21:54 -08:00
Kenneth Kehl
f9f1013f5b notify-api-742 don't write phone numbers to db 2024-01-16 11:21:24 -08:00
Kenneth Kehl
e45d4dbac9 fix tests 2024-01-12 15:08:59 -08:00
Kenneth Kehl
3e6229b87a fix tests add redis mock 2024-01-12 07:42:21 -08:00
Kenneth Kehl
ab0066589c fix registration and mock tests for redis 2024-01-11 11:51:00 -08:00
Kenneth Kehl
ca199c4491 flake8 2024-01-10 11:49:20 -08:00
Kenneth Kehl
97baa4c184 flake8 2024-01-10 11:38:23 -08:00
Kenneth Kehl
6f04915ee8 flake8 2024-01-10 11:20:33 -08:00
Kenneth Kehl
f6ba9b4d74 mock redis 2024-01-10 11:14:04 -08:00
Kenneth Kehl
e15122d6f5 mock redis 2024-01-10 11:00:50 -08:00
Carlo Costino
52272d78da Merge pull request #707 from GSA/notify-api-685f
get phone numbers from the jobs in s3
2024-01-08 18:07:33 -05:00
Kenneth Kehl
726e0b15fa code review feedback 2024-01-08 14:31:28 -08:00
Kenneth Kehl
a5f78224b2 remove print statements 2024-01-05 10:39:07 -08:00
Kenneth Kehl
88379c9e46 final 2024-01-05 10:35:14 -08: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
Carlo Costino
81907bb80e Merge pull request #659 from GSA/ADMIN-97_Resend_Expired_Invites
Admin 97 resend expired invites
2023-12-20 14:05:41 -05:00
Cliff Hill
61d294292b Did stuff, fixed things. This seems to work now.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-15 13:14:53 -05:00
Cliff Hill
b72ae4374f Working on tests.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-13 10:14:14 -05:00
Cliff Hill
e4f228ca0d More test fixes.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 22:01:27 -05: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
171326a6b0 Maybe tests are working now.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 21:41:56 -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
Cliff Hill
5277953761 Working on api test.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-07 16:26:25 -05:00
Carlo Costino
84b8936327 Merge pull request #637 from GSA/notify-api-634
Create internal alarms/notifications for 50, 75, 90% of 10K db max
2023-12-07 11:32:28 -05:00
Carlo Costino
5ae2335c82 Update failing test; include blackened files
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-12-06 11:11:00 -05:00
Cliff Hill
c04df94b22 Adjusting some DAO stuff to send expired invites now.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-05 23:03:43 -05:00
Kenneth Kehl
d710cdefd6 notify-api-634 2023-11-28 12:30:53 -08:00
Cliff Hill
fe01de3668 More testing tweaks.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-22 12:16:24 -05:00
Cliff Hill
68c50ff824 Tests being configured.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-22 11:55:51 -05:00
Cliff Hill
d1dec155b6 Improving tests a little.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-22 08:36:37 -05:00
Cliff Hill
4ea62bc1dd Got things rolling now.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-14 12:48:36 -05: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
Carlo Costino
232611629e Merge pull request #580 from GSA/notify-api-553
notify-api-533 add flask command to promote user to platform admin
2023-11-07 12:53:41 -05:00
Kenneth Kehl
7392663b10 cleanup 2023-11-07 07:08:42 -08:00
Kenneth Kehl
aa7b5d3905 notify-api-533 add flask command to promote user to platform admin 2023-11-06 13:31:03 -08:00
Andrew Shumway
d0368695db Revert "Added flag to remove default sender from user list" 2023-11-06 11:49:17 -07:00
Kenneth Kehl
937dd77f4f fix some tests 2023-11-03 10:27:45 -07:00
Kenneth Kehl
9c841320ca fix tests 2023-11-03 08:28:21 -07:00
Carlo Costino
23f17b166c Updated notification retention limit validator test to account for the new 10K limit
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-02 17:43:30 -04:00
Andrew Shumway
67d38ef32d Fixed tests with appropriate parameters 2023-11-02 16:21:02 -04:00
Andrew Shumway
1db57c289a Removed tests related to daily total key 2023-11-02 16:18:01 -04:00