Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / plankton @ ccfbf77b

Name Size
  management
__init__.py 0 Bytes
backend.py 16.8 kB
models.py 0 Bytes
tests.py 9.7 kB
urls.py 3.3 kB
utils.py 2.1 kB
views.py 12.3 kB

Latest revisions

# Date Author Comment
d0986bac 04/30/2013 05:05 pm Christos Stavrakakis

Cyclades: remove all quotaholder settings

Remove from cyclades all settings that were relative with Quotaholder.
Remove CYCLADES_USE_QUOTAHOLDER settings, since Cyclades can not work
any more without quotas.
Remove CYCLADES_QUOTAHOLDER_URL and CYCLADES_QUOTAHOLDER_TOKEN since...

cda71050 04/22/2013 10:10 am Christos Stavrakakis

plankton: Cleanup and improve code

Major refactor in plankton APP and ImageBackend code:
  • Remove unused code
  • Remove 'plankton_method' decorator that added an ImageBackend to
    requests an replace it with 'image_backend' context manager. This
    context manager is responsible for opening and closing connections...
14c94c48 04/22/2013 10:10 am Christos Stavrakakis

Improve performance in listing images

Use '_get_domain_objects' function of Pithos backend, to list all
objects in a 'plankton' domain, instead of looping over all accessible
accounts, containers and objects. This function also returns metadata
and permissions for each object in order to avoid two extra calls for...

07f5a62c 04/22/2013 10:10 am Christos Stavrakakis

List all images in snf-manage image-list

Until now 'snf-manage image-list' management command printed only images
that were public, or accessible by a specific user. This commit changes
this command to print all images (regardless of the owner).

59573532 04/22/2013 10:10 am Christos Stavrakakis

plankton: raise BadRequest for invalid location

Modify 'add_image' plankton API method, to check that location parameter
is a valid Pithos url, and raise BadRequest if not.

22b5ac0b 04/22/2013 10:10 am Christos Stavrakakis

plankton: Correct image unregister

Correct usage of 'update_object_meta' function to remove all metadata
from plankton domain. Use an empty dictionary with replace=True.

Refs #3522

62d3ea53 04/22/2013 10:10 am Christos Stavrakakis

plankton: add logging to backend functions

a1a4cbfb 04/22/2013 10:10 am Christos Stavrakakis

Bypass authentication in image-show command

Make image-show management command to show information about an image
without passing a userid. Use 'image_list' command of ImageBackend
instead of 'get_image' because the second one will raise Forbidden for
non-public images....

a9be7bf7 04/15/2013 04:11 pm Christos Stavrakakis

Fix small typo in import statement

04a1b675 04/08/2013 06:17 pm Christos Stavrakakis

Move astakos lib from snf-common to snf-django-lib

View revisions

Also available in: Atom