Commit graph

15007 commits

Author SHA1 Message Date
Paul Chavard
2ce9c842a1 refactor(type_de_champs): use typescript in type de champs editor 2022-04-08 14:34:27 +02:00
Paul Chavard
57df2fe693
Merge pull request #7139 from betagouv/main
2022-04-08-01
2022-04-08 14:13:45 +02:00
Paul Chavard
f4c2adbcd6
Merge pull request #7138 from tchak/fix-expiration-dossiers
fix(dossiers): dossier extend_conservation actually works
2022-04-08 13:53:25 +02:00
Paul Chavard
90dd5bc9c5 fix(dossiers): dossier extend_conservation actually works 2022-04-08 13:40:28 +02:00
mfo
ab14acef6c
Merge pull request #7124 from kleph/mina_setup_env
Use the same env vars for setup and deploy
2022-04-08 10:50:31 +02:00
kleph
94fa247d8d Use the same env vars for setup and deploy 2022-04-08 10:45:44 +02:00
LeSim
a1c299464c
Merge pull request #7115 from betagouv/really_faster_list_of_documents
accélere *30  la liste des documents par archive
2022-04-07 13:49:47 +02:00
simon lehericey
4f73c6105f remove duplicate spec 2022-04-07 12:06:13 +02:00
simon lehericey
e2130cc2d3 add witness dossier 2022-04-07 12:06:13 +02:00
simon lehericey
951d964701 clean pj_service test 2022-04-07 12:06:13 +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
mfo
a53175241a
Merge pull request #7135 from betagouv/main
2022-04-07-01
2022-04-07 10:44:57 +02:00
mfo
a545e01034
Merge pull request #7133 from betagouv/US/fix-migration-add-reference
fix(migration): apply what strong migration recommends
2022-04-07 10:33:52 +02:00
Martin
f84c7ac5e4 fix(migration): apply what strong migration recommends 2022-04-07 10:25:05 +02:00
mfo
59cddcbfe6
Merge pull request #7130 from tchak/fix-exports-migration
fix(exports): disable strong migration checks because we are operating on a “small” table
2022-04-07 09:48:13 +02:00
Paul Chavard
21945b6df0 fix(exports): disable strong migration checks because we are operating on a “small” table 2022-04-07 09:44:09 +02:00
mfo
84a1276a2f
Merge pull request #7125 from betagouv/US/ETQ-instructeur-quand-je-demande-un-avis-je-veux-la-notif
fix(instructeur/dossiers#create_avis): as an instructeur, when I ask an avis, i hope to be notified when the expert give his avis. ⚠️ follow up https://secure.helpscout.net/conversation/1781498732/1963490?folderId=1653799
2022-04-07 09:09:24 +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
Martin
a9769ae277 fix(instructeur/dossiers#create_avis): as an instructeur, when I ask an avis, i hope to be notified when the expert give his avis 2022-04-07 09:05:23 +02:00
Paul Chavard
5629d99a4a
Merge pull request #7077 from tchak/feat-export-with-filters
feat(exports): add ability to create exports with filters
2022-04-06 17:23:20 +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
mfo
19d07a01d5
Merge pull request #7127 from betagouv/US/allow-email-from-assurance-maladie.fr-to-change-email
fix(users/profil_controller#update): allow people from assurance-maladie.fr to change their email. ⚠️ follow up https://secure.helpscout.net/conversation/1823503820/1969926/
2022-04-06 16:41:24 +02:00
Martin
7c0e8e406b fix(users/profiles#update): allow people from @assurance-maladie.fr to be a target email when user change his email 2022-04-06 16:07:25 +02:00
LeSim
c4f8b309fc
Merge pull request #7122 from betagouv/main
2022-04-05-02
2022-04-05 17:41:35 +02:00
Paul Chavard
9a3b9e3912
Merge pull request #7114 from tchak/refactor-dossiers-with-procedure-presentation
refactor(procedure_presentation): expose filtered_sorted_ids method
2022-04-05 15:54:39 +02:00
Paul Chavard
ec3ed049ef refactor(procedure_presentation): expose filtered_sorted_ids method 2022-04-05 15:50:53 +02:00
LeSim
be86384125
Merge pull request #7117 from betagouv/remove_duplicate_attestation_part_2
Ajoute un index unique sur attestation dossier_id
2022-04-05 15:46:56 +02:00
simon lehericey
200e8680d5 add uniq index on attestation dossier_id 2022-04-05 15:43:21 +02:00
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