Commit Graph

1552 Commits

Author SHA1 Message Date
Thomas NOËL 1d798fb874 okina: refine errors handling (#31557) 2019-03-21 11:27:53 +01:00
Frédéric Péters c2bf9eb3b0 utils/soap: look for custom transport class in ressource (#31612) 2019-03-21 11:23:05 +01:00
Frédéric Péters a82e3df74b cartads: add abstract model class in the middle (#31611) 2019-03-21 11:23:05 +01:00
Frédéric Péters 3c718f8611 tests: add check for import/export of access rights 2019-03-20 14:41:54 +01:00
Benjamin Dauvergne eef9f43d34 mpdh13: order demands by date (#31562) 2019-03-19 18:15:47 +01:00
Benjamin Dauvergne a27ea7a749 mdph13: remove unused import (#31562) 2019-03-19 18:15:47 +01:00
Emmanuel Cazenave 7f5e117dec translation update 2019-03-19 14:45:59 +01:00
Emmanuel Cazenave 1a4beccda6 iws: send volume as is (#31541) 2019-03-19 11:03:09 +01:00
Nicolas Roche 0b82a19d0c iparapheur: add a field to override endpoint location on wsdl (#30258) 2019-03-18 14:56:05 +01:00
Nicolas Roche 00211a4cc8 iparapheur: resolv no basic_authentication on w3.org (#31274) 2019-03-18 13:57:01 +01:00
Nicolas Roche ac5172e542 iparapheur: pass unit tests using zeep soap library (#31265) 2019-03-18 13:50:38 +01:00
Nicolas Roche cc0cc0767d iparapheur: don't pass explicit parameters to transport (#31226) 2019-03-18 12:44:05 +01:00
Frédéric Péters 7e8e9cc38b csvdatasource: don't recompute query value for each row (#31489) 2019-03-17 08:20:51 +01:00
Frédéric Péters 58cf6fc3c5 trivial: fix typo in comment 2019-03-17 08:09:02 +01:00
Benjamin Dauvergne a5efb5da16 mdph13: move transaction.atomic() inside create_or_update() (#31401) 2019-03-15 16:48:34 +01:00
Benjamin Dauvergne 48832b135a mdph13: remove check_status (#31452) 2019-03-15 13:36:21 +01:00
Benjamin Dauvergne 5d3369fd61 mdph13: pass client ip to backend (#31445) 2019-03-15 11:17:20 +01:00
Benjamin Dauvergne 74428481d1 mpdh13: PEP8 (#31445) 2019-03-15 11:16:46 +01:00
Benjamin Dauvergne ded313ce12 mdph13: add admin (#31263) 2019-03-12 17:55:19 +01:00
Emmanuel Cazenave 984b2af3f5 pass BRANCH_NAME in tox env (#31305) 2019-03-12 14:09:04 +01:00
Benjamin Dauvergne 52522274e6 mdph13: only validate valued date fields (#31279) 2019-03-12 12:08:29 +01:00
Benjamin Dauvergne b8b8d140f6 mdph13: keep computed display name on Link (#31249) 2019-03-11 11:21:06 +01:00
Frédéric Péters fbacbcfcf7 misc: don't use skip_locked if not supported by database (#31264) 2019-03-11 11:17:10 +01:00
Benjamin Dauvergne 9bcc8d7a06 add bool to json serializable types (to be rebased) 2019-03-08 01:16:08 +01:00
Benjamin Dauvergne 941d080094 allow ressources to disable error logging in requests wrapper (#31114)
- modify ProxyLogger to get request from the "extra" parameter like Django, it
  incurs that we need to clean extra from non JSON-serializable values
  before using it in the ResourceLog model.

- modify to_json() so that request is passed to every log calls as
  before commit 5286592cf, now we will get error mails containing Django
  request details.

- resource can set "log_requests_errors = False" so that the Request
  wrapper never log at the error/warning level.

- small annoyance: requests errors are logged two times, at the INFO
  level and the ERROR level.

- connector MDPH13 is adapted to use all this.
2019-03-07 18:12:59 +01:00
Benjamin Dauvergne a8eb92ef6f utils: PEP8ness (#31114) 2019-03-07 15:21:20 +01:00
Benjamin Dauvergne ab7432fa18 utils: add copyright (#31114) 2019-03-07 15:21:20 +01:00
Benjamin Dauvergne c2ed3a44ae mpdh13: validate date syntax (#31186) 2019-03-07 13:26:21 +01:00
Benjamin Dauvergne 884854c29e mdph13: add a text property to dossiers (fixes #31116) 2019-03-06 16:36:44 +01:00
Benjamin Dauvergne 5a269a9685 mdph13: fix typo (#31116) 2019-03-06 15:44:01 +01:00
Benjamin Dauvergne 1cd83feebc mdph13: always return filenumber and dob (#31116) 2019-03-06 15:44:01 +01:00
Benjamin Dauvergne 4502d797cf views: implement GenericEndpointView.delete (#31118) 2019-03-06 10:42:56 +01:00
Benjamin Dauvergne ad953198e9 add MDPH13 connector (#30692) 2019-03-05 15:12:07 +01:00
Frédéric Péters 6884d84f8c clicrdv: edit migrations to avoid passerelle.datasources references (#31059) 2019-03-04 15:26:11 +01:00
Frédéric Péters 8751dcb683 remove obsolete "passerelle.datasources" app (#31059) 2019-03-04 15:26:11 +01:00
Nicolas Roche 3885a94e0c iparapheur: add endpoint to display raw wsdl (#30257) 2019-03-04 14:34:28 +01:00
Benjamin Dauvergne 2ef3a13b31 api_particulier: check input data (fixes #30884) 2019-03-03 20:50:30 +01:00
Benjamin Dauvergne b7e81b6038 api_particulier: PY3 compatibility (#30884) 2019-03-02 17:26:25 +01:00
Benjamin Dauvergne 2cd08c373b clicrdv: restore deleted migrations (#30560)
There were deleted after a squash in issue #22205.
2019-03-01 21:45:06 +01:00
Benjamin Dauvergne 235971b103 tests: run tests with postgres (fixes #30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne 3a6c697add tests: fix null character in charfield (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne fe2772afb5 tests: mark some base_adresse tests as expected to fail (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne b2189b78b4 tests: fix inconsistencies in opengis tests (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne 10f15acaae tests: fix grenoble_gru tests inconsistencies (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne 07b7b3ec61 tests: fix vivaticket tests inconsistencies (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne 91c12958b5 tests: clear cache between tests (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne c6bc553741 family: enlarge archive field (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne 43b837172b base_adresse: PEP8ness, code style (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne 5e23162573 csv_datasource: PEP8ness, code style (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne 204c214026 opengis: PEP8ness, code style (#30458) 2019-03-01 17:55:02 +01:00