Commit graph

15972 commits

Author SHA1 Message Date
Colin Darie
865c8c5af0 fix(champ): let auto input width in "other input" dropdown.
On unset explicitement l'attribut `size` pour ne pas que l'helper
`text_field` réutilise la valeur de maxlength et vienne faire déborder
l'input.
2022-07-25 12:36:37 +02:00
Colin Darie
7c0fd0651d
Merge pull request #7580 from betagouv/feat-instructeur-entreprise-etat
feat(etablissement) list entreprise "état administratif"
2022-07-25 11:10:16 +02:00
Colin Darie
2364e2dda5 feat(graphql): expose entreprise etat_adminitratif 2022-07-25 10:58:02 +02:00
Colin Darie
11cd73b4ac feat(export/csv): list etablisement entreprise_etat_administratif 2022-07-25 10:58:02 +02:00
Colin Darie
e53b6e4e77 feat(export/pdf): list entreprise etat_administratif in "demandeur" section 2022-07-25 10:58:02 +02:00
Colin Darie
22fed3d9de feat: show entreprise etat "en activité" | "fermé in entreprise summary
Closes #7505
2022-07-25 10:58:02 +02:00
Colin Darie
f05e9331a7 chore(entreprises): save etat_administratif from API 2022-07-25 10:58:02 +02:00
Colin Darie
e1d3d1f844 chore(schema): add entreprise_etat_administratif to etablissements 2022-07-25 10:58:02 +02:00
mfo
e97054b676
Merge pull request #7547 from mfo/US/extract-safe-purgeable
fix(export): when it takes more than 3 hours, exports are purged before being generated. make it possible to have an export that takes more than 3 hours. behaviour extracted and shared from/by archive
2022-07-25 10:55:22 +02:00
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