Commit Graph
1935 Commits
Author SHA1 Message Date
Tunglies 93a5528025 refactor(backup): keep archive validation with restore 2026-12-03 19:43:10 +08:00
Tunglies 63000f39f5 refactor(config): name the runtime rendering step 2026-12-03 19:42:50 +08:00
Tunglies ca22495869 chore(runtime): sync the profile refactor 2026-12-03 19:42:46 +08:00
Tunglies 35dbb3716d refactor(profile): call the core reload directly 2026-12-03 19:38:46 +08:00
Tunglies 651f297785 refactor(profile): name index operations after what they change 2026-12-03 19:38:42 +08:00
Tunglies 3af8034e02 refactor(profile): build companion options in one place 2026-12-03 19:38:28 +08:00
Tunglies 83a520ea19 refactor(subscription): pass the proxy directly to each download 2026-12-03 19:38:23 +08:00
Tunglies c742a9a17c refactor(profile): look up the refresh target once 2026-12-03 19:38:18 +08:00
Tunglies 041454be57 refactor(subscription): keep profile writes outside proxy fallback 2026-12-03 17:20:42 +08:00
Tunglies 18f733fca9 refactor(backup): extract backup ZIP writing 2026-12-03 17:20:42 +08:00
Tunglies 911a3c58fa refactor(task): move retry primitives into the task crate 2026-12-03 17:20:32 +08:00
Tunglies 00cb43f5de refactor(profile): extract selected node recovery rules 2026-12-03 17:20:32 +08:00
Tunglies 85c0a60ddb refactor(subscription): decode deep links in the subscription crate 2026-12-03 17:20:32 +08:00
Tunglies c6e59ad538 refactor(profile): separate subscription refresh and scheduling policy
Separate download and scheduling policy from the subscription use case while retaining the existing write path.
2026-12-03 17:20:32 +08:00
Tunglies 64490c44ab refactor(profile): extract profile models and index rules
Move profile models and index rules into the crate, preserving serialization and returning a typed missing-profile error.
2026-12-03 17:20:32 +08:00
Tunglies 9614dee991 refactor(subscription): extract response decoding
Keep HTTP and persistence in the app. Decode response metadata and framing in the crate, and fall back when the server filename is invalid.
2026-12-03 17:20:32 +08:00
Tunglies 72e7201abc refactor(draft): type async publication conflicts
Return typed conflicts for async Draft edits. Release the lock and edit permit before converting the error, and exercise overlapping updates.
2026-12-03 17:20:32 +08:00
Tunglies 032eb9767e chore(clippy): scope crate lint policy
Keep panic-on-error lints at application target roots and scope signal dependencies to Linux.
2026-12-03 17:20:21 +08:00
renovate[bot]renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Tunglies
a76818326d chore(deps): update tauri (#8764)
* chore(deps): update tauri

* fix(installer): align NSIS locale variables with Tauri 2.13

* chore(tray): migrate template icons to Tauri 2.13 APIs

* fix(core): resolve the bundled core for validation fingerprints

* fix(deps): resolve Tauri 2.13 with the patched WebDriver

* fix(tray): wake the main window from Linux tray clicks

Use StatusNotifierItem activation to wake the dashboard, including lightweight mode.

Closes #8517

* fix(tray): gate template icon handling to macOS at compile time

* fix(deps): select GTK3 for Linux dialogs

* fix(linux): return when the startup dialog cannot initialize GTK

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
2026-12-03 08:07:50 +00:00
Tunglies 573eac8ec9 refactor(config): centralize Mihomo YAML output 2026-12-02 02:10:11 +08:00
Tunglies e0cced59eb refactor(config): inject the profile script executor 2026-12-02 02:10:11 +08:00
Tunglies ecf1dd2486 refactor(proxy): extract proxy view and its use case
Project the Mihomo snapshot into the existing IPC DTO and move use-case orchestration out of the command.
2026-12-02 02:10:11 +08:00
Tunglies 7d665bd5bb refactor(config): extract configuration renderer
Render from inputs supplied by the app, reuse the script crate, and preserve the default template fast path.
2026-12-02 02:10:11 +08:00
Tunglies 5605cc26c5 refactor(profile): extract script validation and execution
Share the Boa validation and execution API while preserving the save-side timeout and diagnostics.
2026-12-02 02:10:11 +08:00
Tunglies aa62db78a9 perf(runtime-bundle): share destination strings with tristr
Share destination storage within bundle planning and preserve the Service wire strings and provider readback.
2026-12-02 02:10:11 +08:00
Tunglies 6c78c16a96 refactor(runtime-bundle): extract runtime bundle planning
Plan provider destinations and assets in the crate. Adapt the plan to the Service wire format at the call site.
2026-12-02 02:10:11 +08:00
Tunglies a987ea9f6d refactor(subscription): keep profile writes outside proxy fallback 2026-12-02 02:10:09 +08:00
Tunglies e290a7946d refactor(backup): extract backup ZIP writing 2026-12-02 02:10:09 +08:00
Tunglies 59e315abeb refactor(task): move retry primitives into the task crate 2026-12-02 02:10:09 +08:00
Tunglies 0010659329 refactor(profile): extract selected node recovery rules 2026-12-02 02:10:09 +08:00
Tunglies e30f1b0e47 refactor(subscription): decode deep links in the subscription crate 2026-12-02 02:10:09 +08:00
Tunglies c3c65bb418 refactor(profile): separate subscription refresh and scheduling policy
Separate download and scheduling policy from the subscription use case while retaining the existing write path.
2026-12-02 02:10:09 +08:00
Tunglies 9de413db1e refactor(profile): extract profile models and index rules
Move profile models and index rules into the crate, preserving serialization and returning a typed missing-profile error.
2026-12-02 02:10:09 +08:00
Tunglies 0605236489 refactor(subscription): extract response decoding
Keep HTTP and persistence in the app. Decode response metadata and framing in the crate, and fall back when the server filename is invalid.
2026-12-02 02:10:09 +08:00
Tunglies 6fdbea3748 refactor(draft): type async publication conflicts
Return typed conflicts for async Draft edits. Release the lock and edit permit before converting the error, and exercise overlapping updates.
2026-12-02 02:10:09 +08:00
Tunglies 4cc3a2fd0c chore(clippy): scope crate lint policy
Keep panic-on-error lints at application target roots and scope signal dependencies to Linux.
2026-12-02 02:10:09 +08:00
Tunglies 4b602e1436 Merge branch 'crates-me-runtime' into crates-me
# Conflicts:
#	src-tauri/src/config/profiles.rs
#	src-tauri/src/feat/subscription.rs
2026-12-01 23:01:08 +08:00
Tunglies 171586d725 Merge branch 'crates-me-profile' into crates-me-runtime 2026-12-01 22:59:00 +08:00
Tunglies be8dd3b060 refactor(subscription): keep profile writes outside proxy fallback 2026-12-01 22:58:35 +08:00
Tunglies 724f10fd33 refactor(profile-store): simplify refresh cleanup and legacy writes 2026-12-01 22:20:33 +08:00
Tunglies 5c05722f9a refactor(config): centralize Mihomo YAML output 2026-12-01 22:10:13 +08:00
Tunglies 1450ad441c fix(backup): validate restore inputs and allow recovery retries 2026-12-01 22:10:13 +08:00
Tunglies e575f4dda7 fix(profile): recover interrupted subscription refreshes
Keep subscription body and index writes recoverable, and coordinate startup, readers, backup, and Draft publication around the transaction.
2026-12-01 22:10:13 +08:00
Tunglies 840de9c4d1 refactor(config): inject the profile script executor 2026-12-01 22:09:39 +08:00
Tunglies c5b74aa01d refactor(proxy): extract proxy view and its use case
Project the Mihomo snapshot into the existing IPC DTO and move use-case orchestration out of the command.
2026-12-01 22:09:24 +08:00
Tunglies f50e52172c refactor(config): extract configuration renderer
Render from inputs supplied by the app, reuse the script crate, and preserve the default template fast path.
2026-12-01 22:09:16 +08:00
Tunglies 5d471d97aa refactor(profile): extract script validation and execution
Share the Boa validation and execution API while preserving the save-side timeout and diagnostics.
2026-12-01 22:09:04 +08:00
Tunglies fc9d5ce2a4 perf(runtime-bundle): share destination strings with tristr
Share destination storage within bundle planning and preserve the Service wire strings and provider readback.
2026-12-01 22:08:47 +08:00
Tunglies 4142fb07fd refactor(runtime-bundle): extract runtime bundle planning
Plan provider destinations and assets in the crate. Adapt the plan to the Service wire format at the call site.
2026-12-01 22:08:47 +08:00
Tunglies 177c73f6d7 refactor(backup): extract backup ZIP writing 2026-12-01 22:08:20 +08:00