Commit graph

18077 commits

Author SHA1 Message Date
Eric Leroy-Terquem
d516d2a3eb feat(groupe instructeur): add a confirm modal before import 2023-02-23 10:56:55 +01:00
Lisa Durand
8d44c327f7 add 2 icons and make delete button in red 2023-02-23 10:56:33 +01:00
Eric Leroy-Terquem
127f86e8ae feat(flash messages): add a helper method to keep link when sanitizing 2023-02-23 10:26:46 +01:00
Damien Le Thiec
61d2edc42e Cache champ attributes 2023-02-22 20:05:36 +01:00
Damien Le Thiec
731cd56594 Merge branch 'main' into feature/prefill_repetible 2023-02-22 19:49:06 +01:00
Damien Le Thiec
ca29079c27 Fix rubocop 2023-02-22 19:40:52 +01:00
Damien Le Thiec
fbe4fe251a Fix format prefill repetition 2023-02-22 19:32:25 +01:00
Lisa Durand
fddcce8b7b fix specs 2023-02-22 18:17:06 +01:00
Colin Darie
b245c3a8fa
Merge pull request #8669 from colinux/merge-queue
ci: enable merge queue (merge group)
2023-02-22 14:35:07 +01:00
Colin Darie
283804ec74 ci: enable merge queue (merge group) 2023-02-22 14:28:44 +01:00
Colin Darie
a0f828a9ba
Merge pull request #8674 from colinux/a11y-antivirus-role-status
fix(a11y/upload): role=status on progress antivirus & watermark
2023-02-22 14:11:10 +01:00
Colin Darie
fc6051a4b9 fix(a11y/upload): role=status on progress antivirus & watermark
Cf #8555
2023-02-22 14:03:55 +01:00
Colin Darie
e4af86fb96 fix(a11y): explication "lire plus" styled as button
Cf #8662
2023-02-22 12:56:31 +01:00
Sébastien Carceles
28c6fd8cfc
Improve EPCI specs (#8634)
* fix nonsense spec

* refactor spec
2023-02-22 09:16:58 +00:00
Eric Leroy-Terquem
1e39c9c703
Merge pull request #8396 from E-L-T/import-instructeurs-in-procedures-non-routees
feat(groupe_instructeurs): import instructeurs in unrouted procedures with a proper CSV
2023-02-22 09:56:42 +01:00
Paul Chavard
3c3629d151 refactor(instructeurs): add_instructeurs should add 2023-02-22 09:49:26 +01:00
Paul Chavard
302ddb9951 refactor(instructeurs): use add_instructeurs in import service 2023-02-22 09:49:26 +01:00
Paul Chavard
fcd0f7c609 bring back find_or_create_instructeurs 2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
d0c432d939 refactor(groupe instructeur): move method to Instructeur model 2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
7e97825fd2 refactor(instructeurs import service): use groupe_instructeur model methods 2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
d45efa99bc refactor(groupe_instructeurs): extract method for flash message at import 2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
25df48f255 feat(groupe_instructeurs): import instructeurs in unrouted procedure with a proper CSV 2023-02-22 09:49:26 +01:00
Eric Leroy-Terquem
3aa7793ed3 fix(groupe_instructeurs): can parse a monocolumn csv file 2023-02-22 09:49:26 +01:00
Colin Darie
e87bb24872
Merge pull request #8666 from colinux/fix-personnes-impliquees-combobox
fix(instructeurs): combobox layout in "personnes impliquees" tab
2023-02-21 18:28:02 +01:00
Colin Darie
8a3bb0c38e fix(instructeurs): combobox layout in "personnes impliquees" tab
Closes #8527
2023-02-21 18:20:30 +01:00
Damien Le Thiec
cc2ec995d6 Fix tests 2023-02-21 17:32:24 +01:00
LeSim
b9fad1ab00
Merge pull request #8667 from mfo/US/fix-attachement-edit-component-with-missing-attachement-delete-form
correctif(attachement_edit): ajoute le composant <form> pour supprimer un attachment via le nouveau <button>
2023-02-21 16:51:05 +01:00
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