snf_django: Revert wrong change in exclude list
Revert way that 'exclude' is called, from commit #99955a0.
cyclades: s/BaseCommand/SynnefoCommand
Replace use of BaseCommand with SynnefoCommand which will convert thearguments/options to unicode objects.
snf_django: Handle unicodes in SynnefoCommand
Extend SynnefoCommand to override 'run_from_argv' function in orderto decode command line argumuents and options, using the user'spreferred encoding.
snf_django: Add utils function to handle unicodes
Add utils functions to handle unicode objects from 'snf-manage' usingthe user's preferred encoding. Also add 'safe_string' function toescape control characters from strings and unicode objects.
Replace use of 'udec' with 'smart_unicode'
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: 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.
View revisions
Also available in: Atom