History | View | Annotate | Download (27.3 kB)
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: 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 '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: Handle quota for accepted users
A user is accepted if moderated=True and is_rejected=False. Onlyaccepted users have entries in the quotaholder.
astakos: Handle quota for moderated users only
At some points, verified users where mistakenly assumed.
astakos: Fix quota API test
Sort list before comparing, since ordering in the response data isnot specified. Triggered when run with postgres.
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: Use api_method_not_allowed in quota API
astakos: Fix api tests (remove obsolete)
astakos: modifications in POST /tokens (authenticate) api call
astakos: fix duplicate test method names
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: 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: Update tests
astakos: remove get_endpoints keystone api call
astakos: modifications in authenticate keystone api call
astakos: Adapt path in api tests
astakos: Import new-style services and resources
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.
astakos: fix astakos api tests
astakos: provide get_endpoints api call
astakos: Clean up tables on test completion
to get over sqlite driver issues to properly clean up database on transactiontest cases.
astakos: Split settings in separate modules