Commit Graph

2074 Commits

Author SHA1 Message Date
Frédéric Péters ddba660c38 translation update 2020-02-07 08:50:49 +01:00
Paul Marillonnet 8820acd1a0 python3: base64-url-encoding returns bytes (#31171) 2020-02-06 11:35:45 +01:00
Paul Marillonnet 98425ac1ba python3: handle AES padding variations (#31171) 2020-02-06 11:35:35 +01:00
Paul Marillonnet 185e59fdbe python3: struct-unpack C strings into Python bytes (#31171) 2020-02-06 11:35:30 +01:00
Paul Marillonnet c1c8ca9182 python3: struct-packed C strings are Python bytes (#31171) 2020-02-06 11:35:24 +01:00
Paul Marillonnet a78d517a24 python3: deprecate django.utils.encoding.smart_unicode (#31155) 2020-02-06 10:54:54 +01:00
Paul Marillonnet 1244090c66 adjust site title variable in manager base template (#31155) 2020-02-06 10:54:40 +01:00
Paul Marillonnet 26ebbb2f9c utils: verify next_url without encoding it 2020-02-06 10:49:43 +01:00
Paul Marillonnet f63bd36159 python3: reduce needs proper six import (#32449) 2020-02-06 10:24:28 +01:00
Paul Marillonnet 9c9db933f6 python3: define a base64 decoding exception (#31180) 2020-02-06 10:15:45 +01:00
Frédéric Péters a545653a0d translation fix 2020-02-05 19:06:39 +01:00
Paul Marillonnet 2c3d0e5898 idp_oidc: add ou selection on ropc grant (#39383) 2020-02-03 15:48:33 +01:00
Valentin Deniaud 9295358f10 manager: remove unused widgets (#39380) 2020-02-03 10:07:23 +01:00
Valentin Deniaud 86fe3b2958 manager: replace invalid widget split term operator (#39380) 2020-02-03 10:07:23 +01:00
Benjamin Dauvergne 64abfdca0c auth2_fc: set novalidate on unlink cancel button (#39445) 2020-01-31 12:09:09 +01:00
Lauréline Guérin f03e3aae66
ldap: do not fail if Role.MultipleObjectsReturned is raised (#39274) 2020-01-30 11:16:41 +01:00
Frédéric Péters 81c09b3309 ldap: update description of keep_password/clean_external_id_on_update (#39389) 2020-01-29 16:03:01 +01:00
Paul Marillonnet b94ce13a1f translation update 2020-01-27 18:21:02 +01:00
Paul Marillonnet d6c8741fcf idp_oidc: fix typo in authz view warning msg, introduced in #35205 2020-01-27 18:12:10 +01:00
Benjamin Dauvergne 27f4e2b13e auth2_fc: set default scopes to profile and email (#39231)
And move default value to app_settings file. Support for FC data
provider had to be modified.
2020-01-27 17:58:31 +01:00
Benjamin Dauvergne fdc8098e5f auth_oidc: custom login template (#39260) 2020-01-27 14:26:26 +01:00
Paul Marillonnet dda27fe488 idp_oidc: support oauth2 resource owner password credential grant (#35205) 2020-01-24 14:38:42 +01:00
Serghei Mihai ba597c14d5 auth_saml: allow custom template for each idp login block (#39154) 2020-01-22 11:00:18 +01:00
Valentin Deniaud 8f15b83906 translation update 2020-01-15 17:06:53 +01:00
Valentin Deniaud abed3fa8cc views: better display password reset instructions (#38054) 2020-01-15 16:36:05 +01:00
Frédéric Péters 8e4831c64e translation update 2020-01-13 18:10:16 +01:00
Frédéric Péters c3d61e3363 manager: keep gadjo style for widgets in dialogs (#38904) 2020-01-13 18:07:39 +01:00
Benjamin Dauvergne c561651d4f auth2_fc: display an error message on misc error code (#38748)
An error message is displayed after receiving an error code from FC
different from access_denied. The same error code is logged at level
ERROR instead of DEBUG.
2020-01-03 11:55:32 +01:00
Frédéric Péters 811f473490 translation update 2019-12-30 14:46:17 +01:00
Serghei Mihai a2c3bc9cce auth_saml: separate idps blocks on login page (#38248) 2019-12-19 15:39:48 +01:00
Thomas NOËL 1928ac658d translation update 2019-12-11 15:06:30 +01:00
Thomas NOËL ad3f27ef3c registration: show only email address in post-registration message (#37923) 2019-12-11 14:41:59 +01:00
Thomas NOËL f17dad5213 registration: simplify post-registration message (#38053) 2019-12-11 13:51:07 +01:00
Frédéric Péters 1b7803e4f2 templates: add django blocks around login/registration templates (#38262) 2019-12-06 14:52:33 +01:00
Benjamin Dauvergne 94f4ec8c7d authenticators: add easy accesible OU based on service's ACL (#36783)
It replaces changes from #35213. OU are added after OU remembered
through cookies; they are ordered based on their user subset's count
(how many of their users can access the targeted service).
2019-12-05 12:30:09 +01:00
Frédéric Péters 1a2cdb39af translation update 2019-12-04 17:19:36 +01:00
Serghei Mihai 7005cdc33d misc: refactor login url build for OIDC providers (#38125) 2019-12-02 14:32:42 +01:00
Frédéric Péters e6d046710e auth_fc: add css class to links block (#38086) 2019-11-29 15:07:58 +01:00
Serghei Mihai 216323c7ad auth: separate OIDC providers in blocks on login page (#31259) 2019-11-29 10:06:52 +01:00
Thomas NOËL 0fc5a97113 crypto: use pycrytodomex, replace Crypto with Cryptodome (#38017)
mainly because Debian python-cryptodome package use pycrytodomex, which
is a library independent of the old PyCrypto, available under the
Cryptodome name.
2019-11-28 14:25:33 +01:00
Benjamin Dauvergne 84b8f31ae1 csv_import: use flag default value (#37900)
Attribute instance can be unpickled and miss attributes added after the
creation of the pickle.
2019-11-25 10:00:04 +01:00
Frédéric Péters f713d64735 translation fix 2019-11-22 10:00:22 +01:00
Paul Marillonnet 6d064a2c22 auth_oidc: drop now-redundant django-jsonfield dependency 2019-11-21 17:02:06 +01:00
Paul Marillonnet cef04caf83 Revert "add compatibility layer for support of Django native JSONField (fixes #29193)"
This reverts commit d730dba525.
2019-11-21 17:02:06 +01:00
Valentin Deniaud 722cc79383 translation update 2019-11-21 15:06:36 +01:00
Valentin Deniaud fba5f1217c manager: clearer error message on invalid csv import file (#37374) 2019-11-21 10:20:34 +01:00
Valentin Deniaud 2936f25623 csv_import: display error message on bad encoding (#37374) 2019-11-21 10:20:21 +01:00
Valentin Deniaud 55ec200c40 saml: ensure LibertyProvider.metadata is always unicode 2019-11-14 14:17:12 +01:00
Benjamin Dauvergne 3d3df4e858 models: lock user model when changing multiple attribute values (#37390) 2019-11-12 11:32:31 +01:00
Benjamin Dauvergne 173f63f647 api: work around ambiguous time error on DST change (#37238) 2019-11-12 11:06:32 +01:00