Commit Graph

6284 Commits

Author SHA1 Message Date
Frédéric Péters 9926c1834d tests: check for different error message on py3 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters e30cd03549 workflows: save webservice call response as bytes (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 2323b9e445 fields: force base64 data as bytes (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 9ec61bf16c workflows: update export to models for py3 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 5a2f18f3d1 workflows: process model text as strings (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 332c910ee3 workflows: handle rtf as text (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters d8534d500b misc: encode bytes when producing json output (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 2268d53de0 conditions: adapt encoding of validation errors (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 728f4c4bf4 backoffice: expand geolocation as list (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 04ab5c8410 franceconnect: pass bytes to hashlib (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 458846d5b6 sessions: expand .items() when marking visited objects (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 66e84dadc8 hobo notify: use force_str on provisioned attributes (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 28c9c30b82 tests: check content as bytes (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 6f6635e598 workflows: read attachments as binaries (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 1adc8d855f storage: unpickle python2 strings as bytes (#36515)
(it would be so much easier to pass encoding='utf-8' and have them
converted but this will fail for objects with datetime/date/time
instances as those requires encoding='latin-1)
2019-11-20 09:17:19 +01:00
Frédéric Péters 2eb3b272bc misc: don't encode json in local charset in python 3 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters c6ac153a8c request: rework json parsing for quixote3 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters e331c73475 misc: load json as text (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 2a90f8e19e workflows: expand items as list (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters f20226c14b storage: add support for sorting disparate types (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters a22e384ac9 wscalls: use force_str when importing wscalls (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 3982bcb104 use force_str when initializing site from xml (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters d9f732c14f data sources: import xml as strings (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 9a42be138f backoffice: expand categories as list (#36515) 2019-11-20 09:17:19 +01:00
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