Commit Graph
197 Commits
Author SHA1 Message Date
wonfen bcaafa67a3 feat: unlock test page 2025-03-16 12:15:35 +08:00
Tunglies 8118fc754c structure: move out crate_mihomo_api 2025-03-15 14:47:02 +08:00
Tunglies 48f1da963a refactor: update MihomoManager to handle traffic WebSocket URL and authorization 2025-03-09 14:44:15 +08:00
Tunglies 805b54d81e 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
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
Tunglies 3b69465016 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 b1d003b073 Release - 2.1.2 真·臻 2025-03-01 01:49:01 +08:00
wonfen bb015506e7 Release - 2.1.1 臻fix 2025-02-27 03:18:23 +08:00
wonfen 618595ac4c Release 2.1.0 - 臻 2025-02-26 08:36:02 +08:00
wonfen c8d91c9e14 chore: update deps 2025-02-05 14:19:43 +08:00
wonfen 75bb7a4dd7 fix: windows rounded corners 2025-01-19 09:47:43 +08:00
wonfen e8badb0c0f release 2.0.3 2025-01-16 03:30:07 +08:00
huzibaca 9f2583d1f2 revert: update deps 2025-01-14 12:41:52 +08:00
huzibaca db91177e90 chore: update deps 2025-01-12 23:10:15 +08:00
huzibaca 146a66fb09 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 97864e8df3 feat: macos system tray addition rate display 2024-12-31 04:42:55 +08:00
blagodaren 9c027b10b2 fix: add system language sup 2024-12-28 08:12:46 +03:00
huzibaca c3c1394e86 chore: update deps 2024-12-14 16:21:16 +08:00
huzibaca 4f0aae0879 chorea: update deps 2024-12-10 22:36:13 +08:00
huzibaca 7864acbadb chore: update deps(tauri-plugin-autostart) 2024-12-08 22:10:15 +08:00
huzibaca ba8c1e5eb2 chore: update deps 2024-12-08 09:58:59 +08:00
huzibaca f561d12d35 chore:set the sysproxy_rs version to a fixed version 2024-12-06 15:03:04 +08:00
huzibaca 49880c05d9 chore: update version 2024-12-04 00:30:46 +08:00
huzibaca 50285aebde feat: user uploaded icons can use templates, provided they are monochrome icons fixer #2213 2024-11-30 09:49:43 +08:00
huzibaca e25d71c6c8 chore: update version 2024-11-27 05:09:46 +08:00
wonfen 3b87a4f9d0 release 2.0.1 2024-11-24 09:00:20 +08:00
huzibaca 15bd7324fe feat: encryption configuration properties 2024-11-20 07:27:42 +08:00
huzibaca bb44fc51bd fix: auto launch does not worki 2024-11-20 03:52:19 +08:00
huzibaca 18b0c3f7aa chore: update deps 2024-11-19 13:35:57 +08:00
huzibaca 2330a4bc93 chore: update dep(tauri-bubild) 2024-11-13 21:49:53 +08:00
huzibaca 36afae50b1 chore: update deps 2024-11-13 21:39:55 +08:00
huzibaca 22ce5aab25 chore: update deps 2024-11-12 19:06:04 +08:00
huzibaca f5dee51e9c chore: update 2024-11-09 05:50:51 +08:00
huzibaca c22e4e5e2c chore: update 2024-11-08 21:46:15 +08:00
huzibaca 12df415dfd feat: use tauri_plugin_window_state 2024-10-30 18:52:53 +08:00
huzibaca 2493f463f3 revert: feat: use tauri-plugin-persisted-scope 2024-10-30 18:28:55 +08:00
huzibaca f4238b1fb9 feat: use tauri-plugin-persisted-scope 2024-10-30 16:37:47 +08:00
huzibaca 9cbc2d9206 chore: update deps 2024-10-27 01:24:13 +08:00
huzibaca 154cf44f0a chore: update 2024-10-21 01:30:13 +08:00
huzibaca f6e2ff0e44 chore: update 2024-10-21 01:12:52 +08:00
huzibaca 2aba616f7f chore: update 2024-10-21 00:50:43 +08:00
huzibaca 95e21386b8 chore: update deps 2024-10-21 00:45:06 +08:00
huzibaca 250e908d9a chore: update 2024-10-21 00:34:28 +08:00
huzibaca 9ff3c2c0d4 chore: update deps 2024-10-20 22:35:16 +08:00
huzibaca 60c0b649e8 chore: update deps 2024-10-16 22:49:24 +08:00
huzibaca 6322773513 chore: update deps 2024-10-13 02:55:35 +08:00
huzibaca 953be61d89 chore: update deps 2024-10-04 23:56:50 +08:00
huzibaca 148807543f chore: replace sysproxy-rs repo 2024-10-02 17:43:14 +08:00
huzibaca 1b2509d5bc refactor: url scheme implementation 2024-09-13 03:21:55 +08:00
huzibaca 3c24d4bc4e chore: update deps 2024-09-12 06:14:23 +08:00