Commit Graph

390 Commits

Author SHA1 Message Date
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
Jérôme Schneider 2a50fa2716 saml2: don't keep request cookies 2014-09-17 12:04:37 +02:00
Jérôme Schneider e7c8c05b1a new version 0.10.0 2014-09-17 11:19:20 +02:00
Jérôme Schneider fce54b3a77 saml2: force new beaker session during sso 2014-09-17 11:12:00 +02:00
Jérôme Schneider 392a3c1667 sql backend: fixes get_last_connected (add missing join) 2014-09-17 10:53:13 +02:00
Jérôme Schneider e440c7dfd1 filters: improve add_toolbar regexp 2014-09-16 16:09:18 +02:00
Jérôme Schneider 5294fd40c4 backends: implement a new ldap storage backend
Closes #5425
2014-09-16 09:37:08 +02:00
Jérôme Schneider 85cc82c4e2 dispatcher: use logger instead of print 2014-09-15 10:47:03 +02:00
Jérôme Schneider 1aac4a6e58 skel configuration: replace mandaye_toolbar_offline by mandaye_offline_toolbar 2014-09-15 10:35:24 +02:00
Jérôme Schneider 0bc96bcc0b backends: fix typo (dafault instead of default) 2014-09-13 17:37:52 +02:00
Jérôme Schneider e266f57756 local_logout: generalized local_logout in authform
replace option saml2_sp_logout_url by sp_logout_url
2014-09-12 10:01:30 +02:00
Jérôme Schneider bb71f27821 mandaye/filters/default.py: toolbar.js use utf-8 charset 2014-09-11 16:51:14 +02:00
Jérôme Schneider 8585d3d539 toolbar: now using jquery to load the bar 2014-09-11 09:46:45 +02:00
Jérôme Schneider 9dbbb15b33 sql backend: test if sp_user exists 2014-09-11 09:10:01 +02:00
Jérôme Schneider c62aae3856 backends: complete rewrite of the interface
The old interface was to specific for sqlalchemy this new one allow to
write new backends

WARNING: this commit could break compability for some filter which uses
the old interface
2014-09-10 18:51:54 +02:00