Girish Ramakrishnan
ea430b255b
make the tests work
2021-06-29 11:01:46 -07:00
Girish Ramakrishnan
31498afe39
async'ify the groups code
2021-06-29 09:08:45 -07:00
Girish Ramakrishnan
7009c142cb
6.3.4 changes
...
(cherry picked from commit 700a7637b6 )
2021-06-28 12:09:41 -07:00
Girish Ramakrishnan
c052882de9
reverseproxy: remove any old dashboard domain configs
2021-06-27 08:58:33 -07:00
Girish Ramakrishnan
e7d9af5aed
users: asyncify and merge userdb.del
2021-06-26 10:13:21 -07:00
Girish Ramakrishnan
147c8df6e3
async'ify avatar and apppassword code
2021-06-25 23:32:21 -07:00
Girish Ramakrishnan
31d742fa67
fix sporadic ETIMEDOUT
...
it seems when docker is busy deleting images, we get a ETIMEDOUT.
the default was 10000.
2021-06-25T22:18:32.324Z box:apps BoxError: connect ETIMEDOUT
at /home/yellowtent/box/src/settingsdb.js:26:36
at Query.queryCallback [as _callback] (/home/yellowtent/box/src/database.js:96:42)
v6.3.3
2021-06-25 16:46:49 -07:00
Girish Ramakrishnan
dd5737f948
mail: enable editheader sieve extension and upgrade solr
2021-06-25 16:38:44 -07:00
Girish Ramakrishnan
50d7610bfd
cloudron-support: createdAt -> creationTime
2021-06-25 12:51:42 -07:00
Girish Ramakrishnan
e51dd8f530
installer: prepare apt before installing more packages
...
currently, this is only prepared when needed because don't want this
to happen on every update
2021-06-25 12:14:24 -07:00
Girish Ramakrishnan
56c54f1ab1
volume: add filesystem type
dashboard-v6.3.4
dashboard-v6.3.3
2021-06-25 10:21:09 -07:00
Girish Ramakrishnan
bad6e39d59
volume: add filesystem type for shared folders
...
rename noop to mountpoint
2021-06-25 10:12:28 -07:00
Girish Ramakrishnan
1ce4875db1
volumes: set hostPath based on volume id
...
this is required for the file browser to work which does operations
based on the id
fixes #789
v6.3.2
2021-06-24 17:32:41 -07:00
Girish Ramakrishnan
da0c07ff33
remove hardcoded hostPath
...
this is now moved to the backend since hostPath now relies on the
volume id (for the filemanager to work)
dashboard-v6.3.2
2021-06-24 16:59:13 -07:00
Girish Ramakrishnan
097a7d6b60
sftp: rework appdata and volume mounting logic
...
this tries to solve two issues:
* the current approach mounts the data directories of apps/volumes individually.
this causes a problem with volume mounts that mount after the container is started i.e not
network time/delay but systemd ordering. With CIFS, the mount is a hostname. This requires
unbound to be running but unbound can only start after docker because it wants to bind to
the docker network. one way to fix is to not start sftp automatically and only start sftp
container in the box code. This results in the sftp container attaching itself of the
directory before mounting and it appears empty. (on the host, the directory will appear
to have mount data!)
* every time apptask runs we keep rebuilding this sftp container. this results in much race.
the fix is: mount the parent directory of apps and volumes. in addition, then any specialized appdata
paths and volume paths are mounted individually. this greatly minimized rebuilding and also since we don't rely
on binding to the mount point itself. the child directories can mount in leisure. this limits the race
issue to only no-op volume mounts.
part of #789
2021-06-24 16:51:58 -07:00
Girish Ramakrishnan
87b2b63043
sshfs: add StrictHostKeyChecking=no so that it can connect the first time
2021-06-24 15:10:00 -07:00
Girish Ramakrishnan
9b882499e8
sshfs: move the port near the server address
2021-06-24 15:04:51 -07:00
Girish Ramakrishnan
0b0d552f58
Fix usage of execSync
...
important thing is to not use encoding: 'utf8' because in that case
it will return a string instead of a Buffer object. '' is false but
Buffer() is not.
2021-06-24 12:59:47 -07:00
Johannes Zellner
4d2d04c232
Fix app update badge
2021-06-24 19:17:52 +02:00
Girish Ramakrishnan
5437291177
add to changes
2021-06-24 09:09:39 -07:00
Girish Ramakrishnan
78754f943d
read avatar as binary and not base64
2021-06-24 09:09:08 -07:00
Girish Ramakrishnan
27db2c6855
Fix cert migrations
v6.3.1
2021-06-24 08:30:51 -07:00
Girish Ramakrishnan
9c0f983ce1
backups: fix failure notitification
v6.3.0
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
7d3270e51a
notifications: do not jump json blob for out of disk space
2021-06-23 23:41:55 -07:00
Girish Ramakrishnan
a723e3a4dd
notification: periodic refresh
dashboard-v6.3.1
dashboard-v6.3.0
2021-06-23 23:17:42 -07:00
Girish Ramakrishnan
54dec7ae08
notifications: delete obsolete alerts
2021-06-23 22:51:38 -07:00
Girish Ramakrishnan
4dbd794b41
Fix display of backup warning
...
see cloudron/box#719
2021-06-23 22:12:08 -07:00
Girish Ramakrishnan
89607d2c64
remove the backup check notification and route
...
it seems we decided that instead of a notification, we display a warning in
the backups view itself (see #719 ).
2021-06-23 22:09:23 -07:00
Girish Ramakrishnan
3eb5a26c46
prefix translatable strings with tr:
2021-06-23 22:02:07 -07:00
Girish Ramakrishnan
1a406c4d7d
notifications: translate messages prefixed with tr:
2021-06-23 21:59:30 -07:00
Girish Ramakrishnan
ebab671f68
remove slash from container name
2021-06-23 17:20:11 -07:00
Girish Ramakrishnan
5129465e59
aws: const correctness
2021-06-23 14:30:00 -07:00
Girish Ramakrishnan
baf543ba00
app: disable mounts from import UI for now
2021-06-22 16:14:47 -07:00
Girish Ramakrishnan
e06400bb71
mountpoint: set chown and preserveAttributes
2021-06-22 16:09:52 -07:00
Girish Ramakrishnan
02263e8921
add back mountpoint check
2021-06-22 15:52:50 -07:00
Girish Ramakrishnan
da6478272d
provision: call done instead of callback
2021-06-22 14:40:58 -07:00
Girish Ramakrishnan
1ee6560f30
restore: fix UI
2021-06-22 14:34:41 -07:00
Girish Ramakrishnan
5e5948ecd4
typo
2021-06-22 13:45:15 -07:00
Girish Ramakrishnan
7b768d6149
backup: fix location display
2021-06-22 13:18:09 -07:00
Girish Ramakrishnan
15ff43369f
mount: if unmount failed, do not proceed
2021-06-22 13:03:44 -07:00
Girish Ramakrishnan
e9029eb1f9
backups: clear mount options on provider change
2021-06-22 13:03:25 -07:00
Girish Ramakrishnan
a7783fdb0d
remove the "-" because systemd makes it as \x2d when escaping
2021-06-22 09:46:18 -07:00
Girish Ramakrishnan
5040b4f3f9
backups: chown and preserve attribs on ext4 and sshfs
2021-06-22 09:27:11 -07:00
Johannes Zellner
7bc76f2f34
Actually 500 and 501 status codes do not mean the box as such is offline
2021-06-22 16:25:11 +02:00
Johannes Zellner
7472e78755
filemanager: Only retry every 2sec if path opening doesn't work right away to avoid busy loop
2021-06-22 16:24:35 +02:00
Johannes Zellner
0e5f8e75f9
filemanager: openPath() is not on the scope anymore
2021-06-22 16:07:40 +02:00
Girish Ramakrishnan
20fe04c0cf
chown for sshfs as well
2021-06-21 23:21:40 -07:00