simon lehericey
|
e38999efda
|
perf(pj service): compute row_id without extraneous requests
|
2024-05-23 10:01:29 +02:00 |
|
simon lehericey
|
9effa9e030
|
perf(zip): preload_dossier earlier
|
2024-05-23 10:00:42 +02:00 |
|
simon lehericey
|
b656867836
|
refactor(pj_service): do not query for pj_index
|
2024-05-23 10:00:39 +02:00 |
|
Christophe Robillard
|
357c07456c
|
generate export with export_template
|
2024-05-23 10:00:34 +02:00 |
|
Kara Diaby
|
bf622eb3ed
|
service and serializer
|
2024-05-06 09:49:02 +00:00 |
|
mfo
|
086cc1537b
|
Merge pull request #10068 from mfo/US/user-has-many-fcis
tech(User.FranceConnect): un usager peut avoir plusieurs profils FranceConnect, pas uniquement un
|
2024-03-20 16:30:39 +00:00 |
|
Martin
|
9425f2cc58
|
fix(user.france_connect_informations): has_many, not has_one
|
2024-03-08 09:44:21 +01:00 |
|
Martin
|
f4d2f1ddf5
|
fix(export.pdf): expert should not have access to messagerie when it was disabled
|
2024-03-07 08:39:32 +01:00 |
|
Martin
|
84f995bd47
|
fix(expert.export): expert should not have access to include_infos_administration
|
2024-03-06 17:28:47 +01:00 |
|
Martin
|
a151a304e2
|
feat(pj_service): add expert's avis (even when confidential) to exports asked by same expert
|
2024-02-19 16:22:08 +01:00 |
|
Martin
|
dd39ac313b
|
feat(pj_service): add introduction_file to exports
|
2024-02-19 16:21:26 +01:00 |
|
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 |
|