Commit Graph

6290 Commits

Author SHA1 Message Date
Frédéric Péters ee2e4b4675 admin: add required encoding for graphviz subprocess (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 6ce363b666 tests: make first admin workflows test run standalone (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 853ca330b5 tests: check category export/import as bytes (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 460eee27cd workflows: use force_str on wscall result (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 08c628208c workflows: expand geolocation list (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 03927a3554 workflows: handle models as bytes (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters e4ab744246 tests: adapt wscall error message check for python 3 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 91c5c913c2 workflows: allow building an attachment from strings (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters e0f8b37f96 tests: use strings in email mocking (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 6789ec0a54 tests: pass bytes to base64 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 45330da625 misc: don't recurse in attachments proxy when deepcopying (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 8660de6c3f workflows: expand list of idp to get ws url (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters ae5a3b6b69 workflows: handle encoding in export/import of workflow actions (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 4d8c743cc4 tests: use bytes in workflow export/import tests (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 29a395a918 forms: don't decode value in py3 (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters d50bd086c0 saml: sort IdPs before logging automatically on first one (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters ac5090bf0c misc: encode x509/saml bits (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters eb0e74a5fa misc: do not convert non html body (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters c0082bd543 tests: fix qrcode test so it can be run standalone (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 590e51d442 ods: always encode cell data (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters c0a26bb67c general: always encode json as utf-8 (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 03870baeb9 misc: use force_str for formdef/workflow xml exports (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 587eceb595 templates: use force_str (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 25db9ec90b sql: force visiting_objects to be list (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 817c34c873 backoffice: expand .items() to list (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters aad4925476 api: force keywords to be an expanded list (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters b008b1b0d0 api: use sys.maxsize instead of sys.maxint (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 1c6837c1c2 misc: use force_str in lazy variables (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters cddad2a132 tests: use force_str() in sql fts test (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 2ab5a9db7e tests: expand ranges for comparisons (#36515) 2019-11-20 09:17:18 +01:00
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