History | View | Annotate | Download (24.8 kB)
astakos: pep8 fixes
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....
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: snf-astakos-app/astakos/im/views/projects.py snf-cyclades-app/synnefo/logic/backend.py snf-django-lib/snf_django/lib/astakos.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: 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.
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: Move ExceptionHandler in views.util
It is view-specific and did not deserve a separate file.
astakos: unified settings handling
Import astakos settings module instead of importing specific settings
astakos: remove unused imports
astakos: reorganize views