History | View | Annotate | Download (7.3 kB)
astakos: Sync project-based quota
Update quota code to take into account the differentiated sources.There is no more need to lock the user when updating quota; lockingthe project is now adequate.
Update quota listing in management commands; introduce option --quota in...
astakos: Adapt to new project/app scheme
astakos: Identify projects with a uuid
Introduce field `uuid'; use it to refer to projects in the API and themanagement commands.
astakos: List quota for accepted users only
Don't attempt to show quota for non-accepted users, since they don't haveany.
astakos: Enhance quota listing
Enable filtering quota by resource, over limit status, usage andlimit values.
astakos: Simplify project schema
Applications now point to a project (rather than an extra model Chain).A Project is created upon submitting an application; it always points toa single `reference' application.
Model Chain is kept as a sequence to generate project ids.
Fix stale import statements
Commit 7cfc0ce moved code from webproject to snf_django. This commitfixes some stale imports that skipped renaming.
snf-django: Move ListCommand to snf-django
snf-webproject contained the generic ListCommand, and because of this ithad a dependency from snf-django-lib. This commit moves this command fromsnf-webproject to snf-django-lib and removes this dependency. Also,...
astakos: Remove invitation management commands
Also add a notice in docs that inviting is currently disabled.
astakos: Cleanup management commands' common file
astakos: Support units in resource-related commands
Add library synnefo.util.units for parsing numerical valueswith an optional unit suffix and printing integer values basedon a given style.
Styles `b', `kb', `mb', etc allow printing in the respective multiples...
astakos: Include project membership info in commands
`user-show --projects': Memberships and ownerships for a given user in separate tables `project-show --members': Members of the given project
astakos: Improve output of quota commands
astakos: Add AstakosUser status_display property
the property provides a status outline of the current user status.
astakos: Remove code handling UserSetting
Keep UserSetting model; to be removed in a future version.
astakos: Do not show obsolete user settings
Also fix printing user quota.
astakos: Rename astakos-quota command to quota
Also replace `quotas' with `quota' in strings and command line options.
astakos: List quotas in user-show with `--quotas'
Refs #3530
Use the same utility function as astakos-quota. Update the latterto a SynnefoCommand.
Merge branch 'feature-change-astakos-commands' into feature-quotas
Conflicts: snf-astakos-app/astakos/im/management/commands/resource-list.py snf-astakos-app/astakos/im/management/commands/service-list.py snf-astakos-app/astakos/im/management/commands/service-modify.py...
Rename users_quotas to astakos_users_quotas
Minor changes in astakos commands
Change astakos show commands
Adjust astakos to new holding design
Simplifications due to removal of quantity and merging capacity into holding.Also make sure that holders and resources are represented as strings inquotaholder calls.
Move quota-related code out of models.py
Intention is to collect all quota-related code to a single file.
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.
Reorder fields in user-show
pep8 improvements
Change astakos user list & show commands.
Include uuid in user-list & search user also by uuid in user-show.
Display resource quota in user-show command
Provide project show command
Merged demo
Rename management commands