snf_django: Replace uenc with smart_unicode
snf_django: Explicitly set encoding of requests
Explicitly set request encoding to UTF-8 instead of relyingDEFAULT_CHARSET setting. See:https://docs.djangoproject.com/en/1.4/ref/unicode/#form-submission
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 amore represenative name for what the function is doing.
snf_django: Properly chain `exclude' queries
Although chained filters, e.g. filter(p1).filter(p2), can be summed up asfilter(p1, p2), this is not the case with exclude. If you want to excludethose selected by p1 as well as those selected by p2, you need...
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').
View revisions
Also available in: Atom