Johannes Zellner
a913660aeb
Ensure we have a BoxError here
2022-08-10 12:19:54 +02:00
Johannes Zellner
923a9f6560
Rename RELAY_APPSTORE_ID to PROXY_APP_APPSTORE_ID
2022-06-09 13:57:57 +02:00
Johannes Zellner
25f44f58e3
Start task also needs to skip container starting for proxy app
2022-06-09 10:48:54 +02:00
Johannes Zellner
a955457ee7
Support proxy app
2022-06-09 10:48:54 +02:00
Girish Ramakrishnan
8cf0922401
Fix container creation when migrating data dir
2022-06-08 11:52:22 -07:00
Girish Ramakrishnan
dddc5a1994
migrate app dataDir to volumes
2022-06-02 16:29:01 -07:00
Girish Ramakrishnan
8fc8128957
Make apps.getDataDir async
2022-06-02 11:19:33 -07:00
Girish Ramakrishnan
a57fe36643
collectd: add cgroup v2 config
...
Ubuntu 22 has cgroup v2 config by default
https://rootlesscontaine.rs/getting-started/common/cgroup2/#checking-whether-cgroup-v2-is-already-enabled
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html
https://man7.org/training/download/splc_cgroups_v1_slides.pdf
2022-04-27 18:41:20 -07:00
Girish Ramakrishnan
8d8cdd38a9
Add missing await
2022-04-14 15:40:51 -05:00
Girish Ramakrishnan
709d4041b2
backups: fix restore code path after backup id changes
2022-04-05 09:55:57 -07:00
Girish Ramakrishnan
dfebda7170
Remove deprecated fs.rmdirSync
2022-02-16 20:30:33 -08:00
Girish Ramakrishnan
c6da8c8167
make ipv4 and ipv6 settings separate
2022-02-15 12:36:05 -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
5382e3d832
remove nginx config of stopped apps
...
when the cert of a stopped app gets auto-cleaned up, nginx does not
start anymore since the config references the cert.
there are two possible fixes:
* do not cleanup cert of stopped apps
* remove the nginx config of stopped apps
this implements the second approach
2022-01-28 10:23:56 -08:00
Girish Ramakrishnan
8b9d821905
isMountProvider -> isManagedProvider
2022-01-26 12:40:28 -08:00
Johannes Zellner
a3efa8db54
Use semicolon instead of comma
2022-01-21 19:42:07 +01:00
Girish Ramakrishnan
e8d08968a1
rename location to subdomain
...
the primary subdomain was previously called 'location'. but the alias/secondary/redirect
subdomain is called 'subdomain'. this makes it all consistent.
location terminology is now used for { subdomain, domain } pair
2022-01-16 12:48:29 -08:00
Girish Ramakrishnan
b34f66b115
add secondary domains
...
note that for updates to work, we keep the secondary domain optional,
even though they are really not.
part of #809
2022-01-16 12:10:48 -08:00
Girish Ramakrishnan
d7d46a5a81
rename alternateDomains to redirectDomains
2022-01-14 22:32:34 -08:00
Girish Ramakrishnan
d65ac353fe
initial ipv6 support
...
this adds and waits for AAAA records based on setting. we have to wait
for both A and AAAA because we don't know if the user is accessing via
IPv4 or IPv6. For Let's Encrypt, IPv6 is preferred (but not sure if it
retries if IPv6 is unreachable).
part of #264
2022-01-06 17:22:45 -08:00
Girish Ramakrishnan
bbf1a5af3d
sysinfo: add interface to get IPv6 address
2022-01-05 18:08:15 -08:00
Girish Ramakrishnan
013f5d359d
pass debug to promise-retry
2021-12-07 11:18:26 -08:00
Girish Ramakrishnan
68db4524f1
remove unused httpPaths from manifest
2021-11-09 21:50:33 -08:00
Girish Ramakrishnan
092b55d6ca
apps: add backup start and finish events
...
these can then be used by the UI to show errors
fixes #797
2021-09-30 11:44:11 -07:00
Girish Ramakrishnan
445c83c8b9
make auditsource a class
...
this allows us to use AuditSource for the class and auditSource for
the instances!
2021-09-30 10:13:36 -07:00
Girish Ramakrishnan
653496f96f
import: validate and create transient mount point
...
fixes #788
2021-09-29 23:30:16 -07:00
Girish Ramakrishnan
8553b57982
apptask: fix crash in configure
2021-09-25 21:39:54 -07:00
Girish Ramakrishnan
28f7fec44a
apptask: remove debugApp
2021-09-25 21:39:54 -07:00
Girish Ramakrishnan
9a2ed4f2c8
apptask: asyncify
2021-09-16 17:25:05 -07:00
Girish Ramakrishnan
6a6b60412d
Fix location change
2021-09-03 13:12:47 -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
42774eac8c
docker.js and services.js: async'ify
2021-08-26 18:23:31 -07:00
Girish Ramakrishnan
77f5cb183b
merge appdb.js into apps.js
2021-08-23 15:35:38 -07:00
Girish Ramakrishnan
411cc7daa1
merge settingsdb into settings code
2021-08-19 17:45:40 -07:00
Girish Ramakrishnan
5dd6f85025
reverseproxy: async'ify
2021-08-17 14:34:55 -07:00
Girish Ramakrishnan
5bcf1bc47b
merge domaindb.js into domains.js
2021-08-16 14:41:42 -07:00
Girish Ramakrishnan
004e812d60
merge backupdb into backups.js
2021-07-14 15:10:45 -07:00
Girish Ramakrishnan
db685d3a56
notification: app updated message shown despite failure
2021-07-13 14:27:53 -07:00
Girish Ramakrishnan
8da4eaf4a3
fix tests
2021-06-03 16:08:39 -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
0c4b7f3202
do not use %s to print error object
...
this ends up suppressing the backtrace
2021-05-13 22:31:58 -07:00
Girish Ramakrishnan
dea31109e2
remove debug
2021-05-07 22:59:53 -07:00
Girish Ramakrishnan
0062e6d9fe
apps: add icon and appStoreIcon to database
2021-04-30 14:35:21 -07:00
Girish Ramakrishnan
355de5b0a4
notifications: fix update notification
...
the notification wasn't working because this was in apptask and the apptask died
before it could send out the email. we now move the notification to box process
and also remove the email notification.
2021-04-19 15:14:04 -07:00
Girish Ramakrishnan
d161fe9ebd
add progress message for restoring addons
2021-04-05 11:35:47 -07:00
Girish Ramakrishnan
93712c0f03
emit progress message in register/unregister locations
2021-02-24 18:32:28 -08:00
Girish Ramakrishnan
e78abe2fab
move register* to domains
2021-02-24 17:54:19 -08:00
Girish Ramakrishnan
e190076f1a
apptask: skip waiting for dns propagation
...
part of #737
2021-02-24 16:57:51 -08:00
Girish Ramakrishnan
2056ede942
apptask: add skipDnsSetup flag to skip dns setup
...
Part of #737
2021-02-24 14:47:05 -08:00