Statistics
| Branch: | Tag: | Revision:

root / pithos / api / util.py @ fc1b2a75

History | View | Annotate | Download (27.2 kB)

# Date Author Comment
fc1b2a75 07/21/2011 07:41 pm Antony Chazapis

Fix web server compatibility.

7912c32e 07/20/2011 08:18 pm Antony Chazapis

Fix X-Container-Object-Meta.

d065f612 07/20/2011 11:01 am Antony Chazapis

Always return 'Last-Modified' header at the account level.

f6c97079 07/19/2011 05:03 pm Antony Chazapis

Cross-account operations in backend/API/docs.

Refs #763

b0a2d1a6 07/17/2011 07:06 pm Antony Chazapis

Clean up authorization in the backend. Fix groups.

c283bf96 07/14/2011 01:58 pm Sofia Papagiannaki

Merge branch 'master' of https://code.grnet.gr/git/pithos

2938333b 07/14/2011 01:28 pm Antony Chazapis

Ignore the Accept header.

15d465b8 07/14/2011 01:10 pm Antony Chazapis

Fix If-Range.

32a437b1 07/13/2011 06:47 pm Sofia Papagiannaki

extend api object write to accept xml formatted requests containing hashmap information instead of actual data

socket_read_iterator raises BadRequest if maximum size is reached

b980169d 07/12/2011 08:33 pm Antony Chazapis

Fix Content-Length.

1495b972 07/12/2011 12:55 pm Antony Chazapis

Object truncate.

ab2e317e 07/11/2011 05:22 pm Antony Chazapis

Option to update an object using another object's data.

1c7fc132 07/05/2011 12:48 am Antony Chazapis

Bug fix.

1993fea9 07/04/2011 03:47 pm Antony Chazapis

Return the conflicting path in the reply, when refusing to change permissions because of a conflict.

Refs #449

e0f916bb 07/04/2011 03:01 pm Antony Chazapis

New public objects implementation.

Fixes #595

2430ba48 07/04/2011 01:09 pm Antony Chazapis

Merge branch 'master' of https://code.grnet.gr/git/pithos

3ab38c43 07/04/2011 01:09 pm Antony Chazapis
  • Account groups.
  • Container policies (not enforced for now).
  • Document sharing/permissions.

Refs #449

6d1e6dce 07/01/2011 05:31 pm Sofia Papagiannaki

If-Range header implementation in object GET

02c0c3fa 06/24/2011 04:39 pm Antony Chazapis

Add account groups, merge into sharing. Fix tests.

Refs #449

aa4fac11 06/23/2011 05:50 pm Giorgos Verigakis

Add a dummy authentication middleware

The username - token mapping is stored statically in settings.py

You will need to update your settings.py after this commit.

104626e3 06/23/2011 05:24 pm Antony Chazapis

Update versioning.

- Allow non-integer version identifiers.
- Use 'X-Object-Modified-By' to trace the user that created a version.
- Fix 'X-Object-Version-Timestamp' header formatting.

Rebuild the database, or:
sqlite> alter table versions add column user text;...

cca6c617 06/23/2011 03:47 pm Antony Chazapis

Updated permissions support.

  • Allow deleting/clearing permissions.
  • Report inheritance via 'X-Object-Shared-By' header.
  • Enforce permissions.

Refs #449

a6eb13e9 06/22/2011 08:36 pm Antony Chazapis

Document 'update' parameter. Add to account/container POST.

e8886082 06/22/2011 04:38 pm Antony Chazapis

Fix version list and copy from version when the object is deleted.
Remove 'public' from permissions.

3436eeb0 06/21/2011 05:00 pm Antony Chazapis

Initial permissions support.

  • Use 'X-Object-Sharing' header to get/set permissions.
  • Replaces 'X-Object-Public' header (now obsolete).
  • No permission enforcement yet.

Refs #449
Refs #595

cb146cf9 06/19/2011 03:52 pm Antony Chazapis

Bug fixes.

  • Empty object update.
  • Parameter version equal to 'list' in requests.
  • Object HEAD response code (should be 200).
  • Remove source version parameter when moving with PUT/MOVE.
  • Mark 'X-Object-Public' as TBD in the docs.
2fb5244f 06/17/2011 01:01 am Giorgos Verigakis

Add an X-Object-Size response header

204 responses set Content-Length to 0 and a different header is
needed in order to get the object size.

6d817842 06/14/2011 11:00 pm Antony Chazapis

Fix manifest and copy/move prefix parsing.

8cb45c13 06/14/2011 07:26 pm Antony Chazapis

Large object support.

623a0cf4 06/10/2011 04:44 pm Sofia Papagiannaki

fixes chunked transfer data

c9af0703 06/10/2011 01:47 pm Antony Chazapis

Document versioning and public objects.

Fixes #593
Fixes #595

83dd59c5 06/10/2011 02:15 am Antony Chazapis

Versioning extras, including account/container "time machine".

  • Update metadata with the hashmap to create a single new object version.
  • Add source version when duplicating in PUT/COPY/MOVE.
  • Add 'until' parameter in account/container HEAD/GET.
  • Expose object version list....
7bef5750 06/09/2011 05:09 pm Antony Chazapis

Limit metadata in object headers accessed via /public. Simplify implementation.

Refs #595

2c22e4ac 06/09/2011 04:21 pm Antony Chazapis

Pass account from request URL to backend functions and not request.user.

f7b1d2af 06/09/2011 04:03 pm Antony Chazapis

Support public files.

Use 'X-Object-Public' to mark files as public. Then they can be accessed via the /public URL without authentication.

Refs #595

58a6c894 06/09/2011 02:48 pm Antony Chazapis

Advanced versioning support. New backend.

- Everything is versioned in the backend.
- Time-controlled account/container listings.
- Initial API support with the 'version' parameter in object HEAD/GET.

Refs #593

3e5d2f38 06/03/2011 07:55 pm Antony Chazapis

Fix precondition check replies.

cbfb6636 06/01/2011 03:25 pm Sofia Papagiannaki

import missing hashlib

70e526a0 06/01/2011 02:26 pm Antony Chazapis

Fix Content-Range parsing.

6ecccd3a 05/31/2011 05:04 pm Antony Chazapis

Produce new ETag when updating an object (corrected).

49133392 05/31/2011 04:45 pm Antony Chazapis

Produce new ETag when updating an object.

6bc372a4 05/31/2011 02:01 pm Antony Chazapis

Include storage type in container meta/hashmap replies. Minor doc updates.

5635f9ef 05/27/2011 05:20 pm Antony Chazapis

Add license.

Fixes #577

22dab079 05/27/2011 04:48 pm Antony Chazapis

Provide metadata functions for tags and trash support. Restructure backend to work with blocks and hashmaps.

List of major API updates (tested and ready changes are in the docs):
  • List object meta keys in container headers.
  • Filter object listings based on their meta keys....
b956618e 05/17/2011 06:41 pm Antony Chazapis

Implement basic functionality plus some extras

The API is based on the Apr. 15, 2011 release of the OpenStack Object Storage API v1.
The implementation is broken up into two layers - frontend (API) and backend (data and metadata handling).
The API is documented in the wiki. The following list is copied here for reference....

49ae4a55 05/06/2011 12:21 pm Antony Chazapis

Update default settings. Minor changes.

16526868 05/05/2011 01:32 pm Antony Chazapis

Clean up, sort out logging.

01db85e7 05/03/2011 12:55 am Antony Chazapis

Allow for account/container metadata.

4adb68b8 04/28/2011 05:53 pm Giorgos Verigakis

Move to a better file organization

The Django project is a python package and needs to have a
specific name. We nest it inside the repository so that the
name is under revision control.