Commit graph

19246 commits

Author SHA1 Message Date
Paul Chavard
f48048179c fix(conditional): enable conditional per procedure 2022-08-03 09:16:10 +02:00
Colin Darie
e78254a7c8
Merge pull request #7650 from betagouv/dev-add-pry-rails
chore(dev): add more pry features with pry-rails gem
2022-08-02 19:12:38 +02:00
Colin Darie
6b95ce5ecc chore(dev): add more pry features with pry-rails gem 2022-08-02 18:47:58 +02:00
Paul Chavard
5110077587
Merge pull request #7608 from tchak/test-better-factories
Amelioration des factories de procedure/types_de_champ
2022-08-02 18:03:31 +02:00
Paul Chavard
a88390c6d3 refactor(types_de_champ): use new types_de_champ factory 2022-08-02 16:21:33 +02:00
Paul Chavard
21d47fa875 test(factory): spec new procedure.types_de_champ factory 2022-08-02 16:21:33 +02:00
Paul Chavard
ee9851091f test(factory): add a new way to build/create types_de_champ 2022-08-02 16:21:33 +02:00
Paul Chavard
2487cb47c0
Merge pull request #7641 from tchak/chore-remove-ignored-columns
chore(db): remove ignored columns
2022-08-02 15:30:35 +02:00
Paul Chavard
435a635b3d fix(procedure_presentation): find last instance of type_de_champ through coordinates 2022-08-02 15:24:52 +02:00
Paul Chavard
48a4e8bec5 chore(db): remove already dropped ignored columns 2022-08-02 15:24:52 +02:00
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