6333 Commits
Author SHA1 Message Date
Kenneth Kehl d7279c7c38 revamp PII masking 2024-06-17 11:12:30 -07:00
Anastasia Gradova e293f7e3f5 Updated all usage of datetime.utcnow() to
app.utils utc_now() function. Added new endpoint
/service/{{service_id}}/notifications/month
2024-06-14 16:01:04 -06:00
Kenneth Kehl 320e560081 merge from main 2024-06-14 14:15:21 -07:00
Kenneth Kehl bff2df514f change it to a task 2024-06-14 09:32:58 -07:00
Kenneth Kehl 9408c9955b merge from main 2024-06-13 09:46:17 -07:00
Kenneth Kehl 76c34ffae6 Need magic PII-free debugging method for API 2024-06-11 10:34:57 -07:00
Anastasia Gradova 0082ba3dd0 Updated sort order, endpoint defenition, and tests
for REQUESTED attribute
2024-06-06 22:11:24 -06:00
Anastasia Gradova cd188180ca Added new endpoint for getting statistics for a
service, for a user, by a number of days
2024-06-06 16:37:12 -06:00
Anastasia Gradova a5055a0cf9 Updated endpoints to use the
NotificationAllTimeView which is a view created
to merge notifiations and notification_history
2024-06-06 16:00:12 -06: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 aed0b7bc68 lets make the 7 day cache work properly 2024-06-06 13:05:56 -07:00
Kenneth Kehl 920d2c4539 debug for notify-admin-1588 2024-06-05 12:42:35 -07:00
Anastasia Gradova 227b9a3fc9 Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days 2024-06-05 11:47:55 -06: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
Anastasia Gradova 41f2416216 reversed direction of the day count 2024-06-03 21:38:29 -06:00
Carlo Costino 7aa6f62545 Fix debug statement
This changeset fixes a recently added debug statement that was assuming a list was not empty, which was causing end-to-end tests to break in the admin site.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-31 12:02:50 -04:00
Carlo Costino a3ef6de5bc Merge pull request #992 from GSA/notify-admin-1396
Exception Investigation: app.notify_client:InviteTokenError
2024-05-31 11:35:20 -04: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
Kenneth Kehl bce5220515 merge from main 2024-05-31 07:35:41 -07: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 bbeb602224 fix query 2024-05-28 14:01:37 -07:00
Anastasia Gradova 5fbad5bd69 Added endpoints for #1006 and #1007 2024-05-25 20:59:08 -06:00
Kenneth Kehl 905df17f65 remove datetime.utcnow() 2024-05-23 13:59:51 -07:00
Kenneth Kehl 752a13fbd2 replace utcnow with timezone naive utc call 2024-05-23 10:18:02 -07:00
Anastasia Gradova 5cd68e8081 New endpoints for #1006 and #1007 2024-05-22 13:33:32 -06: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 a274aae232 fix invite text 2024-05-15 08:22:04 -07:00
Kenneth Kehl c3a20eca17 add some debug around report generation 2024-05-14 07:23:47 -07:00
Carlo Costino e8f03f9dbf Merge pull request #982 from GSA/notify-admin-1381b
extend cache to 7 days
2024-05-13 11:28:58 -04:00
Carlo Costino e33421b62d Merge pull request #979 from GSA/notify-api-956
Remove log statement from s3.py
2024-05-13 11:21:23 -04:00
Kenneth Kehl e7183da117 code review feedback 2024-05-13 07:35:14 -07:00
Kenneth Kehl 9cfb571e8f extend cache to 7 days 2024-05-13 07:19:14 -07:00
Kenneth Kehl bbd1fed737 fix flake8 2024-05-09 07:46:38 -07:00
Kenneth Kehl 51c90878a2 remove unnecessary debug stmts 2024-05-09 07:21:46 -07:00
Kenneth Kehl 252a5debbe change debug statement from info to debug 2024-05-09 07:20:28 -07:00
Carlo Costino fcad5e4d3c Fixing errant isort formatting
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-06 15:39:53 -04:00
Carlo Costino 5ece190c7f Minor changes accounting for black and isort formatting
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-06 15:35:04 -04:00
Carlo Costino fe9cbc99a0 Merge branch 'main' into aanand-sqlalchemy-version-update 2024-05-06 15:28:29 -04:00
Carlo Costino acc577c272 Merge pull request #941 from GSA/1270-update-email-content
1270 update email content
2024-04-30 14:55:44 -04:00
Kenneth Kehl bd80ef16ba code review feedback 2024-04-25 13:21:26 -07:00
Kenneth Kehl f1f2f728af cleanup 2024-04-24 14:06:43 -07:00
Aditi Anand f2fb407216 adding back a removed comment while sqlalchemy 2.0 upgrade 2024-04-24 16:35:03 -04:00
Aditi Anand ad55eef5e9 Changes for sqlalchemy 2.0 2024-04-24 16:27:20 -04:00
Aditi Anand df2a590f1a Merge branch 'notify-api-869' into aanand-sqlalchemy-version-update 2024-04-24 16:11:03 -04:00
Kenneth Kehl a2518b8229 fix service invites 2024-04-24 10:51:47 -07:00
Jonathan Bobel fb8ab7ed23 1270 - Email content updates 2024-04-22 13:14:09 -04:00