Paul Chavard
|
86df16ebda
|
feat(view_components): add view_components
|
2022-04-26 14:54:58 +02:00 |
|
Paul Chavard
|
02f977fd8d
|
refactor(champs): refactor champs components to use typescript
|
2022-04-26 13:56:26 +02:00 |
|
Kara Diaby
|
b1ab0c6ed2
|
Ajoute un avertissement sur les champs de type Titre Identité
|
2022-04-26 08:33:30 +02:00 |
|
Martin
|
89d192bcfe
|
feat(adminstrateurs#dossier_vide): add button to /dossier_vide so administrateur can have a pdf version of their form to send it in regards to RGPD
|
2022-04-25 15:00:48 +02:00 |
|
Martin
|
be43696650
|
feat(users/procedure/*): add link to texte_juridique or deliberation
|
2022-04-25 14:31:33 +02:00 |
|
simon lehericey
|
fe6f211cc9
|
ignore instructeur_id in dol
|
2022-04-25 14:07:23 +02:00 |
|
Paul Chavard
|
bca97268a8
|
fix(upload): errorFromDirectUploadMessage should take Error or string
|
2022-04-24 11:47:17 +02:00 |
|
Paul Chavard
|
23b60c87e9
|
fix(procedure): cloned procedure should not have auto_archive_on
fix #7149
|
2022-04-22 10:48:31 +02:00 |
|
Paul Chavard
|
62dca1c7b0
|
refactor(js): remove ds:page:update event
|
2022-04-22 10:24:39 +02:00 |
|
Paul Chavard
|
b585808924
|
refactor(js): add geo-area stimulus controller
|
2022-04-22 09:40:52 +02:00 |
|
Paul Chavard
|
22aefbaa4a
|
refactor(js): remove geo-area event handlers
|
2022-04-22 09:40:17 +02:00 |
|
Paul Chavard
|
0dac59bffc
|
refactor(js): use DOMContentLoaded instead of ds:page:update
|
2022-04-22 09:40:17 +02:00 |
|
Martin
|
79c473ecf9
|
fix(ProcedureExportService.to_zip): prebatch dossiers only for to_csv,to_xlsx,to_ods. also add spec around to_zip
|
2022-04-22 05:13:51 +02:00 |
|
Paul Chavard
|
cad63391db
|
refactor(turbo): use turbo in procedure administrateurs controller
|
2022-04-21 19:41:27 +02:00 |
|
Paul Chavard
|
8d0383c6f8
|
refactor(turbo): use turbo in root controller
|
2022-04-21 19:41:27 +02:00 |
|
Paul Chavard
|
0bd71ad51a
|
feat(turbo): add turbo event helpers
|
2022-04-21 19:41:27 +02:00 |
|
Paul Chavard
|
4624fa141f
|
fix(turbo): use a safer render method
|
2022-04-21 19:41:27 +02:00 |
|
Paul Chavard
|
55d6b787c8
|
feat(js): add turbo
|
2022-04-21 19:41:27 +02:00 |
|
mfo
|
9e8da8dc06
|
Merge branch 'main' into US/sentry#3144617191
|
2022-04-21 17:52:08 +02:00 |
|
Martin
|
220db1f30e
|
fix(sentry#3144617191): render filesize to follow archive nicely
|
2022-04-21 17:41:10 +02:00 |
|
Kara Diaby
|
95bdc4a22a
|
layout
|
2022-04-21 11:34:40 +02:00 |
|
Paul Chavard
|
572e1dca8e
|
fix(a11y): html lang should reflect locale
fix #7150
|
2022-04-21 10:28:23 +02:00 |
|
Paul Chavard
|
64c599e208
|
refactor(stimulus): initiate react components via stimulus
|
2022-04-20 14:08:47 +02:00 |
|
simon lehericey
|
9fd5219751
|
fix sort in procedure presentation
|
2022-04-15 12:21:39 +02:00 |
|
Paul Chavard
|
c96adbf2d2
|
chore(chartkick): upgrade to 4.1 and use built-in lazy loading
|
2022-04-15 12:12:18 +02:00 |
|
Paul Chavard
|
22f23c58c7
|
fix(dossiers): fix columns order
|
2022-04-14 17:04:42 +02:00 |
|
simon lehericey
|
23707d6033
|
ignore file not found error when cloning procedure
|
2022-04-14 13:46:16 +02:00 |
|
Paul Chavard
|
c671f25d34
|
fix(dossier): do not show unwanted closed procedure banners
|
2022-04-14 12:22:37 +02:00 |
|
Paul Chavard
|
83a8d87e95
|
i18n(procedure_presentation): translate fields
|
2022-04-14 11:38:01 +02:00 |
|
Kara Diaby
|
3f2ef985c7
|
layout
|
2022-04-14 10:22:37 +02:00 |
|
Kara Diaby
|
900b8f7be6
|
controller
|
2022-04-14 10:22:37 +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 |
|
Paul Chavard
|
38a6b2db63
|
fix(graphql): fix AddressTypeType
|
2022-04-12 19:12:50 +02:00 |
|
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 |
|
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
|
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
|
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
|
706c648be8
|
refactor(procedure): remove unused code
|
2022-04-05 09:42:23 +02:00 |
|
simon lehericey
|
57f9e5bac3
|
always allow dossier pjs download (-9 queries)
|
2022-04-04 17:26:49 +02:00 |
|
Martin
|
ad4e5a8bc6
|
fix(instructeurs/procedures#index): counter not in sync
|
2022-04-04 16:28:25 +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 |
|
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
|
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 |
|
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 |
|