Commit graph

17609 commits

Author SHA1 Message Date
Colin Darie
6b011b8b44 chore(dolist): helper so we know if mail is sendable by API 2023-02-02 16:11:52 +01:00
Julie Salha
2db959531a optimization navigation accessibility 2023-02-02 16:04:42 +01:00
Colin Darie
6a3de1b57a chore(dolist): cache sender_id so we don't request it at each send 2023-02-02 16:02:27 +01:00
Colin Darie
9641a40ea7 chore(mailer): MailDeliveryError with original exception backtrace 2023-02-02 15:59:18 +01:00
Colin Darie
380a4232c6 fix(mailer): preview for DossierMailer#notify_new_draft 2023-02-02 15:58:53 +01:00
Colin Darie
7fa966548c fix(mailer): missing procedure logo for DossierMailer 2023-02-02 15:58:32 +01:00
Colin Darie
61cd9aa8c7 feat(dolist): send mail having attachments 2023-02-02 15:52:20 +01:00
Colin Darie
b0b7114c3b
feat: jsv support for primitives 2023-02-02 14:55:46 +01:00
Colin Darie
41c196f2ec
feat(dolist): send email from API
Co-authored-by: mfo <mfo@users.noreply.github.com>
2023-02-02 14:52:33 +01:00
LeSim
7c872be29c
Merge pull request #8548 from demarches-simplifiees/log_ip_and_correlation
feat(log): log ip et correlation id
2023-02-02 11:32:52 +01:00
simon lehericey
7461d84018 feat(log): log ip and correlation id 2023-02-02 11:20:05 +01:00
Sébastien Carceles
8fee658eba
migration: normalize regions (#8521) 2023-02-02 10:19:33 +00:00
Sébastien Carceles
6800bb8cec
migrate(champs): normalize departements (#8505)
* migration: normalize departements

* rename update_all methods to avoid collusions

* simplify scopes
2023-02-02 10:00:56 +00:00
Paul Chavard
d291a309df
Merge pull request #8546 from tchak/fix-rebase-repasse-en-instruction
fix(dossier): do not try to rebase if procedure is not published
2023-02-02 10:28:49 +01:00
Paul Chavard
2971100081 fix(dossier): do not try to rebase if procedure is not published 2023-02-02 10:11:46 +01:00
Paul Chavard
fc31ef6da3 chore(dossier): move concern spec to concern folder 2023-02-02 10:11:29 +01:00
Eric Leroy-Terquem
4a8b40544c
Merge pull request #8547 from E-L-T/8499-fix-breadcrumbs-in-instructeurs-show-page
fix(instructeurs): breadcrumbs with right wordings and links
2023-02-02 09:16:44 +01:00
Eric Leroy-Terquem
05a61d0cf2 fix(instructeurs): breadcrumbs with right wordings and links 2023-02-01 17:52:37 +01:00
Lisa Durand
3a82558c3f use super instead of run_at 2023-02-01 17:06:04 +01:00
Lisa Durand
120fbb0ef7 Overload the finished_at 2023-02-01 17:06:04 +01:00
Lisa Durand
d0a131dc55 change the way we set the finished_at on batch operation job to fix alert display bug 2023-02-01 17:06:04 +01:00
Paul Chavard
b93b8a7230
Merge pull request #8545 from tchak/fix-backfill_dossiers_repetitions
fix(task): improuve after party backfill_dossiers_repetitions
2023-02-01 16:16:03 +01:00
Paul Chavard
dd2d3d4626 fix(task): improuve after party backfill_dossiers_repetitions 2023-02-01 15:27:07 +01:00
Damien Le Thiec
e7c78321d9 Fix new failing tests 2023-02-01 13:35:32 +01:00
Damien Le Thiec
a4645855d3 Fix tests prefillable repetition 2023-02-01 12:02:09 +01:00
Paul Chavard
04bdb31796
Merge pull request #8543 from tchak/fix-procedure-tags-editor
fix(tags): can edit tags on published demarches
2023-02-01 11:19:05 +01:00
Paul Chavard
3ad5e7d3b9 fix(tags): can edit tags on published demarches 2023-02-01 11:11:04 +01:00
Colin Darie
301e88402f
Merge pull request #8542 from colinux/feat-procedure-hide-estimated-duration
Manager: permet de masquer l'estimation de durée de remplissage à la demande
2023-02-01 11:09:21 +01:00
Colin Darie
fa0f72aaba feat(procedure): hide estimated fill duration when super admin disabled it
Closes #8466
2023-02-01 11:02:55 +01:00
Colin Darie
8e35c0a465 feat(manager): can disable estimated duration visibility 2023-02-01 11:02:55 +01:00
Colin Darie
eb9cd90ee8 chore(schema): +procedure#estimated_duration_visible 2023-02-01 11:02:55 +01:00
Paul Chavard
44177db6d0
Merge pull request #8535 from tchak/fix-rebase-repetitions
fix(dossier): fix adding repetition in a new revision
2023-02-01 10:53:40 +01:00
Paul Chavard
8bf0d9c5ec fix(dossier): backfill missing repetition champs 2023-02-01 10:36:46 +01:00
Paul Chavard
9c83939431 fix(dossier): fix adding repetition in a new revision 2023-02-01 10:36:46 +01:00
Eric Leroy-Terquem
7dafe9d11f
Merge pull request #8484 from E-L-T/8459-add-revived-at-field-to-avis
feat(avis): display remind in instructor view
2023-02-01 10:02:42 +01:00
Eric Leroy-Terquem
b306dea5cf refactor(avis): rename revive by remind 2023-02-01 09:55:46 +01:00
Eric Leroy-Terquem
2475bb1098 feat(avis): add remind text in view 2023-02-01 09:55:46 +01:00
Eric Leroy-Terquem
004bf5be38 feat(avis): add remind_by! method 2023-02-01 09:55:46 +01:00
mfo
1d06656427
Merge pull request #8541 from mfo/fix-bad-invitations
correctif(invitations): reprise des donnees d'invitations en erreur pointant sur le mauvais model
2023-01-31 17:20:31 +01:00
Colin Darie
731a0e2f6e
Merge pull request #8540 from colinux/upload-error-firewall-hint
Upload: prévient qu'une erreur d'envoi peut être causée par un pare-feu bloquant l'envoi de fichiers
2023-01-31 17:16:47 +01:00
Martin
bf839d61a0 amelioration(data): re-associe les anciennes invitation avec un nouveau targeted_user_link pour concerver des données homogènes 2023-01-31 17:09:36 +01:00
Colin Darie
d5fe29f666 chore(upload): hint about firewall blocking file upload 2023-01-31 17:09:28 +01:00
Damien Le Thiec
5a7b740f58 Clean rubocop alerts 2023-01-31 17:06:00 +01:00
Damien Le Thiec
4a5e866974 Fix problem schema 2023-01-31 17:01:38 +01:00
Martin
70e3d5a30c correctif(invitations): reprise des donnees d'invitations en erreur pointant sur le mauvais model 2023-01-31 16:55:12 +01:00
Damien Le Thiec
4a07fd6223 Merge branch 'main' into feature/prefill_repetible 2023-01-31 16:49:40 +01:00
Damien Le Thiec
e1748a2666 Fix "see more" link for prefillable fields 2023-01-31 16:48:38 +01:00
mfo
3e085d94d2
Merge pull request #8539 from mfo/fix-targeted-user-link-inscoped-by-type
correctif(invitations): peuvent reférencer le mauvais usager
2023-01-31 16:40:20 +01:00
Damien Le Thiec
d7b01255fe Merge branch 'main' into feature/prefill_repetible 2023-01-31 16:39:00 +01:00
Martin
2edfcdd652 correctif(liens.invitations): utilise le mapping rails as: :target_model, sinon on requete uniquement par l'id du model, qui peut etre problématique en cas de relation polymorphiques avec des ensembles d'id se superposant 2023-01-31 16:33:31 +01:00