Commit graph

533 commits

Author SHA1 Message Date
Lisa Durand
2138a01d09
rename tabs - à archiver 2024-12-20 13:41:42 +01:00
Paul Chavard
5e7585daea
ETQ Administrateur, je voudrais que les dossiers non terminés soient toujours sur la dernière révision 2024-12-18 11:41:39 +01:00
Colin Darie
123d363184
Merge pull request #11013 from colinux/admin-knows-api-fields
ETQ admin je suis informé des infos remontées par le champ SIRET
2024-12-17 14:12:58 +00:00
Colin Darie
bd90a79b48
Merge pull request #11144 from tchak/fix-fork-merge
fix(dossier): on fork merge, always remove previous champ version
2024-12-17 13:15:59 +00:00
Colin Darie
f6366a9cd3
refactor(dossier): predicates methods must return boolean 2024-12-17 11:38:49 +01:00
Paul Chavard
9dd1973e18
fix(dossier): always remove previous champ version
If champ type_de_champ gets out of sync with its type, the persisted champ will not be part of the filled champs collection. In the merge code, we need to remove the previous champ, disregarding its type. The problem should have been caught earlier, but our unique index is not actually unique because our version of PG misses `NULLS NOT DISTINCT`. The unique index only works for champs in repetitions.
2024-12-16 21:49:51 +00:00
Paul Chavard
b3701a12b4
fix(champ): always check if a champ is in a valid revision before validate 2024-12-10 11:30:51 +01:00
Colin Darie
75945a9bb7
feat(admin): dynamic SIRET columns list 2024-12-09 10:47:39 +01:00
Paul Chavard
10333908c3
refactor(champ): make row_id a named param 2024-12-09 10:06:13 +01:00
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
7ee90b6d85
refactor(champ): validate only champs in revision 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
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
2e873254fe
refactor(columns): normalize (upcase first) address columns wording 2024-12-06 14:39:37 +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
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
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
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
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
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
ea5340d71a
fix(champ): do not validate champs with changed type 2024-11-14 16:53:56 +01:00
mfo
9f2aff3459
feat(export.dossier_id): not a number, a string. 2024-11-14 15:31:24 +01:00
mfo
ac6f5ba025
feat(export.datetime): ensure to cast date and time 2024-11-14 15:31:24 +01:00
mfo
e563d81b7e
feat(export.type): ensure right cast type on export. ods expecting boolean value a 0||1 2024-11-14 14:45:42 +01:00
mfo
c209cac62f
feat(export_template): use in export service 2024-11-14 14:45:41 +01:00
Christophe Robillard
15cea714c1
extract methods from dossier to dossier_export_concern
Co-authored-by: mfo <mfo@users.noreply.github.com>
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2024-11-14 14:45:41 +01:00
Paul Chavard
942fc42af2
refactor(dossier): rebase should not change champ type 2024-11-14 11:32:12 +01:00
simon lehericey
09793420fb
fix: make enums filter work if champs.enums contains the searched value among others 2024-11-12 17:49:07 +01:00
simon lehericey
50677e982c
refactor: simplify and sanitize filter_ilike 2024-11-12 17:40:55 +01:00
simon lehericey
343ad1a81c
refactor: simplify filter_enum 2024-11-12 17:01:38 +01:00
LeSim
5c3b8f1e1c
Merge pull request #11026 from demarches-simplifiees/inject_options_in_column
Tech: injecte les options des colonnes de type `enum`, retire scope et value_column du new
2024-11-08 09:06:58 +00:00
simon lehericey
1424fca469
other option for groupe instructeurs injection 2024-11-07 18:11:43 +01:00
simon lehericey
08fb49d176
factorize departements and regions options 2024-11-07 18:11:43 +01:00