Commit graph

17135 commits

Author SHA1 Message Date
Colin Darie
e63e4fc975 fix(sentry/rna): add error context when RNA schema failed 2023-01-11 12:30:02 +01:00
Colin Darie
820cb4bd27 fix(rna): some associations don't have date_publication
https://sentry.io/organizations/demarches-simplifiees/issues/3698792231/events/fde901fac5a44129adcafc891d59d086/?project=1429550
2023-01-11 12:30:02 +01:00
Paul Chavard
e6d5033184 clean(js): remove console 2023-01-11 12:11:55 +01:00
Paul Chavard
8283947e60 chore(npm): update dependencies 2023-01-11 12:11:55 +01:00
Paul Chavard
061a3e59ff
Merge pull request #8408 from tchak/fix-batch-operations-buttons
fix(dossier): disable buttons when selection is canceled
2023-01-11 12:11:18 +01:00
Paul Chavard
f17ae44952 fix(dossier): disable buttons when selection is canceled 2023-01-11 11:50:25 +01:00
LeSim
cc3053e707
Merge pull request #8401 from adullact/feature/faq-url
Substitution de la variable FAQ_URL par des locales
2023-01-11 11:37:30 +01:00
François Vantomme
08d276472b refactor(links): use localized FAQ URLs 2023-01-11 11:28:03 +01:00
François Vantomme
fe518fed8c refactor(links): move FAQ from footer to common scope 2023-01-11 11:28:03 +01:00
François Vantomme
faa5dda761 refactor(links): use FAQ URL locale everywhere 2023-01-11 11:28:03 +01:00
LeSim
ffeb2083f0
Merge pull request #8405 from E-L-T/add-field-to-prepare-routage-migration
Ajoute des colonnes nécessaires au déplacement du routage comme un type de champ
2023-01-11 11:27:37 +01:00
simon lehericey
bd3fbbce49 add schema and annotation 2023-01-11 11:19:24 +01:00
simon lehericey
28ab19e4f7 remove default value as it can cause lock and does not add value 2023-01-11 11:18:21 +01:00
Eric Leroy-Terquem
60cd9a5d0e add migrated champ routage to dossiers, procedures and procedure_revisions 2023-01-11 11:18:21 +01:00
LeSim
c44614e7cc
Merge pull request #8402 from adullact/fix/backfill-procedure-with-discarded
Backfill procedure with discarded
2023-01-11 11:07:48 +01:00
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