Benjamin Dauvergne
4bb08f8d7c
fix use of isinstance
2016-04-23 17:04:01 +02:00
Benjamin Dauvergne
c136f67de6
do not use a global LDAP connection, open it for each request
2016-04-22 11:01:56 +02:00
Benjamin Dauvergne
3677cd0c19
flatten some config string to str ( fixes #10416 )
2016-03-24 16:24:41 +01:00
Serghei Mihai
2d11ea7de5
do not replace all the occurences of target in location header
2016-03-23 18:06:22 +01:00
Jérôme Schneider
1257afb1e9
New version 0.11.4
2015-07-30 18:12:19 +02:00
Jérôme Schneider
738871992d
toolbar: ensure we have the correct margin
2015-07-30 14:01:03 +02:00
Jérôme Schneider
6ae398d942
authform.py: correctly resolve relative path in form action
2015-07-23 11:17:29 +02:00
Jérôme Schneider
72b7292e57
saml2: typo fixes
2015-06-25 10:33:16 +02:00
Jérôme Schneider
46bf116cc9
saml2: render nameid format and authnresp binding configurable ( #7367 )
2015-06-16 17:53:34 +02: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
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
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