Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / api @ f870efe2

Name Size
__init__.py 0 Bytes
quotas.py 9.8 kB
service.py 2.7 kB
tokens.py 5 kB
urls.py 2.5 kB
user.py 3.9 kB
util.py 6.6 kB

Latest revisions

# Date Author Comment
f870efe2 05/28/2013 07:56 pm Sofia Papagiannaki

snf-django-lib: Fix proxy issue

The ``X-Forwarded-Host`` header should not be forwared to the target
because django appends its value to the Host header and
results in validate_host() failure.

bd20edc6 05/28/2013 06:21 pm Giorgos Korfiatis

astakos: Handle datetime in API json response

Automatically convert a datetime to string using isoformat from
snf_django.lib.api.utils

7ac2131c 05/23/2013 04:30 pm Sofia Papagiannaki

astakos: provide get_endpoints api call

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

astakos: move get_services back to astakos im services

67920ea0 05/23/2013 02:07 pm Giorgos Korfiatis

astakos: Strengthen authentication in user_from_token

All user-related API calls make use of this decorator to authenticate
the user. Previously it used to check only for the existence of the token;
now it makes all checks previously found in the `authenticate' API call....

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

2e7924de 05/20/2013 03:14 pm Giorgos Korfiatis

astakos: Remove some unused imports

Also add a missing import in quotas.py

315fe235 05/16/2013 06:30 pm Christos Stavrakakis

astakos: check that request.user is a 'User'

Update astakos 'get_menu' API method, to check if request.user is an
instance of django User model. This view function called by astakos
context processor. However, if astakos and helpdesk are installed
together, the request.user will not hold an AnonymousUser, but a...

6609821f 05/15/2013 06:13 pm Sofia Papagiannaki

astakos: change authenticate api call

``/astakos/api/authenticate`` call
does not include any more resource usage in the reply.
(``usage`` request parameter has become obsolete)
The services in order to get the resource usage should call
``/astakos/api/quotas`` instead.

View revisions

Also available in: Atom