Commit graph

16506 commits

Author SHA1 Message Date
Kara Diaby
d187b7e881 model 2022-05-10 16:16:16 +02:00
Kara Diaby
990fc04b03 controller 2022-05-10 16:16:16 +02:00
Kara Diaby
c2b940ba62 locales 2022-05-10 16:16:16 +02:00
mfo
03ef21c103
Merge pull request #7279 from betagouv/US/fix-export-includes-brouillons
bug(export): expect dossiers_for_export not to include dossiers brouillon
2022-05-10 16:16:13 +02:00
Martin
bf277d4802 bug(export): expect dossiers_for_export not to include dossiers brouillon
fix(export.dossiers_for_export): add missing visible_by_administration
2022-05-10 16:09:12 +02:00
Paul Chavard
561e4f4704
Merge pull request #7282 from tchak/fix-github-actions-cache
fix(ga): include patches hash in github actions
2022-05-10 16:08:22 +02:00
Paul Chavard
4968a3f50d fix(ga): include patches hash in github actions 2022-05-10 16:02:05 +02:00
LeSim
e3a15dc841
Merge pull request #7269 from betagouv/add_chidren_of_on_revision
feat(revision): partie technique une revision peut montrer les enfants d un groupe repetable
2022-05-10 15:14:30 +02:00
simon lehericey
d2509e7492 add procedure_revision children_of 2022-05-10 14:52:57 +02:00
LeSim
7426e8b16f
Merge pull request #7268 from betagouv/fix_wrong_parent
fix(revision) : corrige les liens entre parent enfant
2022-05-10 14:12:36 +02:00
simon lehericey
62aecd3b2e after_party: fix wrong parent 2022-05-10 13:52:58 +02:00
Paul Chavard
4c6e50baf4
Merge pull request #7275 from tchak/fix-link-to-with-turbo
Corrige les link_to avec turbo
2022-05-10 13:44:25 +02:00
Paul Chavard
c5addb4829 fix(turbo): use link_to instead of submit button 2022-05-10 13:39:33 +02:00
Paul Chavard
219fc2f3bc fix(turbo): patch turbo to make link_to work without global turbo enabled 2022-05-10 13:39:33 +02:00
Paul Chavard
ad25bd36bb
Merge pull request #7276 from tchak/fix-multiselect-with-not-uniques-labels
fix(multiselect): allow to have options with the same label
2022-05-10 13:35:11 +02:00
Paul Chavard
83afe1ad8c fix(multiselect): allow to have options with the same label 2022-05-10 13:30:40 +02:00
Pierre de La Morinerie
fd9f480083
Merge pull request #7277 from betagouv/fix-disabled-unit-tests
Expert : amélioration de l'en-tête des pages d'avis
2022-05-10 13:13:19 +02:00
Pierre de La Morinerie
2bd4599190 views: truncate procedure title in Experts breadcrumbs 2022-05-10 12:55:16 +02:00
Pierre de La Morinerie
3bdbf7bb4c views: align Expert header actions to the right 2022-05-10 12:54:02 +02:00
Pierre de La Morinerie
41cf700c15 spec: fix avis/instruction view spec
Due to a faulty naming convention, the test was not executed.
2022-05-10 12:51:27 +02:00
Pierre de La Morinerie
1ad807ab6b spec: fix avis/index view spec
Due to a faulty naming convention, the test was not executed.
2022-05-10 12:51:06 +02:00
Martin
75da4d8c8d Revert "migration(fix.data): when a repetable revision_types_de_champ points to a non active revision type de champs, relink it to the actuel revision_type_de_champs pointing to the stable id of its parent.type_de_champ.stable_id"
This reverts commit 19360e7aac.
2022-05-09 18:45:35 +02:00
Martin
19360e7aac migration(fix.data): when a repetable revision_types_de_champ points to a non active revision type de champs, relink it to the actuel revision_type_de_champs pointing to the stable id of its parent.type_de_champ.stable_id 2022-05-09 18:01:02 +02:00
mfo
f5d2fc7bdd
Merge pull request #7267 from betagouv/main
2022-05-06-01
2022-05-06 14:14:15 +02:00
LeSim
c20e400faa
Merge pull request #7265 from betagouv/fix_create_new_revision
corrige create_new_revision pour les enfants de type de champ répétition
2022-05-06 12:43:40 +02:00
simon lehericey
4ec5b418cb fix create_new_revision 2022-05-06 12:37:59 +02:00
simon lehericey
cb4c35e797 spec: add special case for repetition_type_de_champ 2022-05-06 12:37:59 +02:00
simon lehericey
45f5cd3f4a spec: split procedure creation 2022-05-06 12:37:59 +02:00
LeSim
572e64a5bf
Merge pull request #7161 from betagouv/try_codeql
try codeql analysis
2022-05-06 11:56:18 +02:00
simon lehericey
5040b877d1 remove unused franceconnect.js 2022-05-06 11:50:32 +02:00
LeSim
97b90bb478 try codeql analysis 2022-05-06 11:50:32 +02:00
LeSim
09590cbfac
Merge pull request #7264 from betagouv/refactor_procedure_revision_spec
refactor(procedure_revision_spec)
2022-05-06 11:29:00 +02:00
simon lehericey
02fc25af23 spec: more procedure creation split 2022-05-06 11:23:10 +02:00
simon lehericey
6d38a44f1f spec: be clear we talk about draft 2022-05-06 11:23:10 +02:00
simon lehericey
c1d0256687 spec: split procedure creation 2022-05-06 11:23:10 +02:00
simon lehericey
becdd4a0ed spec: refactor 2022-05-06 11:23:10 +02:00
Paul Chavard
3188719652
Merge pull request #7258 from tchak/remove-sb-tracker
cleanup(sendinblue): remove sendinblue tracking
2022-05-06 11:18:42 +02:00
Paul Chavard
9e0b3b642f cleanup(sendinblue): remove sendinblue tracking 2022-05-06 11:14:44 +02:00
Paul Chavard
b629db2b51
Merge pull request #7263 from tchak/refactor-revison-fix-names
refactor(revision): rename revision methods params to reflect usage of stable_id
2022-05-06 11:13:33 +02:00
Paul Chavard
842506f993 refactor(revision): rename revision methods params to reflect usage of stable_id 2022-05-06 11:08:58 +02:00
Paul Chavard
98814c3812 refactor(revision): test for type_de_champ having a unique revision 2022-05-06 11:08:51 +02:00
LeSim
588641764d
Merge pull request #7243 from betagouv/link_tdc_chidren_by_ProcedureRevisionTypeDeChamp
refactor(spec): lie les champs enfants avec leurs parents avec la nouvelle methode
2022-05-06 10:40:25 +02:00
simon lehericey
2d42b7d57d spec: fix flaky 2022-05-06 10:34:40 +02:00
simon lehericey
d33e7c8cab spec: another isolated type_de_champ_repetition 2022-05-06 10:34:40 +02:00
simon lehericey
0fc71afc29 spec: fix private type de champ repetition 2022-05-06 10:34:40 +02:00
simon lehericey
64175db4dd link children tdc by ProcedureRevisionTypeDeChamp 2022-05-06 10:34:40 +02:00
simon lehericey
ce0a592f3c simplify find_type_de_champ_by_id 2022-05-06 10:34:40 +02:00
mfo
19acfe8795
Merge pull request #7259 from betagouv/US/fix-repetition-add-commune
bug(type_de_champ.repetition): on repetition, when there is a TypeDeChamp::Commune, champs for export should contain 2 entries [one with commune (postal_code), the other for commune (code_insee)].
2022-05-06 09:42:25 +02:00
Martin
8a6c3bbec0 fixup! bug(type_de_champ.repetition): on repetition, when there is a TypeDeChamp::Commune, champs for export should contain 2 entries [one with commune (postal_code), the other for commune (code_insee)]. 2022-05-06 09:38:45 +02:00
Martin
ba7a316f5e fix(Dossier.for_export): instead of iterating champs to build an hash {stable_id: values} ; we iterate on the list of all type de champs, so when there is a type de champ with mutliple values for export, we build the column with the nil value 2022-05-06 09:38:45 +02:00