Commit Graph

461 Commits

Author SHA1 Message Date
Benjamin Dauvergne c014d07b77 msp: integrate msp theme 2014-01-06 12:46:10 +01:00
Benjamin Dauvergne a0813c74d5 data_source_plugin: fix wrong use of the logging module 2013-12-20 18:39:39 +01:00
Benjamin Dauvergne 4507e53db5 new federation management cms plugin
It shows a list of federation and allows to delete them. You can
restrain the shown federation by giving a list of provider slug
separated by commas.
2013-12-20 17:22:13 +01:00
Benjamin Dauvergne e3ddfbc96b msp: do no throw an unicity constraint error when user try to create a new link when an existing still exist
Problem happens when deleting a link from MSP a trying to recreate it.
2013-12-19 21:58:53 +01:00
Benjamin Dauvergne b8c85c3623 add dependency upon south 0.8.4 2013-12-19 15:28:55 +01:00
Benjamin Dauvergne d0a41765a7 msp: allow the authorization view to display in cross-domain iframes 2013-12-17 23:14:27 +01:00
Benjamin Dauvergne 0e4bd187d9 msp: argument next_url of redirect_and_come_back should support query strings 2013-12-06 16:44:43 +01:00
Benjamin Dauvergne bcc885860a msp: hide the connection box when nomsp is in the query string 2013-12-06 16:39:29 +01:00
Benjamin Dauvergne cf460488b2 msp: update fr translation 2013-12-06 16:34:00 +01:00
Benjamin Dauvergne a9b8fb9d63 msp: in link creation from msp workflow, add message to incite the user to authenticate 2013-12-06 16:32:33 +01:00
Benjamin Dauvergne eb55fae274 msp: add a refresh token method to MspAccount models to verify if the account link is alive 2013-12-06 16:19:05 +01:00
Benjamin Dauvergne 80f7d02f72 msp: when creating a new link, save the access token 2013-12-06 15:59:24 +01:00
Benjamin Dauvergne 99b0d2589c msp: preserve access token in callback views after call to the token web service 2013-12-06 15:57:54 +01:00
Benjamin Dauvergne c5af3733b4 msp: update fr translations 2013-12-06 15:57:35 +01:00
Benjamin Dauvergne b0ec690c25 msp: store access token in account association object
The access token is used to get to the refresh token for verifying
existing links.
2013-12-06 15:56:48 +01:00
Benjamin Dauvergne 48a507c6b8 msp: cleanup 2013-12-06 15:23:14 +01:00
Benjamin Dauvergne 8c5bf0e42e msp: add login-or-link view 2013-12-06 15:23:14 +01:00
Benjamin Dauvergne 6801088fe0 msp: remove dead code 2013-12-06 15:23:14 +01:00
Benjamin Dauvergne fa44fdebb6 msp: add redirect_and_come_back() for redirect to another page and then coming back to the current one 2013-12-06 15:23:14 +01:00
Benjamin Dauvergne 03a6623cfd msp: add a next_url argument to the redirect() method it overrides default computation of the redirect URL 2013-12-06 15:10:31 +01:00
Benjamin Dauvergne 7f6cbce34e msp: clean unused imports 2013-12-06 15:05:09 +01:00
Benjamin Dauvergne 328fa097bb views: clean unused import 2013-11-29 15:11:35 +01:00
Benjamin Dauvergne 439dd57553 admin: do not let a dangling SAML 2.0 provider when creating a communal instance fails, delete it and report the error 2013-11-21 17:55:13 +01:00
Benjamin Dauvergne 5b92b03759 admin: restore needed import on models 2013-11-21 15:39:09 +01:00
Benjamin Dauvergne bebf2eef23 admin: notify wcsinstd after saving default key-value pairs 2013-11-20 21:42:52 +01:00
Benjamin Dauvergne 385145d9ad admin: removed unused imports 2013-11-20 21:30:53 +01:00
Benjamin Dauvergne 0d0319fdd0 admin: add_view() is already decorated with commit_on_success, decorating save_model() creates conflicts 2013-11-20 21:29:55 +01:00
Benjamin Dauvergne ee366dd729 msp: fix authn context name 2013-11-20 15:10:25 +01:00
Benjamin Dauvergne 5baa81aa61 msp: fix missing self argument 2013-11-20 15:09:17 +01:00
Benjamin Dauvergne cef7bcf269 msp: msp authentication is equivalent to password authentication over HTTPs for SAML 2.0 2013-11-20 15:05:34 +01:00
Benjamin Dauvergne 927e7c7588 passerelle_register_plugin/forms: clean unused import 2013-11-20 08:58:58 +01:00
Benjamin Dauvergne ab6ffd21bb passerelle_register_plugin: add french translation 2013-11-20 08:58:36 +01:00
Benjamin Dauvergne 07280c6c7b jenkins.sh: do not ignore errors 2013-11-20 08:51:17 +01:00
Benjamin Dauvergne d5cfcc811a setup.py: force using the git repository for python-requests until version 2.0.2 is released 2013-11-19 13:57:03 +01:00
Benjamin Dauvergne 3714ff35e4 setup.py: add a setup_requires line 2013-11-18 23:53:31 +01:00
Benjamin Dauvergne f37699a3fe setup.py: fix python-entrouvert dependency link 2013-11-18 23:45:12 +01:00
Benjamin Dauvergne fe2e5c48d8 admin: only show group permissions to super-users
fixes #3722
2013-11-18 23:00:21 +01:00
Thomas NOËL 108e27369a data_source_plugin: fix use_cache 2013-11-15 13:32:21 +01:00
Thomas NOËL 1728d25ad5 data_source_plugin: rename nocache to updatecache 2013-11-13 17:59:21 +01:00
Benjamin Dauvergne e91a03d77f admin: user get_or_create() to create the LibertyServiceProvider associate with a communal site 2013-11-13 17:03:14 +01:00
Benjamin Dauvergne cdc60a7e84 admin: try to add default communal site variable only after having saved the one entered by the user
fixes #3968
2013-11-13 17:02:20 +01:00
Benjamin Dauvergne 0bf3d4a6eb data_source_plugin: memoize result of DataSource.get_content, add rules to desactivate cache
Cache is ignored:
 - when refresh timeout is 0
 - when the query string contains 'nocache'

fixes #3951
2013-11-13 16:38:43 +01:00
Benjamin Dauvergne 43bf4f0760 data_source_plugin: add DataSource.verify_certificate field
When False it suppress certificate validation from calls to web
services.
2013-11-13 16:09:24 +01:00
Benjamin Dauvergne 8e974210ad admin: download communal site metadatas after notification of wcsinstd 2013-11-06 15:43:29 +01:00
Benjamin Dauvergne 11622c2a6b admin: let the parent class save_related() method decide to notify the remote wcsinstd 2013-11-06 14:49:31 +01:00
Benjamin Dauvergne 608fbad721 admin: do not overwrite previous value of WcsInstanceAdmin.readonly_fields 2013-11-05 10:51:25 +01:00
Benjamin Dauvergne ad71c6e523 admin: add missing call to .iteritems() 2013-11-04 21:15:24 +01:00
Benjamin Dauvergne a92f634da5 admin: set default variables for new wcsinst instances 2013-11-04 18:36:46 +01:00
Benjamin Dauvergne b28a2d41a2 admin: do not initialize provider.metadata at first when saving a wcsinst object 2013-11-04 18:11:59 +01:00
Benjamin Dauvergne c6634c8229 admin: get_or_create() return a 2-tuple 2013-11-04 18:02:18 +01:00