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
e7977525a0
better error message
2022-01-25 16:41:29 -08:00
Girish Ramakrishnan
f017e297f7
secondaryDomains are always required
...
they can still become empty after an update but install and change_location
requires them
part of #809
2022-01-21 10:03:30 -08:00
Girish Ramakrishnan
e8577d4d85
more location renaming
2022-01-16 18:56:44 -08: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
d8314d335a
implement manifest.logPaths
2022-01-04 10:04:40 -08:00
Girish Ramakrishnan
b18626c75c
getLocalLogfilePaths -> getLogPaths
2022-01-04 09:14:13 -08:00
Johannes Zellner
d6fbe2a1bb
Use correct error object
2021-12-15 17:22:16 +01:00
Girish Ramakrishnan
683ac9b16e
remove support for manifest version 1
...
this is long untested by now
2021-12-06 17:44:09 -08:00
Girish Ramakrishnan
cefbe7064f
Fix crash when changing the location of app with disabled sendmail addon
2021-12-06 13:59:00 -08:00
Girish Ramakrishnan
89389258d7
pass correct auditSource when raising notifications
...
this fixes the bug where automatic app update notification were not
raised.
2021-11-17 10:42:53 -08:00
Girish Ramakrishnan
1aacf65372
apps: pass the auditSource to addTask()
...
this is required for the notification logic to know what caused the
task (cron or manual, for example)
2021-11-17 10:38:02 -08:00
Girish Ramakrishnan
7ffcfc5206
auditSource: add PLATFORM
2021-11-17 10:33:28 -08:00
Girish Ramakrishnan
cd302a7621
add missing await
2021-11-17 09:38:01 -08:00
Girish Ramakrishnan
9c096b18e1
demo: limit to 20 apps
2021-11-15 13:55:29 -08:00
Girish Ramakrishnan
010024dfd7
apps: make downloadFile async
2021-10-21 15:25:15 -07:00
Girish Ramakrishnan
2e3070a5c6
apps: make uploadFile async
2021-10-21 15:15:39 -07:00
Girish Ramakrishnan
f17e3b3a62
mail: export pop3 port
2021-10-07 22:06:26 -07:00
Girish Ramakrishnan
1743368069
app: clear mailbox fields when sendmail is removed with an update
2021-10-03 23:38:12 -07:00
Girish Ramakrishnan
a3fc5f226a
make recvmail work
...
unlike sendmail, recvmail is always optional. this is the case because
the cloudron may not receive emails at all, so app always has to be
prepared for it.
part of #804
2021-10-02 03:11:47 -07:00
Girish Ramakrishnan
54731392ff
cannot disable sendmail if not optional
2021-10-01 11:20:13 -07:00
Girish Ramakrishnan
54668c92ba
remove asserts when sendmail disabled
2021-10-01 11:16:49 -07:00
Girish Ramakrishnan
7a2b00cfa9
hasMailAddon is really just sendmail
2021-10-01 09:37:42 -07:00
Girish Ramakrishnan
1483dff018
make getLogs async
2021-10-01 09:23:25 -07: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
b0bdfbd870
apps: onFinished handler not called across restarts
...
if box code restarts in the middle of a apptask, the onFinished handlers
are not called for data migration and update. rework the code to hook
the onFinished handlers when the task completes and not where the task
is started.
2021-09-30 10:54:47 -07:00
Girish Ramakrishnan
653496f96f
import: validate and create transient mount point
...
fixes #788
2021-09-29 23:30:16 -07:00
Girish Ramakrishnan
13644624df
add crontab tests
2021-09-28 11:08:10 -07:00
Girish Ramakrishnan
b86d5ea0ea
apps: add crontab
...
crontab is a text field, so we can have comments
part of #793
2021-09-27 21:33:00 -07:00
Girish Ramakrishnan
d90beb18d4
eventlog: add service rebuild/restart/configure events
2021-09-24 10:22:45 -07:00
Girish Ramakrishnan
629908eb4c
operator: add a limits route to determine max app resource limits
2021-09-21 22:29:19 -07:00
Girish Ramakrishnan
214540ebfa
operator: add app task status route
2021-09-21 22:19:20 -07:00
Girish Ramakrishnan
82d4fdf24e
operator: add route to get app event log
...
we cannot go via /cloudron/eventlog since that requires admin
2021-09-21 19:45:29 -07:00
Girish Ramakrishnan
6c9b8c8fa8
apps: fix various operators issues
...
part of #791
2021-09-21 18:20:03 -07:00
Girish Ramakrishnan
bb2ad0e986
Implement operator role for apps
...
There are two main use cases:
* A consultant/contractor/external developer is given access to just an app.
* A "service" personnel (say upstream app author) is to be given access to single app
for debugging.
Since, this is an "app admin", they are also given access to apps to be consistent with
the idea that Cloudron admin has access to all apps.
part of #791
2021-09-21 12:30:02 -07:00
Girish Ramakrishnan
f44fa2cf47
apps: hasAccessTo -> canAccess
2021-09-21 10:13:06 -07:00
Johannes Zellner
737412653f
Fix renamed function call
2021-09-21 18:58:18 +02:00
Girish Ramakrishnan
e8aaad976b
backups: make test config funcs return error
2021-09-17 10:14:26 -07:00
Girish Ramakrishnan
2554c47632
add missing apps.delPortBinding
...
this got lost in async/db translation
2021-09-17 09:52:21 -07:00
Girish Ramakrishnan
c5794b5ecd
get rid of all the NOOP_CALLBACKs
2021-09-17 09:40:26 -07:00
Johannes Zellner
da23bae09e
return error if purchase fails
2021-09-16 17:19:38 +02:00
Girish Ramakrishnan
7709e155e0
more async'ification
2021-09-07 11:21:06 -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
03e22170da
appstore and support: async'ify
2021-08-18 23:38:18 -07:00
Girish Ramakrishnan
5dd6f85025
reverseproxy: async'ify
2021-08-17 14:34:55 -07:00