Commit Graph

3636 Commits

Author SHA1 Message Date
Nicolas Roche 91fa126653 utils: accept empty value on date type with None default value (#74089)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-13 16:13:40 +01:00
Emmanuel Cazenave 87c0698f55 filr_rest: return folder_id as a string (#74367) 2023-02-13 11:53:22 +01:00
Nicolas Roche 9233aaaede toulouse-maelis: add endpoint to get nurseries as geojson (#74393)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-10 11:05:20 +01:00
Nicolas Roche be111f5bb1 toulouse-maelis: copy APE indicators into a dict (#74401)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-10 09:50:34 +01:00
Nicolas Roche ed05841b58 toulouse-maelis: add new professional fields to DUI (#74195)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-09 17:14:56 +01:00
Nicolas Roche dc0666eb39 toulouse-maelis: add professional situation referential (#74195) 2023-02-09 17:14:55 +01:00
Nicolas Roche 14580168e1 toulouse-maelis: get last family wsdl for tests (#74195) 2023-02-09 17:14:55 +01:00
Serghei Mihai feb5afc99b toulouse-maelis: add endpoint to create nursery demand (#73926)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
2023-02-09 16:49:17 +01:00
Nicolas Roche cdc3071805 translation update 2023-02-08 16:27:52 +01:00
Nicolas Roche 1d86c0ac65 toulouse-maelis: update soap error in functests (#73411)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-08 08:40:24 +01:00
Nicolas Roche e012e85a4a toulouse-maelis: add wrapping of zeep errors inside APIError (#73411) 2023-02-08 08:40:24 +01:00
Thomas NOËL 46c9c2ccc4 isere_ens: add new API version (#74256)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/pr-main Something is wrong with the build of this commit Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-07 12:27:52 +01:00
Nicolas Roche db5a496b15 toulouse-maelis: use an infinitive verb in endpoints descriptions (#74087)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-06 16:32:56 +01:00
Nicolas Roche 5ed91c79a3 toulouse-maelis: adapt functest with new referential values (#74187)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-06 16:17:49 +01:00
Nicolas Roche 30f3208bba toulouse-maelis: add new profession fields in functest (#74187) 2023-02-06 16:17:49 +01:00
Nicolas Roche 1e03736ef4 toulouse-maelis: use integer err code in functests (#74187) 2023-02-06 16:17:49 +01:00
Nicolas Roche 4dd3fb1311 toulouse-maelis: alway call zeep serializer (#74128)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-06 15:43:54 +01:00
Nicolas Roche 613e5ad205 toulouse-maelis: add forgotten permission on endpoint (#74172)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
2023-02-06 14:26:02 +01:00
Nicolas Roche b5f9ca5244 toulouse-maelis: get id and text for school derog list (#74194)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-06 14:03:48 +01:00
Nicolas Roche 1966e170de toulouse-maelis: do not add activity referential many times (#74188)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-06 12:32:20 +01:00
Nicolas Roche 81281643e7 toulouse-maelis: rename a test (#74173)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
2023-02-06 11:53:32 +01:00
Serghei Mihai e92651d1a8 toulouse-maelis: add endpoint to list nurseries (#73924) 2023-02-06 11:45:13 +01:00
Nicolas Roche b6c7812cb8 translation update 2023-02-06 09:15:39 +01:00
Nicolas Roche a289b0c8d2 toulouse-maelis: do not crash on activity with no type (#74185)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-06 07:55:47 +01:00
Nicolas Roche 2c6168cc74 toulouse-maelis: accept empty referential (#74184)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-04 11:58:36 +01:00
Nicolas Roche 3f83bfb6a5 toulouse-maelis: set err field value to 1 on API error (#74088)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-02 17:59:24 +01:00
Nicolas Roche 1083128281 Revert "toulouse-maelis: alway call zeep serializer (#74084)"
This reverts commit 5f578fd978.
2023-02-02 17:13:43 +01:00
Nicolas Roche 5f578fd978 toulouse-maelis: alway call zeep serializer (#74084)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-02 16:38:18 +01:00
Nicolas Roche d2871f3fa0 toulouse-maelis: use sentence on referentials description (#74082)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
2023-02-02 16:04:46 +01:00
Benjamin Dauvergne 45204e8501 base: show configured requests_substitutions (#74030) 2023-02-02 15:50:56 +01:00
Nicolas Roche 8c2330fdc6 toulouse-maelis: new endpoint to get activities (#73730)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-02 14:35:19 +01:00
Nicolas Roche acef792d8d toulouse-maelis: add global catalog as referential (#73730) 2023-02-02 12:45:17 +01:00
Nicolas Roche e9e9aec674 toulouse-maelis: add endpoint to validate basket (#73961)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-02 11:50:09 +01:00
Nicolas Roche 2ea439861a toulouse-maelis: add endpoint to delete basket (#73961) 2023-02-02 11:50:09 +01:00
Nicolas Roche 7751508421 toulouse-maelis: add endpoint to delete basket line (#73961) 2023-02-02 11:50:09 +01:00
Nicolas Roche fb01d8f50a toulouse-maelis: add endpoint to update basket time (#73961) 2023-02-02 11:50:09 +01:00
Nicolas Roche 4a0d63ccd5 toulouse-maelis: add endpoint to read basket (#73961) 2023-02-02 11:50:06 +01:00
Nicolas Roche 189747ff55 toulouse-maelis: add endpoint to subscribe into basket (#73649)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-02 11:27:37 +01:00
Nicolas Roche 76d8e2e7be toulouse-maelis: add endpoint to get subscription info (#73648)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-02 10:58:25 +01:00
Thomas NOËL 5bda4907e3 translation update 2023-02-02 00:04:46 +01:00
Serghei Mihai 8c756cfb75 toulouse-maelis: add endpoint to read ape indicators list (#73923)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
2023-02-01 17:16:02 +01:00
Thomas NOËL 95192de819 add pdf connector (assemble endpoint) (#73540)
gitea-wip/passerelle/pipeline/pr-main There was a failure building this commit Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-01 14:17:22 +01:00
Thomas NOËL 791eedd3f5 misc: fix new pylint 2.16 warnings (#74060)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-01 13:55:49 +01:00
Nicolas Roche c4a71ede04 toulouse-maelis: add ActivityNatureType referential (#73647)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
2023-02-01 11:04:55 +01:00
Thomas NOËL d347d3b4e6 pre-commit: upgrade isort (#74044)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
gitea/passerelle/pipeline/head Something is wrong with the build of this commit Details
2023-02-01 02:08:04 +01:00
Nicolas Roche 3d48906aea toulouse-maelis: allow using site_service with other test fixture (#73808) 2023-01-31 18:57:54 +01:00
Benjamin Dauvergne 70e03e7721 misc: fix incompatibility betwen pyexcel-xlsx and openpyxl 3.1.0 (#74033)
gitea-wip/passerelle/pipeline/pr-main This commit looks good Details
2023-01-31 16:38:30 +01:00
Benjamin Dauvergne cd9b550d50 misc: use the same content-types list for logging and substitutions (#738050 2023-01-31 16:09:02 +01:00
Benjamin Dauvergne c218597faa misc: add setting to define string substitutions on HTTP responses (#73805)
settings.CONNECTORS_SETTINGS = {
         'cmis/test': {
           'requests_substitutions': [
	     {
	       'url': 'https://service.example.com/api/',
	       'search': 'http://service.example.internal/software/api/',
	       'replace': 'https://service.example.com/api/'
	     }
           ]
         }
	}

CONNECTORS_SETTINGS is a new setting to contain any setting pertaining
to a specific connector, it's a dictionnary of dictionnaries indexed by
connectors identifier constructed from the appname and the connector's
slug.

requests_substitutions is the first defined key in this dictionnary,
it's a list of dictionnaries:
* substitution is only done on the following content-types:
  text/*, application/(.*\+)?json, application/(.*\+)?xml
* default list of content-types can be changed through the
  REQUESTS_SUBSTITUTIONS_CONTENT_TYPES setting.
* scheme and netloc are strictly matched, path must be a prefix or empty
* search is a python regular expression
* url is optionnal, and restrict the substitution to URLs with the same
  prefix,
* replace is a replacement string for reb.sub()
* for json, structural replacement is implemented, if eventually
  escaping is used.
2023-01-31 16:09:02 +01:00
Benjamin Dauvergne 6194e76134 cmis: use requests wrapper in cmislib (#73771) 2023-01-30 10:37:36 +01:00