Girish Ramakrishnan
67d29dbad8
systemd-detect-virt returns false when none detected
2022-04-26 14:59:26 -07:00
Girish Ramakrishnan
28b0043541
cloudron-setup: add container virtualization check
2022-04-26 08:24:36 -07:00
Girish Ramakrishnan
78824b059e
turn off sso flag if an update removes sso options
...
ff-iii used to have LDAP but we removed it. in the database, 'sso'
is still true. the migration here will reset it back to false.
for future situations like these, we sync the sso flag on app update itself.
this ensures correct behavior when yet another update add back sso support.
in ff-iii case, a future update is bringing in proxyAuth based sso!
we don't store the 'sso' bit in backupdb, so user choice of sso is
lost if restore changes sso addons.
2022-04-25 23:36:58 -07:00
Girish Ramakrishnan
c63709312d
proxyAuth: set X-Remote-User, X-Remote-Email headers
...
Apps like firefly-iii support https://datatracker.ietf.org/doc/html/rfc3875#section-4.1.10
2022-04-25 22:24:41 -07:00
Girish Ramakrishnan
11cf24075b
Keep proxyAuth.enabled configs together
2022-04-25 22:09:34 -07:00
Girish Ramakrishnan
5d440d55c3
Add to changes
2022-04-25 09:07:27 -07:00
Johannes Zellner
4c3b81d29c
Add make user local tests and fixup route
2022-04-24 22:49:12 +02:00
Johannes Zellner
032218c0fd
Add route to make user local
2022-04-24 22:22:25 +02:00
Johannes Zellner
0cd48bd239
Ensure LDAP usernames are always treated lowercase
2022-04-23 11:21:14 +02:00
Girish Ramakrishnan
f5a2e8545b
Initial support for ubuntu 22.04 Jammy Jellyfish
2022-04-21 12:30:37 -07:00
Girish Ramakrishnan
4306e20a8e
Update docker to 20.10.14
2022-04-21 12:30:14 -07:00
Girish Ramakrishnan
635dd5f10d
Update nodejs
2022-04-21 12:28:55 -07:00
Girish Ramakrishnan
7f89dfd261
add once.js
2022-04-15 19:01:35 -05:00
Girish Ramakrishnan
e878e71b20
promisify once
2022-04-15 17:59:41 -05:00
Girish Ramakrishnan
64a2493ca2
Fixup prettyBytes
2022-04-15 17:56:24 -05:00
Girish Ramakrishnan
26f9635a38
taskworker: only support async workers
2022-04-15 17:40:46 -05:00
Girish Ramakrishnan
5f2492558d
callback is not needed here
2022-04-15 17:29:15 -05:00
Girish Ramakrishnan
c83c151e10
remove recursive-readdir
2022-04-15 11:34:16 -05:00
Girish Ramakrishnan
801dddc269
inline S3ReadStream
2022-04-15 11:25:15 -05:00
Girish Ramakrishnan
9a886111ad
inline chunk.js
2022-04-15 09:25:54 -05:00
Girish Ramakrishnan
bdc9a0cbe3
inline prettyBytes
2022-04-15 09:18:07 -05:00
Girish Ramakrishnan
555f914537
remove lodash.chunk
2022-04-15 08:07:46 -05:00
Girish Ramakrishnan
43f86674b4
Remove delay module
2022-04-15 07:52:35 -05:00
Girish Ramakrishnan
f7ed044a40
fix storage test
2022-04-15 07:49:38 -05:00
Girish Ramakrishnan
72408f2542
Remove proxy-middleware, we have our own copy by now
...
See aad50fb5b2
2022-04-15 07:43:19 -05:00
Girish Ramakrishnan
0abc6c8844
replace pretty-bytes module
2022-04-15 07:34:16 -05:00
Girish Ramakrishnan
d46de32ffb
Update packages
2022-04-15 07:24:50 -05:00
Girish Ramakrishnan
185d5d66ad
even more constness
2022-04-14 20:30:00 -05:00
Girish Ramakrishnan
01ce251596
constness
2022-04-14 18:03:43 -05:00
Girish Ramakrishnan
05d7a7f496
constness
2022-04-14 17:50:41 -05:00
Girish Ramakrishnan
685bda35b9
storage: make remove and removeDir async
2022-04-14 16:16:20 -05:00
Girish Ramakrishnan
8d8cdd38a9
Add missing await
2022-04-14 15:40:51 -05:00
Girish Ramakrishnan
d54c03f0a0
storage: make exists async
2022-04-14 12:24:34 -05:00
Girish Ramakrishnan
11f7be2065
storage: verifyConfig is now async
2022-04-14 12:24:30 -05:00
Girish Ramakrishnan
a39e0ab934
storage: make remount async
2022-04-14 09:57:31 -05:00
Girish Ramakrishnan
b51082f7e4
storage: checkPreconditions is now async
2022-04-14 07:40:19 -05:00
Girish Ramakrishnan
9ec76c69ec
s3: make callback of getS3Config
2022-04-14 07:35:41 -05:00
Girish Ramakrishnan
b0a09a8a00
restore: fix usage of backupId
2022-04-13 21:23:12 -05:00
Girish Ramakrishnan
5870f949a3
Update changes
2022-04-13 11:39:23 -05:00
Girish Ramakrishnan
87cb90c9b6
Fix crash
...
ReferenceError: Cannot access 'backups' before initialization
2022-04-08 16:27:11 -07:00
Girish Ramakrishnan
21b900258a
backup: fix format of id
...
the id is used in dependsOn by the UI to find the linked apps. if we
had it as an uuid, we have to query the db a lot
2022-04-08 16:23:27 -07:00
Johannes Zellner
de9f3c10f4
Use new sftp addon 3.6.1
...
This will copy the uploaded file on conflict with a unique .number
extension
2022-04-07 18:02:11 +02:00
Johannes Zellner
47e45808a3
Give the addons a lot more time to initiate a connection
2022-04-06 13:05:09 +02:00
Girish Ramakrishnan
0280c2baba
keep the backup if preserveSecs is -1
2022-04-05 11:08:38 -07:00
Girish Ramakrishnan
2f8f5fcb7d
Typo
2022-04-05 10:26:05 -07:00
Girish Ramakrishnan
709d4041b2
backups: fix restore code path after backup id changes
2022-04-05 09:55:57 -07:00
Johannes Zellner
b4b999bd74
Fix await safe usage
2022-04-05 13:17:49 +02:00
Girish Ramakrishnan
ea3fd27123
backups: recursively update the dep preserveSecs
...
One idea was to compute this at cleanup time, but this has two problems:
* the UI won't reflect this value. can be good or bad
* the cleaner has no easy way to find out the "parent". I guess we should
change our data structure, if we want to go down this route...
2022-04-04 21:29:35 -07:00
Girish Ramakrishnan
452a4d9a75
backups: add remotePath
...
the main motivation is that id can be used in REST API routes. previously,
the id was a path and this had a "/" in it. This made /api/v1/backups/:backupId
not work.
2022-04-04 20:40:40 -07:00
Girish Ramakrishnan
54934c41a7
storage: rename getBackupPath to getBasePath
2022-04-04 14:08:24 -07:00