Commit Graph

16964 Commits

Author SHA1 Message Date
Girish Ramakrishnan ede4da931c Add app backup eventlog 2021-09-30 11:44:37 -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 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 843bbbbe58 Add email eventlog translation 2021-09-30 14:49:11 +02:00
Johannes Zellner e0fcc8ae4b Move email eventlog to separate view 2021-09-30 14:35:06 +02: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 6a3459e514 hardcode mountPoint in the backend instead 2021-09-29 22:35:13 -07:00
Girish Ramakrishnan ae4a091261 pass debug for safe call 2021-09-29 20:15:54 -07:00
Girish Ramakrishnan 6c580646f3 better translation for volume name 2021-09-29 19:47:53 -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
Johannes Zellner e00671d697 Make cron patterns translatable 2021-09-28 20:40:36 +02:00
Girish Ramakrishnan 13644624df add crontab tests 2021-09-28 11:08:10 -07:00
Johannes Zellner ca0ac18a62 Add common cron pattern dropdown 2021-09-28 19:58:41 +02:00
Johannes Zellner fd4ada4f4d Add text-monospace class and apply it to cron, csp and robots inputs 2021-09-28 19:31:52 +02:00
Girish Ramakrishnan feea08adee cron: add default text 2021-09-28 10:21:51 -07:00
Johannes Zellner 93e003b31e Adjust card min-height to fit for the added cron tab 2021-09-28 18:04:29 +02:00
Johannes Zellner ab54721c04 Ensure dropdown a-tags are not affected 2021-09-28 17:51:50 +02:00
Girish Ramakrishnan b408b7ff35 cron -> crontab 2021-09-27 21:42:01 -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 ce323ca60a app: add cron section
part of cloudron/box#793
2021-09-27 21:19:31 -07:00
Johannes Zellner e1801b7a99 Make filesystem header a link if it is an app 2021-09-27 21:18:22 +02:00
Girish Ramakrishnan 6a28961dde filemanager: change button color of chown and rename 2021-09-27 11:43:56 -07:00
Girish Ramakrishnan 0d6abb9850 filebrowser: add mail restart button 2021-09-27 11:42:14 -07:00
Girish Ramakrishnan 04ff8dab1b Fix progress message 2021-09-27 11:17:10 -07:00
Girish Ramakrishnan 8c3e369599 upcloud: add object storage integration 2021-09-27 10:47:22 -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 3c1b01a857 mail: expose maildata via filemanager
part of cloudron/box#794
2021-09-26 12:51:37 -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