Statistics
| Branch: | Tag: | Revision:

root / pithos / api / util.py @ 371d907a

History | View | Annotate | Download (34.6 kB)

# Date Author Comment
371d907a 02/16/2012 02:54 am Antony Chazapis

Unified query for listing objects with properties.

Refs #1948

33b4e4a6 02/15/2012 10:55 pm Antony Chazapis

Move ETag as checksum to version.

Refs #1948

66ce2ca5 02/09/2012 03:41 pm Antony Chazapis

Add type to backend version.

e809b989 02/09/2012 12:02 pm Antony Chazapis

Remove error for overlapping permissions. Document.

a7dff008 02/06/2012 08:23 pm Antony Chazapis

Add settings namespace.

Fixes #1959

fa9cae7e 01/30/2012 12:46 pm Antony Chazapis

Format billing message.

Refs #1688

af7bb62f 01/24/2012 05:37 pm Antony Chazapis

Use format for uploaded blocks hash lists at the container level.

Refs #1934

6b6b6c1e 01/24/2012 05:23 pm Antony Chazapis

Use format parameter for Conflict (409) replies.

Fixes #1934

53cff70c 01/24/2012 03:53 pm Antony Chazapis

Add ignore_content_type parameter on COPY/MOVE.

Fixes #1860

a7ba12d7 01/20/2012 08:57 pm Antony Chazapis

Put back newlines in Conflict responses.

08de868d 01/20/2012 08:04 pm Antony Chazapis

Print exception traceback only when it is an "Internal Server Error" and in debug or test mode.

Fixes #1888

4732ed31 01/20/2012 07:10 pm Antony Chazapis

Fix tabs.

2e662088 01/19/2012 07:41 pm Antony Chazapis

Change license year.

Fixes #1889

228de81b 01/11/2012 12:26 pm Antony Chazapis

Untie backend from settings.

Fixes #1816

91817b22 12/22/2011 12:40 pm Antony Chazapis

Fix manifest object.

cddcf432 12/22/2011 11:50 am Antony Chazapis

The ETag header/hash property always includes the MD5.

Refs #1792

37bee317 12/19/2011 10:59 pm Antony Chazapis

Add backend object retrieve by UUID. Expose UUID at the frontend. Document.

Refs #1790

808cea65 12/15/2011 05:38 pm Antony Chazapis

Update frontend with the metadata domain parameter.

Refs #1782

702bfe60 12/08/2011 07:07 pm Antony Chazapis

Reply with the hashmap's hash as the ETag if no ETag present.

7301127c 12/08/2011 11:37 am Antony Chazapis

Use hashmap lib in api.

5a96180b 12/07/2011 05:38 pm Antony Chazapis

Restructure repository to make pithos one package.

Refs #1735

e8d003e8 12/05/2011 06:07 pm Antony Chazapis

Fix unicode metadata in public objects.

fb064032 12/02/2011 01:24 pm Antony Chazapis

Fix import bug.

88283e9e 12/02/2011 12:55 pm Antony Chazapis

Use URL-encoding/decoding for all headers.

Refs #1511

690747fe 12/02/2011 10:52 am Antony Chazapis

Format groups/policy/metadata in JSON/XML replies.

Fixes #1719

ce2f73d7 11/29/2011 11:10 am Antony Chazapis

Exclude some characters from URL-encoding.

9fefc052 11/29/2011 12:01 am Antony Chazapis

Restrict header count and size. URL-encode/decode specific headers that may contain unicode characters.

Refs #1511

bb4eafc6 11/24/2011 11:36 am Antony Chazapis

Use short public URLs.

Refs #1686

22d7b01e 11/24/2011 09:17 am Antony Chazapis

Avoid empty object name in COPY/MOVE destination.

Fixes #1683

817890f2 11/23/2011 12:08 pm Antony Chazapis

Upload files from HTML forms directly to the backend.

Fixes #1676

4a1c29ea 11/21/2011 11:07 am Antony Chazapis

Always include the Merkle hash in object meta (as returned from the backend). Clean up 'hash' references in frontend.

Needs database update.

Fixes #1451

8c793655 11/15/2011 09:26 am Antony Chazapis

Move MySQL warnings suppression to backend.

07813fd6 11/14/2011 11:36 am Sofia Papagiannaki

suppress mysql index length warnings raising exception

d14fe290 11/09/2011 11:15 am Antony Chazapis

Add backend close method.

61efb530 10/27/2011 09:20 am Antony Chazapis

Make request.user point to the user object.

297513ba 10/21/2011 04:16 pm Antony Chazapis

Use 401 error when missing token and 403 when forbidden.

Fixes #1369

032dc768 10/18/2011 01:22 pm Antony Chazapis

Handle chunked from gunicorn properly.

5df6c6d1 10/17/2011 05:30 pm Antony Chazapis

Add insufficient quota replies in frontend. Document.

Refs #1165

647a5f48 10/13/2011 07:42 pm Antony Chazapis

Merge account policy in api. Document.

Refs #1165
Refs #1167

6068d672 10/11/2011 04:15 pm Antony Chazapis

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

6d0f82fe 10/11/2011 04:15 pm Antony Chazapis

Report remaining bytes. Enforce account quota when setting container limits.

Refs #1165

c48acbfd 10/11/2011 03:25 pm Sofia Papagiannaki

perform case sensitive varchar ordering, handle correctly utf8 columns and decimals

Refs #1458

40d6b76d 10/06/2011 07:59 pm Antony Chazapis

Fix group parsing.

a33dfe54 09/29/2011 09:54 am Antony Chazapis

Fix conflict response when copying/moving.

79bb41b7 09/28/2011 03:19 pm Antony Chazapis

Support cross-account copy and move.

Fixes #1241

499163b4 09/28/2011 12:08 pm Antony Chazapis

Include susecond precision in RFC8601 times returned in extended listings.

e11087c2 09/23/2011 01:02 pm Antony Chazapis

Add timezone indicator in ISO8601 formatted dates.

Fixes #1231

07fea84b 09/19/2011 03:29 pm Antony Chazapis

Remove upload size limit.

7b25e082 09/16/2011 06:25 pm Antony Chazapis

Close backend connection. Fix empty read.

39593b2b 09/16/2011 05:25 pm Giorgos Verigakis

Use one backend instance per HTTP request

f9f15f92 09/13/2011 02:15 pm Antony Chazapis

Use 'hashmap' parameter in object GET/PUT to use hashmaps.

067cf1fc 09/13/2011 09:30 am Antony Chazapis

Report allowed actions in cross-user object requests, with the 'X-Object-Allowed-To' header.

0d4ea090 09/09/2011 12:09 pm Antony Chazapis

Fix computing hashmap hash.

4fac108a 09/08/2011 02:29 pm Antony Chazapis

Simplify hashmap_hash.

21a8a6ff 09/05/2011 04:29 pm Antony Chazapis

If the same user is both in read and write permissions, keep only the entry in write.

7dd293a0 09/05/2011 01:54 pm Antony Chazapis

Return new version identifier in frontend. Document.

0a7f1671 08/10/2011 04:37 pm Antony Chazapis

Accept '~' in X-Object-Sharing.

72c3ba3f 08/08/2011 07:11 pm Antony Chazapis

Fix TestGreek.

3078108a 08/02/2011 06:53 pm Sofia Papagiannaki

additional tests for updating object using x-source-object

1627c8ff 07/29/2011 06:11 pm Antony Chazapis

Use Merkle hash for ETag when updating objects.

e7b51248 07/28/2011 06:25 pm Sofia Papagiannaki

fix utf8 handling

additional tests written

c032f34d 07/25/2011 07:05 pm Antony Chazapis

Fix reading when apache does the dechunking.

a8326bef 07/22/2011 04:03 pm Antony Chazapis

Conditional object create/update.

804e8fe7 07/22/2011 10:36 am Antony Chazapis

Fix metadata keys in extended replies.

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