Commit Graph

4750 Commits

Author SHA1 Message Date
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
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
Paul Marillonnet 9d85720a87 adapt registration test to template changes (#37390) 2019-10-31 18:18:20 +01:00
Paul Marillonnet c8ce9fdd0a debian: discard deprecated pycrypto dependency (#35584) 2019-10-31 14:28:37 +01:00
Paul Marillonnet 072f36779a crypto: key-derivation must have at least one iteration (#35584) 2019-10-31 14:28:37 +01:00
Paul Marillonnet 5f35895c87 crypto: ensure that aes cipher salts are bytes (#35584) 2019-10-31 14:28:37 +01:00
Paul Marillonnet 8879c1d83b delete old values when set new multiple attribute values (#32025) 2019-10-31 14:23:03 +01:00
Paul Marillonnet e3bf9767ca user: replace use of Attribe.set_value in concurrency test (#32025) 2019-10-31 14:23:03 +01:00
Paul Marillonnet ba270490d8 user: handle user.attributes getter for multiple attributes (#32025) 2019-10-31 14:23:03 +01:00
Paul Marillonnet 653e824804 user: handle user.attributes setter for multiple attributes (#32025) 2019-10-31 14:23:03 +01:00
Thomas NOËL da5e603008 templates: remove note about link validitity in registration message (#37359) 2019-10-31 09:55:28 +01:00
Frédéric Péters 5aa3bca4f8 debian: remove wheezy support (#15966) 2019-10-30 10:42:17 +01:00
Valentin Deniaud 7f63858532 update translations (#35773) 2019-10-22 11:28:54 +02:00
Valentin Deniaud f12353d81c csv_import: allow adding roles (#35773) 2019-10-21 17:35:15 +02:00
Valentin Deniaud 64157da70c csv_import: make sure has_errors is toggled (#35773) 2019-10-21 15:51:38 +02:00
Paul Marillonnet 50657e71fe translation update 2019-10-18 10:58:12 +02:00
Paul Marillonnet e448aa5d03 i18n: use proper syntax for multiple-parameter strings (#37056) 2019-10-18 10:57:56 +02:00
Paul Marillonnet 4cc45665b7 oidc authn: verify id token signature (#31862) 2019-10-17 16:13:11 +02:00
Valentin Deniaud e472246f3c csv_import: display all row errors (#36832) 2019-10-16 17:44:31 +02:00
Paul Marillonnet b0765362b9 python3: 'hex' is not an encoding anymore (#36995) 2019-10-16 17:33:54 +02:00
Paul Marillonnet 20a9676ef2 python3: basic authz header encoding in tests (#31175) 2019-10-16 15:20:38 +02:00
Frédéric Péters 1f73b6ebcd translation update 2019-10-16 11:23:36 +02:00
Thomas NOËL b65fc220a3 views: fix a bad format in a logger.info string (#36978) 2019-10-16 10:47:25 +02:00
Frédéric Péters 6438cffd29 api: allow patch/put API to empty a role (#36918) 2019-10-15 11:26:40 +02:00
Benjamin Dauvergne da9857d8b7 manager: show user deletion status (#36788) 2019-10-10 18:52:58 +02:00
Frédéric Péters 66e5bba858 debian: don't set syslog handlers for django_select2 if undefined (#36787) 2019-10-08 17:47:40 +02:00
Frédéric Péters 8a31611e93 fix typo in translation 2019-10-08 17:47:40 +02:00
Frédéric Péters dcbc62633c translation update 2019-10-08 16:46:30 +02:00
Valentin Deniaud d177f4a296 data_transfer: fail importing on empty role uuid (#31083) 2019-10-08 16:16:34 +02:00
Valentin Deniaud 9159c4d70b django_rbac: always prevent empty uuid (#31083) 2019-10-08 16:16:34 +02:00
Paul Marillonnet 5b8b62a19f set upper bound on django-import-export dependency version (#36774)
* so as to maintain the role CSV export feature
2019-10-08 14:02:22 +02:00
Benjamin Dauvergne cdc2cf567c idp_oidc: check client is not None (#36720) 2019-10-08 12:44:29 +02:00
Paul Marillonnet 9e0b32b71d api: handle wrong payload types in role memberships direct definition (#36727) 2019-10-08 10:56:18 +02:00
Paul Marillonnet 5adef18631 translation update 2019-10-04 19:01:20 +02:00
Paul Marillonnet 1cedef29c9 api: role members direct definition (#36377) 2019-10-04 18:49:06 +02:00