Girish Ramakrishnan
c86059e070
backups: move limits into a sub object
...
fixes #817
2023-07-13 12:17:57 +05:30
Girish Ramakrishnan
9cebde3005
backups: split config and policy
...
keeping them together makes the test/validation quite complicated.
for example, when policy is changed, we test the storage backends
part of #817
2023-07-13 11:07:06 +05:30
Girish Ramakrishnan
e6ba2a6e7a
replace usage of _.extend with Object.assign
2023-05-25 11:45:14 +02:00
Girish Ramakrishnan
b26c8d20cd
network: add trusted ips
...
This allows the user to set trusted ips to Cloudflare or some other CDN
and have the logs have the correct IPs.
fixes #801
2023-05-13 16:15:47 +02:00
Girish Ramakrishnan
a237b11ff7
timezone: set default tz to UTC
2023-05-07 20:51:02 +02:00
Girish Ramakrishnan
883915c9d3
backups: move mount status to separate route
2023-04-30 17:21:18 +02:00
Girish Ramakrishnan
b2d072f2e6
backups: always test the mount
...
It's possible that the current credentials do not work. For example,
CIFS is disabled in hetzner's control panel. In such cases, we skip the
mount check and then fail later in some filesystem error. This misleads
the user.
https://forum.cloudron.io/topic/8391/cloudronbackup-folder-disappears-when-trying-to-restore
2023-01-24 15:06:15 +01:00
Girish Ramakrishnan
3caffdb4e1
Rework app stats
...
Previously, the du plugin was collecting data every 20 seconds but
carbon was configured to only keep data every 12 hours causing much
confusion.
In the process of reworking this, it was determined:
* No need to collect disk usage info over time. Not sure how that is useful
* Instead, collect CPU/Network/Block info over time. We get this now from docker stats
* We also collect info about the services (addon containers)
* No need to reconfigure collectd for each app change anymore since there is no per
app collectd configuration anymore.
2022-10-10 21:13:26 +02:00
Girish Ramakrishnan
edd284fe0b
rename user directory to directory server
2022-08-15 20:45:51 +02:00
Girish Ramakrishnan
55e2139c69
restore: encrypted filenames
2022-06-27 09:49:58 -07:00
Girish Ramakrishnan
c9f7b9a8a6
backups: make filename encryption optional
2022-06-26 09:37:22 -07:00
Girish Ramakrishnan
ce054820a6
add migration to add consoleServerOrigin
2022-05-05 09:59:22 -07:00
Johannes Zellner
a7668624b4
Ensure we also set the new console server origin during installation
2022-05-05 16:52:11 +02:00
Girish Ramakrishnan
ad2221350f
Add appstore web token
...
* For existing installs, migrate using the soon to be obsoleted user_token route
* For new installs, the token post login is stashed during registration time
2022-03-31 22:35:45 -07:00
Girish Ramakrishnan
656dca7c66
rename cloudron_token to appstore_api_token
2022-03-31 22:18:08 -07:00
Girish Ramakrishnan
3295d2b727
settings: remove licenseKey
...
this is unused
2022-03-31 12:47:45 -07:00
Girish Ramakrishnan
74e849e2a1
backup cleaner: do not clean when provider is not mounted
2022-03-30 10:17:20 -07:00
Girish Ramakrishnan
426ed435a4
userdirectory: move the validation and apply logic
2022-02-16 13:00:06 -08:00
Girish Ramakrishnan
0f25458914
rename key to match other json keys
2022-02-15 13:12:34 -08:00
Girish Ramakrishnan
c6da8c8167
make ipv4 and ipv6 settings separate
2022-02-15 12:36:05 -08:00
Girish Ramakrishnan
f8b124caa6
do not check if we have ipv6 to enable ipv6
2022-02-15 11:57:27 -08:00
Girish Ramakrishnan
964c1a5f5a
remove field from errors
...
we have standardized on indexOf in error.message by now
2022-02-07 13:44:29 -08:00
Girish Ramakrishnan
3b3b510343
Check if we get IPv6 when enabling
2022-02-04 11:15:53 -08:00
Girish Ramakrishnan
da5b5aadbc
typo in debug
2022-02-02 15:07:50 -08:00
Girish Ramakrishnan
a786fad3ee
mountPoint is only set for 'mountpoint' (unmanaged)
...
When restoring, mountPoint field is expected for managed mount points
2022-01-26 13:37:16 -08:00
Girish Ramakrishnan
8b9d821905
isMountProvider -> isManagedProvider
2022-01-26 12:40:28 -08:00
Girish Ramakrishnan
d35f948157
rename directory config to profile config
2022-01-13 14:39:49 -08:00
Johannes Zellner
52385fcc9c
Rename exposed ldap to user directory
2022-01-07 14:06:13 +01:00
Girish Ramakrishnan
cc61ee00be
settings: add ipv6
2022-01-06 11:38:41 -08:00
Johannes Zellner
44a149d1d9
Add exposed ldap secret for bind auth
2022-01-05 14:35:48 +01:00
Johannes Zellner
d69758e559
Only set ldap allowlist if file exists and is not empty
2021-12-15 19:23:22 +01:00
Johannes Zellner
1c7eeb6ac6
Handle exposed ldap allowlist
2021-12-10 17:04:30 +01:00
Johannes Zellner
98b28db092
Store allowlist for exposed directory server
2021-11-26 10:43:50 +01:00
Johannes Zellner
4a467c4dce
Add crud for exposed ldap settings
2021-11-23 18:00:07 +01:00
Johannes Zellner
d1a7172895
Add remount route for mountlike backup storages
2021-10-11 18:12:11 +02:00
Girish Ramakrishnan
9729d4adb8
backups: move hardcoded mountPoint to backend
2021-09-29 22:40:58 -07:00
Girish Ramakrishnan
dff2275a9b
add a flag to disable ocsp globally
...
fixes #796
2021-09-22 09:13:16 -07:00
Johannes Zellner
5a1a439224
Adjust comment about getAll
2021-09-20 18:04:01 +02:00
Johannes Zellner
c6c62de68a
Move ghosts into settings table
2021-09-20 13:05:42 +02:00
Girish Ramakrishnan
66a907ef48
Logout users without 2FA when mandatory 2fa is enabled
...
Fixes #803
2021-09-17 14:52:24 -07:00
Girish Ramakrishnan
e8aaad976b
backups: make test config funcs return error
2021-09-17 10:14:26 -07:00
Girish Ramakrishnan
51d067cbe3
sysinfo: async'ify
...
in the process, provision, dyndns, mail, dns also got further asyncified
2021-09-02 16:19:46 -07:00
Girish Ramakrishnan
1856caf972
externalldap: async'ify
...
and make the tests work again
2021-09-01 21:33:27 -07:00
Girish Ramakrishnan
ffc3c94d77
tests: add footer tests
2021-08-31 08:47:01 -07:00
Girish Ramakrishnan
42774eac8c
docker.js and services.js: async'ify
2021-08-26 18:23:31 -07:00
Girish Ramakrishnan
411cc7daa1
merge settingsdb into settings code
2021-08-19 17:45:40 -07:00
Girish Ramakrishnan
4cd5137292
mailer: fix error handling
...
previous mailer code has no callback and thus no way to pass back errors.
now with asyncification it passes back the error
2021-08-19 12:40:53 -07:00
Girish Ramakrishnan
ada7166bf8
translation: asyncify
2021-08-19 11:54:28 -07:00
Girish Ramakrishnan
03e22170da
appstore and support: async'ify
2021-08-18 23:38:18 -07:00
Girish Ramakrishnan
200018a022
settings: async'ify
...
* directory config
* unstable app config
2021-08-18 15:46:08 -07:00