Commit graph

18779 commits

Author SHA1 Message Date
LeSim
c5ccc90cc4
Merge pull request #7932 from betagouv/fix_fix_enable_procedure_expires
fix: typo in task
2022-10-18 15:31:04 +02:00
simon lehericey
0565fa50ce fix: typo in task 2022-10-18 15:29:52 +02:00
LeSim
de0886e584
Merge pull request #7931 from betagouv/fix_enable_procedure_expires
fix(task): ajoute un controle des exception dans la tache d'action d'expiration des procedures
2022-10-18 15:19:48 +02:00
simon lehericey
d050abe53c fix(task): add begin rescue in rake task 2022-10-18 15:05:29 +02:00
LeSim
875751de69
Merge pull request #7928 from betagouv/fix_conditionnal_export_2
fix(export): corrige un bug apparaissant avec des revisions et du conditionnel
2022-10-18 12:38:12 +02:00
simon lehericey
c6e7db3622 fix(export): bug when combining revision and conditional 2022-10-18 11:53:13 +02:00
LeSim
1d82d5f7bb
Merge pull request #7922 from betagouv/fix_mandatory_options
fix(drop_down_list): corrige l'apparition de l'option 'non renseigné' dans une liste de choix obligatoire
2022-10-18 11:20:22 +02:00
simon lehericey
fbf089d60e refactor(dossier): rename check_mandatory_champs -> check_mandatory_and_visible_champs 2022-10-18 11:13:41 +02:00
simon lehericey
9bba2093be refactor(champ): mandatory_blank_and_visible? -> mandatory_blank?
As the method does not check visibility
2022-10-18 11:13:41 +02:00
simon lehericey
6832b12bd4 clean(haml): remove commented code 2022-10-18 11:13:41 +02:00
simon lehericey
7114623285 fix(champ): rewire champ.mandatory? to type_de_champ.mandatory?
it fixes behaviour in drop_down_list_component which add option if not mandatory (!= not required)
2022-10-18 11:13:41 +02:00
simon lehericey
528b7ec3f8 refactor(champ): add required?
used for the `required` html attribute. It check visibility to avoid hidden required input which prevent the form from being sent.
2022-10-18 11:13:41 +02:00
LeSim
c94b1ce3d9
Merge pull request #7923 from betagouv/fix_typo_in_footer_translation
fix(translation): typo dans le footer
2022-10-17 22:53:52 +02:00
simon lehericey
dc89ddb639 fix(translation): typo in footer 2022-10-17 22:47:42 +02:00
mfo
36b78d0300
Merge pull request #7856 from mfo/US/enhance_outdated_procedure
feat(manager/outdated_procedure): enhance procedure cleanup
2022-10-17 14:31:36 +02:00
Martin
6000de2095 feat(manager/outdated_procedure): enhance procedure cleanup 2022-10-17 13:35:37 +02:00
Paul Chavard
84b1888d3a
Merge pull request #7918 from tchak/fix-routage-groupe-instructeur
fix(routage): fill dossier groupe instructeur in some edge cases
2022-10-14 23:34:29 +02:00
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