Files
flutter_server_box/lib/data/model/server
GT610 87d7feb823 ref(systemd): Fix safety bugs and improve performance (#1020)
* fix(systemd): Fix the issue of special characters in unit names

In systemd unit processing, filtering of special characters in unit names has been added to prevent command injection and security issues. Additionally, the rendering performance of the unit list has been optimized by merging unnecessary watch calls and removing confirmation dialogs to simplify the operation process.

* feat(Systemd): Add a confirmation dialog for systemd unit operations

Display a confirmation dialog when stopping or restarting systemd units to prevent accidental operations. For other operations, directly navigate to the SSH page to execute commands.

* fix(systemd): Fix the range of characters allowed in unit names

Extend the regular expression to allow more valid characters, including dots, @, and colons, in system unit names, to support a broader range of unit naming conventions

* fix(systemd): Fix the issue of parsing service names with dots

When dealing with service IDs containing multiple dots (such as org.cups.cupsd.service), correctly extract the service name and type. When there are no dots in the service ID, set the type to an empty string.
2026-01-22 17:47:06 +08:00
..
2025-08-08 16:56:36 +08:00
2025-08-08 16:56:36 +08:00
2025-06-04 00:11:31 +08:00
2025-10-08 17:03:13 +08:00
2025-08-17 14:06:24 +08:00
2025-06-10 14:27:27 +08:00
2025-08-08 16:56:36 +08:00
2025-08-14 23:21:33 +08:00
2025-08-08 16:56:36 +08:00
2025-06-04 00:11:31 +08:00
2025-08-08 16:56:36 +08:00
2025-10-08 17:03:13 +08:00
2025-08-31 00:55:54 +08:00
2025-08-17 14:06:24 +08:00
2025-06-10 14:27:27 +08:00
2025-08-14 23:21:33 +08:00
2024-04-21 01:04:43 +08:00
2024-06-11 22:06:29 +08:00
2025-10-08 17:03:13 +08:00