Commit graph

15065 commits

Author SHA1 Message Date
LeSim
b4ab3487de
Merge pull request #7424 from betagouv/condition_engine
Condition engine
2022-06-17 15:01:42 +02:00
simon lehericey
972cb865c7 update rubocop 2022-06-17 14:54:21 +02:00
simon lehericey
9596dac508 force resync types_de_champ and types_de_champ_public/private 2022-06-17 14:54:21 +02:00
simon lehericey
0db27b8718 validate conditions on revision 2022-06-17 14:54:21 +02:00
simon lehericey
758933f6f9 tdc can have condition 2022-06-17 14:53:28 +02:00
simon lehericey
9f49e8c2ea add ensure_compatibility_from_left 2022-06-17 14:53:27 +02:00
simon lehericey
5ac3049033 add champ_value for dropdown 2022-06-17 14:53:27 +02:00
simon lehericey
809d991819 add champ_value 2022-06-17 14:53:27 +02:00
simon lehericey
daaa54b6f0 add n_ary operators 2022-06-17 14:53:27 +02:00
simon lehericey
698eff0a50 add equal operator 2022-06-17 14:53:27 +02:00
simon lehericey
ebe95b83fa add compatibility checks 2022-06-17 14:53:27 +02:00
simon lehericey
a98a6d6d1e add binary operators 2022-06-17 14:53:27 +02:00
simon lehericey
6ebfc505c4 add empty 2022-06-17 14:53:27 +02:00
simon lehericey
58da4805fa add constant 2022-06-17 14:53:27 +02:00
Paul Chavard
ed2d9ed861
Merge pull request #7459 from tchak/fix-graphql-demarche-descriptors
fix(graphql): avoid n+1 on champ_descriptors
2022-06-17 12:39:13 +02:00
Paul Chavard
6ec6aebd53 fix(graphql): cleanup deprecation messages 2022-06-17 12:33:35 +02:00
Paul Chavard
350ed3a11a feat(graphql): expose revision on demarche descriptor type 2022-06-17 12:33:35 +02:00
Paul Chavard
988397ac11
Merge pull request #7472 from tchak/fix-export
fix(export): no crash on empty repetitions
2022-06-17 11:43:06 +02:00
Paul Chavard
bbc44fe339 fix(export): no crash on empty repetitions 2022-06-17 11:33:48 +02:00
Paul Chavard
8e73a4f037
Merge pull request #7398 from tchak/turbo-type-de-champ-editor
Turbo type de champ editor
2022-06-17 11:08:41 +02:00
Paul Chavard
6801b04b7b feat(type_de_champ): type_de_champ editor in stimulus/turbo 2022-06-17 11:04:09 +02:00
Paul Chavard
1573d20ee9 types_de_champ controller to use turbo 2022-06-17 11:04:09 +02:00
Paul Chavard
cf81e8ecd5 feat(turbo): add turbo:morph helper 2022-06-17 11:04:09 +02:00
Paul Chavard
65bd996f2a refactor(types_de_champ_editor): remove old react editor 2022-06-17 11:04:09 +02:00
LeSim
9640461464
Merge pull request #7464 from adullact/7463_fix_footer_remove_unwanted_character
FIX: remove an unwanted character in footer
2022-06-17 10:43:08 +02:00
Fabrice Gangler
aaa84e177d FIX: remove an unwanted character in footer
Refs: #7463
2022-06-17 10:39:26 +02:00
mfo
f216ca5a48
Merge pull request #7468 from betagouv/fix-procedure-presentation-with-updated-since
fix(20220614053743_fix_procedure_presentation_with_depose_since): missed case of procedure_presentation with Mis à jour depuis
2022-06-14 17:15:36 +02:00
Martin
4ef2fe37e6 fix(20220614053743_fix_procedure_presentation_with_depose_since): missed case of procedure_presentation with Mis à jour depuis 2022-06-14 17:11:20 +02:00
Paul Chavard
4c5c459d6c
Merge pull request #7453 from tchak/perf-dossier-preload
perf(dossier): improuve dossier preloading perf
2022-06-14 14:25:09 +01:00
Paul Chavard
564daeffe8 perf(dossier): improuve dossier preloading perf 2022-06-14 09:04:26 +01:00
Paul Chavard
b6868ce9ea perf(dossier): add dossier export benchmarks 2022-06-14 09:04:26 +01:00
mfo
4d42ae705e
Merge pull request #7465 from betagouv/sentry/3338723979
fix(procedure_presentation): split displayable_fields_for_select and filterable_fields_options to exclude depose_since to avoid projection on this virtual column
2022-06-14 10:01:51 +02:00
Martin
56f7133799 fix(procedure_presentation): can not present a 'virtual field' like depose_since
fix(data): add migration to remove fields depose_since from existing procedure presentation
2022-06-14 09:02:37 +02:00
mfo
20a16fa413
Merge pull request #7461 from betagouv/US/fix-avis_invitation-without-TargetedUserLink
fix(instructeurs/avis#revive): ArgumentError on AvisMailer.avis_invitation
2022-06-14 08:45:15 +02:00
Martin
8b487c847b fix(instructeurs/avis#revive): ArgumentError on AvisMailer.avis_invitation 2022-06-14 08:41:09 +02:00
mfo
011fcd40d8
Merge pull request #7457 from betagouv/US/fix-webhook
fix(WebHookJob): missing find procedure
2022-06-10 17:30:28 +02:00
Martin
165db34c4a fix(WebHookJob): missing find procedure 2022-06-10 17:28:07 +02:00
mfo
abb0f8b650
Merge pull request #7455 from betagouv/US/fix-cron-DeclarativeProceduresJob-fail-all-on-one-error
bug(DeclarativeProceduresJob.perform_now): fail all next procedure on one dossier failure
2022-06-10 15:03:37 +02:00
Martin
b84c2966c4 fix(DeclarativeProceduresJob.perform_now): avoid to crash other demarche when one fail 2022-06-10 14:59:36 +02:00
Martin
ab04369c06 bug(DeclarativeProceduresJob.perform_now): fail all next procedure on one dossier failure 2022-06-10 14:59:36 +02:00
Kara Diaby
8fdbbc7f88
Merge pull request #7454 from betagouv/fix-procedure-restauration
Fixe la restauration des démarches supprimées
2022-06-10 14:31:59 +02:00
Kara Diaby
d58ecb3fcc Lors de la restauration d'une démarche supprimée, met sur les dossiers liés hidden_by_administration_at à nil 2022-06-10 12:33:47 +02:00
Paul Chavard
9c5bf1ed1f
Merge pull request #7449 from tchak/feat-date-filter
feat(procedure_presentation): add since date filters
2022-06-09 16:18:35 +02:00
Paul Chavard
95a1ea1047 feat(procedure_presentation): add since date filters 2022-06-09 13:01:22 +01:00
Kara Diaby
1cbdfe3d66
Merge pull request #7446 from betagouv/feat/7274
ETQ admin, je souhaite visualiser le recap des modifications apportées lorsque ma démarche close
2022-06-08 14:54:04 +02:00
Kara Diaby
1f2f148464 tests 2022-06-08 14:38:17 +02:00
Kara Diaby
5f1f8b299a layout 2022-06-08 14:38:17 +02:00
Kara Diaby
d2bd2ffcbe controller 2022-06-08 14:38:17 +02:00
Kara Diaby
60eed4ec01 model 2022-06-02 15:48:11 +02:00
mfo
ead1f1fa57
Merge pull request #7443 from betagouv/US/fix-drop-down-with-other
fix(drop_down_list): ensure to skip disabled input when sending data via autosave
2022-06-02 13:53:27 +02:00