Commit graph

18091 commits

Author SHA1 Message Date
Christophe Robillard
61d14c2c52 compute once dossiers count for each procedure 2023-02-21 10:06:07 +01:00
Christophe Robillard
9bab4f9d76 display dossiers count for each procedure 2023-02-21 10:06:07 +01:00
Christophe Robillard
c5acd82e6e update dossiers count when passing to construction 2023-02-21 10:06:07 +01:00
Christophe Robillard
bd92291f8a cache dossiers count 2023-02-21 10:06:07 +01:00
mfo
bbbcfb5889
Merge pull request #8657 from mfo/a11y/8553
correctif(a11y): utilise un <button> a la place d'un <a> lorsqu'on effectue l'action de supprimer un attachement
2023-02-21 08:52:08 +01:00
Martin
eca44ce60e correctif(a11y): il est recommandé d'utilser un boutton pour la suppression d'un element. le bouton etant deja dans un form, nous ne pouvons pas utiliser le button_to. Extraction d'un form pour soumettre la suppression des pjs par des input pointant sur ce form
Update app/components/attachment/edit_component/edit_component.html.haml

Co-authored-by: Paul Chavard <github@paul.chavard.net>

Update app/views/shared/dossiers/_edit.html.haml

Co-authored-by: Paul Chavard <github@paul.chavard.net>

amelioration(attachment.destroy): force l'usage de turbo
2023-02-21 08:22:50 +01:00
Eric Leroy-Terquem
64565857e4
Merge pull request #8653 from E-L-T/notify-instructeur-when-added-to-procedure
feat(groupe instructeur mailer): notify instructeurs when added to procedure
2023-02-20 16:25:34 +01:00
Eric Leroy-Terquem
daef99109e fix(groupe instructeur mailer): add translation for Bonjour 2023-02-20 15:59:42 +01:00
Damien Le Thiec
a9f342d09e Fix tests 2023-02-20 15:51:18 +01:00
Eric Leroy-Terquem
7b12ec3ffe refactor(groupe instructeur mailer): move translations in dedicated files 2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
343cb5fce6 feat(groupe instructeur mailer): add emailing to added instructeurs 2023-02-20 15:41:19 +01:00
Eric Leroy-Terquem
7c86df9d35 clean(groupe instructeur mailer): remove unused view 2023-02-20 15:40:32 +01:00
Damien Le Thiec
989ff598d0 Remove unused locales 2023-02-20 15:40:28 +01:00
Damien Le Thiec
deb51e3880 Manage GET prefill by creating a dossier 2023-02-20 15:35:14 +01:00
mfo
fec7c1d6f9
Merge pull request #8652 from demarches-simplifiees/US/fix-departements-filter
correctif(procedure#filtre): passe a l'usage de nos filtres par enum pour la recherche par departement
2023-02-20 11:54:16 +01:00
Martin
5e10e680dc chore(spec): corrige les spec cassées et remanie un peu des specs ecrites 2023-02-20 11:47:14 +01:00
Martin
a89f5d373f amelioration(procedures#filtres): filtre par regions avec un enum sur la collection des regions normalisés 2023-02-20 11:47:14 +01:00
Martin
b0a757a89d chore(db): supprime un index non utilisé 2023-02-20 11:47:14 +01:00
Martin
68de0c6566 correctif(procedures#filtres): le filtre par departement ne fonctionnait plus. utilise un enum sur la collection des departements possible normalisés 2023-02-20 11:47:14 +01:00
Sébastien Carceles
2a6257a224
Merge pull request #8624 from demarches-simplifiees/cleanup/normalize-specs
remove departements and regions migration specs
2023-02-20 09:13:34 +01:00
sebastiencarceles
b85eeedd6c remove departements and regions migration specs 2023-02-20 09:01:04 +01:00
Damien Le Thiec
d2452980fe Fix merge conflict spec 2023-02-16 20:17:05 +01:00
Damien Le Thiec
dce4c84f9a Merge branch 'main' into feature/prefill_repetible 2023-02-16 17:08:30 +01:00
mfo
3b3bdbfe3e
Merge pull request #8648 from demarches-simplifiees/ensure-pg-fk-between-attachments-and-blobs
correctif(db): force active_storage_attachments.blob fk on active_storage_blobs
2023-02-16 16:59:36 +01:00
Damien Le Thiec
6231c75e07 Fix tests conflicts 2023-02-16 16:58:55 +01:00
mfo
290ba94de7
Merge branch 'main' into ensure-pg-fk-between-attachments-and-blobs 2023-02-16 16:51:28 +01:00
Colin Darie
69383659f1
Merge pull request #8632 from colinux/password-edit-show
ETQ utilisateur je peux voir le mot de passe que je choisis
2023-02-16 16:24:25 +01:00
Colin Darie
c968aa63d3 fix(a11y/password form): describedby rel with input and password rules 2023-02-16 16:15:40 +01:00
Colin Darie
31c99e935a refactor(admin): migrate password form to DSFR components 2023-02-16 16:15:40 +01:00
Colin Darie
4f7839039d refactor(password-complexity): as component for better form integration 2023-02-16 16:15:40 +01:00
Colin Darie
1f930dfe23 feat(user): can show password when editing password 2023-02-16 16:15:40 +01:00
mfo
1fa9a5895a
Merge pull request #8647 from demarches-simplifiees/US/fix-missing-index
correctif(db): index manquant sur les active_storage_attachements.blob_id -> active_storage_blob.id
2023-02-16 16:12:23 +01:00
Martin
514835af1c correctif(db): force active_storage_attachments.blob fk on active_storage_blobs 2023-02-16 16:02:14 +01:00
Martin
437be2c901 correctif(data): supprime les attachment sans blob 2023-02-16 14:54:13 +01:00
Martin
0427c28103 correctif(db.active_storage_attachements): ajoute un fk non validable a priori pour eviter les problemes d'attachments sans blob 2023-02-16 14:18:40 +01:00
Julie Salha
707f50d314
Merge pull request #8629 from demarches-simplifiees/a11y-8118-script-folder-creation
a11y : add scrolling functionnality for description procedure Closes #8629
2023-02-16 11:52:02 +01:00
Julie Salha
ca12e3f58c Update french translation description
Co-authored-by: Colin Darie <colin@darie.eu>
2023-02-16 11:44:26 +01:00
Julie Salha
a38c6077a5 fix PR translations 2023-02-16 11:44:26 +01:00
Julie Salha
0e5deda86c add scrolling functionnality for description procedure 2023-02-16 11:44:26 +01:00
Paul Chavard
2656bde45f
Merge pull request #8611 from tchak/fix-admin-procedure-n+1
fix(administrateur): procedure page n+1
2023-02-16 11:36:47 +01:00
Paul Chavard
c0ad7853cb fix(administrateur): procedure page n+1 2023-02-16 11:29:21 +01:00
Sébastien Carceles
8aece28f75
Merge pull request #8479 from demarches-simplifiees/prefill/multiple
prefill(dossier): prefill multiple drop down list champ
2023-02-16 11:02:25 +01:00
Sébastien Carceles
8c67df7130 review: use selected options
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2023-02-16 10:49:15 +01:00
sebastiencarceles
e344b97d51 review: readability 2023-02-16 10:49:15 +01:00
sebastiencarceles
a3ca79076e cover the use case with feature specs 2023-02-16 10:49:15 +01:00
sebastiencarceles
d5ffd61ab6 validate values inclusion 2023-02-16 10:49:15 +01:00
sebastiencarceles
d648ac31c2 add prefill decorator for multiple drop down list 2023-02-16 10:49:15 +01:00
sebastiencarceles
cbe2dc9c2d let the multiple drop down list be prefillable 2023-02-16 10:49:15 +01:00
Eric Leroy-Terquem
bfa5f23cb9
Merge pull request #8626 from E-L-T/notify-instructeur-when-removed-from-procedure
feat(groupe instructeur mailer): add emailing to removed instructeurs
2023-02-16 10:44:35 +01:00
Eric Leroy-Terquem
4926fbff19 fix(groupe instructeur mailer): fix mailers preview 2023-02-16 10:37:04 +01:00