Revert "common: do not overwrite test database setting"
This reverts commit b6eb72e5ccef38cfabf13f6fdf2acf53438ab34e.
pithos: Fix X-Object-Public object header
Utilize settings.PITHOS_BASE_HOST instead of settings.PITHOS_BASE_URLto construct the header value
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
docs: Add Cyclades commands to admin-quide
astakos: responsive css for API Token View page
astakos: Remove data part from migration 0022
A data migration was mistakenly squashed in schema migration, causingproblems with newer south versions. This data migration is not neededin a production system, because it affects only a table introduced in...
docs: Describe component/service registration
astakos: Ease importing services in upgrade
Adapt script snf-register-components to update/import services foran already registered component.
cyclades: Sensible root url redirects
astakos: Sensible root url redirects
webproject: Configurable webproject root url redirect
optionally append a redirect view to the root url of the project. Redirect urlis configurable using WEBPROJECT_ROOT_REDIRECT setting.
django_lib: Component's urlpatterns utilty
extend_with_root_redirects can be used by components to easily extend theregistered urlpatterns with utility redirect views for the root urls.
astakos: Fix identity endpoint construction
in api access view
astakos: Remove compatibility urls
no longer needed
Merge branch 'feature-api-access-view' into develop
astakos: Profile fields clean up
- Direct access to user uuid is no longer useful to the users.- `auth token`, `auth token expires` and `renew token action` are now accessed from the api access view.
astakos: Fix typo in service name
astakos: Renew token action from api access view
astakos: Remove duplicate url entry
Quick install guide: update and link to index page
astakos: style improvement for longer API tokens in API Token View
Merge branch 'feature-reconfigure-urls' into develop
Conflicts: docs/pithos-api-guide.rst
Rename astakos_keystone to astakos_identity
Update docs wrt to repos / distributions
astakos: apply css style to API access view
cyclades: rename type 'cyclades_vmapi' to 'vmapi'
astakos: Automate registering components
Add script snf-register-components and helper snf-service-export.
pithos: Weaken X-Object-Public exposure requirement
8a0c7040367761cd5d5383ac53dfe1c0161c1d02has restricted the X-Object-Public exposurein container detailed list requestsonly to the object owner and if public parameter is supplied.Now we have weaken this requirement so this information...
astakos: Enrich api access content
Signed off by cven@grnet.gr
astakos: Initial commit of API access view
api access view contains all available information for the user to access theservice api.
astakos: Set tokens api endpoint name in urls
in order to be able to use django reverse mechanism to resolve the endpointpath.
astakos: Adapt reconcile-resources to new-style services
docs: update pithos api guide
astakos: Prepend version to service/user_catalogs URL
astakos: Properly resolve urls from base host
BASE_URL contains the prefix which is also included in paths returned fromdjango's reverse utility. Thereby joining BASE_URL with a reverse resultgenerates urls with duplicate BASE_PREFIX. Replaced BASE_URL with BASE_HOST in...
cyclades: Missing import
pithos: Fill endpoints to astakos_services object
cyclades ui: Improvements in ui url settings
- Use get_public_endpoint to resolve each service url- Depend on cyclades_settings for services objects
plankton: Update api version prefix
v1 -> v1.0
cyclades: Fill endpoints to astakos_services object
enable modules that include object from cyclades_setting to access endpointurls.
astakos: Move all api urls under v1.0
feedback/user_catalogs/autenticate endpoints moved under /v1.0/ prefix