Commit Graph

5159 Commits

Author SHA1 Message Date
Benjamin Dauvergne f7010a1ef8 translation update 2020-07-13 18:25:06 +02:00
Benjamin Dauvergne 988bca90f1 Jenkinsfile: add pylint to normal run 2020-07-13 18:21:20 +02:00
Benjamin Dauvergne 1480ed1ec0 Jenkinsfile: run all environments only with the timer trigger (#45070) 2020-07-13 16:02:23 +02:00
Benjamin Dauvergne 4ede4af066 manager: show indirect members of roles real roles (#44927) 2020-07-13 15:16:56 +02:00
Benjamin Dauvergne c429e7bffb manager: raise PermissionDenied if user has no add user permission (#45009) 2020-07-13 11:53:51 +02:00
Benjamin Dauvergne 0dcb035e6c tests: move users manager tests (#45009) 2020-07-13 11:53:51 +02:00
Emmanuel Cazenave 61c6d4bd4f misc: remove authentic2_auth_fc from plugin system (#44369) 2020-07-13 11:27:57 +02:00
Emmanuel Cazenave 2ae771b542 misc: remove authentic2_idp_oidc from plugin system (#44331) 2020-07-13 10:44:49 +02:00
Emmanuel Cazenave 63ae592afa misc: remove authentic2_auth_cas from plugin system (#44329) 2020-07-13 10:44:04 +02:00
Emmanuel Cazenave 6fbd4e0176 misc: remove authentic2_auth_oidc from plugin system (#44322) 2020-07-13 10:43:15 +02:00
Emmanuel Cazenave 0439d9590e misc: remove authentic2_auth_saml from plugin system (#44320) 2020-07-13 10:42:27 +02:00
Serghei Mihai d55eddcd71 auth_saml: define templates base page (#40350) 2020-07-13 10:39:49 +02:00
Serghei Mihai 229566c741 misc: allow authenticator autorun if only one available (#28216) 2020-07-13 10:33:05 +02:00
Benjamin Dauvergne 0bfc414d4f commands: send account deletion notifications to real email (#45054)
Add an helper call_command() to test utils to provoke run of on_commit
hooks.
2020-07-13 10:32:33 +02:00
Benjamin Dauvergne df5969cc63 Jenkinsfile: do not build hotfix only for stretch 2020-07-12 21:45:29 +02:00
Emmanuel Cazenave d52961d6ed remove idp.saml from plugin system (#44319) 2020-07-12 10:16:32 +02:00
Valentin Deniaud 9d377b3b21 manager: use correct manage members flag name (#44939) 2020-07-10 16:25:18 +02:00
Benjamin Dauvergne 9a2bb3b370 idp_oidc: remove unused import (#44589) 2020-07-10 16:08:52 +02:00
Benjamin Dauvergne 13c23e25b4 idp_oidc: check length of authorize's redirect_uri (#44589) 2020-07-10 16:08:52 +02:00
Benjamin Dauvergne 049a37b53c idp_oidc: change type of OIDCCode.redirect_uri (#44589)
To accept URL of any length.
2020-07-10 16:08:52 +02:00
Benjamin Dauvergne 4ff53e5220 tox.ini: stop testing with py2 2020-07-10 11:55:09 +02:00
Benjamin Dauvergne 308953a515 debian: use shell script to load /etc/authentic2/authentic.conf in systemd service file (#44960) 2020-07-09 10:01:37 +02:00
Benjamin Dauvergne 8b70a93e24 translation update 2020-07-08 10:02:46 +02:00
Paul Marillonnet 4300e00dd5 saml: remove unexisting provider attributes in admin (#44910) 2020-07-07 23:46:03 +02:00
Paul Marillonnet c574d34895 tests: fix missing encoding declaration (#44915) 2020-07-07 23:45:17 +02:00
Benjamin Dauvergne 5b550185d2 Jenkinsfile: remove constraint on virtualenv and importlib-resources 2020-07-07 16:37:53 +02:00
Benjamin Dauvergne 648da7750c misc: remove all uses of map() (#44878) 2020-07-07 10:37:41 +02:00
Benjamin Dauvergne cfe06723ee tests: test profile display (#44878) 2020-07-07 10:35:10 +02:00
Benjamin Dauvergne 9d2a79365c auth_oidc: use correct names in attribute select field (#44829)
Attribute names in OIDCClaimMapping must be native attribute names, not
the ones generated by attributes_ng.
2020-07-06 15:06:25 +02:00
Benjamin Dauvergne ecd2cf1448 saml: remove unused LibertyProvider fields (#16313) 2020-07-06 14:44:11 +02:00
Benjamin Dauvergne e090ad25a7 misc: implement customized date search for birthdate attribute (#44656) 2020-07-06 14:43:53 +02:00
Benjamin Dauvergne a67989da21 manager: decode base64 content as ASCII (#44802) 2020-07-06 14:43:35 +02:00
Benjamin Dauvergne d489395742 py3: do not expect Exception.message (#44810) 2020-07-04 14:36:46 +02:00
Frédéric Péters a0a6c36348 fix typo in translation 2020-07-03 16:44:13 +02:00
Benjamin Dauvergne 2aa8d42243 misc: inject TEMPLATE_VARS in mail template context (#43469) 2020-07-03 10:00:50 +02:00
Frédéric Péters 0e355150cc manager: use gadjo to render form (#39580) 2020-07-02 23:28:16 +02:00
Benjamin Dauvergne 9004e2a25b crypto: accept ASCII str in aes_base64_decrypt (#44741) 2020-07-02 15:30:37 +02:00
Benjamin Dauvergne 441276f573 debian: adapt authentic2 package scripts for python3 2020-07-02 13:44:52 +02:00
Benjamin Dauvergne 7ef148e0c5 python3: adapt debian packaging (#40372) 2020-07-02 10:41:45 +02:00
Benjamin Dauvergne 95fa3f1af9 test: sync test with messages 2020-07-01 11:41:35 +02:00
Serghei Mihai 018d3c8520 views: pass service parameter to show evaluation context (#42370) 2020-07-01 11:02:33 +02:00
Benjamin Dauvergne 0b57aa56e7 translation update 2020-07-01 08:34:42 +02:00
Valentin Deniaud 8db35c9233 csv_import: ignore BOM (#43627) 2020-06-30 15:23:55 +02:00
Serghei Mihai 2ab4d78c48 auth_fc: set default priority to -1 (#44393) 2020-06-29 15:05:18 +02:00
Benjamin Dauvergne 8fa965c522 mics: apply xframe_options_deny to views (#44435)
IdP and auth views are exempted.
2020-06-26 12:15:30 +02:00
Benjamin Dauvergne 442dc74bab misc: use long duration cookie to check for cookie support in browser (#44055) 2020-06-26 12:02:38 +02:00
Benjamin Dauvergne 47ee640f79 tests: ensure testserver is used as host name in all tests (#44055)
testserver is the default name in the Django test client and in
django-webtest.

Constraint on django-webtest in tox.ini is relaxed to make
app.set_cookie() works for test on cookies.
2020-06-26 12:02:36 +02:00
Benjamin Dauvergne 862673a793 idp_oidc: validate sector identifier for pairwise identifier policies (#44164) 2020-06-26 11:55:29 +02:00
Benjamin Dauvergne 7337b7ecf6 idp_oidc: make get_sector_identifier() a method of OIDCClient (#44164) 2020-06-26 11:55:13 +02:00
Benjamin Dauvergne 27e8f2f8fe user_import: do not use contextlib.nested() (#44356) 2020-06-23 15:55:03 +02:00