Girish Ramakrishnan
5145ea3530
Add supportConfig in database
2020-02-05 14:46:05 -08:00
Johannes Zellner
1fbbaa82ab
Generate the user invite link only in one location
2020-02-05 15:53:05 +01:00
Johannes Zellner
68b1d1dde1
Fixup account setup link
2020-02-05 15:21:55 +01:00
Girish Ramakrishnan
c9e96cd97a
custom: remove support section
2020-02-04 13:07:36 -08:00
Johannes Zellner
13d0491759
Send out new password reset link
2020-02-04 17:11:31 +01:00
Girish Ramakrishnan
b4874ec1f4
refactor getting mail auth
2019-11-05 19:54:53 -08:00
Girish Ramakrishnan
1a8496d61e
Move MailError to BoxError
2019-10-24 14:10:23 -07:00
Girish Ramakrishnan
a19662bdfa
Add a timeout for update as well
...
this will send a notification if an update gets stuck
2019-10-14 13:05:12 -07:00
Girish Ramakrishnan
9b74bb73aa
config.js is dead, long live config.js
...
we use settings now
2019-07-26 14:51:51 -07:00
Girish Ramakrishnan
a6ea12fedc
Make internal smtp port a constant
2019-07-25 16:08:54 -07:00
Johannes Zellner
1eedd4b185
Send changelog for updated app notifications
2019-06-12 17:15:02 +02:00
Girish Ramakrishnan
a54be69c96
rework custom configuration
2019-05-10 16:18:43 -07:00
Johannes Zellner
8b5bdf4e88
Remove all digest email code
2019-05-08 12:19:56 +02:00
Girish Ramakrishnan
a78cab36ab
Make support and alert email customizable
2019-05-07 11:30:12 -07:00
Johannes Zellner
a6ce5ce796
Do not callback early to avoid loosing emails
2019-05-07 14:22:51 +02:00
Johannes Zellner
8f677177f2
Add app update email
2019-05-07 12:04:28 +02:00
Johannes Zellner
ae5eb00bd0
Batch all available app updates in updatechecker
2019-05-06 22:09:18 +02:00
Johannes Zellner
61c059babe
Revert "Notify admins on app update"
...
We will instead create eventlog entries
This reverts commit 22efb96f66 .
2019-05-06 20:16:29 +02:00
Johannes Zellner
22efb96f66
Notify admins on app update
2019-05-06 17:14:02 +02:00
Girish Ramakrishnan
747359478d
Make send test mail functionality work with secondary domain
2019-04-15 16:58:39 -07:00
Girish Ramakrishnan
2f068c66d4
sendTestMail: return error
2019-04-15 16:54:25 -07:00
Girish Ramakrishnan
fa5415b1eb
get rid of mail queue
...
this prevents us from returning mail errors synchronously
2019-04-15 16:39:09 -07:00
Girish Ramakrishnan
ea092bda99
remove mail notification for apptask and process crash
...
only events are raised for these
2019-03-25 13:59:55 -07:00
Girish Ramakrishnan
6bdf2e38cc
remove query admins from mailer code
2019-03-10 16:28:17 -07:00
Girish Ramakrishnan
19ae55ebd4
Fixup backup failure and cert renewal email notification
...
in caas, we get an email copy for every admin on cloudron..
2019-03-10 15:53:22 -07:00
Girish Ramakrishnan
2d4b9786fa
box update is now an alert notification
2019-03-07 14:40:46 -08:00
Girish Ramakrishnan
e329360daa
backup notification now has a doc link and log link
2019-03-06 16:23:25 -08:00
Girish Ramakrishnan
c6b3d15d72
Fix some typos
2019-03-06 16:02:51 -08:00
Girish Ramakrishnan
b5a4121574
Better OOM notification messages
2019-03-06 14:47:24 -08:00
Girish Ramakrishnan
f6213595d1
move mailer notification of failed backups
...
this also removes the splatchError which is causing a crash because
of infinite recursion when backups fail (not sure why)
2019-03-04 15:01:30 -08:00
Girish Ramakrishnan
2236e07722
Send app up notification
...
Fixes #438
2019-02-11 12:58:33 -08:00
Johannes Zellner
d1a1f7004b
Do not send out emails for out of disk
...
We rely now on notifications. We should hover send emails about critical
new notifications. Lets make the admin go to the dashboard to check the
situation.
2019-02-09 11:57:31 +01:00
Johannes Zellner
abc867935b
Add backup configuration check together with out of disk check cron job
2019-02-06 15:47:56 +01:00
Girish Ramakrishnan
1db14c710b
always send emails from no-reply@dashboard domain
...
Fixes #614
2019-01-29 20:42:21 -08:00
Girish Ramakrishnan
bdbb9acfd0
lint
2019-01-10 10:51:31 -08:00
Johannes Zellner
14acdbe7d1
Use notifications api for unexpected process exits
2019-01-10 14:30:00 +01:00
Johannes Zellner
895280fc79
Remove unused function mailUserEventToAdmins()
2019-01-10 13:32:39 +01:00
Johannes Zellner
83ae303b31
Skip notifications for user actions against the same user
2019-01-10 13:21:26 +01:00
Johannes Zellner
cc81a10dd2
Add more notification/mailer wrapper
2019-01-10 12:00:04 +01:00
Girish Ramakrishnan
cbd3c60c5d
Use a relay token for no-reply emails
2018-12-28 13:32:59 -08:00
Johannes Zellner
5680fc839b
Send new user notification via notifications api
2018-12-17 17:35:19 +01:00
Girish Ramakrishnan
a3130c8aab
inviteLink is not available during user create anymore
2018-08-27 10:40:58 -07:00
Girish Ramakrishnan
6a1a697820
Split the invite route into two
2018-08-17 16:27:29 -07:00
Johannes Zellner
75f9b19db2
Ensure we uri encode the email query arguments for invite, reset and setup links
2018-07-04 11:09:29 +02:00
Girish Ramakrishnan
a958c01974
digest: drop the Cloudron prefix in the subject
2018-06-27 11:00:41 -07:00
Girish Ramakrishnan
7339c37b98
Fix invite link in userAdded notification
2018-06-12 20:08:59 -07:00
Girish Ramakrishnan
32e6b9024c
Add email query param to reset code path
...
This reduces any attack surface
2018-06-12 17:56:41 -07:00
Girish Ramakrishnan
ca500e2165
mailer: do not send notifications to fallback email
2018-05-30 09:26:59 -07:00
Girish Ramakrishnan
4fd58fb46b
Rename user.js to users.js
2018-04-29 11:19:04 -07:00
Girish Ramakrishnan
5af657ee22
rename mail crud functions
2018-04-03 15:06:14 -07:00