Commit Graph

404 Commits

Author SHA1 Message Date
Jérôme Schneider 90275ba1b7 toolbar.js: add next_url parameter to mandaye_disassociate_logout
Closes #6235
2015-01-08 12:07:42 +01:00
Jérôme Schneider 303fca8689 add option 'scripts' to mapper which allows to load javascripts in header
Closes #6184
2014-12-19 18:57:11 +01:00
Jérôme Schneider 2762df0ed4 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
2014-12-10 15:36:21 +01:00
Jérôme Schneider 1fdd4c14c8 authform: change the way to set replay_condition 2014-12-10 15:36:21 +01:00
Jérôme Schneider ead6ff5122 response: add json responses (500, 400 and 200) 2014-12-10 15:36:21 +01:00
Jérôme Schneider 2dc2393b4c poc for REMOTE_USER 2014-12-10 15:36:21 +01:00
Jérôme Schneider ec202317ba on_request: allow hook to return a reponse
Closes #6130
2014-12-10 15:36:21 +01:00
Jérôme Schneider 5f8c549706 authform: add disassociation url in the default mapper 2014-12-10 15:36:21 +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
Jérôme Schneider 541705d1f4 models: SPUser __init__ add last_connection and creation_date 2014-09-22 09:56:59 +02:00
Jérôme Schneider 87d29ddb9a sql: use only utc date
Closes #5545
2014-09-19 18:04:23 +02:00
Jérôme Schneider d8b9963cf0 ldap: add an example ldif and a very short README 2014-09-19 17:57:51 +02:00
Jérôme Schneider 4c755abe69 backends: add last_connection_date and creation_date to update_or_create
Closes #5542
2014-09-19 16:27:01 +02:00
Jérôme Schneider ee0e90771f backends: syntax fixes 2014-09-19 10:56:04 +02:00
Jérôme Schneider a84b81324e http: also test Cookie.SimpleCookie 2014-09-18 18:19:18 +02:00
Jérôme Schneider 3d793660e8 http: don't crash if the cookie is not correct 2014-09-18 18:10:47 +02:00
Jérôme Schneider 1f1c3e00b4 ldap backend: manage json for post values and use str 2014-09-17 19:19:07 +02:00
Jérôme Schneider bb5f65101e authform: local_logout don't resend request cookies in the response 2014-09-17 14:16:25 +02:00