Commit graph

15405 commits

Author SHA1 Message Date
Christophe Robillard
f556b39910 fix(db): remove bad attachments
destroy attachments with blobs that doesn't exist
2022-07-28 10:11:27 +02:00
Paul Chavard
1402d050cf
Merge pull request #7638 from tchak/fix-stats-page
fix(stats): remove Helpscout from stats page
2022-07-28 09:30:32 +02:00
Paul Chavard
b616a4c1e9 fix(stats): remove Helpscout from stats page 2022-07-27 18:26:25 +02:00
Colin Darie
40a7b4a025
Merge pull request #7629 from betagouv/fix-exports
Fix: purge stuck exports & archives
2022-07-27 15:37:33 +02:00
Colin Darie
197fa54ea4 fix(archives): purge stuck pending archives
Cf 0cb096b3d6440a4da05ca2902ed6fa72a93e6579
2022-07-27 15:26:59 +02:00
Colin Darie
f1957e51f8 fix(exports): purge stuck (pending) exports, not generated or failed
Avec l'autre PR, ça reproduit le comportement d'avant, c'est à dire
que quoiqu'il arrive un export est purgé :
- soit 16h après sa génération (on a 16h pour le télécharger)
- soit 12h après sa création, et qu'il est bloqué

Auparavant, tous les exports étaient purgés au bout de 3h quelle que soit
le statut.
2022-07-27 15:26:59 +02:00
Colin Darie
bd788ec6bf fix(manager/archives): status => job_status
Closes #7614
2022-07-27 15:26:59 +02:00
Colin Darie
94399546ea
Merge pull request #7630 from betagouv/fix-archive-table-without-weight
fix(archives): don't fail when there are no weight estimation
2022-07-27 15:17:26 +02:00
Colin Darie
4699d15853 fix(archives): don't fail when there are no weight estimation
A priori ça peut arriver lorsqu'il n'y a pas de dossier terminé sur une procédure

Closes #7615
2022-07-27 15:12:18 +02:00
krichtof
34343c6685
Merge pull request #7633 from betagouv/7631-bug-invite
affiche un message d'alerte quand aucun email n'est donné pour une invitation sur un dossier
2022-07-27 15:09:07 +02:00
Christophe Robillard
c8abe092c1 display alert message when no email is given for an invite
no exception is raised anymore in this case
2022-07-27 15:05:00 +02:00
Paul Chavard
d02c5ec315
Merge pull request #7632 from betagouv/fix-admin-attestation-layout
fix(admin/attestation): page layout
2022-07-27 14:55:33 +02:00
Colin Darie
d4f8f05dec fix(admin/attestation): page layout because of too larger input#size attribute 2022-07-27 14:26:00 +02:00
Paul Chavard
7e27dffdca
Merge pull request #7624 from tchak/fix-types-de-champ-insert
fix(types_de_champ): fix exception on validation errors
2022-07-26 18:36:06 +02:00
Paul Chavard
8cba80116e fix(types_de_champ): fix exception on validation errors 2022-07-26 18:17:48 +02:00
Paul Chavard
772850cc23
Merge pull request #7623 from betagouv/fix-exports
fix exports generation
2022-07-26 17:59:15 +02:00
Colin Darie
67d2cb2061 chore(schema): add exports#job_status
Same behavior as Archive

On destroy tous les exports existants qui n'ont pas cette notion de status.
2022-07-26 17:53:24 +02:00
Colin Darie
5fd44208d3
Merge pull request #7613 from betagouv/fix-export-purge-stale-scope
fix(export): fix PurgeStaledExportsJob regression with `stale` scope
2022-07-26 14:31:33 +02:00
Colin Darie
6845b2ed08 fix(export): fix PurgeStaledExportsJob regression with stale scope
cc #7547
2022-07-26 14:26:22 +02:00
Paul Chavard
1ad79cb83a
Merge pull request #7584 from tchak/use-turbo-polyfills
refactor(vite): use turbo-polyfills
2022-07-26 13:12:19 +02:00
Paul Chavard
c2091e0978 refactor(vite): use turbo-polyfills 2022-07-26 13:07:24 +02:00
Paul Chavard
35e3dcd848
Merge pull request #7593 from tchak/feat-enable-siret-in-blocks
feat(types_de_champ): allow siret in repetition blocks
2022-07-26 13:05:48 +02:00
Paul Chavard
0f9983e93a feat(types_de_champ): allow siret in repetition blocks 2022-07-26 12:59:58 +02:00
Paul Chavard
9a0b554818
Merge pull request #7598 from tchak/perf-graphql-demarches-publiques
perf(graphql): benchmark demarches_publiques query
2022-07-26 12:59:39 +02:00
Paul Chavard
03fbe506f6 perf(graphql): benchmark demarches_publiques query 2022-07-26 12:54:10 +02:00
LeSim
5db8ba32b5
Merge pull request #7602 from betagouv/fix_procedure_library
Fix(procedure library): remplace la liste infinie des procédures par un recherche simple
2022-07-26 12:42:51 +02:00
simon lehericey
369141c7f7 Fix(procedure library): replace infinite list by a basic search 2022-07-26 12:38:05 +02:00
Paul Chavard
14f67306fd
Merge pull request #7611 from tchak/fix-autosave
fix(autosave): morph instead of replace to preserve controller instances
2022-07-26 11:53:50 +02:00
Paul Chavard
4276745338 fix(autosave): morph instead of replace to preserve controller instances 2022-07-26 11:15:10 +02:00
Paul Chavard
01c0b4350b fix(autosave): error.message can be readonly 2022-07-26 11:02:15 +02:00
Colin Darie
316effff40
Merge pull request #7609 from betagouv/fix-repetable-input-width
fix: drop down other input width
2022-07-25 14:47:56 +02:00
Colin Darie
cdbee11c2e chore(patron): drop down list with other input 2022-07-25 13:45:37 +02:00
Colin Darie
9597b3b4b7 style(champ): remove placeholder of drop down other input, since it's not recommended anymore 2022-07-25 12:37:38 +02:00
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