mfo
4baa9ee43c
Merge pull request #7121 from betagouv/US/retry-once-when-call-to-script-fails
...
feat(ArchiveUploader.upload_with_chunking_wrapper): expect to retry call to wrapper once
2022-04-05 15:38:30 +02:00
Martin
9e8807d12a
feat(ArchiveUploader.upload_with_chunking_wrapper): retry once on error
2022-04-05 15:11:21 +02:00
Martin
c72ba43c55
feat(ArchiveUploader.upload_with_chunking_wrapper): expect to retry call to wrapper once
2022-04-05 15:11:21 +02:00
mfo
39a40c43e3
Merge pull request #7120 from betagouv/main
...
2022-04-05-01
2022-04-05 14:11:15 +02:00
mfo
8c4c5ed0cf
Merge pull request #7119 from betagouv/US/fix-dossier.processed_in_month-2
...
fix: missing dossiers from last day of month in archives
2022-04-05 13:57:58 +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
mfo
4a6d5a03aa
Merge pull request #7118 from betagouv/US/fix-sorbet
...
Revert "Merge pull request #7105 from betagouv/US/fix-dossier.processed_in_month"
2022-04-05 13:53:55 +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
LeSim
7653fc569e
Merge pull request #7116 from betagouv/remove_duplicate_attestation_part_1
...
tache pour supprimer les attestations en double
2022-04-05 13:07:30 +02:00
simon lehericey
c00e21adb9
after_party task which removes duplicate attestation
2022-04-05 13:01:32 +02:00
mfo
a0e144b9a7
Merge pull request #7105 from betagouv/US/fix-dossier.processed_in_month
...
fix(Dossier.processed_in_month): used by ProcedureArchiveService ; until now we skipped all dossiers from last day of month 🌈 🍨
2022-04-05 13:00:50 +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
LeSim
49848bd150
Merge pull request #7111 from betagouv/faster_archive_2
...
Optimisation de la construction d'archive 2
2022-04-05 12:01:28 +02:00
simon lehericey
bd0b88a410
move create_list_of_attachments
2022-04-05 11:55:14 +02:00
simon lehericey
1f98f75ccc
remove unused method
2022-04-05 11:55:14 +02:00
simon lehericey
4c3b9979e9
fix test
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
Paul Chavard
9414d499b8
Merge pull request #7102 from tchak/refactor-dossiers-by-statut
...
Improve dossiers presentation scopes
2022-04-05 09:49:18 +02:00
Paul Chavard
0daae815d8
refactor(dossier): use by_statut
2022-04-05 09:42:23 +02:00
Paul Chavard
6da54936b7
refactor(procedure_presentation): use internal reference to instructeur
2022-04-05 09:42:23 +02:00
Paul Chavard
f71c89aa91
refactor(procedure): cleanup tests
2022-04-05 09:42:23 +02:00
Paul Chavard
706c648be8
refactor(procedure): remove unused code
2022-04-05 09:42:23 +02:00
LeSim
ba79a65015
Merge pull request #7106 from betagouv/remove_old_per_dossier_zip_size_constraints
...
Supprime la restriction par taille d'export de pjs par dossier
2022-04-04 17:31:04 +02:00
simon lehericey
57f9e5bac3
always allow dossier pjs download (-9 queries)
2022-04-04 17:26:49 +02:00
mfo
c21eac0513
Merge pull request #7109 from betagouv/US/fix-counter-including-discarded-procedures
...
ETQ instructeur, les compteurs entre la synthese et les procedures ne sont pas synchro
2022-04-04 16:31:47 +02:00
Martin
ad4e5a8bc6
fix(instructeurs/procedures#index): counter not in sync
2022-04-04 16:28:25 +02:00
Martin
1d99e21a27
tech(bug): identify
2022-04-04 16:28:25 +02:00
mfo
d26257f9ab
Merge pull request #7107 from betagouv/main
...
2022-04-04-01
2022-04-04 13:04:25 +02:00
mfo
09b730b992
Merge pull request #7104 from betagouv/US/fix-archive-write-append-binary-with-string
...
fix(parallel_download_queue): appending content to file in chunk leads to some corrupted files.
2022-04-01 18:26:32 +02:00
Martin
e765ef16fd
fix(parallel_download_queue): appending content to file in those circumstances does not lead to good result. for now write response.body directly to the attachment [may lead to RAM overhead in case of big file... but i do not have another quick fix idea]
2022-04-01 18:22:28 +02:00
mfo
6a7a44dd07
Merge pull request #7103 from betagouv/faster_archive
...
Faster archive
2022-04-01 17:10:14 +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
0f83184859
Merge pull request #7101 from betagouv/feat/7097
...
ETQ Expert, je souhaite pouvoir supprimer un message envoyé
2022-04-01 14:41:17 +02:00
Kara Diaby
b2bcc34cfd
tests
2022-03-31 15:48:18 +02:00
Kara Diaby
1646448629
routes
2022-03-31 15:48:18 +02:00
Kara Diaby
10aa9fa4be
layout
2022-03-31 15:48:18 +02:00
Kara Diaby
e06215281a
modify commentaire model
2022-03-31 15:48:17 +02:00
Kara Diaby
ec07ced968
modify avis controller
2022-03-31 15:48:17 +02:00
mfo
bcb95a85a8
Merge pull request #7100 from betagouv/main
...
2022-03-31-02
2022-03-31 14:19:12 +02:00
mfo
1c282d0100
Merge pull request #7092 from betagouv/US/archive-enhance-usage-understanding
...
feat(archive): extract archive status management within job to simplify the main service as well as to isolate this part for a merge with exports csv/xslx [maybe?]
2022-03-31 13:41:44 +02:00
Martin
dbcf21a555
feat(archive): extract archive status management within job to simplify the main service as well as to isolate this part for a merge with exports csv/xslx [maybe?]
...
Update app/dashboards/archive_dashboard.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
2022-03-31 13:35:49 +02:00
Paul Chavard
fc50ff8e49
Merge pull request #7095 from tchak/update-react
...
Update to React 18
2022-03-31 12:52:33 +02:00
Paul Chavard
cd4d7b5d36
refactor(react): useDeferredValue
2022-03-31 12:39:17 +02:00