Commit Graph

6290 Commits

Author SHA1 Message Date
Frédéric Péters d0a39cd94c workflows: look for existence of json content with private attribute (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 03a1dffea3 storage: force (some) filename as bytes (#36515)
(required for python 3.5)
2019-11-20 09:17:20 +01:00
Frédéric Péters 0d4aa8f3d4 form: use force_str on rendered map (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 95b56b56a3 misc: sort dictionary keys when exporting to xml (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 7e2d341e6d emails: pass button link into force_str (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters c3371c012a tests: update error email for new py3 exception value (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 75bdc4816c tests: check decoded email payload (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 347e283804 emails: force_str() on html rendition of email (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 2af7c9d980 tests: update test_form_table_field_submit to use force_str (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 96d0c798b1 tests: use force_str() to encode item options (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters b025c6e196 misc: adapt ranked items for py3 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 99f3e5d456 tests: adapt mime type tests (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 5ea45846d2 tests: only check simplify() on bytes in py2 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters a2006e1fde tests: adapt test_json_str_decoder for py3 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters b52ab7e095 misc: update ranked items csv value for py3 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 61b0a91ee3 tests: adapt inspect page test for py3 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters bc5871516a form: use force_str() on wysiwyg fields (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 8377202c8d workflows: check for json request using private attribute (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters a06cbdd1e2 misc: adapt password storage (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 9d04c27a72 tests: don't manually encode utf8 in formdef name (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters df1496dd4b tests: don't distinguish unicode data sources in py3 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 059bab843a logger: use next() to iterate over log lines (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 1f1a721aef idp: read metadata and PEM keys as text (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 6d73daa14b tests: check user formdef xml export using bytes (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters df600c04e5 admin: use string to pass overwriting form xml (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 8a5378aecf misc: adapt password checking to py3 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 87a9a96cec idp: always write files as binaries (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters b5210bf8a4 storage: allow sorting objects with missing (receipt_)time (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 66fb1ebbee middleware: iterate over a copy of form keys when adding session variables (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters dc610683f4 franceconnect: adapt to py3 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 6dfb8cb004 ctl: open zip file in binary mode (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 56652ecc62 admin: use binary files for theme/global export/import (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters f3db0ac83e workflows: open generated pdf file in binary mode (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 1bb828399d backoffice: export ods as binary (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters fc7b809712 api: alter request user using hidden attribute (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters fa1cab0d22 tests: don't pass encoding to json.dumps (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 52f490d19d misc: pass bytes to base64 in utils.attachment() function (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 1950e4a219 formdef: handle base64 in xml import/export (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 8dcccc7e9c misc: pass bytes to base64 when doing http basic authentication (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters a369113446 misc: use strings when distributing base64 to json (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 71fce1ed83 workflows: use json_loads wrapper when displaying wscall error details (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters f3d08b571f tests: check generated PDF using bytes (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 594af7e6ad formdef: use itertools.chain to iterate over two lists (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters ca8d2f12ec tests: use bytes for attachments (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 6fb05aa64f tests: check download contents as bytes (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 75644e0e50 data sources: use bytes to generate hash for cache key (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters a549bf930c tests: write invalid json file using codecs.encode (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 16d69e14ab commands: adapt convert-to-sql for python3 (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters 87e3f925cb tests: check convert to sql errors using str() (#36515) 2019-11-20 09:17:19 +01:00
Frédéric Péters a41d06892e ctl: use bytes in check_hobos command (#36515) 2019-11-20 09:17:19 +01:00