GT610 9281a578e7 fix(container): Parsing results in sudo mode (#1031)
* docs(l10n): fix un-updated English translation

* feat(container): Add support for requiring a sudo password

Add support for sudo password verification for Docker container operations, including:
1. Added ContainerErrType.sudoPasswordRequired error type
2. Add password prompt text in multi-language files
3. Modify the SSH execution logic to correctly handle the input of sudo password
4. Implement password caching and verification mechanism

* feat(container): Add sudo password error handling logic

Add a new error type `sudoPasswordIncorrect` to handle situations where the sudo password is incorrect

Modify the password verification logic in the SSH client, and return a specific error code when a password error is detected

Update multilingual files to support password error prompt information

* fix(ssh): Remove unnecessary stderr parameter and improve sudo command handling

Clean up the no longer needed stderr parameter in the SSH client, which was originally used to handle sudo password prompts

Unify the sudo command construction logic, always use the _buildSudoCmd method, and add stderr redirection
Clear cached passwords when passwords are incorrect

* fix(container): Improved sudo command handling and Podman simulation detection

Fix the sudo command processing logic, remove the masking of stderr to capture password errors

Override the detection logic simulated by Podman

Refactor the command building logic to support sh wrapping of multi-line commands

* fix(container): Improve the prompt message for sudo password errors

Update the sudo password error prompt messages for all languages to more accurately reflect situations of incorrect password or lack of permission

Fix the password error detection logic for both the SSH client and container providers simultaneously

* refactor(container): Remove unused sudo and password parameters in exec method

Simplify the exec method signature by removing the sudo and password parameters that are no longer needed, as these functions are no longer in use

* feat: Add new contributors and optimize container command handling

Add two new contributors to the GithubIds list and refactor the container command processing logic:
1. Simplify the command wrapping logic and uniformly use `sh -c` for processing
2. Specific error handling when adding a sudo password incorrectly
3. Remove redundant conditional checks and temporary variables
2026-01-29 18:07:20 +08:00
2026-01-29 14:32:19 +08:00
2024-07-10 15:12:05 +08:00
2023-06-05 16:50:22 +08:00
2026-01-29 14:24:08 +08:00
2026-01-19 09:40:31 +08:00
2025-08-08 16:56:36 +08:00
2025-03-22 01:27:17 +08:00
2025-09-02 19:41:56 +08:00
2024-06-01 22:36:02 +08:00
2025-08-17 17:56:26 +08:00
2025-10-19 13:40:17 +08:00
2025-08-09 12:45:45 +08:00

English | 简体中文

Flutter Server Box

donate lang license Ask DeepWiki

A Flutter project which provides charts to display Linux, Unix and Windows server status and tools to manage servers.
Especially thanks to dartssh2 & xterm.dart.

🏙️ Screenshots

📥 Installation

Platform From
iOS / macOS AppStore
Android GitHub / CDN / F-Droid / OpenAPK
Linux / Windows GitHub / CDN

Please only download pkgs from the source that you trust!

🔖 Features

  • Status chart (CPU, Sensors, GPU...), SSH Term, SFTP, Docker & Process & Systemd, S.M.A.R.T...
  • Platform specific: Bio authMsg pushHome widgetwatchOS App...
  • English, 简体中文; Deutsch @its-tom, 繁體中文 @kalashnikov, Indonesian @azkadev, Français @FrancXPT, Dutch @QazCetelic, Türkçe @mikropsoft, Українська мова @CakesTwix; Español, Русский язык, Português, 日本語 (Generated by GPT)

🆘 Help

qq donate discord
  • In order to push server status to your portable device without opening ServerBox app (Such as message push and home widget), you need to install ServerBoxMonitor on your servers, and config it correctly. See wiki for more details.
  • Common issues can be found in app wiki.

Before you open an issue, please read the following:

  1. Paste the entire log (click the top right of the home page) in the issue template.
  2. Make sure whether the issue is caused by ServerBox app.
  3. Welcome all valid and positive feedback, subjective feedback (such as you think other UI is better) may not be accepted.

After you read the above, you can open an issue.

🧱 Contributions

Any positive contribution is welcome.

If I forgot to add your name to the contributors list, please add a comment in the issue or PR you opened to let me know, I will add it as soon as possible.

Development

  1. Setup Flutter environment.
  2. Clone this repo, run flutter run to start the app.
  3. Run dart run fl_build -p PLATFORM to build the app.

Translation

  • Guide can be found in my blog.
  • We need your help! Just feel free to open a PR.

💡 My other apps

  • GPT Box - A third-party GPT Client for OpenAI API on all platforms.
  • More - Tools & etc.

📝 License

AGPL v3 lollipopkit & all contributors

Description
No description provided
Readme AGPL-3.0 25 MiB
Languages
Dart 91.1%
Swift 3.9%
Kotlin 2.1%
C++ 1.5%
CMake 1.1%
Other 0.2%