Commit graph

21956 commits

Author SHA1 Message Date
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
Christophe Robillard
aeb4bd2ff1
add original-filename tag 2024-05-23 10:00:36 +02:00
Christophe Robillard
8e8057ddd3
add some specs to export template 2024-05-23 10:00:36 +02:00
Christophe Robillard
9f715e84d5
add i18n for export template 2024-05-23 10:00:36 +02:00
Christophe Robillard
43c862ed4d
list export templates for groupes instructeur of current instructeur 2024-05-23 10:00:36 +02:00
Christophe Robillard
2c28d97f3f
destroy export_template 2024-05-23 10:00:35 +02:00
Christophe Robillard
93f1fd5ebf
add export template lists 2024-05-23 10:00:35 +02:00
Christophe Robillard
be0c0311c5
use export template for admin archives 2024-05-23 10:00:35 +02:00
Christophe Robillard
4a79ecf301
add new export template link 2024-05-23 10:00:35 +02:00