History | View | Annotate | Download (28.2 kB)
Astakos logging fixes
Removed with_logging wrapper which inconsistently extracted user/requestarguments. Logging statements placed explicitly within login/logoutmethods.
Fix admin notification logging
Optimize computation of astakos user quotas
Add per-user limit on pending applications
Add UserSettings model for storing integer-valued settings.If an entry is missing, a default synnefo setting is consulted.
The limit can be set/unset with snf-manage user-update.
Bug fixing
Create membership without causing DB error on existence
Make ForUpdateManager thread-safe
The manager held a global flag `_for_update' on a single manager object,which could be read or set by multiple threads.
select_for_update() is now provided by a subclass of QuerySet.It must be used as the last modifier of a query set,...
Fix change email text
Update email change email content
- Include EmailChange instance in template context- Email body improvements
Automate the stress test for projects
Generalize instance checks for integers
Add LEAVE_REQUESTED state on ProjectMembership
Utility function get_project_by_name
Check user status when creating project membership
Notify for project enrollment
Add membership notifications
Ensure only verified users are added to a project
since users get registered at quotaholder during the activation process(qh_register_user_with_quotas call in `activate` method -- im/functions.py).
An additional safer check in `create_membership` method might be...
fix project admin permissions
Restrict argument of approve_application() to application id
Remove obsolete function get_project_id_of_application_id
View for cancelling a pending application
Changes in project_detail
Distinguish project/application view as well asowner/simple user mode
Use custom project_transaction_context in project views
Change feedback email sender and body
Option to cancel membership request
wip More progress with chains
wip Project views by chain_id
Checks for operations on applications
Fix membership checks
Checks for membership functions
Fix unicode urlencoding in feedback call
Better log printing
Advances in syncing quotaholder with astakos
Factor out trigger_sync() as lock_sync() to be used for othersync processes in addition to sync_projects().Implement sync_users(), which registers users and their quotas.Use both sync processes in astakos-qh-sync management command.
Management command to check and perform project expiration
Implement project suspension and resumption
Merge membership's SUSPENDED and TERMINATED states into PROJECT_DEACTIVATED.
Remove unused update_application()
Add states DISMISSED and CANCELLED in ProjectApplication and related callsFix defaults in DateTimeFields
Changes in registering to quotaholder
Add an 'uplimit' (default) field in Resource;change AstakosUserQuota fields to IntDecimalField;pass all four limits of initial quotas to the quotaholder;register services and resources explicitly upon creation;a wrapper for get_quota.
Implement application denial
Register a user to quotaholder only when is activated
New state handling for astakos projects and memberships
Distinguishes is_active, is_pending flags from actual states in ProjectMembership;likewise is_active, is_modified flags in Project.Splits syncing in pre-process, actual syncing, and post-process.
Refactor notifications
Remove bypass checks; refactor some checks
Check user credentials in submit_application
Missing var
wip Simplify submit/update application
Refactor submit application; always mark precursor as REPLACED
Fix typo
Fix policy checking
Perform membership checks during add member form validation
Fix a dict iteration
Fix join/leave policy checks
Membership policies kept in settings instead of db
Project deactivation/termination
Add member limit check in do_join_project
Fix some arg names
Simple refactor: do_* methods always take a project_id argument;select_for_update for project and membership
Delete more obsolete code
Project update and suspend functions
Fix leave project in case of auto_accept policy
Separate function for enroll member
Fix typos
Fix member join when join policy is auto_accept
Fix add_quota, use user id as quotaholder entity
Several fixes
Trigger syncing from the views
Fix notification error messages
Merge branch 'devel-0.13' of https://code.grnet.gr/git/astakos into latest-quota
Conflicts: snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/notifications.py snf-astakos-app/astakos/im/urls.py snf-astakos-app/astakos/im/views.py
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)
Avoid verbose logging output
Conflicts: snf-astakos-app/astakos/im/forms.py snf-astakos-app/astakos/im/management/commands/service-add.py snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/models.py...
Single model for ProjectApplication & Definition - Membership sync
Set sent_activation date on user activation
in case admin activates user skiping email activation process
User state fixes
- Never reset activation_sent date- Check for inactive users too for email/username uniqueness- Check both email/username uniquness in user creation process- Activated users should have both email_verified/activation_sent fields set
Progress VI
Update snf-manage commands in email templates. Fix authentication token renewal.
Fix import error in astakos.im.functions
Merge remote-tracking branch 'origin/0.12' into devel-0.13
Conflicts: snf-astakos-app/astakos/im/activation_backends.py snf-astakos-app/astakos/im/api/admin.py snf-astakos-app/astakos/im/auth_backends.py snf-astakos-app/astakos/im/forms.py snf-astakos-app/astakos/im/functions.py...
Flush other user sessions during password/token change
Refs: #3007
Refine shibboleth signup mechanism
Refs: #3041
Back up file
Fix group creation summary view
Merged demo
Merge remote-tracking branch 'origin' into dev
Conflicts: snf-astakos-app/Changelog snf-astakos-app/README snf-astakos-app/astakos/im/forms.py snf-astakos-app/astakos/im/functions.py snf-astakos-app/astakos/im/settings.py snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js...
merge with 0.6.4
merge with origin 0.6.4
Fix code formatting to conform to the PEP 8 style guide
Inject user email in notification mail subjects
Configurable subjects for all emails send by astakos
use django ADMIN & SERVER_EMAIL settings instead of DEFAULT_ADMIN_EMAIL & DEFAULT_FROM_EMAIL
move aquarium listener in endpoints
remove unused imports & code refinement
Progress VIII
send admin notification upon group creation
change helpdesk notification email subject
named reverse urls
Preserve local password for shibboleth users
Bug #2535
call ``send_greeting`` from ``switch_account_to_shibboleth`` instead of ``activate`` view
rewrite ``activate`` view
Send helpdesk notification on account activation
Refs: #2674
Merge branch 'refs/heads/0.6'
Conflicts: docs/source/backends.rst docs/source/conf.py docs/source/devguide.rst
Configurable enable/disable additional logging
Refs: #2448