Commit graph

20222 commits

Author SHA1 Message Date
Paul Chavard
a349893530
Merge pull request #8444 from colinux/fix-admin-procedure-detail
Fix: affichage du nombre d'admins d'une démarche sur la page "toutes les démarches"
2023-01-17 16:13:34 +01:00
Colin Darie
13479fc88e
fix(admin): display of procedure admins count 2023-01-17 16:02:08 +01:00
Colin Darie
dcd377b00b
Merge pull request #8435 from colinux/email-error-retry
fix(email): ré-essai si une erreur intervient à l'envoi
2023-01-17 14:32:05 +01:00
Colin Darie
6615165b2e refactor(mailer): extract dolist logic into its concern 2023-01-17 14:26:11 +01:00
Colin Darie
ae7e3cf887 fix: indentation 2023-01-17 14:26:11 +01:00
Colin Darie
ce7e674159 feat(mailer): make errors interceptable by jobs so they will retry
Comme on intercepte chaque `StandardError` pour le monitoring des mails
en erreur, l'erreur n'était plus visible par le job, et les emails
étaient perdus.

A la place on re-raise une autre erreur pour que le job échoue afin de
retry plus tard. Pour ne pas être "avalée" par le rescue_from,
cette erreur doit héritée d'`Exception` plutôt que `StandardError`.

NB: il faudrait parvenir à écrire un test pour vérifier ce comportement.

Pour être vérifié en dev, il faut activer `raise_delivery_errors`
comme en production.
2023-01-17 14:26:11 +01:00
Paul Chavard
1f31a6197e
Merge pull request #8438 from tchak/chore-remove-columns
chore(db): remove unused columns
2023-01-17 12:55:19 +01:00
Paul Chavard
dad393355b chore(db): remove unused columns 2023-01-17 12:49:22 +01:00
Colin Darie
30899803ae
Merge pull request #8373 from demarches-simplifiees/8205-home-remove-tags-presentation
8205 home remove tags presentation
2023-01-17 12:48:15 +01:00
Julie Salha
a2fe2bf4c6 fix error linter continous integration(2) 2023-01-17 12:41:29 +01:00
Julie Salha
fb09c49871 fix error linter continous integration 2023-01-17 12:41:29 +01:00
Julie Salha
96fbf70696 update styles number label 2023-01-17 12:41:29 +01:00
Julie Salha
deddd1fcbe update styles hero text responsive 2023-01-17 12:41:29 +01:00
Julie Salha
15f3fd4e73 remove br tags 2023-01-17 12:41:29 +01:00
Paul Chavard
ca4f597c13
Merge pull request #8439 from tchak/fix-graphql-dossier-n+1
fix(graphql): n+1 on single dossier loading
2023-01-17 11:43:23 +01:00
Paul Chavard
b5c189de63 fix(graphql): n+1 on single dossier loading 2023-01-17 11:23:21 +01:00
Paul Chavard
9db84cfd25
Merge pull request #8377 from tchak/use-coldwired
refactor(turbo): use @coldwired/actions
2023-01-16 21:48:14 +01:00
Paul Chavard
7f9414012e refactor(turbo): use @coldwired/actions 2023-01-16 21:40:10 +01:00
Paul Chavard
0d2da7bac9
Merge pull request #8429 from tchak/refactor-normalize-controller
refactor(js): add generic "format" controller
2023-01-16 21:31:11 +01:00
Paul Chavard
5f192f93e0 refactor(js): make generic format controller 2023-01-16 21:23:33 +01:00
Paul Chavard
bdd0ab0a22
Merge pull request #8430 from tchak/refactor-on-with-target
feat(stimulus): allow `on` with target
2023-01-16 16:55:16 +01:00
Paul Chavard
5ccf57b488 fix(js): use on instead of addEventListener to ensure cleanup 2023-01-16 16:37:36 +01:00
Paul Chavard
d16c490779 feat(stimulus): allow on with target 2023-01-16 16:37:36 +01:00
Paul Chavard
ab9f269c06
Merge pull request #8428 from tchak/refactor-more-autosave
refactor(js): more forms to use autosubmit controller
2023-01-16 16:07:56 +01:00
Paul Chavard
a0878ffde5 feat(turbo): prevent scroll on form submits 2023-01-16 15:59:43 +01:00
Paul Chavard
a9d4ff85e6 refactor(js): more autosubmit controllers 2023-01-16 15:59:43 +01:00
Paul Chavard
3ea02b182a
Merge pull request #8432 from tchak/feat-better-filters
feat(dossier): use select in filters by groupe instructeur
2023-01-16 15:59:10 +01:00
Paul Chavard
44488c7014 feat(dossier): use select in filters bygroupe instructeur 2023-01-16 14:00:08 +01:00
Colin Darie
dc222dc6be
Merge pull request #7484 from hadrienblanc/feat/6775
Chaque lien est-il explicite (hors cas particuliers) ?
2023-01-16 13:25:01 +01:00
Colin Darie
f02f9a13a8 fix(i18n): fix same typo with missing a word 2023-01-16 13:19:11 +01:00
Hadrien Blanc
2d19444b93
add 'pas' on the link title 2023-01-16 13:15:04 +01:00
Lisa Durand
eadd84bfb4 authorize follow and unfollow for all dossier states 2023-01-16 11:14:29 +01:00
Martin
0aba708b34 correctif(spec): associe le dossier suivis a l'instructeur du batch operation. sinon c'est un autre instructeur qui est crée 2023-01-16 11:14:29 +01:00
Lisa Durand
8fbb866aba fix component spec 2023-01-16 11:14:29 +01:00
Lisa Durand
db3085fa33 design : make filter buttons tertiary and dropdown secondary 2023-01-16 11:14:29 +01:00
Lisa Durand
06c6a4ab0c add action 'unfollow' to page 'suivis' 2023-01-16 11:14:29 +01:00
Lisa Durand
2f666b487e add action 'repasser en construction' to page 'suivis' 2023-01-16 11:14:29 +01:00
Paul Chavard
65e125b4ec
Merge pull request #8427 from tchak/fix-autosave-with-submitter
fix(js): fix submitter attributes not recognised by safari
2023-01-12 18:05:32 +01:00
Paul Chavard
f971a42e7d fix(js): fix submitter attributes not recognised by safari 2023-01-12 17:58:23 +01:00
Damien Le Thiec
5e26acb0e1
Make date and datetime prefillable (#8304)
* Make date and datetime prefillable

* Format in ISO8601 format
2023-01-12 17:42:02 +01:00
Damien Le Thiec
d5bfe84381
Nettoyage des dossiers préremplis abandonnés (#8341)
* Clean prefilled dossiers
2023-01-12 16:14:42 +01:00
François Vantomme
e794d4f77b
fix(procedure): deal nicely with custom NEW_MAX_DUREE_CONSERVATION 2023-01-12 14:37:54 +01:00
François Vantomme
d60d626a91
fix(procedure): use NEW_MAX_DUREE_CONSERVATION as number field max limit 2023-01-12 14:37:37 +01:00
mfo
82df012933
Merge pull request #8422 from tchak/chore-update-build-dependencies
chore(npm): update build dependencies
2023-01-12 12:40:00 +01:00
Paul Chavard
7f2a7e18d3 chore(npm): update build dependencies 2023-01-12 12:27:14 +01:00
Paul Chavard
40befbccc3
Merge pull request #8416 from tchak/stimulus-autosubmit
refactor(autosubmit): split and improuve autosubmit and turbo controller
2023-01-12 12:25:58 +01:00
Paul Chavard
c7c6d50df6 refactor(js): use autosubmit controller in procedure/all pages 2023-01-12 12:01:19 +01:00
Paul Chavard
289d48f697 refactor(js): use autosubmit controller in filter_component 2023-01-12 11:58:46 +01:00
Paul Chavard
5d7284b8da refactor(js): use autosubmit controller in notified_toggle_component 2023-01-12 11:58:46 +01:00
Paul Chavard
88866d0413 refactor(autosubmit): split and improuve autosubmit and turbo controller 2023-01-12 11:58:46 +01:00