astakos: Existing third party identifier handling in signup
remove both existing third party authentication and unverified user entrieswhen the third party identifier gets used.
astakos: Improve invalid activation code handling
display error message instead of returning a 404 response
astakos: Hide empty project list in view
astakos: Set initial signup values if available
prefill third party signup form with initial values (first name, last name,email) if available in the third party provider response.
Conflicts:
snf-astakos-app/astakos/im/views/target/shibboleth.py
astakos: Shibboleth EPPN migration functionality
Prior to this commit astakos used the mod_shib2 EPPN header value as theunique identifier for associating shibboleth idp users to astakos user entries.
This commit alters this behaviour and from now on astakos resloves unique...
astakos: Log shibboleth exception and merge fixes
astakos: Refactor user creation
Provide auth.make_user() as the single way to create a new user. Thisfunction is responsible to set all automatically generated fields, such asusername, uuid, and token. Clean up AstakosUser.save(), that used toupdate these fields, and remove AstakosUser.__init__(). Remove trigger...
astakos: Lock user in im views
Make sure that views modifying users run in a transaction and lock usersbefore updating.
astakos: Add resource visibility flags
Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.The former entails the latter.
astakos: pep8 fixes
Merge branch 'master' into develop
Conflicts: Changelog astakosclient/astakosclient/keypath.py ci/utils.py docs/admin-guide.rst snf-astakos-app/astakos/im/cookie.py snf-astakos-app/astakos/im/functions.py snf-astakos-app/astakos/im/quotas.py snf-astakos-app/astakos/im/views/projects.py...
astakos: Fix resource_catalog cleanup
Do not use list index for deleting list elements; it is unstable.
astakos: Activation view improvements
Reject empty activation code requests
astakos: pep8 fix
astakos: Remove custom commit_on_success decorator
Prior to 1.3, django wouldn't set the transaction dirty upon a DBexception and thus wouldn't trigger a rollback, resulting in a danglingaborted DB exception. See https://code.djangoproject.com/ticket/9964...
astakos: Separate templates in project creation
instead of including application form summary template in the application formview, render it from scratch. This resolves a bug caused when using django>1.2since block tags within the included templates are not supported....
instead of including application form summary template in the application formview, render it from scratch. This resolves a bug caused when using django>1.2since block tags within the included templates are not supported.
astakos: Store arbitrary shibboleth headers
additionally to common shibboleth headers, append any arbitrary shibbolethheaders (SHIB_*) set from the IdP.
Merge branch 'hotfix-0.14.8' into develop
Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5
Conflicts: ci/ci_squeeze.conf ci/ci_wheezy.conf ci/schemas/one_node_squeeze/packages.conf ci/schemas/one_node_squeeze/squeeze.conf ci/schemas/one_node_squeeze/wheezy.conf...
astakos: Replace commit_manually decorator
Replace commit_manually decorator with commit_on_success, since thefunctions that were using this decorator did not really needed it.
astakos: Fix approval_terms view
Fix crash when request user is not logged in.Add tests
astakos: Disable pagination and ordering in project tables
Prepare the tables for client-side ordering.
astakos: Simplify project schema
Applications now point to a project (rather than an extra model Chain).A Project is created upon submitting an application; it always points toa single `reference' application.
Model Chain is kept as a sequence to generate project ids.
astakos: Remove precursor_application field
Submit a project modification by specifying a project id rather thanan application
astakos: Adapt UI to new project schema
Base tables on projects rather than applications; update templates.
astakos: Omit project_id in membership operations
Identify a membership by its id only.
astakos: Return membership when joining project
astakos: Catch exceptions in submit app views
Ignore exceptions in custom _create_object and _update_object;let the views handle exceptions and specify commit strategy.
astakos: Raise project-specific exceptions on failure
Replace IOError and PermissionDenied with project-specific exceptions.
astakos: Fix some issues pointed out by pyflakes
astakos: Enhance project tables rendering
Prefetch data in bulk queries in order to avoid continuously queryingthe database.
Merge branch 'hotfix-0.14.2' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/views/target/__init__.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...
Revert "astakos: Improve invalid login handling"
This reverts commit 02c1f22a0f7396a7b2211677db78247586e10805.
astakos: Improve invalid login handling
avoid redirecting user to signup view. Notify user the login credentials wasinvalid instead.
astakos: Shibboleth improvements
- include shibboleth headers in provider_details- display eppn instead of identifier in profile
astakos: Fix shibboleth headers logging
Conflicts: snf-astakos-app/astakos/im/views/projects.py snf-cyclades-app/synnefo/logic/backend.py snf-django-lib/snf_django/lib/astakos.py version
Merge branch 'release-0.14' into develop
Conflicts: snf-astakos-app/astakos/im/views/target/redirect.py snf-cyclades-app/synnefo/logic/backend.py version
astakos: Correct plural in 1 pending membership
astakos: Fix listing of approved members
Include leave requested and suspended members in the list of approved.
astakos: return uuid in weblogin
The weblogin used to return the user uuid.However, this in 0.14 version had been removed since the uuidcan be retrieved using the POST /tokens authentication method.However, the old pithos clients have no other wayto get the uuid, so we restore it temporarily.
astakos: REDIRECT_ALLOWED_SCHEMES hidden setting
astakos: modifications in redirect view
astakos: Fix regression in signup view
when recpatcha is enabled in astakos settings
Conflicts: version
astakos: Typo fix
astakos: Explicit transaction handling in commit_manually views
since django 1.3, when using the ``transaction.commit_manually`` decorator,transaction is required to be closed (using either commit/rollback) even ifonly read db operations are executed from within the wrapped method.
Conflicts: snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/settings.py version
astakos: Proper content type for .kamakirc view
Django response object content_type attribute is not used. Pass desired contenttype in HttpResponse constructor.
astakos: Adding info for other clients in API access page
astakos: API access page url fix
remove trailing /tokens from `Authentication URL`
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: 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: 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: change web login view
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.
astakos: Change default ui redirect
redirect user to landing page by default
astakos: Fix identity endpoint construction
in api access view
Merge branch 'feature-api-access-view' into develop
astakos: Renew token action from api access view
Merge branch 'feature-reconfigure-urls' into develop
Conflicts: docs/pithos-api-guide.rst
astakos: Initial commit of API access view
api access view contains all available information for the user to access theservice api.
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: 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: remove BASEURL, use BASE_URL setting
astakos: Configurable third party provider endpoints
not so often, but providers do seem to change urls
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
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: 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: Only allow owners/admins to access member views
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: LinkedIn provider fix
initialize client in login view
incorrect variable use. Retrieve message from provider object instead ofastakos_messages module.
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: move get_services back to astakos im services
astakos: Move ExceptionHandler in views.util
It is view-specific and did not deserve a separate file.
astakos: move get_menu service under astakos im services
get_menu is used only by astakos cloudbar:it should not be under astakos api services
astakos: unified settings handling
Import astakos settings module instead of importing specific settings
astakos: remove unused imports
astakos: reorganize views