pithos
12 years agoIgnore the Accept header.
Antony Chazapis [Thu, 14 Jul 2011 10:28:40 +0000 (13:28 +0300)]
Ignore the Accept header.

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Antony Chazapis [Thu, 14 Jul 2011 10:11:01 +0000 (13:11 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoFix If-Range.
Antony Chazapis [Thu, 14 Jul 2011 10:10:46 +0000 (13:10 +0300)]
Fix If-Range.

12 years agoAllow authentication token to be set anywhere.
Antony Chazapis [Thu, 14 Jul 2011 10:10:37 +0000 (13:10 +0300)]
Allow authentication token to be set anywhere.

12 years agoImplemented file upload
Christos Stathis [Thu, 14 Jul 2011 09:34:19 +0000 (12:34 +0300)]
Implemented file upload

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Antony Chazapis [Wed, 13 Jul 2011 22:22:39 +0000 (01:22 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoObject create via POST, when Content-Type is 'multipart/form-data'.
Antony Chazapis [Wed, 13 Jul 2011 22:22:16 +0000 (01:22 +0300)]
Object create via POST, when Content-Type is 'multipart/form-data'.

12 years agoCleaned up top File menu
Christos Stathis [Wed, 13 Jul 2011 15:16:47 +0000 (18:16 +0300)]
Cleaned up top File menu

12 years agoOrganized contect menus
Christos Stathis [Wed, 13 Jul 2011 08:57:16 +0000 (11:57 +0300)]
Organized contect menus

12 years agoMinor optimization
Christos Stathis [Wed, 13 Jul 2011 08:40:52 +0000 (11:40 +0300)]
Minor optimization

12 years agoFix Content-Length.
Antony Chazapis [Tue, 12 Jul 2011 17:33:04 +0000 (20:33 +0300)]
Fix Content-Length.

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Christos Stathis [Tue, 12 Jul 2011 15:20:03 +0000 (18:20 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoImplemented move folder to trash
Christos Stathis [Tue, 12 Jul 2011 15:19:35 +0000 (18:19 +0300)]
Implemented move folder to trash

12 years agoAdd initial admin guide skeleton
Giorgos Verigakis [Tue, 12 Jul 2011 15:15:32 +0000 (18:15 +0300)]
Add initial admin guide skeleton

12 years agoReturn a correct x-storage-url
Giorgos Verigakis [Tue, 12 Jul 2011 15:10:55 +0000 (18:10 +0300)]
Return a correct x-storage-url

Use the value of X-Auth-User instead of 'demo'

12 years agoImplemented move file(s) to trash
Christos Stathis [Tue, 12 Jul 2011 14:17:59 +0000 (17:17 +0300)]
Implemented move file(s) to trash

12 years agoImplemented move folder
Christos Stathis [Tue, 12 Jul 2011 12:03:27 +0000 (15:03 +0300)]
Implemented move folder

12 years agoObject truncate.
Antony Chazapis [Tue, 12 Jul 2011 09:55:57 +0000 (12:55 +0300)]
Object truncate.

12 years agoOption to update an object using another object's data.
Antony Chazapis [Mon, 11 Jul 2011 14:22:18 +0000 (17:22 +0300)]
Option to update an object using another object's data.

12 years agoImplemented folder copy (mainly untested yet)
Christos Stathis [Fri, 8 Jul 2011 13:57:29 +0000 (16:57 +0300)]
Implemented folder copy (mainly untested yet)

12 years agoFile copy/cut/paste implemented
Christos Stathis [Fri, 8 Jul 2011 12:39:24 +0000 (15:39 +0300)]
File copy/cut/paste implemented

12 years agoFixed folder deletion with all subfolders and files
Christos Stathis [Fri, 8 Jul 2011 10:54:26 +0000 (13:54 +0300)]
Fixed folder deletion with all subfolders and files

12 years agoImplemented download (with the authentication passed as parameter):
Christos Stathis [Fri, 8 Jul 2011 08:41:08 +0000 (11:41 +0300)]
Implemented download (with the authentication passed as parameter):

12 years agoImplemented single and multiple file deletion
Christos Stathis [Thu, 7 Jul 2011 15:26:57 +0000 (18:26 +0300)]
Implemented single and multiple file deletion

12 years agoPartially implemented file upload. It only creates a 0 sized object
Christos Stathis [Thu, 7 Jul 2011 14:42:38 +0000 (17:42 +0300)]
Partially implemented file upload. It only creates a 0 sized object

12 years agoMerge https://code.grnet.gr/git/pithos
Giorgos Verigakis [Wed, 6 Jul 2011 10:35:33 +0000 (13:35 +0300)]
Merge https://code.grnet.gr/git/pithos

12 years agoFinished Folder deletion (with parent refresh)
Christos Stathis [Wed, 6 Jul 2011 08:51:23 +0000 (11:51 +0300)]
Finished Folder deletion (with parent refresh)

12 years agoDo not use the 'Accept' header on PUT to get 'format'.
Antony Chazapis [Wed, 6 Jul 2011 08:25:18 +0000 (11:25 +0300)]
Do not use the 'Accept' header on PUT to get 'format'.

12 years agoBug fix.
Antony Chazapis [Tue, 5 Jul 2011 17:46:49 +0000 (20:46 +0300)]
Bug fix.

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Christos Stathis [Tue, 5 Jul 2011 14:48:23 +0000 (17:48 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoImplemented folder deletion (without refresh yet)
Christos Stathis [Tue, 5 Jul 2011 14:48:07 +0000 (17:48 +0300)]
Implemented folder deletion (without refresh yet)

12 years agoImplemented virtual folder creation
Christos Stathis [Tue, 5 Jul 2011 14:13:12 +0000 (17:13 +0300)]
Implemented virtual folder creation

12 years agoRewrite client library function for updating metadata using update POST parameter
Sofia Papagiannaki [Tue, 5 Jul 2011 09:08:45 +0000 (12:08 +0300)]
Rewrite client library function for updating metadata using update POST parameter

12 years agoUpdate guide with extended behavior
Sofia Papagiannaki [Tue, 5 Jul 2011 09:05:08 +0000 (12:05 +0300)]
Update guide with extended behavior

12 years agoFix is_allowed for groups
Sofia Papagiannaki [Tue, 5 Jul 2011 09:02:29 +0000 (12:02 +0300)]
Fix is_allowed for groups

12 years agoBug fix.
Antony Chazapis [Mon, 4 Jul 2011 21:48:32 +0000 (00:48 +0300)]
Bug fix.

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Christos Stathis [Mon, 4 Jul 2011 14:49:52 +0000 (17:49 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoStarted implementation of new folder command
Christos Stathis [Mon, 4 Jul 2011 14:49:49 +0000 (17:49 +0300)]
Started implementation of new folder command

12 years agoFix bug/tests.
Antony Chazapis [Mon, 4 Jul 2011 13:22:10 +0000 (16:22 +0300)]
Fix bug/tests.

12 years agoReturn the conflicting path in the reply, when refusing to change permissions because...
Antony Chazapis [Mon, 4 Jul 2011 12:47:01 +0000 (15:47 +0300)]
Return the conflicting path in the reply, when refusing to change permissions because of a conflict.

Refs #449

12 years agoNew public objects implementation.
Antony Chazapis [Mon, 4 Jul 2011 12:01:29 +0000 (15:01 +0300)]
New public objects implementation.

Fixes #595

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Antony Chazapis [Mon, 4 Jul 2011 10:09:32 +0000 (13:09 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years ago* Account groups.
Antony Chazapis [Mon, 4 Jul 2011 10:09:04 +0000 (13:09 +0300)]
* Account groups.
* Container policies (not enforced for now).
* Document sharing/permissions.

Refs #449

12 years agoAdded a dummy If-Modified-Since to avoid browser 's caching
Christos Stathis [Mon, 4 Jul 2011 09:28:08 +0000 (12:28 +0300)]
Added a dummy If-Modified-Since to avoid browser 's caching

12 years agoUpdated licence in code files. Removed some unused methods
Christos Stathis [Mon, 4 Jul 2011 08:21:08 +0000 (11:21 +0300)]
Updated licence in code files. Removed some unused methods

12 years agoFixes data and content-type headers in no content POST requests for objects
Sofia Papagiannaki [Fri, 1 Jul 2011 16:20:15 +0000 (19:20 +0300)]
Fixes data and content-type headers in no content POST requests for objects

12 years agoSend no Content-type if no data exist
Sofia Papagiannaki [Fri, 1 Jul 2011 16:17:50 +0000 (19:17 +0300)]
Send no Content-type if no data exist

Fixes Missing Content-Range header Error while updating object metadata
Fixes #567

12 years agoIf-Range header support in object GET
Sofia Papagiannaki [Fri, 1 Jul 2011 14:32:15 +0000 (17:32 +0300)]
If-Range header support in object GET

Refs #567

12 years agoIf-Range header implementation in object GET
Sofia Papagiannaki [Fri, 1 Jul 2011 14:31:36 +0000 (17:31 +0300)]
If-Range header implementation in object GET

12 years agoBugfixes
Giorgos Verigakis [Fri, 1 Jul 2011 13:48:49 +0000 (16:48 +0300)]
Bugfixes

Always use a user in order to work with the new authentication scheme.

12 years agoReturn the correct token in authenticate
Giorgos Verigakis [Fri, 1 Jul 2011 12:46:42 +0000 (15:46 +0300)]
Return the correct token in authenticate

12 years agoGot file info from headers
Christos Stathis [Thu, 30 Jun 2011 15:57:17 +0000 (18:57 +0300)]
Got file info from headers

12 years agoStarted implementation of file list widget
Christos Stathis [Tue, 28 Jun 2011 15:25:04 +0000 (18:25 +0300)]
Started implementation of file list widget

12 years agoextend command line client and client lib to preform requests for publishing/unpublis...
Sofia Papagiannaki [Mon, 27 Jun 2011 14:41:20 +0000 (17:41 +0300)]
extend command line client and client lib to preform requests for publishing/unpublishing objects

Refs #567

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Fri, 24 Jun 2011 16:20:19 +0000 (19:20 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoSeveral client and client library minor changes
Sofia Papagiannaki [Fri, 24 Jun 2011 16:19:51 +0000 (19:19 +0300)]
Several client and client library minor changes

library:
- supply authorization token
- several method signature changes for better client support (separate metadata from the rest headers)
- extra method for setting container policies (for development assistance)

client:
- get user and authorization information from environmental variables PITHOS_USER & PITHOS_AUTH
- new option use_hashes for creating objects by uploading the hash information instead
- nosharing option for clearing object sharing policy
- new command policy for setting container policies

12 years agocorrect spelling
Sofia Papagiannaki [Fri, 24 Jun 2011 16:06:34 +0000 (19:06 +0300)]
correct spelling

12 years agoextend api to create an object by uploading the hashmap instead of actual data
Sofia Papagiannaki [Fri, 24 Jun 2011 16:02:04 +0000 (19:02 +0300)]
extend api to create an object by uploading the hashmap instead of actual data

- enable format parameter in PUT requests on objects
- when format is json the api instead of actual data expects a json formatted dictionary (similar to one returned by extended GET responses) containing information about the block identities
- backend update_object_hashmap() now checks for the block existence before performing the update
- incase of missing data Conflict 409 is returned containing the list of the missing block identites

12 years agoAdd account groups, merge into sharing. Fix tests.
Antony Chazapis [Fri, 24 Jun 2011 13:39:30 +0000 (16:39 +0300)]
Add account groups, merge into sharing. Fix tests.

Refs #449

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Christos Stathis [Thu, 23 Jun 2011 15:12:05 +0000 (18:12 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoRemoved d'n'd support for now
Christos Stathis [Thu, 23 Jun 2011 15:12:01 +0000 (18:12 +0300)]
Removed d'n'd support for now

12 years agoAdd a dummy authentication middleware
Giorgos Verigakis [Thu, 23 Jun 2011 14:50:41 +0000 (17:50 +0300)]
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.

12 years agoFixed bug when displaying folder tree after the second level. Now the tree works...
Christos Stathis [Thu, 23 Jun 2011 14:33:11 +0000 (17:33 +0300)]
Fixed bug when displaying folder tree after the second level. Now the tree works correctly

12 years agoUpdate versioning.
Antony Chazapis [Thu, 23 Jun 2011 14:24:52 +0000 (17:24 +0300)]
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;
sqlite> update versions set user = '<username>';

Refs #593

12 years agoUpdated permissions support.
Antony Chazapis [Thu, 23 Jun 2011 12:47:27 +0000 (15:47 +0300)]
Updated permissions support.

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

Refs #449

12 years agoDocument 'update' parameter. Add to account/container POST.
Antony Chazapis [Wed, 22 Jun 2011 17:36:35 +0000 (20:36 +0300)]
Document 'update' parameter. Add to account/container POST.

12 years agoNew FUSE based client
Giorgos Verigakis [Wed, 22 Jun 2011 15:45:10 +0000 (18:45 +0300)]
New FUSE based client

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Antony Chazapis [Wed, 22 Jun 2011 15:34:32 +0000 (18:34 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoFix POST to delete metadata when none is supplied. Add 'update' parameter to update...
Antony Chazapis [Wed, 22 Jun 2011 15:33:59 +0000 (18:33 +0300)]
Fix POST to delete metadata when none is supplied. Add 'update' parameter to update certain meta values only.

12 years agoclient bug fixing in print usage
Sofia Papagiannaki [Wed, 22 Jun 2011 15:32:30 +0000 (18:32 +0300)]
client bug fixing in print usage

Fixes #567

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Wed, 22 Jun 2011 15:08:54 +0000 (18:08 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years ago- display command usage instead of client usage
Sofia Papagiannaki [Wed, 22 Jun 2011 15:08:40 +0000 (18:08 +0300)]
- display command usage instead of client usage
- include trashed objects in listing using meta filtering

Refs #576

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Christos Stathis [Wed, 22 Jun 2011 14:59:06 +0000 (17:59 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoFinally displayed virtual folder hierarchy up to second level
Christos Stathis [Wed, 22 Jun 2011 14:59:02 +0000 (17:59 +0300)]
Finally displayed virtual folder hierarchy up to second level

12 years agoFix version list and copy from version when the object is deleted.
Antony Chazapis [Wed, 22 Jun 2011 13:38:55 +0000 (16:38 +0300)]
Fix version list and copy from version when the object is deleted.
Remove 'public' from permissions.

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Tue, 21 Jun 2011 14:40:11 +0000 (17:40 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoadd command group and create option option sharing
Sofia Papagiannaki [Tue, 21 Jun 2011 14:39:52 +0000 (17:39 +0300)]
add command group and create option option sharing

for development assistance
for the time being they just pass the relative headers

Refs #567

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Antony Chazapis [Tue, 21 Jun 2011 14:00:55 +0000 (17:00 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoInitial permissions support.
Antony Chazapis [Tue, 21 Jun 2011 14:00:45 +0000 (17:00 +0300)]
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

12 years agoFix tests (object HEAD returns 200).
Antony Chazapis [Tue, 21 Jun 2011 13:55:35 +0000 (16:55 +0300)]
Fix tests (object HEAD returns 200).

12 years agobug fixing update/delete metadata
Sofia Papagiannaki [Tue, 21 Jun 2011 13:54:52 +0000 (16:54 +0300)]
bug fixing update/delete metadata

(sends back to the server only the user defined meta)
also bug fixing in client account unset (check for no path provided)
Fixes #576

12 years agoadd license & introduce include_trashed parameter
Sofia Papagiannaki [Tue, 21 Jun 2011 11:49:37 +0000 (14:49 +0300)]
add license & introduce include_trashed parameter
(default False) in list_objects

Refs #567

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Tue, 21 Jun 2011 08:42:17 +0000 (11:42 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years ago+better metadata handling
Sofia Papagiannaki [Tue, 21 Jun 2011 08:42:02 +0000 (11:42 +0300)]
+better metadata handling

instead of setting each time new metadata
(by replacing older)
lib provides 2 new methods:
update: for adding and updating older values
delete: for deleting older data
+methods for trashing and
restoring an object
+new client commands for:
- trashing (remove, rm), restoring (restore) objects
- deleting metadata (unset)
- creating directory markers (mkdir)
+ remove version option from move command
+minor changes for simplifying code
Fixes #567

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Antony Chazapis [Mon, 20 Jun 2011 10:41:43 +0000 (13:41 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoAdd recommended practices/examples in docs.
Antony Chazapis [Mon, 20 Jun 2011 10:41:22 +0000 (13:41 +0300)]
Add recommended practices/examples in docs.

12 years agoreads exactly as many bytes from the response as the response content-length
Sofia Papagiannaki [Mon, 20 Jun 2011 09:00:35 +0000 (12:00 +0300)]
reads exactly as many bytes from the response as the response content-length

refs to the problem with the trailing \n
Fixes #567

12 years agoBug fixes.
Antony Chazapis [Sun, 19 Jun 2011 12:52:20 +0000 (15:52 +0300)]
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.

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Christos Stathis [Fri, 17 Jun 2011 16:39:50 +0000 (19:39 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoFirst version of client that displays first level containers
Christos Stathis [Fri, 17 Jun 2011 16:39:25 +0000 (19:39 +0300)]
First version of client that displays first level containers

12 years agobug fixing in object version copy/move
Sofia Papagiannaki [Fri, 17 Jun 2011 14:18:02 +0000 (17:18 +0300)]
bug fixing in object version copy/move
and object update

Fixes #567

12 years agosupport for object version move
Sofia Papagiannaki [Fri, 17 Jun 2011 11:12:15 +0000 (14:12 +0300)]
support for object version move
separate options for versionlist and get version
Refs #567

12 years agoclient support from COPY/MOVE from specific version
Sofia Papagiannaki [Fri, 17 Jun 2011 10:26:28 +0000 (13:26 +0300)]
client support from COPY/MOVE from specific version
Refs #567

12 years agoadd version support
Sofia Papagiannaki [Fri, 17 Jun 2011 09:50:26 +0000 (12:50 +0300)]
add version support
Refs #567

12 years agoslight modifications to support list object versions
Sofia Papagiannaki [Fri, 17 Jun 2011 09:48:16 +0000 (12:48 +0300)]
slight modifications to support list object versions
Refs #593

12 years agoAdd an X-Object-Size response header
Giorgos Verigakis [Thu, 16 Jun 2011 22:01:52 +0000 (01:01 +0300)]
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.

12 years agocreate zero-length objects
Sofia Papagiannaki [Thu, 16 Jun 2011 17:25:03 +0000 (20:25 +0300)]
create zero-length objects
better exception handling
Refs #567

12 years agoFix manifest and copy/move prefix parsing.
Antony Chazapis [Tue, 14 Jun 2011 20:00:42 +0000 (23:00 +0300)]
Fix manifest and copy/move prefix parsing.

12 years agosupport for account/container HEAD/GET until parameter
Sofia Papagiannaki [Tue, 14 Jun 2011 16:52:04 +0000 (19:52 +0300)]
support for account/container HEAD/GET until parameter
create zero-length objects
remove last trailing enter from response
Fixes #567

12 years agoAdd template for version list.
Antony Chazapis [Tue, 14 Jun 2011 16:28:15 +0000 (19:28 +0300)]
Add template for version list.

Refs #593