Commit graph

4237 commits

Author SHA1 Message Date
Paul Chavard
3556fcc11e
refactor(champs): cleanup champ_for_update 2024-12-09 10:06:13 +01:00
Paul Chavard
474d206ee1
refactor(champs): remove orphaned and invisible champs after submit 2024-12-09 10:06:13 +01:00
Paul Chavard
6cbf66dfb8
refactor(dossier): stop destroying champs in rebase 2024-12-09 10:06:13 +01:00
Paul Chavard
0594887401
refactor(dossier): update clone and apply diff to work with rows 2024-12-09 10:06:13 +01:00
Paul Chavard
8e582e0be7
refactor(repetition): materialize repetition rows in db 2024-12-09 10:06:13 +01:00
Paul Chavard
5f10486a51
refactor(dossier): create only fillable champs on new dossiers 2024-12-09 10:06:13 +01:00
Paul Chavard
7ee90b6d85
refactor(champ): validate only champs in revision 2024-12-09 10:06:13 +01:00
Paul Chavard
3da8c4b672
feat(repetition): make champ repetition discardable 2024-12-09 10:06:13 +01:00
mfo
586b8ed993
Merge pull request #11121 from mfo/US/fix-repetition-prefill
ETQ consommateur de l'API de pré-remplissage, je peux pre-remplir plus d'un row d'une repetition
2024-12-06 16:47:18 +00:00
mfo
ad832b9401
fix(prefill.repetitions): with more than one row, should be able to prefill champs repetition rows 2024-12-06 17:32:35 +01:00
Colin Darie
c38b4627b2
fix: user can restore a brouillon not modified for a long time 2024-12-06 17:06:59 +01:00
Colin Darie
bab474d46d
refactor(columns): more readable etablissment columns list 2024-12-06 14:39:37 +01:00
Colin Darie
9cb547efcf
refactor: rename naf => code_naf 2024-12-06 14:39:37 +01:00
Colin Darie
f1d14bd6af
feat(etablissement): save value json data for columns 2024-12-06 14:39:37 +01:00
Colin Darie
a400045964
refactor(etablissement): update champ value json address from model 2024-12-06 14:39:37 +01:00
Colin Darie
2e873254fe
refactor(columns): normalize (upcase first) address columns wording 2024-12-06 14:39:37 +01:00
Colin Darie
985cf32752
feat(champ siret): improve default base SIRET column wording 2024-12-06 14:39:36 +01:00
Colin Darie
90a8888ade
feat(champ siret): etablissement columns filterable & displayable 2024-12-06 14:39:36 +01:00
Paul Chavard
99a9bc3829
fix(dossier): when a champ type changes on update, ensure we have an instance of the right class 2024-12-04 13:00:22 +01:00
Mathieu Magnin
39baa5aae1
[#10951] fixes after review 2024-12-03 10:29:21 +01:00
Mathieu Magnin
5ab0899a49
[#10951] Create a cron job to warn user that old brouillon is deleted 2024-12-03 10:29:21 +01:00
simon lehericey
169e2659e1
forgive accent in query 2024-12-02 21:06:55 +01:00
simon lehericey
6da717a2b9
forgive case in query 2024-12-02 21:06:55 +01:00
simon lehericey
1b1626baaa
forgive space in query 2024-12-02 21:06:55 +01:00
simon lehericey
d287eac706
refactor: fix n+1 2024-11-26 16:35:45 +01:00
Paul Chavard
ee9a493877
Merge pull request #11062 from tchak/column-better-cast
ETQ dev, je souhaite obtenir la valeur humaine d'une colonne
2024-11-26 13:41:52 +00:00
Paul Chavard
1335336d98
refactor(column): add label_for_value method 2024-11-26 14:31:21 +01:00
Paul Chavard
7f4622b697
feat(column): filter out invalid values on enum and enums columns 2024-11-26 14:31:21 +01:00
Paul Chavard
1f5dd3bd02
refactor(dossier): cleanup user controller 2024-11-26 14:30:23 +01:00
Paul Chavard
671d121480
refactor(dossier): move some code to dossier_state_concern 2024-11-26 14:30:06 +01:00
mfo
99184d3d2b
Merge pull request #11088 from mfo/US/fix-export-repetition-not-in-dossier-revision
correctif: ETQ instructeur, je peux exporter mes dossiers même si une répétition a été ajouté a une autre version du formulaire
2024-11-26 10:22:14 +00:00
mfo
a88325e224
fix(sentry#6088812113): avoid crash when trying to export a repetition which is not in a dossier revision 2024-11-26 11:05:15 +01:00
Mathieu Magnin
460bd48d08
Merge pull request #11050 from demarches-simplifiees/fix-9513-part-1
(1/X) ETQ administrateur, je veux pouvoir modifier le lien URL de ma démarche sans avoir à la cloturer
2024-11-26 08:58:48 +00:00
simon lehericey
c3af718f1c
fix: user confirming their mail have its email verified 2024-11-22 18:50:42 +01:00
Paul Chavard
71009094a4
refactor(type_de_champ): improve and clean helper methods 2024-11-20 10:18:51 +01:00
simon lehericey
38e998c279
fix: allow previous id with -> to work 2024-11-19 12:12:55 +01:00
simon lehericey
aa0b7f53ef
small comment explaining why we need to ensure used columns are present in procedure.columns 2024-11-19 12:12:55 +01:00
simon lehericey
fa64e8f112
fix: change > char in favor of . in linked_drop_column.column_id
Rails `'>'.to_json` produce `\u003e` because of an html entity escaping system to work around some bugs in browser (see dd8f7185fa/activesupport/lib/active_support/json/encoding.rb (L43) )

But our waf dislike `\u003e` and reject xhr request with such char
2024-11-19 12:12:55 +01:00
mfo
1ed0599137
Merge pull request #11042 from demarches-simplifiees/update-routage-a-partir-d-un-champ
ETQ administrateur j'ai davantage d'informations sur le routage à partir d'un champ
2024-11-18 12:20:05 +00:00
mfo
92639be88b
Merge pull request #11049 from mfo/US/more-rna-rnf-data
ETQ instructeur, je souhaite pouvoir chercher par nom d'association/fondation
2024-11-18 09:00:50 +00:00
Paul Chavard
5cf90eb103
fix(champ): no crash when drop_down_list with other champ value_json is nil 2024-11-18 09:51:06 +01:00
mfo
9a70a9526d
feat(rna/rnf): expose rnf/rna title 2024-11-15 17:10:48 +01:00
mfo
cfd568b98d
feat(rna): also store rna title 2024-11-15 17:10:48 +01:00
mfo
a9237bf7f1
feat(rnf): also store rnf title 2024-11-15 17:10:48 +01:00
Eric Leroy-Terquem
bccef87cbf
wording(routing): updates after UI reviews 2024-11-15 11:41:37 +01:00
Mathieu Magnin
80c1a1af2c
Remove not used param 2024-11-15 11:07:04 +01:00
Mathieu Magnin
96bbcd68ea
[#9513] Move path related things in a ProcedurePathConcern 2024-11-15 11:07:04 +01:00
krichtof
4b740f8f29
Merge pull request #10591 from demarches-simplifiees/9827-export-select
ETQ instructeur, je peux créer un modèle d'export tabulaire
2024-11-15 05:55:17 +00:00
Paul Chavard
cab8c351c5
Merge pull request #11046 from tchak/fix-validation-after-rebase
fix(champ): do not validate champs with changed type
2024-11-14 17:45:18 +00:00
LeSim
38ca9aaa92
Merge pull request #11037 from demarches-simplifiees/remove_old_procedure_presentation_methods
Tech: supprime les méthodes de relative aux procedure_presentations du controller instructeur. Attention, casse des migrations
2024-11-14 16:07:59 +00:00