Commit Graph

2021 Commits

Author SHA1 Message Date
Serghei Mihai f1a89c5cd2 clicrdv: fix fiche attribution (#39313)
gitea-wip/passerelle/pipeline/head There was a failure building this commit Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2020-01-27 23:06:27 +01:00
Frédéric Péters bc2e5d769e tox: limit to xmlschema < 1.1, for Python 2 compatibility 2020-01-27 18:14:00 +01:00
Valentin Deniaud 18b3280447 clicrdv: use correct method when cancelling appointment (#39248) 2020-01-27 18:08:58 +01:00
Valentin Deniaud ed868defcc clicrdv: update appointment request format (#39248) 2020-01-27 18:08:49 +01:00
Lauréline Guérin c23895a898
toulouse_axel: fix pre process when IDPERSONNE key is missing (#39192) 2020-01-23 09:49:29 +01:00
Thomas NOËL 75e3f6407e translation update 2020-01-21 10:50:29 +01:00
Lauréline Guérin 03b86d74af
toulouse_axel: invoice history (#39028) 2020-01-21 10:09:03 +01:00
Lauréline Guérin d088429533
misc: improve JSONSchemaFromXMLSchema (#39028) 2020-01-21 09:06:19 +01:00
Lauréline Guérin 342121cf38
toulouse_axel: endpoint to pay an invoice (#39005) 2020-01-20 17:55:12 +01:00
Thomas NOËL 9015f164a5 use zeep 3.2 (#39119) 2020-01-20 15:52:25 +01:00
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