Commit Graph

4041 Commits

Author SHA1 Message Date
Christophe Siraut 7319bcd042 drop debian-wheezy folder; move debian-jessie to debian
gitea/authentic/pipeline/head Build started... Details
2018-09-03 14:22:23 +02:00
Christophe Siraut 02ba5d60fe adapt jenkins with new eobuilder behavior (#26019) 2018-09-03 10:11:20 +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
Frédéric Péters 06c13938ac manager: add paginate_by attribute required by django-tables2 < 1.2.1 (#25622) 2018-08-10 17:27:29 +02:00
Frédéric Péters 620d514cea api: expose boolean user attributes as booleans (#25632) 2018-08-10 17:27:29 +02:00
Benjamin Dauvergne 031db4a72d add jquery to password widgets medias (#24439) 2018-08-06 11:49:54 +02:00
Benjamin Dauvergne 99a7b14bf0 add a remember me button (fixes #25579)
It simply use session.set_expiry() to augment the session duration.
2018-08-03 18:52:22 +02:00
Benjamin Dauvergne 7cdda30e99 fix warning in test_clean_unused_account 2018-08-03 18:52:22 +02:00
Benjamin Dauvergne 6c3740b75d return to manager after logout (fixes #25581) 2018-08-03 17:50:21 +02:00
Benjamin Dauvergne 7487686d7c use new password widget for password change (fixes #25045) 2018-08-03 14:30:48 +02:00
Benjamin Dauvergne 6c1def8a88 use new password widget in manager (#25045) 2018-08-03 14:30:48 +02:00
Benjamin Dauvergne 1f6791710e use new password widget in login form (#25045)
This commit also modify AuthenticationForm to remove explicit loading of
authentic2/js/js_seconds_until.html from login_password.html.
2018-08-03 14:30:48 +02:00
Benjamin Dauvergne c80f93c402 prevent double loading of jQuery (#25045)
Popup dialog were broken by double loading of jQuery by gadjo/root.html
template. We override the gadjo-js block to empty it and we add the
javascript file expected by gadjo in the views default medias.
2018-08-03 14:30:48 +02:00
Emmanuel Cazenave d87d00355a translation update 2018-08-03 13:12:01 +02:00
Emmanuel Cazenave 135b81c6fc use explicit in lookup (#25557) 2018-08-02 17:56:51 +02:00
Emmanuel Cazenave 38e2d61e07 use a python2 compatible pylint-django (#25568) 2018-08-02 17:55:50 +02:00
Emmanuel Cazenave 64766b7016 don't use context_instance in rendering functions (#25346) 2018-08-02 13:38:21 +02:00
Emmanuel Cazenave cecdc9adfd delete addtoblock and renderblock tags (#25361) 2018-08-02 13:35:08 +02:00
Emmanuel Cazenave ddcabf6372 delete superfluous template tag call (#25518) 2018-08-02 13:33:33 +02:00
Emmanuel Cazenave d024517025 use explicit in lookup (#25502)
Delete unused function using implicit in lookup.
2018-07-31 13:48:47 +02:00
Benjamin Dauvergne d7a2af17c3 allow overriding User.can_reset_password by hooks (fixes #25534)
This commit introduce the concept of an user flag, this flag can be
defined in many places:
* globally trough a setting named A2_USER_<FLAG>
* on the user object itself if there is a property user.<flag> which is
  not None
* by any hook returning a not None result and named a2_hook_user_<flag>
* for all users of an OU if the ou.<flag> is not None
2018-07-30 17:22:03 +02:00
Benjamin Dauvergne eeb93e79d3 custom_user: remove base_user (fixes #23272) 2018-07-30 15:09:13 +02:00
Emmanuel Cazenave 5088c18fca use django.template.context_processors (#25372) 2018-07-30 13:47:48 +02:00
Benjamin Dauvergne b84794bd28 ldap: warn about missing users on password reset (fixes #25530)
Instead of logging an error.
2018-07-30 11:57:39 +02:00
Benjamin Dauvergne ce90ea3bd4 settings: set all Lasso logs at the DEBUG level (fixes #22880)
Log domain of lasso has changed from lasso to Lasso and libxmlsec and
libxml2 errors now are logged in their own domains.
2018-07-27 11:20:22 +02:00
Frédéric Péters 3dc6b4aab4 api: mark all fields of OrganizationalUnit for serializer (#25405) 2018-07-24 11:44:15 +02:00
Frédéric Péters 69cc0ae605 misc: adjust width of ok checkmarks (#25404) 2018-07-23 16:14:22 +02:00
Frédéric Péters b69eb9bec2 misc: adjust style of new password help texts (#25404) 2018-07-23 14:40:55 +02:00