astakos: pep8 fix
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.
astakos: Remove precursor_application field
Submit a project modification by specifying a project id rather thanan application
astakos: Change project membership schema
Replace ProjectMembershipHistory with ProjectMembershipLog, whichrecords every state transition. Never delete any ProjectMembershipentry; set it instead to an appropriate state.
astakos: Adapt UI to new project schema
Base tables on projects rather than applications; update templates.
astakos: Omit project_id in membership operations
Identify a membership by its id only.
astakos: Lock project rather than chain
astakos: Cleanup checks for membership actions
astakos: Set project-wise resource limit in new app
astakos: Return membership when joining project
astakos: Catch exceptions in submit app views
Ignore exceptions in custom _create_object and _update_object;let the views handle exceptions and specify commit strategy.
astakos: Raise project-specific exceptions on failure
Replace IOError and PermissionDenied with project-specific exceptions.
astakos: Define permission levels for project actions
astakos: Refactor membership checks for conciseness
astakos: Add log info in membership actions
Record user who performed the action and optional reason.
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: Catch unexpected request body in user_catalogs
The request expects a json formatted dictionary.Raise 400 (BadRequest) otherwise.
Merge branch 'hotfix-0.14.3' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-pithos-app/pithos/api/manage_accounts/__init__.py snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py snf-pithos-app/pithos/api/settings.py...
astakos: Update cyclades services in helper script
snf-branding: Expose contact email through branding mechanism
although CONTACT_EMAIL is not a branding setting, we use the branding mechanismto expose it to brandable templates for practical reasons.
This also fixes the missing contact email from all project related emails.
astakos: Use api_method_not_allowed in quota API
astakos: Resume a deactivated project upon approval
When approving a modification, automatically set the project to active,if it has been deactivated.
astakos: Fix quota API test
Sort list before comparing, since ordering in the response data isnot specified. Triggered when run with postgres.
astakos: Fix arg passing in messages
Merge branch 'hotfix-0.14.2' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/views/target/__init__.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...
astakos: Fix arg in terminate function
astakos: Add region value in POST /tokens
Add hardcoded 'default' value in region attribute.
Refs #4086
astakos: Shibboleth wording improvements
- Customized logout success message- Customized add prompt message
Revert "astakos: Improve invalid login handling"
This reverts commit 02c1f22a0f7396a7b2211677db78247586e10805.
astakos: Prevent empty passwords in profile form
pep8 changes
astakos: Improve invalid login handling
avoid redirecting user to signup view. Notify user the login credentials wasinvalid instead.
astakos: Shibboleth improvements
- include shibboleth headers in provider_details- display eppn instead of identifier in profile
astakos: Fix shibboleth headers logging
Merge branch 'feature-pithos-atomic-api' into develop
astakos: Fix api tests (remove obsolete)
astakos: pep8 fixes
astakos: modifications in POST /tokens (authenticate) api call
astakos: Change default region value in POST /tokens
Refs: 4086
astakos: Different image on login page
A different image is shown in the login page when the mainlogin method is 'local' and its form is already expanded.
astakos: Update tests
fix pithos:// redirect params extraction
astakos: Rename Region to region
astakos: Return default region in POST /tokens
Update api call to return a default region for compatibilitywith the keystone api.
Conflicts: snf-astakos-app/astakos/im/views/projects.py snf-cyclades-app/synnefo/logic/backend.py snf-django-lib/snf_django/lib/astakos.py version
Merge branch 'release-0.14' into develop
Conflicts: snf-astakos-app/astakos/im/views/target/redirect.py snf-cyclades-app/synnefo/logic/backend.py version
astakos: Fix call of helper function
astakos: Disallow join/leave for non-alive projects
astakos: Correct plural in 1 pending membership
astakos: Fix listing of approved members
Include leave requested and suspended members in the list of approved.
astakos: return uuid in weblogin
The weblogin used to return the user uuid.However, this in 0.14 version had been removed since the uuidcan be retrieved using the POST /tokens authentication method.However, the old pithos clients have no other wayto get the uuid, so we restore it temporarily.
astakos: Force usage registration during migration
Register usage for astakos.pending_app even if limit is exceeded.
astakos: REDIRECT_ALLOWED_SCHEMES hidden setting
astakos: fix reset password confirmation url
astakos: remove URL-distorting full stops in emails
astakos: Fix third party creation form kwargs handling
view always passes request argument. Avoid propagating it to ModelFormconstructor.
astakos: modifications in redirect view
astakos: Fix regression in signup view
when recpatcha is enabled in astakos settings
Conflicts: version
astakos: Update pithos_public definition in script
cloudbar: Body class "user-not-authenticated "when user has not signed in.
astakos: Typo fix
astakos: Explicit transaction handling in commit_manually views
since django 1.3, when using the ``transaction.commit_manually`` decorator,transaction is required to be closed (using either commit/rollback) even ifonly read db operations are executed from within the wrapped method.
Conflicts: snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/settings.py version
astakos: Fix typo in message
astakos: Remove obsolete versioning from init
cloudbar: Add class to body when user is authenticated
astakos: Fix dangerous list default value
Initialize the argument with the desired list in runtime rather thanload time; set the default to None.
astakos: Proper content type for .kamakirc view
Django response object content_type attribute is not used. Pass desired contenttype in HttpResponse constructor.
astakos: Fix typo in api_access template
astakos: Verbal changes to Dashboard API access page
astakos: Remove default components presentation urls
since component registration requires both api url and web url
astakos: New projects icon for Dashboard Usage tab
astakos: Sent emails appearance fix.
Removing extra lines and spaces from email templates.Decode contact email special characters.
astakos: Add "sign in" link to Sign up page
astakos: Better examples base URLs in helper script
astakos: Document ASTAKOS_USAGE_UPDATE_INTERVAL setting
astakos: fix duplicate test method names
astakos: Alter projects intro message (revised)
astakos: Adding info for other clients in API access page
astakos: change renew token button style (API access page)
branding: Alter projects intro message
astakos: By default exclude pending_apps from usage view
astakos: API access page url fix
remove trailing /tokens from `Authentication URL`
astakos: Some additional tests
astakos: Redirect local login GET requests to login
astakos: Kamaki sample config file view
astakos: Dynamically resolve login_url in login_required
duplicated django user_passes_test and login_required decorators to be ableto dynamicaly resolve the url to which we redirect unauthorized users. Replaceddjango login_required with astakos.im.views.decorators.login_required.
astakos: Fix sqlite-related issues in migration
In migration 0022, ProjectApplication's field `chain' is altered froma plain integer field to a foreign key. This triggers a south commandto create an index for the said field. However, it seems that sqlite...
astakos: test 400 on wrong astakos API paths
astakos: allow empty tenantName in POST /tokens
astakos: Update pithos_public in helper script
astakos: slight change in POST /tokens
tenantName is options in the request input.Howver, if it is provided, the call should check whetherit conforms with the token holder.
astakos: fix tests
Ensure we return cloud faults under any API prefix
astakos: firefox text alignment bug fix for API access page
astakos: Improved style for API access page