Commit Graph

6035 Commits

Author SHA1 Message Date
Paul Marillonnet 7855147ac4 auth_fc: record user registration events (#64339) 2022-04-20 11:59:41 +02:00
Paul Marillonnet 86eaa87f4b views: let the 'fc-create' hook view request objects (#64281) 2022-04-19 10:19:09 +02:00
Frédéric Péters a19bb4d279 translation update 2022-04-15 21:28:49 +02:00
Paul Marillonnet c303ab6f04 ldap_backend: search mandatory roles in default ou when ambiguous (#63942) 2022-04-15 11:55:24 +02:00
Frédéric Péters ccbada28f7 translations: update to use "Modifier" and "Enregistrer" (#63910) 2022-04-13 19:17:32 +02:00
Thomas NOËL ec5cc3e346 auth_oidc: log created user only if a user is created (#63730) 2022-04-08 16:26:01 +02:00
Benjamin Dauvergne a3dd7bf98c misc: drop use of custom partial index on Role and Permission (#63690) 2022-04-07 18:44:23 +02:00
Benjamin Dauvergne c595b667e5 misc: drop use of custom partial index on AttributeValue (#63690) 2022-04-07 18:39:34 +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
Benjamin Dauvergne bd93c71aa1 tox.ini: set psycopg2 constraint in all environments 2022-04-07 17:03:10 +02:00
Serghei Mihai 8d67613335 translation update (#62930) 2022-04-07 16:57:39 +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 b6ab4b32aa translation update (#63580) 2022-04-07 08:46:52 +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
Benjamin Dauvergne 7c327d830c translation update 2022-04-06 10:49:44 +02:00
Frédéric Péters 7d142f1352 general: enclose buttons in a <div class="buttons"> (#63569) 2022-04-05 16:49:20 +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
Frédéric Péters 5e772e6b1e misc: use existing account email when sending token in registration (#63409) 2022-04-04 10:22:39 +02:00
Frédéric Péters 4d71269de6 build: allow latest xstatic-jquery dependency (#63486) 2022-04-04 10:22:39 +02:00
Paul Marillonnet a3d438d37f settings: remove profile management feature flag (#62486) 2022-04-01 10:35:55 +02:00
Thomas NOËL 2604ff9941 trivial: bump black version to 22.3.0 2022-03-31 12:12:44 +02:00
Frédéric Péters 7b141061e7 misc: use scss for all css files (#62936) 2022-03-29 10:54:16 +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 1cdbb5f860 translation update 2022-03-28 14:14:36 +02:00
Benjamin Dauvergne c004a56673 misc: implement soft-delete on RoleParenting (#57500) 2022-03-25 11:14:05 +01:00
Benjamin Dauvergne a8994cfc62 django_rbac: new update_transitive_closure algorithm (#57500) 2022-03-25 11:14:05 +01:00
Benjamin Dauvergne c7399b452c tests_rbac: add randomized tests on role parenting (#57500) 2022-03-25 11:14:05 +01:00
Benjamin Dauvergne 9477928d2a django_rbac: add missing constraints (#57500) 2022-03-25 11:14:05 +01:00
Benjamin Dauvergne bd900e081b tests_rbac: factorize get_*_model calls (#57500) 2022-03-25 11:14:05 +01:00
Benjamin Dauvergne 11cfc084a2 tests_rbac: test with postgresql (#57500) 2022-03-25 11:14:05 +01:00
Frédéric Péters a77a052c6e api: add ou__slug filter to /api/roles/ (#63104) 2022-03-25 11:00:42 +01:00
Frédéric Péters 13edb2be9a manager: limit horizontal scroll to examples in user import page (#62935) 2022-03-25 11:00:02 +01:00
Benjamin Dauvergne 43ac8dbb51 journal: make all record() arguments keyword only (#63174) 2022-03-25 10:45:15 +01:00
Benjamin Dauvergne eb8cd06d80 misc: fix pylint errors (#63174) 2022-03-25 10:45:08 +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 79ed588b58 auth_fc: allow showing messages on authorization requests (#61125) 2022-03-21 17:37:33 +01:00
Benjamin Dauvergne 9b1bbb63ac auth_fc: record authentication on link only if link already exists and was created before last_login (#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
Benjamin Dauvergne ad39637462 utils: add sign_next_url to redirect() (#61125) 2022-03-21 17:37:33 +01:00
Benjamin Dauvergne 22d22c05b3 message: keep set-cookie when showing message during redirect (#61125) 2022-03-21 17:37:33 +01:00
Frédéric Péters ccdbb9e1ea translation update 2022-03-18 12:51:35 +01:00
Paul Marillonnet 69f8e3f46c idp_oidc: fix profile suffix during sub generation (#62702) 2022-03-16 11:14:56 +01:00
Corentin Sechet 1e07b665cd translation update 2022-03-15 13:46:34 +01:00