Girish Ramakrishnan
4962597f58
Remove forum message from installation notification
2025-09-25 08:31:16 +02:00
Girish Ramakrishnan
12e073e8cf
use node: prefix for requires
...
mostly because code is being autogenerated by all the AI stuff using
this prefix. it's also used in the stack trace.
2025-08-14 12:55:35 +05:30
Girish Ramakrishnan
c184f1e42e
mailer: handle error at the caller instead
...
the send test email logic breaks if we disable throwing error in send
2025-08-06 10:18:09 +02:00
Girish Ramakrishnan
0cf0c7a27c
notifications: add low disk space notification
2025-05-07 13:19:20 +02:00
Girish Ramakrishnan
12794a499d
domains: validate domain configs in a cron
...
no email notification yet, we have to rework this notifications/eventlog stuff
2025-02-17 19:11:11 +01:00
Girish Ramakrishnan
ac0426d97d
notification: update failure mail
2025-01-24 18:44:44 +01:00
Girish Ramakrishnan
0280059c13
notifications: server reboot email
2025-01-19 11:18:49 +01:00
Girish Ramakrishnan
8a97b7efa4
notifications: send unacked ones first
2025-01-02 16:50:31 +01:00
Girish Ramakrishnan
be340580d4
various notification fixes
2024-12-11 23:58:17 +01:00
Girish Ramakrishnan
d0d0913c70
notifications: add context field
2024-12-11 22:29:00 +01:00
Girish Ramakrishnan
701c25d07a
notifications: add back app down and app oom mails
2024-12-11 20:56:15 +01:00
Girish Ramakrishnan
6004cd17bf
notifications: per user email prefs
2024-12-11 19:12:20 +01:00
Girish Ramakrishnan
746e694d7e
notifications: rename alert to pin and unpin
2024-12-11 17:31:32 +01:00
Girish Ramakrishnan
ead419003b
notifications: rename ALERT_ to TYPE_
2024-12-11 15:29:20 +01:00
Johannes Zellner
9f06b91399
Merge remaining frontend into dashboard
2024-10-04 21:37:17 +02:00
Johannes Zellner
e91536b9e1
Alert() should also update type
2023-09-26 14:14:09 +02:00
Johannes Zellner
8f87070b45
Add color coded indicator to notifications
2023-09-26 12:58:19 +02:00
Johannes Zellner
b72a5e9c69
Add notification types
2023-09-22 17:58:13 +02:00
Johannes Zellner
246c45c1bc
Fixup logviewer URL for backup failed email
2023-08-26 09:36:17 +02:00
Girish Ramakrishnan
eee49a8291
move dashboard setting into dashboard.js
2023-08-11 21:04:10 +05:30
Girish Ramakrishnan
67ee82abb9
remove settings.dashboardOrigin
2023-08-04 22:10:14 +05:30
Girish Ramakrishnan
8205beeabf
notifications: make update alerts non-persistent
...
once acked, they remain acked. no need to keep nagging the user about them.
2023-03-26 15:12:39 +02:00
Girish Ramakrishnan
9182b01fe0
rework notifications.add
2023-03-26 14:43:10 +02:00
Girish Ramakrishnan
61ba3cbfc2
notifications: clearAlert
2023-03-26 14:18:37 +02:00
Johannes Zellner
fc8572c2af
Raise alert for when an app cannot be autoupdated
2022-08-10 12:19:54 +02:00
Girish Ramakrishnan
1549f6a4d0
fix various terminology in code
...
subdomain, domain - strings
location - { subdomain, domain }
bundle - { cert, key }
bundlePath - { certFilePath, keyFilePath }
vhost is really just for virtual hosting
fqdn for others
2022-07-13 10:15:09 +05:30
Girish Ramakrishnan
d47b39d90b
eventlog: distinguish install vs update finish
2022-04-01 14:19:53 -07:00
Girish Ramakrishnan
5ab2d9da8a
notifications: remove dead code
2021-11-17 10:26:47 -08:00
Girish Ramakrishnan
445c83c8b9
make auditsource a class
...
this allows us to use AuditSource for the class and auditSource for
the instances!
2021-09-30 10:13:36 -07:00
Girish Ramakrishnan
50c68cd499
notifications: better oom message for redis
...
fixes #795
2021-09-19 17:34:41 -07:00
Girish Ramakrishnan
dd16866e5a
eventlog: getAll -> list
2021-08-20 11:27:35 -07:00
Girish Ramakrishnan
4cd5137292
mailer: fix error handling
...
previous mailer code has no callback and thus no way to pass back errors.
now with asyncification it passes back the error
2021-08-19 12:40:53 -07:00
Johannes Zellner
a6e79c243e
Show correct/new app version info in updated finished notification
2021-07-31 14:17:51 +02:00
Girish Ramakrishnan
a1c61facdc
merge userdb.js into users.js
2021-07-16 22:33:22 -07:00
Girish Ramakrishnan
db685d3a56
notification: app updated message shown despite failure
2021-07-13 14:27:53 -07:00
Johannes Zellner
cdad2a80d4
Remove unused require
2021-06-30 17:19:30 +02:00
Girish Ramakrishnan
9c0f983ce1
backups: fix failure notitification
2021-06-24 01:44:46 -07:00
Girish Ramakrishnan
b24cf78bc0
certs: fix renewal notification
2021-06-24 01:12:33 -07:00
Girish Ramakrishnan
2b13593630
notifications: only send backup failure email on 3 consecutive fails
2021-06-24 00:48:59 -07:00
Girish Ramakrishnan
6da7218d34
certs: show daysLeft in the logs
2021-06-24 00:48:59 -07:00
Girish Ramakrishnan
54dec7ae08
notifications: delete obsolete alerts
2021-06-23 22:51:38 -07:00
Girish Ramakrishnan
e9ace613e2
cert: only inform user if renewal fails and only 10 days left
2021-06-01 09:09:16 -07:00
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
91df8df92d
add alert for ubuntu 16
2021-05-18 14:48:01 -07:00
Girish Ramakrishnan
44ac406e57
admin -> dashboard
2021-05-05 12:29:04 -07:00
Girish Ramakrishnan
d437acebe2
notifications: can also mark it as unread
2021-04-21 12:20:58 -07:00
Girish Ramakrishnan
bb3f9744fb
notifications: fix pagination of listByUserIdPaged
...
we have to filter in sql query, otherwise we don't get consistent per page count
2021-04-21 10:55:31 -07:00
Girish Ramakrishnan
fbceb67df9
notifications: remove app up/down
2021-04-21 10:55:31 -07:00
Girish Ramakrishnan
142af8e700
Fix notifications schema
2021-04-19 21:00:31 -07:00
Girish Ramakrishnan
0c8e0c4715
notifications: send backup fail only to owner
...
only superadmin has access to server and can adjust backup config
2021-04-19 20:57:10 -07:00