Commit graph

18150 commits

Author SHA1 Message Date
Martin
f6fb1ceca5 correctif(attachement_edit): ajoute le cmmposant <form> pour supprimer un attachment via le nouveau <button> 2023-02-21 16:41:18 +01:00
LeSim
99b1bc718b
Merge pull request #8668 from tchak/fix-api-v2
fix(graphql): context should correctly preserve demarche authorization state
2023-02-21 16:17:20 +01:00
Paul Chavard
9c0cd8979a fix(graphql): context should correctly preserve demarche authorization state 2023-02-21 16:06:39 +01:00
Damien Le Thiec
2052bc7840 Remove dependency type_de_champ -> procedure 2023-02-21 16:00:58 +01:00
Colin Darie
6ac0aa1344
Merge pull request #8655 from colinux/elastic-apm
chore(bundle): setup elastic_apm, disabled by default
2023-02-21 12:40:42 +01:00
Colin Darie
a71e8d9a81 chore(bundle): setup elastic_apm, disabled by default 2023-02-21 12:30:51 +01:00
Paul Chavard
0416ea0453
Merge pull request #8636 from tchak/fix-graphql-demarche-lien
fix(graphql): fix demarcheUrl
2023-02-21 12:28:28 +01:00
Paul Chavard
e56d51e0f6 fix(graphql): fix demarcheUrl 2023-02-21 10:57:43 +01:00
krichtof
6e2845893b
Merge pull request #8369 from demarches-simplifiees/8354-dossiers-count
ETQ admin, je peux voir le nb de dossiers par démarche dans la liste de toutes les démarches
2023-02-21 10:14:00 +01:00
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