Commit Graph

17940 Commits

Author SHA1 Message Date
Girish Ramakrishnan f7d4f9d94e Add to changelog 2025-07-18 14:41:03 +02:00
Girish Ramakrishnan c10593e4ac tasks: remove the prefix for invokation lookup 2025-07-18 14:33:26 +02:00
Girish Ramakrishnan 47580c6976 tasks: make type field longer 2025-07-18 14:24:24 +02:00
Girish Ramakrishnan 0fa281083e apps: backup is not a state anymore
this is launched as a separate task
2025-07-18 14:14:54 +02:00
Girish Ramakrishnan 0aca6c2588 locks: rename lock types to make it clearer 2025-07-18 13:40:15 +02:00
Johannes Zellner e181abe797 Polish disk usage 2025-07-18 13:36:48 +02:00
Girish Ramakrishnan 7818219763 system: query docker size lazily 2025-07-18 13:05:33 +02:00
Girish Ramakrishnan 25d20266b8 diskusage: emit other entry 2025-07-18 13:02:53 +02:00
Johannes Zellner 330505faaf Also close eventsource on unmounted 2025-07-17 21:16:04 +02:00
Johannes Zellner f7dd10bc08 Add an explicit button to load disk usage details 2025-07-17 21:03:36 +02:00
Johannes Zellner 20cc82e210 slightly better disk usage styling 2025-07-17 19:44:55 +02:00
Johannes Zellner 585885e6a2 Add detailed disk usage view on click 2025-07-17 19:27:09 +02:00
Johannes Zellner 149af003d4 Show filesystem overview in disk usage 2025-07-17 17:06:37 +02:00
Johannes Zellner 50a5b9861a Fix meta tag injection 2025-07-17 17:03:44 +02:00
Girish Ramakrishnan 17ce6f7291 apptaskmanager: release lock and clear active task on task failure 2025-07-17 14:54:47 +02:00
Girish Ramakrishnan 7047ee9391 shell: add timeout logic and rework error handling
what's important:

* if task code ran, it exits with 0. this code is regardless of (error, result)
  * when it exited cleanly, we will get the values from the database

* if task timed out, the box code kills it and it has a flag tracking timedOut. we can
  ignore exit code in this case.

* if task code was stopped, box code will send SIGTERM which ideally it will handle and end with 70.

* if task code crashed and it caught the exception, it will return 50

* if task code crashed and node nuked us, it will exit with 1

* if task code was killed with some unhandleabe signal, taskworker.sh will return the signal (9=SIGKILL)
2025-07-17 12:44:24 +02:00
Girish Ramakrishnan 5e1c32b606 shell: rename signal to abortSignal
this prevents accidental typos with child_process signal handling
2025-07-17 09:50:43 +02:00
Girish Ramakrishnan 38032f0b77 remove the ignored debug 2025-07-17 09:47:26 +02:00
Girish Ramakrishnan 6364ea8e57 grammar 2025-07-17 08:30:51 +02:00
Girish Ramakrishnan c796e724aa shell/task: better logs 2025-07-17 02:04:50 +02:00
Girish Ramakrishnan 63053f46a8 shell: remove sudoCallback 2025-07-17 01:54:39 +02:00
Girish Ramakrishnan 8bf8c278f0 system: add tests for fs usage route 2025-07-17 01:42:28 +02:00
Girish Ramakrishnan aa0c186c8c logStream is not used anymore 2025-07-17 00:37:29 +02:00
Girish Ramakrishnan 5539f74bea system: add disk usage task 2025-07-17 00:09:50 +02:00
Johannes Zellner 11a6cf8236 Add generic 412 http response handler to ask for dashboard refresh 2025-07-16 22:43:16 +02:00
Johannes Zellner ce63dbde1b Check current subscription status once a day 2025-07-16 22:11:11 +02:00
Girish Ramakrishnan 989d843fcb shell: make shell.sudo promise based and waitable 2025-07-16 22:04:24 +02:00
Girish Ramakrishnan 32d07e7959 add spurious log 2025-07-16 21:37:30 +02:00
Girish Ramakrishnan 50b585c1dd shell: merge some options 2025-07-16 21:32:27 +02:00
Girish Ramakrishnan e03beba9bc sudo: add kill-child.sh
ultimately, a non-previlieged child cannot kill previlieged parent.
all the notes and research in shell.js are not useful.
2025-07-16 21:26:57 +02:00
Girish Ramakrishnan e4ceedcac6 logs: use child_process.spawn directly for sudo
shell.sudo will move to a promise based API shortly
2025-07-16 20:23:57 +02:00
Johannes Zellner 80edfffc3f Update pankow 2025-07-16 19:58:21 +02:00
Johannes Zellner 7a734ebf29 Also remove all task log button tooltips 2025-07-16 19:55:22 +02:00
Johannes Zellner 197e159b48 Replace logs icon with actual text in task logs button 2025-07-16 19:48:52 +02:00
Johannes Zellner 696632e551 Enable clearing of user avatar 2025-07-16 18:56:00 +02:00
Johannes Zellner b1752de36f Ensure HeaderBar and Profile view use the same profile object so avatar gets synced 2025-07-16 18:32:06 +02:00
Johannes Zellner 5967907f86 Remove console.log 2025-07-16 18:24:18 +02:00
Johannes Zellner ed288317c4 Use the same app label in login and app grid 2025-07-16 18:21:34 +02:00
Johannes Zellner 3754021ae8 Make the proxyauth login visually distinctive from oidc login 2025-07-16 18:20:43 +02:00
Girish Ramakrishnan 7214ce2ede support: remove ssh manipulation routes
this is now moved entirely to cloudron-support --enable-remote-access.

this emphasizes more that users have to get ssh access to the server before
we can do anything about it. it's far too simple for people to click this
button.

we have now also added clear terms to understand what remote access entails.
(what happens if support personnel makes a mistake. who is liable? etc)
2025-07-16 17:53:19 +02:00
Johannes Zellner d1dcbd97b7 Build proxyauth entrypoint as a single inlined html file 2025-07-16 17:45:33 +02:00
Johannes Zellner 30c0690e90 Bring back proxyauth proceed-to-login view 2025-07-16 17:45:33 +02:00
Girish Ramakrishnan 4b79881472 system: route to get filesystem 2025-07-16 17:20:28 +02:00
Girish Ramakrishnan b42be9899e tasks: add completed flag
in some cases, the tasks are setting percent to 100 and crashing later
2025-07-16 15:40:46 +02:00
Johannes Zellner 54c2e670e1 Fix appstore grid margin on search 2025-07-16 14:35:56 +02:00
Johannes Zellner e35dbba57d Disable app label submit button if value haven't changed 2025-07-16 13:39:40 +02:00
Johannes Zellner e632f07708 Allow direct search links into the eventlog 2025-07-16 13:28:30 +02:00
Johannes Zellner 7f0201b552 Add copy-to-clipboard button for backup id 2025-07-16 13:01:34 +02:00
Johannes Zellner 70de7ffe69 Never open edit dialogs on row-click 2025-07-16 12:49:22 +02:00
Johannes Zellner 7a421205e9 Sync up app backup listing columns with system backups 2025-07-16 12:47:59 +02:00