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.
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: Update tests
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
astakosclient: Append api version
astakos: correct keystone version v2.0
cyclades: compute version v1.1 -> v2.0 in URLs
common: get_public_endpoint() helper for service URLs
cyclades: fix syntax error in service list
astakos: Register resources with services
If service-import finds resource definitions included in a servicedefinition, it imports them, too.
astakos: Add command to remove a component
astakos: Record the service originating a resource
Add field service_origin in model Resource as well as in theresource definitions, indicating the service where the resourcecomes from. It is not a foreign key, in order to allow deletinga component/service, without affecting registered resources and...
astakos: Cleanup and pep8 fixes in commands
cyclades: Fix syntax errors in resource definition
astakos: Support reading from stdin in import commands
In commands resource-import and service-import, read from standard inputwith `--json -'.
cyclades: add version 'v1.0' to vmapi URLs
astakos: add version v1.0 in account API URLs
Incorporate all resources into service definitions
- Add 'service_origin' key in resources, as the normative name of the service that exported it.- Keep resources backwards compatible, export-resource-service reads resources from the service list.
cyclades: fix URLs in vmapi
pithos-backend: disable AstakosClient if no URL given
If the backend is initialized with astakos_url=None,or AstakosClient cannot be imported,a fake AstakosClient is instantiated which will raisean AssertionError on any attempt to access it.
Read-only uses of pithos backend, as in pithcat,...
cyclades: plankton/image version 'v1' -> 'v1.0'
astakos: Extend component URL to size 1024
astakos: Generate tokens randomly
Token is now random 256 bits encoded as a base64 string.Increase the auth_token database fields to accommodate it.
astakos: Use proper update_token url
Propagate update_token url via window object to the updateToken js function.
cyclades: add version 'v1' in plankton/image URLs
Remove all references to the old Quick Admin Guide