Commit Graph

2179 Commits

Author SHA1 Message Date
Nicolas Roche 1480f03881 cmis: allow to upload binary documents (#39391) 2020-02-06 15:19:47 +01:00
Valentin Deniaud 7692cda5a4 utils: try to guess type of params (#38328)
And fix a bug where they did not appear in documentation.
2020-02-06 14:05:20 +01:00
Frédéric Péters 16dee5d49d cart@ds cs: do not ask for immediate treatment (#39577) 2020-02-05 16:34:25 +01:00
Lauréline Guérin 1aeca369bd
cmis: add a jsonschema for uploadfile endpoint (#39193) 2020-02-03 15:57:07 +01:00
Lauréline Guérin 7a733bc204
cmis: optional filename to overwrite file.filename (#39415) 2020-02-03 14:52:13 +01:00
Frédéric Péters 1b8efacd17 cartads cs: open zip file in binary mode (#39466) 2020-02-03 06:36:45 +01:00
Thomas NOËL 5db20e618f solis: get _links content for a list of dicts (#39440) 2020-01-31 15:06:08 +01:00
Valentin Deniaud 819afb282c base: add import/export UI (#15269)
Site export as well as connector export.
2020-01-30 16:30:41 +01:00
Valentin Deniaud 696c66b80a base: allow specifying resources to export (#15269) 2020-01-30 16:30:41 +01:00
Valentin Deniaud 4413995077 utils: avoid crash on invalid import json (#15269) 2020-01-30 16:30:41 +01:00
Valentin Deniaud c9bb58e0ef clicrdv: fix get_available_timeslots return value (#39403) 2020-01-30 10:28:50 +01:00
Emmanuel Cazenave a71b04b247 gesbac: use range() instead of xrange() (#38781) 2020-01-29 10:45:25 +01:00
Emmanuel Cazenave 069c2e7d62 jenkins: run tests against python3 (#38781) 2020-01-29 10:30:47 +01:00
Emmanuel Cazenave 00b46fc360 setup: use cmis-maykin in python install (#38781) 2020-01-29 10:30:47 +01:00
Emmanuel Cazenave 24ee622c2c setup: delete print statement (#38781) 2020-01-29 10:30:47 +01:00
Emmanuel Cazenave ae09ae97b6 use json_loads() instead of json.loads() (#38781)
json.loads expects str in python >= 3, < 3.6.
2020-01-29 10:30:47 +01:00
Emmanuel Cazenave 5fe94ee3e6 oxyd: use force_text on binary content (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 5e25419aed choosit: use string_types instead of basetring (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave b58c993000 sms: make error messages indifferent in py2/py3 (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave b4fb17bc50 test_opengis: mock response content as bytes (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 498a704c3d opengis: force coordinates precision to six digits (#39197) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 7e58546c3a test_requests: mock response content as bytes (#38781)
And make test indifferent to bytes vs str repr().
2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 52da067cef utils: ensure bytes interface over http cached response content (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 37c0c3b6a0 test_api_access: make test indifferent to bytes vs str repr() length (#38781)
In py3 'reponse_content' and 'body' are bytes, so repr() produces and extra
'b' character comparing to repr() on a bytestring in py2.
2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 9ab3ee7bf8 views: pass decoded payload to the logger (#38781)
It will utlimately be serialized in JSON, so we don't want to keep
it as bytes.
2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 723b1e532a test/wcs: read/write files in binary mode when pickling (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 85676130c2 test_utils_conversion: read files in binary mode (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 3b6486d5cd toulouse_axel: expand dict view (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 8d90b34d2b toulouse_axel: use force_text() on ET.tostring() results (#38781)
ET.tostring produces bytes in py3.
2020-01-29 10:30:46 +01:00
Emmanuel Cazenave f7fc09ac18 test_tlmcom: compare binary content to binary data (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 39107f61dc pbx: use string_types instead of basestring (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave a8cd830419 test_templatetags: use inspect.isfunction in py3 (#38781)
In py2 inspect.ismethod returns bound or unbound method
whereas is py3 it return only bound method.
2020-01-29 10:30:46 +01:00
Emmanuel Cazenave ae0d8e30f4 tcl: expand dict view (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 32a85de68f test_solis: compare binary data to binary string (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 51c0a5e066 solis: expand filter object (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 2874a2b9ba solis: pass text to re.sub (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 1812670c94 test_soap: use repr() to check error message (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 438f253eda test_soap: mock responses withs binary data (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 48a71687cc test okina: compare binary content to binary data (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave b75fa5785d okina: use key arg in sort() (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 1f1c5232d8 nancypoll: use builtin next() (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 9f37c9d715 nancypoll: pass text data to csv.reader in py3 (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave dc7bcfe99e conftest: pass binary data to BytesIO (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 9d0629576e test meyzieu_newsletter: use values() instead of itervalues() (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 5a64a916d2 meyzieu_newsletter: expand dict view (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 498440c72f test mdel: don't rely repr() to check exception messagee (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 9cfd4990ee test mdel: xml find with appropriate namespace (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave d3c9299e4e test mdel: pass binary data to base64 encode (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave cde9a2f1ed test manager: compare binary content to binary data (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 1b9e0ca292 lille_urban_card: expand dict view (#38781) 2020-01-29 10:30:46 +01:00