Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / views @ fb4ef6eb

# Date Author Comment
fb4ef6eb 10/16/2013 09:21 pm Kostas Papadimitriou

astakos: Activation view improvements

Reject empty activation code requests

63c07fdd 10/07/2013 04:00 pm Kostas Papadimitriou

astakos: Separate templates in project creation

instead of including application form summary template in the application form
view, render it from scratch. This resolves a bug caused when using django>1.2
since block tags within the included templates are not supported.

ed355f9a 10/07/2013 03:26 pm Kostas Papadimitriou

astakos: Store arbitrary shibboleth headers

additionally to common shibboleth headers, append any arbitrary shibboleth
headers (SHIB_*) set from the IdP.

554ef175 09/27/2013 10:49 am Christos Stavrakakis

astakos: Replace commit_manually decorator

Replace commit_manually decorator with commit_on_success, since the
functions that were using this decorator did not really needed it.

07ad7b1c 07/10/2013 01:25 pm Kostas Papadimitriou

Revert "astakos: Improve invalid login handling"

This reverts commit 02c1f22a0f7396a7b2211677db78247586e10805.

02c1f22a 07/09/2013 01:12 pm Kostas Papadimitriou

astakos: Improve invalid login handling

avoid redirecting user to signup view. Notify user the login credentials was
invalid instead.

830747d2 07/09/2013 12:54 pm Kostas Papadimitriou

astakos: Shibboleth improvements

- include shibboleth headers in provider_details
- display eppn instead of identifier in profile

feebcc02 07/08/2013 02:18 pm Kostas Papadimitriou

astakos: Fix shibboleth headers logging

8c8f856b 06/28/2013 01:34 pm Olga Brani

astakos: Correct plural in 1 pending membership

d895de37 06/28/2013 01:34 pm Giorgos Korfiatis

astakos: Fix listing of approved members

Include leave requested and suspended members in the list of approved.

f7c3c4c4 06/28/2013 12:27 pm Sofia Papagiannaki

astakos: return uuid in weblogin

The weblogin used to return the user uuid.
However, this in 0.14 version had been removed since the uuid
can be retrieved using the POST /tokens authentication method.
However, the old pithos clients have no other way
to get the uuid, so we restore it temporarily.

184f551f 06/19/2013 06:46 pm Georgios D. Tsoukalas

astakos: REDIRECT_ALLOWED_SCHEMES hidden setting

e7726e14 06/19/2013 04:09 pm Kostas Papadimitriou

astakos: Fix regression in signup view

when recpatcha is enabled in astakos settings

a1ed6730 06/18/2013 10:39 am Kostas Papadimitriou

astakos: Typo fix

a53f77ee 06/18/2013 10:39 am Kostas Papadimitriou

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 if
only read db operations are executed from within the wrapped method.

967a99e1 06/14/2013 06:01 pm Kostas Papadimitriou

astakos: Proper content type for .kamakirc view

Django response object content_type attribute is not used. Pass desired content
type in HttpResponse constructor.

31240d2c 06/13/2013 01:15 pm Olga Brani

astakos: Adding info for other clients in API access page

3466f0a3 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: API access page url fix

remove trailing /tokens from `Authentication URL`

d75baafa 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Redirect local login GET requests to login

1ca02d1a 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Kamaki sample config file view

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.

1ecda536 06/11/2013 02:21 pm Kostas Papadimitriou

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.

9dd94cc7 06/11/2013 12:42 pm Kostas Papadimitriou

astakos: Remove uuid parameter from weblogin redirect

url only contains token parameter. Clients can use the identity/tokens endpoint
using the gathered token to access the uuid information.

65dad30c 06/10/2013 09:37 pm Sofia Papagiannaki

astakos: change web login view

  • allow only GET method
  • ignore next request parameter unless it has pithos scheme
e9a7ce7c 06/06/2013 05:28 pm Kostas Papadimitriou

astakos: Remove debug statement

2e45abfd 06/06/2013 04:12 pm Kostas Papadimitriou

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.

f73fc886 06/06/2013 03:36 pm Kostas Papadimitriou

astakos: Change default ui redirect

redirect user to landing page by default

d558ca0b 06/05/2013 08:11 pm Kostas Papadimitriou

astakos: Fix identity endpoint construction

in api access view

c5e59a8e 06/05/2013 08:08 pm Kostas Papadimitriou

Merge branch 'feature-api-access-view' into develop

14c76abe 06/05/2013 06:13 pm Kostas Papadimitriou

astakos: Renew token action from api access view

11b7870d 06/05/2013 05:38 pm Georgios D. Tsoukalas

Merge branch 'feature-reconfigure-urls' into develop

Conflicts:
docs/pithos-api-guide.rst

7763f5c6 06/05/2013 01:40 pm Kostas Papadimitriou

astakos: Initial commit of API access view

api access view contains all available information for the user to access the
service api.

8c8e318d 06/04/2013 08:54 pm Kostas Papadimitriou

astakos: Properly resolve urls from base host

BASE_URL contains the prefix which is also included in paths returned from
django's reverse utility. Thereby joining BASE_URL with a reverse result
generates urls with duplicate BASE_PREFIX. Replaced BASE_URL with BASE_HOST in...

e6d8c1c0 06/03/2013 01:52 pm Kostas Papadimitriou

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)

bea584e1 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Lift old-style services to components

Add model Component and migrate services along with their token
and UI URL to this new model. Rename service to component where
needed.

Add field service_type in Resource and fill it based on the name
of the service that used to own the resource.

6c7af65c 06/03/2013 11:50 am Georgios D. Tsoukalas

astakos: remove BASEURL, use BASE_URL setting

3c5a2b21 05/31/2013 01:40 pm Kostas Papadimitriou

astakos: Configurable third party provider endpoints

not so often, but providers do seem to change urls

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

93614ef0 05/27/2013 05:05 pm Kostas Papadimitriou

astakos: LinkedIn provider fix

initialize client in login view

933d3219 05/27/2013 05:05 pm Kostas Papadimitriou

astakos: Typo fix

incorrect variable use. Retrieve message from provider object instead of
astakos_messages module.

327a4c1e 05/27/2013 05:01 pm Olga Brani

astakos: Change auth provider remove HTTP method

Convert provider removal links to forms (using POST), in order to be able
to remove GET from the remove view allowed HTTP methods.

Refs #3793

58350a50 05/23/2013 04:30 pm Sofia Papagiannaki

astakos: move get_services back to astakos im services

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.

0be81d73 05/21/2013 07:41 pm Sofia Papagiannaki

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

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