Commit Graph

4269 Commits

Author SHA1 Message Date
Corentin Sechet 3f584e13a7 js: fix timers mocking in QRCode tests (#87365)
gitea/passerelle/pipeline/head There was a failure building this commit Details
2024-02-28 18:27:39 +01:00
Benjamin Dauvergne 668ddf08e5 toulouse_maelis: trigger wcs after paid notification (#87168)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-23 20:20:02 +01:00
Benjamin Dauvergne b9cc850b7f toulouse_maelis: add an error status to invoice (#87168) 2024-02-23 20:20:02 +01:00
Benjamin Dauvergne b2aa4c72f1 misc: add count parameter to BaseResource.jobs() (#87168)
It limits the number of jobs to run; it is useful for tests.
2024-02-23 20:20:02 +01:00
Frédéric Péters d416793d64 litteralis: accept tz-aware datetimes (#87415)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-23 20:01:38 +01:00
Frédéric Péters 51d2b4b314 toulouse_smart: accept tz-aware datetimes (#87415)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-23 18:43:26 +01:00
Corentin Sechet c9001cdda4 qrcode: don't refresh tallying when reader is not visible (#86856)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-23 11:53:34 +01:00
Corentin Sechet 2f50e4b207 qrcode: fix tally-url present even when tallying is disabled for a reader (#87343)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-22 18:58:50 +01:00
Benjamin Dauvergne 91b92aeb44 toulouse_maelis: restart paid notification job every 5 minutes on failure (#87030)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-20 07:47:53 +01:00
Benjamin Dauvergne 628b38fe5f toulouse_maelis: ignore all errors when retrieving invoices (#87028)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-16 16:49:51 +01:00
Benjamin Dauvergne 8d6f202b16 utils/soap: use SOAPServiceUnreachable for all service down errors (#87028) 2024-02-16 16:49:44 +01:00
Benjamin Dauvergne 68764cd9c2 translation update
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-14 16:02:37 +01:00
Benjamin Dauvergne 33b39c52f1 base_adresse: add indexes on on geographic models names (#66694)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-14 15:29:10 +01:00
Corentin Sechet 0fa387d6d0 qrcode: don't refetch metadata & tally status if scanning the same certificate twice (#86854)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-14 13:23:15 +01:00
Corentin Sechet 9ed59bc94d qrcode: wait for metadata & tally to be loaded before returning from scan (#86854) 2024-02-14 12:00:11 +01:00
Benjamin Dauvergne 7c9e487482 rsa13: rename type-evenement endpoint to typeevenement (#86918)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-13 15:55:44 +01:00
Corentin Sechet 2842439ce1 qrcode: add tally service worker (#86092)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-13 13:17:30 +01:00
Corentin Sechet 4738850fcc qrcode: add tallying support (#86092) 2024-02-13 13:17:28 +01:00
Serghei Mihai 38d3fbbf4e arcgis: add endpoint to add/edit/delete features (#86679)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-12 15:42:54 +01:00
Corentin Sechet 36dfa9508e qrcode: add metadata support (#82653)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-12 10:47:38 +01:00
Serghei Mihai cd0f441d3b mdel: remove job call to non-existent method (#86794)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-09 11:44:31 +01:00
Benjamin Dauvergne 97e77b55c9 translation update
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-09 10:49:37 +01:00
Nicolas Roche c3b5707ea6 toulouse-maelis: add DUI to already linked error (#86594)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-09 10:46:49 +01:00
Benjamin Dauvergne d05217cdc0 utils/api: do not clobber endpoint.methods when endpoint.post exists (#84252)
gitea/passerelle/pipeline/head Build queued... Details
2024-02-07 19:00:52 +01:00
Benjamin Dauvergne 5b2f2d5b97 rsa13: add beneficiaire evenement endpoints (#84252) 2024-02-07 19:00:52 +01:00
Benjamin Dauvergne 4465d64903 rsa13: add type-evenement endpoint (#84252)
Cf. [[bouches-du-rhone-cd13:Spec_Beta#EN-RECETTE-v17-apitype-evenement-GET-liste-des-types-d%C3%A9v%C3%A8nements]]
2024-02-07 16:15:05 +01:00
Benjamin Dauvergne 0b4de669fd tests: remove references to InMemoryCache (#85832)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-02 20:49:28 +01:00
Benjamin Dauvergne a15a11ec4a utils/soap: use http cache for wsdl and xsd files (#85832)
We should not use another cache since the requests cache has a better
behaviour.
2024-02-02 20:49:28 +01:00
Benjamin Dauvergne 9a487dde91 utils: return cached response if refresh fails (#85832) 2024-02-02 20:49:28 +01:00
Nicolas Roche 9a158a66d1 toulouse-maelis: always return err=0 on dlnuf endpoint (#86503)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-02 16:37:23 +01:00
Benjamin Dauvergne a1d4c44ac4 utils: normalize schema before validation (#86422)
gitea/passerelle/pipeline/head This commit looks good Details
To allow using lazy strings in JSON schemas we cast lazy strings to str
before validating the schema itself. The resulting validator is cached.
2024-02-01 19:00:16 +01:00
Benjamin Dauvergne f2b64b6ebf utils: factorize json schema validation (#86422)
It was already used in two places (views.py and photon connector), and
wrongly (photon connector was ignoring some errors for no reason).

META_SCHEMA manipulation is removed and will be replaced by a
normalization of the schema to remove lazy strings in a later commit.

A new JSONValidationError subclass of APIError is introduced.
2024-02-01 19:00:16 +01:00
Benjamin Dauvergne 45f6ee9e8d utils: simplify subclassing APIError (#86422)
By making err, http_status and log_error class variables with their
default values.
2024-02-01 18:53:22 +01:00
Benjamin Dauvergne 3c30a76f3e ci: use jsonschema version from debian bookworm (#86422) 2024-02-01 12:47:39 +01:00
Benjamin Dauvergne 3ca8e98485 packaging: relax version constraint on jsonschema (#86422) 2024-02-01 12:43:44 +01:00
Emmanuel Cazenave 8f21df1dc7 r2p: adapt some labels (#86420)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-01 12:10:40 +01:00
Emmanuel Cazenave 4258520491 translation update
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-01 11:49:55 +01:00
Emmanuel Cazenave 0f1117f483 r2p: start connector (#86000)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-01 11:08:04 +01:00
Nicolas Roche eac67cb852 toulouse-maelis: don't validate a basket unrelated to new subscriptions (#86374)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-01 09:42:08 +01:00
Nicolas Roche f841e98049 toulouse-maelis: do not link invoice to removed subscriptions (#86373)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-01 09:34:12 +01:00
Nicolas Roche ad543177f1 toulouse-maelis: use a basket id variable (#86373) 2024-02-01 09:34:12 +01:00
Nicolas Roche 1a30653192 toulouse-maelis: [tests] do subscribe before basket validation on tests (#86364)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-01 09:28:04 +01:00
Nicolas Roche 33c756e76a toulouse-maelis: [tests] use same basket id in all tests (#86354)
gitea/passerelle/pipeline/head This commit looks good Details
2024-02-01 09:27:19 +01:00
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
Benjamin Dauvergne df0084d202 utils: raise sftp timeout to 20 secondes (#86379) 2024-01-31 12:37:44 +01:00
Nicolas Roche 13d30a8049 toulouse-maelis: normalize rl indicator referential (#86068)
gitea/passerelle/pipeline/head This commit looks good Details
2024-01-31 11:47:57 +01:00
Nicolas Roche b5aa2bb2b2 toulouse-maelis: normalize organ referential (#86068) 2024-01-31 11:47:57 +01:00
Nicolas Roche 509ae33314 toulouse-maelis: normalize direction referential (#86068) 2024-01-31 11:47:57 +01:00
Nicolas Roche c3557f628a toulouse-maelis: normalize service referential (#86068) 2024-01-31 11:47:57 +01:00