Commit Graph

103 Commits

Author SHA1 Message Date
Kenneth Kehl
a59b820995 fix login.gov error 2025-08-14 10:46:45 -07:00
Kenneth Kehl
4779541251 more checks 2025-07-17 12:53:49 -07:00
Kenneth Kehl
db02b78580 better invite error handling 2025-07-17 11:10:20 -07:00
Kenneth Kehl
6ee84af8f6 fix typo 2025-07-16 11:45:21 -07:00
Kenneth Kehl
594dca06ab more debug for invites 2025-07-16 09:19:43 -07:00
Beverly Nguyen
8a41de8f07 Using StrEnum to drop .value 2025-07-04 17:22:21 -07:00
Beverly Nguyen
b73b4ac73e PART 1: Created and implemented enums throughout the codebase to replace hardcoded status strings, improving type safety and reducing the risk of typos. 2025-07-04 16:37:04 -07:00
Beverly Nguyen
17ec285130 isort 2025-06-17 17:44:44 -07:00
Beverly Nguyen
c2cda68059 flake8 2025-06-17 15:47:16 -07:00
Beverly Nguyen
519f8f7f7d redirecting users to 404 2025-06-17 15:31:58 -07:00
Cliff Hill
14bbabcab7 Invites are now working.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-11-07 08:37:45 -05:00
Cliff Hill
95a39cfd31 Trying to get invites to flow correctly.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-11-06 16:04:18 -05:00
Cliff Hill
f363a8e184 Getting all the needed data in place.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-11-06 14:30:28 -05:00
Cliff Hill
c8ed66cbfe Storing user data in redis.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-11-06 10:41:20 -05:00
Cliff Hill
a090c90ed6 Debuggin'
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-11-06 08:20:11 -05:00
Cliff Hill
a02448a0fa Removing unused state parameter for _get_access_token()
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-11-06 08:20:10 -05:00
Cliff Hill
7275dac6a0 black, isort, and flake8.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-10-21 16:41:49 -04:00
Cliff Hill
8c40538334 Nonce is working now for invites.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-10-21 16:41:49 -04:00
Cliff Hill
da6882774b Getting the redis stuff configured correctly.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-10-21 16:41:49 -04:00
Cliff Hill
d0cda995cf Standardising nonce storage/retrieval through redis for both login and
invite.

Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-10-21 16:41:49 -04:00
Cliff Hill
82cef7dbd3 Nonce stuff added.
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov>
2024-10-21 16:41:33 -04:00
Kenneth Kehl
e900a7c81f redirect new users to templates section 2024-07-25 09:10:25 -07:00
Kenneth Kehl
7b5fdd41df fix raw set 2024-06-20 11:50:51 -07:00
Kenneth Kehl
da96edbfcd fix set and get in redis_client 2024-06-07 09:07:42 -07:00
Carlo Costino
f6cf493266 Update expired and cancelled service invite handling
This changeset adds a bit of extra handling for expired and cancelled service invites so that users can no longer accept them and are provided with more detailed error messages.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-31 17:20:08 -04:00
Kenneth Kehl
622255e5a6 merges 2024-05-20 13:19:14 -07:00
Kenneth Kehl
9ba5e3b917 code review feedback 2024-05-20 12:09:49 -07:00
Kenneth Kehl
e660541e9c Exception Investigation: app.notify_client:InviteTokenError 2024-05-16 09:11:11 -07:00
Kenneth Kehl
d47f9933d2 add check for government email addresses 2024-05-13 13:39:51 -07:00
Kenneth Kehl
c578175e53 write new tests 2024-05-10 07:51:32 -07:00
Kenneth Kehl
11beff2541 get it working 2024-05-09 14:04:30 -07:00
Kenneth Kehl
7f72599401 notify-admin-1501 2024-05-09 13:08:34 -07:00
Kenneth Kehl
852c0e57c8 convert to test fixture 2024-05-08 11:30:51 -07:00
Kenneth Kehl
1d9457f9a2 add debug statements 2024-05-07 14:36:21 -07:00
Kenneth Kehl
9c40a10900 cleanup 2024-05-07 13:58:59 -07:00
Kenneth Kehl
78e8dc95fe fix tests 2024-05-06 13:12:27 -07:00
Kenneth Kehl
0b30c9a83f merge from main 2024-05-06 12:15:57 -07:00
Kenneth Kehl
f0f0661f2a Update app/main/views/register.py
Co-authored-by: Carlo Costino <ccostino@users.noreply.github.com>
2024-04-25 14:00:28 -07:00
Kenneth Kehl
4818b7ce14 code review feedback 2024-04-25 13:48:14 -07:00
Kenneth Kehl
84180fd8e1 Update app/main/views/register.py
Co-authored-by: Carlo Costino <ccostino@users.noreply.github.com>
2024-04-25 13:39:21 -07:00
Kenneth Kehl
f7fe270171 fix service invites 2024-04-24 11:20:17 -07:00
Kenneth Kehl
f092ad8f98 handle case where existing user is invited to another service 2024-03-28 13:20:22 -07:00
Kenneth Kehl
04eaec6dd6 fix register 2024-03-19 14:36:43 -07:00
Kenneth Kehl
b12e638592 fix registration 2024-03-19 14:34:41 -07:00
Kenneth Kehl
c053cc7402 change timezone to hidden field with default for now 2024-03-19 13:30:50 -07:00
Kenneth Kehl
197ef11075 fix tests 2024-03-19 11:32:36 -07:00
Kenneth Kehl
4e6f143675 fix register from join service 2024-03-19 09:30:20 -07:00
Jonathan Bobel
05495f4d42 Updating the route 2024-03-18 13:50:23 -04:00
Kenneth Kehl
8c9721d8e2 notify-api-412 use black to enforce python coding style 2023-08-25 09:12:23 -07:00
Steven Reilly
13d0e46b52 blunt rename of org (#620) 2023-07-12 12:09:44 -04:00