Commit graph

18270 commits

Author SHA1 Message Date
François Vantomme
f0ff364ed6 fix(migration): backfill procedure nil duree_conservation_etendue_par_ds 2023-01-11 11:00:43 +01:00
Colin Darie
ecd24378d6
Merge pull request #8403 from colinux/fix-balancer-mailer-observers
fix(mailers): observers for balancer and balanced delivery methods
2023-01-11 09:44:13 +01:00
Colin Darie
05b517a847
fix(mailer): observers on balancer and balanced delivery methods
- Les observers doivent être déclarés *avant*
  le chargement de nos delivery methods (Sendinblue & Dolist),
  sinon ils seront ignorés par ces derniers

- dans le balancer, on ne peut pas appeler `.deliver` une seconde fois,
  sinon les observers (et interceptors) sont invoqués deux fois.
2023-01-11 00:57:16 +01:00
Paul Chavard
1766288c51
Merge pull request #8365 from tchak/feat-graphql-groupe-instructeurs-mutations
feat(graphql): implement add/remove instructeurs via API
2023-01-10 21:21:25 +01:00
Paul Chavard
afc1f12028 feat(graphql): implement add/remove instructeurs via API 2023-01-10 20:33:35 +01:00
Paul Chavard
0557b84eed feat(graphql): expose current_administrateur when using new tokens 2023-01-10 20:07:38 +01:00
Paul Chavard
341311cd7f
Merge pull request #8390 from tchak/refactor-repetitions-row-id-use
refactor(repetition): use row_id instead of row
2023-01-10 19:40:07 +01:00
Paul Chavard
af33d5d65c refactor(repetition): use row_id instead of row 2023-01-10 19:31:41 +01:00
Paul Chavard
8adada9857
Merge pull request #8385 from tchak/feat-batches-by-possible-operation
feat(batch_operation): enable only available operations
2023-01-10 19:18:52 +01:00
Paul Chavard
77a0033b3e feat(batch_operation): enable only available operations 2023-01-10 19:03:32 +01:00
Lisa Durand
7abf51ca81 split filter in 2 partials too display filters tags on its own div to have more spaces 2023-01-10 18:05:23 +01:00
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