Commit Graph

6260 Commits

Author SHA1 Message Date
Frédéric Péters ee28cb7bcb use force_str for formdef/workflow imports (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 65d7c92a62 api: compare signature as bytes (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 8cf415e664 misc: add force_str(), to encode in Python 2 (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 4b82f00c73 workflows: only encode on py2 (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 52ecc94012 misc: use list comprehensions to check for password character classes (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters eeed7d6306 misc: pass bytes to hmac (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 8132c06dab storage: use bytes when reading chunks (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters b57228660a misc: don't encode json data in py3 (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 023872245e tests: use urllib from six (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters d030541ff0 workflows: force list before sorting (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 04a8d42cad tests: use req._user to force request user (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 27201a0577 tests: give bytes to Upload (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters a84c94911a logger, six.string_types + six.integer_types (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters c36f13852f misc: replace basestring by six.string_types (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters f96426853f misc: iteritems() -> items() (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 2bcbb6b441 misc: use six.string_types to check (str, unicode) (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters bdb9ab6696 tests: update logged error test to use integer division (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters a9ef2ee5c5 tests: force integer division in logged error test (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 15b9bfade5 backoffice: use integer division in stats (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters f43547d7ec backoffice: use integer division for pagination (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 08b0c3c689 misc: update xml storage to check bytes (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters ec790a911d misc: replace new module by types module (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 9e2a163383 form: adapt date/email widget encoding for py3 (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters a0615d4ebf sql: force view columns to be defined as text (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters b533ffbcf5 misc: force workflow roles to list (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 2e0df59c74 sql: update storage for py3 compatibility (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters fddc1e70a7 request: only preprocess form fields in py2 (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 53d19d563b settings: write theme files as binaries (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters eb24de3d6d admin: create archive as bytes (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters bcd89087ec misc: use binary files for thumbnails (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters dcaf693039 misc: write metadata file as binary (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 4beb5670a3 form: use binary files for uploads (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 68172f6b32 tests: read/write uploads as binary (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 19c8a9f037 storage: load/save index files as binary files (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters ad7deb5355 misc: use binary file for storage (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters d969510267 ezt: update bits for python3 (has_key, basestring, number types) (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 601e1e9741 misc: update simplify for py3 (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 1cc98e2ba1 use absolute import when creating default workflows (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters ec615482d8 misc: update config load for python 3 (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 7603e808f9 misc: replace has_key usages (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 51a4b9857d admin: sort emails/texts using key function (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 5f2855c60f tests: sort using key function (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters f43e9e0380 api: sort using key function (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters b51c8b29b7 backoffice: sort ids using key function (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 929271ea94 misc: sort using key function (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters e0736bb329 misc: sort categories using key function (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters a0b301d755 storage: sort results using a key, not a cmp function (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 58709d3084 misc: get urllib from django.six (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 2381d57f16 misc: get META via request.environ (do not override property) (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 68e4df6bec misc: always pass bytes for md5 hashing (#36515) 2019-11-20 09:17:17 +01:00