100 Commits
Author SHA1 Message Date
鲁树人 c8bb7d4430 feat: enhance batch download options in PanelGeneral component
- Added conditional rendering for batch download options based on available download types.
- Introduced a new state variable to control the visibility of the batch download section.
- Updated tests to verify the correct display of batch download options based on platform capabilities and download types.
2026-11-06 04:34:07 +09:00
鲁树人 6571dc5344 feat: enhance platform provider with Tauri support and runtime detection
- Added `detectPlatformRuntime` function to determine if the app is running in a Tauri environment.
- Updated `createPlatformProvider` to switch between browser and Tauri providers based on runtime detection or explicit options.
- Introduced `TauriProvider` with default capabilities and methods, currently returning `NotImplementedError` for unimplemented features.
- Enhanced type definitions in `vite-env.d.ts` to include Tauri-specific environment variables.
- Added tests for Tauri provider functionality and runtime detection to ensure correct behavior across platforms.
2026-11-06 04:31:34 +09:00
鲁树人 4d688af4ca feat: implement one-click import feature for settings
- Added `PanelOneClick` component to facilitate one-click import of keys from native applications.
- Integrated capability checks to conditionally render the one-click import tab based on platform capabilities.
- Refactored settings tab management to include one-click import when applicable.
- Introduced utility functions for determining available settings tabs based on platform capabilities.
- Added tests for the new one-click import functionality and its integration within the settings management system.
2026-11-06 04:12:21 +09:00
鲁树人 b9c8d5b3cd feat: add direct write settings to enhance file saving options
- Introduced `DirectWriteSettings` and integrated it into the settings model for improved file saving capabilities.
- Implemented merging logic for direct write settings in `mergeSettings` to ensure defaults are applied correctly.
- Updated `PanelGeneral` component to allow users to configure direct write options, including output mode and directory path.
- Enhanced selectors to retrieve staging and production direct write settings.
- Added tests to validate the functionality of direct write settings and their integration within the settings management system.
2026-11-06 04:05:47 +09:00
鲁树人 79e5b45e6b refactor: update HTML structure and improve deployment instructions
- Cleaned up the HTML structure in `index.html` for better readability.
- Updated `README.md` to clarify deployment instructions for subdirectory setups.
- Removed unused `BASE_URL` declaration from `vite-env.d.ts` and adjusted `AppRoot` to use `import.meta.env.BASE_URL` for improved environment variable handling.
2026-11-05 20:47:16 +09:00
鲁树人 ef4cd9c21e feat: update asset directory structure
- Changed the asset directory in Vite configuration to 'um-react.assets' for better organization.
- Updated the minification script to read from and write to the new asset directory, ensuring consistency in asset handling.
2026-11-05 20:36:16 +09:00
鲁树人 94eab8ecf6 fix: update base path in Vite configuration for correct asset resolution 2026-11-05 20:34:26 +09:00
鲁树人 d424837e66 feat: integrate platform capabilities for enhanced download management
- Refactored `DownloadAll` component to utilize platform capabilities for download types, improving flexibility in handling various download methods.
- Introduced `buildEnabledDownloadModes` function to determine available download modes based on user settings and platform capabilities.
- Updated `FileRow` and `PanelGeneral` components to conditionally render download options based on platform capabilities.
- Added tests for new functionalities in `DownloadAll`, `FileRow`, and `PanelGeneral` to ensure correct behavior under different platform conditions.
- Enhanced error handling for unsupported download methods, providing clearer feedback to users.
2026-11-01 11:32:04 +09:00
鲁树人 b5fdc8ebbe feat: integrate platform provider with enhanced crypto handling and new AppLayout component
- Added a new `AppLayout` component to manage navigation and routing within the application.
- Refactored `AppRoot` to utilize `PlatformLoadGuard` for ensuring platform readiness before rendering.
- Introduced `useAppStore` hook for accessing the Redux store directly.
- Updated `SDKVersion` and `PanelQingTing` components to leverage the new platform provider for crypto operations.
- Enhanced error handling with `PlatformNotInitializedError` for better user feedback on uninitialized platform states.
- Added tests for new functionalities and ensured compatibility with the updated platform architecture.
2026-11-01 11:18:24 +09:00
鲁树人 cb5531e9e4 feat: enhance settings persistence with platform provider integration
- Updated `persistSettings` to accept a `PlatformProvider`, enabling dynamic loading and saving of production settings.
- Refactored settings loading to handle null cases and invalid JSON gracefully.
- Introduced a new `browserSettingsIo` module for managing settings storage in the browser.
- Added comprehensive tests for `persistSettings` and `browserSettingsIo` to ensure correct functionality and error handling.
- Integrated the updated settings persistence into `AppRoot` for improved platform-specific behavior.
2026-11-01 10:54:13 +09:00
鲁树人 cc688b85bd feat: implement platform provider architecture and integrate into AppRoot
- Introduced a new platform provider architecture to manage platform-specific functionalities.
- Created `PlatformProvider`, `PlatformContext`, and related capabilities for handling downloads and key imports.
- Integrated the platform provider into `AppRoot`, allowing for dynamic platform management.
- Added error handling classes for unsupported and unimplemented methods.
- Updated tests to validate the new platform provider functionalities and capabilities.
2026-11-01 10:46:52 +09:00
鲁树人 d86323e38a docs: add AGENTS.md for Unlock Music project overview and setup instructions
- Introduced a new AGENTS.md file detailing the architecture, quick start guide, and directory layout for the Unlock Music project.
- Included comprehensive sections on features, settings model, and guidelines for adding or changing music formats.
- Documented tooling considerations and testing practices to aid developers in contributing to the project.
2026-11-01 02:58:09 +09:00
鲁树人 4a7994df96 feat: introduce worker action types and refactor decryption handling
- Added a new `actions.ts` file defining `WorkerActionMap` for better type management of worker actions.
- Updated `client.ts`, `worker.ts`, and `decrypt.ts` to utilize the new action types, enhancing type safety.
- Refactored `DecryptCommandPayload` to rename `id` to `fileId` for clarity and consistency.
- Adjusted various components to align with the new payload structure and improved error handling in the worker event bus.
- Enhanced tests to ensure compatibility with the new action type definitions and payload structures.
2026-11-01 02:55:30 +09:00
鲁树人 7a11d4f941 refactor: reorganize Kugou and Kuwo imports, add key management features
- Updated import paths for Kugou and Kuwo instructions to reflect new directory structure.
- Introduced new key management functionalities for Kugou, including key import and selection logic.
- Added comprehensive instructions for both Kugou and Kuwo key handling across various platforms.
- Implemented Redux selectors for managing staging and production keys for Kugou and Kuwo.
- Enhanced documentation and tests for new features and key management processes.
2026-11-01 02:42:13 +09:00
鲁树人 a9a937bc5e docs: enhance comments and documentation for KuGou/KGG settings
- Added detailed comments and documentation for KuGou/KGG key formats and settings in keyFormats.ts, persistSettings.ts, settingsSelector.ts, settingsSlice.ts, and settingsTabs.tsx.
- Improved clarity on UI route identifiers and Redux persist keys for better understanding and maintenance.
2026-10-31 23:37:55 +09:00
鲁树人 75d786c747 fix: clamp payload length in MMKVParser to prevent overflow
- Updated the MMKVParser to ensure the calculated length does not exceed the DataView's byte length.
- Added tests to verify behavior at the payload boundary, including cases for oversized payloads and exact matches.
2026-10-27 09:01:42 +09:00
鲁树人 10e857a903 0.6.2 2026-10-22 02:23:47 +09:00
鲁树人 537391ed03 docs: update README and FAQ for QQ Music client key requirements
- Revised README to clarify that QQ Music PC client versions 19.57 to 22.76 require importing a key file extracted using qmpc-mmkv-cli.
- Updated issue template to reflect the same changes regarding key file requirements for Windows clients.
- Modified FAQ to specify that only versions 19.51 or lower do not require a key, while versions 19.57 to 22.76 do.
- Enhanced instructions for obtaining the key file in the PC instructions panel.
2026-10-21 11:40:55 +09:00
鲁树人 881aa5e44c chore: remove unused environment variable from build workflow 2026-10-21 10:55:35 +09:00
鲁树人 757bbd2172 0.6.1 2026-10-21 10:53:12 +09:00
鲁树人 3f14a3acff chore: update Vite configuration to use vmThreads pool 2026-10-21 10:52:44 +09:00
鲁树人 b142c1ba34 chore: dep pkg upgrade
- Updated Node version in Dockerfile and .npmrc.
- Upgraded various dependencies in package.json, including react-dropzone, react-router, and eslint.
- Added pnpm-workspace.yaml for workspace management.
- Adjusted TypeScript configurations and test utilities for compatibility.
- Enhanced documentation for installation instructions and TypeScript toolchain.
2026-10-21 10:51:06 +09:00
鲁树人 4df197ac4d chore: minor pkg updates 2026-10-21 10:25:22 +09:00
鲁树人 07d160c547 feat(#10): add batch download settings and capabilities
- Introduced new batch download settings in the settings slice, allowing users to configure options for directory picking, streaming ZIP downloads, and blob ZIP downloads.
- Implemented a new general settings panel for managing batch download preferences.
- Added utility functions to handle directory selection and ZIP file creation.
- Updated the download logic to support multiple download modes based on user preferences.
- Enhanced documentation to reflect changes in batch download functionality.
2026-10-21 10:24:21 +09:00
鲁树人 a11caaae92 refactor: major package updates 2025-10-16 01:00:38 +09:00
鲁树人 2e52c67533 chore: minor package updates 2025-10-15 23:15:00 +09:00
鲁树人 56bb94b90c docs: update highlight styling 2025-10-15 23:12:47 +09:00
鲁树人 c1a5c6bde6 chore: reformat project 2025-10-15 23:10:19 +09:00
鲁树人 009804cbbd docs: update notes regarding supported formats 2025-10-15 23:10:12 +09:00
鲁树人 ff6fc467ae ci: only include artifact file once. 2025-10-15 22:52:59 +09:00
鲁树人 d514a87198 0.6.0 2025-10-15 22:47:59 +09:00
鲁树人 5c537ab8d9 ci: simplify release 2025-10-15 22:47:59 +09:00
鲁树人 48f10e8e30 fix: layout issue with android instruction in mobile screen 2025-10-15 22:08:51 +09:00
鲁树人 7b2558c585 feat: update instructions and scripts for QQMusic Mac v10.7 and v8.8.0 2025-10-15 02:08:32 +09:00
鲁树人 fb52b0197c feat: add insturctions on how to dump keys for v10 2025-10-15 00:57:56 +09:00
鲁树人 f49f629917 build: allow vite to access 'index.html' 2025-10-14 07:54:21 +09:00
鲁树人 8093d30579 chore: remove npm package lock file 2025-10-14 07:53:54 +09:00
鲁树人 4fe6efec1f 0.5.2 2025-09-08 21:31:34 +09:00
鲁树人 c4fe9ce938 fix: update dependencies 2025-09-08 21:31:34 +09:00
鲁树人 045bea8084 chore: log which decipher was used 2025-09-08 20:47:13 +09:00
鲁树人 c68195eb9a feat: add instructions to block update for qqmusic mac 8.8.0 2025-09-05 22:15:15 +09:00
鲁树人 b986a2ef99 0.5.1 2025-09-03 21:32:27 +09:00
鲁树人 b48d9b0079 chore: update major versions 2025-09-03 21:32:16 +09:00
鲁树人 62e49804a5 chore: update deps 2025-09-03 21:27:38 +09:00
鲁树人 c41e5ae531 build: sort out deps 2025-09-03 21:21:01 +09:00
鲁树人 27c33a7d20 fix: replace link to new git repo 2025-09-03 21:19:37 +09:00
鲁树人 54f784d778 ci: fix wry build 2025-07-05 06:45:43 +09:00
鲁树人 665524ee34 0.5.0 2025-07-05 04:51:47 +09:00
鲁树人 7c319fa4d9 ci: exclude zip file from gitea artifact 2025-07-05 04:51:47 +09:00
鲁树人 2598b977ab ci: product win64 zip (wry) on build 2025-07-05 04:51:47 +09:00
鲁树人 99bce5c4ef fix: improve dark mode color 2025-07-05 01:13:39 +09:00
鲁树人 3fcbe054b0 chore: bump node types version 2025-07-05 00:55:37 +09:00
鲁树人 67fbe77157 chore: bump minor dep version 2025-07-05 00:53:13 +09:00
鲁树人 d57cdcdb49 fix: reduce footer text, move project information to faq page 2025-06-16 22:31:08 +09:00
鲁树人 ff79b4ce27 chore: fix type issue with filesystem access api 2025-06-16 22:31:03 +09:00
鲁树人 b33ffa6ca7 build: include _redirects for netlify deployment 2025-05-19 10:00:53 +09:00
鲁树人 09c1bc474e child: remove base 2025-05-19 09:58:13 +09:00
鲁树人 e0b3bd60c2 chore: update wording for settings 2025-05-19 09:51:00 +09:00
鲁树人 6371c58cd5 fix: theme support 2025-05-19 09:50:52 +09:00
鲁树人 98f1be9ac7 fix: default sub-nav to align top on large screen 2025-05-19 09:26:54 +09:00
鲁树人 3541af7a96 refactor: deep link for faq 2025-05-19 09:23:14 +09:00
鲁树人 3ab73d8369 adjust dark mode and layout 2025-05-18 23:18:01 +09:00
鲁树人 6cb1f9f87f fix: adjust layout for settings 2025-05-18 11:05:50 +09:00
鲁树人 9518b813bd refactor: batch 4 2025-05-18 09:58:34 +09:00
鲁树人 2e4e57be45 refactor: batch 3 2025-05-18 02:41:20 +09:00
鲁树人 75b43e1e84 refactor: batch 2 2025-05-17 11:20:52 +09:00
鲁树人 246ba48135 fix: build/test issue 2025-05-17 06:09:00 +09:00
鲁树人 13c669b4ea refactor: batch 1 2025-05-17 05:59:39 +09:00
鲁树人 089d66cbf4 feat: add daisy ui 2025-05-17 01:44:55 +09:00
鲁树人 33a5f277fa chore: bump major versions 2025-05-17 01:42:58 +09:00
鲁树人 8a77cb0dc8 chore: update packages 2025-05-17 01:39:01 +09:00
鲁树人 0a820b620b docs: use gitea actions badge 2025-05-08 07:22:52 +09:00
鲁树人 721d947fdb docs: add link to lib_um_crypto_rust 2025-05-06 10:28:22 +09:00
鲁树人 1880220aaa docs: add issue template 2025-05-04 22:13:25 +09:00
鲁树人 d91e2fffe4 chore: bump version to v0.4.7; upgrade deps 2025-03-31 09:37:58 +09:00
鲁树人 88cfbcd337 build: retrive git hash 2025-03-31 04:03:27 +09:00
鲁树人 e9480ce6a4 chore: bump version to v0.4.2 2025-03-28 12:15:57 +09:00
鲁树人 a07bcf2575 build: build with docker 2025-03-28 12:14:59 +09:00
鲁树人 a40ecc4569 chore: reduce vscode extensions recommended 2025-03-28 11:27:51 +09:00
鲁树人 1abfe3498f chore: bump version to v0.4.1 2025-02-25 20:30:59 +09:00
鲁树人 e69393d1bc fix(kgm): extract hash/key from both tables 2025-02-25 20:30:25 +09:00
鲁树人 19c5d0aab9 docs: update readme 2025-02-25 07:08:37 +09:00
鲁树人 baab3057cf 0.4.0 2025-02-25 07:08:31 +09:00
鲁树人 c71078f5da feat(kgm): kgm v5 (aka. kgg) support 2025-02-25 07:05:31 +09:00
鲁树人 acb7a634b1 docs: update readme on where to find artifact 2024-12-15 21:39:52 +09:00
鲁树人 ce969af57f CI: 替换 Drone CI 为 Gitea 内建的 Actions (#80)
自动构建相关。

Reviewed-on: https://git.unlock-music.dev/um/um-react/pulls/80
Co-authored-by: 鲁树人 <[email protected]>
Co-committed-by: 鲁树人 <[email protected]>
2024-12-15 12:37:40 +00:00
鲁树人 ec4bd16b03 test: make vite happy 2024-12-15 04:52:36 +09:00
鲁树人 531930a6ec chore: bump version to 0.3.3 2024-12-15 04:51:12 +09:00
鲁树人 3862f2d38e fix: update packages 2024-12-15 03:57:14 +09:00
鲁树人 ddc073fbcc chore: move husky to sgh 2024-12-15 03:57:08 +09:00
鲁树人 82dbfc2d1f chore: bump node version 2024-12-15 03:57:00 +09:00
鲁树人 87d2d71193 chore: add packageManager field 2024-10-14 11:03:53 +09:00
鲁树人 759252cec5 docs: improve faq page
- add toc for faq page
- fix #79: add note about oem build
- add plat form specific instructions for qqmusic faq
2024-10-14 11:03:01 +09:00
鲁树人 afc65fd5d0 docs: added notes about mac client version requirements (close #70) 2024-10-13 05:54:12 +09:00
鲁树人 9f587212bc docs: remove todo list, add link to crypto issues 2024-10-13 05:51:31 +09:00
鲁树人 9ede00037e docs: fix link to um-crypto docs 2024-10-13 05:48:35 +09:00
鲁树人 0951963f46 docs: format with prettier 2024-10-13 05:47:07 +09:00
鲁树人 c57bc9cfbb docs: add do not fork notice 2024-10-13 05:46:38 +09:00
鲁树人 b16e3bf3ea chore: update readme 2024-09-26 21:15:03 +01:00
鲁树人 e9a95d1bd6 0.3.2 2024-09-26 21:06:00 +01:00