Girish Ramakrishnan
b570f2f77d
userdirectory: add eventlog entry
2024-06-12 10:52:10 +02:00
Girish Ramakrishnan
4136272382
externalldap: add eventlog
2024-01-13 13:22:26 +01:00
Girish Ramakrishnan
a389b863f9
directory server: add eventlog entry
2024-01-13 12:24:28 +01:00
Girish Ramakrishnan
44be454a1e
system: return activation time if we have it
2023-12-04 01:41:56 +01:00
Girish Ramakrishnan
d2c702f890
eventlog: always use AuditSource objects as source field
2023-08-28 08:13:56 +05:30
Girish Ramakrishnan
ff539e2669
remove crashnotifier
...
it's not really used
2023-05-15 11:08:00 +02:00
Girish Ramakrishnan
edf87739fc
eventlog: only prune login and logout events
2023-02-25 01:20:43 +01:00
Girish Ramakrishnan
89127e1df7
reverseproxy: rework cert logic
...
9c8f78a059 already fixed many of the cert issues.
However, some issues were caught in the CI:
* The TLS addon has to be rebuilt and not just restarted. For this reason, we now
move things to a directory instead of mounting files. This way the container is just restarted.
* Cleanups must be driven by the database and not the filesystem . Deleting files on disk or after a restore,
the certs are left dangling forever in the db.
* Separate the db cert logic and disk cert logic. This way we can sync as many times as we want and whenever we want.
2022-11-29 11:07:23 +01:00
Johannes Zellner
6715efca50
Distinguish ghost/impersonate logins from others
2022-07-29 20:39:18 +02:00
Girish Ramakrishnan
d47b39d90b
eventlog: distinguish install vs update finish
2022-04-01 14:19:53 -07:00
Girish Ramakrishnan
a662a60332
eventlog: add event for certificate cleanup
2022-02-24 19:55:43 -08:00
Girish Ramakrishnan
e71d932de0
eventlog: add Json suffix to json fields
2021-11-17 12:31:46 -08:00
Johannes Zellner
9eed3af8b6
add volume remount
2021-10-11 16:22:56 +02:00
Girish Ramakrishnan
092b55d6ca
apps: add backup start and finish events
...
these can then be used by the UI to show errors
fixes #797
2021-09-30 11:44:11 -07:00
Girish Ramakrishnan
d90beb18d4
eventlog: add service rebuild/restart/configure events
2021-09-24 10:22:45 -07:00
Girish Ramakrishnan
167eae5b81
Use safe instead of try/catch
2021-09-01 15:37:04 -07:00
Girish Ramakrishnan
dd16866e5a
eventlog: getAll -> list
2021-08-20 11:27:35 -07:00
Girish Ramakrishnan
eb16e8a8ee
eventlog: fix cleanup
2021-06-05 21:20:32 -07:00
Girish Ramakrishnan
7aac4455a9
eventlog: async'ify
2021-06-01 16:37:32 -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
098cff08f7
make import a task of it's own
...
this allows us to distinguish it in the eventlog and apptask logic
2021-05-26 09:27:15 -07:00
Girish Ramakrishnan
199eda82d1
Use Array.isArray instead
2021-05-02 11:26:47 -07:00
Girish Ramakrishnan
d15aa68bd7
eventlog: only merge ldap login events (and not dashboard)
...
fixes #758
2021-01-06 22:09:37 -08:00
Girish Ramakrishnan
624e34d02d
eventlog: add logout
...
fixes #757
2021-01-06 21:57:56 -08:00
Girish Ramakrishnan
6a3df679fa
Add volume management
...
the volumes table can later have backup flag, mount options etc
2020-10-28 15:31:21 -07:00
Girish Ramakrishnan
08f33f0e78
Add mail location audit log
2020-09-09 22:31:50 -07:00
Girish Ramakrishnan
2cdf68379b
Revert "add volume support"
...
This reverts commit b8bb69f730 .
Revert this for now, we will try a simpler non-object volume first
2020-04-27 22:55:43 -07:00
Girish Ramakrishnan
b8bb69f730
add volume support
...
part of #668 , #569
2020-04-24 22:09:07 -07:00
Girish Ramakrishnan
1b15d28212
eventlog: add start/stop/restart logs
2020-03-19 17:02:55 -07:00
Girish Ramakrishnan
0e156b9376
migrate permissions and admin flag to user.role
2020-02-21 16:49:20 -08:00
Girish Ramakrishnan
cda649884e
eventlog: add mailbox and list update events
2020-01-24 17:18:34 -08:00
Girish Ramakrishnan
93199c7f5b
eventlog: support ticket and ssh
2019-12-16 14:06:55 -08:00
Girish Ramakrishnan
02339d503c
do not re-generate DATABASE_ERROR
2019-10-24 20:31:45 -07:00
Girish Ramakrishnan
a017af41c5
Start moving db code to use BoxError as well
2019-10-24 14:09:53 -07:00
Girish Ramakrishnan
9842b6d4a1
Move EventLogError to BoxError
2019-10-22 13:59:01 -07:00
Girish Ramakrishnan
4e47d0595d
Remove ACTION_BACKUP_CLEANUP_START
2019-09-27 09:43:40 -07:00
Girish Ramakrishnan
9a22ba3af7
Add repair route
...
this is specifically for the case where some task failed and user
wants to get it back.
2019-09-19 23:13:44 -07:00
Girish Ramakrishnan
be6b172d6f
Remove app task eventlog
2019-08-28 13:24:05 -07:00
Girish Ramakrishnan
49cfd1e9b7
Add notification for box update
...
Fixes #634
2019-08-04 05:44:04 -07:00
Johannes Zellner
b536c8196b
Create app updated eventlog entry and notification
2019-05-07 12:04:43 +02:00
Johannes Zellner
bb7cac4855
Add event log entries for app task lifecycle
2019-05-07 11:26:26 +02:00
Girish Ramakrishnan
e93b95bee8
move the switch case to notifications
...
this way we don't need to export all the functions
2019-02-28 11:38:16 -08:00
Girish Ramakrishnan
4b559a58d1
Fix use of source object
2019-02-12 16:41:46 -08:00
Girish Ramakrishnan
2236e07722
Send app up notification
...
Fixes #438
2019-02-11 12:58:33 -08:00
Johannes Zellner
7dc3fb9854
Only upsert login events
2019-02-05 15:27:43 +01:00
Girish Ramakrishnan
7e6ce1a1ef
Add event to track dashboard update
2019-02-04 20:42:28 -08:00
Girish Ramakrishnan
8aec71845b
Add missing else
2019-01-25 10:49:00 -08:00
Johannes Zellner
e2fadebf64
Rename notifications.unexpectedExit() to notifications.processCrash()
2019-01-19 13:31:31 +01:00
Johannes Zellner
d3331fea7f
Send emails for apptask crash
2019-01-19 13:30:24 +01:00
Johannes Zellner
ed7a7bc879
Use eventlog directly for apptask crashes
2019-01-19 13:23:18 +01:00