Commit graph

20259 commits

Author SHA1 Message Date
Lisa Durand
d856969790 add a bit of logic to display batch buttons : if more than 3 we group them in a dropdown 2023-01-10 18:05:23 +01:00
mfo
eeb9fdcb46
Merge pull request #8393 from mfo/US/fix-missing-dossier-preload
amelioration(instructeurs/dossiers#show): supprime le double chargement des champs et annotations privées
2023-01-10 17:49:40 +01:00
Martin
0ef46b6f07 amelioration(instructeurs/dossiers#show): supprime le double chargement des champs et annotations privées 2023-01-10 17:36:05 +01:00
Paul Chavard
bdc5bb8480
Merge pull request #8399 from adullact/fix/archive-flash-typo
Correction d'une typo sur le message flash des archives
2023-01-10 17:34:25 +01:00
François Vantomme
0e3fe055e4
fix(archive): typo on flash notice 2023-01-10 17:23:48 +01:00
Colin Darie
79537a8a99
Merge pull request #8398 from colinux/sentry-ignore-password-error
chore(sentry): ignore error on password input with password manager
2023-01-10 16:31:14 +01:00
Colin Darie
e501750fb4 chore(sentry): ignore error on password input with password manager 2023-01-10 16:22:43 +01:00
Colin Darie
4cfe9a5c13
Merge pull request #8389 from colinux/email-events
Email events: premières briques pour un monitoring — emails dispatchés par ActionMailer
2023-01-10 16:22:19 +01:00
Colin Darie
d563a4fa66 feat(manager): email events with collection filters of delivery methods 2023-01-10 16:07:35 +01:00
Colin Darie
d58e6a2f9c refactor(email): remove pseudonymization, it will be done at dump-time 2023-01-10 16:07:35 +01:00
Colin Darie
d911bc02c0 refactor(mailer): set dolist header in DeviseUserMailer 2023-01-10 16:07:35 +01:00
Colin Darie
5ae5de0d9c refactor(email): log event when error occurs before recipients was set 2023-01-10 16:07:35 +01:00
Colin Darie
1f51267b25 chore(manager): link email users to events 2023-01-10 16:07:35 +01:00
Colin Darie
b9c1799e60 refactor(mailer): shared error concern 2023-01-10 16:07:35 +01:00
Colin Darie
812376cfb2 fix(manager): default resource order 2023-01-10 16:07:35 +01:00
Colin Darie
22e2749357 chore(manager): basic dashboard for EmailEvents 2023-01-10 16:07:35 +01:00
Colin Darie
0a22c1d2f0 chore(email): log smtp errors 2023-01-10 16:07:35 +01:00
Colin Darie
6cb2389eef chore(email): add an observer which log the emails dispatched 2023-01-10 16:07:35 +01:00
Colin Darie
07167cead9 chore(schema): create email_events 2023-01-10 16:07:35 +01:00
Colin Darie
e488f52ca0
Merge pull request #8391 from colinux/conditional-perf
fix: gros gain de perf sur l'affichage des dossiers avec beaucoup de conditionnel
2023-01-10 11:52:27 +01:00
Colin Darie
0a890acc33 fix(conditional): huge perf improvement by caching champ visibility
Hyper nécessaire lorsqu'il y a des champs qui dépendent d'autres champs
en cascade.

Co-authored-by: simon lehericey <mail@simon.lehericey.net>
Co-authored-by: mfo <martin@sharypic.com>
2023-01-10 11:41:08 +01:00
Paul Chavard
f262ac4cf3
Merge pull request #8384 from tchak/refactor-procedure-detail-toggle
refactor(demarches): use turbo_stream template
2023-01-10 10:04:28 +01:00
Paul Chavard
5128b9a086 refactor(demarches): use turbo_stream template 2023-01-10 09:48:32 +01:00
mfo
07001e8866
Merge pull request #8387 from demarches-simplifiees/US/fix-missing-dossier-preload
fix(instructeurs/dossier#show): missing preload on dossier
2023-01-10 09:38:23 +01:00
Martin
0ce293d2e0 fix(instructeurs/dossier#show): missing preload on dossier 2023-01-09 14:29:47 +01:00
Lisa Durand
67c104c8eb affiner le scope 2023-01-09 11:58:51 +01:00
Lisa Durand
25a7fa5a34 add bulk action 'follow' 2023-01-09 11:58:51 +01:00
Sébastien Carceles
177dec2bdb
feat(dossier): add dossier id to prefill response (#8382) 2023-01-06 13:46:27 +00:00
Paul Chavard
88518fed49
Merge pull request #8375 from tchak/refactor-simplify-batch-submit
refactor(batch): simplify stimulus controller
2023-01-06 14:34:27 +01:00
Paul Chavard
416550c6ea refactor(batch): simplify stimulus controller 2023-01-06 14:25:46 +01:00
Paul Chavard
7dc1d91530
Merge pull request #8383 from tchak/fix-rebase-drop-down-options
fix(dossier): fix rebase with drop down options
2023-01-06 14:22:00 +01:00
Paul Chavard
5a4cefc5c5 fix(dossier): fix rebase with drop down options 2023-01-06 14:15:46 +01:00
Sébastien Carceles
06b8a0f734
feat(dossier): prefill boolean champs (#8381) 2023-01-06 14:01:59 +01:00
mfo
3dbfd81d95
Merge pull request #8380 from mfo/US/PiecesJustificativesService.safe_attachment
fix(PiecesJustificativesService.safe_attachment): utilise la nouvelle API pour comparer le resultat du scan antivirus
2023-01-06 11:08:49 +01:00
Martin
1944624082 fix(PiecesJustificativesService.safe_attachment): utilise la nouvelle API pour comparer le resultat du scan antivirus 2023-01-06 10:54:27 +01:00
Paul Chavard
3319eddd45
Merge pull request #8376 from demarches-simplifiees/dependabot/npm_and_yarn/json5-2.2.3
chore(deps): bump json5 from 2.2.1 to 2.2.3
2023-01-05 20:59:05 +01:00
dependabot[bot]
ae2fe57b9d
chore(deps): bump json5 from 2.2.1 to 2.2.3
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 17:21:09 +00:00
Paul Chavard
28b4df502e
Merge pull request #8295 from tchak/refactor-repetitions-row-id
refactor(repetition): add row_id to champs
2023-01-05 18:20:43 +01:00
Paul Chavard
dfe65136be refactor(repetition): add row_id to champs 2023-01-05 18:04:54 +01:00
Paul Chavard
5a7b2f76ee
Merge pull request #8374 from tchak/fix-graphql-departements
fix(graphql): fix departements with alphanumeric codes
2023-01-05 17:41:11 +01:00
Paul Chavard
940f8c0474 fix(graphql): fix departements with alphanumeric codes 2023-01-05 17:33:03 +01:00
Lisa Durand
5a4a5d89fd remove highlight paragraph from the fluid container 2023-01-05 17:22:53 +01:00
Lisa Durand
b65a3d4baf puts filters in span to display correctly multiples filters 2023-01-05 17:22:53 +01:00
Lisa Durand
080747f60b reorganise multiple buttons on top of table from instructeur procedure view 2023-01-05 17:22:53 +01:00
Lisa Durand
4afb873afc feedbacks from Martin 2023-01-05 16:20:18 +01:00
Martin
3918757dc9 correctif(test): desormais l'association batch_operations.groupe_instructeurs passe par le dossier. Mise a jour des tests 2023-01-05 16:20:18 +01:00
Martin
018a94f43b correctif(batch_operation): empeche de changer l'etat d'un dossier en cas d'erreur. et s'assure de delinker le dossier en cas de dossier invalid 2023-01-05 16:20:18 +01:00
Lisa Durand
8df0147fd1 fix linter 2023-01-05 16:20:18 +01:00
Lisa Durand
7fcc892398 imrpove dropdown bulk action style 2023-01-05 16:20:18 +01:00
Lisa Durand
1ecdf5f544 remove manipulating checkbox with JS and set just one form instead of 2 2023-01-05 16:20:18 +01:00