Ahao
fa1f9875d9
fix dependency issues
2025-05-24 19:58:37 +08:00
Tunglies
7466139320
fix(ControllerViewer): remove isRestarting condition from button and input disabled states
2025-05-24 17:04:32 +08:00
Tunglies
7a5bcf67c5
refactor(ControllerViewer): replace manual core restart logic with service call to restartCore
2025-05-24 17:00:25 +08:00
Tunglies
10e3010324
feat(config): add new allowed origins for CORS in clash.rs ( #3569 )
...
Include "https://yacd.metacubex.one ", "https://metacubex.github.io ",
and "https://board.zash.run.place " to the list of allowed origins for
both HTTP and WebSocket configurations.
2025-05-24 16:56:35 +08:00
Tunglies
464f8095ab
fix: update CORS allow-origins to support tauri local development
...
- Replaced 'http://localhost ' and 'http://127.0.0.1 ' with 'tauri://localhost' and 'http://tauri.localhost ' for enhanced compatibility with Tauri development environment.
- Ensures proper CORS configuration for local testing.
2025-05-22 19:18:48 +08:00
Tunglies
8b800f679b
optimize and enforce external-controller-cors config for all users
...
- Refactored config guard logic to always inject secure defaults for external-controller-cors (allow-origins: ['http://localhost ', 'http://127.0.0.1 '], allow-private-network: true).
- Ensures both new and existing user configs are automatically upgraded for enhanced CORS security.
- Improves configuration migration and future maintainability.
fix: add http://localhost:3000 to CORS allow-origins for tauri dev server compatibility
2025-05-22 14:36:21 +08:00
Tunglies
5b2f946828
feat: restrict proxy group selection to Selector type in home node card
...
- Only Selector-type groups are available for selection in the group dropdown on the home page node card.
- Node (proxy) selection remains unrestricted.
- Improves user experience and avoids confusion with non-selector groups.
2025-05-22 11:38:26 +08:00
Tunglies
b1c31f7a6f
Revert "fix: ensure app state is saved on exit and window events for better state management"
...
This reverts commit 9af0803e9b .
chore: update UPDATELOG
2025-05-22 11:19:38 +08:00
Tunglies
d49618786e
chore: temporarily deprecate tauri-plugin-window-state integration
...
- Remove or disable usage of tauri-plugin-window-state due to compatibility or stability concerns.
- Will revisit and re-enable after further evaluation or upstream fixes.
2025-05-22 10:22:16 +08:00
Tunglies
866ec2720d
Revert "feat: integrate window state management for improved window restoration and logging"
...
This reverts commit c9a9e934f4 .
2025-05-22 10:17:42 +08:00
Tunglies
b4595d7886
fix: add fallback to first proxy in group if 'now' is missing and prioritize selector-type groups
...
- When the current group or its 'now' field is missing, fallback to the first proxy in the group's list to ensure a valid active node is always selected.
- When no current group is found, prioritize groups of type 'Selector' for selection, improving compatibility with custom or extended proxy groups.
2025-05-22 10:10:26 +08:00
Tunglies
9af0803e9b
fix: ensure app state is saved on exit and window events for better state management
2025-05-22 09:54:25 +08:00
Tunglies
ebecabc0cc
rm: deno.lock
2025-05-22 03:04:33 +08:00
Tunglies
c9a9e934f4
feat: integrate window state management for improved window restoration and logging
2025-05-22 03:02:02 +08:00
Ahao
544f63a2ff
update log port settings
2025-05-21 15:29:46 +08:00
Ahao
1dbfc96ebf
optimize port setting exit and save mechanism
2025-05-21 15:27:43 +08:00
Ahao
250dcf569c
beradaptasi dengan bahasa terjemahan terbaru
2025-05-21 10:58:49 +08:00
Ahao
0ef552d384
optimize the icon of API controller
2025-05-21 10:31:13 +08:00
Tunglies
998ded5e0b
refactor: remove unused imports and adjust button height in logs and rules pages
2025-05-21 10:25:50 +08:00
Tunglies
d60c3b4d64
feat: improve initialization logic to prevent duplicated initialization and improve logging in Layout component
2025-05-21 00:22:47 +08:00
Tunglies
b6db209670
docs: update CONTRIBUTING.md to include guidelines for Rust code formatting and quality checks
2025-05-20 23:09:50 +08:00
Ahao
29fd97e402
remove redundant fields
2025-05-20 23:07:50 +08:00
Tunglies
32ebc8d174
refactor: simplify event handling in CoreManager by removing unnecessary match statement
2025-05-20 23:01:32 +08:00
Tunglies
420b0a254a
feat: add formatting command to package.json and update pre-commit hook for cargo fmt
2025-05-20 22:58:25 +08:00
Ahao
400efa00ec
optimized the random port and key mechanism to prevent random freezing! optimized the save mechanism, using smooth functions to prevent the client from freezing! Optimized the translation problem!
2025-05-20 22:51:11 +08:00
Tunglies
4024b72954
feat: enhance auto log cleaning options with 1-day retention and update related configurations
2025-05-20 22:34:02 +08:00
Ahao
7cd1816866
optimized port settings and added one-click random API port and key/separate refresh button
2025-05-20 18:49:16 +08:00
Ahao
5983ac5449
Fix getDelayFix hook issue
2025-05-20 18:15:05 +08:00
wonfen
b70e202201
refactor: simplify frontend event dispatch by restructuring notification system
2025-05-18 20:58:59 +08:00
wonfen
cc5ebec0cb
feat: add state management for core switching, upgrading and restart functionality
2025-05-18 18:37:09 +08:00
Ahao
1d2fd06507
synchronous Languag ( #3534 )
...
* fixed the issue of IP field assignment conflict
* updated the shuffling algorithm and added a deduplication detection mechanism
* fixed an issue with .window-state.json files not being deleted via the NSIS installer
* adaptation translation
* update language
* standardized the format
---------
Co-authored-by: Ahao <108321411+xuanyuan0408@users.noreply.github.com >
2025-05-18 17:57:41 +08:00
wonfen
8d99af4c15
chore: simplify service logging
2025-05-18 17:53:57 +08:00
wonfen
861428d3bd
fix: sidecar core log path
2025-05-18 09:58:33 +08:00
Tunglies
00e3f13bc9
fix: profile-view wrong type of http request timeout value
2025-05-18 00:52:59 +08:00
Ahao
2a897ecf8a
adaptation translation ( #3532 )
...
* fixed the issue of IP field assignment conflict
* updated the shuffling algorithm and added a deduplication detection mechanism
* fixed an issue with .window-state.json files not being deleted via the NSIS installer
* adaptation translation
---------
Co-authored-by: Ahao <108321411+xuanyuan0408@users.noreply.github.com >
2025-05-17 19:48:44 +08:00
wonfen
8448217bd4
refactor: move event dispatch logic into notifier thread to improve efficiency
2025-05-17 19:42:43 +08:00
wonfen
305a64c3e3
feat: optimize service initialization logic to fallback to Sidecar mode on installation failure
2025-05-17 19:13:24 +08:00
wonfen
e1d6c74e4f
refactor: extract service installation logic to custom hook and optimize related component handling
2025-05-17 19:11:17 +08:00
Tunglies
7556758284
refactor: remove macOS window decoration setting during window creation
2025-05-17 14:28:34 +08:00
Ahao
3926288b7f
fixed an issue with .window-state.json files not being deleted via the NSIS installer ( #3530 )
2025-05-17 13:15:04 +08:00
Tunglies
4d56a5cd8c
Revert "feat: add application name and icon to macOS entitlements plist"
...
This reverts commit 6fe7aabe14 .
2025-05-17 01:42:11 +08:00
Tunglies
d554679ee2
feat: remove system-in name plist
2025-05-17 01:21:08 +08:00
Tunglies
6fe7aabe14
feat: add application name and icon to macOS entitlements plist
2025-05-17 01:05:21 +08:00
wonfen
f4e57a2831
fix: retain traffic data when switching chart time range
2025-05-16 18:03:02 +08:00
wonfen
32008b9364
fix: update main window creation logic with improved logging and UI readiness handling
2025-05-16 17:22:53 +08:00
wonfen
9d89eeb974
perf: optimize event listeners in update viewer and test item components with proper cleanup on unmount
...
(cherry picked from commit 2e4e939e0b05040c8f38248f3663978a0212cd50)
2025-05-16 16:10:37 +08:00
wonfen
95c23730ef
perf: async config handling with optimized port lookup and save logic
2025-05-16 13:47:12 +08:00
Ahao
7acbb5da4f
updated the shuffling algorithm and added a deduplication detection mechanism ( #3521 )
2025-05-16 12:26:50 +08:00
wonfen
ddd85d4d87
perf & fix: optimize window state initialization & add missing permissions
2025-05-16 09:50:53 +08:00
Tunglies
53a46d0dc6
refactor: simplify proxy type handling and improve error handling in network commands
2025-05-16 00:09:47 +08:00