Statistics
| Branch: | Tag: | Revision:

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

Name Size
  management
__init__.py 0 Bytes
backend.py 21.5 kB
models.py 0 Bytes
tests.py 10.9 kB
urls.py 3.4 kB
utils.py 2.2 kB
views.py 13.9 kB

Latest revisions

# Date Author Comment
df455d57 02/21/2014 04:05 pm Christos Stavrakakis

cyclades: Replace 'uenc' with 'smart_unicode'

Replace use of 'synnefo.util.text.uenc' function with
'django.utils.encoding.smart_unicode'.

'uenc' function depends on the locale category LC_CTYPE, which is not
appropriate for Cyclades API. We explicitly use 'smart_unicode' and...

5a6cee09 02/21/2014 04:05 pm Christos Stavrakakis

snf_django: Handle unicode errors in JSON bodies

Catch unicode errors when JSON deserializing the body of a request.
Also, rename 'get_request_dict' function to 'get_json_body', as it is a
more represenative name for what the function is doing.

54d26a27 01/30/2014 12:13 pm Dionysis Grigoropoulos

cyclades: Fix numerous bugs in plankton views

  • Check if the user specified an invalid disk/container format when
    registering an image.
  • Check if the user provided a valid disk/container format when
    updating a registered image.
  • Check if the user provided an image ID when registering/updating an...
606837c6 01/29/2014 03:43 pm Christos Stavrakakis

plankton: Fix wrong import

s/lib/util

78fa9134 01/29/2014 03:24 pm Christos Stavrakakis

plankton: Validate parameters and catch assertions

d58ea30a 01/29/2014 01:41 pm Christos Stavrakakis

plankton: Fix storing of image properties

Image properties where stored all together as one metadata (JSON dumped
string). This caused problems with the maximum allowed length of for a
metadata value. This commit fixes this by storing each property as a
separate metadata which is prefixed with the 'PROPERTY_PREFIX'.

0efb43cd 01/29/2014 01:41 pm Christos Stavrakakis

plankton: Validate meta key/value length

Fail with BadRequest if length of metadata key or value is not valid.

1a9aa726 01/28/2014 03:43 pm Dionysis Grigoropoulos

cyclades: Check if the name of an image is null

72224dd6 01/28/2014 11:59 am Christos Stavrakakis

plankton: Check that object is an image

Fix bug that caused Plankton to return Pithos files that were not
registered as images. Plankton did not checked that the requested Pithos
object (UUID or URL) was an Image. This was caused because
'get_object_meta' call of PithosBackend returns the common metadata for...

3a09d155 11/13/2013 11:28 am Christos Stavrakakis

Merge branch 'hotfix-0.14.10' into develop

Conflicts:
Changelog
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/callbacks.py
snf-cyclades-app/synnefo/logic/management/commands/reconcile-networks.py...

View revisions

Also available in: Atom