Paul Chavard
|
caace89d98
|
refactor(export): use predefined helpers
|
2022-04-12 14:54:54 +02:00 |
|
Paul Chavard
|
d14e132305
|
feat(export): add zip format support
|
2022-04-12 14:54:54 +02:00 |
|
Paul Chavard
|
2832ea0286
|
refactor(export): return blob from to_* methods
|
2022-04-12 14:54:54 +02:00 |
|
Paul Chavard
|
87e5e6faeb
|
refactor(export): add procedure attr to export service
|
2022-04-12 14:54:54 +02:00 |
|
Paul Chavard
|
561b83781e
|
refactor(archive): remove dependencie on archive from ArchiveUploader
|
2022-04-12 14:54:54 +02:00 |
|
Paul Chavard
|
cf8c084a59
|
refactor: extract download_and_zip in to a shared service
|
2022-04-12 14:54:54 +02:00 |
|
Paul Chavard
|
a194616772
|
refactor(export): remove unnecessary to_sym
|
2022-04-12 14:54:54 +02:00 |
|
Paul Chavard
|
b6bb9552e6
|
fix(graphql): detect custom champs in fragment definitions
|
2022-04-12 14:24:15 +02:00 |
|
simon lehericey
|
53de567b59
|
revert fix(user.merge) : waiting for ignore column instructeur_id in ruby code
|
2022-04-12 14:02:20 +02:00 |
|
simon lehericey
|
4bbe2db668
|
only export safe pj
|
2022-04-12 12:05:08 +02:00 |
|
simon lehericey
|
af27af7900
|
! instances : prawn does not like svg
win 10% on pdf generation
|
2022-04-12 11:56:56 +02:00 |
|
simon lehericey
|
ba688a477a
|
small refactor
|
2022-04-12 11:56:56 +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 |
|
Martin
|
e83f5fe475
|
fix(user.merge): when merging old_user having an instructeur with dossier_operation_logs containing the old_user.instructeur_id, should be able to merge to new instructeur
feat(user.merge): when user have an instructeur having dossier_opertions_logs containing instructeur_id
|
2022-04-12 11:28:33 +02:00 |
|
simon lehericey
|
1dcfb2509f
|
check nonce
|
2022-04-11 14:40:02 +02:00 |
|
simon lehericey
|
9938586d96
|
check state
|
2022-04-11 13:56:27 +02:00 |
|
Paul Chavard
|
2ce9c842a1
|
refactor(type_de_champs): use typescript in type de champs editor
|
2022-04-08 14:34:27 +02:00 |
|
Paul Chavard
|
90dd5bc9c5
|
fix(dossiers): dossier extend_conservation actually works
|
2022-04-08 13:40:28 +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
|
51a6145d96
|
put dossier_pdf apart
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
d5241381eb
|
extract pj_path method
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
97443e2ff6
|
inline create_list_from_dossier into caller
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
51b71aaa01
|
always call create_list_from_dossiers
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
cf79e340ef
|
remove unused method
|
2022-04-07 12:06:13 +02:00 |
|
simon lehericey
|
3f7693ae13
|
style remove blank line
|
2022-04-07 12:06:13 +02:00 |
|
Martin
|
9bac5c65ba
|
feat(instructeurs/dossier#create_avis): only followed dossier receive notifications, so when an instructeur ask for an avis, he follows the dossier
Update app/controllers/concerns/create_avis_concern.rb
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
Update spec/controllers/instructeurs/dossiers_controller_spec.rb
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
|
2022-04-07 09:05:23 +02:00 |
|
Paul Chavard
|
5bfcae1c0f
|
fix(dossiers): show correct count on download button
|
2022-04-06 17:08:38 +02:00 |
|
Paul Chavard
|
23e2429d0d
|
fix(export): make count argument optional
|
2022-04-06 17:08:38 +02:00 |
|
Paul Chavard
|
9904dabffe
|
feat(procedure_presentation): pass filters as serialized snapshot
|
2022-04-06 17:08:38 +02:00 |
|
Paul Chavard
|
e82dc9c8b5
|
feat(exports): add ability to create exports with filters
|
2022-04-06 17:08:38 +02:00 |
|
Paul Chavard
|
be1a2f916d
|
feat(exports): add statut and procedure_presentation to exports
|
2022-04-06 17:08:38 +02:00 |
|
Paul Chavard
|
ec3ed049ef
|
refactor(procedure_presentation): expose filtered_sorted_ids method
|
2022-04-05 15:50:53 +02:00 |
|
Martin
|
9e8807d12a
|
feat(ArchiveUploader.upload_with_chunking_wrapper): retry once on error
|
2022-04-05 15:11:21 +02:00 |
|
Martin
|
4890530428
|
fix(Dossier.processed_in_month): recast date to datetime in scope
|
2022-04-05 13:54:36 +02:00 |
|
Martin
|
9484c4cdf4
|
fix(Dossier.processed_in_month): using PG between operator with a date does not play nicely when it is compared to DateTime in postgres. meaning given a Date as 2022/03/31, when compared with a DateTime in postgres, the casting of 2022/03/31 to Datetime becomes 2022/03/31 00:00. So we skiped all dossiers from last date in month
|
2022-04-05 13:54:36 +02:00 |
|
Martin
|
c1884f231c
|
Revert "Merge pull request #7105 from betagouv/US/fix-dossier.processed_in_month"
This reverts commit a0e144b9a7 , reversing
changes made to 49848bd150 .
|
2022-04-05 13:39:37 +02:00 |
|
Martin
|
c07e0fc13e
|
fix(Dossier.processed_in_month): ensure proper usage via method sig instead of defensive programming style
|
2022-04-05 12:14:07 +02:00 |
|
Martin
|
d6d9db9721
|
tech(Sorbet): prepare usage of sorbet to avoid defensive programming style [casting date to datetime]
|
2022-04-05 12:14:07 +02:00 |
|
Martin
|
ec78340c06
|
fix(Dossier.processed_in_month): recast date to datetime in scope
|
2022-04-05 12:14:07 +02:00 |
|
Martin
|
ab777a790c
|
fix(Dossier.processed_in_month): using PG between operator with a date does not play nicely when it is compared to DateTime in postgres. meaning given a Date as 2022/03/31, when compared with a DateTime in postgres, the casting of 2022/03/31 to Datetime becomes 2022/03/31 00:00. So we skiped all dossiers from last date in month
|
2022-04-05 12:14:07 +02:00 |
|