Commit Graph

4765 Commits

Author SHA1 Message Date
Frédéric Péters 900c8dab0f Revert "Revert "misc: remove auth2_ssl entrypoint (#35418)""
This reverts commit c8bce84a7a.
2019-08-19 17:37:17 +02:00
Frédéric Péters c8bce84a7a Revert "misc: remove auth2_ssl entrypoint (#35418)"
This reverts commit e9897ce3a2.
2019-08-19 17:05:23 +02:00
Benjamin Dauvergne 595f312b1c migrations: remove dependency on auth2_ssl (#35418) 2019-08-19 16:55:27 +02:00
Benjamin Dauvergne 40307f519c auth_saml: add more mapping actions in A2_ATTRIBUTE_MAPPING (#35302) 2019-08-19 16:49:12 +02:00
Benjamin Dauvergne 94486a726b utils: add module to evaluate condition expressions safely (#35302) 2019-08-19 16:49:12 +02:00
Benjamin Dauvergne 5cb84716c8 create authentic2.utils package (#35302) 2019-08-19 16:49:12 +02:00
Benjamin Dauvergne 0f17a56202 log_filters: get user and ip from record if present (#35302) 2019-08-19 16:49:12 +02:00
Frédéric Péters e9897ce3a2 misc: remove auth2_ssl entrypoint (#35418) 2019-08-19 16:37:25 +02:00
Frédéric Péters 983eb2084d build: limit to django-jsonfield<1.3, for Python 2 support 2019-08-18 11:39:53 +02:00
Frédéric Péters 8e4a5ef39a forms: mark fields expecting a new password (#26385) 2019-08-18 09:30:04 +02:00
Benjamin Dauvergne 5732f219c5 a2_rbac: rename role's admin role on role's rename (#34774) 2019-08-16 19:42:17 +02:00
Benjamin Dauvergne d6fbfaa0c8 a2_rbac: do not use lazy string in model name (#34774) 2019-08-16 19:42:17 +02:00
Benjamin Dauvergne 4a28edd5ae a2_rbac: remove unused symbol (#34774) 2019-08-16 19:42:17 +02:00
Benjamin Dauvergne d79de5eca4 api: prevent password change on get_or_create (#34950) 2019-08-12 11:29:34 +02:00
Paul Marillonnet e274ba1a16 auth_oidc: properly redirect to authz endpoint when logging in (#35294) 2019-08-07 16:22:33 +02:00
Benjamin Dauvergne 21257d1a55 auth_saml: implement attribute provisionning after first login (#35283)
Also fix bug in finish_create_user() where modified user was not saved.
2019-08-07 14:42:46 +02:00
Benjamin Dauvergne 0fd98047ee remember 5 last selected ous on login form (#35209) 2019-08-02 16:57:44 +02:00
Frédéric Péters ab5ee3179b translation update 2019-07-19 09:11:17 +02:00
Benjamin Dauvergne b9caa42dd4 add new switch-user tool (#34308) 2019-07-16 12:24:42 +02:00
Benjamin Dauvergne 6b39c1c9a0 remove switch_back view (#34308) 2019-07-16 12:24:42 +02:00
Benjamin Dauvergne 6f0b83fad1 manager: use l10n for state name of import (#34750) 2019-07-16 11:48:53 +02:00
Benjamin Dauvergne 6fa10186d2 manager: csv import, translation row action (#34748) 2019-07-16 11:13:37 +02:00
Benjamin Dauvergne 0bcd0a8b3f manager: use change_user permission for "me" view (#15264) 2019-07-16 11:05:15 +02:00
Frédéric Péters ca239e9928 a11y: don't hide focus ring on focused franceconnect button (#34815) 2019-07-15 15:34:03 +02:00
Frédéric Péters a62b4355c6 templates: use gadjo to render account edit form (#26546) 2019-07-12 15:05:48 +02:00
Frédéric Péters b77bf5d35b manager: add opacity transition when refresh is in progress (#8543) 2019-07-12 15:05:39 +02:00
Frédéric Péters 8aaa47826c saml: do not propose normal users to add a service provider (#5836) 2019-07-12 15:05:39 +02:00
Benjamin Dauvergne 1b5e53a2c7 manager: add a me/ view (#15264)
This view redirects to the user's manager view if possible or to
/accounts/.
2019-07-12 14:51:16 +02:00
Benjamin Dauvergne 14d0a34325 tests: add tests to check for role's admin role cleanup (#34774) 2019-07-12 09:32:15 +02:00
Frédéric Péters 01880fdd9c fix mispelling in translation 2019-07-11 08:32:51 +02:00
Benjamin Dauvergne 3bb74a68e8 tests: fix test on role creation (#34704) 2019-07-09 20:14:05 +02:00
Benjamin Dauvergne f7e5f2a700 api: adapt validation to get/update_or_create (#34619) 2019-07-08 17:45:53 +02:00
Benjamin Dauvergne b9962e721a update translations (#34570) 2019-07-08 13:08:27 +02:00
Frédéric Péters cb42e494db manager: mark csv import example strings for translation (#34569) 2019-07-06 16:59:55 +02:00
Frédéric Péters 5b324d5222 manager: add margin to csv import help section (#34567) 2019-07-06 16:59:55 +02:00
Benjamin Dauvergne 26be52b49f whitelist send_registration_email_next_url using HMAC signature (#34115) 2019-07-04 17:17:05 +02:00
Benjamin Dauvergne 7e3faddbb1 misc: move account related messages into templates (#21017) 2019-07-04 15:40:01 +02:00
Benjamin Dauvergne 7be25fff69 views: validates logout next URL (#33087) 2019-07-04 13:10:15 +02:00
Benjamin Dauvergne 1c6fd8886a a2_rbac: add partial unique index on Role's name (#33944) 2019-07-04 13:09:43 +02:00
Benjamin Dauvergne df6cebea45 manager: always check role's name uniqueness (#33944) 2019-07-04 13:09:43 +02:00
Benjamin Dauvergne adc021e03a idp_oidc: add more freedom for matching redirect_uri (#33516) 2019-07-04 13:09:07 +02:00
Benjamin Dauvergne bc18f5fef4 idp_oidc: use \n as separator between redirect_uri (#33516) 2019-07-04 13:09:07 +02:00
Benjamin Dauvergne 00aae04963 auth_fc: force acr_values to eidas1 (#34448) 2019-07-03 19:56:25 +02:00
Benjamin Dauvergne ef31bcfb4b manager: add help on users imports (#34238) 2019-07-03 18:46:15 +02:00
Paul Marillonnet 8d68c32646 tests: don't send http post json payload on role membership creation (#33443) 2019-07-02 23:35:53 +02:00
Benjamin Dauvergne 97e2aa19d6 views: validates EditProfile next_url (#33084) 2019-07-02 21:28:37 +02:00
Benjamin Dauvergne 904b58699b manager: wrap csv import in provisionning context manager (#34458) 2019-07-02 15:21:49 +02:00
Frédéric Péters a4339f1c41 jenkins: add support for hotfix releases (#34485) 2019-07-02 14:22:26 +02:00
Benjamin Dauvergne 27702e72c7 add request as first argument to all backends (#33992) 2019-07-02 12:49:28 +02:00
Benjamin Dauvergne 8bb83c01e7 remove auth2_ssl (#33992) 2019-07-02 12:49:28 +02:00