simon lehericey
|
da97ad1858
|
destroy all admins
|
2022-05-03 12:14:02 +02:00 |
|
simon lehericey
|
a2947751e2
|
add scope to query old admins
|
2022-05-03 12:14:02 +02:00 |
|
simon lehericey
|
ea361643be
|
types_de_champ -> types_de_champs_public
|
2022-05-03 11:05:24 +02:00 |
|
simon lehericey
|
4b9ffe026b
|
fix(manager): brouillon is not deleted
|
2022-05-03 07:51:23 +02:00 |
|
Paul Chavard
|
a16d07ef7c
|
fix(js): fix IE 11 fucked template element support
|
2022-04-29 18:24:53 +02:00 |
|
Paul Chavard
|
1890c05974
|
fix(js): more polyfills for IE
|
2022-04-29 14:11:00 +02:00 |
|
simon lehericey
|
663f419404
|
fix typo in rgpd text
|
2022-04-29 11:57:38 +02:00 |
|
Christophe Robillard
|
5b0ce2bc6a
|
ameliore la decouvrabilité du code
ajoute dans le pied de page le lien sur le repo github
|
2022-04-28 17:16:34 +02:00 |
|
simon lehericey
|
4090d1e900
|
Ajoute un lien dans le footer
|
2022-04-28 15:57:01 +02:00 |
|
simon lehericey
|
14f841cdf2
|
show dolist logs to manager
|
2022-04-28 15:48:54 +02:00 |
|
Paul Chavard
|
67ba8acff7
|
fix(react): too soon for strict mode
|
2022-04-28 14:45:35 +02:00 |
|
Martin
|
552208a03c
|
fix(commencer/test): with procedure without service nor organisation, no more crashes
Update app/controllers/users/commencer_controller.rb
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
|
2022-04-28 14:19:55 +02:00 |
|
Martin
|
2529773515
|
bug(commencer/test): with procedure without service nor organisation, it crashes
|
2022-04-28 14:19:55 +02:00 |
|
Paul Chavard
|
1e928a277d
|
chore(devise): drop unmaintained dependencie
|
2022-04-28 12:28:33 +02:00 |
|
Paul Chavard
|
26df3aaa58
|
refactor(dossier): remove preview special case
|
2022-04-28 12:20:41 +02:00 |
|
Paul Chavard
|
669b3ce5c3
|
refactor(siret): remove preview special case
|
2022-04-28 12:20:41 +02:00 |
|
Paul Chavard
|
5c77bc139a
|
refactor(carto): remove preview special case
|
2022-04-28 12:20:41 +02:00 |
|
Paul Chavard
|
68ca9efba0
|
feat(dossier): use persisted dossier for preview
|
2022-04-28 12:20:41 +02:00 |
|
Paul Chavard
|
27f9a820cc
|
feat(dossier): add preview flag
|
2022-04-28 11:52:38 +02:00 |
|
Paul Chavard
|
20a78f08c9
|
fix(js): add turbo and stimulus polyfills
|
2022-04-28 11:14:26 +02:00 |
|
Martin
|
3c0e3f725d
|
feat(administrateur/procedures#publication): show dubious to administrateur
Update app/views/administrateurs/procedures/publication.html.haml
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
|
2022-04-27 15:13:22 +02:00 |
|
Martin
|
be090a1bec
|
feat(administrateur/procedure#create): allow admin to add a lien to the DPO, allow user to consult link to dpo. enhance spec on _procedure_footer.html
Update spec/views/users/_procedure_footer.html.haml_spec.rb
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
|
2022-04-27 15:09:02 +02:00 |
|
Martin
|
55d77e33ed
|
feat(ApiEntreprise.recipient): always use SIRET of dinum
Update config/env.example
Co-authored-by: LeSim <mail@simon.lehericey.net>
|
2022-04-27 14:30:50 +02:00 |
|
Paul Chavard
|
d2ab8b5593
|
feat(message): replace message partial with MessageComponent
|
2022-04-26 14:54:58 +02:00 |
|
Paul Chavard
|
91879b89ce
|
fix(commentaire): unified destroy commentaire
|
2022-04-26 14:54:58 +02:00 |
|
Paul Chavard
|
009c44cc20
|
refactor(avis): remove unused controller action
|
2022-04-26 14:54:58 +02:00 |
|
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 |
|
Paul Chavard
|
cd4d7b5d36
|
refactor(react): useDeferredValue
|
2022-03-31 12:39:17 +02:00 |
|
Paul Chavard
|
4a7324951b
|
refactor(react): useId
|
2022-03-31 12:39:17 +02:00 |
|
Paul Chavard
|
6df18e1234
|
fix(dossier): only expire dossiers visible by user or administration
|
2022-03-31 12:17:24 +02:00 |
|
Paul Chavard
|
5bafc91220
|
fix(graphql): hide deleted dossiers
|
2022-03-31 12:17:24 +02:00 |
|
Paul Chavard
|
c2812a7633
|
fix(api): hide deleted dossiers
|
2022-03-31 12:17:24 +02:00 |
|
Paul Chavard
|
a171ebb772
|
fix(dossiers): exclude deleted dossiers from notifications
|
2022-03-31 12:17:24 +02:00 |
|
Paul Chavard
|
44c64669e9
|
Revert "Merge pull request #6787 from tchak/use-vite"
This reverts commit 5d572727b5 , reversing
changes made to 43be4482ee .
|
2022-03-31 12:07:52 +02:00 |
|
Kara Diaby
|
4e4a70e1f8
|
Fixe la typo lorsqu'un expert veut envoyer un message
|
2022-03-30 16:55:37 +02:00 |
|
Martin
|
ab2caaa5f7
|
fix(ProcedureArchiveService.zip_root_folder): should take archive instance otherwise when we generate many archive for the same procedure, errors may occures
|
2022-03-30 16:29:54 +02:00 |
|
Martin
|
ab0a172488
|
feat(Archive.prepare_broader_reach): activate by default the archive button in the export dropdown. add a call to action to contact our support to enable the feature. increase estimated file size limit up to 100.gigabytes
|
2022-03-30 16:21:07 +02:00 |
|
Martin
|
7ec1021e00
|
feat(Archive.prepare_broader_reach): activate by default the archive button in the export dropdown. add a call to action to contact our support to enable the feature. increase estimated file size limit up to 100.gigabytes
|
2022-03-30 16:21:07 +02:00 |
|
Paul Chavard
|
187e84a010
|
feat(assets): use vitejs to build javascript
|
2022-03-29 16:27:08 +02:00 |
|
Pierre de La Morinerie
|
017625207e
|
db: add constraints to role tables
|
2022-03-29 14:52:38 +02:00 |
|
Kara Diaby
|
b08011cff7
|
layout
|
2022-03-29 12:30:52 +02:00 |
|
Kara Diaby
|
217793c5c8
|
modify model
|
2022-03-29 12:30:52 +02:00 |
|
Pierre de La Morinerie
|
9dcd92a678
|
db: add not-null constraints to AdministrateursInstructeur
|
2022-03-22 13:32:02 +01:00 |
|
Paul Chavard
|
af166f5520
|
fix(carto): render GeoJSON layers after map style changes
|
2022-03-22 09:26:11 +01:00 |
|
Paul Chavard
|
7aacb7565c
|
fix(dossiers): mark as read dossier on update_annotations
|
2022-03-22 09:19:24 +01:00 |
|
Pierre de La Morinerie
|
fbe0410702
|
models: fix a typo in a ProcedurePresentation's comment
|
2022-03-22 07:58:44 +01:00 |
|
Pierre de La Morinerie
|
6849a73aec
|
models: ignore deprecated User columns
|
2022-03-22 07:58:44 +01:00 |
|
Pierre de La Morinerie
|
31bd05f835
|
models: inverse the direction of the User role associations
|
2022-03-22 07:58:44 +01:00 |
|
Pierre de La Morinerie
|
d4da6502ba
|
models: remove double-write callback on User
|
2022-03-22 07:58:44 +01:00 |
|
Martin
|
98c1fb8abc
|
feat(archive): drop old feature
|
2022-03-18 14:26:09 +01:00 |
|
simon lehericey
|
31d52d2483
|
do not open all fd at once
|
2022-03-17 22:44:53 +01:00 |
|