Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-app / pithos @ 46662ee6

Name Size
  api
__init__.py 1.7 kB

Latest revisions

# Date Author Comment
46662ee6 12/03/2013 09:47 pm Kostas Papadimitriou

pithos: Restrict file serving endpoints to a specific host

Introduce new setting ``PITHOS_SERVE_API_DOMAIN``. When set, all api views
that serve pithos file contents will be restricted to be served only under
the domain specified in the setting value.

798143d9 12/03/2013 09:47 pm Sofia Papagiannaki

pithos: Add missing import

b32183c6 12/03/2013 09:47 pm Sofia Papagiannaki

pithos views: In case of invalid access token request a new one

Instead of raising PermissionDenied redirect to the
object view url to re-initiate the procedure
for acquiring a new access token.

fcd85f90 12/03/2013 09:47 pm Sofia Papagiannaki

pithos views: Fix astakos authorization endpoint url

The astakos authorization endpoint url should be an absolute url.

35030d55 12/03/2013 09:47 pm Sofia Papagiannaki

pithos views: Fix tests

13bf6cd8 12/03/2013 09:47 pm Sofia Papagiannaki

pithos: Update view tests

8f2eb016 12/03/2013 09:44 pm Sofia Papagiannaki

pithos: Change pithos views authorization/authentication

Pithos views no longer use the information stored in
the PITHOS_ASTAKOS_COOKIE_NAME cookie
for authenticating the user and authorizing access to the
targeted resource.
They acquire, instead, from the authentication server (astakos)...

14569c60 12/03/2013 09:44 pm Sofia Papagiannaki

pithos: Configurable exclude api calls from being served

Prevent api calls from being served by setting PITHOS_SERVE_API
to False.

8a1ae1a7 12/03/2013 09:44 pm Sofia Papagiannaki

pithos: Fix pithos views url prefix

5ae33f6c 12/03/2013 09:44 pm Sofia Papagiannaki

pithos: Minor changes in view decorator

View revisions

Also available in: Atom