- 23 Apr, 2013 2 commits
-
-
Kostas Papadimitriou authored
importing setting names explicitly makes it hard to write tests that depend on specific setting values and polutes the module namespace. In this commit only settings that are currently used in tests where refactored.
-
Kostas Papadimitriou authored
-
- 08 Apr, 2013 1 commit
-
-
Christos Stavrakakis authored
-
- 02 Apr, 2013 1 commit
-
-
Kostas Papadimitriou authored
handle new email recipients
-
- 27 Mar, 2013 1 commit
-
-
Kostas Papadimitriou authored
- Use project setting SERVER_EMAIL as sender to all email notifications. - Remove astakos specific DEFAULT_CONTAC_EMAIL in favor of snf-common's CONTACT_EMAIL setting. - Remove DEFAULT_CONTACT_EMAIL and ADMINS astakos specific settings in favor of common ADMINS/MANAGERS/HELPDESK email lists which are now provided by the snf-common package. The settings are used as follows: * Project created notification: MANAGERS + HELPDESK * Account created (moderation pending): MANAGERS + HELPDESK * Account activated: MANAGERS + HELPDESK * Feedback: HELPDESK
-
- 15 Mar, 2013 2 commits
-
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
Major authentication provider refactoring to support - Modular and easily configurable messages with common context - Fine grained provider policies to support appling specific policies to users and/or groups Key points: - Use auth_providers.AuthProvider instances where auth provider logic is needed. Instances get properly initialized with the available context (with no user/signup view, with user/login view, with user and identifier/profile view). - All authentication provider messages are now accessed using the get_*_msg AuthProvider attributes. - Provider policies logic is handled from get_*_policy attributes. - All provider messages may be overridden globally or per provider level from settings:: # global change ASTAKOS_AUTH_PROVIDER_NOT_ACTIVE = 'Provider not active' # change only applies to shibboleth provider ASTAKOS_AUTH_PROVIDER_SHIBBOLETH_NOT_ACTIVE = 'Shibboleth is not active' - Provider policies may be overridden in settings:: # ALL users wont be able to add shibboleth login method from their # profile AUTH_PROVIDER_SHIBBOLETH_ADD_POLICY = False - New provider policies profile model added. Profiles can be assigned to a group or/and a specific user. - All tests updated to match the auth providers changes. - New management commands included * user-auth-policy-{add, list, remove, set, show} Manage authentication provider policy profiles. * user-group-{add, list} User group management commands - Updated user-list to optionally display auth provider information
-
- 11 Jan, 2013 1 commit
-
-
Kostas Papadimitriou authored
- Enrich login/logout messages. - Clear unverified accounts when user adds the same third party account to an existing account. - Other minor improvements.
-
- 21 Dec, 2012 2 commits
-
-
Sofia Papagiannaki authored
-
Kostas Papadimitriou authored
-
- 19 Dec, 2012 1 commit
-
-
Kostas Papadimitriou authored
-
- 17 Dec, 2012 3 commits
-
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
- Allow replacement of previously email change requests - Cleanup expired email change requests in change email view - Log email change - Warn user for existing pending requests - Redirect to profile on change email actions (failed or succeded)
-
Kostas Papadimitriou authored
- New helper methods in AstkosUser.objects - Check uniquness between username/email on user creation process - Allow login using both username/email fields - Keep email case intact - Store lowercase email in username field
-
- 13 Dec, 2012 1 commit
-
-
Kostas Papadimitriou authored
-
- 11 Dec, 2012 1 commit
-
-
Kostas Papadimitriou authored
-
- 03 Dec, 2012 1 commit
-
-
Kostas Papadimitriou authored
-
- 30 Nov, 2012 3 commits
-
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-