Commit Graph

18328 Commits

Author SHA1 Message Date
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
Girish Ramakrishnan 3dcc9ad844 print the region 2025-07-16 09:15:05 +02:00
Girish Ramakrishnan 5548ed1b57 s3: fix malformed endpoint URL from older versions
this is specifically for linode, but may apply for other storages too
2025-07-16 09:12:57 +02:00
Johannes Zellner 32bc082a9f Update pankow 2025-07-15 23:38:49 +02:00
Johannes Zellner 4eed77e123 Do not crash in gcs if remote path has zero objects 2025-07-15 20:39:38 +02:00
Johannes Zellner 8564105ee3 Show backup preserved icon in the beginning of the row 2025-07-15 19:01:21 +02:00
Johannes Zellner 4a537dde1a No more modal for dialogs 2025-07-15 18:51:39 +02:00
Johannes Zellner 2f4d89f32a Set correct close label for backup info dialog 2025-07-15 18:47:52 +02:00
Johannes Zellner 10d74d3b34 Show mailbox quota in a separate column and fix usage value 2025-07-15 15:57:38 +02:00
Johannes Zellner e1ba78ff61 Do not open mailbox/mailing list edit on row click 2025-07-15 15:40:49 +02:00
Johannes Zellner 31ee456962 Ensure app task and status info does not overflow the header toolbar 2025-07-15 14:42:58 +02:00
Johannes Zellner 717607807a Fix dialog width to 600px or 95% max for mobile 2025-07-15 14:00:19 +02:00
Girish Ramakrishnan 56e4af58d3 fix comment 2025-07-15 11:20:05 +02:00