Commit graph

21964 commits

Author SHA1 Message Date
Christophe Robillard
ac23d5fb41 convert date with dash for export renaming 2024-06-04 10:32:14 +02:00
Christophe Robillard
9f504dbefd precise export template source for zip exports 2024-05-29 16:09:13 +02:00
Christophe Robillard
fc90648c79 fix: regenerate export from export template 2024-05-29 15:42:49 +02:00
Christophe Robillard
0ed166f510 export_template feature flag scoped by procedure 2024-05-29 14:38:05 +02:00
Christophe Robillard
acf6579aa4 add missing specs to export template 2024-05-29 14:38:05 +02:00
Christophe Robillard
d61203e57c remove dead code 2024-05-28 19:14:57 +02:00
Christophe Robillard
c0a95ab525 add specs to pieces_justificatives_service 2024-05-28 18:25:48 +02:00
Christophe Robillard
bc4deb1fc2 add specs to export templates controller 2024-05-28 18:25:38 +02:00
Christophe Robillard
d9f7b6d1df fix dossier directory for etablissement when export with export template 2024-05-28 18:25:38 +02:00
Christophe Robillard
2267ec98cf fix dossier directory for attestation when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
4232cc98c7 fix dossier directory for motivation when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
08c079ca0b fix dossier directory for avis when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
ce6ebf3589 fix dossier directory for commentaire when export with export template 2024-05-28 18:25:37 +02:00
Christophe Robillard
06cbb65d4e spec: simplify export template factory 2024-05-28 18:25:37 +02:00
Christophe Robillard
5846fb4417 fix spec titles 2024-05-28 18:25:37 +02:00
krichtof
2761d18de0
Merge pull request #10217 from demarches-simplifiees/9827-export-rename
ETQ instructeur, je peux renommer le contenu de mon export zip
2024-05-23 09:34:22 +00:00
simon lehericey
0869168bd3
spec: test champs_id_row_index 2024-05-23 10:07:36 +02:00
Christophe Robillard
4fb03e3967
fix: remove useless code 2024-05-23 10:01:30 +02:00
simon lehericey
d3b700326d
spec: fix 2024-05-23 10:01:29 +02:00
simon lehericey
e38999efda
perf(pj service): compute row_id without extraneous requests 2024-05-23 10:01:29 +02:00
simon lehericey
8628ec1621
perf(spec): new record !
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2024-05-23 10:01:29 +02:00
simon lehericey
6184b33a18
perf(preloader): preloader use batch for batches 2024-05-23 10:01:29 +02:00
simon lehericey
ca12a56e6a
perf(zip): give champ to avoid seeking stable_id 2024-05-23 10:00:42 +02:00
simon lehericey
a7e29c4ea6
perf(spec): new count ! 2024-05-23 10:00:42 +02:00
simon lehericey
9effa9e030
perf(zip): preload_dossier earlier 2024-05-23 10:00:42 +02:00
simon lehericey
fa7d5cfa33
fix test 2024-05-23 10:00:41 +02:00
simon lehericey
080bcd8628
refactor: DossierPreloader rename includes_for_dossier -> includes_for_champ 2024-05-23 10:00:41 +02:00
simon lehericey
e8a175d310
refactor: be explicite with memoization 2024-05-23 10:00:41 +02:00
simon lehericey
420520489d
refactor(tags_substitution): simplify 2024-05-23 10:00:41 +02:00
simon lehericey
d60e7906e0
refactor: memoize flat_tags 2024-05-23 10:00:41 +02:00
simon lehericey
e0c867f222
refactor: rename 2024-05-23 10:00:40 +02:00
simon lehericey
3af1cee240
refactor: simplify 2024-05-23 10:00:40 +02:00
simon lehericey
1c0bd3e0e5
refactor: remove unused data 2024-05-23 10:00:40 +02:00
simon lehericey
43fb1ddeb5
refactor: remove target in tags 2024-05-23 10:00:40 +02:00
simon lehericey
fe5c655a52
spec(perf): count sql queries for 10 dossiers 2024-05-23 10:00:40 +02:00
simon lehericey
585810553f
refactor(suffix): be consistent with index suffix 2024-05-23 10:00:39 +02:00
simon lehericey
b656867836
refactor(pj_service): do not query for pj_index 2024-05-23 10:00:39 +02:00
simon lehericey
6d757db20b
fix: champ.row_index and test pjs_for_champs 2024-05-23 10:00:39 +02:00
simon lehericey
1b734aeaed
refactor: simplify preview 2024-05-23 10:00:39 +02:00
simon lehericey
c51792b936
refactor(UI): move extension warning near pjs 2024-05-23 10:00:39 +02:00
simon lehericey
4a900d8121
refactor(UI): add file extension and number to preview 2024-05-23 10:00:38 +02:00
simon lehericey
2dffa9aaa2
refactor: extract preview 2024-05-23 10:00:38 +02:00
simon lehericey
c8b3b4b45a
refactor: renaming 2024-05-23 10:00:38 +02:00
simon lehericey
6445337be7
refactor(pj_list): extract pj list in a concern and simplify 2024-05-23 10:00:38 +02:00
Christophe Robillard
e235131c4c
add export template feature flag 2024-05-23 10:00:38 +02:00
Christophe Robillard
cec73e07a5
move preview to be aligned with form 2024-05-23 10:00:37 +02:00
Christophe Robillard
213522f23f
remove useless tiptap controller 2024-05-23 10:00:37 +02:00
Christophe Robillard
40d7b81e16
add some explanations for export template 2024-05-23 10:00:37 +02:00
Christophe Robillard
4e1552a9eb
add sample messagerie in preview 2024-05-23 10:00:37 +02:00
Christophe Robillard
565f6f44e5
make private some methods 2024-05-23 10:00:37 +02:00