Commit Graph

6290 Commits

Author SHA1 Message Date
Frédéric Péters 5d7e3d9ff1 ctl: use open() instead of file() (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters bd84240b5c tests: check provisioned user attribute as proper type (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 2d49eb4cbd tests: expand get_visited_objects result (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters a377981eee tests: only check integer part of reproj result (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 896f6a5607 misc: adapt nir code validation to py3 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 1042ecb3f7 workflows: use force_str to display wscall error details (#36515) 2019-11-20 09:17:19 +01:00
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