Optionally display projects in astakos menu
New ASTAKOS_PROJECTS_VISIBLE setting (defaults to False) added tocontrol whether the projects menu should be visible in astakos userviews.
Specify reason when denying project application
Add field `response' in ProjectApplication model.Add option `-m' in project-control command.
Refs #3493
Change helper function to allow multiple arguments
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.
Avoid logout of unauthenticated users
Fix shibboleth logging
Fix+move HTTP quotaholder client in synnefo.lib
Allow per-service configuration of the (http) quotaholder client.Kamaki is no longer needed in service (or ganeti) nodes,because the client has been moved to snf-common.
Also fix the default quotaholder settings for pithos backend to be disabled...
Inform user we are working in the background
Print a message about astakos-quota calculating all user quotas,which on a big system takes some time.
Astakos activation fix
Additional check to avoid verified inactive users reactivation
Classic login form fix
hide prompt for additional login methods if no such methods exist
Astakos logging fixes
Removed with_logging wrapper which inconsistently extracted user/requestarguments. Logging statements placed explicitly within login/logoutmethods.
Fix admin notification logging
Include auth providers basic logging support
Add logging statements on some important auth providers operations.
Complete auth providers logging support will be merged from thefeature-astakos-authpolicies branch which also includes additional authproviders improvements.
astakos-quota: allow syncing with --user
Add 'default' capacity to user-set-initial-quota
pep8 fixes
List quotas for a specified user
Refs #3389
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
Rename option --force to --no-confirm for clarity
Astakos feedback form fixes
- Include uuid in email- Response redirect after on successful form submission
Revert astakos authenticated api
Include groups, auth_token information in authenticated api response.These attributes are required by cyclades helpdesk app.
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.
Classic signup form fix
Expand form content by default when classic module is the only one set.
Fix astakos stale session messages
Consume session messages in get_services api response. When get_services isloaded from an astakos page, messages should have already been consumedin the html response. When get_services is loaded from anotherdomain/service we consume them in get_services view so that no stale...
New setting to redirect after successful login
redirect to ASTAKOS_LOGIN_SUCCESS_URL after successful login when nonext parameter is set. Defaults to /im/landing
Reverse view typo
astakos.im.views.home does not exist
fix and better document quota export/import
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.
Prevent changes of readonly user profile fields
some user profile properties require special actions to be performed bythe user in order to be altered. Additional workflows are provided forthese properties to be changed (e.g. email verification urls/views for...
Bypass call to quotaholder on an empty input
Remove astakos logger from astakos settings
Loggers for all synnefo components should be configured insnf-webproject setting file '10-snf-webproject-logging.conf'.
Fix reference of management command in template
Rename synnefo.local -> example.synnefo.org
As determined by a spontaneous committee, based on
- .local is used
- 'example' strongly hints to configuration action
- synnefo.org is under control.
Bug fixing
Create user uuid for inactive accounts
Add missing import
Display name of terminated projects
cleanup astakos settings
Fix astakos settings documentation
Change astakos init
Do not override service url if it is not set.
Ensure existence of non-aborted transaction before unlocking
Use proper logging level on exception
Create membership without causing DB error on existence
Update projects stress test
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,...
Local login prompt message fix
Replace dummy messages
Fix change email text
Update email change email content
- Include EmailChange instance in template context- Email body improvements
Unify and rename project management commands
Reorder fields in user-show
pep8 improvements
Log errors in retry context
Encode unicode strings in str
Automate the stress test for projects
Improve project command help messages
Do not expose names of project members
Generalize instance checks for integers
Style fixes
New style for resource usage pageTemporary help_text for profile formCss fixes
Show project applicant info
cmd version of project context
Edit project management command help messages
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.
Remove non-existing message use
A bit of cleanup in login templates
Make sync_projects more robust
Retry qh_add_quota on failure excluding faulty memberships.Call given error view on exception.
fix whitespace (tabs->spaces)
Fix formatting of projects
fix syntax errors
Refix project list formatting
do not redirect after login
ui compatibility: translate uuids to display names
Add LEAVE_REQUESTED state on ProjectMembership
Utility function get_project_by_name
Testing scripts for astakos projects
Check user status when creating project membership
Fix shibboleth logout message
Override logout message for shibboleth auth provider. Suggest user to close allbrowser windows until we find a better way to logout from Shibbolet.
Notify for project enrollment
Add membership notifications
Change message for member removal
Fix user-add management command
set-password & active options
Ensure only verified users are added to a project
since users get registered at quotaholder during the activation process(qh_register_user_with_quotas call in `activate` method -- im/functions.py).
An additional safer check in `create_membership` method might be...
Unify astakos management command formatting
Remove unwanted whitespaces
Fix project form texts
Do not allow negative project member number
downgrade spammy logger.info() to logger.debug()
add capacity to service resource reserves
This is not normally needed, since all resources circulating throughthe system must be allocated from the initial reserve quantities.However, if somehow this consistency is broken, and more quantitiesare released to the reserves than have been allocated from them,...
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