Paul Chavard
|
227296682b
|
fix(dossier): clone should include more attachments
|
2022-12-20 21:30:32 +01:00 |
|
Colin Darie
|
f4d403a81c
|
fix(apiv1): piece_justificative continue to returns a single attachment
|
2022-12-06 15:47:06 +01:00 |
|
Colin Darie
|
7cbe6bbaa4
|
fix(attachment): clone piece justificatives with multiple attachments
|
2022-12-05 10:47:10 +01:00 |
|
Colin Darie
|
3affd1660f
|
fix(api-v1): piece justificative serialization
|
2022-12-05 10:47:10 +01:00 |
|
Colin Darie
|
91f4971df2
|
feat(champ): has_one_attached => has_many_attached piece_justificative_file
|
2022-12-05 10:47:10 +01:00 |
|
Paul Chavard
|
c0fd080d0e
|
refactor(operation_log): store data in jsonb instead of files
|
2022-11-22 18:06:05 +01:00 |
|
Paul Chavard
|
d306583a7b
|
refactor(active_storage): PiecesJustificativesService::FakeAttachment -> ActiveStorage::FakeAttachment
|
2022-11-22 18:05:26 +01:00 |
|
Martin
|
18b7f4e4fa
|
remaniement(dossier.clone): simplifications, pas de callback/after, pas d'heritage, mm interface pour cloner les champs public/prive, clonage des PJs avec le nouveau service de clone, ajoute une cle etrangere sur la colonne parent_dossier_id
|
2022-11-14 09:53:19 +01:00 |
|
Paul Chavard
|
e6288c39f2
|
refactor(dossier): champs -> champs_public
|
2022-11-10 22:44:39 +00:00 |
|
Paul Chavard
|
95f65900d3
|
refactor(active_storage): no download on clone
|
2022-11-10 12:25:55 +00:00 |
|
Paul Chavard
|
8532c71036
|
perf(dossier.pdf): use DossierPreloader to generate pdf
|
2022-07-21 15:02:29 +02:00 |
|
Paul Chavard
|
1fe82a956e
|
fix(dossier.pdf): load all types_de_champ (including repetitions)
|
2022-07-21 11:56:23 +02:00 |
|
simon lehericey
|
ca8dc34196
|
preload all tdc once for all
|
2022-07-20 15:48:16 +02:00 |
|
simon lehericey
|
4dbd44d72a
|
includes stuff
|
2022-07-20 15:48:16 +02:00 |
|
simon lehericey
|
b9ad3bbce1
|
extract procedure
|
2022-07-20 15:48:16 +02:00 |
|
simon lehericey
|
9c73bf1932
|
batch it
|
2022-07-20 15:48:16 +02:00 |
|
simon lehericey
|
ea361643be
|
types_de_champ -> types_de_champs_public
|
2022-05-03 11:05:24 +02:00 |
|
Paul Chavard
|
433c01b1e6
|
Revert "Merge pull request #7137 from betagouv/faster_pdf"
This reverts commit 9da44bd913 , reversing
changes made to ebac71796c .
|
2022-04-12 19:22:07 +02:00 |
|
simon lehericey
|
4bbe2db668
|
only export safe pj
|
2022-04-12 12:05:08 +02:00 |
|
simon lehericey
|
2269585188
|
preload all tdc once for all
|
2022-04-12 11:56:56 +02:00 |
|
simon lehericey
|
4c0b157383
|
includes stuff
|
2022-04-12 11:56:56 +02:00 |
|
simon lehericey
|
2c195e3ce2
|
extract procedure
|
2022-04-12 11:56:56 +02:00 |
|
simon lehericey
|
4d3412daf5
|
batch it
|
2022-04-12 11:56:56 +02:00 |
|
simon lehericey
|
e2a54e3ee3
|
extract bill_ids per batch, and catch them all afterwards to avoid duplicate
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
f24f6ee105
|
extract operation_logs_and_signature from pjs_for_dossiers
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
c27d9a01f2
|
fetch documents by batch to avoid huge memory load
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
e1afb35ca2
|
fetch pjs_for_dossier by dossiers
put all bills in bills folder
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
11aedb2dc8
|
fetch pjs_for_commentaires by dossiers
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
5631141a46
|
fetch pjs_for_champ by dossiers
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
34b0578d70
|
pj_and_path only take dossier id
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
7ac1288905
|
pj_service take a dossier collection !
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
1f98f75ccc
|
remove unused method
|
2022-04-05 11:55:14 +02:00 |
|
simon lehericey
|
f2fea1f882
|
faster pjs_for_dossier
|
2022-04-05 11:55:14 +02:00 |
|
simon lehericey
|
62e0553a4e
|
faster operation logs
|
2022-04-05 11:55:14 +02:00 |
|
simon lehericey
|
437e871f79
|
extract operation_logs_and_signatures method
|
2022-04-05 11:55:14 +02:00 |
|
simon lehericey
|
57f9e5bac3
|
always allow dossier pjs download (-9 queries)
|
2022-04-04 17:26:49 +02:00 |
|
simon lehericey
|
dca6e65f8d
|
speed up commentaires
|
2022-04-01 15:51:43 +02:00 |
|
simon lehericey
|
0555ff68cd
|
speed up pjs_for_champs * 10
|
2022-04-01 15:51:41 +02:00 |
|
kara Diaby
|
0bd879ec9b
|
modify pj service
|
2021-10-05 15:00:21 +02:00 |
|
Christophe Robillard
|
38e3469e9a
|
add bug report to archive
|
2021-08-03 14:51:41 +02:00 |
|
Paul Chavard
|
ce27999bc3
|
Refactor clone_attachments
|
2021-07-01 16:21:46 +02:00 |
|
Christophe Robillard
|
cd36f2622f
|
fix download FakeAttachment
|
2021-06-24 21:02:55 +02:00 |
|
Christophe Robillard
|
66cc0dd08d
|
Revert "Revert "Expose dossier PDF export as IO""
This reverts commit 362093eff0 .
|
2021-06-24 21:01:59 +02:00 |
|
krichtof
|
362093eff0
|
Revert "Expose dossier PDF export as IO"
|
2021-06-24 19:21:37 +02:00 |
|
Paul Chavard
|
b73d504f8d
|
Expose dossier PDF export as IO
Co-authored-by: Christophe Robillard <christophe.robillard@beta.gouv.fr>
|
2021-06-24 17:49:24 +02:00 |
|
Christophe Robillard
|
fdec9b2fd5
|
archives: don't update dossiers
this fix avoid to touch dossier after attaching pdf_export_for_instructeur
|
2021-06-18 11:00:57 +02:00 |
|
François Vantomme
|
c9b1095d1e
|
Refactor (Rubocop): replace map{ … }.compact by filter_map
In Ruby 2.7, Enumerable#filter_map has been added.
This cop identifies places where map { … }.compact can be replaced by filter_map.
See: https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemapcompact
|
2021-06-11 15:38:09 +02:00 |
|
Christophe Robillard
|
01f180022b
|
prend en compte uniquement les pj pour estimer la taille d'un dossier
|
2021-05-04 12:50:12 +02:00 |
|
Christophe Robillard
|
3d04221dab
|
generate pdf export for dossier only on demand
|
2021-04-29 17:30:38 +02:00 |
|
Christophe Robillard
|
f40d96fbd2
|
Revert "Revert "Export de tous les dossier d'une démarche""
This reverts commit d9a588b52e .
|
2021-04-29 17:29:47 +02:00 |
|