Commit graph

2901 commits

Author SHA1 Message Date
Christophe Robillard
5b9fbf40ed fix: admin is redirected to admin groupe instructeur page
after creating or editing groupe instructeur service
2023-09-11 08:58:04 +02:00
Christophe Robillard
e9ff4292fa instructeur can destroy groupe instructeur service 2023-09-11 08:58:04 +02:00
Christophe Robillard
41b2c9355b instructeur can update contact information for groupe instructeur 2023-09-11 08:58:04 +02:00
Christophe Robillard
ba0d3fa678 instructeur can create contact information for groupe instructeur 2023-09-11 08:58:03 +02:00
Damien Le Thiec
be02dd965f Add link and query examples with identity prefill 2023-09-07 10:17:19 +02:00
simon lehericey
4cbb8e91f2 Workable draft prefill identity (no link or query help) 2023-09-07 10:17:19 +02:00
LeSim
d69636c411
Merge pull request #9230 from colinux/log-destroyed-dossiers
Tech: log technique de la destruction de dossiers
2023-09-06 14:17:57 +00:00
Colin Darie
20c7921abe
chore(log): log destroyed dossiers 2023-09-06 16:07:18 +02:00
Eric Leroy-Terquem
d0da808325 feat(routing): can add a routing rule with not_eq operator 2023-09-05 15:57:31 +02:00
Lisa Durand
f0821ce467 remove recherche action from user controller and route 2023-09-04 16:42:19 +02:00
Lisa Durand
5ff5923612 make dossiers search compatible with filter by procedure 2023-09-04 16:42:19 +02:00
Paul Chavard
3a54e44b57 fix(dossier): should refresh dossier footer when removing options from multiselect 2023-08-31 15:43:40 +02:00
LeSim
3e193675aa
Merge pull request #9392 from demarches-simplifiees/move-groupe-instructeur-validation-to-model
Tech : déplace une validation sur le groupe d'instructeurs défaut du controleur au modèle
2023-08-31 09:45:03 +00:00
Eric Leroy-Terquem
9978908195 fix(dossier): exclude brouillons from recherche 2023-08-30 14:12:19 +02:00
Martin
26045cdd5f amelioration(instructeur#activate_account): passage de la page de d'activation d'un compte instructeur au dsfr 2023-08-30 13:40:51 +02:00
mfo
62e5b1426a tech(review): des ameliorations sur le code merci a sim/colin
Co-authored-by: LeSim <mail@simon.lehericey.net>
Co-authored-by: Colin Darie <colin@darie.eu>
2023-08-30 13:40:51 +02:00
Martin
4974962abd amelioration(instructeur.connexion): ETQ instructeur, je peux redemander un lien de connexion securisé 2023-08-30 13:40:51 +02:00
Eric Leroy-Terquem
ca25788f07 feat(routing): use only department codes in routing rules 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
8d0fffe44f refactor(type de champ): extract codes_and_names method 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
2827db5263 feat(routing): can create simple routing from departements tdc 2023-08-29 15:50:42 +02:00
Eric Leroy-Terquem
5db4e733b5
Merge pull request #9408 from demarches-simplifiees/fix-public-logo-url
Corrige l'url du logo public
2023-08-29 12:50:15 +00:00
Eric Leroy-Terquem
5e5111d69b fix public logo url 2023-08-29 13:45:13 +02:00
Eric Leroy-Terquem
288fc84cbf feat(dossier): sort following instructeurs 2023-08-29 13:44:27 +02:00
Eric Leroy-Terquem
fc2c196cfa chore(groupe instructeur): move closed validation for defaut groupe to model 2023-08-21 16:31:54 +02:00
mfo
28de1a7453
Merge pull request #9396 from tchak/remove-piepdrive
chore(pipedrive): remove pipedrive
2023-08-14 09:26:50 +00:00
mfo
07b67679cc
Merge pull request #9376 from tchak/feat-public-logo
feat(demarche): expose public logo url
2023-08-14 08:36:16 +00:00
Martin
425d8867be amelioration(bulk_messages): ETQ instructeur, je peux envoyer un message aux usagers ayant un dossier en brouillon 2023-08-14 10:17:23 +02:00
Martin
05687e63ca amelioration(dossier.routage): assigne le groupe d'instructeur au moment de passer_en_construction! un dossier et ignore ce concept de pre-setter le groupe d'instructeur sur tout le reste de l'app 2023-08-14 10:17:23 +02:00
Paul Chavard
ca4066939c chore(pipedrive): remove pipedrive 2023-08-10 10:29:25 +02:00
Paul Chavard
b5f721912f fix(dossier): removing options from multiselect should update conditions 2023-08-03 17:05:42 +02:00
Lisa Durand
71f548dadb add usual traitement time on procedure description page 2023-08-02 14:28:20 +02:00
Paul Chavard
e9cb50d09c feat(api): add last_authenticated_at timestamp to api requests 2023-08-02 13:22:18 +02:00
Paul Chavard
7c3ca54e18 feat(demarche): expose public logo url 2023-08-01 15:31:49 +02:00
Eric Leroy-Terquem
7680d5093e feat(routing): create routing rule for dropdown other option 2023-07-27 15:42:43 +02:00
Eric Leroy-Terquem
4749b43697 refactor(routing): use drop_down_options 2023-07-27 15:42:26 +02:00
Christophe Robillard
ef7b0c7377 alert admin with procedures without service 2023-07-27 10:08:30 +02:00
Christophe Robillard
beaf5751bb alert admin with service without siret 2023-07-27 10:08:30 +02:00
Paul Chavard
8febb3d236
Merge pull request #9338 from demarches-simplifiees/user-dashboard/add-filter-by-procedure-outside-tabs
[refonte usager] Tableau de bord - filtrer les dossiers par démarche
2023-07-24 16:32:44 +00:00
Paul Chavard
8cdedded45 fix(dossiers): pluck procedure information for user dossiers 2023-07-24 16:48:05 +02:00
Paul Chavard
93d6bda4ed refactor: move submit en_construction logic to the model 2023-07-24 12:12:58 +02:00
Paul Chavard
a492d7f41e
Merge pull request #9337 from demarches-simplifiees/fix-procedure-query-for-instructeur-tabs
[fix] Les demarches supprimées s'affichent encore dans l'onglet "en test" pour les instructeurs
2023-07-24 09:11:01 +00:00
Lisa Durand
1290cf5f29 dont assign twice dossiers_visibles to make it clearer 2023-07-24 10:57:00 +02:00
Paul Chavard
312c792e0a refactor(instructeur): procedures tabs 2023-07-24 10:48:32 +02:00
Paul Chavard
03da5725d4
Merge pull request #9310 from demarches-simplifiees/feat-graphql-dossier-corrections
API graphql: expose les demandes de corrections
2023-07-21 22:00:42 +00:00
Paul Chavard
aa4865d566
Merge pull request #9332 from demarches-simplifiees/9062-flash-forbidden-access
rend plus actionnable message d'erreur
2023-07-21 14:49:05 +00:00
Colin Darie
5998cfe31f refactor(correction): rename kind => reason with default correction => incorrect 2023-07-21 16:45:47 +02:00
Lisa Durand
385d4b4fa5 fix search and add system spec 2023-07-20 17:13:22 +02:00
Lisa Durand
f89391eb7d fix deleted procedure that still display in draft tabs 2023-07-20 15:49:54 +02:00
Christophe Robillard
20d0585e31 rend plus actionnable message d'erreur 2023-07-19 18:16:04 +02:00
Lisa Durand
8ed1e97ee1 add filter by procedure for user for all tabs 2023-07-19 17:57:24 +02:00
simon lehericey
114bc9bd9b clean: remove unused var 2023-07-19 09:56:35 +02:00
Paul Chavard
1882f652d5 fix(dossier): do not create groupe instructeur assignements on brouillons 2023-07-18 16:54:00 +02:00
Paul Chavard
04160b5d44 chore(dossier_assignment): avoid n+1 queries 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
7a95846cba feat(DossierAssignment): always add forced_groupe_instructeur when manual assignment 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
0e58e10b82 refactor(DossierAssignment): move create_assignment to assign_to_groupe_instructeur 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
96d17d03ec feat(DossierAssignment): create assignments when admin reaffect all dossiers 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
082db0ed02 feat(DossierAssignment): create Assignment when admin reaffect dossiers 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
488a932cd5 refactor(DossierAssignment): extract method create_assignment 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
d6520249e1 feat(DossierAssignment): display groups labels in personnes impliquees view 2023-07-18 16:54:00 +02:00
Eric Leroy-Terquem
ac2043e920 feat(DossierAssignment): create assignment when manual assignment by instructeur 2023-07-18 16:54:00 +02:00
Lisa Durand
9bd6cea38d
Merge pull request #9313 from demarches-simplifiees/fix-dropdown-navbar-profile
[fix] le dropdown pour les utilisateurs connectés
2023-07-13 12:47:30 +00:00
Lisa Durand
77bdbf45bc
Merge pull request #9308 from demarches-simplifiees/add-tabs-for-instructeur-index-procedures
ETQ instructeur mes démarches sont filtrées par onglet pour les retrouver plus facilement
2023-07-13 08:49:23 +00:00
Lisa Durand
7b1b771b25 fix fropdown navbar profile 2023-07-12 18:07:10 +02:00
Lisa Durand
fced4194d6 add tabs to filter procedures on index for instructeur 2023-07-12 12:38:41 +02:00
Martin
ce9dbed663 amelioration(NotificationMailer): sort la creation des commentaire sur la messagerie du mailer [trop de prob possible sinon: au retry on dupliquait les commenaitres, si le mail foirait, on commentait pas etc...] 2023-07-11 15:11:40 +02:00
Colin Darie
6ce8428ac6
feat(sva): instructeur can flag a dossier as incomplete 2023-07-11 10:01:48 +02:00
Colin Darie
30df476791
fix(sva): ensure "en construction" + "en instruction" notifications when submitting at submission
Pour le moment on conserve les 2 emails car l'email en construction
contient des informations spécifiques :
- l'attestation de dépôt
- potentiellement un contenu spécifique car il provient d'un template

Même remarque pour les démarches déclaratives.
2023-07-11 10:01:47 +02:00
Colin Darie
afe373c6b4
feat(sva): transition to en_instruction when (re-)submitting a dossier 2023-07-11 10:01:46 +02:00
Colin Darie
8c210e6fc7
feat(admin): config sva/svr 2023-07-11 10:01:45 +02:00
Colin Darie
6cf9ea6459
Merge pull request #9256 from demarches-simplifiees/user-dashboard/change-design-from-table-to-tile-part-2
[refonte usager] Tableau de bord - Changer design de tableau à tuiles
2023-07-10 13:28:51 +00:00
Paul Chavard
d5820277c0 feat(cojo): add cojo type de champ 2023-07-10 14:57:34 +02:00
Paul Chavard
a9f431caa5 feat(dossier): implement champ polling 2023-07-10 14:57:34 +02:00
Lisa Durand
3d20ef6af9 remove specific partial for dossier transfers and use Dossier instead od DossierTransfer 2023-07-10 10:53:07 +02:00
Colin Darie
57fa4a6be9
fix(identite): warn user why he's redirected to identity path 2023-07-07 17:34:47 +02:00
Eric Leroy-Terquem
f959450477
Merge pull request #9244 from demarches-simplifiees/refactor-routing-update
Tech : mise à jour du routage sans callback
2023-07-04 09:39:00 +00:00
Eric Leroy-Terquem
1923eb7d23 feat(routing): filter with only one form 2023-07-04 10:04:55 +02:00
Eric Leroy-Terquem
1b5f3a67eb feat(routing): filter only groups to configure 2023-07-04 10:04:35 +02:00
Eric Leroy-Terquem
7598b0a513 remove previous routing sytem code 2023-07-03 14:58:45 +02:00
Eric Leroy-Terquem
b94e8edb67 refactor(routing): move toggle_routing to procedure model 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
2eb3685d38 refactor(routing): do not disable instructeurs_self_management when reseting routing 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
d6fea4ed95 refactor(routing): toggle routing when custom routing 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
520050933e refactor(routing): toggle routing when simple routing 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
f03d10e246 perf(routing): use instance variable of procedure 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
5929c8354c refactor(routing): toggle routing when destroy group 2023-07-03 14:47:56 +02:00
Eric Leroy-Terquem
ebb48b0aec refactor(routing): toggle routing from controller 2023-07-03 14:47:56 +02:00
Lisa Durand
9338a73362 add possibility to override generated pj list by admin 2023-06-22 09:50:38 +02:00
Eric Leroy-Terquem
18054fe346 feat(routing): add view for dossier a reaffecter 2023-06-15 14:34:02 +02:00
Eric Leroy-Terquem
e7e702a574 feat(routing): add reaffecter_un_dossier 2023-06-15 14:34:01 +02:00
Colin Darie
f675d2d1a7
Merge pull request #9196 from colinux/fix-admin-publication-errors
ETQ admin je veux voir les erreurs lorsque la (re-)publication échoue
2023-06-14 09:56:46 +00:00
Paul Chavard
b3aeb46c1b fix(prefill): it should be possible to prefill a dossier on a test procedure 2023-06-14 09:14:12 +01:00
Colin Darie
889940af2a fix(administrateur): renders errors when publication fails 2023-06-13 19:11:59 +02:00
Eric Leroy-Terquem
5f1709f62d add a flash notice after reset draft 2023-06-13 09:34:48 +02:00
simon lehericey
44859b8217 fix(user dossiers index): do not crash with a deleted dossier and a discarded procedure 2023-06-12 13:57:28 +02:00
Paul Chavard
eac0e22c54 fix(carto): include champ carto modifications in fork diff and show submit button 2023-06-06 11:28:10 +02:00
Colin Darie
52c8553576
fix(dossier_correction): don't allow to save with a missing (invalid) commentaire 2023-06-02 16:18:33 +02:00
Colin Darie
734d88d80d
fix(pending-correction): wording alignement 2023-06-02 16:16:14 +02:00
Colin Darie
a32014d4fd
feat(correction): user can mark dossier en_construction as resolved 2023-06-02 16:16:14 +02:00
Colin Darie
8839ac7f76
fix(instructeur): pending_correction flag does not make messagerie unseen 2023-06-02 16:16:14 +02:00
Colin Darie
9565267170
feat(dossier): notify user by email about pending corrections 2023-06-02 16:16:13 +02:00
Colin Darie
ca3b127942
feat(instructeur): can flag a dossier as "pending corrections" 2023-06-02 16:16:12 +02:00
Eric Leroy-Terquem
6c188a867d run routing engine only at submit 2023-05-31 11:38:16 +02:00
simon lehericey
25ebfc4928 always set procedure.instructeurs_self_management_enabled to true when routing_enabled? 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
692010fa32 destroy all groups but defaut 2023-05-31 11:38:16 +02:00
Eric Leroy-Terquem
526f70f9c0 add wizard 2023-05-31 11:38:16 +02:00
simon lehericey
01caa498d3 add simple_routing 2023-05-31 11:38:16 +02:00
simon lehericey
8b568c2035 add ajout 2023-05-31 11:38:16 +02:00
simon lehericey
6b3447d71b add options 2023-05-31 11:38:16 +02:00
simon lehericey
174f7a7c53 add one_groupe_management_component 2023-05-31 11:38:16 +02:00
simon lehericey
142ac9173d add groupes_search_component 2023-05-31 11:38:16 +02:00
Lisa Durand
a20ec44841
Merge pull request #9074 from demarches-simplifiees/add-more-info-on-procedure-description
[Refonte page accueil demarche] Détailler la description pour plus de clarté pour l'usager
2023-05-30 09:45:32 +00:00
simon lehericey
09d1649610 add groupe details to dossier 2023-05-26 14:10:54 +02:00
Lisa Durand
31969b290b create a new layout without procedure for login and use same layout full_screen without description for identite step 2023-05-25 16:15:31 +02:00
Lisa Durand
7340206f81 rollback - add just one new field and use actual description field 2023-05-24 11:31:24 +02:00
Paul Chavard
cf13b942e7
Merge pull request #9076 from colinux/fix-instructeurs-filter-avis
ETQ instructeur je peux filtrer les dossiers par avis
2023-05-24 08:05:07 +00:00
Paul Chavard
e1a25ee0e5 chore(sentry): read sentry release information from version file 2023-05-24 09:41:39 +02:00
Lisa Durand
6274594c70 add new layout to handle new full screen design 2023-05-23 16:49:37 +02:00
Eric Leroy-Terquem
00561999ec fix(type de champ): do not raise error if tdc already destroyed 2023-05-23 15:52:51 +02:00
Colin Darie
b1435e18a9
chore(sentry): set procedure id tag on instructeurs controller 2023-05-23 09:40:21 +02:00
Martin
d2e30911f7 bug(compteurs.avis.a.donner): ETQ expert, je ne souhaite pas avoir a donner un avis sur un dossier termine 2023-05-23 09:34:30 +02:00
Martin
1417d0e873 correctif(expert/avis#index): ETQ expert, je veux retrouver mes avis donnés sur des dossiers traités 2023-05-23 09:34:30 +02:00
Lisa Durand
4a51a9a351 add two more fields for procedure description what et and for_who 2023-05-22 15:36:48 +02:00
Martin
af19bbe8f5 correctif(users/dossiers/brouillon#submit): ETQ usager, je souhaite que chaque lien pointant vers une erreur de champ m'oriente sur le champ 2023-05-20 08:27:55 +02:00
Paul Chavard
a2e98f9065
Merge pull request #9051 from demarches-simplifiees/fix-bug-procedure-clone-validations
[fix] Vider les champs invalides pour permettre de cloner une procedure
2023-05-17 07:44:39 +00:00
Lisa Durand
7e39e8113b feedback PR Colin 2023-05-16 17:54:37 +02: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
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
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
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
ac43d78b08
feat(dossier): warn users currently editing their dossier en_construction during deploy they will need to refresh 2023-05-09 17:25:16 +02: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
Martin
386523019d amelioration(instructeurs/procedure#show): ETQ instructeur, je souhaite avoir les mêmes compteurs entreles pages listant mes demarches et la page pour visualiser une démarches 2023-05-09 13:59:49 +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
f563fb3269
Merge pull request #8990 from tchak/fix-limit-textarea-size
ETQ administrateur, je veux pouvoir limiter le nombre de caractères dans les champs "texte long"
2023-05-05 14:54:41 +00:00
Paul Chavard
fe041b4c6c fix(textarea): fix character limit option 2023-05-05 16:36:51 +02:00
Paul Chavard
471da7eb61 Revert "Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739""
This reverts commit 909d726429.
2023-05-05 16:36:51 +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
Lisa Durand
c039414872 feedback PR review 2023-05-04 12:39:06 +02:00
Paul Chavard
88bb0cc532
Merge pull request #8989 from tchak/fix-presentation-filters
ETQ Instructeur, je ne veux pas d'erreurs quand les filtres ne sont pas trouvés
2023-05-04 08:45:56 +00:00
Colin Darie
93c08072ba fix(attestation): allow redirection to our static domain for attestation 2023-05-04 10:31:38 +02:00
Colin Darie
61ebb27e86
fix(redirect): allow other hosts when required 2023-05-03 11:35:31 +02:00
Nicolas Cavigneaux
940405cea8
fix: Avoid Brakeman warning about insecure redirect 2023-05-03 11:35:29 +02:00
Nicolas Cavigneaux
3aa6a5e28e
fix: url helper method calls for files 2023-05-03 11:35:28 +02:00
Martin
c8ab1e8e03 amelioration(dossier#submit_brouillon): ETQ usager, je souhaite pouvoir acceder aux champs en erreur facilement 2023-05-03 07:36:42 +02:00
Lisa Durand
24eca40f66 add from_depose_at filter 2023-05-02 10:32:38 +02:00
Lisa Durand
21ed6abcad add from_created_at filter 2023-05-02 09:37:03 +02:00
Paul Chavard
fc391fb553 fix(instructeur): no crash when filters not found 2023-05-01 11:34:11 +02:00
Paul Chavard
909d726429 Revert "Merge pull request #8844 from demarches-simplifiees/feat/7739"
This reverts commit 04fbfa15b7, reversing
changes made to aac1cc7161.
2023-04-28 16:08:24 +02:00
Lisa Durand
39f534b3d7 add states filter for usager 2023-04-28 15:28:04 +02:00