astakos: allow empty tenantName in POST /tokens
astakos: Update pithos_public in helper script
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
Ensure we return cloud faults under any API prefix
astakos: firefox text alignment bug fix for API access page
astakos: Improved style for API access page
Return the web login url also in the custom ``SNF:webloginURL``attribute
astakos: Add weblogin definition in helper script
pithos: change POST /tokens
move SNF:uiURL under each endpoint
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)
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
astakos: Update tests
properly clean up database on each test tearDown
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)
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
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
astakos: Fix typo
astakos: Generate tokens without trailing equal signs
Strip padding ("=") introduced during the base64 encoding.Update token examples in docs.
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
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...
astakos: Ease importing services in upgrade
Adapt script snf-register-components to update/import services foran already registered component.
astakos: Sensible root url redirects
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
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
astakos: apply css style to API access view
astakos: Automate registering components
Add script snf-register-components and helper snf-service-export.
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
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...
astakos: Move all api urls under v1.0
feedback/user_catalogs/autenticate endpoints moved under /v1.0/ prefix
astakos: correct keystone version v2.0
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
astakos: Support reading from stdin in import commands
In commands resource-import and service-import, read from standard inputwith `--json -'.
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.
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.
astakos: Improve argument handling in commands
astakos: remove get_endpoints keystone api call
astakos: fix xml template for authenticate keystone api call
astakos: modifications in authenticate keystone api call
astakos: Adapt path in api tests
astakos: Relative default redirect urls
astakos: Update auth tests
astakos: Proper BASE_URL setting name
astakos: Purge services for a given component
Provide option `--purge-services' in command component-modify.One can always use service-import to register the services again.
common: Export only services specified as public
Employ helper function `filter_public' in service-export-* commands.Also set `pithos_ui' service to non-public and clear version of`astakos_ui'.
astakos: Improved twitter oauth response handling
- Log error responses- Handle invalid token request responses (HTTP response is 200 so we check status value nested in oauth response body)
astakos: Update references to astakos urls
/im/ renamed to /ui/.Updated all references in default settings, documentation and constants.
Merge remote branch 'origin/feature-services-endpoints' into feature-reconfigure-urls
astakos: put keystone API in a separate prefix
astakos: Lift old-style services to components
Add model Component and migrate services along with their tokenand UI URL to this new model. Rename service to component whereneeded.
Add field service_type in Resource and fill it based on the nameof the service that used to own the resource.
astakos: Add new-style services with endpoints
Drop old Service model and add models Service, Endpoint, and EndpointData.Remove Resource's reference to Service.
astakos: Add commands to handle components
astakos: Import new-style services and resources
astakos: Impose uniqueness on auth_token
Add uniqueness constraint in AstakosUser and Component models.Before that, invalidate (set to None) any duplicate tokens.
When renewing a token, retry a couple of times, if generated tokenis in use.
astakos: configure prefixes from service catalog
astakos: remove BASEURL, use BASE_URL setting
service catalogs: autofill endpoints from BASE_URL
astakos: add service-export-astakos command
astakos: Automate registration of services
Add script `astakos-register-services' that will help the deployerregister the standard Synnefo services and their resources.
astakos-register-services: better example urls
astakos: Move old scripts under astakos/scripts
Empty im/scripts directory.
astakos: Merge 3 migration steps in one script
astakos-migrate-0.14 will first run snf-manage resource-modify astakos.pending_app --limit-interactivethen migrate the user-specific settings and then run snf-manage reconcile-resources-astakos --fix
Option `--usersetting' will run only the second step (data migration).
make synnefo URLs consistent and configurable
https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______| BASE_HOST BASE_PATH PREFIX Hardcoded...
astakos: Configurable third party provider endpoints
not so often, but providers do seem to change urls
astakos: Remove debug assertion
astakos: Dynamically set hand indicator in landing page
removed the hardcoded mapping between cloudbar and dashboard elements
Merge branch 'feature-projects-ux' into develop