astakos: Handle pending third party provider validation issues
skip validation errors and reset invalid field values for received usermetadata.
astakos: Update tests
astakos: fix tests after verbal message changes
astakos: Update astakos tests
astakos: Handle third party unverified user change password form submition
astakos: Improved email validator
Custom EmailValidator class backported from django 1.6
astakos: Existing third party identifier handling in signup
remove both existing third party authentication and unverified user entrieswhen the third party identifier gets used.
astakos: Improve invalid activation code handling
display error message instead of returning a 404 response
astakos: Auth provider presentation fix
prevent encoding errors
astakos: Set initial signup values if available
prefill third party signup form with initial values (first name, last name,email) if available in the third party provider response.
Conflicts:
snf-astakos-app/astakos/im/views/target/shibboleth.py
astakos: Shibboleth EPPN migration functionality
Prior to this commit astakos used the mod_shib2 EPPN header value as theunique identifier for associating shibboleth idp users to astakos user entries.
This commit alters this behaviour and from now on astakos resloves unique...
astakos: Log shibboleth exception and merge fixes
astakos: Fix test
astakos: Minor improvements in validate token api call
Add tests for validate access token endpoint
astakos: Additional tests for validating access token
snf_django: Change error status code if request method is not valid
Return 405 (NotAllowed) instead of 400 (BadRequest)Add Allow header in the response containing the list of valid methods
astakos: Refactor user creation
Provide auth.make_user() as the single way to create a new user. Thisfunction is responsible to set all automatically generated fields, such asusername, uuid, and token. Clean up AstakosUser.save(), that used toupdate these fields, and remove AstakosUser.__init__(). Remove trigger...
astakos: Reset user sign flags when adding new terms
When new terms are added, set has_signed_terms=False for all users, forcingthem to accept the new terms. If there are no terms, a new user is createdwith has_signed_terms=True.
With this change we can skip querying the terms when authenticating a user,...
astakos: Use TestCase instead of TransactionTestCase
We need to be sure that code runs in a transaction (provided by TestCase).If we need in some case to test the transactional behavior itself,we could there use TransactionTestCase.
astakos: Modify base quota in bulk
Add option `--all' in command user-modify to support setting base quotafor all users. Exceptions can be specified with `--exclude'.
Also select user for update in user-modify.
astakos: Preserve existing quota on default change
View the resource defaults as a skeleton to be consulted when acceptinga new user. All users keep their quota in AstakosUserQuota.
Operate resource-modify in bulk, in order to avoiding updating thequotaholder separately for each resource.
astakos: Add resource visibility flags
Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.The former entails the latter.
Merge branch 'feature-cyclades-networks' into develop
Conflicts: snf-cyclades-app/synnefo/api/management/commands/server-inspect.py snf-cyclades-app/synnefo/app_settings/urls.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/backend_allocator.py...
astakos: Fix user status in project test
Set users as moderated, so that they have proper quota.
Merge branch 'master' into develop
Conflicts: Changelog astakosclient/astakosclient/keypath.py ci/utils.py docs/admin-guide.rst snf-astakos-app/astakos/im/cookie.py snf-astakos-app/astakos/im/functions.py snf-astakos-app/astakos/im/quotas.py snf-astakos-app/astakos/im/views/projects.py...
astakos: Relax checks in resource registration
Allow registering a resource for a different service, if it originatesfrom the same component.
astakos: Activation view improvements
Reject empty activation code requests
astakos: pep8 fixes
astakos: Handle quota for accepted users
A user is accepted if moderated=True and is_rejected=False. Onlyaccepted users have entries in the quotaholder.
astakos: Additional login form test
test empty POST dict form submition
astakos: Cache cleanup for recaptcha tests to work
astakos: Test ratelimit/recaptcha functionality
astakos: Store arbitrary shibboleth headers
additionally to common shibboleth headers, append any arbitrary shibbolethheaders (SHIB_*) set from the IdP.
astakos: Handle quota for moderated users only
At some points, verified users where mistakenly assumed.
Merge branch 'hotfix-0.14.8' into develop
Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5
Conflicts: ci/ci_squeeze.conf ci/ci_wheezy.conf ci/schemas/one_node_squeeze/packages.conf ci/schemas/one_node_squeeze/squeeze.conf ci/schemas/one_node_squeeze/wheezy.conf...
astakos: Fix project identification in test
Test was mistakenly using application id rather than project id insome occasions.
astakos: Fix quota API test
Sort list before comparing, since ordering in the response data isnot specified. Triggered when run with postgres.
astakos: Remove duplicate project query
Enrolling a user in a project now returns 409 if the project doesnot exist, rather than 404.
astakos: Fix approval_terms view
Fix crash when request user is not logged in.Add tests
astakos: Force a members limit in project applications
astakos: Restrict project naming in API call
Use the same regex as in the UI, which matches domain-name-like strings.
astakos: Describe and implement API for projects
astakos: Adapt tests to the new project schema
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...
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
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: Prevent empty passwords in profile form
astakos: Shibboleth improvements
- include shibboleth headers in provider_details- display eppn instead of identifier in profile
astakos: Fix api tests (remove obsolete)
astakos: modifications in POST /tokens (authenticate) api call
fix pithos:// redirect params extraction
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/messages.py snf-astakos-app/astakos/im/settings.py version
astakos: fix duplicate test method names
astakos: Some additional tests
astakos: test 400 on wrong astakos API paths
astakos: allow empty tenantName in POST /tokens
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
astakos: Separate index/login views
- Login view added. The view renders the login template.- Index view acts as a gateway to landing/login views based on whether the user is authenticated.
astakos: Updated tests
include weblogin view tests
properly clean up database on each test tearDown
astakos: change authenticate keystone api call
If no request body is provided (no request content length),the response returns only non authentication protected information(before it used to return BadRequest)
astakos: remove get_endpoints keystone api call
astakos: modifications in authenticate keystone api call
astakos: Adapt path in api tests
astakos: Update auth tests
astakos: Import new-style services and resources
astakos: remove BASEURL, use BASE_URL setting
astakos: provide authenticate keystone token api call
snf-django-lib: Fix proxy issue
The ``X-Forwarded-Host`` header should not be forwared to the targetbecause django appends its value to the Host header andresults in validate_host() failure.
GET is not allowed to remove auth provider urls
astakos: fix astakos api tests
astakos: provide get_endpoints api call
astakos: reorganize views
astakos: Clean up tables on test completion
to get over sqlite driver issues to properly clean up database on transactiontest cases.
astakos: Minor improvements in email change process
- Explicit handling of invalid email change activation code.- Permission denied response if user is authenticated and email change code is assigned to another user.- Improve logging- Updated tests
astakos: Fix typo in tests
astakos: Split settings in separate modules