Commit Graph

413 Commits

Author SHA1 Message Date
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 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
Jérôme Schneider 8aceb224bb default-config.ini: add a module_name 2014-10-31 10:55:57 +01:00
Jérôme Schneider 63aceaa3e9 authform: remove old association which doesn't work
When you change a sp login don't keep the association with the old one
2014-10-28 16:09:26 +01:00
Jérôme Schneider 04a79ce1a4 sql: commit just after a delete 2014-10-28 14:21:52 +01:00
Jérôme Schneider 42bf45aa29 template_response: header value must be a list 2014-10-28 11:28:57 +01:00
Jérôme Schneider 89190dca6c config: manage template and static with module_name only 2014-10-28 11:22:38 +01:00
Jérôme Schneider a51f3081f0 template_response: add http header Content-Cache: no-cache for ie 2014-10-27 16:42:37 +01:00
Jérôme Schneider 9003c07ecc Centralized config.py into mandaye core
All the configuration is now in ini files.
You could have 3 levels of ini files :
 * default mandaye core ini file
 * default mandaye project ini file
 * optional ini file loading with --config option

Closes #5495
2014-10-10 15:50:13 +02:00
Jérôme Schneider 8c557e16aa New version 0.10.2 2014-10-10 09:46:57 +02:00
Jérôme Schneider 08f8742e01 response: don't hide email traceback when the sent failed
Refs #5394
2014-10-09 12:38:18 +02:00
Jérôme Schneider 842a8de945 mandaye/server.py: check if HTTP_COOKIES is not None 2014-10-08 18:07:11 +02:00
Jérôme Schneider ea9396bf26 authform: fixing regression introduced by bdff7b72
* mandaye/auth/authform.py: logout doesn't propagate response cookies
   anymore
2014-10-08 18:07:11 +02:00
Jérôme Schneider ddc7a55a00 http: remove old useless hack for biblio which is useless now 2014-10-01 15:53:03 +02:00
Jérôme Schneider ead492fb72 mandaye/auth/saml2.py: cleaning now useless hack to remove cookies 2014-10-01 15:46:27 +02:00
Jérôme Schneider 6d0cb0b997 server: remove cookies with bad key
Closes #5606
2014-10-01 14:51:25 +02:00
Jérôme Schneider cedc5ae45f saml2: don't send cookies to beaker before creating a new session 2014-09-29 15:01:41 +02:00
Jérôme Schneider c898e301b8 New release 0.10.1 2014-09-22 10:11:50 +02:00