Benjamin Dauvergne
02f0952f9c
misc: delete unused safe_get_or_create ( #64485 )
...
Introduced in #60658 it used a global lock on model's table to prevent
multiple access, using the Lock model is simpler and more efficient.
2022-05-13 12:33:34 +02:00
Benjamin Dauvergne
e555ca5a0a
misc: add lock model ( #64485 )
2022-05-13 12:33:34 +02:00
Paul Marillonnet
43fe2fc307
tests: handle varying displayed role fields row order ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
b0132b0a15
tests/auth_fc: unset local no_proxy env variable ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
8635dec7fa
tests: disregard apostrophe char variations between dj versions ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
7cedc98567
django3: try to read signed cookie content in tests ( #64305 )
2022-05-13 09:49:23 +02:00
Paul Marillonnet
503a983320
api: test drf tz awareness errors in serializer datetimefield filters ( #64305 )
2022-05-13 09:49:23 +02:00
Serghei Mihai
0a79c4ded1
idp_oidc: display service info on authorization page ( #64672 )
2022-05-09 16:09:11 +02:00
Benjamin Dauvergne
7de36f8910
manager: set login_hint=backoffice on login ( #64949 )
2022-05-06 17:32:51 +02:00
Paul Marillonnet
0aecc5c620
tests: fix test pwdGraceAuthnLimit test value according to testcase ( #64247 )
2022-05-05 18:46:24 +02:00
Paul Marillonnet
84d2c76a70
tests: do not fail on absent schema in newer openldap versions ( #64247 )
2022-05-05 18:46:24 +02:00
Benjamin Dauvergne
c1b80a6408
api: fix aggregation by service in statistics ( #64853 )
...
Reference to service can be any kind of model deriving from Service, and
grouping by the array column reference_ids cannot work as the column
could contain other references than to the service.
2022-05-04 19:17:05 +02:00
Benjamin Dauvergne
0cfd6ba7b5
forms: fail cleanly if LDAP user cannot be retrieved ( #62866 )
2022-04-29 12:16:43 +02:00
Benjamin Dauvergne
0148257950
forms: show error if all accounts for reset have no email ( #62866 )
2022-04-29 12:16:43 +02:00
Serghei Mihai
28b2278aae
misc: show service name only if it's OIDC service ( #64467 )
2022-04-25 11:27:16 +02:00
Benjamin Dauvergne
2bd568f6e8
ldap: use guid attributes as global external id ( #63646 )
2022-04-22 15:53:53 +02:00
Benjamin Dauvergne
39fb242e44
journal: log user deletion for inactivity ( #63470 )
2022-04-22 14:43:05 +02:00
Benjamin Dauvergne
93c25750d2
journal: log sending inactivity reminder email ( #63470 )
2022-04-22 14:43:05 +02:00
Serghei Mihai
dc2bc462fc
tests: fix selectors after service fragment template styles rename ( #64438 )
2022-04-22 11:51:59 +02:00
Benjamin Dauvergne
84cf3adbdb
urls: move public view into their own prefix ( #12932 )
2022-04-22 09:51:10 +02:00
Benjamin Dauvergne
30b90b8ced
manager: remove possibility of rel=popup on table rows ( #59991 )
2022-04-21 18:51:00 +02:00
Paul Marillonnet
7855147ac4
auth_fc: record user registration events ( #64339 )
2022-04-20 11:59:41 +02:00
Paul Marillonnet
c303ab6f04
ldap_backend: search mandatory roles in default ou when ambiguous ( #63942 )
2022-04-15 11:55:24 +02:00
Benjamin Dauvergne
388c508ed4
api: fix non determinism in statistics API tests ( #63690 )
...
Ordering of services and OUs in options lists was not stable.
2022-04-07 18:39:33 +02:00
Benjamin Dauvergne
646a9fd508
misc: drop use of custom partial index on Service ( #63690 )
...
Many tests had to be modified as many Service where used without an OU
defined.
2022-04-07 18:39:29 +02:00
Serghei Mihai
968f4fae4f
auth_saml: update error message on user creation failure ( #62930 )
2022-04-07 16:50:42 +02:00
Benjamin Dauvergne
a171dd85e9
ldap: fix sync_ldap_users tests ( #63580 )
2022-04-07 08:42:58 +02:00
Benjamin Dauvergne
78e98c7a7a
ldap: fail cleanly when an external_id cannot be made ( #63580 )
2022-04-07 08:42:58 +02:00
Benjamin Dauvergne
3015230fee
ldap: add lookup through email ( #62270 )
2022-04-06 19:53:39 +02:00
Serghei Mihai
3a10736b32
display service logo and name on login and registration pages ( #47406 )
2022-04-05 11:49:24 +02:00
Serghei Mihai
10366ac244
misc: add logo and text color for service and OU ( #47406 )
2022-04-05 11:49:14 +02:00
Paul Marillonnet
a3d438d37f
settings: remove profile management feature flag ( #62486 )
2022-04-01 10:35:55 +02:00
Paul Marillonnet
be7d250b87
idp_oidc: add a profile reference in modify_user_info hook ( #63164 )
2022-03-28 19:56:05 +02:00
Paul Marillonnet
9e3ebc339f
api: manage profile email through dedicated endpoint ( #62522 )
2022-03-28 16:37:49 +02:00
Paul Marillonnet
d63f4ab4c6
idp_oidc: disable profile sub substitution switch ( #62488 )
2022-03-28 15:21:42 +02:00
Frédéric Péters
a77a052c6e
api: add ou__slug filter to /api/roles/ ( #63104 )
2022-03-25 11:00:42 +01:00
Benjamin Dauvergne
43ac8dbb51
journal: make all record() arguments keyword only ( #63174 )
2022-03-25 10:45:15 +01:00
Paul Marillonnet
60ed7f12f8
idp_oidc: restore permissive no-authz mode in client configuration ( #63085 )
2022-03-23 10:46:38 +01:00
Benjamin Dauvergne
4c97a61190
views: support any kind of authentication for email change ( #61125 )
2022-03-21 17:37:33 +01:00
Benjamin Dauvergne
5744a960bf
auth_fc: make autorun go directly to FranceConnect URL ( #61125 )
2022-03-21 17:37:33 +01:00
Paul Marillonnet
69f8e3f46c
idp_oidc: fix profile suffix during sub generation ( #62702 )
2022-03-16 11:14:56 +01:00
Corentin Sechet
964287ec3e
csv_import: add force-password-reset column ( #62252 )
2022-03-15 13:39:36 +01:00
Corentin Sechet
d8c76ddf94
journal: make search by email accept email substring ( #62304 )
2022-03-15 13:34:10 +01:00
Paul Marillonnet
d423c6c7c7
misc: add compatibility with bullseye's django-tables2 ( #62527 )
2022-03-14 17:31:00 +01:00
Benjamin Dauvergne
f67f425e6b
tests: add tests on stability of OIDC sub generation
2022-03-11 17:48:35 +01:00
Paul Marillonnet
640db24c62
idp_oidc: fix reversible profile sub generation ( #62509 )
2022-03-08 09:07:03 +01:00
Paul Marillonnet
ed6cefa270
api: add identifier management to user profile endpoint ( #58556 )
2022-03-04 13:43:42 +01:00
Paul Marillonnet
a5cf47ecfb
idp_oidc: make user info depend on profile choice during authz ( #58556 )
2022-03-04 13:43:42 +01:00
Paul Marillonnet
6049dc74dc
define allowed services m2m for user profile types ( #60082 )
2022-03-04 11:52:30 +01:00
Benjamin Dauvergne
94b2e25d59
tests: fix pylint warning
2022-03-04 11:18:57 +01:00