Commit graph

15413 commits

Author SHA1 Message Date
Martin
3e56fdd1d7 fix(export): when it takes more than 3 hours, exports are purge before being generated. make it possible to have an export that takes more than 3 hours and share this behaviour with kind of same class archive 2022-07-25 10:48:54 +02:00
LeSim
051e912a91
Merge pull request #7599 from betagouv/conditional_handle_incorrect_input
fix(conditional): ne prend pas en compte les champs invalides
2022-07-22 16:00:29 +02:00
simon lehericey
0d3856e84a fix(conditional): handle incorrect user input 2022-07-22 15:55:43 +02:00
krichtof
df7e5256ea
Merge pull request #7576 from betagouv/opendata-publish
[opendata] job that publish opendata demarches to datagouv
2022-07-21 22:02:14 +02:00
Christophe Robillard
e3206f3eec rename datagouv env var 2022-07-21 21:54:15 +02:00
Christophe Robillard
906dd4b509 remove useless DATAGOUV_TMP_DIR env 2022-07-21 21:54:15 +02:00
Christophe Robillard
004176a88d add optional OPENDATA_ENABLED variable env 2022-07-21 21:54:15 +02:00
Christophe Robillard
899047b656 schedule and display only schedulable jobs 2022-07-21 21:54:15 +02:00
Christophe Robillard
0e3e6eb62a add schedulable? class method to cron jobs 2022-07-21 21:54:15 +02:00
Christophe Robillard
bed6167010 use specific namespace for datagouv cron jobs 2022-07-21 21:54:15 +02:00
Christophe Robillard
b6c96301ef export and publish opendata demarches 2022-07-21 21:54:15 +02:00
Christophe Robillard
77a9a2ba12 can upload file to datagouv 2022-07-21 21:54:15 +02:00
Christophe Robillard
f7226ac625 add datagouv secrets 2022-07-21 21:54:15 +02:00
Christophe Robillard
d294feabe3 gzip demarches publiques export 2022-07-21 21:27:27 +02:00
Paul Chavard
7578c278a4
Merge pull request #7600 from tchak/fix-form-event-listeners
fix(dossier): decoralate dropdown behaviour from autosave
2022-07-21 18:46:19 +02:00
Paul Chavard
d9eea35ae8 fix(dossier): decoralate dropdown behaviour from autosave 2022-07-21 18:40:16 +02:00
Paul Chavard
8887142761
Merge pull request #7594 from tchak/refactor-procedure-cards
refactor(procedure): move cards to components
2022-07-21 18:14:13 +02:00
Paul Chavard
7425744f9f refactor(procedure): move cards to components 2022-07-21 18:07:56 +02:00
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