History | View | Annotate | Download (70.8 kB)
astakos: Improve quota syncing
- Split code that lists and syncs quotas - Merge the latter with qh_sync_users - Move qh_sync_projects in quotas.py; sync only active members - Add missing select for update in project suspend - Clean up quotas.py
astakos: Tests for quota API calls
astakos: Remove command user-set-initial-quota
To change base quota for a specified user: snf-manage user-modify user --set-base-quota resource limit
To import base quota in batch from a file: snf-manage astakos-quota --import-base-quota filename
Rename `initial' to `base quota' in command output....
Revert "astakos: Fix bug in getting membership"
This reverts commit 7ce770be9fd9668fff4088eff2421cbeb0cc311e.
Update astakos tests to use membership id.
fix typo
astakos: Fix one test
Fix race condition in one of Astakos tests.
astakos: Various fixes to tests
Do not user 'assertItemsEqual' method of unittest is only supported inpython 2.7.
Also, some arguments have been renamed.
astakos: Resources metadata improvements
- Allow admin to overwrite default resources presentation data using ASTAKOS_RESROUCES_META setting. dict_merge is used to accomodate admin from declaring all available metadata parameters.- Enforce allow_in_projects resource policy in project application...
astakos: Update projects tests
astakos: Replace some explicit settings imports
importing setting names explicitly makes it hard to write tests thatdepend on specific setting values and polutes the module namespace.
In this commit only settings that are currently used in tests whererefactored.
astakos: Initial tests for project views
Move common test code to snf_django.lib.testing
Update astakos tests
handle new email recipients
Merge branch 'tmp-common-email-recipients' into develop
Astakos email notification improvements
- 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...
Authentication providers improvements
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:...
Auth providers tests additions/updates
Auth providers improvements
- Enrich login/logout messages.- Clear unverified accounts when user adds the same third party account to an existing account.- Other minor improvements.
Delete more obsolete code
Update tests
Proper missing eppn message
Tests fix
Change email process improvements
- 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)
Improve email/username handling
- 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
Proper MODERATION_ENABLED check when invitations are enabled
Keep third party token between signup form errors
Additional multiple auth methods fixes and tests
Merge branch 'devel-0.13' into multipleauthmethods
Conflicts: snf-astakos-app/astakos/im/context_processors.py snf-astakos-app/astakos/im/forms.py snf-astakos-app/astakos/im/models.py snf-astakos-app/astakos/im/target/local.py snf-astakos-app/astakos/im/target/shibboleth.py...
Allow multiple login methods per account