Commit graph

15345 commits

Author SHA1 Message Date
Paul Chavard
61fccdea1c
Merge pull request #7597 from tchak/perf-dossiers-pdf
perf(dossier.pdf): use DossierPreloader to generate pdf
2022-07-21 15:15:02 +02:00
Paul Chavard
8532c71036 perf(dossier.pdf): use DossierPreloader to generate pdf 2022-07-21 15:02:29 +02:00
Paul Chavard
07acc0db94
Merge pull request #7503 from tchak/graphql-edit-blocks
fix(graphql): annotation edit mutation inside blocks
2022-07-21 14:59:49 +02:00
Paul Chavard
3e40b6d7bc fix(graphql): handle annotations inside blocks 2022-07-21 14:54:14 +02:00
Paul Chavard
e22ba34394
Merge pull request #7596 from tchak/perf-extract-dossier-preloader
perf(graphql): improuve dossier loading
2022-07-21 12:36:46 +02:00
Paul Chavard
260d8d2fec perf(graphql): add graphql benchmark 2022-07-21 12:29:08 +02:00
Paul Chavard
902dc678de perf(graphql): improuve dossier loading 2022-07-21 12:29:08 +02:00
Paul Chavard
042703cead refactor(dossier): extract dossier preloader 2022-07-21 12:29:08 +02:00
Paul Chavard
93e4e98fea
Merge pull request #7586 from tchak/perf-faster-pdf-export
Faster pdf export
2022-07-21 12:28:39 +02:00
Paul Chavard
1fe82a956e fix(dossier.pdf): load all types_de_champ (including repetitions) 2022-07-21 11:56:23 +02:00
Paul Chavard
430365768a test(dossier.pdf): add a test case with piece_justificative inside repetition 2022-07-21 11:46:28 +02:00
simon lehericey
5d5f46b4d8 instances : prawn does not like svg
win 10% on pdf generation
2022-07-20 15:48:16 +02:00
simon lehericey
821fd2394b small refactor 2022-07-20 15:48:16 +02:00
simon lehericey
ca8dc34196 preload all tdc once for all 2022-07-20 15:48:16 +02:00
simon lehericey
4dbd44d72a includes stuff 2022-07-20 15:48:16 +02:00
simon lehericey
b9ad3bbce1 extract procedure 2022-07-20 15:48:16 +02:00
simon lehericey
9c73bf1932 batch it 2022-07-20 15:48:16 +02:00
mfo
5337fa02e3
Merge pull request #7523 from mfo/US/admin_export
feat(admin/export): enable export for admin
2022-07-20 14:12:56 +02:00
Martin
87af7f3261 feat(exports): implement admin export 2022-07-20 14:08:33 +02:00
LeSim
18eb241e1a
Merge pull request #7589 from betagouv/fix_cascade_and_conditional
fix(conditionnel): la valeur d'un champ est nul si le champ est caché
2022-07-20 11:28:37 +02:00
simon lehericey
72583f846b champ value return nil if champ is hidden 2022-07-20 11:23:57 +02:00
simon lehericey
d1e3a0d29f spec 2022-07-20 11:23:57 +02:00
Paul Chavard
c61e411328
Merge pull request #7590 from tchak/fix-linked-drop-down-lists
fix(champ): allow to submit when secondary options are empty
2022-07-20 11:00:27 +02:00
Paul Chavard
e85fe71887 fix(champ): allow to submit when secondary options are empty 2022-07-20 10:49:07 +02:00
Paul Chavard
36df41c1e4
Merge pull request #7587 from betagouv/wording
hide internal zone word to admin
2022-07-19 16:41:51 +02:00
simon lehericey
0fc9fc095c hide internal zone word to admin 2022-07-19 16:04:47 +02:00
Paul Chavard
9da86c4544
Merge pull request #7567 from tchak/fix-do-not-include-preview-in-dossiers-count
fix(dossier): do not include preview dossiers in dossiers counts
2022-07-19 11:22:20 +02:00
Paul Chavard
9fec11bfd0 refactor(dossier): use size and empty? instead of count 2022-07-19 11:11:46 +02:00
Paul Chavard
1657605ef1 fix(dossier): do not include preview dossiers in dossiers counts 2022-07-19 11:11:46 +02:00
mfo
8993c84eb7
Merge pull request #7583 from betagouv/revert/fix-event-polyfill
more fix other ie11 issues
2022-07-19 10:57:14 +02:00
Martin
4048dc1ae6 fix(dom4): maybe missing replaceWith 2022-07-19 10:52:55 +02:00
Martin
850f9375b7 fix(ujs-error-handling): sometimes body is not yet ready,other calls regarding ajax namespace are wired on document, copy/paste 2022-07-19 10:52:55 +02:00
Martin
40df4bee84 fix(polyfills): maybe missing core-js 2022-07-19 10:52:55 +02:00
Martin
5932f2a1f6 fix(MutationObserver): IE 11 kind of silent error: https://stackoverflow.com/questions/50593385/mutationobserver-syntax-error-on-ie-11 2022-07-19 10:52:55 +02:00
Martin
b01161c471 fix(ie): now failing on custom event 2022-07-19 10:52:55 +02:00
Martin
f7215a3dea fix(polyfill): make it works on ie11 2022-07-19 10:52:55 +02:00
Martin
1d33fd9db3 fix(formdata-polyfill): retry with babel as transpiler 2022-07-19 10:52:55 +02:00
Martin
99350e45dd Revert "Merge pull request #7579 from betagouv/US/fix-event-target-polyfill"
This reverts commit 27ed32bff0, reversing
changes made to 795570b039.
2022-07-19 10:52:55 +02:00
Paul Chavard
24d7cbb4e1
Merge pull request #7582 from betagouv/conditional_small_fixes
fix(conditionnel): fait marcher les operateurs lorsque les usagers n'ont pas remplis les champs
2022-07-19 10:16:07 +02:00
simon lehericey
2d26ba3507 fix: binary operator computes false by default 2022-07-19 10:11:24 +02:00
mfo
27ed32bff0
Merge pull request #7579 from betagouv/US/fix-event-target-polyfill
Us/fix event target polyfill
2022-07-18 17:22:15 +02:00
Martin
8a439be506 fix(polyfill): remove usage of backticks / template so it works with ie11 2022-07-18 16:55:45 +02:00
Martin
aab203aaae fix(event-target-polyfill): do not use template literal for polyfills 2022-07-18 16:55:45 +02:00
Paul Chavard
795570b039
Merge pull request #7568 from tchak/fix-issue-7411
fix(champ): use safe_join in champ helpers
2022-07-18 16:40:26 +02:00
Paul Chavard
0578f4f305 fix(champ): use safe_join in champ helpers
fix #7411
2022-07-18 16:29:41 +02:00
Paul Chavard
5abc17fe74
Merge pull request #7581 from tchak/fix-gon-type
fix(gon): matomo key can be a number
2022-07-18 16:19:21 +02:00
Paul Chavard
a45b76e63a fix(gon): matomo key can be a number 2022-07-18 16:08:42 +02:00
LeSim
84a048ac47
Merge pull request #7578 from betagouv/improve_perf_in_editor
Improve perf in editor
2022-07-18 14:36:50 +02:00
simon lehericey
c0e8a07868 perf: 500 queries -> 250 procedure show (id: 34908) 2022-07-18 14:28:35 +02:00
simon lehericey
9cfa6205b5 perf: editor public 250 queries -> 15 queries 2022-07-18 14:28:35 +02:00