Commit Graph

65 Commits

Author SHA1 Message Date
Benjamin Dauvergne d4e9c4f0ea bump release to 1.0.2 2014-12-03 16:36:20 +01:00
Benjamin Dauvergne 02535cb1f1 Fix wrong path in commit c72691c826 2014-12-03 11:20:22 +01:00
Benjamin Dauvergne c72691c826 Add JPG and GIF to package data setting in setup.py (bis) 2014-12-03 11:15:52 +01:00
Benjamin Dauvergne 001018ca23 Add JPG and GIF to package data setting in setup.py 2014-12-03 10:04:53 +01:00
Benjamin Dauvergne e782b65ee6 Fix escaping of URL as a javacsript string 2014-12-01 14:31:26 +01:00
Benjamin Dauvergne 25d483e551 Hide the MSP block when the nomsp parameter is present in the URL (old behaviour broken) 2014-12-01 14:30:23 +01:00
Benjamin Dauvergne 676787f45f bump release to 1.0.1 2014-11-21 18:32:18 +01:00
Benjamin Dauvergne 6c4b221ad2 Fix description and url in setup.py 2014-11-21 18:32:15 +01:00
Benjamin Dauvergne 6c4c2f5175 bump release to 1.0.0 2014-11-21 18:29:59 +01:00
Benjamin Dauvergne 55f7c15e4e Set default URL for MSP production endpoints in app_settings 2014-11-21 18:29:30 +01:00
Benjamin Dauvergne 94607c1e00 Delete MSP links on account deletion cron job and also when the DeletedUser object is created 2014-11-21 17:08:43 +01:00
Benjamin Dauvergne 981e7259e9 Implement the authentication frontend using the new API 2014-11-21 16:07:52 +01:00
Benjamin Dauvergne 72978bd650 Add custom CSS to add some margin on top of MSP dialogs 2014-11-21 16:07:52 +01:00
Benjamin Dauvergne 7d0f41d38e Load popup javascript at end of page 2014-11-21 16:07:52 +01:00
Benjamin Dauvergne 27f00c55a0 Fix template paths 2014-11-21 16:07:42 +01:00
Benjamin Dauvergne c0b485c1e1 Log when an existing link AGC is changed 2014-11-21 16:07:42 +01:00
Benjamin Dauvergne 2e387d0a94 When creating a new link or changing an existing link, delete existing ones to the same AGC 2014-11-21 16:07:42 +01:00
Benjamin Dauvergne c7dd01e007 Distribute compiled translation files 2014-11-20 15:03:42 +01:00
Benjamin Dauvergne 0be4dacf27 Improve logging
- add a mixin to initialize a logger in the view __init__ method
- log login, link creation and link deletion
2014-11-20 15:03:42 +01:00
Benjamin Dauvergne 926accba9e Fix import of ImproperlyConfigured in app_settings
Global import does not work in app_setings files.
2014-11-06 22:06:50 +01:00
Benjamin Dauvergne 957aae3ff7 Refactorize application to make it an authentic2 plugin (2/2) 2014-11-06 21:35:04 +01:00
Benjamin Dauvergne 058af0c133 Refactorize application to make it an authentic2 plugin (1/2) 2014-11-06 21:16:51 +01:00
Benjamin Dauvergne bf0c122390 Create MspAccountManager with a cleanup() method to cleanup obsolete MSP link when the cleanupauthentic command is run (refs #5573) 2014-10-17 09:32:46 +02:00
Benjamin Dauvergne 7e4f09f8b9 Make MspAccount.user nullable (refs #5573) 2014-09-23 16:15:52 +02:00
Benjamin Dauvergne 0c681581e2 Add an api_call method to the MspAccount model (refs #5573) 2014-09-23 16:15:52 +02:00
Benjamin Dauvergne 00feb5836c Do not initialize the logger globally in msp models (refs #5573) 2014-09-23 16:15:52 +02:00
Benjamin Dauvergne 448d9475d4 msp: pass error from MSP to authorization requester 2014-04-29 15:51:33 +02:00
Benjamin Dauvergne 0457cac635 msp: remove debugging statement 2014-04-29 15:51:33 +02:00
Benjamin Dauvergne 02c4096695 apps/msp: add support for getElementsByClassName on all browsers 2014-04-11 15:23:06 +02:00
Benjamin Dauvergne 94ce013530 msp: fix app path in urls.py 2014-03-24 16:47:01 +01:00
Benjamin Dauvergne cde50d567c msp: make login-or-link the default behaviour also for connexion from the login page 2014-02-25 15:50:52 +01:00
Benjamin Dauvergne 0d6cef8650 msp: log when deleting stale msp accounts 2014-02-06 14:21:26 +01:00
Benjamin Dauvergne 842330193b msp/views: fix missing variable cache 2014-01-21 09:04:01 +01:00
Benjamin Dauvergne 8110e5f416 msp: always ask for the DEL_AGC scope with the GET_AGC scope 2014-01-08 11:36:55 +01:00
Benjamin Dauvergne 7db7284f87 templates: fix wording 2014-01-08 11:30:30 +01:00
Benjamin Dauvergne a3ca13c3f3 msp: replace PARTENAIRE in MSP templates by 'compte citoyen' 2014-01-08 11:18:34 +01:00
Benjamin Dauvergne a768fd7fe1 msp: use all graphical and html resources from MSP
- 3 new views: link management, unlinking confirmation, unlinking done.
- corrections to close-popup-redirect.html to work with URL passed
	through template variables and not the query string
2014-01-08 01:18:45 +01:00
Benjamin Dauvergne 7b332f0bce msp: integrate msp theme 2014-01-06 12:46:10 +01:00
Benjamin Dauvergne e428e17d99 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 48e7579f03 msp: allow the authorization view to display in cross-domain iframes 2013-12-17 23:14:27 +01:00
Benjamin Dauvergne 52a26eee5b msp: argument next_url of redirect_and_come_back should support query strings 2013-12-06 16:44:43 +01:00
Benjamin Dauvergne ce4fd2fadc msp: hide the connection box when nomsp is in the query string 2013-12-06 16:39:29 +01:00
Benjamin Dauvergne 5b25a3e97f msp: update fr translation 2013-12-06 16:34:00 +01:00
Benjamin Dauvergne bff31671e1 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 bdc3ab5d68 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 9fb7d37e93 msp: when creating a new link, save the access token 2013-12-06 15:59:24 +01:00
Benjamin Dauvergne 14fe0f9f75 msp: preserve access token in callback views after call to the token web service 2013-12-06 15:57:54 +01:00
Benjamin Dauvergne 66e3e4a7aa msp: update fr translations 2013-12-06 15:57:35 +01:00
Benjamin Dauvergne 8bc98eb941 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 140b806fa2 msp: cleanup 2013-12-06 15:23:14 +01:00