Request Django=>1.4, <1.5
Drop support for Django 1.2. Remove compatibility code that were used inorder to support Django 1.2 and 1.4. Finally update django documentationlink in the docs.
wheezy: Rename depricated HttpRequest attribute
From django docs:""" HttpRequest.raw_post_data renamed to HttpRequest.body
This attribute was confusingly named HttpRequest.raw_post_data, but itactually provided the body of the HTTP request. It’s been renamed to...
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...
Revert "wheezy: Rename depricated HttpRequest attribute"
This reverts commit cfc4b87c301504627e6a75ab2e4d32c8cd7a6e15. Thiscommit is reverted because it breaks compatibility with Django 1.2. Thisshould be applied for Synnefo 0.15.
wheezy: urls module doesn't export defaults
Fix stale import statements
Commit 7cfc0ce moved code from webproject to snf_django. This commitfixes some stale imports that skipped renaming.
Merge branch 'hotfix-0.14.2' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/views/target/__init__.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...
plankton: Make pithos backend pool size a setting
Make the pool size of the pithos backends a configurable setting,namely PITHOS_BACKEND_POOL_SIZE.
Merge branch 'develop' into feature-floating_ips_ui
Conflicts: snf-cyclades-app/synnefo/plankton/backend.py
Merge branch 'feature-pithos-atomic-api' into develop
cyclades: update plankton to commit pithos backend
The Pithos backend no longer auto-commits after each method invocation,therefore plankton needs to handle transactions itself with withpre_exec() and post_exec() methods.
cyclades: fix omitted plankton image properties
plankton: Add 'created_at' when registering image
Add 'PLANKTON:created_at' metadata to Pithos files when registering themas images to plankton.
plankton: Modular plankton backend class
Enable configurable plankton backend using setting ``PLANKTON_BACKEND_MODULE``.
Add ``synnefo.plankton.backend.JSONFileBackend`` which uses a json file asthe store of returned images. The backend should only be used in development...
plankton: Handle case of images without name
cyclades: Rename poolsize settings for uniformity
Rename ASTAKOS_POOLSIZE to CYCLADES_ASTAKOSCLIENT_POOLIZE;expose it to the conf file.
cyclades: add test for 400 in wrong Plankton paths
Ensure we return cloud faults under any API prefix
cyclades: fix variable name in plankton tests
cyclades: fix URLs in cyclades/image tests
cyclades: Rename service token
Rename CYCLADES_ASTAKOS_SERVICE_TOKEN to CYCLADES_SERVICE_TOKEN foruniformity.
plankton: Update api version prefix
v1 -> v1.0
cyclades: add version 'v1' in plankton/image URLs
make synnefo URLs consistent and configurable
https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______| BASE_HOST BASE_PATH PREFIX Hardcoded...
Add 'ASTAKOS_POOLSIZE' setting.
pithos: Rename backend quotaholder properties
Refer to astakosclient instead of quotaholder
WIP astakosclient for quotas in pithos
plankton: Cleanup and improve code
Improve performance in listing images
Use '_get_domain_objects' function of Pithos backend, to list allobjects in a 'plankton' domain, instead of looping over all accessibleaccounts, containers and objects. This function also returns metadataand permissions for each object in order to avoid two extra calls for...
List all images in snf-manage image-list
Until now 'snf-manage image-list' management command printed only imagesthat were public, or accessible by a specific user. This commit changesthis command to print all images (regardless of the owner).
plankton: raise BadRequest for invalid location
Modify 'add_image' plankton API method, to check that location parameteris a valid Pithos url, and raise BadRequest if not.
plankton: Correct image unregister
Correct usage of 'update_object_meta' function to remove all metadatafrom plankton domain. Use an empty dictionary with replace=True.
Refs #3522
plankton: add logging to backend functions
Bypass authentication in image-show command
Make image-show management command to show information about an imagewithout passing a userid. Use 'image_list' command of ImageBackendinstead of 'get_image' because the second one will raise Forbidden fornon-public images....
Fix small typo in import statement
Move astakos lib from snf-common to snf-django-lib
Move common test code to snf_django.lib.testing
Remove ImageBackend NotAllowedError
Refs #3359
Use the common 'api_method' decorator in plankton
Use the common 'api_method' decorator in all plankton API methods.Modify the 'plankton_method' decorator to only create and closethe ImageBackend.
Use common 'api_method' decorator in pithos api
Move cloud faults to 'snf_django.lib.api.faults'
Gather all faults from all synnefo projects into common'snf_django.lib.api.faults'.
Delete Image without deleting file from Pithos
Until now, deleting an image resulted in deletion of the correspondingfile from Pithos. Plankton Images are files in Pithos with specialmetadata on the 'plankton' metadata domain. Adding an Image to plankton...
Fix plankton ItemNotFound exception
Plankton backend raised AssertionError when an Image was not found.Change this to raise faults.ItemNotFound error. Temporary commituntil common API decorator is implemented.
Refs #3356
Merge branch 'feature-astakos-authpolicies' into develop
Conflicts: snf-cyclades-app/synnefo/api/management/commands/flavor-create.py version
Fix plankton shared_from image listing
Commit 469d099 introduced a typo which caused /plankton/shared_images/to raise an UnboundLocalError.
Move common code for mngmt commands to webproject
Move cyclades functions that are useful for all managament commands, likepprint_table or parse_filters, to snf-webproject.
Fix+move HTTP quotaholder client in synnefo.lib
Allow per-service configuration of the (http) quotaholder client.Kamaki is no longer needed in service (or ganeti) nodes,because the client has been moved to snf-common.
Also fix the default quotaholder settings for pithos backend to be disabled...
Correctly instantiate pithos backend pool
Plankton should explicitly pass quotaholder related args to the pithosbackend pool constructor (after the feature of deregistering imageswithout deleting them is implemented, plankton should only passquotaholder_enable=false to the constructor)....
pep8 fixes
Add plankton test
Add test for malformed filter when listing images.
ui compatibility: translate uuids to display names
Fix pep8 warnings
plankton: Handle correctly request filters
Make sure that when listing public images plankton verifies thatsize_max and size_min req filters are integers, and return a BadRequest response otherwise.
Properly configure plankton as an app
All django apps need a models.py file
Add basic tests for plankton
Refactor some test code
Make Plankton API return all available images
Modify Plankton API, such that GET to /images/ retrieves a list ofavailable images that the authenticated user has access to. Thisincludes images owned by the user, images shared with the user andpublic images.
Update management command to display user images
Merge branch 'devel-0.12' into devel-0.13
Handle Pithos NotAllowedError
Add function for pretty printing tables
Fix white space
Extend Plankton API with shared-images
Extend Plankton API, to support listing all non-public images thatare available to the user. This can be done by issuing a GET toshared-images/ and shared-images/detail.
Improve management commands
Merge branch 'master' into devel-0.12
Conflicts: snf-cyclades-app/synnefo/api/management/commands/flavor-list.py snf-cyclades-app/synnefo/api/management/commands/server-list.py snf-cyclades-app/synnefo/api/networks.py snf-cyclades-app/synnefo/logic/rapi.py
Implement image-list and image-show commands
Implement two new management commands for plankton.- image-list: lists public images or all images availableto a user- image-show: displays information about a public image
Also, this commit fixes a bug in server-show, when trying...
Revert dummy images from commit 9555268a
Optionally group public nics in one network view in ui
Conflicts: snf-cyclades-app/setup.py
Plankton raise HttpResponseForbidden in case of NotAllowedError
Remove trailing whitespace
Pool connections to snf-pithos-backend
Revert plankton backends
Fix multiple connect actions sent to the server
Refs #2358
Remove leftover debug prints
Remove duplicate check
Use pithos-backend v0.9.1
Use lib.astakos instead of our own middleware
Switch to the logging middleware
Merge remote-tracking branch 'origin/master' into astakos-integration
Conflicts: snf-cyclades-app/synnefo/api/util.py
Unquote header names and values
Fix merge conflict
Conflicts: runtests.sh snf-cyclades-app/synnefo/aai/__init__.py snf-cyclades-app/synnefo/aai/fixtures/auth_test_data.json snf-cyclades-app/synnefo/aai/middleware.py snf-cyclades-app/synnefo/aai/models.py...
Merge branch 'plankton'
Renamed snf-app to snf-cyclades-app