Commit graph

15836 commits

Author SHA1 Message Date
Paul Chavard
10ef4a4be5 chore(db): remove ignored columns 2022-08-02 15:24:52 +02:00
Paul Chavard
e0d697e2fe
Merge pull request #7636 from tchak/chore-remove-old-routes
chore(routes): remove unused routes
2022-08-02 15:01:39 +02:00
Paul Chavard
807096a2fc chore(routes): remove unused routes 2022-08-02 14:20:16 +02:00
Paul Chavard
1a0c10fa43
Merge pull request #7560 from tchak/revert-doc-graphql
Revert "Merge pull request #7537 from tchak/graphql-doc"
2022-08-02 14:16:52 +02:00
Paul Chavard
8b5c26215f fix(graphdoc): always build graphdoc with production environement 2022-08-02 13:34:37 +02:00
Paul Chavard
bb5cc70676 Revert "Merge pull request #7537 from tchak/graphql-doc"
This reverts commit 8d3d660663, reversing
changes made to 021649cc62.
2022-08-02 13:34:37 +02:00
Paul Chavard
5a196a009c
Merge pull request #7644 from mfo/US/redirect-to-replacing-procedure
feat(Users::CommencerController#commencer): ensure to redirect to replaced procedure when it exisits
2022-08-02 13:22:21 +02:00
Martin
7f1018c5b0 feat(Users::CommencerController#commencer): ensure to redirect to replaced_by_procedure when it exisits 2022-08-02 13:08:36 +02:00
Paul Chavard
80edf23446
Merge pull request #7646 from betagouv/fix-service-destroy-having-discarded-procedure
fix(service): destroy with discarded procedure
2022-08-02 13:08:20 +02:00
Colin Darie
4284f14ad8 fix(services): can destroy with discarded procedures
Closes #7626
2022-08-02 11:45:16 +02:00
Colin Darie
c94b3e9e52 test: enable verbose_query_logs
Helpful to known which line triggered a query
2022-08-02 11:44:07 +02:00
Kara Diaby
3b699ac1cc
Merge pull request #7495 from betagouv/feat/7451
OPEN DATA - Administrateurs, dossiers, instructeurs crées par mois
2022-07-29 15:22:11 +02:00
Kara Diaby
e98b2417cb load jobs/concerns 2022-07-29 12:25:27 +02:00
Kara Diaby
ec3118e82c Add concern for Datagouv schedulable jobs 2022-07-29 12:25:27 +02:00
Kara Diaby
a156529394 modify export descriptif demarches job 2022-07-29 11:17:22 +02:00
Kara Diaby
058d6baae6 tests 2022-07-29 11:17:22 +02:00
Kara Diaby
d18d89b41b modify Lib Datagouv API 2022-07-29 11:17:22 +02:00
Kara Diaby
181e237cf0 add generation csv service 2022-07-29 11:17:22 +02:00
Kara Diaby
882ee74f88 Comptes créés avec FC par mois : CRON Job 2022-07-29 11:17:22 +02:00
Kara Diaby
dc1d0ce071 Démarches supprimées par mois : CRON Job 2022-07-29 11:17:22 +02:00
Kara Diaby
4a29162c6c Démarches closes par mois : CRON Job 2022-07-29 11:17:22 +02:00
Kara Diaby
999059269e Instructeurs connectés par mois : CRON Job 2022-07-29 11:17:21 +02:00
Kara Diaby
8e9d1eeb6f Nombre de comptes créés par mois : CRON 2022-07-29 11:17:21 +02:00
Kara Diaby
b48a48980a Nombre de dossiers créés par mois : CRON 2022-07-29 11:17:21 +02:00
Kara Diaby
9fa54c3cc8 Nombre de démarches créés par mois : CRON 2022-07-29 11:17:21 +02:00
Kara Diaby
e0dc36926e Nombre d'instructeurs créés par mois : CRON 2022-07-29 11:17:21 +02:00
Kara Diaby
a0a3c6c0ee Administrateurs crées par mois : CRON Job 2022-07-29 11:17:20 +02:00
Paul Chavard
440ceddfd1
Merge pull request #7642 from tchak/fix-should-not-be-able-to-remove-mandatory-files 2022-07-29 08:46:57 +02:00
Paul Chavard
782af3322a fix(patron): when rendering “patron” champs should have dossier 2022-07-28 12:10:32 +02:00
Paul Chavard
31d80d80bd fix(dossier): prevent users from removing mandatory fiels after submission 2022-07-28 11:19:47 +02:00
krichtof
dc39de611d
Merge pull request #7640 from betagouv/cleanup_attachments
fix(db): remove bad attachments
2022-07-28 10:15:45 +02:00
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