Commit Graph

6209 Commits

Author SHA1 Message Date
Frédéric Péters 95d29ec088 backoffice: use force_str for query parameter (#36515) 2019-11-19 15:57:34 +01:00
Frédéric Péters 03f2634895 saml: read keys as binaries (#36515) 2019-11-19 15:57:31 +01:00
Frédéric Péters 3938a8ab87 sessions: write files as binaries (#36515) 2019-11-19 15:57:30 +01:00
Frédéric Péters d1a7e6e187 tests: expand .values() as lists (#36515) 2019-11-19 15:57:29 +01:00
Frédéric Péters b97f9a63f0 tests: rewrite home keywords test to handle different attributes order (#36515) 2019-11-19 15:57:27 +01:00
Frédéric Péters 1356365a15 lazy: add __bool__ = __nonzero__ for py3 compatibility (#36515) 2019-11-19 15:57:25 +01:00
Frédéric Péters 2cd20e666d formdata: iterate over a copy of dict keys when flattening it (#36515) 2019-11-19 15:57:24 +01:00
Frédéric Péters 48118f8781 misc: adapt de/encoding in import zip (#36515) 2019-11-19 15:57:22 +01:00
Frédéric Péters 4322fe9f64 tests: use __name__ to get function name (#36515) 2019-11-19 15:57:21 +01:00
Frédéric Péters e0bdd1c60f admin: always use absolute imports for qommon (#36515) 2019-11-19 15:57:19 +01:00
Frédéric Péters 23ab03be8a tests: expand iterkeys() in assert (#36515) 2019-11-19 15:57:18 +01:00
Frédéric Péters a97b93d163 misc: always expand lists used as widget options (#36515) 2019-11-19 15:57:16 +01:00
Frédéric Péters 71f4a0fd3e admin: update workflow functions sort for python3 (#36515) 2019-11-19 15:57:14 +01:00
Frédéric Péters 5395f9255f workflows: force visibility to be a list() (#36515) 2019-11-19 15:57:13 +01:00
Frédéric Péters af22690d31 tests: always compare roles as sets (#36515) 2019-11-19 15:57:11 +01:00
Frédéric Péters e4f335a604 misc: load wscall json response as text (#36515) 2019-11-19 15:57:08 +01:00
Frédéric Péters f5880908bd tests: update http requests mocking to use bytes (#36515) 2019-11-19 15:57:05 +01:00
Frédéric Péters 0f5d4555d2 misc: update requests code for py3 (#36515) 2019-11-19 15:57:03 +01:00
Frédéric Péters f8587a00e1 admin: adapt theme handling (#36515) 2019-11-19 15:57:01 +01:00
Frédéric Péters 9cb2e4cc43 admin: add correct encoding to user search (#36515) 2019-11-19 15:56:59 +01:00
Frédéric Péters 8831c91a51 admin: add required encoding for graphviz subprocess (#36515) 2019-11-19 15:56:57 +01:00
Frédéric Péters 697949b551 tests: make first admin workflows test run standalone (#36515) 2019-11-19 15:56:55 +01:00
Frédéric Péters 8f3419baf1 tests: check category export/import as bytes (#36515) 2019-11-19 15:56:53 +01:00
Frédéric Péters 0e120fb4d8 workflows: use force_str on wscall result (#36515) 2019-11-19 15:56:51 +01:00
Frédéric Péters 654d3d3b91 workflows: expand geolocation list (#36515) 2019-11-19 15:56:46 +01:00
Frédéric Péters e43bba68f5 workflows: handle models as bytes (#36515) 2019-11-19 15:56:45 +01:00
Frédéric Péters dbbb116552 tests: adapt wscall error message check for python 3 (#36515) 2019-11-19 15:56:43 +01:00
Frédéric Péters ec09c2ea6a workflows: allow building an attachment from strings (#36515) 2019-11-19 15:56:42 +01:00
Frédéric Péters 7071ec96c4 tests: use strings in email mocking (#36515) 2019-11-19 15:56:40 +01:00
Frédéric Péters 1bdd4cfda2 tests: pass bytes to base64 (#36515) 2019-11-19 15:56:37 +01:00
Frédéric Péters 0e01b626b1 misc: don't recurse in attachments proxy when deepcopying (#36515) 2019-11-19 15:56:36 +01:00
Frédéric Péters 0a68468493 workflows: expand list of idp to get ws url (#36515) 2019-11-19 15:56:34 +01:00
Frédéric Péters d0b4f24584 workflows: handle encoding in export/import of workflow actions (#36515) 2019-11-19 15:56:33 +01:00
Frédéric Péters ba6e5cd5a1 tests: use bytes in workflow export/import tests (#36515) 2019-11-19 15:56:32 +01:00
Frédéric Péters 2aed9c1bc4 forms: don't decode value in py3 (#36515) 2019-11-19 15:56:30 +01:00
Frédéric Péters 344498ae4d saml: sort IdPs before logging automatically on first one (#36515) 2019-11-19 15:56:29 +01:00
Frédéric Péters 228457be9d misc: encode x509/saml bits (#36515) 2019-11-19 15:56:24 +01:00
Frédéric Péters 4e6f21ef43 misc: do not convert non html body (#36515) 2019-11-19 15:56:22 +01:00
Frédéric Péters 5a4302b461 tests: fix qrcode test so it can be run standalone (#36515) 2019-11-19 15:56:19 +01:00
Frédéric Péters 4b181fc1bf ods: always encode cell data (#36515) 2019-11-19 15:56:17 +01:00
Frédéric Péters fd0b882578 general: always encode json as utf-8 (#36515) 2019-11-19 15:56:08 +01:00
Frédéric Péters e9f5112fbe misc: use force_str for formdef/workflow xml exports (#36515) 2019-11-19 15:56:02 +01:00
Frédéric Péters a231aa0d97 templates: use force_str (#36515) 2019-11-19 15:56:00 +01:00
Frédéric Péters bed2079a3e sql: force visiting_objects to be list (#36515) 2019-11-19 15:55:59 +01:00
Frédéric Péters 259c62a197 backoffice: expand .items() to list (#36515) 2019-11-19 15:55:58 +01:00
Frédéric Péters 82cc9a3a98 api: force keywords to be an expanded list (#36515) 2019-11-19 15:55:57 +01:00
Frédéric Péters 9fe1e84921 api: use sys.maxsize instead of sys.maxint (#36515) 2019-11-19 15:55:55 +01:00
Frédéric Péters 8be31ef846 misc: use force_str in lazy variables (#36515) 2019-11-19 15:55:50 +01:00
Frédéric Péters 53812ecd8e tests: use force_str() in sql fts test (#36515) 2019-11-19 15:55:49 +01:00
Frédéric Péters 7bd1967fc4 tests: expand ranges for comparisons (#36515) 2019-11-19 15:55:48 +01:00