Commit graph

16262 commits

Author SHA1 Message Date
Paul Chavard
736e0b0731 fix(routage): fill dossier groupe instructeur in some edge cases 2022-10-14 17:29:56 +02:00
Paul Chavard
b4cec14d6e
Merge pull request #7906 from tchak/fix-user-destroy-dossiers
fix(dossier): we should never detroy user’s dossiers in cascade
2022-10-14 14:21:46 +02:00
Paul Chavard
c075a4e415 fix(dossier): we should never detroy user’s dossiers in cascade 2022-10-14 14:14:51 +02:00
Paul Chavard
e0e9085fe3
Merge pull request #7915 from tchak/graphql-champ-visibility
fix(graphql): hide champs based on conditions
2022-10-14 11:40:04 +02:00
Paul Chavard
c097f70543 fix(graphql): hide champs based on conditions 2022-10-14 11:33:25 +02:00
LeSim
e4ceaa1194
Merge pull request #7909 from betagouv/fix_conditionnal_export
fix(export): met une valeur null aux champs cachés lors des exports
2022-10-14 10:53:39 +02:00
simon lehericey
d5d031e15d fix(export): do not export invisible champ 2022-10-14 10:30:27 +02:00
Paul Chavard
b0db7e7cb9
Merge pull request #7914 from betagouv/fix_flaky_spec
refactor(spec): use match_array
2022-10-14 10:18:36 +02:00
simon lehericey
de875632e6 refactor(spec): use match_array 2022-10-14 09:45:58 +02:00
LeSim
b0831de11d
Merge pull request #7903 from betagouv/small_perf_gain
perf(dossier brouillon): petites optimisations
2022-10-13 22:42:48 +02:00
simon lehericey
40a3fff593 perf(dossiers_controller): do not load pj template in update, -10ms 2022-10-13 22:36:56 +02:00
simon lehericey
f8ee6386b9 perf(champ): check condition.present? without json deserializationl, -6ms 2022-10-13 22:36:56 +02:00
simon lehericey
73b4ee64e6 perf(champ_value): use champ_type instead of tdc.type_champ, -22ms 2022-10-13 22:36:56 +02:00
Eric Leroy-Terquem
2643bef77d
Merge pull request #7881 from E-L-T/hide-instructors-group-select-if-only-one-group-elt
feat(groupe_instructeur) no select if only one group
2022-10-13 20:08:54 +02:00
Eric Leroy-Terquem
2147a1865c add test 2022-10-13 19:49:32 +02:00
Eric Leroy-Terquem
c6082ded09 no select for usager if only one groupe_instructeur 2022-10-13 19:49:32 +02:00
mfo
2f573619d6
Merge pull request #7905 from mfo/US/clean_pending_user_with_requested_merge_into_id_similar_to_their_id
correctif(fusion de compte): correctif sur les comptes usagers ayant initiés la fusion de leur compte sur lui même [ce qui detruit la donnée]
2022-10-13 17:57:35 +02:00
Martin
d09c47f5ce correctif(usager.fusion): leve une erreur quand on essaie de fusionner un compte sur lui même 2022-10-13 17:00:20 +02:00
Martin
654d38626b correctif(fusion de compte): recupération sur les comptes usagers ayant initié la fusion de leurs compte sur lui même [ce qui detruit la donnée] 2022-10-13 17:00:20 +02:00
Paul Chavard
2354d21cdd
Merge pull request #7460 from tchak/fix-dossier-submit
feat(dossier): do not update dossier champs on submit
2022-10-13 15:19:48 +02:00
Paul Chavard
25c774b3a1 refactor(dossier): extract dossier edit footer into a component 2022-10-13 14:44:46 +02:00
Paul Chavard
d409b6f4ef feat(dossier): do not save dossier on submit 2022-10-13 14:44:46 +02:00
Paul Chavard
12ddb0a8e8 chore(i18n): remove unused locales 2022-10-13 14:44:46 +02:00
Paul Chavard
78a1323fc2 refactor(dossier): move dossier submit action in to a new form 2022-10-13 14:44:46 +02:00
Paul Chavard
dd38fa4458 refactor(spec): add wait_for_autosave helper 2022-10-13 14:44:46 +02:00
Colin Darie
4500a5aa04
Merge pull request #7902 from colinux/fix-repetition-buttons
style(repetition + conditionnel): fix button styles
2022-10-13 10:23:30 +02:00
Colin Darie
e2e9ddd625 style(conditionnel): dsfr button styles 2022-10-13 10:17:21 +02:00
Colin Darie
8153f33896 style(repetition): fix button styles 2022-10-13 10:17:21 +02:00
Colin Darie
61337c1dd4
Merge pull request #7900 from colinux/fix-avis-ui
style(avis): fix font-size & font-weight
2022-10-12 14:50:59 +02:00
Colin Darie
9571e9481d style(avis): fix font sizes & colors due to h2 strongly styled 2022-10-12 14:41:31 +02:00
Paul Chavard
8f5a60e283
Merge pull request #7895 from tchak/feat-active-job-request-id
feat(jobs): add request_id to jobs payload
2022-10-12 14:39:57 +02:00
Paul Chavard
1fd1878370 feat(jobs): add request_id to jobs payload 2022-10-12 14:32:23 +02:00
Paul Chavard
cb46cf1429
Merge pull request #7896 from tchak/cleanup-flipper-use
chore(flipper): always use feature_enabled? helper
2022-10-12 14:20:52 +02:00
Paul Chavard
7f1dd49bdc chore(flipper): always use feature_enabled? helper 2022-10-12 14:14:30 +02:00
Paul Chavard
0f192fd752 chore(flipper): add feature_enabled? to components 2022-10-12 14:14:30 +02:00
Paul Chavard
03c714e86d test(flipper): cleanup flipper calls in tests 2022-10-12 14:14:30 +02:00
Paul Chavard
155c71b169 test(flipper): reset flipper flags before each test 2022-10-12 14:14:30 +02:00
Paul Chavard
8eb42baba5
Merge pull request #7901 from tchak/update-webdrivers
chore(webdriver): update
2022-10-12 13:37:49 +02:00
Paul Chavard
36e9b27e8c chore(webdriver): update 2022-10-12 13:17:44 +02:00
Paul Chavard
8499c0327d
Merge pull request #7790 from betagouv/feature/add_rna_type_de_champs
Ajouter champ RNA à une procédure
2022-10-12 09:46:59 +02:00
Damien Le Thiec
29a97fac43
Merge branch 'main' into feature/add_rna_type_de_champs 2022-10-11 18:59:45 +02:00
LeSim
5a8888e3c3
Merge pull request #7893 from betagouv/fix_tdc_destroy_replay
fix(editor champ): ne leve pas d'exception si un type de champ est supprimé 2 fois
2022-10-11 17:20:09 +02:00
Damien Le Thiec
0e995c8bcc
Update app/models/champs/rna_champ.rb
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2022-10-11 16:34:00 +02:00
simon lehericey
7672ad3fe9 fix(editor champ): do not raise on destroy replay 2022-10-11 16:27:49 +02:00
Damien Le Thiec
f30798eeec Merge branch 'feature/add_rna_type_de_champs' of https://github.com/betagouv/demarches-simplifiees.fr into feature/add_rna_type_de_champs 2022-10-11 16:18:35 +02:00
Damien Le Thiec
3acb0fc3cb Remove test external id 2022-10-11 16:18:15 +02:00
Damien Le Thiec
73f6063c87
Merge branch 'main' into feature/add_rna_type_de_champs 2022-10-11 15:36:46 +02:00
Damien Le Thiec
2e8c0512a5 Remove skip_cleanup option 2022-10-11 15:11:51 +02:00
LeSim
b6f3b51522
Merge pull request #7889 from tchak/fix-en_construction-expiration-message
fix(dossier): en_construction expiration is counted from submit date
2022-10-11 13:12:27 +02:00
Paul Chavard
6ae6b89f8e fix(dossier): en_construction expiration is counted from submit date 2022-10-11 12:46:11 +02:00