Commit graph

71 commits

Author SHA1 Message Date
Frederic Merizen
cce00e19c6 [#1972] Avoid passing unsaved templates to ActionMailer
So that all mail arguments can be serialized
2018-05-28 12:02:13 +02:00
Mathieu Magnin
aaf1bc0b99 [Fix #1931] User can ask support to delete dossier 2018-05-24 16:42:16 +02:00
simon lehericey
0b87944368 [#1915] Devise: avoid leaking registered people 2018-05-23 15:55:52 +02:00
simon lehericey
7fed476e29 Welcome Mailer: remove obsolete mailer 2018-05-23 15:55:52 +02:00
simon lehericey
5bd589344e Devise: confirm user email 2018-05-23 15:55:52 +02:00
Frederic Merizen
5ef129d960 [#1563] Remove attestation mail attachment 2018-05-09 10:42:40 +02:00
Mathieu Magnin
a2bbf1b4d6 [Fix #1907] A new token should be regenerated, because the one in db is encrypted 2018-05-04 14:23:05 +02:00
simon lehericey
bb4d29ee8f [fix #1855] Gestionnaire: are now invited to create their password 2018-04-27 14:10:06 +02:00
Frederic Merizen
ff3dc32de3 Do not send fake password to users upgraded to gestionnaires 2018-04-12 16:40:24 +02:00
Mathieu Magnin
f6d53be873 [Fix #1799] Send automatic emails to improve administrateur activation 2018-04-09 11:08:13 +02:00
simon lehericey
07c9830da0 [fix #1550] unify HS and activation mail, send doc as well 2018-03-27 18:09:27 +02:00
simon lehericey
289ddb5419 [fix #1670] Manager send the refused admin email 2018-03-27 16:02:09 +02:00
Frederic Merizen
2fa88a432b Add missing brackets around parameters in method definitions 2018-03-20 17:54:51 +01:00
gregoirenovel
092df8e8af Change a reply_to email address
equipe@ is an internal email address
2018-03-14 11:50:22 +01:00
gregoirenovel
be5849a7f5 Remove unneeded quotes 2018-03-05 19:21:20 +01:00
gregoirenovel
0af270faa0 tps.apientreprise.fr -> demarches-simplifiees.fr 2018-03-01 10:33:53 +01:00
gregoirenovel
fbe431f8dd Téléprocédures simplifiées -> demarches-simplifiees.fr 2018-03-01 10:33:53 +01:00
gregoirenovel
1b8b6a3274 TPS -> demarches-simplifiees.fr 2018-02-28 18:14:06 +01:00
Mathieu Magnin
0c6aa42f55 [Fix #1454] Send weekly overview emails async, overview param is not correctly serialized by activejob so it is computed again when email is send 2018-02-21 18:22:56 +01:00
Frederic Merizen
d919d62cf7 [Fix #1012] Send dossier to other accompagnateur 2018-02-01 16:58:01 +01:00
Paul Chavard
5a984a3637 Add admin invitation mailer 2018-01-16 10:49:07 +01:00
gregoirenovel
7c34807f46 Don’t use unless 2018-01-12 11:32:43 +01:00
Simon Lehericey
6f0c3ebc11 Whitelist: send the alert mail to equipe 2018-01-10 17:18:44 +01:00
Frederic Merizen
56749769d6 [Fix #1186] Rename object to subject for mail templates 2018-01-09 16:00:31 +01:00
simon lehericey
f1b7a03b63 [fix #1097] Add job to monitor procedures 2018-01-09 10:29:54 +01:00
simon lehericey
d7d5d7eff4 Rename new_admin_mailer to administration_mailer 2018-01-09 10:29:54 +01:00
Mathieu Magnin
fab00b1674 [Fix #1096] Add administration email in new administrateur email 2017-12-22 11:10:25 +01:00
Mathieu Magnin
a8ec374252 [Fix #813] When a brouillon is created, send an email to user 2017-10-20 12:13:55 +02:00
Mathieu Magnin
0f945e2fea Simplify mailer parameters to be serializable (even if mail_template.id is nil) 2017-10-13 21:27:17 +02:00
Simon Lehericey
fb50606680 Admin: remove useless data in admin creation mail 2017-06-30 17:21:41 +02:00
Simon Lehericey
149c1ba459 ProcedureOverview: change email title 2017-06-29 16:07:46 +02:00
Simon Lehericey
689d0c2dd7 ProcedureOverview: add layout 2017-06-29 16:07:46 +02:00
gregoirenovel
ba5d816ce6 [Fix #176] Delete useless new_assignement email 2017-06-26 10:49:42 +02:00
Simon Lehericey
e60ce35ae8 [Fix #196] Attestation: join the attestation to the closed mail
Add a upper limit to the attachment size as it could be a problem with Mailjet and receiver
(https://www.mailjet.com/support/what-is-the-size-limit-for-attachments-files-sent-via-mailjet,289.htm)

If the attestation cannot be sent, it is logged in sentry
2017-06-16 12:11:10 +02:00
gregoirenovel
82eb66cfe8 Enable the Layout/EmptyLinesAroundMethodBody cop 2017-06-13 10:35:33 +02:00
gregoirenovel
24e7537c49 Enable the Layout/EmptyLinesAroundClassBody cop 2017-06-13 10:35:32 +02:00
gregoirenovel
2a74207d15 you_are_invited_on_dossier -> avis_invitation
- shorter
- clearer
2017-06-12 10:53:59 +02:00
gregoirenovel
d3f4e0c210 Change the new admin account notification receiver 2017-06-08 15:03:55 +02:00
gregoirenovel
cb81610e60 Add brackets around arguments 2017-06-08 12:22:50 +02:00
gregoirenovel
23f5582907 Improve a variable name 2017-06-08 12:22:49 +02:00
Mathieu Magnin
efdac753c6 When an Avis is created an email is sent to the Gestionnaire 2017-05-29 11:44:28 +02:00
Simon Lehericey
5a794a8b9a GestionnaireMailer: add mailjet campaign tag 2017-05-23 17:12:18 +02:00
Simon Lehericey
8dabdcc6c4 GestionnaireMailer: add a last week report 2017-05-23 17:12:18 +02:00
gregoirenovel
8ba55a0d5d Mutualize the email address in a localised string 2017-05-12 16:53:03 +02:00
gregoirenovel
70f637f088 [Fix #198] Add a Commentaire when we send a Notification email to a user 2017-05-12 14:03:48 +02:00
gregoirenovel
84ae1a0c0b Change the email address we send emails with
Also add a display name, so that we don't show
just a dumb email address
2017-05-12 13:50:42 +02:00
gregoirenovel
e14d1a6c15 Remove useless from parameter in mailers
We already defined a default one in
ApplicationMailer
2017-05-12 13:50:41 +02:00
gregoirenovel
ddf02ccd6d Use a non-breaking space after the “numéro” contraction 2017-04-19 11:19:53 +02:00
gregoirenovel
aa41349f0c Lowercase the “n” of “numéro” contraction where needed 2017-04-19 11:19:53 +02:00
gregoirenovel
ba4ee68019 Use masculine ordinal indicator instead of the degree sign
It’s the right way to contract “numéro”

We should use the superscript lowercase o but
it’s hard to do in places where only raw text is
available
2017-04-19 11:19:53 +02:00