Commit Graph

17673 Commits

Author SHA1 Message Date
Johannes Zellner d6ec588c11 Do not show backup storage error twice 2025-06-25 23:28:55 +02:00
Johannes Zellner ed031c6dc1 Make filemanager entries links so we can open folders in new tabs 2025-06-25 23:05:30 +02:00
Johannes Zellner 0a871d57cc Remove pankow sidebar border 2025-06-25 22:52:57 +02:00
Johannes Zellner f1653d4643 Show app update changelog in update view instead of dialog 2025-06-25 21:49:05 +02:00
Johannes Zellner 58bc040953 Use SettingsItem in app update view 2025-06-25 21:16:59 +02:00
Johannes Zellner c040206d3a fix bug which shows email for apps which have no email 2025-06-25 20:58:35 +02:00
Girish Ramakrishnan e0af49f638 appstore: automatic is not stableOnly 2025-06-25 18:17:29 +02:00
Johannes Zellner 7d1f218523 React directly on hash changes in appstore view 2025-06-25 16:14:58 +02:00
Johannes Zellner c779701d26 Use nextTick() instead of random timeout 2025-06-25 15:47:08 +02:00
Johannes Zellner dc7b425dc5 Make private docker registry password a normal text field 2025-06-25 15:31:43 +02:00
Johannes Zellner 9be00cd546 Also add media-src csp rule for dashboard to allow videos in filemanager 2025-06-25 14:18:04 +02:00
Girish Ramakrishnan 2caf8d6a4e Fix node version in release script 2025-06-25 11:31:53 +02:00
Girish Ramakrishnan 27c4069187 Update node to 22.7.0 2025-06-25 11:17:57 +02:00
Girish Ramakrishnan 4b2c0b0771 Update docker to 28.3.0 2025-06-25 11:16:42 +02:00
Girish Ramakrishnan 7e1216a3d3 cloudron-support: keep help alphabetical 2025-06-24 16:53:42 +02:00
Girish Ramakrishnan a02e3d2ebd better log 2025-06-20 22:16:05 +02:00
Girish Ramakrishnan 84297ff473 updater: move app update logic and attach the manual update reason 2025-06-20 22:08:02 +02:00
Girish Ramakrishnan 1ffad1ebaf updater: move the auto update logic into updater 2025-06-20 19:10:25 +02:00
Girish Ramakrishnan 2db99e7807 refactor: rename updater functions to have box in them 2025-06-20 19:04:55 +02:00
Girish Ramakrishnan d7fdfd6d71 attach app updateInfo to app object 2025-06-20 18:51:12 +02:00
Girish Ramakrishnan 241053e1a8 s3: error handling has changed in v3 api 2025-06-20 16:07:21 +02:00
Girish Ramakrishnan 6da8396c76 another schema update 2025-06-19 19:43:51 +02:00
Girish Ramakrishnan 79e0a1b94c Update schema 2025-06-19 18:10:11 +02:00
Girish Ramakrishnan 4d94700375 remove dead comment 2025-06-19 16:12:46 +02:00
Girish Ramakrishnan 1672217dd9 replace mysql module with mysql2
mysql is deprecated since years now
2025-06-19 12:41:49 +02:00
Girish Ramakrishnan 313c90ff85 database: change charset to utf8mb4
part of #836
2025-06-19 10:39:40 +02:00
Girish Ramakrishnan 227da8dce4 test: remove double uninit of db 2025-06-19 10:24:17 +02:00
Girish Ramakrishnan 84111996b4 database: some debugs 2025-06-19 10:12:59 +02:00
Girish Ramakrishnan b23699f0c1 db: change the encoding and collation
by mistake many fields are encoded at utf8 which is an alias of utf8mb3

fixes #836
2025-06-18 22:08:43 +02:00
Girish Ramakrishnan 0c0610c6c5 translations: also mention AAAA records for manual setups 2025-06-18 17:53:41 +02:00
Girish Ramakrishnan fb39aa32bb tasks: fix update failed notification
https://forum.cloudron.io/topic/13408/update-to-cloudron-8.3-error

We get a Task xx crashed with code null in the notification.

The crux of the issue is that we use KillMode=control-group. This ends
up sending SIGTERM signal to box code and all the sudo in parallel. The box
code then sees the sudo die and records the task as failed.

To fix, we switch to KillMode=mixed. This gives box code a chance to handle SIGTERM
first. It cleans out its task list and kills all the sudo.
2025-06-17 23:47:04 +02:00
Girish Ramakrishnan ca25c6075b tasks: fix grammar and log the completion of sudo 2025-06-17 22:33:30 +02:00
Girish Ramakrishnan a9f474b24d taskworker: better logs on signal 2025-06-17 22:30:34 +02:00
Girish Ramakrishnan 1354da01e6 platform: remove duplicate stops (already in onDeactivated) 2025-06-17 22:29:29 +02:00
Girish Ramakrishnan 6151a1ca7f box.service: change description 2025-06-17 22:28:38 +02:00
Girish Ramakrishnan bbe1350f7d better logs on actual quit 2025-06-17 22:28:11 +02:00
Girish Ramakrishnan d9c104613c tasks: rework the startTask API
it is now async. change was required to reset the pending flag
2025-06-17 19:32:46 +02:00
Girish Ramakrishnan 4770b32287 tasks: add pending field
this indicates if a task is scheduled. previously, we relied
on task.progress being 1
2025-06-17 17:00:21 +02:00
Girish Ramakrishnan 89cfe1ef57 shell: add note 2025-06-17 15:08:32 +02:00
Girish Ramakrishnan 72d29030d9 tasks: remove redundant BindsTo= 2025-06-16 18:19:30 +02:00
Girish Ramakrishnan 5cf98922fb tasks: add note on why we use systemd-run 2025-06-16 18:14:21 +02:00
Girish Ramakrishnan 6a2f2b4efe task: do not use --pipe
--pipe make the spawned task inherit the systemd-run's stdio. if/when
system-run is killed, it might take out the spawned task as well with EPIPE.
2025-06-16 14:20:07 +02:00
Girish Ramakrishnan 69cb8c5a0a task: can use env -S in ubuntu 20 and above 2025-06-16 14:18:49 +02:00
Girish Ramakrishnan 1ba9513a4e installer: directly stop box code
the idea (previously) was that the box code knew how to stop itself.
this is why stop.sh of the _old_ code was invoked. we can just inline
the code needed to stop the old version into installer.sh itself.
2025-06-15 17:40:45 +02:00
Girish Ramakrishnan 1095e47e6f installer: better variable name 2025-06-15 17:38:39 +02:00
Girish Ramakrishnan 0ebda97b03 remove various 18.04 specific code 2025-06-15 13:58:28 +02:00
Girish Ramakrishnan 2d5ef36a7f cloudron-support: make user press enter 2025-06-15 13:20:24 +02:00
Girish Ramakrishnan 39cbfb84ae refactor: move moveDataDir into services 2025-06-14 21:18:56 +02:00
Girish Ramakrishnan 73a56830b0 apps: do not start redis when app is stopped
stopped apps stop the container and the services. a good reason to
not delete them is to keep the image around and it's quick to start up again.

only update is not allowed during the app is stopped (because the start.sh
cannot be run).

all other operations like cpu/memory/device/service changes/data dir/location change
are all allowed.
2025-06-14 21:03:10 +02:00
Girish Ramakrishnan d924f73ceb services: change restart policy to unless-stopped
when we stop an app, the service containers are stopped. they
start running again on reboot.

correct restart policy is "unless-stopped" for all the containers.
2025-06-14 17:51:35 +02:00