History | View | Annotate | Download (94.9 kB)
Specify reason when denying project application
Add field `response' in ProjectApplication model.Add option `-m' in project-control command.
Refs #3493
Move managers.py in synnefo.lib.db
This makes it easier to maintain, since it is used in multiple applications(astakos.im and quotaholder_app).
Change output of astakos-quota --sync
Inform specifically which users, if any, have been synced, instead oflisting the whole diff. The latter can be recovered by giving theoption --verify.
Sync only quotas that differ
Refs #3479
Database stack limit issue was triggered by syncing quotas forall users. It is much faster to compare quotas locally and sendfor sync to quotaholder only those that differ.
Astakos logging fixes
Removed with_logging wrapper which inconsistently extracted user/requestarguments. Logging statements placed explicitly within login/logoutmethods.
Fix admin notification logging
Add 'default' capacity to user-set-initial-quota
Fix calculation of initial quotas
Also add all_quotas method in AstakosUser
Refs #3388
Merge branch 'tmp-quota-opt2' into release-0.13
Improve performance of quota operations
Set initial user quota from the command line
Refs #3373
Add option --set-capacity in user-set-initial-quota that setsinitial quota for a specified user/resource pair.
Importing from a file requires option --from-file.
Optimize computation of astakos user quotas
Speed up project-list
Verbal updates wrt help texts of astakos forms
Fix some messages
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.
Change astakos init
Do not override service url if it is not set.
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,...
Unify and rename project management commands
Encode unicode strings in str
Generalize instance checks for integers
Style fixes
New style for resource usage pageTemporary help_text for profile formCss fixes
Notify user for pending registrations
astakos allows users to replace pending created accounts (user thathave not yet passed the activation process) by re-submiting the signupform. A message is now displayed in such cases to remind the user of thepending account.
Helper AstakosUser method
to retrieve the first auth provider assigned to user. Can be used inactivation email template to inform the user about the provider used tocreate the account.
Make sync_projects more robust
Retry qh_add_quota on failure excluding faulty memberships.Call given error view on exception.
Add LEAVE_REQUESTED state on ProjectMembership
Check user status when creating project membership
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