Commit graph

4868 commits

Author SHA1 Message Date
Paul Chavard
634257e242
Merge pull request #9057 from demarches-simplifiees/US/restore-dossier-kc
amelioration(recovery:import): meilleure log et gestion de edge cases
2023-05-16 17:01:07 +00:00
Paul Chavard
d448806ddb fix(spec): specify vcr cassette for the whole scenario 2023-05-16 17:55:44 +02:00
Martin
32088512ff amelioration(importer): evite de re-importer un dossier pointant vers un parent qui est maintenant detruit 2023-05-16 17:00:34 +02:00
Martin
f76e52cc97 tech(tache.recovery): ajoute une tache pour re-importer des dossiers venant d'un backup
Update app/lib/recovery/exporter.rb

Co-authored-by: Colin Darie <colin@darie.eu>
2023-05-16 14:49:36 +02:00
simon lehericey
9d1d523cf6 remove life_cycle 2023-05-16 14:49:36 +02:00
simon lehericey
06b6663662 import more stuff 2023-05-16 14:49:36 +02:00
simon lehericey
6f41f0e1c6 factories: add traits about files 2023-05-16 14:49:36 +02:00
Martin
e9115b10b5 correctif(data.kc): re-import les données kc 2023-05-16 14:49:36 +02:00
Colin Darie
493e8dc9de
Merge pull request #9036 from colinux/fix-fork-ui
ETQ Usager: correctifs pour les modifications en construction
2023-05-15 11:38:01 +00:00
Colin Darie
059dabb5ac fix(fork): don't fail when user submit twice en_construction (from 2 tabs) 2023-05-15 13:08:42 +02:00
Colin Darie
c523c1023e
Merge pull request #9026 from demarches-simplifiees/less_flacky
Corrige des tests instables
2023-05-15 10:44:17 +00:00
Colin Darie
ec6d9f4e33
Merge pull request #9035 from colinux/fork-fix-champ-pj-updated-at
Correctif: ETQ usager le champ PJ d'un dossier en construction ne doit pas être marqué "à déposer" sans raison
2023-05-15 10:33:10 +00:00
Colin Darie
d3028f5570
Merge pull request #9037 from demarches-simplifiees/fix-bug-alert-batch-incrementation
[Fix] Actions multiples - Corriger le compteur dans les alertes + ajouter des infos sur le créateur du batch
2023-05-15 10:32:31 +00:00
Colin Darie
0d21450f8a
fix(fork): don't let active storage override our champ#updated_at after a transaction 2023-05-15 11:08:07 +02:00
Colin Darie
9b52f0902d
test(clone): move dossier#clone spec into appropriate concern 2023-05-15 11:08:06 +02:00
Paul Chavard
b4a299c326 fix(user): always rebase original dossier before merge 2023-05-12 20:42:02 +02:00
Paul Chavard
c40f42db19 fix(dossier): task to fix cloned published revisions 2023-05-12 16:52:59 +02:00
simon lehericey
6148f24387 Revert "Merge pull request #9002 from tchak/feat-procedure-clone-preview-published"
This reverts commit 7a6f46a8ad, reversing
changes made to 4513c52213.
2023-05-12 11:29:11 +02:00
Lisa Durand
9deb452ac0 add info about who created the batch and when in alert 2023-05-11 17:13:02 +02:00
simon lehericey
0457251cb0 try something different 2023-05-11 16:56:56 +02:00
simon lehericey
35866cf860 fix graphql_stored_queries_spec 2023-05-11 16:56:56 +02:00
simon lehericey
4aee0e056d try to fix autosave spec 2023-05-11 11:52:30 +02:00
Colin Darie
79f450a422
Merge pull request #9021 from colinux/feat-en-construction-fork
ETQ usager, je modifie et soumets à nouveau mon dossier “en construction"
2023-05-10 19:46:40 +00:00
simon lehericey
6d73faf90b try fix api particulier spec 2023-05-10 10:41:35 +02:00
simon lehericey
3a1614f96d try fix upload pj spec 2023-05-10 10:41:35 +02:00
Colin Darie
b626714610
fix(dossier): submit en_construction render views in error with dossier origin 2023-05-09 18:49:53 +02:00
Colin Darie
218c7d08c2
feat(fork): mark a fork as stale for future deletion, so it can't be reused 2023-05-09 18:49:53 +02:00
Colin Darie
c35176703f
feat(dossier): inform dossier en_construction having not submitted changes 2023-05-09 18:49:52 +02:00
Colin Darie
606493b7dd
style(dossier): status overview with dsfr class 2023-05-09 18:49:52 +02:00
Colin Darie
f6ebfe0e47
fix(dossier): sync search_terms after merge
Use a job instead of a lot of reloads
2023-05-09 18:49:52 +02:00
Colin Darie
11dd1b7d76
style(autosave): retry button as dsfr 2023-05-09 18:49:52 +02:00
LeSim
d0bb759d3d
Merge pull request #8997 from demarches-simplifiees/add_defaut_procedure_for_new_admin
ETQ admin, je veux avoir une première démarche pré remplie lorsque j'arrive sur ds
2023-05-09 16:38:55 +00:00
Paul Chavard
71cfe094aa
fix(groupe_instructeur): always use assign_to_groupe_instructeur method 2023-05-09 17:23:23 +02:00
Paul Chavard
08a2a2c9aa
feat(dossier): fork dossier when editing en construction 2023-05-09 17:16:47 +02:00
Paul Chavard
025bd5beaf
feat(dossier): dossier can be forked for editing 2023-05-09 15:34:10 +02:00
Lisa Durand
2b2d65de87
Merge pull request #8994 from demarches-simplifiees/add-simple-filter-for-usagers
[refonte usager] Tableau de bord - Ajouter bouton filtres simples
2023-05-09 08:06:15 +00:00
mfo
2374ced5d2
Merge pull request #8987 from mfo/US/link-to-errored-champs
amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement
2023-05-09 07:06:36 +00:00
Paul Chavard
7a6f46a8ad
Merge pull request #9002 from tchak/feat-procedure-clone-preview-published
ETQ Administrateur, je veux cloner la version publiée des démarches en production
2023-05-05 14:36:03 +00:00
Martin
2135985583 correctif(procedure.clone): ET admin, je souhaite pouvoir cloner une procedure ayant deux groupes d'instructeur ayant le dernier fermé 2023-05-05 11:09:06 +02:00
Paul Chavard
11065946ce fix(instructeur): fix dossiers suivis filter (merge behavior change in rails 7) 2023-05-04 18:24:18 +02:00
Paul Chavard
616188bfe3 feat(administrateur): when clone or preview procedure should use published revision if not the owned 2023-05-04 16:15:55 +02:00
Colin Darie
5be8865675
fix(export): sanitize filename containing unsafe chars for storage
Pourrait fixer des problèmes de dezip sous windows de zip.
2023-05-04 14:36:44 +02:00
Colin Darie
f615facbba
fix(export): don't fail when trying to write a file name > 255 bytes 2023-05-04 14:36:33 +02:00
Lisa Durand
9fd9bdc7c0 add tag to display and remove active filters 2023-05-03 16:47:27 +02:00
simon lehericey
9c8020b05c feat(admin): add initiation procedure for a new admin 2023-05-03 15:08:21 +02:00
Colin Darie
eabc9069f8 test(super-admin): more explicit disable otp test 2023-05-03 11:37:28 +02:00
Colin Darie
4c162a64d9
test: fix missing explicit rspec type 2023-05-03 11:35:32 +02:00
Colin Darie
ae88c1de6b
fix(devise): default config for devise and turbo stream as navigational format 2023-05-03 11:35:32 +02:00
Colin Darie
61ebb27e86
fix(redirect): allow other hosts when required 2023-05-03 11:35:31 +02:00
Nicolas Cavigneaux
7e0fbcf672
fix: ensure procedure used in remove_instructeur spec has routing_enabled set to true 2023-05-03 11:35:29 +02:00