Commit Graph

4837 Commits

Author SHA1 Message Date
Paul Marillonnet 26ebbb2f9c utils: verify next_url without encoding it 2020-02-06 10:49:43 +01:00
Paul Marillonnet 45ef1177b7 python3: encode oidc authn test claims (#32452) 2020-02-06 10:37:30 +01:00
Paul Marillonnet 1f19c39df9 python3: ascii-decode user credentials for register API testing (#32451) 2020-02-06 10:34:30 +01:00
Paul Marillonnet 1bbe769778 python3: enforce text type on django's HttpResponse.content (#32450) 2020-02-06 10:30:36 +01:00
Paul Marillonnet f63bd36159 python3: reduce needs proper six import (#32449) 2020-02-06 10:24:28 +01:00
Paul Marillonnet ac65fa8c4f python3: explicit file opening mode (#32448) 2020-02-06 10:21:58 +01:00
Paul Marillonnet 89f1a4fd76 idp_oidc: py3-compliant authn header encoding in tests (#32446) 2020-02-06 10:18:43 +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 82532d5bd2 tests: disable kerberos plugin that coud be parallel-installed (#39393) 2020-01-29 16:08:19 +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
Frédéric Péters 3b2da052ad misc: limit django-model-utils version to a version supporting django 1.11 2019-12-11 16:19:38 +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
Benjamin Dauvergne f28ad239aa Jenkinsfile: use mergeJunitResults() (#38297) 2019-12-09 11:39:49 +01:00
Paul Marillonnet afe09ee7b3 jenkins: don't assume presence of optional data in test results (#38266) 2019-12-06 17:06:47 +01:00
Benjamin Dauvergne 211262eb78 tox.ini: use pytest's junit legacy format 2019-12-06 15:45:39 +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 2cc2cf4200 tests: drop partial sqlite support 2019-11-21 17:02:06 +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