wonfen
ff5a2c6ca4
feat: add backend config change listener to update frontend state
2025-05-04 13:28:08 +08:00
wonfen
d6a79316a6
feat: toggle next auto-update time on subscription card click and show update result feedback
2025-04-25 17:17:34 +08:00
wonfen
d05952e945
fix: resolve lightweight mode recovery failure caused by white screen prevention
2025-04-21 00:15:02 +08:00
wonfen
541b78ba6f
fix: restart clash core after change it
2025-04-19 22:23:58 +08:00
Tunglies
1df9fff0a7
2.2.4-alpha.0
2025-04-17 16:47:21 +08:00
逐雁南飛
b70cad537c
添加代理主机的设置,允许代理设置为其他IP(非127.0.0.1) ( #2963 )
...
允许下拉选择ip地址(支持IPv6)、localhost、以及当前系统的主机名,同时兼容手工输入
2025-04-17 16:47:21 +08:00
wonfen
85d08fadd9
feat: check window render size and wait for completion to prevent white screen
2025-04-17 16:47:21 +08:00
Tunglies
51ef1329be
Refactor async runtime usage with AsyncHandler wrapper
2025-04-11 18:00:35 +08:00
Tunglies
843f40d7d5
fix: unlock test error message to "Unsupported Country/Region"
2025-04-10 11:30:52 +08:00
Tunglies
0b8d08d13b
Update logging macros usage in timer module
...
Replace log macros with custom logging macros in timer module
2025-04-05 11:36:38 +08:00
wonfen
7b5fd104de
fix : #3227 , use async operations to avoid blocking on
2025-04-01 12:52:59 +08:00
wonfen
c53514e060
feat: unify runtime mode detection; support TUN and service installation in admin mode
2025-03-31 08:16:14 +08:00
wonfen
52a15bb281
feat: detect admin mode and warn about auto-start unavailability
2025-03-31 03:22:24 +08:00
wonfen
1bd503a654
feat: add error prompt for initial config loading to prevent switching to invalid subscription
2025-03-30 10:56:30 +08:00
Tunglies
4831d88467
rm(lightweight): unused logging
2025-03-29 13:05:58 +08:00
Tunglies
9ebde802d4
Update alpha workflow to trigger on src directory changes
2025-03-29 12:35:49 +08:00
Tunglies
492a5a6de7
feat(cmd): service return message i18 language support
2025-03-28 11:51:52 +08:00
Tunglies
f6c0f144a6
fix(clippy): clippy warning codes
2025-03-28 11:43:21 +08:00
Tunglies
1c046f3ca3
fix(cmd): service error message return with shorter message
2025-03-28 11:35:50 +08:00
Tunglies
e8e16f7d57
refactor(logging): replace log_err! with structured logging_error! calls
...
refactor(cm-service): better error handling from Backend to Frontend
2025-03-28 03:39:34 +08:00
Tunglies
e2046f3e48
refact(profile+core): replace println with logging! macros for structured logging
2025-03-28 01:48:55 +08:00
Tunglies
ce5c86c3b0
fix: load custom tray icon failed due to #2886
2025-03-27 11:12:08 +08:00
Tunglies
971dd6a2cf
fea: optimize vite chunk splitting
2025-03-27 05:09:36 +08:00
Tunglies
6e40dd9862
fix: tray icon and tray rate display expression logic bug
2025-03-26 19:07:09 +08:00
Tunglies
42db9ea0bb
chore: enable pre-commit for Rust formatting, pre-push for Rust linter check
2025-03-26 18:59:31 +08:00
Tunglies
ca0cf4552c
add: RunningMode Display implementation and TypeScript enum
2025-03-26 17:01:48 +08:00
Tunglies
81968a579d
feat: reorganize service commands and implement logging for service management
2025-03-26 15:02:08 +08:00
Tunglies
a891341e35
fix: alpha version
2025-03-26 03:03:50 +08:00
Tunglies
1baa840160
v2.2.3-alpha begin
2025-03-26 01:51:19 +08:00
Tunglies
df5424d55e
feat: add logging module and update running mode terminology
2025-03-25 23:05:09 +08:00
wonfen
cf78bb3686
refactor: service reinstallation logic on detection failure
2025-03-25 00:51:38 +08:00
Tunglies
1d88d98ea1
feat: ensure Mihomo and Verge services are running before executing commands
2025-03-22 17:05:42 +08:00
Tunglies
2e38404434
fix: homepage entry lightweight mode exiting Macos tray icon
...
fix: lightweight mode better handling and logging logic
2025-03-20 23:17:37 +08:00
Tunglies
81b5501b0e
feat: implement auto lightweight mode timer functionality
...
This commit implements the automatic lightweight mode feature with timer functionality:
- Rename configuration properties from auto_enter_lite_mode to enable_auto_light_weight_mode and auto_enter_lite_mode_delay to auto_light_weight_minutes for better clarity
- Add window event listeners to detect when window is closed or gets focus
- Implement timer system to automatically enter lightweight mode after configured time
- Remove exit_lightweight_mode function as it's no longer needed with the new implementation
- Update UI components to reflect the new property names
- Add logging for lightweight mode operations
- Initialize lightweight mode based on user configuration at startup
The feature now allows users to set a timer that will automatically enter lightweight mode
after closing the main window, which can be cancelled by focusing the window again.
2025-03-20 06:01:38 +08:00
Tunglies
91ccb3045c
feat: implement lightweight mode functionality and update related settings
2025-03-20 03:23:14 +08:00
wonfen
61f019f194
fix: cannot detect service mode on home card
2025-03-19 05:25:38 +08:00
Tunglies
772ecdd3b0
refactor: improve proxy retrieval and add window destruction method
2025-03-19 02:04:01 +08:00
wonfen
70b0f9a03a
fix: resolve Netflix detection error
2025-03-17 11:57:12 +08:00
wonfen
6239f81f36
feat: sync auto-start status
2025-03-17 09:48:44 +08:00
wonfen
bcaafa67a3
feat: unlock test page
2025-03-16 12:15:35 +08:00
Tunglies
488e8ef1d5
fix: optimize speed rate update logic for small values
2025-03-14 22:40:56 +08:00
wonfen
1f99cee78b
feat: home page
2025-03-14 13:31:34 +08:00
Tunglies
b57c6e408a
chore: git hooks for linter and formatter
2025-03-13 12:51:20 +08:00
wonfen
c1a9de4d66
feat: add icon file content check to prevent saving failed downloads
2025-03-09 02:34:57 +08:00
Tunglies
0f60d84f6c
refactor: streamline clash delay test and improve API interactions
2025-03-09 00:04:48 +08:00
wonfen
4cb6ad7736
feat: optimize icon cache download and DNS view styling
2025-03-08 13:31:20 +08:00
wonfen
e27a32395a
refactor: restructure DNS setting logic
2025-03-08 11:25:00 +08:00
Tunglies
6c96724dce
feat(mihomo): refactor MihomoManager for global access and improve proxy retrieval ( #2906 )
2025-03-05 10:58:54 +08:00
Tunglies
5760f16272
fix: extern controler api secert with headers
2025-03-05 08:09:42 +08:00
Tunglies
4ed36f6223
refacture: Mihomo API integration ( #2900 )
...
* feat: add mihomo_api crate as a workspace member
Added a new mihomo_api crate to handle interactions with the Mihomo API. This modular approach provides a dedicated interface for fetching and managing proxy data from Mihomo servers. The implementation includes functionality to refresh and retrieve both proxies and provider proxies with proper error handling and timeouts. Added this crate as a workspace member and included it as a dependency in the main project.
* Refactors Mihomo API integration
Simplifies proxy fetching by removing the MihomoManager structure.
Updates the get_proxies and get_providers_proxies functions to directly use the mihomo_api module.
Removes unused Mihomo API related files and modules for cleaner codebase.
Enhances overall maintainability and performance.
2025-03-05 00:45:08 +08:00