Commit Graph

6209 Commits

Author SHA1 Message Date
Frédéric Péters 22ba97571f use force_str for formdef/workflow imports (#36515) 2019-11-19 15:55:47 +01:00
Frédéric Péters ec72e371d3 api: compare signature as bytes (#36515) 2019-11-19 15:55:45 +01:00
Frédéric Péters c3fe5545ac misc: add force_str(), to encode in Python 2 (#36515) 2019-11-19 15:55:44 +01:00
Frédéric Péters 30ff9ff561 workflows: only encode on py2 (#36515) 2019-11-19 15:55:41 +01:00
Frédéric Péters e541759a67 misc: use list comprehensions to check for password character classes (#36515) 2019-11-19 15:55:37 +01:00
Frédéric Péters 1987c5407f misc: pass bytes to hmac (#36515) 2019-11-19 15:55:36 +01:00
Frédéric Péters fd88b46128 storage: use bytes when reading chunks (#36515) 2019-11-19 15:55:34 +01:00
Frédéric Péters 5da68239d3 misc: don't encode json data in py3 (#36515) 2019-11-19 15:55:33 +01:00
Frédéric Péters db6fe5f504 tests: use urllib from six (#36515) 2019-11-19 15:55:31 +01:00
Frédéric Péters 4746d75099 workflows: force list before sorting (#36515) 2019-11-19 15:55:30 +01:00
Frédéric Péters 05abc1038d tests: use req._user to force request user (#36515) 2019-11-19 15:55:28 +01:00
Frédéric Péters a295a0b441 tests: give bytes to Upload (#36515) 2019-11-19 15:55:27 +01:00
Frédéric Péters e4333e6719 logger, six.string_types + six.integer_types (#36515) 2019-11-19 15:55:24 +01:00
Frédéric Péters 6d8c2ffb14 misc: replace basestring by six.string_types (#36515) 2019-11-19 15:55:23 +01:00
Frédéric Péters 6f279b7b28 misc: iteritems() -> items() (#36515) 2019-11-19 15:55:20 +01:00
Frédéric Péters ef77a23f79 misc: use six.string_types to check (str, unicode) (#36515) 2019-11-19 15:55:06 +01:00
Frédéric Péters 7d7cea05a6 tests: update logged error test to use integer division (#36515) 2019-11-19 15:55:05 +01:00
Frédéric Péters b79a1f5fbc tests: force integer division in logged error test (#36515) 2019-11-19 15:55:04 +01:00
Frédéric Péters a6e27b1df3 backoffice: use integer division in stats (#36515) 2019-11-19 15:55:02 +01:00
Frédéric Péters cf248b9e5a backoffice: use integer division for pagination (#36515) 2019-11-19 15:55:01 +01:00
Frédéric Péters 5f1629a898 misc: update xml storage to check bytes (#36515) 2019-11-19 15:54:39 +01:00
Frédéric Péters 90fdf2c398 misc: replace new module by types module (#36515) 2019-11-19 15:54:18 +01:00
Frédéric Péters 0f4fbdd7ff form: adapt date/email widget encoding for py3 (#36515) 2019-11-19 15:54:17 +01:00
Frédéric Péters 1a7e2ec81b sql: force view columns to be defined as text (#36515) 2019-11-19 15:54:16 +01:00
Frédéric Péters d174de9cf7 misc: force workflow roles to list (#36515) 2019-11-19 15:54:14 +01:00
Frédéric Péters 95c5c36103 sql: update storage for py3 compatibility (#36515) 2019-11-19 15:54:12 +01:00
Frédéric Péters 07357b8549 request: only preprocess form fields in py2 (#36515) 2019-11-19 15:53:53 +01:00
Frédéric Péters b73c5cc666 settings: write theme files as binaries (#36515) 2019-11-19 15:53:51 +01:00
Frédéric Péters dbec13c73d admin: create archive as bytes (#36515) 2019-11-19 15:53:49 +01:00
Frédéric Péters b46c654323 misc: use binary files for thumbnails (#36515) 2019-11-19 15:53:46 +01:00
Frédéric Péters 8c0658c2c3 misc: write metadata file as binary (#36515) 2019-11-19 15:53:44 +01:00
Frédéric Péters d4e9a16468 form: use binary files for uploads (#36515) 2019-11-19 15:53:42 +01:00
Frédéric Péters 56e9be1142 tests: read/write uploads as binary (#36515) 2019-11-19 15:53:40 +01:00
Frédéric Péters 6d80317832 storage: load/save index files as binary files (#36515) 2019-11-19 15:53:38 +01:00
Frédéric Péters 4fced111d6 misc: use binary file for storage (#36515) 2019-11-19 15:53:36 +01:00
Frédéric Péters 1346c90386 ezt: update bits for python3 (has_key, basestring, number types) (#36515) 2019-11-19 15:53:34 +01:00
Frédéric Péters d4840892b4 misc: update simplify for py3 (#36515) 2019-11-19 15:53:30 +01:00
Frédéric Péters d6bce19689 use absolute import when creating default workflows (#36515) 2019-11-19 15:53:29 +01:00
Frédéric Péters 9dd19f2f05 misc: update config load for python 3 (#36515) 2019-11-19 15:53:27 +01:00
Frédéric Péters 4f827110bf misc: replace has_key usages (#36515) 2019-11-19 15:53:26 +01:00
Frédéric Péters 0db7cb0804 admin: sort emails/texts using key function (#36515) 2019-11-19 15:53:24 +01:00
Frédéric Péters 61efee3db9 tests: sort using key function (#36515) 2019-11-19 15:53:23 +01:00
Frédéric Péters be4101e5a7 api: sort using key function (#36515) 2019-11-19 15:53:21 +01:00
Frédéric Péters 5d7bc70c0f backoffice: sort ids using key function (#36515) 2019-11-19 15:53:20 +01:00
Frédéric Péters a4743c216c misc: sort using key function (#36515) 2019-11-19 15:53:18 +01:00
Frédéric Péters 11ad87508c misc: sort categories using key function (#36515) 2019-11-19 15:53:17 +01:00
Frédéric Péters 2927c87edd storage: sort results using a key, not a cmp function (#36515) 2019-11-19 15:53:14 +01:00
Frédéric Péters 0e968f3b83 misc: get urllib from django.six (#36515) 2019-11-19 15:53:13 +01:00
Frédéric Péters a321f200be misc: get META via request.environ (do not override property) (#36515) 2019-11-19 15:53:11 +01:00
Frédéric Péters 4d39395c39 misc: always pass bytes for md5 hashing (#36515) 2019-11-19 15:53:08 +01:00