Commit Graph

1529 Commits

Author SHA1 Message Date
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
Benjamin Dauvergne ddffadf025 grenoble_gru: PEP8ness, code style (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne f581c082a8 vivaticket: PEP8ness (#30458) 2019-03-01 17:55:02 +01:00
Benjamin Dauvergne f2e7add34b actesweb: work-around not latin15 encodable characters (fixes #30995) 2019-03-01 15:58:02 +01:00
Benjamin Dauvergne a7ad6bda4b tests: non-regression (#30995) 2019-03-01 15:58:02 +01:00
Frédéric Péters 560fe4406a tests: pass open file to etree.parse() in cityweb tests 2019-02-27 09:33:27 +01:00
Frédéric Péters 08900c4537 actesweb: don't escape characters in demands (#30924) 2019-02-27 09:33:27 +01:00
Frédéric Péters cb4233e020 settings: force 0644 as mode for uploaded files (#30905) 2019-02-26 14:51:50 +01:00
Frédéric Péters fd2672f6f2 cartads: return empty list if requested type has no CERFA associated (#30883) 2019-02-25 14:32:36 +01:00
Frédéric Péters 8c1391b88b translation update 2019-02-21 13:32:09 +01:00
Frédéric Péters d413c28332 atos genesys: put error details in parenthesis (#30815) 2019-02-21 12:33:34 +01:00
Frédéric Péters ae317a83e1 cartads: add status label for pending files (#30813) 2019-02-21 12:13:10 +01:00
Frédéric Péters e6f98e37c8 cartads_cs: adjust status endpoint to work with zeep objects (#30792) 2019-02-20 17:02:57 +01:00
Frédéric Péters 49e3a51c74 translation update 2019-02-20 14:05:11 +01:00
Frédéric Péters 3ebb28ea27 misc: adjust availability check parameters dialog (#30786) 2019-02-20 14:05:11 +01:00
Frédéric Péters 81690434be add connector for Cart@DS CS (#27144) 2019-02-20 13:36:32 +01:00
Frédéric Péters 8fc099421f misc: include help_text in availability check migration 2019-02-20 11:41:34 +01:00
Frédéric Péters 5257471818 general: add basic asynchronous job infrastructure (#12469) 2019-02-20 11:31:48 +01:00
Emmanuel Cazenave fa76fbc8d7 manage availability check through the UI (#29965) 2019-02-20 11:07:55 +01:00
Thomas NOËL d501c6055b api_particulier: new test system (#30708) 2019-02-15 15:38:27 +01:00
Benjamin Dauvergne 89a97579b6 api_particulier: enlarge _api_key field (fixes #30551) 2019-02-13 12:21:59 +01:00
Benjamin Dauvergne 81997da73c api_particulier: rewrite initial migration (#30551)
Adapt to addition of verbose_name in #15660.
2019-02-13 12:21:59 +01:00
Frédéric Péters 7a2a7215fb jenkins: publish results earlier 2019-02-12 19:59:57 +01:00
Benjamin Dauvergne 5793a44733 tests: do not create a fake ressource model (#30221) 2019-02-12 15:17:59 +01:00