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
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
339fdfbea1
schema: add missing args to tasks table
2021-09-30 09:01:43 -07:00
Johannes Zellner
6bcef05e2a
Fixup user route tests
2021-09-30 13:05:18 +02:00
Girish Ramakrishnan
679b813a7a
give hint download has started
2021-09-29 23:36:54 -07:00
Girish Ramakrishnan
653496f96f
import: validate and create transient mount point
...
fixes #788
2021-09-29 23:30:16 -07:00
Girish Ramakrishnan
9729d4adb8
backups: move hardcoded mountPoint to backend
2021-09-29 22:40:58 -07:00
Girish Ramakrishnan
ae4a091261
pass debug for safe call
2021-09-29 20:15:54 -07:00
Girish Ramakrishnan
d43209e655
autoconfig: add pop3 as protocol
2021-09-29 19:35:45 -07:00
Girish Ramakrishnan
b57d50d38c
remove HOMEPATH and USERPROFILE fallbacks
...
probably from a time when I had a mac
2021-09-29 19:00:59 -07:00
Girish Ramakrishnan
73315a42fe
setup: fix journalctl configuration
...
/var/log/journal/*/system.journal does not exist on some systems
https://forum.cloudron.io/topic/4068/installation-failed-on-20-04-server
https://forum.cloudron.io/topic/5731/time4vps-installation-error
2021-09-28 19:21:16 -07:00
Girish Ramakrishnan
3bcd32c56d
restore: mount all volumes before restoring apps
...
fixes #786
2021-09-28 11:51:01 -07:00
Girish Ramakrishnan
d79206f978
mounts: volume -> mounts
...
this code is shared by volume code and backup code
2021-09-28 11:44:09 -07:00
Girish Ramakrishnan
13644624df
add crontab tests
2021-09-28 11:08:10 -07:00
Girish Ramakrishnan
74ce00d94d
cron -> crontab
2021-09-27 21:41:41 -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
04ff8dab1b
Fix progress message
2021-09-27 11:17:10 -07:00
Girish Ramakrishnan
fac48aa977
upcloud: add object storage integration
2021-09-27 10:05:38 -07:00
Johannes Zellner
c568c142c0
Remove unused require
2021-09-27 13:07:11 +02:00
Girish Ramakrishnan
d390495608
provision: download mail backup during restore
2021-09-26 22:55:23 -07:00
Girish Ramakrishnan
7ea9252059
services: simplify startup logic
2021-09-26 22:48:14 -07:00
Girish Ramakrishnan
0415262305
backupcleaner: fix crash
2021-09-26 21:59:48 -07:00
Girish Ramakrishnan
ad3dbe8daa
mail: keep mail backups separately from box backups
...
part of #717
2021-09-26 21:47:24 -07:00
Girish Ramakrishnan
184fc70e97
pass debug for background promises
2021-09-26 21:24:37 -07:00
Girish Ramakrishnan
743597f91e
backuptask: better debugs
2021-09-26 18:45:28 -07:00
Girish Ramakrishnan
90482f0263
use realpath to resolve links
2021-09-26 18:36:33 -07:00
Girish Ramakrishnan
9584990d7a
remove old migration code
2021-09-26 18:10:39 -07:00
Girish Ramakrishnan
8255623874
mail: mount mail data directory into sftp container
...
fixes #794
2021-09-26 13:47:45 -07:00
Girish Ramakrishnan
d4edd771b5
sftp: prefix the id with app- and volume-
...
this helps the backend identify the type of mount
2021-09-25 23:35:44 -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
54c6f33e5f
Fix broken invitation link
2021-09-25 17:36:56 -07:00
Girish Ramakrishnan
4523dd69c0
sftp: refactor
2021-09-25 17:12:38 -07:00
Girish Ramakrishnan
ddcafdec58
remove obsolete comment
2021-09-25 17:02:22 -07:00
Girish Ramakrishnan
d90beb18d4
eventlog: add service rebuild/restart/configure events
2021-09-24 10:22:45 -07:00
Girish Ramakrishnan
05e8339555
Fix typos in cert renewal
2021-09-23 17:54:54 -07:00
Girish Ramakrishnan
3090307c1d
tasks: remove superfluous update code
2021-09-23 17:44:41 -07:00
Girish Ramakrishnan
8644a63919
better debug
2021-09-23 17:38:55 -07:00
Girish Ramakrishnan
b135aec525
pass debug argument to background safe() calls
2021-09-23 17:28:22 -07:00
Girish Ramakrishnan
1aa96f7f76
demo: do not send login notification
2021-09-23 09:13:07 -07:00
Girish Ramakrishnan
6fbf7890cc
operator: mailbox route has to be protected
...
this is because operator cannot list domains
2021-09-22 12:45:13 -07:00
Girish Ramakrishnan
dff2275a9b
add a flag to disable ocsp globally
...
fixes #796
2021-09-22 09:13:16 -07:00
Johannes Zellner
5b70c055cc
Fixup accessLevel tests
2021-09-22 12:07:31 +02:00
Johannes Zellner
efa364414f
Fix viable app tests and disable currently broken ones
2021-09-22 11:37:27 +02:00
Girish Ramakrishnan
5883857e8c
sftp: remove requireAdmin setting. deprecated with operators
2021-09-21 22:43:04 -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
d7bd3dfe7c
operator: add graphs route
2021-09-21 21:50:33 -07:00
Girish Ramakrishnan
0857378801
operator: add app update checker route
2021-09-21 19:58:38 -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