Compare commits

...

9 Commits

Author SHA1 Message Date
lollipopkit🏳️‍⚧️
aacda6c6f8 refactor: move direct-included repos under packages 2026-02-06 14:54:42 +08:00
lollipopkit🏳️‍⚧️
4b06f508c0 fix: scope analysis to app sources 2026-02-06 14:44:18 +08:00
lollipopkit🏳️‍⚧️
10ee4242e7 fix: checkout submodules in analysis workflow 2026-02-06 14:41:23 +08:00
lollipopkit🏳️‍⚧️
d4f053f843 opt.: include core repos via submodules 2026-02-06 14:38:27 +08:00
lollipopkit🏳️‍⚧️
360baf2d75 bump: v1316 2026-02-04 20:25:18 +08:00
lollipopkit🏳️‍⚧️
d5e15574d7 bump: v1315 2026-02-04 20:05:05 +08:00
lollipopkit🏳️‍⚧️
d2cf9f5dbd fix: macOS build 2026-02-04 20:04:42 +08:00
lollipopkit🏳️‍⚧️
2d1e0a7edd bump: v1313 2026-02-04 14:54:34 +08:00
GT610
64dc00475a chore: Update l10n (#1039) 2026-01-30 15:24:48 +08:00
16 changed files with 91 additions and 76 deletions

View File

@@ -19,6 +19,7 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 1
submodules: recursive
- uses: subosito/flutter-action@v2
with:
@@ -29,7 +30,7 @@ jobs:
# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
run: dart analyze
run: flutter analyze lib test
# Your project will need to have tests in test/ and a dependency on
# package:test for this step to succeed. Note that Flutter projects will

20
.gitmodules vendored Normal file
View File

@@ -0,0 +1,20 @@
[submodule "dartssh2"]
path = packages/dartssh2
url = https://github.com/lollipopkit/dartssh2
branch = master
[submodule "xterm"]
path = packages/xterm
url = https://github.com/lollipopkit/xterm.dart
branch = master
[submodule "fl_lib"]
path = packages/fl_lib
url = https://github.com/lollipopkit/fl_lib
branch = main
[submodule "fl_build"]
path = packages/fl_build
url = https://github.com/lppcg/fl_build.git
branch = main
[submodule "server_box_monitor"]
path = packages/server_box_monitor
url = https://github.com/lollipopkit/server_box_monitor
branch = main

View File

@@ -17,9 +17,6 @@ PODS:
- FlutterMacOS
- package_info_plus (0.4.5):
- Flutter
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- plain_notification_token (0.0.1):
- Flutter
- share_plus (0.0.1):
@@ -44,7 +41,6 @@ DEPENDENCIES:
- icloud_storage (from `.symlinks/plugins/icloud_storage/ios`)
- local_auth_darwin (from `.symlinks/plugins/local_auth_darwin/darwin`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- plain_notification_token (from `.symlinks/plugins/plain_notification_token/ios`)
- share_plus (from `.symlinks/plugins/share_plus/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
@@ -71,8 +67,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/local_auth_darwin/darwin"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
plain_notification_token:
:path: ".symlinks/plugins/plain_notification_token/ios"
share_plus:
@@ -96,7 +90,6 @@ SPEC CHECKSUMS:
icloud_storage: e55639f0c0d7cb2b0ba9c0b3d5968ccca9cd9aa2
local_auth_darwin: c3ee6cce0a8d56be34c8ccb66ba31f7f180aaebb
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
path_provider_foundation: bb55f6dbba17d0dccd6737fe6f7f34fbd0376880
plain_notification_token: 047876b9d80a5b93565ddcc13a487a7e7b906f7d
share_plus: 50da8cb520a8f0f65671c6c6a99b3617ed10a58a
shared_preferences_foundation: 7036424c3d8ec98dfe75ff1667cb0cd531ec82bb

View File

@@ -748,7 +748,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
@@ -758,7 +758,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -884,7 +884,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
@@ -894,7 +894,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -912,7 +912,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
@@ -922,7 +922,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -943,7 +943,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_TEAM = BA88US33G6;
GCC_C_LANGUAGE_STANDARD = gnu11;
GENERATE_INFOPLIST_FILE = YES;
@@ -956,7 +956,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
@@ -982,7 +982,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_TEAM = BA88US33G6;
GCC_C_LANGUAGE_STANDARD = gnu11;
GENERATE_INFOPLIST_FILE = YES;
@@ -995,7 +995,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1018,7 +1018,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_TEAM = BA88US33G6;
GCC_C_LANGUAGE_STANDARD = gnu11;
GENERATE_INFOPLIST_FILE = YES;
@@ -1031,7 +1031,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.StatusWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1054,7 +1054,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_PREVIEWS = YES;
@@ -1066,7 +1066,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
@@ -1095,7 +1095,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_PREVIEWS = YES;
@@ -1107,7 +1107,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
PRODUCT_NAME = ServerBox;
@@ -1133,7 +1133,7 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = BA88US33G6;
ENABLE_PREVIEWS = YES;
@@ -1145,7 +1145,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox.WatchEnd;
PRODUCT_NAME = ServerBox;

View File

@@ -3,6 +3,6 @@
abstract class BuildData {
static const String name = "ServerBox";
static const int build = 1297;
static const int build = 1316;
static const int script = 70;
}

View File

@@ -404,7 +404,7 @@ abstract class AppLocalizations {
/// No description provided for @compactDatabaseContent.
///
/// In en, this message translates to:
/// **'Database size: {size}\n\nThis will rebuild the whole database to reduce file size.'**
/// **'Database size: {size}\n\nThis will reorganize the database to reduce file size. No data will be deleted.'**
String compactDatabaseContent(Object size);
/// No description provided for @confirm.

View File

@@ -166,7 +166,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String compactDatabaseContent(Object size) {
return 'Database size: $size\n\nThis will rebuild the whole database to reduce file size.';
return 'Database size: $size\n\nThis will reorganize the database to reduce file size. No data will be deleted.';
}
@override

View File

@@ -15,9 +15,6 @@ PODS:
- FlutterMacOS
- package_info_plus (0.0.1):
- FlutterMacOS
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- screen_retriever_macos (0.0.1):
- FlutterMacOS
- share_plus (0.0.1):
@@ -41,7 +38,6 @@ DEPENDENCIES:
- icloud_storage (from `Flutter/ephemeral/.symlinks/plugins/icloud_storage/macos`)
- local_auth_darwin (from `Flutter/ephemeral/.symlinks/plugins/local_auth_darwin/darwin`)
- package_info_plus (from `Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos`)
- path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`)
- screen_retriever_macos (from `Flutter/ephemeral/.symlinks/plugins/screen_retriever_macos/macos`)
- share_plus (from `Flutter/ephemeral/.symlinks/plugins/share_plus/macos`)
- shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`)
@@ -66,8 +62,6 @@ EXTERNAL SOURCES:
:path: Flutter/ephemeral/.symlinks/plugins/local_auth_darwin/darwin
package_info_plus:
:path: Flutter/ephemeral/.symlinks/plugins/package_info_plus/macos
path_provider_foundation:
:path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin
screen_retriever_macos:
:path: Flutter/ephemeral/.symlinks/plugins/screen_retriever_macos/macos
share_plus:
@@ -90,7 +84,6 @@ SPEC CHECKSUMS:
icloud_storage: eb5b0f20687cf5a4fabc0b541f3b079cd6df7dcb
local_auth_darwin: c3ee6cce0a8d56be34c8ccb66ba31f7f180aaebb
package_info_plus: f0052d280d17aa382b932f399edf32507174e870
path_provider_foundation: bb55f6dbba17d0dccd6737fe6f7f34fbd0376880
screen_retriever_macos: 452e51764a9e1cdb74b3c541238795849f21557f
share_plus: 510bf0af1a42cd602274b4629920c9649c52f4cc
shared_preferences_foundation: 7036424c3d8ec98dfe75ff1667cb0cd531ec82bb

View File

@@ -214,6 +214,7 @@
33CC110E2044A8840003C045 /* Bundle Framework */,
3399D490228B24CF009A79C7 /* ShellScript */,
3EF3AE3CC6FE5ADDF0613960 /* [CP] Embed Pods Frameworks */,
A1B2C3D4E5F60718293A4B5C /* Fix Objective-C Framework Resources */,
);
buildRules = (
);
@@ -288,10 +289,28 @@
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
A1B2C3D4E5F60718293A4B5C /* Fix Objective-C Framework Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Fix Objective-C Framework Resources";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "FRAMEWORK=\"$TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH/objective_c.framework\"\nif [ -d \"$FRAMEWORK/Versions\" ]; then\n if [ ! -L \"$FRAMEWORK/Versions/Current\" ]; then\n (cd \"$FRAMEWORK/Versions\" && ln -sf A Current)\n fi\n rm -f \"$FRAMEWORK/Resources\"\n ln -sf Versions/Current/Resources \"$FRAMEWORK/Resources\"\nfi\n";
};
3399D490228B24CF009A79C7 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
@@ -471,7 +490,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_TEAM = BA88US33G6;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Server Box";
@@ -481,7 +500,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "Server Box";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -608,7 +627,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_TEAM = BA88US33G6;
INFOPLIST_FILE = Runner/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Server Box";
@@ -618,7 +637,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "Server Box";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -638,7 +657,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "3rd Party Mac Developer Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1297;
CURRENT_PROJECT_VERSION = 1316;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = BA88US33G6;
INFOPLIST_FILE = Runner/Info.plist;
@@ -649,7 +668,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 1.0.1297;
MARKETING_VERSION = 1.0.1316;
PRODUCT_BUNDLE_IDENTIFIER = com.lollipopkit.toolbox;
PRODUCT_NAME = "Server Box";
PROVISIONING_PROFILE_SPECIFIER = "";

1
packages/dartssh2 Submodule

Submodule packages/dartssh2 added at b6c1c7b42f

1
packages/fl_build Submodule

Submodule packages/fl_build added at 61ee37ea6f

1
packages/fl_lib Submodule

Submodule packages/fl_lib added at 5a653c5d82

1
packages/xterm Submodule

Submodule packages/xterm added at cdd22e4d0c

View File

@@ -366,11 +366,9 @@ packages:
dartssh2:
dependency: "direct main"
description:
path: "."
ref: "v1.0.293"
resolved-ref: "3eedfd55916eede70aeb28605469a43623a9791b"
url: "https://github.com/lollipopkit/dartssh2"
source: git
path: "packages/dartssh2"
relative: true
source: path
version: "2.12.0"
dbus:
dependency: transitive
@@ -479,11 +477,9 @@ packages:
fl_build:
dependency: "direct dev"
description:
path: "."
ref: "v1.0.53"
resolved-ref: "61ee37ea6f082592f5be56340b7746dce4ffbfda"
url: "https://github.com/lppcg/fl_build.git"
source: git
path: "packages/fl_build"
relative: true
source: path
version: "1.0.0"
fl_chart:
dependency: "direct main"
@@ -496,11 +492,9 @@ packages:
fl_lib:
dependency: "direct main"
description:
path: "."
ref: "v1.0.363"
resolved-ref: "4b745be6f33b2e7f274d44f26175df440345cefb"
url: "https://github.com/lollipopkit/fl_lib"
source: git
path: "packages/fl_lib"
relative: true
source: path
version: "0.0.1"
flutter:
dependency: "direct main"
@@ -1861,11 +1855,9 @@ packages:
xterm:
dependency: "direct main"
description:
path: "."
ref: "v4.0.13"
resolved-ref: "6343b0e5f744d2c11090d34690ad5049ebbc599b"
url: "https://github.com/lollipopkit/xterm.dart"
source: git
path: "packages/xterm"
relative: true
source: path
version: "4.0.0"
yaml:
dependency: transitive

View File

@@ -1,7 +1,7 @@
name: server_box
description: server status & toolbox app.
publish_to: "none"
version: 1.0.1297+1297
version: 1.0.1316+1316
environment:
sdk: ">=3.9.0"
@@ -40,17 +40,13 @@ dependencies:
xml: ^6.4.2 # for parsing nvidia-smi
url_launcher: ^6.2.6
dartssh2:
git:
url: https://github.com/lollipopkit/dartssh2
ref: v1.0.293
path: packages/dartssh2
circle_chart:
git:
url: https://github.com/lollipopkit/circle_chart
ref: main
xterm:
git:
url: https://github.com/lollipopkit/xterm.dart
ref: v4.0.13
path: packages/xterm
computer:
git:
url: https://github.com/lollipopkit/dart_computer
@@ -64,9 +60,7 @@ dependencies:
url: https://github.com/lollipopkit/plain_notification_token
ref: v1.0.23
fl_lib:
git:
url: https://github.com/lollipopkit/fl_lib
ref: v1.0.363
path: packages/fl_lib
dependency_overrides:
# webdav_client_plus:
@@ -101,9 +95,7 @@ dev_dependencies:
# url: https://github.com/lollipopkit/riverpod_reg
# ref: v0.0.2
fl_build:
git:
url: https://github.com/lppcg/fl_build.git
ref: v1.0.53
path: packages/fl_build
flutter:
generate: true