Martin
|
32e8f34511
|
refactor(PiecesJustificativesService): stop passing flags, pass user_profile and manage ACL from the service itself
|
2024-02-16 11:23:39 +01:00 |
|
Martin
|
83690529ca
|
tech(refactor): inline PiecesJustificativesService.serialize_champs_as_pjs(object) within DossierSerializer
|
2024-02-16 11:23:39 +01:00 |
|
Martin
|
3e64a3bbbc
|
tech(refactor): extract clone logic inside its own class
|
2024-02-16 11:23:39 +01:00 |
|
Martin
|
1d8a1617d7
|
amelioration(dossier.export): intègre les avis dans les exports [n'inclu pas les pieces justificatives des avis confidentiels pour les expert, inclu les piece justificatives des avis confidentiel pour les instructeurs ]
|
2023-10-09 14:53:46 +02:00 |
|
Martin
|
c6e9674de2
|
correctif(export.pdf): ETQ expert, lorsque j'exporte un dossier au format PDF, celui ci contenient les avis non confidentiels ainsi que mes avis
|
2023-03-28 17:16:34 +02:00 |
|
Colin Darie
|
ef864021f7
|
refactor(pj_service): explicit options with_{bills,champs_private} because expert & instructeurs does not need the same
|
2023-01-30 18:04:09 +01:00 |
|
simon lehericey
|
84d08d4d24
|
fix(expert_export): an expert export excludes annotation and avis
|
2023-01-19 12:09:16 +01:00 |
|
Martin
|
1944624082
|
fix(PiecesJustificativesService.safe_attachment): utilise la nouvelle API pour comparer le resultat du scan antivirus
|
2023-01-06 10:54:27 +01:00 |
|
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 |
|