| Branch: | Tag: | Revision:

root @ 4267cb32

Latest revisions

# Date Author Comment
4267cb32 02/26/2014 12:43 pm Christos Stavrakakis

snf_django: Fix alignment in pprint_table command

Alignment was broken from new code that decoded table fields using
user's encoding, since len() function will count length of bytes and not
characters. This commit fixes by making pprint_table work only with...

857f8a2f 02/25/2014 05:58 pm Christos Stavrakakis

snf_django: Fix unicode decoding in SynnefoCommand

Some options of snf-manage commands maybe list or tuples. Applying
'smart_unicode' to them will convert them to unicode object. Instead
of recursively converting data, we convert the arguments to unicodes...

4e571185 02/25/2014 03:01 pm Dionysis Grigoropoulos

plankton: Handle a potential 500 error in plankton

  • Catch a potential 500 error, when registering a file as an Image, while
    trying to decode "Image name" into unicode.
  • Add corresponding test case
51e5aa11 02/24/2014 02:12 pm Christos Stavrakakis

snf_django: Fix typo

1ed138e8 02/24/2014 01:41 pm Christos Stavrakakis

snf_django: Revert wrong change in exclude list

Revert way that 'exclude' is called, from commit #99955a0.

8c911970 02/24/2014 01:14 pm Christos Stavrakakis

cyclades: s/BaseCommand/SynnefoCommand

Replace use of BaseCommand with SynnefoCommand which will convert the
arguments/options to unicode objects.

99955a02 02/24/2014 01:07 pm Christos Stavrakakis

snf_django: Handle unicodes in SynnefoCommand

Extend SynnefoCommand to override 'run_from_argv' function in order
to decode command line argumuents and options, using the user's
preferred encoding.

91c788ec 02/24/2014 01:05 pm Christos Stavrakakis

snf_django: Add utils function to handle unicodes

Add utils functions to handle unicode objects from 'snf-manage' using
the user's preferred encoding. Also add 'safe_string' function to
escape control characters from strings and unicode objects.

2e90e666 02/24/2014 12:49 pm Christos Stavrakakis

Replace use of 'udec' with 'smart_unicode'

a4e9c19c 02/21/2014 04:11 pm Christos Stavrakakis

plankton: Fix handling of HTTP headers

Handle properly image properties that are passed through HTTP headers.
We convert the request headers to image properties by unquoting them and
then decoding them to Unicode objects using 'utf-8' encoding. Image keys...

View all revisions | View revisions

Also available in: Atom