Commit Graph

6210 Commits

Author SHA1 Message Date
Frédéric Péters 066824a03d ctl: accept non-string variables during hobo deploy (#37833) 2019-11-20 18:43:32 +01:00
Frédéric Péters 14c43d7fbc admin: encode graphviz svg (#37827) 2019-11-20 16:12:36 +01:00
Frédéric Péters e80be39d50 translation update 2019-11-20 14:08:12 +01:00
Frédéric Péters ac80c56af6 tox: add build dependencies (#36515) 2019-11-20 09:21:15 +01:00
Frédéric Péters 279abb7753 tox: run tests against python 3 (#36515) 2019-11-20 09:21:15 +01:00
Frédéric Péters de96b7d721 publisher: restore config.json from zip file as text (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 6b07387ad4 tests: get test_finish_interrupted_request responses content (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 3e78ff2e19 tests: make test_finish_failed_request work standalone (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters c142f43fca misc: use force_str to encode exception in error page (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters f6995de73a publisher: only handle non-encodable exception strings in python 2 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 9c710ba2ea misc: don't enable form tokens in simulated form in test_display_form (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 1d2a1d869a formdef: add pre-json serialization of struct_time workflow options (#36515)
(python3 json serializer would otherwise catch them and serialize them
as tuples)
2019-11-20 09:17:20 +01:00
Frédéric Péters b2b2fa0bff tests: use PicklableUpload in test that requires copying structure (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters e2f3df0cc1 tests: don't check application/msword extension as it may vary (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 5dc016682f forms: mark invalid prefill value explicitely (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 2d9bebb49a tests: update check against json exception message (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters d9c03728d1 tests: mark request as POST to get mock form data parsed (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 7e438162d9 ctl: update check_hobos to use force_str to handle strings (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 1ce0c7bcc3 portfolio: pass text to json (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 533a82c9f1 runscript: pass script name as str (#36515) 2019-11-20 09:17:20 +01:00
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