Girish Ramakrishnan
73917e95c9
rework notifications
...
notifications are now system level instead of user level.
To clarify the use events/notifications/email:
* eventlog - everything that is happenning on server
* notifications - specific important events (alerts)
* email - these are really urgent things that require immediate attention. this is for
the case where an admin does not visit the dashboard often. can also be alerts like
bad backup config or reboot required which are not events per-se.
Notes on notifications
* oom - notification only
* appUpdated - notification only
* cert renewal failure - only raise when < 10 days to go. also send email thereafter (todo).
* Backup failure - only if last 5 backups failed (todo).
* Box update - notification only. we anyway send newsletter.
* box update available - we raise a notification. no email.
* app update available - we already have update indicator on dashboard. so, no notification or email.
Alerts:
* backup config
* disk space
* mail status
* reboot
* box updated
* ubuntu update required
2021-05-28 15:29:53 -07:00
Girish Ramakrishnan
64414eb932
new login mail: minor adjustments to text
2021-04-30 12:01:57 -07:00
Johannes Zellner
549b2f2a6b
Improve new login location email
2021-04-30 16:20:50 +02:00
Johannes Zellner
61e51c7875
Send new login location notification mail
2021-04-21 16:14:49 +02:00
Girish Ramakrishnan
355de5b0a4
notifications: fix update notification
...
the notification wasn't working because this was in apptask and the apptask died
before it could send out the email. we now move the notification to box process
and also remove the email notification.
2021-04-19 15:14:04 -07:00
Girish Ramakrishnan
ef476f74bf
notifications: no email for app up/down/oom events
...
emails will not be used for self monitoring events. these are best done
from the outside. we just log everything in eventlog and raise notifications
as well.
2021-04-15 15:29:25 -07:00
Girish Ramakrishnan
353369c1e9
mailer: make oom mail contain link to dashboard instead of docs
2021-01-02 12:26:34 -08:00
Girish Ramakrishnan
8ddc72704e
no need to bold version
2020-12-29 17:56:41 -08:00
Girish Ramakrishnan
28dee54a39
updates: only send email notifications when not auto-updating
...
fixes #749
2020-12-29 17:47:51 -08:00
Girish Ramakrishnan
ac6c9e9b15
hasSubscription is always true
...
dashboard has logic for showing popup
2020-12-21 15:25:24 -08:00
Girish Ramakrishnan
9683bb6408
remove email notification for user add/remove
...
it's just very noisy. we anyway raise notifications
2020-12-21 08:45:18 -08:00
Johannes Zellner
84c1703c1a
Translate password reset email
2020-11-20 16:18:24 +01:00
Johannes Zellner
f324d50cef
Translate welcome mail
2020-11-20 16:10:13 +01:00
Johannes Zellner
fb4ba5855b
Make emails translatable
2020-11-20 00:43:12 +01:00
Johannes Zellner
fbe5f42536
Split welcome email between html and text version
2020-11-19 22:29:29 +01:00
Girish Ramakrishnan
933918ea27
Fix docs url
2020-09-15 14:46:22 -07:00
Girish Ramakrishnan
4d5715188d
Increase invite link expiry to a week
2020-07-28 14:19:19 -07:00
Girish Ramakrishnan
ddeee0c970
Add note that links expire in 24 hours
2020-07-16 15:17:51 -07:00
Girish Ramakrishnan
122ec75cb6
Fix links
2020-05-29 19:10:42 -07:00
Johannes Zellner
1fbbaa82ab
Generate the user invite link only in one location
2020-02-05 15:53:05 +01: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
Johannes Zellner
1eedd4b185
Send changelog for updated app notifications
2019-06-12 17:15:02 +02:00
Johannes Zellner
9d38edfe95
Update the emaildevelop test template data
2019-06-12 17:14:58 +02:00
Girish Ramakrishnan
122a966e72
No exclamation
2019-05-30 12:17:47 -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
b536c8196b
Create app updated eventlog entry and notification
2019-05-07 12:04:43 +02:00
Johannes Zellner
d5f58eea34
Fix ejs and add update url
2019-05-06 22:44:46 +02:00
Johannes Zellner
ae5eb00bd0
Batch all available app updates in updatechecker
2019-05-06 22:09:18 +02:00
Johannes Zellner
a4e4d30d5d
Make app fqdn a clickable link
2019-05-06 17:59:48 +02: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
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
5e8a431a92
Add doc link for cert renweal error
2019-03-06 16:17:56 -08:00
Girish Ramakrishnan
cd3f21a92e
Add doc links for the app down mail
2019-03-06 16:14:24 -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
Johannes Zellner
20c0deeac4
Improve digest email
2019-02-27 12:06:01 +01:00
Girish Ramakrishnan
c7538a35a2
Do not escape link
2019-02-14 19:36:59 -08:00
Girish Ramakrishnan
458658a71b
Email gets encoded in plain text email
...
Unbuffered code for conditionals etc <% code %>
Escapes html by default with <%= code %>
Unescaped buffering with <%- code %>
2019-02-14 19:30:02 -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
14acdbe7d1
Use notifications api for unexpected process exits
2019-01-10 14:30:00 +01:00
Girish Ramakrishnan
a3130c8aab
inviteLink is not available during user create anymore
2018-08-27 10:40:58 -07:00
Johannes Zellner
17410c9432
Remove notes about updates only on paid plan for the digest
2018-07-04 10:59:17 +02:00
Girish Ramakrishnan
68317a89cb
remove the analytics hooks
2018-04-30 15:33:25 -07:00
Girish Ramakrishnan
074c6fdba3
More renaming to forum
2018-03-08 10:50:18 -08:00
Johannes Zellner
48d557b242
Replace alternateEmail with fallbackEmail
2018-01-21 14:50:24 +01:00
Johannes Zellner
77206a9d3c
Remove fqdn usage from all email templates
2018-01-19 18:56:52 +01:00
Girish Ramakrishnan
4272d5be8a
Send feedback via API
...
Fixes #484
2017-11-15 23:31:13 -08:00