Commit graph

14442 commits

Author SHA1 Message Date
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
7f3175a07b
Merge pull request #7142 from tchak/fix-graphql-fragment-detection
fix(graphql): detect custom champs in fragment definitions
2022-04-12 14:54:29 +02:00
Paul Chavard
b6bb9552e6 fix(graphql): detect custom champs in fragment definitions 2022-04-12 14:24:15 +02:00
LeSim
ac6010da06
Merge pull request #7144 from betagouv/revert_drop_instructeur_id_in_dol
revert fix(user.merge) : waiting for ignore column instructeur_id in …
2022-04-12 14:06:44 +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
LeSim
9b1f9f9a21
Merge pull request #7140 from betagouv/only_safe_pj_in_zip
fix(archive): exporte uniquement les fichiers sans virus
2022-04-12 12:10:14 +02:00
simon lehericey
579578cf0c fix system spec 2022-04-12 12:05:08 +02:00
simon lehericey
4bbe2db668 only export safe pj 2022-04-12 12:05:08 +02:00
LeSim
9da44bd913
Merge pull request #7137 from betagouv/faster_pdf
refactor(pdf)!: accélère la génération des pdf (*2 à *4)
2022-04-12 12:01:17 +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
LeSim
ebac71796c
Merge pull request #7143 from betagouv/update_nokogiri
Mise à jour de la dépendance Nokogiri
2022-04-12 11:54:40 +02:00
simon lehericey
5955b1af05 update Nokogiri 2022-04-12 11:50:59 +02:00
LeSim
0a36ed8775
corrige un pb lors d'une fusion d'instructeur dont l'un était référencé par un dossier_operation_log
fix(User.merge): when user have an instructeur having dossier_opertions_logs containing instructeur_id
2022-04-12 11:35:29 +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
LeSim
bab0335fc0
Merge pull request #7141 from betagouv/fix_nonce_agent_connect
Ajoute le controle du nonce et du state dans le flow openid d'agent connect
2022-04-12 10:59:38 +02:00
simon lehericey
29dacb4686 remove env dependence in spec 2022-04-11 14:40:02 +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
98b574b031
Merge pull request #7136 from tchak/refactor-types-de-champ-editor-ts
refactor(type_de_champs): use typescript in type de champs editor
2022-04-08 14:38:23 +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
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
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