Commit Graph

5358 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 de96b7d721 publisher: restore config.json from zip file as text (#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 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 5dc016682f forms: mark invalid prefill value explicitely (#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 347e283804 emails: force_str() on html rendition of email (#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 b52ab7e095 misc: update ranked items csv value 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 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 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 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 594af7e6ad formdef: use itertools.chain to iterate over two lists (#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 16d69e14ab commands: adapt convert-to-sql for python3 (#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
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 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 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