pep8 fixes
List quotas for a specified user
Refs #3389
Rename option --force to --no-confirm for clarity
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.
Add display options in user-list
Refs #3374
Add options --uuid, --displayname, --active, and --filter-by.filter_results() is copied locally to avoid importing from cyclades.
Improve performance of user-list
Prefetch auth providers for all users and store themin a per-user dictionary.
fix and better document quota export/import
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.
Display name of terminated projects
Unify and rename project management commands
Reorder fields in user-show
pep8 improvements
Encode unicode strings in str
Improve project command help messages
Show project applicant info
cmd version of project context
Edit project management command help messages
Fix formatting of projects
fix syntax errors
Refix project list formatting
Fix user-add management command
set-password & active options
Unify astakos management command formatting
Changes in project management commandsto better expose a pending application
Fix superusers (created by syncdb) command
Restrict argument of approve_application() to application id
Change option to --check-expired
Remove call to uenc
Show `unlimited' max members
Reintroduce --app in project-show
Chain-based project management commands
Fix encoding handling in astakos commands
Change astakos user list & show commands.
Include uuid in user-list & search user also by uuid in user-show.
Rename management commands for clarity
Rename project-approve and project-deny to application-approve andapplication-deny, respectively, to make it clear that the commandsexpect an application ID.
typo fix
Display resource quota in user-show command
Fix user-add --active command
Call activate function to send also the user quota limits.
Handle project-show invalid input
Raise CommandError there is no such project
Fix syntax errorx
Use admin version of state display
Enhanced project-show
Use custom project_transaction_context in project views
Change status in project_list
Output log for project-sync
Provide project show command
Better log printing
Print log in astakos-quota-verify
Split management command into astakos-quota-verify and project-sync
Remove obsolete management command
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 'develop' into feature-projects
Needed for building devflow packages from feature-projects.
Fix messages
Management command to check and perform project expiration
Optimize project-list query
Note that select_related() does not automatically bring`related_name's, such as ProjectApplication.project.Need to specify select_related('project'), which brings`project' (but not `owner', or other related field).
Fix typo
Fix bug in user-set-initial-quota command
Fix AttributeError: 'AstakosUser' object has no attribute 'quota'
Include uuid in user-details command output
Implement project suspension and resumption
Merge membership's SUSPENDED and TERMINATED states into PROJECT_DEACTIVATED.
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
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.
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
Register a user to quotaholder only when is activated
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.
Change layout of project-list
Service management commands update
- New service-update command- service-list now displays service order field
Better output for project-list
Project deactivation/termination
Service token should not expire by default
Fix user details command
Command to trigger syncing
Delete more obsolete code
Project update and suspend functions
Fix activation_sent assignment in user update
Fix add_quota, use user id as quotaholder entity
Fix models
Merge branch 'devel-0.13' of https://code.grnet.gr/git/astakos into latest-quota
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
Identation fix
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
new management command
Allow follower application with same deifinition name approvement
Update project-list command
Project Notifications
Fix sequence of project applications & project search
Manual transaction management in project application approve command
Progress VII
Progress VI
Progress IV
whitespace tab fix
Progress I
Extend/Update management commands
Update management commands
to conform with multiple auth providers feature
Case insensitive email checks
#2883
Fix middleware AtributeError in case of non astakos requestFix service-add command: check callpoint result
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...
Provide management command for cleaning up both inactive sessions and session catalog entries
Fix type in group list command