Girish Ramakrishnan
b2856bc8e0
vultr: fix out of bounds access
2021-06-05 22:12:11 -07:00
Girish Ramakrishnan
b579f7ae90
better error messages for 401
2021-06-05 21:26:43 -07:00
Girish Ramakrishnan
eb16e8a8ee
eventlog: fix cleanup
2021-06-05 21:20:32 -07:00
Girish Ramakrishnan
579c046944
test: app token tests to api-test
2021-06-05 15:39:34 -07:00
Girish Ramakrishnan
b778f1e616
test: move server-test into provision-test
2021-06-05 15:26:35 -07:00
Girish Ramakrishnan
fe8358c3e3
test: remove tokendb from users-test
2021-06-05 15:14:07 -07:00
Girish Ramakrishnan
9c49ca5d2e
test: move the 2fa tests into profile
2021-06-05 10:43:41 -07:00
Girish Ramakrishnan
9e34a95732
postgresql: fix backup hogging connections
...
This fixes the "FATAL: remaining connection slots are reserved for non-replication superuser connections"
2021-06-05 09:43:53 -07:00
Girish Ramakrishnan
9228f0cc12
move around the export to avoid circular dep when running tests
2021-06-04 23:53:30 -07:00
Girish Ramakrishnan
ed7514e4ba
typo
2021-06-04 19:47:18 -07:00
Girish Ramakrishnan
ee7cddfbbc
acme: fix http challenge
2021-06-04 17:51:26 -07:00
Girish Ramakrishnan
cdbc51b208
openssl: older openssl (1.0.2g/ubuntu 16) requires distinguished_name
2021-06-04 16:48:56 -07:00
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