Girish Ramakrishnan
dd3600b13c
test: fix groups test
2021-06-04 14:55:14 -07:00
Girish Ramakrishnan
9fa63b4ef8
acme: openssl -ext is not recognized on ubuntu 16
2021-06-04 14:54:39 -07:00
Girish Ramakrishnan
7bee7b9ef8
tokens: async'ify
2021-06-04 13:06:38 -07:00
Girish Ramakrishnan
593038907c
unbound: on ubuntu 16, sd_notify is not working
...
not clear, when unbound added support for this.
on ubuntu 16, unbound is 1.5.8.
on ubuntu 20, unbound is 1.9.4
2021-06-04 09:41:54 -07:00
Girish Ramakrishnan
64dcdb5e84
user cert may not exist
2021-06-03 22:51:28 -07:00
Girish Ramakrishnan
0208e3d3a2
test: make appstore-test use common.js
2021-06-03 22:39:26 -07:00
Girish Ramakrishnan
acfb4d8553
remove empty test file
2021-06-03 22:23:48 -07:00
Girish Ramakrishnan
d78df9405d
Fix dashboardFqdn not set correctly because of typo
2021-06-03 21:33:46 -07:00
Girish Ramakrishnan
4937cbbc0b
shell: add promises test
2021-06-03 19:36:37 -07:00
Girish Ramakrishnan
a0c4ef9d0f
more test fixes
2021-06-03 16:29:56 -07:00
Girish Ramakrishnan
8da4eaf4a3
fix tests
2021-06-03 16:08:39 -07:00
Girish Ramakrishnan
c90a9e43cf
Fix usage of eventlog.add
2021-06-03 11:42:32 -07:00
Girish Ramakrishnan
2c1bedd38a
delay is a normal dep on not dev dep
2021-06-03 10:11:29 -07:00
Girish Ramakrishnan
7aac4455a9
eventlog: async'ify
2021-06-01 16:37:32 -07:00
Girish Ramakrishnan
bdbda9b80e
transaction now returns a promise
2021-06-01 16:11:01 -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
380fe7c17a
domains: add vultr dns
2021-05-29 22:58:18 -07:00
Girish Ramakrishnan
9e7dd3f397
notifications: acknowledged can be null
2021-05-29 21:56:35 -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
3ba62f2ba1
mail: do not forward spam
2021-05-27 22:21:17 -07:00
Girish Ramakrishnan
9d664a7d7c
typo
2021-05-27 15:15:29 -07:00
Girish Ramakrishnan
b278056941
typo in backup filename
2021-05-27 15:08:51 -07:00
Girish Ramakrishnan
a34bdb9ddf
backups: fix mounting logic of backup settings and cloudron restore
2021-05-27 13:52:05 -07:00
Girish Ramakrishnan
98988202a1
sftp: make the key unreadble by group/others
2021-05-26 15:59:07 -07:00
Girish Ramakrishnan
0342865129
sieve: redirects do not do SRS
2021-05-26 15:22:10 -07:00
Girish Ramakrishnan
c605395885
app import: restore icon, tag, label, proxy configs etc
2021-05-26 09:49:00 -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
431e2a6ab9
clone: save app config
...
clone also clones the tags, labels and icon. this is not done for
restore or import since it's not clear if this is a good idea or not.
for example, if user had some custom tags and label set and then restores
to some old backup, is it expected to reset the labels and tags?
2021-05-26 09:03:05 -07:00
Girish Ramakrishnan
2fb6be81fc
cloudron-setup: check if box.service exists instead
2021-05-24 19:05:49 -07:00
Girish Ramakrishnan
0a5a24ba2e
add tryAddMount
...
we try to add a mount. if it fails, it will revert to the previous mount config.
there was a plan to make this work based on systemd-mount but we hit this bug - https://bugzilla.redhat.com/show_bug.cgi?id=1708996
2021-05-21 22:32:51 -07:00
Girish Ramakrishnan
59db625ad9
volumes: wait for mount during add/update
...
this is a better feedback mechanism for the user
2021-05-19 11:08:33 -07:00
Girish Ramakrishnan
449d6b2de4
add missing callback
2021-05-18 14:49:15 -07:00
Girish Ramakrishnan
91df8df92d
add alert for ubuntu 16
2021-05-18 14:48:01 -07:00
Girish Ramakrishnan
a5e34cf775
delete certs that have long expired (6 months)
...
fixes #783
2021-05-18 13:37:35 -07:00
Girish Ramakrishnan
76d0abae43
postgresql: set max conn limit per db
2021-05-18 09:04:29 -07:00
Johannes Zellner
1785b0352a
Add initial sshfs support
2021-05-18 17:27:32 +02:00
Girish Ramakrishnan
14bb928d41
backups: fix various mount issues
2021-05-17 22:58:40 -07:00
Girish Ramakrishnan
599b604dca
tests: make volumes routes test pass
2021-05-17 22:23:24 -07:00
Girish Ramakrishnan
c7474511aa
fix volume test
2021-05-17 16:23:37 -07:00
Girish Ramakrishnan
124954d490
migrate old providers as generic mountpoint provider
2021-05-17 13:23:32 -07:00
Girish Ramakrishnan
53dce1e7aa
users: rename createdAt to creationTime
2021-05-17 07:54:54 -07:00
Girish Ramakrishnan
2421536c23
add indexes for ORDER BY fields used in code
...
we hit ER_OUT_OF_SORTMEMORY with large tables
2021-05-17 07:06:11 -07:00
Girish Ramakrishnan
aae40f506b
backups: add mounting config
2021-05-14 15:27:07 -07:00
Girish Ramakrishnan
24dbf53c5d
fix error handling
2021-05-14 14:46:16 -07:00
Girish Ramakrishnan
a56766ab0e
ensure nss-lookup.target is hit after unbound starts
...
https://github.com/NLnetLabs/unbound/issues/296
this fixes volume hostname resolution on reboot
2021-05-14 12:07:05 -07:00
Girish Ramakrishnan
43642b2d60
volumes: better options for ext4
2021-05-14 11:38:32 -07:00
Girish Ramakrishnan
8cb7c8cd1c
volumes fixes
2021-05-14 10:26:57 -07:00
Girish Ramakrishnan
00cd10742f
cifs: set uid/gid
...
because the mode is 0777, we should be fine with any valid uid/gid
2021-05-14 10:08:44 -07:00
Girish Ramakrishnan
88a5526e9b
starttask: set NODE_OPTIONS instead of env -S
2021-05-14 09:36:00 -07:00
Girish Ramakrishnan
06b7cb962b
do not remove mount file if mountType was no-op
...
we might end up removing user's systemd file
2021-05-14 08:44:44 -07:00