pithos
11 years agosocket verification for pooled pithos backends
root [Wed, 3 Oct 2012 11:03:12 +0000 (14:03 +0300)]
socket verification for pooled pithos backends

11 years agoFix bug in PithosBackendPool
Christos Stavrakakis [Wed, 12 Sep 2012 10:11:42 +0000 (13:11 +0300)]
Fix bug in PithosBackendPool

Get _trans from the DBWrapper

11 years agocleanup pithos backend pools, new pool api support
Georgios D. Tsoukalas [Tue, 11 Sep 2012 11:10:59 +0000 (14:10 +0300)]
cleanup pithos backend pools, new pool api support

11 years agoPool pithos backends using ObjectPool
Vangelis Koukis [Thu, 6 Sep 2012 14:40:43 +0000 (17:40 +0300)]
Pool pithos backends using ObjectPool

Use ObjectPool functionality from synnefo.lib.pool
to pool backend objects.

This reduces the per-request overhead significantly,
since each backend object is only initialized once,
and connections to the DB are persistent.

Also bump snf-common dependency to reflect need for
updated snf-common with ObjectPool support.

Signed-off-by: Georgios D. Tsoukalas <gtsouk@cslab.ece.ntua.gr>
Signed-off-by: Vangelis Koukis <vkoukis@grnet.gr>

11 years agoRevert "Have BaseBackend inherit from ArgBasedSingleton"
Vangelis Koukis [Sat, 25 Aug 2012 13:07:08 +0000 (16:07 +0300)]
Revert "Have BaseBackend inherit from ArgBasedSingleton"

This reverts commit d2869078476a590d2f875b45801fceee37234344.
The ModularBackend object has not been designed to be used
by multiple contexts concurrenctly, and shouldn't inherit
from ArgBasedSingleton.

Subsequent patches will enable pooling of ModularBackend objects,
using the ObjectPool facility of synnefo.lib.pool.

11 years agoHave BaseBackend inherit from ArgBasedSingleton
Vangelis Koukis [Tue, 24 Jul 2012 15:58:30 +0000 (18:58 +0300)]
Have BaseBackend inherit from ArgBasedSingleton

Have the base pithos+ backend inherit from
synnefo.lib.singleton.ArgBasedSingleton.

This makes repeated attempts to re-instantiate any pithos+ backend with
the same arguments reuse the pre-existing backend object.

11 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Thu, 19 Jul 2012 13:51:10 +0000 (16:51 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

11 years agoinclude path in messages sent to aquarium
Sofia Papagiannaki [Thu, 19 Jul 2012 13:50:51 +0000 (16:50 +0300)]
include path in messages sent to aquarium

11 years agoUpdate Changelog for snf-pithos-backend pithos/v0.10.1
Kostas Papadimitriou [Thu, 19 Jul 2012 11:46:54 +0000 (14:46 +0300)]
Update Changelog for snf-pithos-backend

11 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Thu, 19 Jul 2012 11:44:16 +0000 (14:44 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

11 years agofix nodes latest_version revision
Sofia Papagiannaki [Thu, 19 Jul 2012 11:43:20 +0000 (14:43 +0300)]
fix nodes latest_version revision

11 years agoInclude alembic dir in python package pithos/v0.10.0
Kostas Papadimitriou [Wed, 18 Jul 2012 17:36:39 +0000 (20:36 +0300)]
Include alembic dir in python package

11 years agoWorkaround to identify proper alchemy url
Kostas Papadimitriou [Wed, 18 Jul 2012 17:16:23 +0000 (20:16 +0300)]
Workaround to identify proper alchemy url

Not all apps use the same setting name for the pithos backend connection

11 years agoBump versions for v0.10.0 release
Kostas Papadimitriou [Wed, 18 Jul 2012 15:08:30 +0000 (18:08 +0300)]
Bump versions for v0.10.0 release

- in setup.py required packages
- in Changelog entry

11 years agopithos-migrate fixes
Kostas Papadimitriou [Wed, 18 Jul 2012 14:59:43 +0000 (17:59 +0300)]
pithos-migrate fixes

- Handle empty args
- initdb feedback
- Proper engine initialization from synnefo settings
  PITHOS_BACKEND_DB_CONNECTION value

11 years agoDo not set default url in alembic.ini
Kostas Papadimitriou [Wed, 18 Jul 2012 14:56:55 +0000 (17:56 +0300)]
Do not set default url in alembic.ini

sqlalchemy url will be dynamically set in alembic config object based on
synnefo.settings.PITHOS_BACKEND_DB_CONNECTION.

11 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Wed, 18 Jul 2012 14:42:25 +0000 (17:42 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

11 years agouse alembic to initialize the backend database
Sofia Papagiannaki [Wed, 18 Jul 2012 14:41:57 +0000 (17:41 +0300)]
use alembic to initialize the backend database

11 years agoUpdate backend Changelog
Kostas Papadimitriou [Wed, 18 Jul 2012 12:14:28 +0000 (15:14 +0300)]
Update backend Changelog

include migration quick guide using pithos-migrate

11 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Wed, 18 Jul 2012 12:13:07 +0000 (15:13 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

Merge with pithos-migrate

Conflicts:
snf-pithos-backend/pithos/backends/lib/sqlalchemy/alembic.ini

11 years agoUpdate pithos-backend setup.py
Kostas Papadimitriou [Tue, 17 Jul 2012 19:10:15 +0000 (22:10 +0300)]
Update pithos-backend setup.py

- Include alembic in required packages
- Entry point for migration tool

11 years agoUpdate alembic .ini
Sofia Papagiannaki [Tue, 17 Jul 2012 19:09:55 +0000 (22:09 +0300)]
Update alembic .ini

11 years agoUpdate Changelog
Sofia Papagiannaki [Tue, 17 Jul 2012 19:09:11 +0000 (22:09 +0300)]
Update Changelog

11 years agoMigrate against synnefo.settings backend by default
Kostas Papadimitriou [Tue, 17 Jul 2012 19:07:11 +0000 (22:07 +0300)]
Migrate against synnefo.settings backend by default

use ``PITHOS_BACKEND_DB_CONNECTION`` as default value for alembic sqlalchemy.url
option.

11 years agoPithos alembic migration wrapper tool
Kostas Papadimitriou [Tue, 17 Jul 2012 19:06:32 +0000 (22:06 +0300)]
Pithos alembic migration wrapper tool

11 years agofix tests in case there are no initial containers
Sofia Papagiannaki [Tue, 17 Jul 2012 18:50:25 +0000 (21:50 +0300)]
fix tests in case there are no initial containers

11 years agoRemove index on cluster
Sofia Papagiannaki [Tue, 17 Jul 2012 18:02:08 +0000 (21:02 +0300)]
Remove index on cluster

Refs: #2675

11 years agoWrite more realistic tests
Sofia Papagiannaki [Tue, 17 Jul 2012 18:01:20 +0000 (21:01 +0300)]
Write more realistic tests

Refs: #2675

11 years agoRefs: #2675
Sofia Papagiannaki [Tue, 17 Jul 2012 17:57:49 +0000 (20:57 +0300)]
Refs: #2675

Introduce alembic

11 years agofix default value for PITHOS_URL environmental variable
Sofia Papagiannaki [Tue, 17 Jul 2012 01:23:48 +0000 (04:23 +0300)]
fix default value for PITHOS_URL environmental variable

11 years agoeliminate nested sql aggregations
Sofia Papagiannaki [Tue, 17 Jul 2012 01:22:49 +0000 (04:22 +0300)]
eliminate nested sql aggregations

Refs: #2675

11 years agofix indent
Sofia Papagiannaki [Mon, 2 Jul 2012 12:57:17 +0000 (14:57 +0200)]
fix indent

11 years agoFix broken compatibility with cloud files
Sofia Papagiannaki [Mon, 2 Jul 2012 11:14:30 +0000 (13:14 +0200)]
Fix broken compatibility with cloud files

11 years agoReverse back Revision 7fbf8aa20c647e2c98c2ba53f80dcfa0e971a499
Sofia Papagiannaki [Fri, 29 Jun 2012 15:57:01 +0000 (18:57 +0300)]
Reverse back Revision 7fbf8aa20c647e2c98c2ba53f80dcfa0e971a499

Refs: #2611

11 years agoCall for delete container contents
Sofia Papagiannaki [Fri, 29 Jun 2012 15:34:48 +0000 (18:34 +0300)]
Call for delete container contents

Refs: #2611

11 years agoRewrite tests for mass operations
Sofia Papagiannaki [Fri, 29 Jun 2012 10:21:16 +0000 (13:21 +0300)]
Rewrite tests for mass operations

Refs: #2611

11 years agoFix size & type of copied objects (sqlite)
Sofia Papagiannaki [Thu, 28 Jun 2012 16:52:45 +0000 (19:52 +0300)]
Fix size & type of copied objects (sqlite)

Refs: #2611

11 years agoFix size & type of copied files
Sofia Papagiannaki [Thu, 28 Jun 2012 16:33:09 +0000 (19:33 +0300)]
Fix size & type of copied files

Refs: #2611

11 years agochange backend to raise custom exceptions
Sofia Papagiannaki [Thu, 28 Jun 2012 12:51:01 +0000 (15:51 +0300)]
change backend to raise custom exceptions

11 years agoMerge branch 'next'
Sofia Papagiannaki [Wed, 27 Jun 2012 15:35:22 +0000 (18:35 +0300)]
Merge branch 'next'

11 years agoMore tests for listing shared & public objects & mass copy/move/delete
Sofia Papagiannaki [Wed, 27 Jun 2012 15:33:06 +0000 (18:33 +0300)]
More tests for listing shared & public objects & mass copy/move/delete

Refs: #2611
Refs: #2394

11 years agoProgress II: update sqlalchemy pithos backend lib
Sofia Papagiannaki [Wed, 27 Jun 2012 15:31:06 +0000 (18:31 +0300)]
Progress II: update sqlalchemy pithos backend lib

Refs: #2611

11 years agoIgnore public parameter in case of mass copy/delete
Sofia Papagiannaki [Tue, 26 Jun 2012 16:25:08 +0000 (19:25 +0300)]
Ignore public parameter in case of mass copy/delete

Refs: #2611

11 years agoCorrect length in test for maximum upload size violation
Sofia Papagiannaki [Tue, 26 Jun 2012 16:24:26 +0000 (19:24 +0300)]
Correct length in test for maximum upload size violation

11 years ago``shared`` and ``public`` parameters in pithos-sh list command
Sofia Papagiannaki [Tue, 26 Jun 2012 16:12:03 +0000 (19:12 +0300)]
``shared`` and ``public`` parameters in pithos-sh list command

Refs: #2394

11 years agoExtend client library & pithos-sh to support mass delete/copy/remove
Sofia Papagiannaki [Tue, 26 Jun 2012 16:09:47 +0000 (19:09 +0300)]
Extend client library & pithos-sh to support mass delete/copy/remove

Refs: #2611

11 years agooptimize sorts
Sofia Papagiannaki [Tue, 26 Jun 2012 16:06:36 +0000 (19:06 +0300)]
optimize sorts

11 years agoFix change object content type (move object)
Sofia Papagiannaki [Tue, 26 Jun 2012 15:55:07 +0000 (18:55 +0300)]
Fix change object content type (move object)

Refs: #2611

11 years agoDo not include children of public objects in listings
Sofia Papagiannaki [Tue, 26 Jun 2012 13:43:54 +0000 (16:43 +0300)]
Do not include children of public objects in listings

Refs: #2394

11 years agoProgess I
Sofia Papagiannaki [Mon, 25 Jun 2012 16:50:25 +0000 (19:50 +0300)]
Progess I

Refs: #2611

11 years agoinclude user in logs
Sofia Papagiannaki [Thu, 21 Jun 2012 09:18:30 +0000 (12:18 +0300)]
include user in logs

11 years agomove get_user in api_method
Sofia Papagiannaki [Wed, 20 Jun 2012 13:27:37 +0000 (16:27 +0300)]
move get_user in api_method

11 years agofix feedback response in case of URLError
Sofia Papagiannaki [Tue, 19 Jun 2012 16:37:37 +0000 (19:37 +0300)]
fix feedback response in case of URLError

11 years agoUpdate default config file and Changelog pithos/v0.9.7
Kostas Papadimitriou [Wed, 6 Jun 2012 12:38:21 +0000 (15:38 +0300)]
Update default config file and Changelog

11 years agoUpdate Changelog files
Kostas Papadimitriou [Wed, 6 Jun 2012 12:26:05 +0000 (15:26 +0300)]
Update Changelog files

11 years agofix feedback service, handle URLError
Sofia Papagiannaki [Thu, 24 May 2012 12:50:22 +0000 (15:50 +0300)]
fix feedback service, handle URLError

11 years agofix detailed public listing
Sofia Papagiannaki [Wed, 23 May 2012 15:19:10 +0000 (18:19 +0300)]
fix detailed public listing

Refs: #2394

11 years agoextend client library and write tests for listing public container/objects
Sofia Papagiannaki [Wed, 23 May 2012 12:55:30 +0000 (15:55 +0300)]
extend client library and write tests for listing public container/objects

Refs: #2394

11 years agofix list_containers
Sofia Papagiannaki [Tue, 22 May 2012 17:00:54 +0000 (20:00 +0300)]
fix list_containers

Refs: #2394

11 years agofix list_objects
Sofia Papagiannaki [Tue, 22 May 2012 16:57:07 +0000 (19:57 +0300)]
fix list_objects

Refs: #2394

11 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Tue, 22 May 2012 14:51:51 +0000 (17:51 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

11 years agochange API calls to include public objects in shared by me
Sofia Papagiannaki [Tue, 22 May 2012 14:51:32 +0000 (17:51 +0300)]
change API calls to include public objects in shared by me

Refs: #2394

11 years agoDelegate feedback post request to Identity Provider (stakes)
Sofia Papagiannaki [Tue, 22 May 2012 14:50:15 +0000 (17:50 +0300)]
Delegate feedback post request to Identity Provider (stakes)

Refs: #2418

11 years agoDo not use sample users by default
Kostas Papadimitriou [Tue, 15 May 2012 16:19:54 +0000 (19:19 +0300)]
Do not use sample users by default

11 years agoUpdate changelogs pithos/v0.9.6
Kostas Papadimitriou [Thu, 3 May 2012 09:15:10 +0000 (12:15 +0300)]
Update changelogs

11 years agoclient library: fix double content-type header
Sofia Papagiannaki [Wed, 2 May 2012 15:57:01 +0000 (18:57 +0300)]
client library: fix double content-type header

11 years agopass umask parameter in ModularBackend
Sofia Papagiannaki [Wed, 2 May 2012 12:31:37 +0000 (15:31 +0300)]
pass umask parameter in ModularBackend

11 years agomissing HTTPSConnection import
Sofia Papagiannaki [Wed, 2 May 2012 09:10:37 +0000 (12:10 +0300)]
missing HTTPSConnection import

11 years agoAdd umask option.
Antony Chazapis [Mon, 30 Apr 2012 13:34:16 +0000 (16:34 +0300)]
Add umask option.

11 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Tue, 24 Apr 2012 16:25:55 +0000 (19:25 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

11 years agofix login force
Sofia Papagiannaki [Tue, 24 Apr 2012 16:25:47 +0000 (19:25 +0300)]
fix login force

12 years agoUpdate Changelog files pithos/v0.9.5
Kostas Papadimitriou [Fri, 20 Apr 2012 08:39:48 +0000 (11:39 +0300)]
Update Changelog files

12 years agoMerge branch 'master' of https://code.grnet.gr/git/pithos
Antony Chazapis [Thu, 19 Apr 2012 16:07:52 +0000 (19:07 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos

12 years agoRemove docs (have been moved to synnefo).
Antony Chazapis [Thu, 19 Apr 2012 16:07:21 +0000 (19:07 +0300)]
Remove docs (have been moved to synnefo).

12 years agoCalculate the length of the last block properly.
Antony Chazapis [Thu, 19 Apr 2012 16:02:09 +0000 (19:02 +0300)]
Calculate the length of the last block properly.

Fixes #2321

12 years agofix pithos-sh put using hashmaps
Sofia Papagiannaki [Thu, 19 Apr 2012 13:31:28 +0000 (16:31 +0300)]
fix pithos-sh put using hashmaps

12 years agoadd progress bars in pithos-sh
Sofia Papagiannaki [Thu, 19 Apr 2012 12:19:41 +0000 (15:19 +0300)]
add progress bars in pithos-sh

12 years agoUpdate Changelog files pithos/v0.9.4
Kostas Papadimitriou [Wed, 11 Apr 2012 14:23:02 +0000 (17:23 +0300)]
Update Changelog files

12 years agoOverwrite permissions every time.
Antony Chazapis [Wed, 11 Apr 2012 07:56:44 +0000 (10:56 +0300)]
Overwrite permissions every time.

Fixes #2312

12 years agoSolve OOS API compatibility problems.
Antony Chazapis [Tue, 10 Apr 2012 16:06:56 +0000 (19:06 +0300)]
Solve OOS API compatibility problems.

Fixes #2300

12 years agoadd missing imports
Sofia Papagiannaki [Tue, 10 Apr 2012 09:51:56 +0000 (12:51 +0300)]
add missing imports

Refs #2295

12 years agoChange default server.
Sofia Papagiannaki [Tue, 10 Apr 2012 09:16:07 +0000 (12:16 +0300)]
Change default server.

12 years agoSend sharing notifications.
Sofia Papagiannaki [Tue, 10 Apr 2012 09:15:40 +0000 (12:15 +0300)]
Send sharing notifications.

Fixes #2295

12 years agoInclude instance in queue messages.
Antony Chazapis [Tue, 10 Apr 2012 08:32:32 +0000 (11:32 +0300)]
Include instance in queue messages.

12 years agoDifferent queue message types use different keys.
Antony Chazapis [Tue, 3 Apr 2012 15:45:56 +0000 (18:45 +0300)]
Different queue message types use different keys.

12 years agoAdd dispatcher function for updating object checksums asynchronously.
Antony Chazapis [Tue, 3 Apr 2012 07:48:33 +0000 (10:48 +0300)]
Add dispatcher function for updating object checksums asynchronously.

Refs #1792

12 years agoMake checksum updates optional.
Antony Chazapis [Mon, 2 Apr 2012 22:46:23 +0000 (01:46 +0300)]
Make checksum updates optional.

Refs #1792

12 years agoReport object changes to the queue.
Antony Chazapis [Mon, 2 Apr 2012 22:17:21 +0000 (01:17 +0300)]
Report object changes to the queue.

Refs #1792

12 years agoUpdate Changelog files for v0.9.3 pithos/v0.9.3
Kostas Papadimitriou [Mon, 2 Apr 2012 14:30:37 +0000 (17:30 +0300)]
Update Changelog files for v0.9.3

12 years agoFixes for non-automatic container versioning policy.
Antony Chazapis [Mon, 2 Apr 2012 13:26:24 +0000 (16:26 +0300)]
Fixes for non-automatic container versioning policy.

Refs #2030

12 years agoOpen files in backend as read-only if such is the filesystem.
Antony Chazapis [Mon, 2 Apr 2012 10:26:23 +0000 (13:26 +0300)]
Open files in backend as read-only if such is the filesystem.

12 years agoCheck Content-Type up to semicolon.
Antony Chazapis [Fri, 23 Mar 2012 13:25:30 +0000 (15:25 +0200)]
Check Content-Type up to semicolon.

Fixes #2240

12 years agoFix.
root [Fri, 16 Mar 2012 12:54:41 +0000 (14:54 +0200)]
Fix.

12 years agoIgnore distribute's package in the repository.
Antony Chazapis [Fri, 16 Mar 2012 12:26:00 +0000 (14:26 +0200)]
Ignore distribute's package in the repository.

12 years agoUse cookie to get token when retrieving objects.
Antony Chazapis [Fri, 16 Mar 2012 12:24:51 +0000 (14:24 +0200)]
Use cookie to get token when retrieving objects.

12 years agosetup dispatcher environment with synnefo settings
Sofia Papagiannaki [Mon, 12 Mar 2012 14:20:19 +0000 (16:20 +0200)]
setup dispatcher environment with synnefo settings

12 years agofix DEBUG in dispatcher pithos/v0.9.2
Sofia Papagiannaki [Thu, 8 Mar 2012 13:26:22 +0000 (15:26 +0200)]
fix DEBUG in dispatcher

12 years agoclose sqlalchemy connections literally
Sofia Papagiannaki [Thu, 8 Mar 2012 13:25:37 +0000 (15:25 +0200)]
close sqlalchemy connections literally

12 years agosupport for multiple accounts authentication: introduce ``force`` parameter in `...
Sofia Papagiannaki [Tue, 6 Mar 2012 16:32:07 +0000 (18:32 +0200)]
support for multiple accounts authentication: introduce ``force`` parameter in `/login` target

Refs: #2111

12 years agoFix cloudbar in static html.
root [Tue, 28 Feb 2012 14:52:07 +0000 (16:52 +0200)]
Fix cloudbar in static html.