NapCatQQ/packages/napcat-webui-frontend/src
手瓜一十雪 5de2664af4 Support passing JWT secret key on worker restart
Added the ability to pass a JWT secret key when restarting the worker process by updating environment variable handling and message passing. Improved port retry logic in the backend to allow multiple attempts on the same port before incrementing. Also refactored process API to use getter for pid property.

Ensure Electron app is ready before creating process manager

Adds a check to await electron.app.whenReady() if the Electron app is not yet ready before instantiating the ElectronProcessManager. This prevents potential issues when accessing Electron APIs before the app is fully initialized.

Add mirror selection support for version updates

Introduces the ability to specify and select GitHub mirror sources for fetching tags, releases, and action artifacts throughout the backend and frontend. Updates API endpoints, internal helper functions, and UI components to allow users to choose a mirror for version queries and updates, improving reliability in regions with limited GitHub access. Also enhances version comparison logic and improves artifact metadata display.

Refactor artifact fetching to use HTML parsing only

Removed all GitHub API dependencies for fetching workflow runs and artifacts. Now, workflow runs are parsed directly from the HTML of the Actions page, and artifact URLs are constructed using nightly.link. Also added workflow title and mirror fields to ActionArtifact, and simplified mirror list without latency comments.
2026-01-18 11:13:08 +08:00
..
assets Remove unused dependencies and optimize Monaco workers 2025-12-24 15:32:21 +08:00
components Support passing JWT secret key on worker restart 2026-01-18 11:13:08 +08:00
config Add plugin management to WebUI backend and frontend 2026-01-17 16:14:46 +08:00
const Enhance HTTP debug UI with command palette and UI improvements 2026-01-04 20:38:08 +08:00
contexts Remove music player and related context/hooks 2025-12-20 18:07:16 +08:00
controllers Support passing JWT secret key on worker restart 2026-01-18 11:13:08 +08:00
hooks Refactor UI styles for improved consistency and clarity 2025-12-22 10:38:23 +08:00
layouts feat: 优化离线重连机制,支持通过前端实现重新登录 2026-01-17 15:38:24 +08:00
pages Add plugin management to WebUI backend and frontend 2026-01-17 16:14:46 +08:00
store refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
styles Refactor font handling and theme config, switch to CodeMirror editor 2025-12-24 18:02:54 +08:00
types Refactor font handling and theme config, switch to CodeMirror editor 2025-12-24 18:02:54 +08:00
utils feat: 优化离线重连机制,支持通过前端实现重新登录 2026-01-17 15:38:24 +08:00
App.tsx Add plugin management to WebUI backend and frontend 2026-01-17 16:14:46 +08:00
main.tsx Refactor font handling and theme config, switch to CodeMirror editor 2025-12-24 18:02:54 +08:00
provider.tsx refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
vite-env.d.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00