Commit Graph

6260 Commits

Author SHA1 Message Date
Frédéric Péters 64d5c25ffd backoffice: use force_str for query parameter (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters d51ea17014 saml: read keys as binaries (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 41f0803095 sessions: write files as binaries (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 32047b9643 tests: expand .values() as lists (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters e57e4ec44c tests: rewrite home keywords test to handle different attributes order (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 451e8adfe6 lazy: add __bool__ = __nonzero__ for py3 compatibility (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 9e1cf8db69 formdata: iterate over a copy of dict keys when flattening it (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 220a87f743 misc: adapt de/encoding in import zip (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters d3d70a3256 tests: use __name__ to get function name (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters eee2c66599 admin: always use absolute imports for qommon (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters fbf378582e tests: expand iterkeys() in assert (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 9a19293d14 misc: always expand lists used as widget options (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 7411f6314b admin: update workflow functions sort for python3 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 95f1c52449 workflows: force visibility to be a list() (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 0a86069e31 tests: always compare roles as sets (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 73a1244970 misc: load wscall json response as text (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters b6fcd77326 tests: update http requests mocking to use bytes (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters c06b028709 misc: update requests code for py3 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters dbe3d21ff3 admin: adapt theme handling (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 29006dcabe admin: add correct encoding to user search (#36515) 2019-11-20 09:17:19 +01:00
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