Commit graph

18480 commits

Author SHA1 Message Date
Colin Darie
e02ba7b07d chore(bundle): rails 6.1.7.1
https://rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released
2023-01-17 22:29:20 +01:00
Paul Chavard
4a78df87e8
Merge pull request #8446 from demarches-simplifiees/fix_instructeur_dossier_send
restreint le nombre d'instructeur invitable
2023-01-17 17:07:36 +01:00
simon lehericey
8e75b6ff77 fix(send_dossier): avoid leaking instructeur emails 2023-01-17 16:57:56 +01:00
Paul Chavard
ae3fb19c0e
Merge pull request #8447 from colinux/fix-email-event-wo-subject
fix(email-event): apparently mail subject could be null
2023-01-17 16:57:27 +01:00
Colin Darie
ef3546e9f1 fix(email-event): apparently mail subject could be null 2023-01-17 16:46:54 +01:00
Paul Chavard
bb6c53abaa fix(after_party): BatchUpdateDatetimeValueJob -> BatchUpdateDatetimeValuesJob 2023-01-17 16:40:34 +01:00
Paul Chavard
736527b946
Merge pull request #8443 from tchak/fix-after-party
fix(after_party): DateTimeChamp -> DatetimeChamp
2023-01-17 16:22:10 +01:00
Paul Chavard
cd22f106be fix(after_party): DateTimeChamp -> DatetimeChamp 2023-01-17 16:13:59 +01:00
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