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.
cyclades: Optimize server-list command
Optimize server-list command by prefetching related fields if needed.
snf_django: Fix typo in --output-format help text
snf_django: Log all 5xx to 'django.request'
Change api_method decorator to log besides unhandled exceptions, all5xx API responses to 'django.request'.
snf_django: Log exceptions to 'django.request'
Change api_method decorator to log unhandled exception in'django.request' handler in order to match with Django's defaultbehaviour to log unhandled exceptions as 'error' in 'django.request' andsent mail to admins for such cases.
snf_django: Propper logging of unexpected errors
Extend logging of unexpected errors, in 'api_method' decorator toinclude the request and the status code in the log record, in order tobe properly displayed by Django's AdminMailHandler.
cyclades: Update some snf-manage commands
cyclades: Verbal fixes on some snf-manage commands
View revisions
Also available in: Atom