Commit Graph

764 Commits

Author SHA1 Message Date
Kenneth Kehl
b7782923fa fix 2024-07-15 08:34:35 -07:00
Kenneth Kehl
228c4cdf93 add handling for 90 day email check 2024-07-15 07:26:07 -07:00
Kenneth Kehl
2be7e61458 code review feedback 2024-07-12 13:19:14 -07:00
Kenneth Kehl
b50e90e6ee merge from main 2024-07-12 10:09:48 -07:00
Kenneth Kehl
df9efb38d4 fix import sorting 2024-07-11 10:40:19 -07:00
Kenneth Kehl
18333b9a67 fix import 2024-07-11 10:35:50 -07:00
Kenneth Kehl
272d321766 skip e2e 2024-07-11 10:27:04 -07:00
Kenneth Kehl
058a999ed0 ugh 2024-07-11 09:38:32 -07:00
Beverly Nguyen
d54cfdd6c0 added utc time 2024-06-18 10:06:57 -07:00
Beverly Nguyen
3594694de2 added fetch by user 2024-06-17 12:36:21 -07:00
Beverly Nguyen
0fa6e59a49 fetch notification stats by user 2024-06-12 14:32:25 -07:00
Beverly Nguyen
fed2aff43c cleaned up code 2024-06-04 16:52:32 -07:00
Beverly Nguyen
7a9d260717 fix testing 2024-06-03 15:34:43 -07:00
Beverly Nguyen
89f19bb63d cleared up style checks 2024-06-03 13:35:30 -07:00
Beverly Nguyen
d5934855a0 Merge branch '1513-provide-notification-stats-data-within-7-days-month-and-year' into socketIO 2024-05-30 14:51:23 -07:00
Beverly Nguyen
758c1cd8a0 added new api for month, by year, previous 7 day stats 2024-05-29 12:13:09 -07:00
Carlo Costino
9a83ba7475 Localize notification_utils to the admin
This changeset pulls in all of the notification_utils code directly into the admin 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 admin.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-16 10:37:37 -04:00
Kenneth Kehl
5b97f33831 fix flow and skip tests for now 2024-04-19 13:53:32 -07:00
Kenneth Kehl
e5136d9fa7 return None if no user 2024-03-29 07:45:16 -07:00
Kenneth Kehl
492f798274 update login.gov stuff to use user uuid instead of email (notify-admin-1277) 2024-03-08 09:04:56 -08:00
Carlo Costino
187ff4210c Merge pull request #1032 from GSA/notify-api-769b
convert one-off sends to jobs
2023-12-21 17:39:20 -05:00
Cliff Hill
09e011fc9f black, isort, flake8
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2023-12-20 14:53:02 -05:00
Cliff Hill
0e7b371f90 Got tests in place.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2023-12-20 14:53:02 -05:00
Cliff Hill
6f43be69ba Wired up admin to send resend invite request to api.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2023-12-20 14:53:02 -05:00
Cliff Hill
f308b85715 Cleaning up string formatting in invite_api_client.py.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2023-12-20 14:53:02 -05:00
Kenneth Kehl
5a173330ca merge from main 2023-12-20 10:26:50 -08:00
Kenneth Kehl
14f70620f9 code review feedback 2023-12-20 10:26:14 -08:00
stvnrlly
f600dd95d6 remove email branding 2023-12-18 16:10:12 -05:00
Kenneth Kehl
32b4e6918f flake8 2023-12-14 13:24:34 -08:00
Kenneth Kehl
d218fd2178 notify-admin-529 remove provider view 2023-12-06 13:40:15 -08:00
Kenneth Kehl
cee2552706 notify-admin-931 2023-12-04 14:52:48 -08:00
Kenneth Kehl
9ee61806f3 fix class method 2023-11-30 14:48:06 -08:00
Kenneth Kehl
50ccd994d0 fix scheduled jobs time 2023-11-30 14:41:44 -08:00
Carlo Costino
86fbaee27d Adjust positional arguments flagged by flake8-bugbear
The new release of flake8-bugbear is starting to flag positional argument unpacking that comes after keyword arguments in function calls as a style warning that fails.  This is a good thing to catch because it can lead to unexpected side effects with function arguments and/or errors thrown by Python.

See the following links for more details:

- https://stackoverflow.com/questions/58961715/python-value-unpacking-order-in-method-parameters
- https://github.com/python/cpython/issues/82741

This changeset fixes a couple of instances where the positional argument unpacking was happening after keyword arguments were being provided.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-11-29 09:39:44 -05:00
Kenneth Kehl
6f9e55cba0 debug and etc 2023-11-10 11:08:52 -08:00
Kenneth Kehl
381315d18a fix flake8 2023-11-02 14:31:12 -07:00
Kenneth Kehl
5f41eb2ccc fix flake8 2023-11-02 14:26:11 -07:00
Kenneth Kehl
5da110ded4 merge from main 2023-11-02 14:13:43 -07:00
Andrew Shumway
83767b8ba8 remove import 2023-11-02 16:24:19 -04:00
Andrew Shumway
81f4b1436d Add notif count and history count together 2023-11-02 16:24:19 -04:00
Andrew Shumway
2fbda1cd0c Initial front end count steps 2023-11-02 16:24:19 -04:00
Kenneth Kehl
1d1e7747d0 cleanup login.gov work 2023-10-19 12:22:36 -07:00
Kenneth Kehl
8c9721d8e2 notify-api-412 use black to enforce python coding style 2023-08-25 09:12:23 -07:00
Carlo Costino
9e609efa1c Remove webauthn hooks
This changeset removes webauthn from the Notify.gov admin app.  We are not using webauthn at all in our implementation and will be looking at an entirely different authentication system in the near future.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-14 16:59:38 -04:00
Kenneth Kehl
dc342385ce notify-admin-641 let platform admins export listing of all users (#647)
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us>
Co-authored-by: stvnrlly <steven.reilly@gsa.gov>
2023-07-26 12:08:55 -04:00
Kenneth Kehl
00edf5d023 merge from main 2023-07-13 08:15:34 -07:00
Steven Reilly
13d0e46b52 blunt rename of org (#620) 2023-07-12 12:09:44 -04:00
Kenneth Kehl
c165589d4c notify-api-340 remove daily limit 2023-07-11 12:37:27 -07:00
Kenneth Kehl
faf0c9c629 code review feedback 2023-07-03 11:43:16 -07:00
Kenneth Kehl
4056a5d0ca fix issue with 'process_type' 2023-07-03 10:15:01 -07:00