pithos
13 years agoAdd unit tests for backend and API
Sofia Papagiannaki [Tue, 17 May 2011 15:58:38 +0000 (18:58 +0300)]
Add unit tests for backend and API

* Tests the OpenStack Object Storage API v1 functionality plus the extras
* Tests the functionality of a BaseBackend which implements the API

Fixes #451
Fixes #453

13 years agoImplement basic functionality plus some extras
Antony Chazapis [Tue, 17 May 2011 15:41:07 +0000 (18:41 +0300)]
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.

List of differences from the OOS API and clarifications:
* Authentication is done by another system. The token is used in the same way, but it is obtained differently. The top level GET request is kept compatible with the OOS API and allows for guest/testing operations.
* Support for X-Account-Meta-* style headers at the account level. Use POST to update.
* Support for X-Container-Meta-* style headers at the account level. Can be set when creating via PUT. Use POST to update.
* Some processing is done in the variable part of all X-*-Meta-* headers. If it includes underscores, they will be converted to dashes and the first letter of all intra-dash strings will be capitalized.
* All metadata replies, at all levels, include latest modification information.
* At all levels, a GET request may use If-Modified-Since and If-Unmodified-Since headers.
* A GET reply for a level will include all headers of the corresponding HEAD request.
* To avoid conflicts between objects and virtual directory markers in container listings, it is recommended that object names do not end with the delimiter used.
* The Accept header may be used in requests instead of the format parameter to specify the desired reply format. The parameter overrides the header.
* Container/object lists use a 200 return code if the reply is of type json/xml. The reply will include an empty json/xml.
* Container/object lists include all associated metadata if the reply is of type json/xml. Some names are kept to their OOS API equivalents for compatibility.
* In headers, dates are formatted according to RFC 1123. In extended information listings, dates are formatted according to ISO 8601.
* Object headers allowed, in addition to X-Object-Meta-*: Content-Encoding
* Object MOVE support.

Fixes #445
Fixes #447

13 years agoRemoved or commented out various things not related to v.2
Christos Stathis [Fri, 6 May 2011 14:26:06 +0000 (17:26 +0300)]
Removed or commented out various things not related to v.2

13 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Christos Stathis [Fri, 6 May 2011 13:37:45 +0000 (16:37 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

13 years agoRemoved un-needed files
Christos Stathis [Fri, 6 May 2011 13:29:22 +0000 (16:29 +0300)]
Removed un-needed files

13 years agoHardcoded pithos site url
Christos Stathis [Fri, 6 May 2011 13:29:02 +0000 (16:29 +0300)]
Hardcoded pithos site url

13 years agoFixed css class names
Christos Stathis [Fri, 6 May 2011 13:28:28 +0000 (16:28 +0300)]
Fixed css class names

13 years agoUpdate default settings. Minor changes.
Antony Chazapis [Fri, 6 May 2011 09:21:20 +0000 (12:21 +0300)]
Update default settings. Minor changes.

13 years agoRefs #453
papagian [Thu, 5 May 2011 15:52:05 +0000 (18:52 +0300)]
Refs #453

13 years agoRefs #447
papagian [Thu, 5 May 2011 15:51:04 +0000 (18:51 +0300)]
Refs #447

13 years ago#Refs #447
papagian [Thu, 5 May 2011 15:50:45 +0000 (18:50 +0300)]
#Refs #447

13 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Christos Stathis [Thu, 5 May 2011 14:05:54 +0000 (17:05 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

13 years agoUpdated copyright notice
Christos Stathis [Thu, 5 May 2011 14:05:40 +0000 (17:05 +0300)]
Updated copyright notice

13 years agoRefs #453
papagian [Thu, 5 May 2011 12:46:35 +0000 (15:46 +0300)]
Refs #453

13 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Antony Chazapis [Thu, 5 May 2011 10:33:18 +0000 (13:33 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

13 years agoClean up, sort out logging.
Antony Chazapis [Thu, 5 May 2011 10:32:57 +0000 (13:32 +0300)]
Clean up, sort out logging.

13 years agoFixes #447
papagian [Thu, 5 May 2011 09:56:18 +0000 (12:56 +0300)]
Fixes #447

13 years agoFixes #447
papagian [Thu, 5 May 2011 08:38:15 +0000 (11:38 +0300)]
Fixes #447

13 years agoRenamed all packages to gr.grnet.pithos.*
Christos Stathis [Wed, 4 May 2011 16:03:19 +0000 (19:03 +0300)]
Renamed all packages to gr.grnet.pithos.*

13 years agoRenamed all packages to gr.grnet.pithos.*
Christos Stathis [Wed, 4 May 2011 16:02:49 +0000 (19:02 +0300)]
Renamed all packages to gr.grnet.pithos.*

13 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Christos Stathis [Wed, 4 May 2011 15:02:15 +0000 (18:02 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

13 years agoMake sure unicode strings work for container and object names, as well as metadata...
Antony Chazapis [Wed, 4 May 2011 13:34:46 +0000 (16:34 +0300)]
Make sure unicode strings work for container and object names, as well as metadata (keys and values).

13 years agotab2space
papagian [Tue, 3 May 2011 14:35:50 +0000 (17:35 +0300)]
tab2space
Refs #453

13 years agoRefs #453
papagian [Tue, 3 May 2011 13:41:16 +0000 (16:41 +0300)]
Refs #453

13 years agometadata dict accepts non string values
papagian [Tue, 3 May 2011 13:40:42 +0000 (16:40 +0300)]
metadata dict accepts non string values
Refs #447

13 years agoMerge API and backend.
Antony Chazapis [Tue, 3 May 2011 11:33:52 +0000 (14:33 +0300)]
Merge API and backend.

13 years agoAllow for account/container metadata.
Antony Chazapis [Mon, 2 May 2011 21:55:15 +0000 (00:55 +0300)]
Allow for account/container metadata.

13 years agoRefs #447
papagian [Mon, 2 May 2011 14:22:11 +0000 (17:22 +0300)]
Refs #447

13 years agoMerge API and backend container functions
Antony Chazapis [Mon, 2 May 2011 12:51:40 +0000 (15:51 +0300)]
Merge API and backend container functions

13 years agoRefs #447
papagian [Mon, 2 May 2011 11:27:51 +0000 (14:27 +0300)]
Refs #447

13 years agolist_objects changes
papagian [Fri, 29 Apr 2011 13:46:11 +0000 (16:46 +0300)]
list_objects changes
Fixes #447

13 years agoFixes #447
papagian [Thu, 28 Apr 2011 18:58:53 +0000 (21:58 +0300)]
Fixes #447

13 years agoFixes #447
papagian [Thu, 28 Apr 2011 18:38:40 +0000 (21:38 +0300)]
Fixes #447

13 years agocreate account when create container if not exists
papagian [Thu, 28 Apr 2011 18:18:08 +0000 (21:18 +0300)]
create account when create container if not exists
Refs #447

13 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
papagian [Thu, 28 Apr 2011 17:55:41 +0000 (20:55 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

13 years agoμετατροπή σε class, include accounts
papagian [Thu, 28 Apr 2011 17:53:08 +0000 (20:53 +0300)]
μετατροπή σε class, include accounts
Refs #447

13 years agoTesting containers with the cloudfiles python bindings.
Antony Chazapis [Thu, 28 Apr 2011 17:43:20 +0000 (20:43 +0300)]
Testing containers with the cloudfiles python bindings.

13 years agoRemoved models from API.
Antony Chazapis [Thu, 28 Apr 2011 15:50:42 +0000 (18:50 +0300)]
Removed models from API.

13 years agoMove to a better file organization
Giorgos Verigakis [Thu, 28 Apr 2011 14:53:13 +0000 (17:53 +0300)]
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.

13 years agoRemoved commonui gwtquery plugin
Christos Stathis [Thu, 28 Apr 2011 13:34:08 +0000 (16:34 +0300)]
Removed commonui gwtquery plugin

13 years agoMoved ignored resources to a web_client specific .gitignore file
Christos Stathis [Thu, 28 Apr 2011 13:33:27 +0000 (16:33 +0300)]
Moved ignored resources to a web_client specific .gitignore file

13 years agoAdded GET/PUT/COPY object API.
Antony Chazapis [Thu, 28 Apr 2011 12:34:39 +0000 (15:34 +0300)]
Added GET/PUT/COPY object API.

13 years agoUpdated files ignored by git
Christos Stathis [Thu, 28 Apr 2011 12:30:23 +0000 (15:30 +0300)]
Updated files ignored by git

13 years agoMoved all web client files to their folder. Updated ignored files
Christos Stathis [Wed, 27 Apr 2011 16:10:51 +0000 (19:10 +0300)]
Moved all web client files to their folder. Updated ignored files

13 years agoMerge branch 'pithosv2' of ../gss_git
Christos Stathis [Wed, 27 Apr 2011 15:57:09 +0000 (18:57 +0300)]
Merge branch 'pithosv2' of ../gss_git

13 years agoRemoved everything unrelated to the web client
Christos V. Stathis [Wed, 27 Apr 2011 15:51:44 +0000 (18:51 +0300)]
Removed everything unrelated to the web client

13 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
butters butters [Wed, 27 Apr 2011 10:20:56 +0000 (13:20 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

13 years agodummy backend
butters butters [Wed, 27 Apr 2011 09:18:59 +0000 (12:18 +0300)]
dummy backend

13 years agoObject delete and metadata handling API.
Antony Chazapis [Tue, 26 Apr 2011 17:32:29 +0000 (20:32 +0300)]
Object delete and metadata handling API.

13 years agoAutomated merge with https://gss.googlecode.com/hg/
Christos V. Stathis [Tue, 26 Apr 2011 14:43:53 +0000 (17:43 +0300)]
Automated merge with https://gss.googlecode.com/hg/

13 years agoPackages names moved under org.gss_project
Christos V. Stathis [Tue, 26 Apr 2011 14:33:28 +0000 (17:33 +0300)]
Packages names moved under org.gss_project

13 years agoshow an html label below spinner describing the operation that is being executed...
koutsoub [Tue, 26 Apr 2011 13:03:34 +0000 (16:03 +0300)]
show an html label below spinner describing the operation that is being executed while spinner is visible

13 years agoContainers API.
Antony Chazapis [Mon, 25 Apr 2011 17:36:54 +0000 (20:36 +0300)]
Containers API.

13 years agoHandle marker and limit.
Antony Chazapis [Wed, 20 Apr 2011 14:52:37 +0000 (17:52 +0300)]
Handle marker and limit.

13 years agoAdded tag gss-1.5, staging-current for changeset 261fa90c650b
Christos V. Stathis [Wed, 20 Apr 2011 11:59:24 +0000 (14:59 +0300)]
Added tag gss-1.5, staging-current for changeset 261fa90c650b

13 years agoUpdated the version number
Christos V. Stathis [Wed, 20 Apr 2011 11:56:00 +0000 (14:56 +0300)]
Updated the version number

13 years agoFix tabs to spaces
Giorgos Verigakis [Wed, 20 Apr 2011 11:33:27 +0000 (14:33 +0300)]
Fix tabs to spaces

13 years agoAutomatic handling of serialization format.
Antony Chazapis [Wed, 20 Apr 2011 11:18:27 +0000 (14:18 +0300)]
Automatic handling of serialization format.

13 years agoReorganize
Giorgos Verigakis [Wed, 20 Apr 2011 10:08:20 +0000 (13:08 +0300)]
Reorganize

* Remove src dir (it confuses Django)
* We'll use just the master for now

13 years agoInitial API layout.
Antony Chazapis [Tue, 19 Apr 2011 23:04:00 +0000 (02:04 +0300)]
Initial API layout.

13 years agoAdd a project skeleton
Giorgos Verigakis [Tue, 19 Apr 2011 15:18:27 +0000 (18:18 +0300)]
Add a project skeleton

13 years agoinclude shared flag for subfolders json output
koutsoub [Tue, 19 Apr 2011 11:52:12 +0000 (14:52 +0300)]
include shared flag for subfolders json output

13 years agoshow upload button on top when pager is visible
koutsoub [Tue, 19 Apr 2011 11:13:33 +0000 (14:13 +0300)]
show upload button on top when pager is visible

13 years agoAdded tag staging-current,, pithos-current for changeset c52bba78e561
Christos V. Stathis [Mon, 18 Apr 2011 13:04:50 +0000 (16:04 +0300)]
Added tag staging-current,, pithos-current for changeset c52bba78e561

13 years agoUpdated message for AUTH users
Christos V. Stathis [Mon, 18 Apr 2011 13:04:03 +0000 (16:04 +0300)]
Updated message for AUTH users

13 years agodisplay OthersShared in webdav
koutsoub [Thu, 14 Apr 2011 13:39:02 +0000 (16:39 +0300)]
display OthersShared in webdav

13 years agoSearch for users with no logins does not throw ObjectNotFoundException
Christos V. Stathis [Thu, 14 Apr 2011 13:12:06 +0000 (16:12 +0300)]
Search for users with no logins does not throw ObjectNotFoundException

13 years agoMerged with 2c57823c24b6
Christos V. Stathis [Wed, 13 Apr 2011 10:30:50 +0000 (13:30 +0300)]
Merged with 2c57823c24b6

13 years agoAdded tag gss-1.4.1.2, staging-current for changeset cc5e0a840cb2
Christos V. Stathis [Wed, 13 Apr 2011 10:25:45 +0000 (13:25 +0300)]
Added tag gss-1.4.1.2, staging-current for changeset cc5e0a840cb2

13 years agoFixed the test file with changes in createUser
Christos V. Stathis [Wed, 13 Apr 2011 10:24:51 +0000 (13:24 +0300)]
Fixed the test file with changes in createUser

13 years agoFixed display of the AUTH users message along with other announcements
Christos V. Stathis [Wed, 13 Apr 2011 10:24:28 +0000 (13:24 +0300)]
Fixed display of the AUTH users message along with other announcements

13 years agoUrls in the AUTH users message are now clickable
Christos V. Stathis [Wed, 13 Apr 2011 10:23:51 +0000 (13:23 +0300)]
Urls in the AUTH users message are now clickable

13 years agoAdded tag gss-1.4.1.2, staging-current for changeset 42d830050f1c
Christos V. Stathis [Tue, 12 Apr 2011 12:15:24 +0000 (15:15 +0300)]
Added tag gss-1.4.1.2, staging-current for changeset 42d830050f1c

13 years agoUpdated version to 1.4.1.2
Christos V. Stathis [Tue, 12 Apr 2011 12:13:36 +0000 (15:13 +0300)]
Updated version to 1.4.1.2

13 years agoAdded special message for AUTH users
Christos V. Stathis [Tue, 12 Apr 2011 12:12:54 +0000 (15:12 +0300)]
Added special message for AUTH users

13 years agoFixed install target to convert properties files (native2ascii)
Christos V. Stathis [Tue, 12 Apr 2011 12:12:14 +0000 (15:12 +0300)]
Fixed install target to convert properties files (native2ascii)

13 years agoAdded target to run admin gwt client in dev mode
Christos V. Stathis [Fri, 8 Apr 2011 13:29:46 +0000 (16:29 +0300)]
Added target to run admin gwt client in dev mode

13 years agoSafeHtml made safe(r)
Christos V. Stathis [Fri, 8 Apr 2011 13:20:20 +0000 (16:20 +0300)]
SafeHtml made safe(r)

13 years agoTarget for gwt dev mode starts ready for remote debuging so that IDEs can attach
Christos V. Stathis [Fri, 8 Apr 2011 13:19:54 +0000 (16:19 +0300)]
Target for gwt dev mode starts ready for remote debuging so that IDEs can attach

13 years agoshow context menu in groups tab when right clicking on empty space with one option...
koutsoub [Thu, 7 Apr 2011 12:00:11 +0000 (15:00 +0300)]
show context menu in groups tab when right clicking on empty space with one option add group, remove add group menu item when right clicking on a tree node in groups tree

13 years agoremove core gwt classes contained in gwtquery jars and modify classpath order in...
koutsoub [Thu, 7 Apr 2011 11:35:11 +0000 (14:35 +0300)]
remove core gwt classes contained in gwtquery jars and modify classpath order in order to run gwt dev mode from eclipse

13 years agofix classpath
koutsoub [Thu, 7 Apr 2011 11:03:41 +0000 (14:03 +0300)]
fix classpath

13 years agoMoved milton jars to dependencies
Christos V. Stathis [Thu, 7 Apr 2011 10:36:38 +0000 (13:36 +0300)]
Moved milton jars to dependencies

13 years agoAutomated merge with https://gss.googlecode.com/hg/
Christos V. Stathis [Wed, 6 Apr 2011 13:44:11 +0000 (16:44 +0300)]
Automated merge with https://gss.googlecode.com/hg/

13 years agoMissing resource files from previous commit
Christos V. Stathis [Wed, 6 Apr 2011 13:39:47 +0000 (16:39 +0300)]
Missing resource files from previous commit

13 years agoRe-structured the whole thing
Christos V. Stathis [Wed, 6 Apr 2011 13:37:27 +0000 (16:37 +0300)]
Re-structured the whole thing
Removed unused folders
Re-packaged the java code
Fixed the packaging of various artifacts to contain only relevant things
Changed build.xml to check for all dependencies, fixed target dependencies

13 years agocorrectly hide the "no slash allowed in file names" message
fstamatelopoulos [Mon, 4 Apr 2011 11:58:03 +0000 (14:58 +0300)]
correctly hide the "no slash allowed in file names" message

13 years agoAutomated merge with https://gss.googlecode.com/hg/
Christos V. Stathis [Thu, 31 Mar 2011 14:37:45 +0000 (17:37 +0300)]
Automated merge with https://gss.googlecode.com/hg/

13 years agoMerged with f3a4422f7b1a
Christos V. Stathis [Thu, 31 Mar 2011 14:36:05 +0000 (17:36 +0300)]
Merged with f3a4422f7b1a

13 years agoAdded tag staging-current for changeset 34635e673749
Christos V. Stathis [Thu, 31 Mar 2011 14:04:31 +0000 (17:04 +0300)]
Added tag staging-current for changeset 34635e673749

13 years agoAdded tag 1.4.1.1 for changeset bbca3e4e9433
Christos V. Stathis [Thu, 31 Mar 2011 14:04:20 +0000 (17:04 +0300)]
Added tag 1.4.1.1 for changeset bbca3e4e9433

13 years agoVersion updated to 1.4.1.1
Christos V. Stathis [Thu, 31 Mar 2011 14:03:56 +0000 (17:03 +0300)]
Version updated to 1.4.1.1

13 years agoAdded the GRNET suggested text to the About box
Christos V. Stathis [Thu, 31 Mar 2011 14:03:29 +0000 (17:03 +0300)]
Added the GRNET suggested text to the About box

13 years agoremove sorting from search results
koutsoub [Thu, 31 Mar 2011 14:02:03 +0000 (17:02 +0300)]
remove sorting from search results

13 years agoFixed infinite loop during accounting update duw to bug in calendar calculations
Christos V. Stathis [Thu, 31 Mar 2011 13:49:21 +0000 (16:49 +0300)]
Fixed infinite loop during accounting update duw to bug in calendar calculations

13 years agoalso create a file on file storage when creating an empty filebody
koutsoub [Thu, 31 Mar 2011 13:38:46 +0000 (16:38 +0300)]
also create a file on file storage when creating an empty filebody

13 years agoImported changesets 6ad7cf34a8f5, d535941636f3, f3a4422f7b1a from the default branch
Christos V. Stathis [Wed, 30 Mar 2011 08:44:32 +0000 (11:44 +0300)]
Imported changesets 6ad7cf34a8f5d535941636f3f3a4422f7b1a from the default branch

13 years agoclose response output stream
koutsoub [Tue, 29 Mar 2011 15:55:28 +0000 (18:55 +0300)]
close response output stream

13 years agoremove exception stacktraces, other fixes
koutsoub [Tue, 29 Mar 2011 15:55:01 +0000 (18:55 +0300)]
remove exception stacktraces, other fixes

13 years agoclose input stream after upload
koutsoub [Tue, 29 Mar 2011 15:51:39 +0000 (18:51 +0300)]
close input stream after upload