Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-app / pithos / api @ 657f330d

# Date Author Comment
657f330d 01/09/2014 02:22 pm Chrysostomos Nanakos

pithos: Fix bug when catching IllegalExceptionError

fda50d75 01/09/2014 02:22 pm Chrysostomos Nanakos

pithos: Remove File - RADOS Blocker and Mapper

Add new constant for Archipelago configuration file in pithos API,
PITHOS_BACKEND_ARCHIPELAGO_CONF

fac5f6be 01/09/2014 02:22 pm Chrysostomos Nanakos

pithos: Add support for recognizing Archipelago Volumes

Fix mapfile support the new snapshot naming

Introduce new IllegalOperationError exception

Add access control to Archipelago Volume hashmaps and blocks.
Raise an IllegalOperationError exception when trying to update an...

3b8f938b 12/23/2013 01:36 pm Sofia Papagiannaki

pithos: Reduce astakosclient instances

Use backend astakosclient instance to query the account quotas.

2c2513fc 12/11/2013 12:20 pm Sofia Papagiannaki

pithos: Fix ordering in detailed listing of public objects

Refs: #4727

0f6e6e00 12/10/2013 05:59 pm Chrysostomos Nanakos

pithos: Remove get_pithos_usage() call from loop

get_pithos_usage() call is needed only once just before entering
the loop and is used every time afterwards.

6f65ba13 12/10/2013 05:48 pm Sofia Papagiannaki

Update docs

ae73cdc0 12/10/2013 04:22 pm Sofia Papagiannaki

pithos: Fix view issue with unicode paths

74c62d99 12/10/2013 03:20 pm Ilias Tsitsimpis

Print error when fail to resolve Astakos endpoints

Cyclades and Pithos use ASTAKOS_AUTH_URL to access the Astakos service.
To do so the have to access Astakos' endpoints and get the ACCOUNTS and
UI urls.

This patch adds an error message when Cyclades/Pithos fails to retrieve...

56bc5d49 12/10/2013 01:52 pm Kostas Papadimitriou

pithos: Force redirect instead of proxying for astakos ui views

Signed-off-by: Kostas Papadimitriou <>
Signed-off-by: Ilias Tsitsimpis <>

4bf0ab85 12/05/2013 03:22 pm Sofia Papagiannaki

pithos: Rename setting

Change PITHOS_SERVE_API_DOMAIN to PITHOS_UNSAFE_DOMAIN

e7f0ec5e 12/04/2013 06:58 pm Sofia Papagiannaki

pithos: Code simplification

7baa6079 12/03/2013 10:08 pm Sofia Papagiannaki

pithos: Fix tests

f4f948c0 12/03/2013 09:49 pm Sofia Papagiannaki

pithos: Fix tests

256213e4 12/03/2013 09:47 pm Sofia Papagiannaki

pithos: Remove assigned but never used variable

46662ee6 12/03/2013 09:47 pm Kostas Papadimitriou

pithos: Restrict file serving endpoints to a specific host

Introduce new setting ``PITHOS_SERVE_API_DOMAIN``. When set, all api views
that serve pithos file contents will be restricted to be served only under
the domain specified in the setting value.

fe7d0186 12/03/2013 09:47 pm Sofia Papagiannaki

astakos oa2: rename settings and url prefixes

Change setting and url prefixes from `oa2` to
`oauth2`

9b953ed4 12/03/2013 09:47 pm Sofia Papagiannaki

pithos: Remove obsolete settings

  • PITHOS_ASTAKOS_COOKIE_NAME (not useful any more)
  • PITHOS_SERVE_API (in favor of PITHOS_SERVE_API_DOMAIN)
c3dc1a13 12/03/2013 09:47 pm Sofia Papagiannaki

pithos: Fix test

798143d9 12/03/2013 09:47 pm Sofia Papagiannaki

pithos: Add missing import

b32183c6 12/03/2013 09:47 pm Sofia Papagiannaki

pithos views: In case of invalid access token request a new one

Instead of raising PermissionDenied redirect to the
object view url to re-initiate the procedure
for acquiring a new access token.

fcd85f90 12/03/2013 09:47 pm Sofia Papagiannaki

pithos views: Fix astakos authorization endpoint url

The astakos authorization endpoint url should be an absolute url.

35030d55 12/03/2013 09:47 pm Sofia Papagiannaki

pithos views: Fix tests

13bf6cd8 12/03/2013 09:47 pm Sofia Papagiannaki

pithos: Update view tests

8f2eb016 12/03/2013 09:44 pm Sofia Papagiannaki

pithos: Change pithos views authorization/authentication

Pithos views no longer use the information stored in
the PITHOS_ASTAKOS_COOKIE_NAME cookie
for authenticating the user and authorizing access to the
targeted resource.
They acquire, instead, from the authentication server (astakos)...

14569c60 12/03/2013 09:44 pm Sofia Papagiannaki

pithos: Configurable exclude api calls from being served

Prevent api calls from being served by setting PITHOS_SERVE_API
to False.

8a1ae1a7 12/03/2013 09:44 pm Sofia Papagiannaki

pithos: Fix pithos views url prefix

5ae33f6c 12/03/2013 09:44 pm Sofia Papagiannaki

pithos: Minor changes in view decorator

91fc9266 12/03/2013 04:01 pm Sofia Papagiannaki

pithos: Slight modifications in file-show command

  • Search by object UUID
  • Do not display hashmap by default
2aba7764 12/03/2013 02:44 pm Sofia Papagiannaki

snf_django: Change error status code if request method is not valid

Return 405 (NotAllowed) instead of 400 (BadRequest)
Add Allow header in the response containing the list of valid methods

c598a8a7 12/03/2013 02:05 pm Sofia Papagiannaki

pithos: Introduce file-show command

91884d63 11/29/2013 02:26 pm Giorgos Korfiatis

Add some missing Copyright notices

Also add 2013 in package COPYRIGHT files.

90e7da53 11/22/2013 04:44 pm Giorgos Korfiatis

Remove resource import/export commands

They have been subsumed by the respective service import/export commands.

1f47fbe3 10/30/2013 10:43 am Giorgos Korfiatis

pithos: Fix calling AstakosClient in reconcile

Do not pass service token in AstakosClient calls.

42c9ed6e 10/29/2013 05:55 pm Sofia Papagiannaki

pithos: Fix test

f019f93d 10/29/2013 05:10 pm Ilias Tsitsimpis

Fix pep8 errors

6ce03057 10/29/2013 04:48 pm Giorgos Korfiatis

Trim trailing slash from ASTAKOS_AUTH_URL

Endpoints no more end in slash.

f759041f 10/29/2013 04:15 pm Ilias Tsitsimpis

snf-pithos-app: Use the new AstakosClient

e8e50dcc 10/29/2013 04:15 pm Ilias Tsitsimpis

Fix pep8 errors

3dce76b5 10/29/2013 01:49 pm Sofia Papagiannaki

pithos: Eliminate AssertionError in views

Remove check for not allowed request method in view_method() decorator.
Let the api_method() decorator handle such cases.

Refs: #4501

6c9df07c 10/29/2013 01:46 pm Sofia Papagiannaki

pithos: Handle database errors during permission updates

Refs: #4502

e161c24f 10/25/2013 06:36 pm Sofia Papagiannaki

pithos: Fix permission listing for objects containing / in their name

Add tests

84c67d8e 10/22/2013 07:44 pm Sofia Papagiannaki

pithos: Extend/fix tests

77582ddd 10/03/2013 05:36 pm Nanakos Chrysostomos

Merge branch 'feature-pithos-performance-optimizations' into develop

8b5c1106 10/03/2013 03:17 pm Sofia Papagiannaki

pithos: Provide tests for requests with timestamps

87835e94 10/02/2013 11:27 pm Nanakos Chrysostomos

pithos: Fix timestamps

6b256427 10/01/2013 06:56 pm Christos Stavrakakis

Request Django=>1.4, <1.5

Drop support for Django 1.2. Remove compatibility code that were used in
order to support Django 1.2 and 1.4. Finally update django documentation
link in the docs.

0a70d2c5 10/01/2013 06:16 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8' into develop

Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5

Conflicts:
ci/ci_squeeze.conf
ci/ci_wheezy.conf
ci/schemas/one_node_squeeze/packages.conf
ci/schemas/one_node_squeeze/squeeze.conf
ci/schemas/one_node_squeeze/wheezy.conf...

a6b17d33 09/24/2013 05:16 pm Christos Stavrakakis

wheezy: urls module doesn't export defaults

f5ff1d1e 09/23/2013 07:36 pm Sofia Papagiannaki

pithos: Change error handling in views

The view_method decorator used to check the response status:
in case of unexpected response used to return
Internal Server Error (500).
This commit changes this behavior and
the view_method decorator returns whatever the api_method decorator...

c977b0b6 09/23/2013 07:09 pm Sofia Papagiannaki

pithos: Update tests

f4b0dbd8 09/23/2013 03:57 pm Sofia Papagiannaki

pithos: Fix failing test

e751cad7 09/20/2013 01:07 pm Nanakos Chrysostomos

Merge branch 'feature-pithos-performance-optimizations-develop' into feature-pithos-performance-optimizations-perf

5775b7fb 09/19/2013 11:11 am Sofia Papagiannaki

pithos: Fix tests broken after merge

ed2064f8 09/18/2013 05:17 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.6' into develop

Conflicts:
Changelog
docs/admin-guide.rst
snf-cyclades-app/synnefo/api/management/commands/network-remove.py
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/api/tests/servers.py
snf-cyclades-app/synnefo/logic/backend.py...

1acbcc7e 09/17/2013 01:11 pm Sofia Papagiannaki

pithos: Fix pithos-manage-account command

  • Set DJANGO_SETINGS_MODULE
  • Disable by default failure reports
    during container quota updates
981d3b0d 09/16/2013 05:39 pm Sofia Papagiannaki

pithos: Fix partial content responses

Refs: #4063

dc88754b 09/16/2013 04:19 pm Nanakos Chrysostomos

pithos: Performance Optimizations in Object Listing.

759b8a43 09/12/2013 06:26 pm Giorgos Korfiatis

pithos: Clear pithos_public endpoint's versionId

pithos_public service is not an API and should not be versioned; the
public URLs operated by pithos do not include a version segment, anyway.

Also make its type more specific, since type `public' is too generic.

347b2ba1 09/12/2013 06:26 pm Giorgos Korfiatis

common: Strip trailing slash from endpoints

Remove trailing slash from the endpoints' publicURL field in service
definitions. These values end up in the response of POST /tokens, and,
according to the keystone API, should not end in slash. A trailing slash...

d47565d8 09/12/2013 01:09 pm Build Bot

Revert "pithos: Use pithos backend as context manager"

This reverts commit 23b41f6fefa1a066748810c4642e58e18a4b83f9.

23b41f6f 09/12/2013 11:06 am Sofia Papagiannaki

pithos: Use pithos backend as context manager

Substitue pre_exec() and post_exec()

48bb9c89 09/12/2013 10:22 am Sofia Papagiannaki

pithos: Add missing locks

_lookup_container() locks the container path
but it was not called by some write backend methods
which expected the container path to be locked.

In those cases optionally _lookup_object() calls
the _lookup_container() in order to lock the container path....

3a5994a8 09/09/2013 01:59 pm Sofia Papagiannaki

Pithos: Catch invalid hashmap input

Refs: #3745

2e208584 09/06/2013 06:52 pm Sofia Papagiannaki

pithos: Add missing import

e7e3df52 09/06/2013 06:20 pm Sofia Papagiannaki

pithos: Fix AttributeError in tests

f53483d8 09/06/2013 05:46 pm Sofia Papagiannaki

pithos: Add tests

de8fb87d 09/02/2013 03:40 pm Sofia Papagiannaki

pithos: Destroy test database after test execution
:
Pithos uses a pool for the backend objects.
Pooled backend objects override the default close behavior
and return the object to the pool instead.
Therefore, django was unable to destroy the database
since there were active connections....

beb2b785 08/30/2013 12:01 pm Christos Stavrakakis

Move middlewares from snf-common to snf-webproject

f5bbcb5d 08/29/2013 11:19 am Sofia Papagiannaki

pithos: Fix test

ee7a28be 08/26/2013 11:25 am Sofia Papagiannaki

pithos: Fix stale import from tests file

4eaa5f3c 08/20/2013 09:39 am Christos Stavrakakis

pithos: Remove stale import from tests file

6e0f3e65 08/08/2013 05:40 pm Sofia Papagiannaki

pithos: Fix shared listing for implicitly shared objects

Provide also the appropriate tests

Refs: #4131

6ee6677e 08/08/2013 05:17 pm Sofia Papagiannaki

pithos: Add tests

f5da7eaa 08/08/2013 11:00 am Sofia Papagiannaki

pithos: Fix IndexError in update from other object

d758784b 08/05/2013 02:39 pm Christos Stavrakakis

Fix stale import statements

Commit 7cfc0ce moved code from webproject to snf_django. This commit
fixes some stale imports that skipped renaming.

adce84cd 08/02/2013 08:02 pm Sofia Papagiannaki

pithos: Fix TypeError when trying to retrieve invalid object version

00064fb8 07/31/2013 06:32 pm Sofia Papagiannaki

pithos: Add test for restoring object's version

752a2ddd 07/31/2013 06:32 pm Sofia Papagiannaki

pithos: Catch malformed X-Object-Source

Raise 400 (Bad Request) if the server fails to parse it.

e4c7cbeb 07/31/2013 06:32 pm Sofia Papagiannaki

pithos: Add test for updating an object from version

d598a6da 07/29/2013 12:36 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.4' into develop

Conflicts:
Changelog
version

5ecaeaa6 07/25/2013 06:04 pm Sofia Papagiannaki

pithos: Fix pithos test views

ff7accbe 07/25/2013 05:15 pm Sofia Papagiannaki

pithos: Fix reconcile resources command

  • Provision quantity sent should not be of type Decimal
    (not JSON serializable)
  • Fix check for user existance in the database
d4e4e501 07/25/2013 12:46 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.3' into develop

Conflicts:
Changelog
snf-astakos-app/astakos/im/messages.py
snf-pithos-app/pithos/api/manage_accounts/__init__.py
snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py
snf-pithos-app/pithos/api/settings.py...

8198fe61 07/24/2013 03:53 pm Sofia Papagiannaki

pithos: Pass full path of the next parameter in view redirect

3046f62c 07/23/2013 01:37 pm Sofia Papagiannaki

Revert "pithos: manage_accounts support for both sqlalchemy and sqlite"

This reverts commit 8414859f4895e4c67ff0bb13a8d7078c1851596a.

This commit with the current backend implementation
has broken the command for sqlalchemy module.

2ff02341 07/22/2013 06:19 pm Sofia Papagiannaki

pithos: Fix reconcile-resource-pithos command

  • Improved performance (reduce interaction with the database)
  • Fix command when `userid` option is provided

Conflicts:
snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py
snf-pithos-backend/pithos/backends/lib/sqlite/node.py

a421e0b9 07/19/2013 01:28 pm Sofia Papagiannaki

pithos: Update view_method decorator

  • If no token found in the cookie redirect to astakos login
    with next parameter pointing to the request path
  • Extend the list of the valid response statuses
  • If no expected response status is received, pass to the raised...
2a194295 07/19/2013 11:13 am Sofia Papagiannaki

pithos: Fix tests

95b36144 07/18/2013 08:03 pm Sofia Papagiannaki

pithos: Write tests for the weblogin view

48c5b124 07/18/2013 07:58 pm Sofia Papagiannaki

pithos: Update view_method decorator

  • If no token found in the cookie redirect to astakos login
    with next parameter pointing to the request path
  • Extend the list of the valid response statuses
  • If no expected response status is received, pass to the raised...
bc4f25c0 07/17/2013 11:41 am Sofia Papagiannaki

pithos: Update/extend tests

29148653 07/17/2013 11:41 am Sofia Papagiannaki

pithos: pep8 fixes

3248f20a 07/10/2013 04:37 pm Sofia Papagiannaki

pithos: Handle backend transaction management

In commit 9f135224edf6e50386dc29e0a35806a92c56a50c
the transaction management has been moved
from the pithos backend to pithos frontend.
This commit updates all modules use pithos backend
to handle transactions manually.

65f480f5 07/09/2013 05:29 pm Sofia Papagiannaki

pithos: Fix tests to run with sqlalchemy backend/sqlite engine

4691814d 07/09/2013 04:30 pm Ilias Tsitsimpis

pep8 changes

54256e77 07/05/2013 07:33 pm Georgios D. Tsoukalas

Merge branch 'feature-pithos-atomic-api' into develop

7c36f3fb 07/05/2013 07:30 pm Sofia Papagiannaki

pithos: Fix test configuration

cc62d2ab 07/05/2013 06:53 pm Sofia Papagiannaki

pithos: Cleanup api_method code

0534576c 07/05/2013 06:52 pm Sofia Papagiannaki

pithos: Restore sqlite backend module