Commit Graph

4216 Commits

Author SHA1 Message Date
Frédéric Péters e71b65b0cc manager: don't expose ods export as it's too slow (#26450) 2018-10-30 10:23:11 +01:00
Frédéric Péters b45882171e tests: adjust performance test to pass on new jenkins host (#27661) 2018-10-30 09:49:51 +01:00
Serghei Mihai d90e060069 ldap: add external_id's case-insensitive comparison (#27147) 2018-10-26 13:26:12 +02:00
Benjamin Dauvergne ff10b27cb0 auth_oidc: keep previous value when building authorization_claims (bis) (#26565) 2018-10-23 15:44:27 +02:00
Benjamin Dauvergne fd5a150c7e auth_oidc: keep previous value when building authorization_claims (#26565) 2018-10-23 10:50:17 +02:00
Frédéric Péters 103b58c6bb auth_oidc: adjust new migration number (#26565) 2018-10-23 08:50:32 +02:00
Benjamin Dauvergne 68f87021c2 auth_oidc: add support for "claims" parameter (fixes #26565)
It allows A2 to signal to OIDC OP that some claims are required,
see :

  https://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter
2018-10-22 12:11:48 +02:00
Frédéric Péters cc8ec18ea4 misc: don't display password reset view when disabled (#27318) 2018-10-14 20:16:00 +02:00
Frédéric Péters 3f409f099f debian: bump required jwcrypto version for multitenant package (#26324) 2018-10-09 10:02:10 +02:00
Frédéric Péters 2b5627efb8 jenkins: update job name to authentic (#27121) 2018-10-09 09:54:41 +02:00
Frédéric Péters 18034b8654 translation update 2018-10-03 14:43:22 +02:00
Benjamin Dauvergne 75e9bcac9a enforce birthdate > 1900 through UI and API (fixes @26867) 2018-10-02 19:37:51 +02:00
Paul Marillonnet 3e339bf8f4 a2_idp_oidc: fix code model repr special method (#26196) 2018-10-02 13:30:05 +02:00
Frédéric Péters f70ebc07d1 auth oidc: add slug to provider model (#26813) 2018-09-28 11:40:53 +02:00
Frédéric Péters 90cc7cfe89 correctly translate "name" (#26812) 2018-09-28 11:40:53 +02:00
Frédéric Péters e6d1fafa0d misc: bump djangorestframework requirement to <3.5 (#26405) 2018-09-26 17:42:13 +02:00
Frédéric Péters 649ca7e31f debian: allow installation with newer django 2018-09-26 16:43:06 +02:00
Frédéric Péters 6bcc96cbcd misc: increase allowed length of name attributes (#26698) 2018-09-25 16:08:36 +02:00
Frédéric Péters 7d2c18eb54 tox: limit Markdown version 2018-09-23 09:01:38 +02:00
Frédéric Péters 307ddfec2c translation update 2018-09-18 11:36:02 +02:00
Frédéric Péters 1a4fe29a44 manager: adjust modify button on user page to mention roles (#20539) 2018-09-18 11:36:02 +02:00
Frédéric Péters a791690681 translations: adjust OU deletion confirmation message (#20533) 2018-09-18 10:41:07 +02:00
Christophe Siraut 2fe04cf834 rename folder debian-jessie to debian (#26038) 2018-09-17 14:44:06 +02:00
Christophe Siraut e5a90b14bc adapt jenkins with new eobuilder behavior (#26019) 2018-09-06 16:51:06 +02:00
Benjamin Dauvergne e1d73640b9 api: fix case of boolean user's attributs (fixes #26113)
As NullBooleanField does not support the allow_null init attribute, we
must special case it and remember to never use BooleanField.
2018-09-06 11:31:41 +02:00
Benjamin Dauvergne da31b8a52d update french translation for remember me feature (fixes #26144) 2018-09-05 17:39:03 +02:00
Benjamin Dauvergne dffc87ae12 allow custom authentication method in registration view (fixes #25623) 2018-09-03 23:47:46 +02:00
Frédéric Péters 4ebe9d84cb saml: don't crash on empty multi select field (#25965) 2018-08-31 09:37:31 +02:00
Frédéric Péters ae47fb92e6 manager: style "send reset password email" checkbox like others (#25668) 2018-08-30 10:38:33 +02:00
Frédéric Péters 4dafd56b1d manager: make sure floating fields are cleared in new user page (#25662) 2018-08-30 10:38:33 +02:00
Frédéric Péters 3b88db2cfc manager: update appbar actions to new markup (#25960) 2018-08-30 10:38:33 +02:00
Frédéric Péters 8000a00cb9 manager: add media files to site import view (#25959) 2018-08-30 10:38:33 +02:00
Frédéric Péters fc25bf6024 manager: force sending email for new users with a generated password (#25664) 2018-08-30 10:38:33 +02:00
Thomas NOËL 91120af8a1 more polite french error message (#25744) 2018-08-21 17:10:18 +02:00
Frédéric Péters c9eadd3e3f translation: fix typo in "couriel" 2018-08-21 15:08:27 +02:00
Frédéric Péters 7aa50338c8 misc: pass request when rendering email subject and text/plain part (#25683) 2018-08-16 15:43:28 +02:00
Frédéric Péters dac6d3b080 manager: use full page to edit roles (#25675) 2018-08-16 15:00:44 +02:00
Josue Kouka d4d4aa65c5 idp oidc: set user identifier as preferred username claim (#23900) 2018-08-16 09:41:02 +02:00
Emmanuel Cazenave 2c20837940 django 1.11: keep an inactive user authenticated (#25567) (#21489) 2018-08-12 20:11:31 +02:00
Emmanuel Cazenave 0de3c58209 django 1.11: avoid premature username creation (#25468) (#21489) 2018-08-12 20:11:31 +02:00
Emmanuel Cazenave db9b9028b1 django 1.11: ensure compatibility with recent django-tables2 (#21489)
django-tables2 1.1 is not compatbible with django 1.11
In recent version of django-tables2 'row' is not available in
the context of TemplateColumn, so we use direclty 'record'
(instead of 'row.record').
2018-08-12 20:11:31 +02:00
Emmanuel Cazenave e696f983b2 django 1.11: handle form creation through get_context_data (#21489)
In django 1.11 form initialisation might not happen until
get_context_data is called, so we can't expect self.ou
to be populated until then.

https://code.djangoproject.com/ticket/24643
2018-08-12 20:11:31 +02:00
Emmanuel Cazenave 716c9e29a7 django 1.11: adapt PickledObjectField lookups (#21489)
https://docs.djangoproject.com/en/2.0/releases/1.10/#field-get-prep-lookup-and-field-get-db-prep-lookup-methods-are-removed
2018-08-12 20:11:31 +02:00
Emmanuel Cazenave a3943e55d7 django 1.11: adapt PickerWidgetMixin (#21489)
https://code.djangoproject.com/ticket/15667
django commit: b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
2018-08-12 20:11:31 +02:00
Emmanuel Cazenave d537656aca django 1.11: delete ambiguous arguments in authenticate (#21489)
django 1.11 can call LDAPBackendPasswordLost.authenticate
with a request argument instead of a user
due to introspection.

https://code.djangoproject.com/ticket/28207
2018-08-12 20:11:31 +02:00
Emmanuel Cazenave 54eb9e5dd2 django 1.11: update redirect location checks (#21489)
https://code.djangoproject.com/ticket/23960
2018-08-12 20:11:31 +02:00
Emmanuel Cazenave 89b7740e04 django 1.11: update ALLOWED_HOSTS in test settings (#21489) 2018-08-12 20:11:31 +02:00
Emmanuel Cazenave 836695facc django 1.11: fix some imports (#21489) 2018-08-12 20:11:31 +02:00
Emmanuel Cazenave f1668b2bfb django 1.11: adapt migration and model (#21489) 2018-08-12 20:11:31 +02:00
Emmanuel Cazenave c6e2632fbc django 1.11: adapt tox.ini and setup.py (#21489) 2018-08-12 20:11:31 +02:00