Commit Graph

2011 Commits

Author SHA1 Message Date
Serghei Mihai 09fbf833e9 templates: separate GET and POST params presentation (#39037) 2020-01-16 18:39:45 +01:00
Frédéric Péters ef461dcff6 translation update 2020-01-16 17:12:17 +01:00
Nicolas Roche 821cc2136a dpark: use only unicode strings (#38130) 2020-01-16 15:45:57 +01:00
Lauréline Guérin 3db9ac410f
toulouse_axel: get update management dates (#39001) 2020-01-16 14:34:57 +01:00
Lauréline Guérin d3c5766d14
toulouse_axel: prepare a future zeep upgrade (#38543)
Here toulouse axel sends headers like:
<?xml version="1.0" encoding="ISO-8859-1"?>
If there in accents in data, it fails with zeep < 3 on log encoding.
It is fixed in zeep 3.0.2:
7277be32d5
But we need to encode the result for ET.fromstring
2020-01-16 09:17:02 +01:00
Lauréline Guérin 6d1af4d02a
toulouse_axel: pre_process the payload, before schema validation (#38543)
because w.c.s. always sends all fields, event if all the structure is
empty.
example: all children will always be present in the payload, even if
maj:enfant_n flags are set to False
2020-01-16 09:17:02 +01:00
Lauréline Guérin 6aa3d1a7aa
toulouse_axel: some values are not editable (#38543)
and it will be NOT sent by w.c.s.
2020-01-16 09:17:02 +01:00
Lauréline Guérin 0937cb6cd1
toulouse_axel: handle allergie fields (#38543) 2020-01-16 09:17:02 +01:00
Lauréline Guérin aa2d4f2812
toulouse_axel: handle handicap fields (#38543) 2020-01-16 09:17:02 +01:00
Lauréline Guérin 481d3c6347
toulouse_axel: partial update (#38543) 2020-01-16 09:17:02 +01:00
Nicolas Roche 00011f6f02 utils/soap: allow zeep versions 2 and 3 (#35370) 2020-01-15 14:24:10 +01:00
Serghei Mihai 85eb135516 clicrdv: replace urllib2 by connector's requests (#7898) 2020-01-15 13:50:28 +01:00
Serghei Mihai 010fabec81 misc: beautify endpoints présentation (#34790) 2020-01-15 11:40:38 +01:00
Emmanuel Cazenave 1f9bb398c2 hawk: force_text on header parts (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 1067158843 base: allow sorting endpoints with None attribute (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave c575985fd2 use uuid4().hex instead of uuid4().get_hex() (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 44eeaa93f5 use unicode_literals in clicrdv migrations (#38923)
https://code.djangoproject.com/ticket/29290
2020-01-14 19:20:26 +01:00
Emmanuel Cazenave f9438a6155 tests: use raw string literals (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 865331e3dc tests: avoid py2 specific number format (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave f9b0a99e0e tests: use absolute imports (#38923)
And delete some __init__.py in tests directory.
2020-01-14 19:20:26 +01:00
Emmanuel Cazenave c4e53adb81 avoid None to int comparison (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 44c348db33 use absolute imports (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 2e18cc2ffe expand dict views (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 199210f9e2 use items() instead of iteritems() (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave c7896188c2 get HTMLParser from six (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave d512d38beb use func.__name__ in py3 (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 216bdc1cfd user exec() instead of execfile() (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave e195b4ea6d pass bytes for hashing (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 11481f476c use __str__() instead of __unicode__() (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave efa52618c1 use six types in string type tests (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 5c6ebaaa6a tests: use resp.text (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 74064c0c60 use open() to open file (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 6958b48751 remove usage of urllib2 (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 3a1012e7c1 get ConfigParser from six (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave a57b914716 use print as function (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 4e40571fa6 update except syntax (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 4c915235a5 get urlparse from six (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave ee7ff828c8 get StringIO from six (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave d23fade144 replace unicode() calls by force_text() (#38923) 2020-01-14 19:20:26 +01:00
Lauréline Guérin 4ddf22f10e
jsonschema: pre_process the payload, before schema validation (#38933) 2020-01-14 14:01:52 +01:00
Frédéric Péters b3c8f2712d cartads cs: pass extra parameter to GetCommunes/GetTypesDossier (#38928)
(this is required for Cart@DS 4.17)
2020-01-13 17:15:12 +01:00
Emmanuel Cazenave 1faa47f81b mdel: adapt filenames and routing (#36870) 2020-01-13 13:09:30 +01:00
Emmanuel Cazenave 8bf2163323 mdel: control zipfile structure (#36870) 2020-01-13 12:39:56 +01:00
Emmanuel Cazenave b97429eb70 use suds-jurko instead of suds (#38811) 2020-01-13 12:35:05 +01:00
Serghei Mihai fa65c46276 base: hide tokens from connector description (#38875) 2020-01-10 10:40:29 +01:00
Lauréline Guérin 647b12dcab
toulouse_axel: fix xml validation to work with xmlschema 1.0.18 (#38708) 2019-12-26 11:05:06 +01:00
Frédéric Péters f7dd3b7a72 translation update 2019-12-23 16:24:23 +01:00
Lauréline Guérin cab730d867
toulouse_axel: return xml request and responses into responses (#38637) 2019-12-21 13:33:20 +01:00
Serghei Mihai b2b28ba01b gesbac: handle input files encoding (#38631) 2019-12-19 17:36:28 +01:00
Lauréline Guérin 324d49d475
toulouse_axel: return proper err_code argument (#38634) 2019-12-19 14:01:07 +01:00