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...
docs: update pithos api guide
astakos: test 400 on wrong astakos API paths
astakos: allow empty tenantName in POST /tokens
cyclades: add test for 400 in wrong Plankton paths
cyclades: add tests for 400 on wrong Compute paths
pithos: fix another typo in reconcile-commissions-pithos command
pithos: fix typo in reconcile-commissions-pithos command
docs: Fixes in 0.13 upgrade notes
astakos: Update pithos_public in helper script
astakosclient: Fix url paths
Fix some Astakos' urls paths that were broken.Remove get_endpoints and rename get_user_info_with_endpointsto get_endpoints.Fix tests.
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
cyclades ui: Invalid statement fix
Ensure we return cloud faults under any API prefix
pithos: change pithos_public service
- Do not export an endpoint, since clients get public urls from our pithos API, there is no need for them to know an endpoint.
- Rename its type to pithos_public, since public is too generic and there is actually no API specification, since noone needs it yet.
cyclades ui: Fix endpoint urls
remove trailing slashes
astakos: firefox text alignment bug fix for API access page
Changelog: add entries for URL reconfiguring
cyclades: fix variable name in plankton tests
burnin: When raising AssertionError give more details
Merge branch 'feature-urls-fix-tests' into develop
common: fix lib url handling and doctests
cyclades: fix URLs in cyclades/vmapi tests
cyclades: fix URLs in cyclades/image tests
astakos: Improved style for API access page
snf-stats-app: Add support for configurable URLs
Revert "common: do not overwrite test database setting"
This reverts commit b6eb72e5ccef38cfabf13f6fdf2acf53438ab34e.
cyclades: fix URLs in compute/servers tests
docs: Include package upgrades and pithos migration
cyclades: fix URLs in compute/networks tests
Return the web login url also in the custom ``SNF:webloginURL``attribute
cyclades: fix URLs in compute/images tests
pithos: Fix X-Object-Public object header
Utilize settings.PITHOS_BASE_HOST instead of settings.PITHOS_BASE_URLto construct the header value
cyclades: fix URLs in compute/flavors tests
Update Changelog for astakos
astakos: Add weblogin definition in helper script
common: Fix typo in docs conf
Fix compatibility issues with factory_boy
Update models_factory to use factory.DjangoModelFactory instead offactory.Factory.
common: make service public urls end in '/'
common: Add a get_service_path() function
cyclades: fix compute api /versions
common: do not overwrite test database setting
pithos: refine error handling in object_read view
pithos: Url patterns fix
avoid double slash in ui service
pithos: Prefix for pithos object read view endpoint
pithos: change POST /tokens
move SNF:uiURL under each endpoint
astakos: update POST /tokens documentation
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: Additional user info in activated notification
astakos: fix POST /tokens in case of missing content length
Catch this case and reply with the non authentication protectedinformation (public mode)
pithos: change reconcile-resources-pithos command
This command syncronizes the astakos quota with the pithos db.However, if there was an account in the astakos database but therewas not the relative path in the pithos db (new pithos database)the account quotas were not synced....
astakos: add weblogin service for non-web clients
astakos: Improved restrict_next utility
Validate url against both provided domain and allowed_schemes
astakos: Remove uuid parameter from weblogin redirect
url only contains token parameter. Clients can use the identity/tokens endpointusing the gathered token to access the uuid information.
astakos: Updated tests
include weblogin view tests
pithos: Updated ui service urls
removed version from path
astakos: Update tests
properly clean up database on each test tearDown
burnin: Fix a bug in ImagesTestCase
Filter images list so it does not contain burnin's registeredimages. This way we reduce the posibility that images list anddetailed images list have different number of images.
pithos: create view for reading an object's content
Use cookie for retrieving the authentication token
pithos: fix public api
Pithos public api was broken since the pithos api decoratorused to call the common api decorator without passing the``token_required`` optional argument (default to True).As a result, all the requests failed with 401 Unauthorized status....
pithos: change X-Object-Public header
The header value should contain the absolute public url
pithos: fix UnboundLocalError in object read
astakos: change web login view
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)
astakosclient: Log warning when retrying
Make astakosclient log a warning, instead of info, when retryingrequests to Astakos.
cyclades: Retry requests to quotaholder
Make API faults have default 500 status code
Make the default status code of API Fault and AstakosClientExceptionto be 500.
astakos: Api token view firefox bug fix
Auth url and API token in API access page are disabled html inputs.On firefox, these inputs are replaced by <span> elements to allow them tobe selected on user click.
astakos: Rename helper script for uniformity
Rename snf-register-components to snf-component-register.
Astakos UI: Minor textual changes
Cyclades UI: minor textual change in networks
docs: Mention astakos registration scripts
snf-register-components and snf-service-export
quotaholder: Revert migration of log timestamps
Because migrating the timestamp fields of model ProvisionLog from stringto datetime takes too long, we keep them in string format.
Alter migrations 0005 through 0007 introduced in commit 164e64d.
astakos: Remove debug print from migration
snf_django: Optionally use other default serialization than json
Pithos api default serialization for listing is text insted of json.However the common api decorator if not specified otherwise used tojson as the default serialization.So we introduced a new optional argument (defaults to json) to override...
astakos: Fix typo
astakos: Generate tokens without trailing equal signs
Strip padding ("=") introduced during the base64 encoding.Update token examples in docs.
cyclades: Rename service token
Rename CYCLADES_ASTAKOS_SERVICE_TOKEN to CYCLADES_SERVICE_TOKEN foruniformity.
docs: Update install guide
Update URLs according to the new scheme. Remove note on CSRF deactivation. Mention PITHOS_BASE_URL and CYCLADES_SERVICE_TOKEN. Update output of pithos-migrate. Remove VMAPI_BASE_URL.
pithos: Fix ASTAKOS_BASE_URL import in migration
Merge branch 'feature-api-csrf-exempt' into develop
cyclades: Use api_patterns to register API urls
pithos: Use api_patterns to register API urls
django-lib: API url patterns helper
`snf_django.lib.api.urls.api_patterns` acts as django `patterns` methodused commonly in urls modules. Using api_patterns to register urls willresult all patterns to be exempted from csrf protection.
django-lib: Exempt api_method views from csrf
gitignore: Ignore tarballs and egg files
webproject: Remove requires_csrf_token
method does not seem to exist in debian packaged django release. Sincecsrftoken is not used in 500 templates the removal won't cause any sideeffects.
astakos: Depend on astakosclient
The service definitions of astakos are not actually withinthe astakos package, but in astakosclient.The reason for this is that every other component needssome knowledge about astakos' services, and the only commonastakos-related package they depend is astakosclient.
cloudbar: Automatic active service detection
automatically detect which cloudbar menu is active by matching the currentwindow location with the registered service url.
astakos: Remove debug statement
webproject: common 404, 500 handling
- Move 404, 500 templates from astakos to webproject- Remove 404, 500 templates from pithos-app- Webproject now includes static files to serve jquery as an asset in 404, 500 pages.- Custom 500 handler. Use RequestContext if possible.
branding: Synnefo logo for 404 and 500 pages.
astakos: Change default ui redirect
redirect user to landing page by default