Commit Graph

1365 Commits

Author SHA1 Message Date
Mikaël Ates 0318dfa97c attribute_aggregator: don't call loading function if nothing to load. 2013-05-31 09:25:47 +02:00
Benjamin Dauvergne cf7028020e settings: fix project root path 2013-05-30 22:38:28 +02:00
Benjamin Dauvergne 3dbff0d36b settings: fix prod settings 2013-05-30 22:31:05 +02:00
Benjamin Dauvergne f5cc272757 settings: remove production settings from the common setting module 2013-05-30 10:21:23 +02:00
Benjamin Dauvergne 91aa5124cc urls: django.conf.urls.defaults is deprecated since Django 1.5
- replace it by django.conf.urls
 - remove some import *
2013-05-28 19:18:22 +02:00
Benjamin Dauvergne 46802f402c idp_saml: does not log an exception for a logout response with status RequestDenied 2013-05-28 17:10:00 +02:00
Benjamin Dauvergne f4050c6d71 forms: forbid editing username in the profile form 2013-05-28 14:47:09 +02:00
Benjamin Dauvergne e62203eb3a urls: fix bad import of settings 2013-05-28 14:26:19 +02:00
Benjamin Dauvergne 353709eee0 settings: integrate auth and idp backend configuration to prod setting file 2013-05-28 14:14:33 +02:00
Benjamin Dauvergne 47e02641bf settings: remove obsolete STATIC_SERVE setting 2013-05-28 14:07:47 +02:00
Benjamin Dauvergne 57e148cc15 settings: add missing __init__.py 2013-05-28 14:04:55 +02:00
Benjamin Dauvergne f3f3e8aefe settings: reorganize them (bis) 2013-05-28 12:44:00 +02:00
Benjamin Dauvergne ac1ecc3854 settings: reorganize them 2013-05-28 12:18:28 +02:00
Benjamin Dauvergne cad465ad4c models: add missing migration 2013-05-26 13:24:28 +02:00
Benjamin Dauvergne d8206bef3a fix wrongly removed import of regexp module 2013-05-24 13:43:36 +02:00
Benjamin Dauvergne 70695353cd forms: mark required fields as such in registration form, change css class for required fields and fields with errors 2013-05-24 12:01:28 +02:00
Benjamin Dauvergne c63ef71ddb adapt all applications to Django 1.5 custom user model 2013-05-24 10:46:17 +02:00
Benjamin Dauvergne 1b74b824ab saml: fix __unicode__ method of LibertyProviderPolicy 2013-05-23 14:50:36 +02:00
Benjamin Dauvergne 9844b29f10 forms: add css class for required or erronous fields on user profile form 2013-05-22 15:00:09 +02:00
Benjamin Dauvergne d95fec6c05 forms: use user model REQUIRED_FIELDS list to set required field on the user profile form 2013-05-22 14:42:12 +02:00
Benjamin Dauvergne 1f7c583cd3 settings: do not run migration when running tests 2013-05-22 10:28:10 +02:00
Benjamin Dauvergne 9fd7207225 hashers: add tests 2013-05-22 10:28:10 +02:00
Benjamin Dauvergne 9bb9dcb215 hashers: allow password digest without salt in the generic hashlib hasher 2013-05-22 10:28:09 +02:00
Benjamin Dauvergne e21574a739 saml: change length of SPOptionsIdPPolicy.accepted_name_id_format and default_name_id_format
This migration was forgottent when the change was made, if you get
errors about already existing field do:

 ./authentic2-ctl migrate saml 0023 --fake
2013-05-21 11:22:33 +02:00
Benjamin Dauvergne c070652e37 replace ugettext by ugettext_lazy in all models.py 2013-05-21 11:22:33 +02:00
Benjamin Dauvergne 05a5e3568f idp_cas: add attribute provisionning through CAS tickets 2013-05-21 11:22:33 +02:00
Benjamin Dauvergne 5d3bbf8e46 hashers: add SHA256PasswordHasher 2013-05-16 14:15:41 +02:00
Benjamin Dauvergne 98a4fab252 setup.py: update get_version 2013-05-15 15:52:39 +02:00
Benjamin Dauvergne 46338e24c4 change needed version of django-registration 2013-05-13 17:25:58 +02:00
Benjamin Dauvergne f1300e3ce1 urls: fix url patterns 2013-05-13 17:25:58 +02:00
Benjamin Dauvergne 9f72f19a3b attribute_aggregator: handle tuple in USER_PROFILE field list 2013-05-13 17:25:58 +02:00
Benjamin Dauvergne 2b081ee4ed setup.py: use get_version() to generate the version string 2013-05-13 17:25:58 +02:00
Benjamin Dauvergne 0e212ca872 remove check-sdist.sh, comparable functionnality is in the python-entrouvert package 2013-05-13 17:25:57 +02:00
Benjamin Dauvergne 5866751703 distribute local_settings.py.example 2013-05-13 17:25:57 +02:00
Benjamin Dauvergne 3a14d05b0c distribute test files 2013-05-13 17:25:57 +02:00
Frédéric Péters 6ed5254b19 translation: spelling fix 2013-05-10 14:11:59 +02:00
Benjamin Dauvergne ea7f642caf fix a french translation 2013-05-07 23:28:40 +02:00
Mikaël Ates 6351f220db saml: move iso8901 function to saml2utils to be called without dependency on Django. 2013-04-24 23:09:53 +02:00
Mikaël Ates 7dbcd1c991 authsaml2: move to saml utils authnresponse checking and attribute extraction. 2013-04-24 12:51:33 +02:00
Benjamin Dauvergne b5347422b7 settings: fix root logger setting 2013-04-24 11:51:18 +02:00
Benjamin Dauvergne 9133738a00 admin: only expose the user model if it is used 2013-04-24 09:57:18 +02:00
Mikaël Ates 5d362efae0 attribute_aggregator: fix user profile fields discovery without caption (removed in 293256). 2013-04-24 03:18:04 +02:00
Benjamin Dauvergne 3ae50b030e views: in EditProfile view, do not use get_success_url() to launch the synchronization thread 2013-04-23 22:20:25 +02:00
Frédéric Péters 78c9e93609 fix indentation errors spotted by pylint 2013-04-23 18:16:53 +02:00
Benjamin Dauvergne 2f06f7aa80 add a local_settings.py.example 2013-04-23 15:02:07 +02:00
Benjamin Dauvergne 2932566b3d models: improve profile form and profile display 2013-04-23 15:01:44 +02:00
Benjamin Dauvergne 98c85303fd Revert "models: use our own PermissionMixin to set the related name on Permission and Group objects"
This reverts commit effee8600a.
2013-04-17 19:41:01 +02:00
Benjamin Dauvergne 4e39fbbdb2 settings: add CsrfView middleware 2013-04-17 19:41:01 +02:00
Frédéric Péters e78552fbd7 remove unused imports (test) 2013-04-16 22:31:48 +02:00
Benjamin Dauvergne c305e9549f add scripts declaration to setup.py 2013-04-16 12:13:49 +02:00