Commit Graph

1365 Commits

Author SHA1 Message Date
Benjamin Dauvergne 9c5bcffa71 locale,templates: dispatch templates and locale files to sub applications
Now to update translations you must explicitely exclude sub-applications
like that:

	../authentic2-ctl makemessages -a -i idp -i saml -i attribute_aggregator -i authsaml2 -i auth2_auth -i disco_service -i auth2_user
2013-07-24 11:33:15 +02:00
Benjamin Dauvergne b8ff8baee9 remove dead application admin_log_view 2013-07-24 11:26:48 +02:00
Mikaël Ates 2305df3319 forms: get fields from model if no USER_PROFILE. 2013-07-23 17:56:27 +02:00
Mikaël Ates 0d17497346 backends: check if ldap settings key exists is necessary at saving.
Default block values are not always set at saving, e.g. at user
   profile saving.
2013-07-23 15:15:30 +02:00
Mikaël Ates a3fead3937 backends: add one mising default value in the ldap settings dict. 2013-07-23 15:06:39 +02:00
Benjamin Dauvergne 090e80e95b saml: when no custom certificat chain is given for validating SOAP endpoints, prefer using urllib instead of the custom code written around httplib
It allows to use http proxies which are not supported by httplib.

Sponsored by http://www.ill.eu/ (Institut Laue-Langevin)
2013-07-23 12:59:43 +02:00
Benjamin Dauvergne f32debf0cf views: ALLOW_ACCOUNT_DELETION setting was renamed A2_REGISTRATION_CAN_DELETE_ACCOUNT
Sponsored by http://www.ill.eu/ (Institut Laue-Langevin)
2013-07-23 12:59:33 +02:00
Benjamin Dauvergne 193ffe1ae6 idp_cas: legacy cas clients only accept cas: as a prefix for XML cas tickets
Sponsored by http://www.ill.eu/ (Institut Laue-Langevin)
2013-07-23 12:59:28 +02:00
Benjamin Dauvergne 7ab2405a88 idp_cas: when the service url already contains a ? character, use a & instead of ? to add new parameters
Sponsored by http://www.ill.eu/ (Institut Laue-Langevin)
2013-07-23 12:59:24 +02:00
Benjamin Dauvergne 667245c560 authsaml2: fix url pointing to the delete federation view in templates
Also gives a name to this url.

Sponsored by http://www.ill.eu/ (Institut Laue-Langevin)
2013-07-23 12:59:17 +02:00
Benjamin Dauvergne 5e73d27fb4 authsaml2: fix bad use of load_federation_temsp() after its signature changed
Sponsored by http://www.ill.eu/ (Institut Laue-Langevin)
2013-07-23 12:59:13 +02:00
Benjamin Dauvergne 757985461e saml,authsaml2: fix source code not adapted to new shema for liberty federations models
Sponsored by http://www.ill.eu/ (Institut Laue-Langevin)
2013-07-23 12:59:04 +02:00
Benjamin Dauvergne 4d29f98272 templates: add missing csrf tokens in the totp_profile.html template
Sponsored by http://www.ill.eu/ (Institut Laue-Langevin)
2013-07-23 12:58:55 +02:00
Benjamin Dauvergne 3768b877f1 templates: comment out use of the autopenid special change password view
Any authentication backend should be able to override the password change
without ressorting to overrinding a template.

Sponsored by http://www.ill.eu/ (Institut Laue-Langevin)
2013-07-23 12:57:36 +02:00
Benjamin Dauvergne abd977cf49 saml/common: adapt lookup_federation_by_name_id_and_provider_id() to new LibertyFederation model 2013-07-18 13:57:21 +02:00
Benjamin Dauvergne fde1c97ef5 saml: adapt common.get_provider_of_active_session() to new LibertyFederation model 2013-07-17 16:55:03 +02:00
Benjamin Dauvergne b4cb1bd505 saml: adapt common.add_federation to new LibertyFederation model 2013-07-17 16:51:11 +02:00
Benjamin Dauvergne fbc8f94644 idp: remove unused model UserProfile 2013-07-17 12:30:57 +02:00
Benjamin Dauvergne a1f05af9bd idp/migrations: restore complete description of the schema, it blocks the automatic creation of new migrations 2013-07-17 12:30:57 +02:00
Benjamin Dauvergne 2d932d7548 locale: update french translation 2013-07-16 18:16:44 +02:00
Benjamin Dauvergne e9203314e5 saml.admin: add variable names in a translated format string 2013-07-16 18:16:27 +02:00
Benjamin Dauvergne 24d89fe380 disco_server: add variable names in translated format message 2013-07-16 18:15:26 +02:00
Benjamin Dauvergne 030f1053d0 attribute_aggregator: remove translation of the empty string
The empty string has a special role in the gettext system and should never be translated.
2013-07-16 18:14:55 +02:00
Benjamin Dauvergne fc53330aa2 idp/saml2: use %r to report dump of logout message in logs 2013-07-16 14:56:45 +02:00
Benjamin Dauvergne 34d6ce184e saml: remove unicity constraints on liberty federation models 2013-07-16 14:54:42 +02:00
Benjamin Dauvergne bd93ce971f make scripts cwd blind 2013-07-15 22:38:08 +02:00
Benjamin Dauvergne f3ff3aeaba change project mailing list email 2013-07-12 10:08:34 +02:00
Benjamin Dauvergne e4fe77431c migrations: adapt all migrations to Django 1.5 custom user models
Migration which were user to go from auth.User to authentic2.User have
been removed.
2013-07-04 02:09:04 +02:00
Benjamin Dauvergne ab0c47aed5 auth2_oath: adapt migrations to Django 1.5 custom user models 2013-07-04 02:09:04 +02:00
Benjamin Dauvergne a194482622 auth2_auth: clean migrations 2013-07-04 02:09:03 +02:00
Benjamin Dauvergne dec409e85e migrations: undo rename as it breaks logs of already executed transactions 2013-07-04 02:09:03 +02:00
Benjamin Dauvergne 3d83ace802 migrations: remove dependency upon a now empty migration 2013-07-04 02:09:03 +02:00
Benjamin Dauvergne 3ffc05d7fe stay compatible with Django 1.4, remove all direct uses of get_user_model 2013-07-04 02:09:03 +02:00
Benjamin Dauvergne 46166ce62f models: create new app around model authentic2.User
Authentic should continue to work with the default user model.
2013-07-03 21:34:58 +02:00
Benjamin Dauvergne 4b01551c6a README.rst: fix installation instructions from pypi 2013-07-01 10:25:28 +02:00
Jérôme Schneider c8cdc8eeb7 debian: update to last master commit 2013-06-28 17:24:54 +02:00
Jérôme Schneider ec79fda0ee Merge branch 'master' into debian 2013-06-28 17:24:01 +02:00
Benjamin Dauvergne 37e9606550 registration_backend: overload register() method to copy all user fields from the registration form 2013-06-26 23:07:05 +02:00
Benjamin Dauvergne 1675b45d2c add developper scripts 2013-06-26 10:03:09 +02:00
Benjamin Dauvergne 32e7d754a9 add a real registration backend 2013-06-26 10:03:09 +02:00
Benjamin Dauvergne 3ac51ebfff jenkins.sh: chmod +x 2013-06-24 17:10:15 +02:00
Benjamin Dauvergne d34ed368b7 add jenkins script 2013-06-24 17:07:56 +02:00
Benjamin Dauvergne d69bca985d saml remove LibertyIdentityDump and related dead code 2013-06-24 17:07:50 +02:00
Benjamin Dauvergne b5c6ae20dd saml: fix reference to authentic2.User in migrations 2013-06-19 18:54:13 +02:00
Benjamin Dauvergne 0932f74602 saml: fix migrations, site field was never added 2013-06-19 17:32:22 +02:00
Benjamin Dauvergne b50f125d7d saml: remove LibertyArtifact.django_session_key whic is clearly useless
Fix bug when sometimes a session as not been created when we want to
return a response using the artifact binding.
2013-06-19 16:05:21 +02:00
Benjamin Dauvergne b1c8a13353 saml: fix wrong schema declaration in migration
imperative migration is ok.
2013-06-19 16:03:43 +02:00
Benjamin Dauvergne e68d8ebc87 saml: remove idff12 code, it was never finished anyway 2013-06-19 13:35:53 +02:00
Jérôme Schneider f482d44413 debian: update configurations (apache and authentic) 2013-06-19 12:11:05 +02:00
Jérôme Schneider 102c75ab71 debain: complete apache example and config file 2013-06-19 11:50:43 +02:00