Commit Graph

39 Commits

Author SHA1 Message Date
Valentin Deniaud 40142de8d2 misc: apply double-quote-string-fixer (#79788) 2023-08-16 10:08:30 +02:00
Benjamin Dauvergne a20835e118 dpark: convert soap errors to APIError (#76903)
gitea/passerelle/pipeline/head This commit looks good Details
2023-05-02 07:59:47 +02:00
Benjamin Dauvergne 2de6325c6d misc: replace interception of zeep.exceptions.Fault (#75649)
* replaced by no interception at all in some places, as SOAPError inherit
  from APIError
* replaced by SOAPFault in cartads_cs as there was a custom handling of
  the soap Faults.
* new SOAPValidationError error is added to handle translation to
  APIError with 400 status and not logging as an error of the connector.
2023-03-24 16:47:53 +01:00
Benjamin Dauvergne 654e2f22a9 dpark: remove hardcoding of the service binding (#72638) 2022-12-23 14:33:57 +01:00
Valentin Deniaud 989fb52719 misc: apply pyupgrade (#61865) 2022-09-29 16:22:29 +02:00
Agate 1a17d3efa6 django4: replaced *_text with *_str equivalent (#68576) 2022-08-31 11:00:37 +02:00
Benjamin Dauvergne 602e4284f6 dpark: add support for methods PLS_ENREG2 and PLS_NOTIFCB2 (#65777) 2022-06-01 18:02:18 +02:00
Lauréline Guérin 50604f402f
misc: fix no-else-raise pylint error (#62099) 2022-03-25 09:03:37 +01:00
Lauréline Guérin a0b7002740
misc: fix line-too-long pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin 39d29d19c1
misc: fix pointless-statement pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin 2e59a6c4be
misc: fix useless-object-inheritance pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin 59182339ab
misc: fix redundant-u-string-prefix pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin 302e573f70
misc: fix super-with-arguments pylint error (#62099) 2022-03-25 09:03:35 +01:00
Lauréline Guérin dbb8416537
misc: add __init__ file to tests dir (#62099) 2022-03-25 08:24:24 +01:00
Benjamin Dauvergne e439a15cb6 dpark: strip data on link (#62685) 2022-03-11 11:35:44 +01:00
Nicolas Roche 06db6d8767 misc: apply isort (#52937) 2021-05-07 13:51:13 +02:00
Frédéric Péters 3d9df1e526 trivial: apply black (#49820) 2021-02-20 16:28:47 +01:00
Benjamin Dauvergne f2b06c9a08 dpark: accept UTC datetime in payment notification (#41373) 2020-04-10 11:00:19 +02:00
Emmanuel Cazenave 478f3bb144 test dpark: use force_text on base64 bytes (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave 1fe8335654 tests dpark: read JPEG file in binary mode (#38781) 2020-01-29 10:27:54 +01:00
Nicolas Roche 821cc2136a dpark: use only unicode strings (#38130) 2020-01-16 15:45:57 +01:00
Benjamin Dauvergne d717bdf4be dpark: add .pdf extension to attached files (#32657) 2019-05-14 10:51:27 +02:00
Benjamin Dauvergne e06d33da0f dpark: fix typo in tests (#28438) 2018-11-28 17:12:01 +01:00
Benjamin Dauvergne 66ccb9900b dpark: add cache on infos and payment_info (#28331) 2018-11-26 22:17:00 +01:00
Benjamin Dauvergne 7d97dd326d dpark: return address in address-eligibility return (fixes #27571)
ELIGADR returns an address so we forward it.
2018-10-25 13:11:55 +02:00
Benjamin Dauvergne 2150c44578 dpark: mock requests instead of soap in test_registration (#27496) 2018-10-22 13:10:19 +02:00
Benjamin Dauvergne 228ae019a8 dpark: freeze time in send-files test (#27344) 2018-10-22 12:37:17 +02:00
Emmanuel Cazenave 72ea13940a skip dpark test, temporary fix (#27344) 2018-10-18 15:59:32 +02:00
Benjamin Dauvergne d6cc140695 dpark: handler all error codes from PLS_EXIST (fixes #27235)
Now errors are reported with

 {'err': 1, 'code': 'a-slug-code', 'msg': 'message-returned-by-dpark'}
2018-10-12 16:24:30 +02:00
Benjamin Dauvergne ea546e2524 dpark: add image conversion to PDF (fixes #26670) 2018-09-24 16:23:44 +02:00
Josue Kouka bfaf7ca2c7 dpark: pass file's raw content to zeep (#26417) 2018-09-20 10:19:56 +02:00
Josue Kouka ffe280e1d4 dpark: add demand creation checkings (#25635) 2018-08-29 15:38:57 +02:00
Josue Kouka 61d5c0db3c dpark: fix use of APIError in some responses (#25790) 2018-08-28 10:25:54 +02:00
Josue Kouka e8eaff7b7a dpark: allow sending multiple files of same type (#25457) 2018-07-30 09:32:45 +02:00
Josue Kouka ea0c9e0d13 dpark: prevent TypeError when fetching sub infos (#25429) 2018-07-26 11:29:33 +02:00
Josue Kouka 72d413c777 dpark: add subscription renewal management (#25079) 2018-07-19 13:41:09 +02:00
Josue Kouka 30a4251bd4 dpark: get all info for multi pairing case (#25185) 2018-07-11 10:42:34 +02:00
Josue Kouka 050710bd8b misc test: fix make_resource import (#24573) 2018-07-04 17:48:43 +02:00
Josue Kouka 3e775c0d07 add DPark connector (#24573) 2018-07-04 17:42:40 +02:00