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: 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...
astakos: Fix identity endpoint construction
in api access view
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: 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: Adapt reconcile-resources to new-style services
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: 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 -'.
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: 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: Move old scripts under astakos/scripts
Empty im/scripts directory.
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
astakos: Fix typo
Merge branch 'feature-projects-ux' into develop
astakos: Handle project approval failures
when project approval fails chain_id is set to None causing reverse to fail.Resolved by redirecting admin user to the projects list.
astakos: common_detail views helper fix
early initialiaztion of variables that used only when project is available
Merge branch 'develop' of https://code.grnet.gr/git/synnefo into develop
branding: Improve footer appearance
Capitilize 'synnefo' in footer and remove space between v and versionnumber in footer
astakos: Use redirect_back on project members actions
redirect browser back to tha page the action called from
asatkos: Include chain_id in logging message
astakos: Allow admin to access project members
astakos: Add redirect_back helper
used to redirect user back to the referer page if it's safe and possible
astakos: Improve project members' actions UX
Show reject/approve button in 'project pending members' page.Remove confirm dialog when user clicks outside dialog area.Minor style changes.
astakos: modifications in POST /tokens (authenticate) api call
astakos: Include missing context variables
astakos: Include missing members_action view
Merge branch 'feature-projects-ux' of https://code.grnet.gr/git/synnefo into feature-projects-ux
Conflicts: snf-astakos-app/astakos/im/views/projects.py
astakos: Batch members actions template integration
udpated project members template to properly post selected membership ids tothe appropriate urls.
astakos: Batch project members action view
added new view to handle multiple project members actions. View acceptsmultiple `members` parameters containing project membership ids.
/<chain_id>/members/remove/ -> removes project membership ids/<chain_id>/members/accept/ -> approves posted membership ids...
astakos: Allow multiple args in confirm_link
astakos: Remove ^M's from common.js
astakos: Only allow owners/admins to access member views
astakos: Remove project members input limit
Merge branch 'develop' into feature-projects-ux
Conflicts: snf-astakos-app/astakos/im/templates/im/projects/intro.html snf-astakos-app/astakos/im/templatetags/astakos_tags.py snf-astakos-app/astakos/im/urls.py snf-astakos-app/astakos/im/views.py
astakos: add missing template
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: Remove invitation management commands
Also add a notice in docs that inviting is currently disabled.
docs: Update list of astakos commands
Also fix some help messages.
astakos: rename full-cleanup command to cleanup-full
astakos: Rename group/authpolicy commands
- removed `user-` prefix for shorter command names- condensed auth-policy to authpolicy
astakos: Move email subjects from settings to messages
Email subjects are parameterized by site name and application-specific data. Other than that they should be constants ratherthan settings.
Remove unused GROUP_CREATION_SUBJECT.
astakos: Remove unused billing settings
Remove unused settings BILLING_FIELDS and QUEUE_CONNECTION.
astakos: Add missing import in management command
astakos: Convert list-like settings to tuple
Settings ADMINS, MANAGERS, and HELPDESK are tuples even though they couldnaturally be lists. If one sets by mistake one of these to list, thistriggers an error in notification code, which tries to concatenate them:...
GET is not allowed to remove auth provider urls
astakos: LinkedIn provider fix
initialize client in login view
astakos: Typo fix
incorrect variable use. Retrieve message from provider object instead ofastakos_messages module.
astakos: User auth methods handling fix
do not include third party logins of disabled provider modules (modules whichare not set in ASTAKOS_IM_MODULES). This fixes user's provider remove policyresolution when user has multiple providers assigned but only one is enabled...
astakos: Change auth provider remove HTTP method
Convert provider removal links to forms (using POST), in order to be ableto remove GET from the remove view allowed HTTP methods.
Refs #3793
astakos: Update user-add command
removed activate option. User status can be changed using additionaluser-modify commands (--verify, --accept etc.)
astakos: Conditionally autoexpand classic signup form
if classic signup ('local') appears first in IM_MODULES setting
cloudbar: Handle relative service icon urls
astakos: Add confirmation step in service-add
Since there is no way to delete a registered service, confirmationis needed to register a service.
Add also a `--no-confirm' option to bypass this check in service-addas well as in user-modify.