History | View | Annotate | Download (87.4 kB)
make astakos-load-service-resources idempotent
astakos-load-service-resources would only load resources correctly once,during migration. Now it can be used at will to re-initialize serviceresources from astakos configuration.
astakos-load-service-resources to honor service display order
approve, deny, dismiss views
At the project application detail, project administrators(ASTAKOS_PROJECT_ADMINS setting) may approve or deny it.A denied application is still viewable by the applicant,until he dismisses it from the same page.
The project administrators' project list includes all projects.
fix project admin permissions
View and dismiss denied applications of an active project
Fix dummy field description
Fix superusers (created by syncdb) command
Case insensitive displayname search
Change display of Chain.PENDING
Move Chain code block before ProjectApplicationManager
Introduce chain state and related methods
Make Chain a proper db table
Keep chain IDs in table Chain and add foreign keys from ProjectApplicationand Project to Chain.
This will allow us to reference a possibly not yet approved projectin a more concise way.
Fix presentation in project template
Check if a user other than the owner can view a project
Remove duplicate function
Remove obsolete user_status and its clients
View for cancelling a pending application
Preserve auth provider order across views
Changes in project_detail
Distinguish project/application view as well asowner/simple user mode
Update Astakos help text message
Change the message on the form in which the userchanges his/her password.
Skip project homepage response validation
Set Project.name None when terminated so that it can be reused
Auth providers fixes
- Respect CAN_REMOVE provider setting- Verbal differences in create password form (based on if user requests to add local password method or just tries to change the password)
Enrich local login method profile display
- Include username/email
Use admin version of state display
Changes in state display, plus some queries
Use locking function as a decorator
Several auth providers fixes/improvements
- Allow third party signup if existing account with the same third party identifier is not yet verified. Subsequent registrations will replace previous ones (pending/unverified accounts will be removed).- Merge common third party code in target/__init__.py...
Change feedback & user_catalogs astakos && pithos api calls
Option to cancel membership request
wip More progress with chains
wip Progress with chains
wip Project views by chain_id
Checks for operations on applications
Fix membership checks
Output log for project-sync
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