Commit Graph

57 Commits

Author SHA1 Message Date
Benjamin Dauvergne 94e60a35b2 mdel: intercept exceptions during response retrieval (#86379)
gitea/passerelle/pipeline/head This commit looks good Details
2024-01-31 15:52:44 +01:00
Benjamin Dauvergne 3ad6c89068 mdel: keep sending demands (#86379)
- add Demand.sent attribute
- set Demand.sent to True after pushing the demand
- retry after one hour in case of failure
2024-01-31 15:52:29 +01:00
Serghei Mihai 4c5204bd2f mdel: cleanup demands folders (#83570)
gitea/passerelle/pipeline/head This commit looks good Details
2023-11-16 11:54:35 +01:00
Valentin Deniaud 40142de8d2 misc: apply double-quote-string-fixer (#79788) 2023-08-16 10:08:30 +02:00
Lauréline Guérin fb01b9a9ec mdel: fix status endpoint with incorrect zipfile (#78917)
gitea/passerelle/pipeline/head There was a failure building this commit Details
2023-06-23 08:02:23 +02:00
Valentin Deniaud 3a63f02dae misc: bump black version (#75442) 2023-03-29 14:51:08 +02:00
Valentin Deniaud 989fb52719 misc: apply pyupgrade (#61865) 2022-09-29 16:22:29 +02:00
Valentin Deniaud 347944babf misc: remove usage of "six" module (#63682) 2022-04-20 17:01:01 +02:00
Lauréline Guérin 3dbee7bc63
misc: fix consider-using-with pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin 35512c9c2f
misc: remove unused-variable pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin dbb8416537
misc: add __init__ file to tests dir (#62099) 2022-03-25 08:24:24 +01:00
Nicolas Roche dc3f8a60b1 tests: ignore mdel zip files order (#62631) 2022-03-11 15:18:14 +01:00
Serghei Mihai 54253214a3 mdel: add user comment in custom Logitud's LocalAccess tag (#37110) 2022-02-04 15:10:44 +01:00
Serghei Mihai e13993fc38 mdel: allow attached documents for AEC demands (#61423) 2022-02-04 10:30:37 +01:00
Thomas NOËL 9fd6f32931 mdel: do not raise a 404 on missing demand (#59852) 2021-12-17 14:42:34 +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
Serghei Mihai 04a60e6460 mdel: add SFTP connection options to send and receive demand file (#50543) 2021-01-27 10:37:02 +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 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 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
Benjamin Dauvergne e1a14f6c2e mdel: construct a foreign addres from french addres fields (#33826)
- use etage and batiment fields
- correctly put the postal code before the city name
- check the address is correct in the tests
2019-10-03 12:09:19 +02:00
Benjamin Dauvergne a4ac62ce39 mdel: move into apps/ (#15687) 2019-09-20 21:57:13 +02:00
Emmanuel Cazenave e65e5fc711 mdel: order xml elements (#35145)
And handle a possible attribute in the root element.
2019-09-06 11:32:10 +02:00
Serghei Mihai 8fbd5a2d3d mdel: do not send french address if the foreign one is filled (#33535) 2019-07-02 14:37:05 +02:00
Benjamin Dauvergne 95446af6ce tests: define a MEDIA_ROOT (#32516)
To prevent cluttering project root with tests files. Some connector's
test had to be changed:
* family connector tests had to be changed as it magically used a local
file path as a Django stored file path.
* mdel tests where completely bogus around storage
2019-04-23 11:40:28 +02:00
Frédéric Péters 08900c4537 actesweb: don't escape characters in demands (#30924) 2019-02-27 09:33:27 +01:00
Josue Kouka 01473f295f mdel: allow custom foreign address (#25996) 2018-09-18 10:02:15 +02:00
Josue Kouka 73bcb2b643 mdel: fix message.xml FichierDonnee element value (#24905) 2018-07-13 15:29:49 +02:00
Serghei Mihai 8afe84803e mdel: fix dates parsing (#24438) 2018-06-19 09:12:18 +02:00
Frédéric Péters f63186c280 tests: adapt to django-webtest 1.9.1 change of its get() signature 2017-03-11 16:36:42 +01:00
Josue Kouka 7e2cf01572 mdel: add EXTRAIT-PLURILINGUE in cert type data source (#14966) 2017-02-13 15:12:25 +01:00
Josue Kouka 6c338aff32 mdel: store Demand's status as human-readable string (#14716) 2017-01-24 12:03:11 +01:00
Josue Kouka d1222eab70 mdel: add handling of several proof document of same type (#14689) 2017-01-20 14:21:59 +01:00
Josue Kouka 241eb8c830 mdel: improve elector previous situtation processing (#14555) 2017-01-17 10:11:51 +01:00
Josue Kouka 32c5a3dd89 mdel: add data source endpoints (#14383) 2017-01-09 12:09:08 +01:00
Josue Kouka 1cfef67d74 mdel test: misc, ignore tmp folder deletion errors 2016-12-23 14:39:12 +01:00
Josue Kouka 2b5ed0df56 mdel: set AEC demand's date to date isoformat (#14377) 2016-12-21 14:28:05 +01:00
Josue Kouka 075c5ebd94 mdel: improve handling of proof document keys (#14396) 2016-12-21 12:05:18 +01:00
Josue Kouka 83d7098c8f mdel: use form date_acte if set (#14261) 2016-12-11 07:17:49 +01:00
Josue Kouka 6cd8934a76 mdel: ignore empty update in response (#14039) 2016-11-22 10:39:45 +01:00
Josue Kouka e474267d3b mdel: add handling of status 14 in response (#14035) 2016-11-21 16:21:03 +01:00
Josue Kouka 92ceb1eec1 mdel: use anterieur_situation_raw to set SituationDeLElecteur's value (#13988) 2016-11-16 14:28:33 +01:00
Josue Kouka 0383d2c8bf mdel: add additional address detail processing (#13986) 2016-11-16 14:28:30 +01:00
Josue Kouka 4e1cffa720 mdel: add closed attribute to all status response (#13927) 2016-11-14 09:52:59 +01:00
Josue Kouka bb0ef183f3 mdel: use full xml path without root element in mapping (#13868) 2016-11-08 15:32:46 +01:00
Josue Kouka de628ea58a mdel: fix erroneous tag names (#13900) 2016-11-08 13:56:03 +01:00