Commit Graph

45 Commits

Author SHA1 Message Date
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
Frédéric Péters 1c7f6c2557 tests: keep on using deprecated cgi module in tests (#86355)
gitea/passerelle/pipeline/head There was a failure building this commit Details
2024-01-31 09:28:43 +01:00
Nicolas Roche f2652bac36 toulouse-smart: do not crash on receiving string in place of block field (#79816)
gitea/passerelle/pipeline/head This commit looks good Details
2023-10-12 15:08:55 +02:00
Valentin Deniaud 40142de8d2 misc: apply double-quote-string-fixer (#79788) 2023-08-16 10:08:30 +02:00
Nicolas Roche 64b25c7c73 fixup! wcs: explicite wcs response on WcsApiError (#78967)
gitea/passerelle/pipeline/head This commit looks good Details
2023-07-17 09:58:54 +02:00
Benjamin Dauvergne 9984f6bb66 toulouse_smart: do not try to localize None dates (#76624)
gitea/passerelle/pipeline/head There was a failure building this commit Details
2023-04-14 12:21:47 +02:00
Benjamin Dauvergne 3d181b33ad tests: use migration fixture from authentic (#73760) 2023-03-03 12:31:32 +01:00
Nicolas Roche 6b68a148b4 toulouse-smart: use post-transition time to resolve reverting from DST (#70309) 2022-10-19 17:16:39 +02:00
Valentin Deniaud 989fb52719 misc: apply pyupgrade (#61865) 2022-09-29 16:22:29 +02:00
Agate 1a17d3efa6 django4: replaced *_text with *_str equivalent (#68576) 2022-08-31 11:00:37 +02:00
Nicolas Roche a8530e2806 toulouse_smart: allow to redo a failed intervention (#62012) 2022-08-26 09:52:09 +02:00
Nicolas Roche 5f695ccd4a toulouse_smart: check media path on tests (#62012) 2022-08-26 09:52:09 +02:00
Nicolas Roche 4543200ddf toulouse_smart: check response error on tests (#62012) 2022-08-26 09:52:09 +02:00
Agate 9d9969afdb Run tests under django 3.2 (#67781) 2022-08-01 11:16:26 +02:00
Lauréline Guérin 71ddfd62dc
misc: fix singleton-comparison 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
Benjamin Dauvergne a3eb559dd7 toulouse_smart: change primary key of WcsRequest (#62893)
- make WcsRequest.uuid the primary key, implement migrations to migrate
  existing ForeignKeys and references in Job.parameters.
- add a new column wcs_form_step, with default value 'initial' and make a unique index on the tuple
  (wcs_form_api_url, wcs_form_step)
2022-03-17 15:30:24 +01:00
Nicolas Roche ab0927df06 toulouse_smart: set timeout on synchronous requests (#62105) 2022-02-25 15:09:07 +01:00
Nicolas Roche 47b07f9a7c toulouse_smart: ignore smart properties having unknown type (#60989) 2022-01-28 12:31:23 +01:00
Benjamin Dauvergne ccfdc8deab toulouse_smart: replace - by _ in field varname (#60870) 2022-01-20 12:18:22 +01:00
Nicolas Roche fd86f95ff0 toulouse_smart: manage timezone translations (#60383) 2022-01-14 11:51:01 +01:00
Nicolas Roche f203135208 toulouse_smart: skip add_media having no intervention (#60276) 2022-01-06 12:09:33 +01:00
Nicolas Roche 47f7cad1eb toulouse_smart: limit create_intervention tries (#60278) 2022-01-06 12:07:24 +01:00
Nicolas Roche ed5883af36 toulouse_smart: accept empty block field (#59203) 2021-12-10 09:14:16 +01:00
Nicolas Roche 7ebcbcf78e toulouse_smart: validate uuid parameter format (#58992) 2021-11-26 10:30:46 +01:00
Nicolas Roche d8685c5775 toulouse_smart: accept empty block-field content on create intervention (#58867) 2021-11-26 10:28:53 +01:00
Nicolas Roche 95e9615197 toulouse_smart: add externalReferences to create-intervention payload (#58395) 2021-11-12 10:44:32 +01:00
Nicolas Roche 64a199de23 toulouse_smart: rename notification_url field (#57875) 2021-11-12 10:39:08 +01:00
Nicolas Roche 8afd77f697 toulouse_smart: add an add-media endpoint (#57875) 2021-11-12 10:39:08 +01:00
Nicolas Roche b9cff06e49 tests: merge intervention_id occurences (#57875) 2021-11-12 10:39:08 +01:00
Nicolas Roche 155775498c toulouse_smart: trigger wcs when intervention is created async (#57669) 2021-10-12 11:05:20 +02:00
Nicolas Roche 340cf3d8b0 test: remove duplicated code (#57669) 2021-10-12 11:05:11 +02:00
Nicolas Roche f39941dd93 toulouse_smart: pass optionnal boolean parameters to create endpoint (#56630) 2021-09-16 11:39:29 +02:00
Nicolas Roche 907dbafc24 toulouse_smart: rename update trigger slug (#56637) 2021-09-03 18:22:32 +02:00
Nicolas Roche 9204ba610d toulouse_smart: add update-intervention endpoint (#55230) 2021-08-06 14:44:03 +02:00
Nicolas Roche ba6f3523ad toulouse_smart: add create-intervention endpoint (#55230) 2021-08-06 14:44:03 +02:00
Nicolas Roche 5c6a50af6e toulouse_smart: manage payload and exception in mock_response (#55230) 2021-08-06 14:44:03 +02:00
Nicolas Roche ff14f2c0e3 toulouse_smart: allow several queries in mock_response (#55230) 2021-08-06 14:44:03 +02:00
Nicolas Roche 3ae9b864f6 toulouse_smart: add get-intervention endpoint (#55230) 2021-08-06 14:44:03 +02:00
Nicolas Roche 813bfff74f toulouse_smart: manage status code in mock_response (#55230) 2021-08-06 14:44:03 +02:00
Nicolas Roche 58f9699bd5 toulouse_smart: rename wcs field labels using displayName property (#55513) 2021-07-26 10:07:23 +02:00
Benjamin Dauvergne b3e450941b toulouse_smart: slugify intervention's type name to make the id (#55250) 2021-07-01 12:06:51 +02:00
Benjamin Dauvergne d28785640b toulouse_smart: handle defaultValue and restrictedValues on intervention types (#54215) 2021-05-28 12:04:21 +02:00
Benjamin Dauvergne eedba0dedd add toulouse_smart connector (#53834) 2021-05-07 17:12:18 +02:00