Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / views / projects.py @ a1ed6730

History | View | Annotate | Download (23.9 kB)

# Date Author Comment
b6496f0c 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Dynamically resolve login_url in login_required

duplicated django user_passes_test and login_required decorators to be able
to dynamicaly resolve the url to which we redirect unauthorized users. Replaced
django login_required with astakos.im.views.decorators.login_required.

23381834 05/30/2013 12:02 pm Kostas Papadimitriou

Merge branch 'feature-projects-ux' into develop

f5389699 05/29/2013 07:14 pm Kostas Papadimitriou

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.

9df6f541 05/29/2013 07:13 pm Kostas Papadimitriou

astakos: common_detail views helper fix

early initialiaztion of variables that used only when project is available

59eb6ec5 05/29/2013 04:40 pm Kostas Papadimitriou

astakos: Use redirect_back on project members actions

redirect browser back to tha page the action called from

06086f91 05/29/2013 04:32 pm Kostas Papadimitriou

asatkos: Include chain_id in logging message

8eb176ab 05/29/2013 12:58 pm Kostas Papadimitriou

astakos: Include missing context variables

c363a678 05/29/2013 12:56 pm Kostas Papadimitriou

astakos: Include missing members_action view

cdf0a80b 05/29/2013 12:52 pm Kostas Papadimitriou

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

9b846781 05/29/2013 12:36 pm Kostas Papadimitriou

astakos: Batch members actions template integration

udpated project members template to properly post selected membership ids to
the appropriate urls.

272ba9b9 05/29/2013 12:33 pm Kostas Papadimitriou

astakos: Batch project members action view

added new view to handle multiple project members actions. View accepts
multiple `members` parameters containing project membership ids.

/<chain_id>/members/remove/ -> removes project membership ids
/<chain_id>/members/accept/ -> approves posted membership ids...

7971e5da 05/29/2013 10:48 am Kostas Papadimitriou

astakos: Only allow owners/admins to access member views

0b058d6f 05/29/2013 10:39 am Kostas Papadimitriou

astakos: Only allow owners/admins to access member views

460b907d 05/29/2013 10:15 am Kostas Papadimitriou

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

9fb7a900 05/23/2013 01:58 pm Giorgos Korfiatis

astakos: Move ExceptionHandler in views.util

It is view-specific and did not deserve a separate file.

8998f09a 05/21/2013 06:28 pm Sofia Papagiannaki

astakos: unified settings handling

Import astakos settings module instead of importing specific settings

3e0a032d 05/21/2013 11:54 am Sofia Papagiannaki

astakos: remove unused imports

70e11eaa 05/20/2013 09:18 pm Sofia Papagiannaki

astakos: reorganize views

  • split project views from the rest views
  • move third party authentication views (astakos.im.target)
    under astakos.im.views
  • move view decorators to a separate module
  • move utility methods utilized by views to a separate module