Commit graph

39 commits

Author SHA1 Message Date
Julian Chang
d6dc358e35
track playtime 2026-06-29 01:14:10 -04:00
Julian Chang
723d1e43ae
Fix overrides and updates n stuff 2026-06-22 07:17:23 +07:00
Julian Chang
1635ca38ce
poly+ backend 2026-06-20 05:39:16 +07:00
Wyvest
93fef599ae
add fabric loader updating 2026-03-31 00:41:24 -04:00
Wyvest
3b885cdb0f
Improve modpack download resiliency, onboarding
Track and surface partial modpack download failures across core and frontend. Adds a PartialModpackInstall error and counts failed/attempted downloads in the mrpack flow, returning an error if some files failed. Frontend download pipeline now runs parallel downloads that return per-item results, reports/logs failures, and exposes retry/continue UI in onboarding.

Backend robustness improvements: deduplicate concurrent package inserts by reusing existing row on unique-hash constraint, detect hard-link collisions and verify hashes before skipping or erroring, and return meaningful errors when partial installs occur.

Other changes: propagate richer error context when stamping migrated cluster created_at, invalidate relevant queries after migration, make settings writes awaitable and update the query cache optimistically, add queryClient usage in version-migration hook, and various type/bindings updates to reflect the new PartialModpackInstall error. These changes improve reliability and UX during batch package installs and onboarding downloads.
2026-03-30 05:50:29 -04:00
Wyvest
5cac13a54c
Add cluster migration stuff
Implement cluster content migration and local versions override. Adds a new IPC API (copy_cluster_content) and CopyClusterResult, plus copy_dir_all helper to recursively copy files. Introduces migrate_non_bundle_packages and migrate_bundles_to_cluster to map and install provider-managed packages for the target MC version and to translate/copy bundle overrides; files without a compatible provider version are copied as .disabled and returned to the caller. Prefer a local versions_override.json when loading the online manifest (useful for testing) and adapt MC version parsing/formatting for year-based majors. Frontend: update generated bindings/types, add MigrationModal UI and useVersionMigration hook, integrate the migration modal into the root and debug screens, and persist seen_versions in settings. Misc: propagate manifest/versions into several UI routes and adjust bundle/package handling accordingly.
2026-03-30 00:28:14 -04:00
Wyvest
e40278366c
fix linux window bar 2026-03-04 01:51:03 -05:00
Jacob
fb5da05ad9
feat: better debug (#486)
* fix: tauri os plugin not being fully loaded

* feat: debug keybind

Bound to `CTRL+SHIFT+D` (and `ALT+F12`) and copies the debug info to the
clipboard

* refactor: __root.tx

Clean up a lot of code and move them into there own files

* feat: os distro in debug

* refactor: get_full_debug_info_parsed

* feat: made by info in settings

Also made it so that you can click on it to copy debug info

* fix: warning in oneclient/desktop/lib.rs

* refactor: copyDebugInfo

Moved it to the backend to later be used

* feat: log out debug info when oneclient launches

* `inDev` -> `In Dev`

* feat: toggle debug logging

* fix rust compiler
2026-03-03 20:46:11 -05:00
Wyvest
ecfb98b6db lint 4 2026-02-25 10:36:48 -05:00
Wyvest
ea5054395b lint pt 3 2026-02-25 09:48:08 -05:00
Wyvest
96b380db25 lint pt 2 2026-02-25 09:31:45 -05:00
Wyvest
c515d00da1 lint 2026-02-25 08:14:57 -05:00
Wyvest
ca4cea2ffb incredible art update 2026-02-25 05:44:05 -05:00
Wyvest
a3d193fb4b fix strange freezes 2026-02-24 04:11:50 -05:00
Wyvest
87cb86943c Add bundle update checking/apply and API
Introduce full bundle update management: adds bundle_updates module with checking, apply flow, per-cluster locking, subscription inference, and apply helpers for additions/updates/removals (plus unit and e2e test scaffold). Exposes new IPC/API methods (download_package_from_bundle, update_bundle_packages, is_bundle_syncing) and integrates bundle tracking in desktop commands. Adds bundle DAO/entity and migrations to support bundle_packages and bundle_overrides, updates related package/DAO/modpack code, and minor frontend bindings/components/hooks to surface the new functionality. Also adds sea-orm as a dev-dependency for the desktop crate.

Co-Authored-By: Jacob <contact@kath.lol>
2026-02-23 22:36:24 -05:00
Wyvest
e745c75cc8 Fix overrides not being downloaded 2026-02-23 05:56:01 -05:00
Wyvest
b85d5f6930 refresh accounts function 2026-01-02 00:44:40 +09:00
Wyvest
09749ea78b Track external mods properly 2025-12-31 03:51:14 +09:00
Wyvest
79daad5e9c Actually fix decorations showing on Linux 2025-12-29 01:32:37 +09:00
Wyvest
9edabd9508 Fix lack of window rounding on macOS
Fixes #449
2025-12-27 20:46:00 +09:00
Wyvest
37ba07b989 fix copy/paste not working on mac 2025-12-27 01:47:42 +09:00
Wyvest
c86aed047c auto-updates 2025-12-26 23:42:25 +09:00
Jacob
d5a5bd7f05
refactor/cleanup (#426) 2025-12-12 07:44:54 -05:00
Jacob
e1f8dac5a1
feat(oneclient): Debug Info (#418) 2025-12-04 02:54:23 -05:00
Jacob
d7c345b24a
feat: mods page (#413) 2025-12-03 11:02:10 -05:00
Jacob
23b9e9a9c8
fix: oneclient building (#400)
* fix: oneclient building

* fix: oneclient linux compile

* fix: oneclient macos intel building
2025-10-21 04:43:59 -04:00
LynithDev
c16d032b8d feat: fix bundles 2025-10-02 21:48:45 +02:00
Jacob
0e12968b9c
feat: oneclient account skin manager (#373)
* feat: oneclient account skin manager

* feat: oneclient account skin manager import

* feat: oneclient account skin manager improt from url

* feat: oneclient accoutn skin manager animations

* feat: oneclient account skin manager export skin

* feat: oneclient account skin manager skin history

* feat: oneclient mini accounts edit button

* feat: oneclient account skin manager saving skins

* change order of mini account buttons

* feat: oneclient account skin manager elytra support

* fix: oneclient account skin manager default rotate

See https://github.com/bs-community/skinview3d/issues/198 for where fix
came from

Co-authored-by: undefined303 <undefined303@qq.com>
Co-authored-by: Zickles <zicklesistaken@gmail.com>

* feat: oneclient account skin manager change cape

* feat: oneclient account skin manager import from username

---------

Co-authored-by: undefined303 <undefined303@qq.com>
Co-authored-by: Zickles <zicklesistaken@gmail.com>
2025-10-01 13:31:42 -04:00
LynithDev
1eb6505c0c feat: oneclient bundles 2025-09-21 17:08:03 +02:00
LynithDev
0a77a31846 feat: oneclient bundles 2025-09-21 17:04:38 +02:00
LynithDev
6d4e0fa850 feat: log viewer 2025-08-14 22:14:56 +02:00
LynithDev
2ebb8197ac chore: lint 2025-07-25 11:54:45 +02:00
LynithDev
d7ca81c2ed chore: merge onelauncher/main 2025-07-25 11:54:07 +02:00
LynithDev
034f0b0d74 fix: temporarily remove updater plugin 2025-07-24 11:04:19 +02:00
LynithDev
e1defccc3f feat: clusters frontend 2025-07-16 20:36:17 +02:00
LynithDev
eb820e45ff feat: finished home page and did lots of stuff 2025-06-15 20:27:44 +02:00
LynithDev
7d4acc2468 chore: move shared code from onelauncher to its own package 2025-06-04 20:25:26 +02:00
LynithDev
521b3cfdc9 chore: migrate to taurpc 2025-06-02 19:29:55 +02:00
LynithDev
aad3e058d0 chore: get oneclient desktop working 2025-05-31 13:33:40 +02:00