Commit graph

3523 commits

Author SHA1 Message Date
Rachid Mrad
9c8ed1682b
linter 2023-12-13 15:41:18 -05:00
Rachid Mrad
4adeb6722b
Revisions and clean up based on PR comments 2023-12-13 15:13:04 -05:00
Rachid Mrad
ed5d4fc4c3
cleanup 2023-12-12 21:28:14 -05:00
Rachid Mrad
3bd9a2fbaa
lint 2023-12-12 21:25:36 -05:00
Rachid Mrad
600f326be2
Make username in dummy_user unique and comment out parts in test_alphabetically_sorted_fk_fields_domain_application and test_alphabetically_sorted_fk_fields_domain_information that now fail after that edit 2023-12-12 21:13:42 -05:00
Rachid Mrad
9b90172cd3
lint 2023-12-12 20:26:46 -05:00
Rachid Mrad
7c5eb79f0a
cleanup 2023-12-12 19:31:36 -05:00
Rachid Mrad
18e215dd08
Logger cleanup 2023-12-12 19:31:09 -05:00
Rachid Mrad
2f47272fff
Logger cleanup 2023-12-12 19:28:38 -05:00
Rachid Mrad
5254b7cda8
Logger cleanup 2023-12-12 19:27:45 -05:00
Rachid Mrad
8b6ce47da1
Changed the logic and test around users who have either a first or a last: Left them alone instead of overwriting from contact 2023-12-12 18:52:12 -05:00
Rachid Mrad
e7e3df0422
Lint 2023-12-12 18:28:25 -05:00
Rachid Mrad
8febad976d
WIP on script unit test 2023-12-12 17:26:31 -05:00
Rachid Mrad
319d980e98
Clean up logs in the copy script, track eligible, processed and skipped 2023-12-12 16:03:11 -05:00
Rachid Mrad
b7da6e58f3
WIP script to copy first and last from contacts into users 2023-12-11 23:25:42 -05:00
Rachid Mrad
48f69c8966
Unit tests to asert that updating a contact's first and last names (but not an email) propagate to the linked user 2023-12-11 21:29:38 -05:00
David Kennedy
abae70b96e
added unit test for conflicting first and last names 2023-12-11 20:49:33 -05:00
David Kennedy
e7c26d9dc6
wrote test cases for testing backends.py authenticate 2023-12-11 20:03:00 -05:00
David Kennedy
ae811d16a9
Contact saves update the corresponding user's first and last names 2023-12-11 19:15:08 -05:00
David Kennedy
e4803d6afd
refactored authenticate for readability 2023-12-11 19:08:34 -05:00
David Kennedy
fd19726a30
updated logic in oidc backend authenticate to not override with blank first_name/last_name 2023-12-11 19:03:10 -05:00
Rachid Mrad
270e910520
Bring in latest updates to comments from source PR branch 2023-12-11 17:22:51 -05:00
Rachid Mrad
e25dad495e
Intercept userinfo from login.gov and append given_name and family_name if user requires ial1 and exists in DB 2023-12-11 17:20:47 -05:00
David Kennedy
f7fdecfd33
updated comments to reflect tests; made logic more readable in needs_identity_verification 2023-12-08 17:32:25 -05:00
David Kennedy
0ed0cb6c37
all hail the linter 2023-12-08 11:30:15 -05:00
David Kennedy
294da6a1e2
fixed test oidc to work locally and PASS in pipeline 2023-12-08 11:26:33 -05:00
David Kennedy
a6ae9ad74e
fixed tests for djangooidc 2023-12-08 11:05:07 -05:00
David Kennedy
3bbfd5cd88
fixed test in pipeline 2023-12-08 10:43:56 -05:00
David Kennedy
5be972e068
testing test failure in pipeline 2023-12-08 10:13:38 -05:00
David Kennedy
02f5c81a58
debugging to figure out why test working in local, but not in pipeline 2023-12-08 09:30:15 -05:00
David Kennedy
bff48b9647
merge main 2023-12-07 17:27:25 -05:00
Rachid Mrad
1001454a85
More oidc tests test_login_callback_requires_step_up_auth and test_login_callback_no_step_up_auth, lint 2023-12-07 16:33:35 -05:00
dave-kennedy-ecs
73994fed96
Merge pull request #1439 from cisagov/dk/763-two-dots-availability
Issue #763 - Subdomain request checking and error presentation
2023-12-07 16:16:26 -05:00
Rachid Mrad
1a2b16a3da
WIP on more oidc testing 2023-12-07 14:46:21 -05:00
David Kennedy
1e4dc028c3
Merge branch 'main' into dk/763-two-dots-availability 2023-12-07 12:40:15 -05:00
zandercymatics
a2795eb71d
Merge pull request #1455 from cisagov/za/1248-generate-email-documentation
Ticket #1248: Email Documentation
2023-12-07 10:19:19 -07:00
Neil MartinsenBurrell
6b9c8d7f6d
Merge pull request #1441 from cisagov/nmb/1433-two-tier-login
Switch to allowing non-identity-verified logins
2023-12-07 10:28:22 -06:00
zandercymatics
7ff1b1575c
Merge pull request #1452 from cisagov/za/1446-add-domaininfo-auditlog
Ticket #1466: Add DomainInformation to audit log
2023-12-07 08:47:38 -07:00
zandercymatics
d7ff26fe0d
Update generating-emails-guide.md 2023-12-07 08:39:49 -07:00
zandercymatics
bc559fe18e
Add docs 2023-12-07 08:36:02 -07:00
Rachid Mrad
ecb30fd73e
Unit tests for the requires_step_up_auth logic in login_callback 2023-12-07 01:27:27 -05:00
Rachid Mrad
bb19da9008
Unit tests for needs_identity_verification 2023-12-06 22:59:56 -05:00
Rachid Mrad
ef9a542dda
Clean up loggers 2023-12-06 19:53:15 -05:00
Rachid Mrad
67d20a6296
Move the test for requires_step_up_auth up above the user authentication in login_callback, imlement needs_identity_verification in user model 2023-12-06 18:16:50 -05:00
zandercymatics
128c601145
Add domaininformation to audit log 2023-12-06 15:11:40 -07:00
Rebecca H
dbca43bcbf
Merge pull request #1436 from cisagov/rh/1196-back-to-manage-domains
Ticket #1196: .gov registrar naming + move Back to Manage Domains places
2023-12-06 14:05:27 -08:00
zandercymatics
98e2e9b9ca
Merge pull request #1449 from cisagov/za/fix-migrations-hotfix
(Hotfix) Fix migration conflict
2023-12-06 14:58:52 -07:00
zandercymatics
2caeb512a0
Fix migration conflict 2023-12-06 14:42:00 -07:00
CuriousX
b1e4575346
Merge pull request #1424 from cisagov/nl/1008-fed-agency-state-dropdowns
Issue #1008 - Federal Agency and State dropdowns
2023-12-06 14:05:32 -07:00
David Kennedy
f6a288f511
set up step_up_auth using stubbed out User.needs_identity_verification 2023-12-06 15:49:21 -05:00