Commit Graph

5611 Commits

Author SHA1 Message Date
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
bbeb602224 fix query 2024-05-28 14:01:37 -07: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
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
Kenneth Kehl
49352a4be1 add tests 2024-04-19 15:19:11 -07:00
Kenneth Kehl
44c8d74250 don't do a json.dumps before sending 2024-04-19 14:11:05 -07:00
Kenneth Kehl
56c73d9898 api to return service invite info 2024-04-19 14:02:38 -07:00
Kenneth Kehl
075ac1f3d3 use raw_get and raw_set for better debug of redis 2024-04-19 10:12:27 -07:00
Kenneth Kehl
1ae239cdb8 fix flake8 2024-04-19 09:27:58 -07:00
Kenneth Kehl
751e8ab077 more debug 2024-04-19 09:14:36 -07:00
Kenneth Kehl
65c87040c2 remove debug 2024-04-18 13:37:31 -07:00
Kenneth Kehl
6281bdd3e3 make email_address check case insensitive 2024-04-18 13:33:17 -07:00
Kenneth Kehl
9ec75c57c8 remove check-db-notification-fails task from schedule 2024-04-18 08:49:14 -07:00
Kenneth Kehl
a1f57ac4c0 make it possible to create e2e test user on staging 2024-04-12 11:29:33 -07:00
Kenneth Kehl
8fba67170e remove deprecated notification 2024-04-11 10:28:09 -07:00
Cliff Hill
d7b23832b8 Making minor change to templates.json.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-04-11 09:25:00 -04:00
Kenneth Kehl
23335bb4a9 fix personalization on job/service/notification api 2024-04-05 11:38:00 -07:00
Carlo Costino
49d653824a Merge pull request #894 from GSA/notify-admin-151
remove template preview api stuff
2024-04-03 18:53:19 -04:00
Carlo Costino
e28bc983d1 Merge pull request #871 from GSA/1270-update-email-content
1270 update email content
2024-04-03 17:26:30 -04:00
Kenneth Kehl
0e9b128d96 remove template preview api stuff 2024-04-03 13:36:59 -07:00
Kenneth Kehl
23e66db2a9 make state non-arbitrary 2024-04-02 13:18:21 -07:00
Carlo Costino
9ecbfd24ff Merge pull request #886 from GSA/notify-api-879
clean templates out of redis when we do update-templates
2024-04-02 10:02:58 -04:00
Kenneth Kehl
b36496ccb9 flake8 2024-04-01 15:19:21 -07:00
Kenneth Kehl
ebdb78e52e reformat up to latest version of black 2024-04-01 15:12:33 -07:00
Kenneth Kehl
87db56622e remove debug line 2024-04-01 14:58:04 -07:00