Commit Graph

1494 Commits

Author SHA1 Message Date
Benjamin Dauvergne 37d1174917 update NEWS file 2013-12-19 15:30:23 +01:00
Thomas NOËL 01fcbaf67e secure email_change view 2013-12-19 10:45:46 +01:00
Benjamin Dauvergne f6651ba004 bump release to 2.1.1 2013-12-17 10:59:31 +01:00
Benjamin Dauvergne c0b9a6264c setup.py: add missing dependency django-admin-tools 2013-12-17 10:58:02 +01:00
Benjamin Dauvergne c7230c1c91 release 2.1.0 2013-12-12 18:50:07 +01:00
Benjamin Dauvergne 59bba9e9d3 distribute locale files of disco_service application 2013-12-12 18:25:29 +01:00
Mikaël Ates 09294b2526 saml: fix verbose name of defederation field of options policy models. 2013-12-12 18:25:51 +01:00
Mikaël Ates 9888312745 authsaml2: reply valid slo error message, provider to load is idp. 2013-12-12 18:17:54 +01:00
Benjamin Dauvergne 7c1cae8a2b templates: in logout.html block loading indefinitely to allow iframe to finish loading 2013-12-12 16:30:53 +01:00
Benjamin Dauvergne 34e328c6f4 fix typo in last commit 2013-12-12 15:56:04 +01:00
Benjamin Dauvergne bb9bcf88ad log page url in logout console log of iframe_count 2013-12-12 15:54:13 +01:00
Benjamin Dauvergne 08f61f9dbb Revert "templates: define default console object in base.html"
This reverts commit 406be17fc9.
2013-12-12 15:48:03 +01:00
Benjamin Dauvergne 3336920e46 log all modifications to the iframe_count 2013-12-12 15:41:41 +01:00
Benjamin Dauvergne 406be17fc9 templates: define default console object in base.html 2013-12-12 15:41:41 +01:00
Mikaël Ates d928c5c05d authsaml2: use redirect_next helper function (bis). 2013-12-12 15:41:37 +01:00
Mikaël Ates 451350ec0b idp/saml: change misleading log, process_logout_response used by soap and redirect. 2013-12-12 15:39:16 +01:00
Mikaël Ates abe7dda682 authsaml2: add missing back url from idp logout treatment. 2013-12-12 15:09:18 +01:00
Mikaël Ates 4577a247e0 authsaml2: factorize common treatment when receiving a slo and use idp logout treatment with redirect. 2013-12-12 15:06:44 +01:00
Mikaël Ates 7e7760a3e7 authsaml2: really handle the SLO return by redirect. 2013-12-12 15:02:03 +01:00
Mikaël Ates 06ef132958 authsaml2: we do not need a view for local logout. 2013-12-12 14:58:15 +01:00
Mikaël Ates 39d8c35c7c authsaml2: merge processing functions for SLO return by redirect. 2013-12-12 14:56:29 +01:00
Mikaël Ates ae61807577 authsaml2: add missing relay state initialisation. 2013-12-12 14:47:49 +01:00
Mikaël Ates 7b21739b23 authsaml2: use redirect_next helper function. 2013-12-12 14:46:25 +01:00
Mikaël Ates c7b7600295 authsaml2: remove logout view made to be called directly from the UI. 2013-12-12 14:42:24 +01:00
Mikaël Ates f0bcfffca3 idp/saml: use redirect_next helper function. 2013-12-12 11:47:39 +01:00
Mikaël Ates f0d849b557 idp/saml: better manage sp options in service list generation. 2013-12-12 10:04:42 +01:00
Mikaël Ates 981389aa5f saml/common: better federation creation and session key param added in session deletion functions. 2013-12-11 12:20:31 +01:00
Benjamin Dauvergne f4c775b3aa saml: restore LibertyFederation.name_id_qualifier and LibertyFederation.name_id_sp_name_qualifier 2013-12-11 11:22:58 +01:00
Benjamin Dauvergne 52e20cf319 app_settings: do not cache value from settings, access it directly
Value extracted from django.conf.settings where kept inside the
app_settings module. The new AppSettings class calls getattr on the main
settings for each access.
2013-12-11 10:18:49 +01:00
Benjamin Dauvergne 6daa256e51 add settings to hide the password reset link on login page 2013-12-11 03:27:44 +01:00
Benjamin Dauvergne 6a69f74395 allow hiding the registration link in login page 2013-12-11 03:27:24 +01:00
Benjamin Dauvergne eba88a26a7 saml: add function nameid2kwargs_federation only for use with LibertyFederation 2013-12-10 16:32:29 +01:00
Benjamin Dauvergne 072fb9d4fb saml/models: restore extraction of name_id_qualifier and name_id_sp_name_qualifier in nameid2kwargs 2013-12-10 16:23:30 +01:00
Benjamin Dauvergne d5cca16f38 idp/saml: in build_session_dump() add missing closing > in XML dump 2013-12-10 15:59:16 +01:00
Benjamin Dauvergne 9fe7115236 idp/saml: build_session_dump() do not add name_id_qualifier and name_id_sp_name_qualifier if they are empty 2013-12-10 15:50:49 +01:00
Benjamin Dauvergne 9c8f8da627 idp/saml: add missing property AssertionID when building session dump 2013-12-10 15:31:45 +01:00
Mikaël Ates f5da02b413 saml/common: fix typos in session dump building. 2013-12-10 15:18:52 +01:00
Benjamin Dauvergne ea222c09c6 authsaml2,idp/saml: rewrite build_session_dump to use thin sessions (session dumps without assertions) 2013-12-10 14:34:31 +01:00
Mikaël Ates 46a66e033b authsaml2: use utils function to flush a django session in singleLogoutSOAP. 2013-12-10 13:58:05 +01:00
Mikaël Ates 3538b06c64 utils: helper function to get session store and flush a django session. 2013-12-10 13:56:05 +01:00
Benjamin Dauvergne d78a85af51 idp/saml: remove unused link from session to federation and storage of assertions 2013-12-10 11:53:47 +01:00
Benjamin Dauvergne 4bb618a406 settings: do not force cached_db session engine, it can only used with a shared cache 2013-12-10 11:53:47 +01:00
Benjamin Dauvergne e447544249 idp: wait for all iframe onload event before doing local logout 2013-12-10 11:53:47 +01:00
Benjamin Dauvergne f875685be8 Revert "idp/saml: add a utils module, start with session saving/loading functions"
This reverts commit 25ad16f2f8.
2013-12-10 11:53:47 +01:00
Benjamin Dauvergne 17d233b9f4 Revert "idp/saml: replace old session loading an saving by new functions local to the idp application"
This reverts commit b33196a6c7.
2013-12-10 11:53:47 +01:00
Benjamin Dauvergne 45d94dcd14 idp/saml: only load/save federations if the nid_format used needs it 2013-12-09 16:02:31 +01:00
Benjamin Dauvergne b33196a6c7 idp/saml: replace old session loading an saving by new functions local to the idp application 2013-12-09 16:02:31 +01:00
Benjamin Dauvergne 25ad16f2f8 idp/saml: add a utils module, start with session saving/loading functions 2013-12-09 16:02:31 +01:00
Benjamin Dauvergne cc091419ee saml: clean unused import 2013-12-09 16:02:31 +01:00
Benjamin Dauvergne 5c1587ea96 settings: set default session engine to cached_db 2013-12-09 16:02:31 +01:00