Paul Chavard
619e545238
Merge pull request #9543 from colinux/fix-perf-instructeurs-home
...
ETQ instructeur, la page de mes démarches est un peu plus rapide
2023-09-29 17:51:55 +00:00
krichtof
428ae4a45a
Merge pull request #9507 from demarches-simplifiees/9449-signature-groupe-instructeur
...
9449 ETQ instructeur ou admin, je peux apposer sur une attestation un tampon dédié à un groupe instructeur
2023-09-29 14:20:46 +00:00
Colin Darie
04071073e5
refactor(instructeurs): faster procedures listing
2023-09-29 13:09:54 +02:00
Colin Darie
f942610d32
Merge pull request #9473 from demarches-simplifiees/create-export-page-V2-ldu
...
[Export] Créer une page d'export et sortir les liens des dropdowns
2023-09-28 17:15:31 +00:00
mfo
e1fe1188de
Merge pull request #9491 from mfo/US/better-error-summary
...
amelioration(usagers.dossiers.erreurs): ETQ usager, lorsque je soumets un dossier avec des erreurs, le format des erreurs est au format du DSFR
2023-09-28 17:01:09 +00:00
Martin
d8220395c8
amelioration(usagers.dossiers.erreurs): ETQ usager, lorsque je soumets un dossier avec des erreurs, le format des erreurs est au format du DSFR
...
Update app/components/dossiers/errors_full_messages.rb
Update app/components/dossiers/errors_full_messages/errors_full_messages.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-28 17:50:47 +02:00
Colin Darie
d4198869fb
chore(exports): dropdown menu re-uses the same pending export or create a fresh one
...
Pour permettre d'avoir des données fraiches dans un export tout
en conservant l'historique des exports,
la demande d'export depuis le menu créé toujours un nouvel export sauf:
- si un autre export identique est déjà en préparation
- si un autre export identique s'est terminé il y a moins de 5 minutes
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 15:23:31 +02:00
Colin Darie
d9687f7418
chore(exports): minor wording improvements and clarifications
2023-09-28 12:35:26 +02:00
mfo
00a6d02d21
fix(exports): block exports page to super admins so they can't download exports
2023-09-28 12:35:23 +02:00
Colin Darie
3af93735a3
feat(exports): turbo poll for pending exports
2023-09-28 12:35:19 +02:00
Lisa Durand
58a143b2c7
improve wording and display for export page
2023-09-28 12:35:15 +02:00
Lisa Durand
282df1b44b
add link to export page in flash message for instructeur
2023-09-28 12:35:14 +02:00
Colin Darie
a867c9a998
feat(instructeurs): notification badge when a new export has been generated
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:13 +02:00
Colin Darie
edb030bb4c
refactor(exports): regenerating exports redirect (back) to exports page
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:11 +02:00
Colin Darie
fc66f4b05d
refactor(exports): drop useless exports relation dependency for exports dropdown
...
Since the dropdown does not list download links anymore,
we don't have to pass them a dynamic exports list.
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:08 +02:00
Colin Darie
82dd05c189
chore(exports): finders by groupe instructeurs compatible across exports components
...
Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:07 +02:00
Lisa Durand
5a571a3535
create export page to list all the exports and remove links from the dropdown
2023-09-28 12:35:04 +02:00
Lisa Durand
a559bf54eb
Merge pull request #9517 from demarches-simplifiees/change-tabs-for-instructeur-dashboard-ldu
...
[instructeur] Mettre en avant les démarches closes avec des dossiers à traiter
2023-09-28 07:32:07 +00:00
Lisa Durand
91018d8f8f
Update app/controllers/instructeurs/procedures_controller.rb
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:51:07 +02:00
Lisa Durand
46e492496e
Update app/controllers/instructeurs/procedures_controller.rb
...
Co-authored-by: LeSim <mail@simon.lehericey.net>
2023-09-27 16:50:55 +02:00
Lisa Durand
a4c79e953b
change 'published' tabs by 'en cours' to highlight closed procedure with 'en cours' files
2023-09-25 15:34:37 +02:00
Colin Darie
d231ec35f4
refactor(attestation): groupe instructeur add signature shared
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
4c7664d61c
fix(admin): missing siret & service alert don't override action alert
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
934e86a465
refactor(attestation): groupe instructeur signature shared
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Christophe Robillard
c02e6f2a77
feat(groupe-instructeur): instructeur can add signature in attestation
2023-09-22 10:24:16 +02:00
Colin Darie
ad10335888
feat(groupe-instructeur): admin can preview signature in attestation
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Colin Darie
44578ba65c
fix(attachment): keep direct_upload behavior in poll url
...
Co-Authored-By: Christophe Robillard <christophe.robillard@beta.gouv.fr>
2023-09-22 10:24:16 +02:00
Christophe Robillard
c121a8b2dc
admin can add groupe_instructeur signature
2023-09-22 10:24:16 +02:00
Christophe Robillard
7529294845
fix: uninterlace only interlaced png
2023-09-22 10:24:16 +02:00
Christophe Robillard
46edaed6bc
extract uninterlace_png method
2023-09-22 10:24:16 +02:00
seb-by-ouidou
d29bbf6d4f
Merge branch 'main' into feature-ouidou/existing_procedure_hidden_as_template
2023-09-21 15:53:38 +02:00
seb-by-ouidou
5b9423bab3
fix: remove hidden_at_as_template from filter
2023-09-21 13:50:23 +00:00
simon lehericey
4a17dec87b
refactor procedure_controller
2023-09-20 14:11:10 +02:00
simon lehericey
40a15b9be4
refactor dossier_controller
2023-09-20 14:11:10 +02:00
simon lehericey
c248f96f31
fixup base controller
2023-09-20 14:11:10 +02:00
simon lehericey
118242dbd2
refactor api_controller
2023-09-20 14:11:09 +02:00
simon lehericey
2664c3671f
api_tokens_controller: only use turbo
2023-09-20 14:11:09 +02:00
simon lehericey
9047c2a7de
api_tokens_controller: extract become full_access
2023-09-20 14:11:09 +02:00
simon lehericey
9b440b6c44
api_tokens_controller: extract disallow_procedure
2023-09-20 14:11:09 +02:00
simon lehericey
2a109d3aa4
api_tokens_controller: use before_action set_api_token
2023-09-20 14:11:09 +02:00
simon lehericey
24fd12ed70
explicit about different contexts
2023-09-20 14:11:09 +02:00
simon lehericey
f434c6a6ad
refactor: try base controller
2023-09-20 14:11:09 +02:00
simon lehericey
40ed59a231
rename find_and_verify => authenticate
2023-09-20 14:11:09 +02:00
simon lehericey
0b03ba4d68
remove v1/v2 api token logic
2023-09-20 14:11:09 +02:00
seb-by-ouidou
0d2cd0fe5d
feat(procedure): hide as template
2023-09-19 11:21:27 +00:00
LeSim
e6f8400cfd
Merge pull request #9477 from demarches-simplifiees/can-route-from-epci-champ
...
ETQ admin je peux router par département depuis le champ EPCI
2023-09-19 08:21:26 +00:00
mfo
25d7333ac3
Update app/controllers/experts/avis_controller.rb
...
Co-authored-by: Colin Darie <colin@darie.eu>
2023-09-18 16:55:07 +02:00
Martin
aa10f23b43
correctif(expert.invite-autre-expert): ETQ expert, je ne pouvais pas demander d'autres avis d'expert
2023-09-18 16:23:42 +02:00
mfo
2e2782c8b0
Merge pull request #9478 from mfo/US/fix-manager-dossier-show
...
correctif(manager#dossiers/show): ETQ superadmin, l'affichage d'un dossier pouvait timeouter car non préloadé
2023-09-18 08:36:54 +00:00
Eric Leroy-Terquem
588143f9fd
feat(routing): can create simple routing from epci tdc
2023-09-18 09:32:07 +02:00
Martin
720056e844
correctif(manager#dossiers/show): preload un dossier sur le manager
2023-09-15 11:34:20 +02:00
Eric Leroy-Terquem
0454d2066e
Merge pull request #9474 from demarches-simplifiees/can-route-from-commune-champ
...
ETQ admin je peux router par département depuis un type de champ communes
2023-09-15 08:18:24 +00:00
Lisa Durand
7311bcebb9
Merge pull request #9363 from demarches-simplifiees/dashboard-usager/make-search-work-with-procedure-filter
...
[refonte usager] Tableau de bord - rendre recherche complémentaire avec filtre par procédure
2023-09-13 12:55:42 +00:00
Eric Leroy-Terquem
370d853378
feat(routing): can create simple routing from communes tdc
2023-09-13 10:45:21 +02:00
Eric Leroy-Terquem
e255bb9929
refactor(routing): extract methods to create groups from tdcs
2023-09-13 10:22:00 +02:00
Eric Leroy-Terquem
c2beca7d6d
feat(routing): can create simple routing from regions tdc
2023-09-13 10:22:00 +02:00
Kara Diaby
7472b17009
Autocomplete pour instructeurs qui veulent affecter un expert au dossier, avec tous les experts sollicités sur la démarche
2023-09-11 09:13:04 +00:00
krichtof
5aabce488b
Merge pull request #9425 from demarches-simplifiees/9356-service-gi
...
ETQ Usager, je veux voir dans mon dossier les informations de contact de mon groupe instructeur
2023-09-11 07:38:34 +00:00
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