Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-app / pithos / api / functions.py @ d1e7d2b4

History | View | Annotate | Download (56.6 kB)

# Date Author Comment
e9d94604 04/16/2013 08:44 pm Sofia Papagiannaki

pithos: Change conflict handling in object write

Pithos in case of missing blocks during smart object write
(using hashmap) used to raise an api fault with payload
the list with the missing blocks serialized in json format.

However, the common api_method decorator in case of api fault...

b698d39d 04/16/2013 08:22 pm Christos Stavrakakis

Fix API decorator response Content-Type

Remove check for response Content-Type, since 'django.http.HttpResponse'
has always a default Content-Type of 'text/html; charset=utf-8'. Views
defining their response 'Content-Type' should set the
'override_serialization' attribute of response to 'True'.

6dd0fc7c 04/15/2013 04:53 pm Christos Stavrakakis

Add ASTAKOS_URL to pithos.api.settings

4ab620b6 04/15/2013 04:11 pm Christos Stavrakakis

Improve settings related to ASTAKOS url

Rename 'PITHOS_AUTHENTICATION_URL' setting to 'ASTAKOS_URL'. Also remove
'PITHOS_AUTHENTICATION_USERS' from docs (it was removed from code in
commit 8df4fae).

Modify 'ASTAKOS_URL' to point to the node hosting the Astakos service...

04a1b675 04/08/2013 06:17 pm Christos Stavrakakis

Move astakos lib from snf-common to snf-django-lib

8df4fae6 04/08/2013 11:07 am Christos Stavrakakis

Remove PITHOS_AUTHENTICATION_USERS setting

Remove this setting as it introduces unnecessary complexity. Also,
it will need to be supported by snf-astakos-client. If needed by
tests to bypass communication with astakos, a mocking library should
be used.

65bbcd43 04/08/2013 11:06 am Christos Stavrakakis

Use common 'api_method' decorator in pithos api

Update all pithos API methods to use the new common 'api_method'
decorator. However, this decorator is not enough for pithos since
pithos methods require some extra tasks:
  • Create a PithosBackend connection...
bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common
'snf_django.lib.api.faults'.

8a0c7040 03/29/2013 12:17 pm Georgios D. Tsoukalas

minor refactor object_list for clarity

6fe32fb6 03/28/2013 10:57 pm Sofia Papagiannaki

Change pithos api public object handling

Expose public URL information only to the object owners.

f483f65d 02/14/2013 04:28 pm Sofia Papagiannaki

Add missing uuid translation

Translate X-Source-Account if TRANSLATE_UUIDS is set

a4f3b17c 02/14/2013 04:27 pm Sofia Papagiannaki

Do not call user_catalogs if AUTHENTICATION_USERS is set

469d0997 02/14/2013 04:26 pm Georgios D. Tsoukalas

ui compatibility: translate uuids to display names

dfa2d4ba 01/30/2013 04:25 pm Sofia Papagiannaki

Catch quota errors in pithos server

ccfd4e44 01/29/2013 01:31 pm Sofia Papagiannaki

Pithos: handle quotaholder exception errors

27932481 01/23/2013 06:51 pm Sofia Papagiannaki

Fix name error

890c2065 01/23/2013 06:51 pm Sofia Papagiannaki

Change feedback & user_catalogs astakos && pithos api calls

  • Substitute ``username`` with ``displayname``
ddea3095 01/16/2013 12:46 pm Sofia Papagiannaki

Fix detailed pithos object listing

Refs: #3149

6255b97d 01/15/2013 03:09 pm Sofia Papagiannaki

Limit lines length to 80

4d366a03 01/15/2013 03:09 pm Sofia Papagiannaki

Extend account_list pithos api call

Provide account name (not only uuid)

88dd5c4d 01/14/2013 01:20 pm Sofia Papagiannaki

Replace account uuid with username in response headers

c846fad1 01/11/2013 12:00 am Sofia Papagiannaki

Merge branch 'latest-quota' of https://code.grnet.gr/git/synnefo into latest-quota

Conflicts:
snf-astakos-app/astakos/im/forms.py
snf-astakos-app/astakos/im/functions.py

32454501 01/07/2013 04:13 am Sofia Papagiannaki

Change pithos sharing to work with account uuids

02b8c298 01/07/2013 04:13 am Sofia Papagiannaki

Fix piths Object GET versionlist: catch ItemNotExists exception

7c09b0b7 09/12/2012 03:52 pm Sofia Papagiannaki

Catch explicitly ContainerExists in container_create instead of NameError

2715ade4 09/10/2012 04:09 pm Sofia Papagiannaki

Fix code formatting to conform to the PEP 8 style guide

5cd85b24 07/02/2012 03:57 pm Sofia Papagiannaki

fix indent

0b1f5802 07/02/2012 02:14 pm Sofia Papagiannaki

Fix broken compatibility with cloud files

e46b2bcf 06/29/2012 06:34 pm Sofia Papagiannaki

Call for delete container contents

Refs: #2611

7efc9f86 06/28/2012 03:51 pm Sofia Papagiannaki

change backend to raise custom exceptions

4d15c94e 06/25/2012 07:50 pm Sofia Papagiannaki

Progess I

Refs: #2611

dfdf4802 06/19/2012 07:37 pm Sofia Papagiannaki

fix feedback response in case of URLError

e53e90da 05/23/2012 06:19 pm Sofia Papagiannaki

fix detailed public listing

Refs: #2394

6ed4537f 05/22/2012 07:57 pm Sofia Papagiannaki

fix list_objects

Refs: #2394

90ee1eb3 05/22/2012 05:51 pm Sofia Papagiannaki

change API calls to include public objects in shared by me

Refs: #2394

dcffd53e 04/10/2012 07:06 pm Antony Chazapis

Solve OOS API compatibility problems.

Fixes #2300

b3155065 04/03/2012 10:48 am Antony Chazapis

Add dispatcher function for updating object checksums asynchronously.

Refs #1792

8efd183f 04/03/2012 01:46 am Antony Chazapis

Make checksum updates optional.

Refs #1792

64b6bc45 03/16/2012 02:54 pm root

Fix.

ce2a2ef0 03/16/2012 02:24 pm Antony Chazapis

Use cookie to get token when retrieving objects.

6e147ecc 02/23/2012 03:11 pm Antony Chazapis

Remove lib package.

88353602 02/22/2012 12:36 pm Kostas Papadimitriou

Merge commit 'v0.9.0' into packaging

Conflicts:
pithos/__init__.py
pithos/api/management/commands/__init__.py
pithos/backends/lib/rabbitmq/__init__.py
pithos/backends/lib/rabbitmq/queue.py
pithos/lib/user.py
pithos/middleware/user.py
pithos/settings.py...

969b4262 01/26/2012 01:24 pm Kostas Papadimitriou

Merge branch 'master' into packaging

Conflicts:
pithos/__init__.py

6c8595a5 01/23/2012 06:35 pm Kostas Papadimitriou

Merge branch 'master' into packaging

ab0982ad 01/23/2012 03:34 pm Kostas Papadimitriou

Merge branch 'master' into packaging

Conflicts:
pithos/settings.py
snf-pithos-app/pithos/middleware/log.py
snf-pithos-app/pithos/urls.py
snf-pithos-backend/pithos/backends/__init__.py
snf-pithos-tools/setup.py

8c306eab 01/17/2012 06:42 pm Kostas Papadimitriou

Split pithos components in separate packages

- splitted pithos modules in separate reusable components
- python packaging for all packages
- snf-webproject support (entry_points) for pithos django applications