Commit Graph

5354 Commits

Author SHA1 Message Date
Frédéric Péters a87a181371 publisher: restore config.json from zip file as text (#36515) 2019-11-19 16:01:00 +01:00
Frédéric Péters 57f96ee3b4 misc: use force_str to encode exception in error page (#36515) 2019-11-19 16:00:57 +01:00
Frédéric Péters 7b0978cf00 publisher: only handle non-encodable exception strings in python 2 (#36515) 2019-11-19 16:00:55 +01:00
Frédéric Péters 4f3dc60311 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-19 16:00:49 +01:00
Frédéric Péters 03987a6e6c forms: mark invalid prefill value explicitely (#36515) 2019-11-19 16:00:45 +01:00
Frédéric Péters 52df31918f ctl: update check_hobos to use force_str to handle strings (#36515) 2019-11-19 16:00:40 +01:00
Frédéric Péters 4aa96b93c5 portfolio: pass text to json (#36515) 2019-11-19 16:00:39 +01:00
Frédéric Péters 0be6a94f13 runscript: pass script name as str (#36515) 2019-11-19 16:00:37 +01:00
Frédéric Péters 0eb5415bee workflows: look for existence of json content with private attribute (#36515) 2019-11-19 16:00:35 +01:00
Frédéric Péters e9771cc834 storage: force (some) filename as bytes (#36515)
(required for python 3.5)
2019-11-19 16:00:34 +01:00
Frédéric Péters a1414e1ebc form: use force_str on rendered map (#36515) 2019-11-19 16:00:33 +01:00
Frédéric Péters 478ff982a1 misc: sort dictionary keys when exporting to xml (#36515) 2019-11-19 16:00:31 +01:00
Frédéric Péters 82fd9489bf emails: pass button link into force_str (#36515) 2019-11-19 16:00:30 +01:00
Frédéric Péters 2877790b24 emails: force_str() on html rendition of email (#36515) 2019-11-19 16:00:26 +01:00
Frédéric Péters 54d4b4686b misc: adapt ranked items for py3 (#36515) 2019-11-19 16:00:20 +01:00
Frédéric Péters a55daeec35 misc: update ranked items csv value for py3 (#36515) 2019-11-19 16:00:15 +01:00
Frédéric Péters 30a9d2d4c3 form: use force_str() on wysiwyg fields (#36515) 2019-11-19 16:00:13 +01:00
Frédéric Péters e45c19e794 workflows: check for json request using private attribute (#36515) 2019-11-19 16:00:11 +01:00
Frédéric Péters badde34b2e misc: adapt password storage (#36515) 2019-11-19 16:00:10 +01:00
Frédéric Péters 228053c9ce logger: use next() to iterate over log lines (#36515) 2019-11-19 16:00:06 +01:00
Frédéric Péters 158d6fac2d idp: read metadata and PEM keys as text (#36515) 2019-11-19 16:00:05 +01:00
Frédéric Péters fdb0ad1aa1 admin: use string to pass overwriting form xml (#36515) 2019-11-19 16:00:02 +01:00
Frédéric Péters 1e8ca52e3c misc: adapt password checking to py3 (#36515) 2019-11-19 16:00:01 +01:00
Frédéric Péters 00fc3deef0 idp: always write files as binaries (#36515) 2019-11-19 16:00:00 +01:00
Frédéric Péters f4ad46acc6 storage: allow sorting objects with missing (receipt_)time (#36515) 2019-11-19 15:59:58 +01:00
Frédéric Péters 370357e40a middleware: iterate over a copy of form keys when adding session variables (#36515) 2019-11-19 15:59:57 +01:00
Frédéric Péters 3fefe4a344 franceconnect: adapt to py3 (#36515) 2019-11-19 15:59:55 +01:00
Frédéric Péters 78084aa023 ctl: open zip file in binary mode (#36515) 2019-11-19 15:59:54 +01:00
Frédéric Péters 7a446f5c88 admin: use binary files for theme/global export/import (#36515) 2019-11-19 15:59:52 +01:00
Frédéric Péters 1591530889 workflows: open generated pdf file in binary mode (#36515) 2019-11-19 15:59:51 +01:00
Frédéric Péters 8e52fc8814 backoffice: export ods as binary (#36515) 2019-11-19 15:59:50 +01:00
Frédéric Péters b3bc038a2e api: alter request user using hidden attribute (#36515) 2019-11-19 15:59:48 +01:00
Frédéric Péters 1ec58ee869 misc: pass bytes to base64 in utils.attachment() function (#36515) 2019-11-19 15:59:46 +01:00
Frédéric Péters 96bf98cd7c formdef: handle base64 in xml import/export (#36515) 2019-11-19 15:59:45 +01:00
Frédéric Péters a33e8ff8b4 misc: pass bytes to base64 when doing http basic authentication (#36515) 2019-11-19 15:59:43 +01:00
Frédéric Péters 6875bf8954 misc: use strings when distributing base64 to json (#36515) 2019-11-19 15:59:42 +01:00
Frédéric Péters 72bd7af167 workflows: use json_loads wrapper when displaying wscall error details (#36515) 2019-11-19 15:59:40 +01:00
Frédéric Péters 5793e5c509 formdef: use itertools.chain to iterate over two lists (#36515) 2019-11-19 15:59:38 +01:00
Frédéric Péters 9b2e2c8d13 data sources: use bytes to generate hash for cache key (#36515) 2019-11-19 15:59:34 +01:00
Frédéric Péters 844dea5853 commands: adapt convert-to-sql for python3 (#36515) 2019-11-19 15:59:31 +01:00
Frédéric Péters 8c1fc39764 ctl: use bytes in check_hobos command (#36515) 2019-11-19 15:58:57 +01:00
Frédéric Péters b401245d4b ctl: use open() instead of file() (#36515) 2019-11-19 15:58:54 +01:00
Frédéric Péters a68dccf8dd misc: adapt nir code validation to py3 (#36515) 2019-11-19 15:58:47 +01:00
Frédéric Péters dc82d0f918 workflows: use force_str to display wscall error details (#36515) 2019-11-19 15:58:46 +01:00
Frédéric Péters b1fa54eb33 workflows: save webservice call response as bytes (#36515) 2019-11-19 15:58:42 +01:00
Frédéric Péters 6c89239f3d fields: force base64 data as bytes (#36515) 2019-11-19 15:58:41 +01:00
Frédéric Péters 129306e47d workflows: update export to models for py3 (#36515) 2019-11-19 15:58:39 +01:00
Frédéric Péters 85a4024417 workflows: process model text as strings (#36515) 2019-11-19 15:58:36 +01:00
Frédéric Péters 091ba4ae15 workflows: handle rtf as text (#36515) 2019-11-19 15:58:33 +01:00
Frédéric Péters 81f2f7d90c misc: encode bytes when producing json output (#36515) 2019-11-19 15:58:32 +01:00