Commit Graph

974 Commits

Author SHA1 Message Date
Mikaël Ates 865bd1ece5 Release 2.0.1 2012-04-27 14:03:10 +02:00
Mikaël Ates afaaa86f18 Update release version. 2012-04-27 13:37:42 +02:00
Mikaël Ates adbd86db92 Update package files for distribution. 2012-04-27 13:37:13 +02:00
Mikaël Ates 26652c6c83 Update documentation version. 2012-04-27 13:36:34 +02:00
Mikaël Ates 35b524db38 Filter private key of Lasso Dumps before logging.
The private key in the XML dumps of Lasso is filtered before logging.
2012-04-27 11:20:07 +02:00
Mikaël Ates 8a8776475a Remind that collectstatic is not necessary in debug mode. 2012-04-27 11:19:03 +02:00
Benjamin Dauvergne 8515e6b555 get_and_delete_messages() was deprecated in Django 1.2 and removed in Django 1.4, fix that
Fixes #1390
2012-04-26 11:52:21 +02:00
Mikaël Ates d87322cc30 [idp/idp_openid] Don't display secret of associations in admin.
The secret attribute of Association is made not editable.
    It is then not editable and displayed in admin interface
    as this kind of objects should not be added in admin.
2012-04-25 15:32:16 +02:00
Mikaël Ates d8c75104ac [idp/idp_openid] Remove vim instruction in prologue. 2012-04-25 12:24:49 +02:00
Mikaël Ates f38ddc57c5 [idp/idp_openid] Remove auto_now_add. 2012-04-25 12:23:09 +02:00
Mikaël Ates c43e5c0f67 [idp_openid] Disable HTML encoding of openid metadata. 2012-04-25 10:50:00 +02:00
Mikaël Ates 2a3765b9e0 [doc] Add a word about the SAML SP protocol policy. 2012-04-25 10:42:11 +02:00
Mikaël Ates c2132accd6 Use csrf token in each form.
Due to the removal of the CsrfMiddleware in Django 1.4, it is required to
    use {% csrf_token %} in all forms.
2012-04-25 10:24:52 +02:00
Mikaël Ates 172f31e990 CsrfMiddleware removed and CsrfViewMiddleware by default.
In Django 1.4 CsrfResponseMiddleware and CsrfMiddleware are removed.
    The {% csrf_token %} template tag inside forms to enable CSRF protection
    must be used instead.

    CsrfViewMiddleware remains and is enabled by default.
2012-04-24 17:17:36 +02:00
Mikaël Ates dfaecf2bf6 Update settings with LOCALE_PATHS.
Automatic discovery of translation is deprecated. It is now required
    to set the the LOCALE_PATHS in the settings.
2012-04-24 16:59:48 +02:00
Mikaël Ates 7ff08a046a README and doc updated, dependency on Django 1.4. 2012-04-24 16:33:04 +02:00
Mikaël Ates a3ee9ce3c0 ADMIN_MEDIA_PREFIX in settings deprecated with Django 1.4.
Since Django 1.4, the app django.contrib.admin respects the conventions
    for static files included in apps managed by django.contrib.staticfiles.

    See https://docs.djangoproject.com/en/dev/releases/1.4/ for details.
2012-04-24 16:24:21 +02:00
Mikaël Ates e9c36735ed [doc] Update part on the debug-toolbar-dependency. 2012-04-24 16:13:17 +02:00
Mikaël Ates 0ca26b7fa0 [doc] Update download page. 2012-04-24 15:51:04 +02:00
Mikaël Ates 2cf3fbb26c [doc] Authentic 2 SAML2 SP, how a transient nameID can be handled. 2012-04-19 17:46:48 +02:00
Mikaël Ates 49f03a339e [doc] Fix inconsistency on the SAML2 SP and IdP configuration. 2012-04-19 17:46:48 +02:00
Benjamin Dauvergne ccc0d0b337 [utils] fix bug in cache_and_validate
Thanks to Jean Christophe André for the patch.

Fixes #1359
2012-04-18 21:19:16 +02:00
Benjamin Dauvergne d6929fa152 Remove dependency on openid in the base template (bis)
Fixes #1357
2012-04-18 10:37:21 +02:00
Benjamin Dauvergne cc70ed72b2 Remove dependency on openid in the base template
The openid_meta template tag is replaced by a template context processor
which more appropriate for a variable which must be used on every
frontend page.

Fixes #1357
2012-04-17 21:38:04 +02:00
Mikaël Ates e77b331524 [idp][saml] pep review on saml2_endpoints. 2012-04-16 09:41:16 +02:00
Mikaël Ates 5ba8aba0ea [authsaml2] pep8 review on saml2_endpoints. 2012-04-14 13:55:58 +02:00
Mikaël Ates 7b3607d583 [authsaml2] Remove uncessary if statement. 2012-04-13 19:34:22 +02:00
Mikaël Ates 52d311af02 [authsaml2] Allow to reask for authentication when a transient nameID is received.
Up to now, the only SAML2 SP behavior of Authentic 2 when a transient
    nameID was received was to open an anonymous session.
    That corresponds to the option "Behavior with transient NameID"
    of an "identity provider options policy" set to "Open a session".

    Now we implement the option set to "Ask authentication". That allows
    to ask for a user authentication even when a valid assertion is received
    containing a transient nameID. That may have sense for instance if
    the SSO login is used only to receive signed attributes for
    users with existing accounts.
2012-04-13 16:45:32 +02:00
Mikaël Ates 2edb7a305d [idp][saml] Don't ask user consent for federation when a transient nameID is served.
We state that the user consent for federation should not be asked by
    the idp if a nameID is served.

    We previously check if the user was a transient one to determine
    if we should ask the consent.
    However, what is important about the consent is not if the user is a
    transient one but rather if we provide a transient nameID.
    Obviously, if the user is a transient one, we only provide transient
    nameIDs.
    But now consent is also skipped with not transient users for which
    a transient nameID is served.
2012-04-13 16:28:58 +02:00
Mikaël Ates cb002e6f4f [doc] Aword on debug mode by default, statics and the debug toolbar.
The DEBUG mode by default is a temporary choice to have the users
beginning with Authentic 2 and using the development server not be
disappointed by the static files not served.

The Django Debug Toolbar is a dependency in the DEBUG mode.
2012-04-12 23:29:51 +02:00
Mikaël Ates bd96987b19 The debug-toolbar dependency in DEBUG mode. 2012-04-12 23:29:33 +02:00
Mikaël Ates 156eb57be5 [idp] Don't try to add data to profile when not found. 2012-04-12 10:06:38 +02:00
Mikaël Ates 643a99013f [idp] Remove useless OrderedDict.
The use of OrderedDict was not necessary and was incompatible with
python2.6.
2012-04-11 16:24:27 +02:00
Benjamin Dauvergne e4f164384f Fix authentic2.idp.saml.backend.SamlBackend.service_list()
Do not forgot to accumulate generated service records.

fixes #1316
2012-03-27 11:37:00 +02:00
Benjamin Dauvergne 7434bd51a7 [setup.py] remove requires 2012-03-24 08:57:44 +01:00
Mikaël Ates 516df82c8a Enable debug mode by default.
For now, it makes easier to start with authentic.
2012-03-23 16:09:12 +01:00
Mikaël Ates 9a39d233d6 Fix typo. 2012-03-23 15:59:39 +01:00
Mikaël Ates 5772497d32 [attribute_aggregator] Fix error at profile creation with transient users. 2012-02-22 16:58:40 +01:00
Mikaël Ates d8ec3b27b5 Remove endline space in settings. 2012-02-22 14:34:30 +01:00
Jérôme Schneider 609b9c146e Disable debug by default 2011-12-30 11:55:46 +01:00
Benjamin Dauvergne 461e390561 Reference deb.entrouvert.org for installing Lasso 2011-12-29 19:39:30 +01:00
Benjamin Dauvergne 7b34bd1e32 Remove instruction about installing django-registration as it is included in authentic2
django-registration is badly maintained currently, a fork exists named
django-registration2 but it is incompatible with django-auth-openid as
it changed some url internal names. For now we must consider
django-registration an internally distributed dependency. The copy in
authentic/vendor/registration/ should be updated regurlarly.
2011-12-29 19:36:49 +01:00
Benjamin Dauvergne 070b42addc Add instructions about python-ldap when install django_auth_ldap 2011-12-29 19:36:49 +01:00
Benjamin Dauvergne 6011517fe6 [idp&attribute_aggrator] limit dependency on python-ldap 2011-12-29 19:36:49 +01:00
Mikaël Ates f5e9e59844 Update translations. 2011-12-26 10:14:40 +01:00
Mikaël Ates a4097de392 [attribute_aggregator] Enhance display name in mapping. 2011-12-26 10:13:57 +01:00
Mikaël Ates 2570a6708a [attribute_aggregator] Remove unnecessary extensive use of ugettext. 2011-12-23 18:41:19 +01:00
Mikaël Ates 39c9402e93 [attribute_aggregator] Remove unnecessary parenthesis in syntax values. 2011-12-23 18:17:17 +01:00
Mikaël Ates 92e7c373de [doc] Missing installation instruction. 2011-12-23 08:14:02 +01:00
Mikaël Ates 95b0ef6c3c Release 2.0.0 2011-12-22 22:03:26 +01:00