snf_django: Fix select_related in ListCommand
Pass all related fields in a single call, because select_related does notchain as expected (yet). See https://code.djangoproject.com/ticket/16855
Also pass prefetch_related in a uniform way.
snf_django: Factor out resource reconcile
Generalize the checks operated during resource reconciliation so that theycan be used in all Synnefo components.
Adapt checks for user/project limits, include checks for project limits.
pithos: Add support for project originated quota
Introduce ``project`` container policy. The value of this policy denotesthe project from which the container quota originate.
cyclades: Validate fields of API requests
Make sure that all fields of a request (user input) have a valid type.This commit validates 'ports', 'servers' and 'floating_ips' APIs.
Refs #4979
cyclades: Detach serial from resource when resolved
snf_django: Fix bug in list commands
Fix bug in Synnefo ListCommand where you could not select to print onlythe user email columnd ('-o user.email').
astakos: Fix bug in Astakos stats view
'ASTAKOS_AUTH_URL' setting is not present in Astakos node.
django-lib: redirect option in proxy util
If set to True proxy view will return an http redirect response to thecorresponding target location.
Signed-off-by: Kostas Papadimitriou <kpap@grnet.gr>Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr>
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
snf_django: Add new filtering fuction
Add new 'filter_objects_results' function to apply filters, e.g. from--filter-by option to objects. Rename old 'parse_filters' function ,thatparsed filters to querytset arguments, to 'parse_queryset_filters.The new function is currently unused.
View revisions
Also available in: Atom