Commit Graph

429 Commits

Author SHA1 Message Date
Jérôme Schneider 6d19be7809 authform.py: correctly resolve relative path in form action 2015-07-23 11:20:38 +02:00
Jérôme Schneider a5a65beaa9 saml2: typo fixes 2015-07-23 11:20:26 +02:00
Jérôme Schneider 266433f567 saml2: render nameid format and authnresp binding configurable (#7367) 2015-07-23 11:20:15 +02:00
Jérôme Schneider 99fe7ceb61 Merge branch 'master' into wip/py3 2015-03-10 15:03:53 +01:00
Jérôme Schneider f14908ec1c New version 0.11.2 2015-03-10 11:11:48 +01:00
Jérôme Schneider 755bd6af9b disassociation: manage disassociate_next_url in mappers 2015-03-10 11:07:45 +01:00
Jérôme Schneider 4b8067a865 New version 0.11.1 2015-03-10 10:09:28 +01:00
Jérôme Schneider 00ba2176af use a generic regular expression to fix location header
Closes #6614
2015-03-09 17:23:29 +01:00
Jérôme Schneider fa8ea34244 response: add bad gateway management 2015-02-28 13:48:06 +01:00
Jérôme Schneider 6ff091318a skel: cleaning default 2015-02-28 13:35:28 +01:00
Jérôme Schneider a9e5f566b8 add option to check certificates 2015-02-28 13:12:10 +01:00
Jérôme Schneider 15b9a551e1 add requests dependency 2015-02-28 10:22:17 +01:00
Jérôme Schneider 1abdb512b4 Removed now useless urllib handlers 2015-02-27 16:25:32 +01:00
Jérôme Schneider 4bcf6a2580 remove xtraceback which is not working correctly in python 3 2015-02-27 16:10:36 +01:00
Jérôme Schneider 813fa11757 gitignore: add __pycache__ and test.db 2015-02-27 16:05:35 +01:00
Jérôme Schneider 6aba8f4ac4 Migrate on python requests 2015-02-27 16:02:58 +01:00
Jérôme Schneider 0de3ba92b2 saml: update for Python3 2015-02-27 13:43:19 +01:00
Jérôme Schneider e408a76d4b skel: update with the last mandaye evolutions 2015-02-26 11:41:21 +01:00
Jérôme Schneider 7cae9cba5d Initial python 3 migration 2015-02-23 12:43:11 +01:00
Jérôme Schneider 7342373922 Pre migration: remove python-entrouvert dependency 2015-02-19 16:30:55 +01:00
Jérôme Schneider d6f82392e0 authform: during an auto association don't reload the login page 2015-01-30 16:43:41 +01:00
Jérôme Schneider 30a9290986 dispatch: don't match path case 2015-01-30 15:52:23 +01:00
Jérôme Schneider 1eec694e1c New version 0.11.0 2015-01-30 11:53:52 +01:00
Jérôme Schneider 625e46fe81 Add a method which store credentials during a local authentification
* auth/authform.py: add method store_credentials_in_session and manage
  auto association during a login
* filters/default.py: don't display toolbar if a user is locally logged
  in and is already associated

Closes #6000
2015-01-30 11:30:55 +01:00
Jérôme Schneider 8b1775a3ad backends: add has_sp_login method to test if a local login is already used
Refs #6000
2015-01-30 11:30:46 +01:00
Jérôme Schneider 1a868080ad filters: add a method which allows to store the request message in a string 2015-01-30 11:30:39 +01:00
Jérôme Schneider 03b0828d64 toolbar.js: add next_url parameter to mandaye_disassociate_logout
Closes #6235
2015-01-27 17:08:19 +01:00
Jérôme Schneider d7e0fffb12 add option 'scripts' to mapper which allows to load javascripts in header
Closes #6184
2015-01-27 12:19:48 +01:00
Jérôme Schneider 6a43276c45 authform: add an url to test credentials
post a json with post values on /mandaye/check/credentials
and this request will return a json dict with a data entry OK or KO

Closes #6127
2015-01-27 11:59:32 +01:00
Jérôme Schneider bbbe4c5561 authform: change the way to set replay_condition 2015-01-27 11:59:20 +01:00
Jérôme Schneider b48d55a420 response: add json responses (500, 400 and 200) 2015-01-27 11:59:13 +01:00
Jérôme Schneider 9bc2c9eb4b on_request: allow hook to return a reponse
Closes #6130
2015-01-27 11:57:18 +01:00
Jérôme Schneider 9c0d7d498c authform: add disassociation url in the default mapper 2015-01-27 11:56:53 +01:00
Jérôme Schneider 1bb12cd2ea response: fix traceback email title
Closes #5394
2014-12-10 15:31:22 +01:00
Jérôme Schneider 69917267cb saml2: improve attributes management 2014-12-09 18:22:27 +01:00
Jérôme Schneider 69d1dc3ead toolbar: add toolbar only on html content 2014-12-09 17:09:25 +01:00
Jérôme Schneider 98ff54f07e default-config.ini: disable authentic2 auto connection by default 2014-12-09 16:37:11 +01:00
Jérôme Schneider f4d3ef7650 saml2: add connection_url in the default mapper
Closes #5992
2014-11-28 09:41:14 +01:00
Jérôme Schneider dd87d66f08 authform: support next_url value in the login mapper
Closes #5991
2014-11-28 09:41:14 +01:00
Jérôme Schneider 0c58c6c265 authform: use mapper logout url in the default mapper
Closes #5990
2014-11-28 09:41:14 +01:00
Jérôme Schneider d21f26c66b ldap backend: use a more pythonic sort to get the last connected
Closes #5835
2014-11-21 15:09:28 +01:00
Jérôme Schneider 9f59002549 default-config.ini: use sql as default storage backend 2014-11-21 14:48:26 +01:00
Jérôme Schneider 47b3062a39 http: document the hack for vincennes biblio 2014-11-12 18:34:25 +01:00
Jérôme Schneider 01fd2a82f6 Revert "http: remove old useless hack for biblio which is useless now"
This reverts commit ddc7a55a00.
2014-11-12 18:04:23 +01:00
Jérôme Schneider 1802dc433a ldap backend: always get the last connected association 2014-11-10 10:33:43 +01:00
Jérôme Schneider 58c6209c8f add option is_user_locally_logged_in to mappers
Closes #5832
2014-11-10 10:33:43 +01:00
Jérôme Schneider b4f1da4f97 mandaye: add mandaye.auth in env for mandaye-cam 2014-11-04 11:11:37 +01:00
Jérôme Schneider 04ff6f68f9 Document the new configuration file usage 2014-10-31 11:12:31 +01:00
Jérôme Schneider c18e9f7fe4 config.py: don't support local_settings.py anymore 2014-10-31 11:12:31 +01:00
Jérôme Schneider be55d02acf skel: add linuxfr mapper 2014-10-31 10:55:57 +01:00