History | View | Annotate | Download (78.2 kB)
Check sync status only for active users
In sync_users log quotas computed by astakos
Provide project details command
Collect reporting info for sync_projects()
Split management command into astakos-quota-verify and project-sync
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.
Merge remote-tracking branch 'synnefo/feature-projects' into feature-astakos-newstyles
Improvements in auth_methods js in profile page
Management command to check and perform project expiration
Display project state
Make is_alive equal to not is_terminated
Rename PROJECT_STATE_DISPLAY to APPLICATION_STATE_DISPLAY
Check if local provider supports email changet
Some code refactoring
Exclude local accounts in unverified accounts cleanup
If an authenticated user tries to add a third party login method, resetexisting pending users created using the same third party identifier.
Add an assertion check in all_quotas
Compiled project queries for optimization
Set membership inactive when syncing in PROJECT_DEACTIVATED state
Fix typo
Revert "Remove unneeded related_names in ProjectMembership"
This reverts commit e2a15b6a507f716f47c960003089da2f0e32fa2e.
Remove unneeded related_names in ProjectMembership
DB index for ProjectApplication state
fix broken intDecimalField initialization
add pending members indication in projects
Fix TypeError: quota_values() takes no arguments (1 given)
Implement project suspension and resumption
Merge membership's SUSPENDED and TERMINATED states into PROJECT_DEACTIVATED.
Add states DISMISSED and CANCELLED in ProjectApplication and related callsFix defaults in DateTimeFields
Fix check for conflicting projects in approve
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.
fix project table queryset, minor other fixes
Project action fix
show leave action also when user requested to join the project
fix user_visible_by_last_of_chain()
ProjectApplication.objects.user_visible_by_last_of_chain()would erroneously list more than one application per chain.This was due to this behaviour (bug?) in django:
x = objects.values('chain').annotate(last_id=Min('id'))...
Project details fixes
- Proper labels based on project application status
Additional project views fixes
Merge remote-tracking branch 'synnefo/latest-quota' into latest-quota-new-states-views
Remove obsolete AstakosUser email, is_active unique together check
New states views Part 1
Set a project application REPLACED only when PENDING
Application state has historical significance:we need to keep track which have been APPROVED/DENIED.
Implement application denial
Change projects, eliminate development migrations
Change Project's state field and ProjectMembershipHistory's person field;replace all migrations starting 0015 with a single new one.
Need to check for missing data migrations.
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.
Composite index chain, id in project application table
Stylistic change
Consider unlimited project members
Do not add owner to the project during approve
Merge branch 'latest-quota' of https://code.grnet.gr/git/synnefo into latest-quota
Conflicts: snf-astakos-app/astakos/im/forms.py snf-astakos-app/astakos/im/functions.py
Provide commands for importing/exporting existing user resource policies
No need to set precursor application to REPLACED in approve()(it is set when submitting a new application)
Add an id for a chain of applications; this is also the project id
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.
wip Generalize project state
astakos-qh-sync: skip email-unverified users
Astakos-qh-sync will create quotas for all eligible users.Users that have unverified emails are not considered eligible.When users are activated by an admin via user-update --set-active,their email is also marked as verified, therefore they become eligible.
Signup workflow changes
- Validate signup email over verified emails. Additional signups with an existing unverified email will replace those entries.- Redirect on signup success instead of just rendering a template.
Missing patch
wip Simplify submit/update application
Refactor submit application; always mark precursor as REPLACED
Delete old version of submit
Projects list improvements
Project details view improvements
Allow empty project start date
Redefine IntDecimalField to allow support for south migration;apply the new field to astakos.im.ProjectResourceGrant
Fix project list queryset
update project creation form texts
Avoid duplicate entries in user projects list
Fix membership admin actions
- Require POST request in membership reject/remove views- Fix members table actions cell content- Fix reject/remove actions urls
Fix user projects filter
Membership policies kept in settings instead of db
Internationalize project application help text fields
str for Project and ProjectMembership
Project deactivation/termination
Do not allow user whose project acceptation ispending to leave the project.
Merge branch 'feature-astakos-tables' into latest-quota
Merge branch 'latest-quota' into feature-astakos-tables
Conflicts: snf-astakos-app/astakos/im/models.py snf-astakos-app/astakos/im/views.py
Merge remote-tracking branch 'synnefo/feature-astakos-tables' into feature-astakos-tables
Conflicts: snf-astakos-app/astakos/im/tables.py
Helper methods to identify user/project relation
More informative member join/leave policies
Generalize member limit violation check
Commit before trying to lock, to avoid blocking
Remove foreign key constraints from ProjectMembershipHistory
Add ForUpdateManager for Project and ProjectApplication
Select for update existing Project in approve
Access resource presentation through the Resource model
remove astakos obsolete code for billing & timeline
Astakos tables fixes
Projects list/search refactoring
Conflicts: snf-astakos-app/astakos/im/templates/im/projects/project_list.html snf-astakos-app/astakos/im/views.py
Service token should not expire by default
Initial use django-tables2
improves table view development by spliting table data access and presentationonto separate layers.
Do not attempt to add owner into a project when updating an existing one
Rewrite quotaholder calls
Delete more obsolete code
Project update and suspend functions
Merge project_all and project_search view - Exclude project where user is accepted member
Better check for project inequality
Ack serials even when there are no memberships
Call reset_sync after non-successful qh call
Set new project name in approve