Kenneth Kehl
58a8b51f59
more input checking
2025-06-26 10:35:46 -07:00
alexjanousekGSA
aa445f5f40
Fixed more tests
2025-05-30 16:23:47 -04:00
alexjanousekGSA
7c1f3f2c3a
More fixed tests
2025-05-28 14:01:55 -04:00
Kenneth Kehl
025a10a906
merge from main
2025-01-16 13:22:38 -08:00
Andrew Shumway
d7c97d6428
Remove hilite imports
2025-01-16 09:05:49 -07:00
Andrew Shumway
7a7daf8323
Remove another print statement
2025-01-16 09:02:07 -07:00
Andrew Shumway
f497203791
Ensure created_at stamp is correct
2025-01-13 10:07:33 -07:00
Kenneth Kehl
8cc6b07a98
merge from main
2025-01-07 07:10:14 -08:00
Kenneth Kehl
0ab5680029
add expiration to redis
2024-12-23 10:52:46 -08:00
Kenneth Kehl
3168f28920
more
2024-11-18 09:26:04 -08:00
Cliff Hill
1571143012
Resend invites works.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-11-07 09:56:09 -05:00
Cliff Hill
70404a2a8b
Invites are now working.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-11-07 08:37:55 -05:00
Cliff Hill
f95738a763
Getting all the needed data in place.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-11-06 14:30:57 -05:00
Cliff Hill
017406cbb6
Fixing tests, and resend invites endpoint.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-11-06 08:09:03 -05:00
Cliff Hill
123aa7129b
Making state be validated.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-11-06 08:09:03 -05:00
Cliff Hill
c800fbc2b0
Removing unused code.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-11-06 08:09:03 -05:00
Cliff Hill
e80029e5f0
Properly handling and validating the state for login.gov
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-11-06 08:09:03 -05:00
Cliff Hill
4c891de47c
Nonce stuff added.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-10-21 16:42:17 -04:00
Kenneth Kehl
621770daf0
merge from main and code review feedback
2024-10-08 07:36:17 -07:00
Kenneth Kehl
f720b48d0d
Bug: Invites expiring immediately
2024-10-02 09:54:18 -07:00
Kenneth Kehl
3fde9c5d5d
fix flake 8
2024-08-15 10:40:26 -07:00
Kenneth Kehl
146f0cc787
initial
2024-08-15 10:31:02 -07: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
Kenneth Kehl
bce5220515
merge from main
2024-05-31 07:35:41 -07:00
Kenneth Kehl
905df17f65
remove datetime.utcnow()
2024-05-23 13:59:51 -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
a274aae232
fix invite text
2024-05-15 08:22:04 -07: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
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
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
23e66db2a9
make state non-arbitrary
2024-04-02 13:18:21 -07:00
Kenneth Kehl
24aea5efc3
remove debug
2024-04-01 12:48:30 -07:00
Kenneth Kehl
97ba070b0e
debug staging
2024-03-28 11:19:02 -07:00
Kenneth Kehl
8d48ec4c87
fix invitations
2024-03-22 11:18:47 -07:00
Kenneth Kehl
1a9800f924
fix tests
2024-03-19 13:23:22 -07:00
Kenneth Kehl
93d9ab62e4
login.gov first time workflow notify-api-1250
2024-03-19 07:34:23 -07:00
Kenneth Kehl
b777249b6f
merge from main
2024-03-01 13:50:09 -08:00
Cliff Hill
9523cc1d97
Cleaning up with black, isort, flake8.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:33 -05:00
Cliff Hill
7416de2a28
KeyType implemented.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:33 -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
820ee5a942
Cleaning up a lot of things, getting Enums used everywhere.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:40:52 -05:00
Kenneth Kehl
b5a0562077
fix tests
2024-01-24 07:55:14 -08:00
Kenneth Kehl
6dc9828663
fix tests
2024-01-22 10:55:09 -08:00
Cliff Hill
affc5e7aff
Fixing stuff.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2023-12-20 09:51:43 -05:00