164 Commits

Author SHA1 Message Date
wonfen
9fd75f0efb feat: home page 2025-03-14 13:31:34 +08:00
Tunglies
a7f66c3d65 chore: git hooks for linter and formatter 2025-03-13 12:51:20 +08:00
Christine.
99abbfbc4c
chore: Change default TUN stack from 'mixed' to 'gvisor' (#2967) 2025-03-12 21:45:14 +08:00
wonfen
bd6c4e00c4 refactor: restructure DNS setting logic 2025-03-08 11:25:00 +08:00
Tunglies
684128ca68 Update dependencies and refactor encryption logic
Updates multiple dependencies to their latest versions in Cargo.lock and Cargo.toml.
Refactors encryption logic to use updated getrandom API.
Improves tray speed rate display by using ab_glyph for font rendering.
2025-03-06 18:56:31 +08:00
wonfen
6925adc66f feat: enable dns settings by default 2025-03-06 14:40:35 +08:00
Tunglies
f771f4720f
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
Tunglies
2cd97c7785
feat: add Mihomo API modules and manager (#2869)
• Introduce new API caller implementations for Mihomo in model and module layers.
• Add configuration and API integration files under /src-tauri/src/config/api and /src-tauri/src/model/api.
• Implement a singleton MihomoAPICaller with async API call support and integration tests.
• Create a new MihomoManager module to refresh and fetch proxies from the API.
• Update Cargo.lock and Cargo.toml with additional dependencies (async-trait, env_logger, mockito, tempfile, etc.) related to the Mihomo API support.
2025-03-03 19:31:44 +08:00
wonfen
7a0e38a1b4 perf: Improve config validation error messages and handling 2025-02-25 13:47:29 +08:00
wonfen
befc856207 feat: Improve core change configuration validation and error handling 2025-02-24 07:34:03 +08:00
wonfen
5ab8e7a7c7 feat: Enhance configuration validation and error handling during app startup 2025-02-24 06:21:32 +08:00
wonfen
6b14c2b763 feat: add lightweight mode 2025-02-13 02:18:17 +08:00
Tunglies
215dcee3f1
feat: option to enable global hotkey (#2665) 2025-02-09 07:45:22 +08:00
Tunglies
37e5c22a5a
fix: duplicate checked tray menu when profile name are same (#2660) 2025-02-08 09:36:04 +08:00
Tunglies
f66fa08b2c
Feature: Switch Proxy Profile from Tray Menu (#2644) 2025-02-05 08:52:47 +08:00
huzibaca
1a61fab79a
feat: maoos tray speed can be closed 2025-01-13 20:48:25 +08:00
huzibaca
9655f7712b
Merge branch 'languagefixes' into dev
# Conflicts:
#	src-tauri/Cargo.lock
#	src-tauri/Cargo.toml
#	src-tauri/src/core/tray/mod.rs
2025-01-11 15:07:30 +08:00
huzibaca
fb41c915cc
feat: macos system tray addition rate display 2024-12-31 04:42:55 +08:00
blagodaren
fc925ea032 fix: add system language sup 2024-12-28 08:12:46 +03:00
wonfen
ebe0cfbb0c chore: set tun default stack 2024-11-28 04:22:13 +08:00
huzibaca
cd1d719a92
fix: serde::json passing IVerge to the front end without deserialization 2024-11-21 06:01:56 +08:00
huzibaca
cf3848f15d
chore: update 2024-11-20 07:37:30 +08:00
huzibaca
df5d43283b
chore: remove notes 2024-11-20 07:37:03 +08:00
huzibaca
91f0f9f65e
feat: encryption configuration properties 2024-11-20 07:27:42 +08:00
huzibaca
c3e24d7b96
chore: update 2024-11-08 21:46:15 +08:00
huzibaca
2833718c90
feat: add unified delay 2024-11-05 16:24:58 +08:00
huzibaca
c5916cf5ec
feat: use tauri-plugin-persisted-scope 2024-10-30 16:37:47 +08:00
huzibaca
dce72a16f0
chore: remove useless hooks
the window is not closed, it is minimized, so the position still exists
2024-10-30 10:06:54 +08:00
huzibaca
7550c2321c
fix: linux file permissions problem
check-config configuration file moved from temp_dir to home_dir, resolved
2024-10-30 09:08:44 +08:00
huzibaca
30b0c45539
refactor: IRuntime::patch_config() 2024-10-23 10:34:14 +08:00
huzibaca
90361242ac
chore: update 2024-10-13 03:01:32 +08:00
huzibaca
a07c579497
chore: adjust tun default parameters 2024-10-13 02:42:37 +08:00
huzibaca
e78f619be1
fox: external-controller cors error 2024-10-11 22:01:57 +08:00
huzibaca
3f3fad0db7
feat: Modify startup logic and install services by default 2024-10-10 00:34:36 +08:00
huzibaca
a3465d292c
refactor: unify and simplify the call of app_handle(2) 2024-09-23 23:15:51 +08:00
MystiPanda
1b7dafe743
feat: auto select profile 2024-07-30 09:06:12 +08:00
MystiPanda
08baba545d
chore: disable unnecessary ports by default 2024-07-04 18:58:34 +08:00
MystiPanda
123ecc3548
fix: rules drag error 2024-07-03 09:45:14 +08:00
MystiPanda
c857fcf035
fix: compatibility 2024-07-03 08:15:13 +08:00
MystiPanda
ffc343b471
fix: default value of global extend config 2024-07-02 18:46:23 +08:00
MystiPanda
7e8b65e61f
chore: Adjust the chain processing execution order and default value 2024-07-02 12:40:28 +08:00
MystiPanda
7b9bf9e552
feat: allow set bypass without using default value 2024-07-01 22:53:32 +08:00
MystiPanda
b1444b8635
feat: global merge and script 2024-07-01 08:25:03 +08:00
MystiPanda
b854b5e1ac
feat: support seq editor 2024-06-30 00:22:05 +08:00
MystiPanda
cf61a96ef6
refactor: Associate Profile with Merge/Script. 2024-06-29 23:07:44 +08:00
MystiPanda
1293d25e1b
refactor: use async instead of block_on 2024-06-29 19:02:37 +08:00
dongchengjie
bfa3fa293f fix: update_interval won't save when creating local profile while updating does & number input locales 2024-06-23 06:47:51 +08:00
MystiPanda
e6e2b1f142
refactor: change core binary name 2024-06-19 10:04:28 +08:00
MystiPanda
75cd7dd4b9
chore: update & fmt & clippy 2024-06-12 10:00:22 +08:00
MystiPanda
444bcbfb30 fix: auto proxy changed by guard 2024-05-26 19:07:14 +08:00