Commit Graph
216 Commits
Author SHA1 Message Date
imccyu 71753fdf91 refactor(connection): add connection auth provider for remote connection (#8266)
* refactor(connection): extract peer authentication providers

* test(connection): cover provider lifecycle and satisfy package gates

* fix(packaging): publish authentication provider locale resources

* test(auth): use runtime login output and cover gateway admission

* fix(auth): preserve Worker requests and migrate Desktop fixtures

* refactor(auth): centralize route admission with required policy

* fix(release): align authentication providers with rc.2

* refactor(connection): keep peer lookup and source policy private

* test(gateway): cover centralized upgrade rejections

* fix(ci): authenticate homepage compression probe

* refactor(auth): let Token own API socket lifecycle

* fix(auth): prevent caching admission refusals and clarify ownership

* refactor(web): collect provider entry URLs after readiness

* refactor(webserver): name the shared entry URL event

* refactor(connection): provide authentication as a nested service

* fix(web-app): restore startup publication defaults

* fix(auth): scope web events and preserve callback flows

* docs(auth): record the implemented provider architecture

* fix(auth): require owner access for administrative routes
2026-11-12 23:14:32 +08:00
winewill 610ed96855 fix(desktop): preserve update status in native fallback 2026-11-06 14:17:06 +08:00
winewill 63c63997cb fix(desktop): clarify update status and dialog failure feedback 2026-11-06 14:05:00 +08:00
winewill f823dac5c7 fix(desktop): open download status from progress indicator 2026-11-06 13:54:41 +08:00
winewill fe33c6358f Merge remote-tracking branch 'origin/master' into fix/desktop-update-progress-width
# Conflicts:
#	apps/desktop/README.i18n.yaml
#	apps/desktop/README.md
2026-11-05 19:18:48 +08:00
winewill ac60dc5188 Read startup appearance from Host settings instead of a theme cache 2026-11-05 16:51:25 +08:00
winewill 21ebc61074 Restore desktop theme before startup and track Windows background changes 2026-11-05 16:51:25 +08:00
winewill c174e33a1b Paint the Windows workspace with its startup theme before the first frame 2026-11-05 16:51:25 +08:00
winewill a5e54e99d3 fix(desktop): stabilize update progress and explain active downloads 2026-11-05 16:46:06 +08:00
std4453 a9b2873303 Merge pull request #7787 from deepseek-harness/turtle/add-paste-plain-shortcut-d16f8fd43c4b
feat(desktop): bind Paste and Match Style to Shift+Command+V on macOS
2026-11-04 15:18:06 +08:00
80cec4bde3 refactor(desktop): spell out the macOS Edit menu copy
Co-authored-by: std4453 <[email protected]>
Co-authored-by: 07akioni <[email protected]>
2026-11-03 15:57:19 +08:00
34d1ff94f7 fix(desktop): localize macOS Edit submenu titles
Co-authored-by: std4453 <[email protected]>
Co-authored-by: 07akioni <[email protected]>
2026-11-03 14:43:04 +08:00
09f5e52fdd feat(desktop): bind Paste and Match Style to Shift+Command+V on macOS
Refs #7782

Co-authored-by: std4453 <[email protected]>
Co-authored-by: 07akioni <[email protected]>
2026-11-03 14:02:29 +08:00
winewill 3c46127816 Merge remote-tracking branch 'origin/master' into feat/desktop-update-channels 2026-11-03 13:20:42 +08:00
winewill d7ca2e0ac2 fix(desktop): keep configuration recovery dialog interactive 2026-11-03 12:50:36 +08:00
winewill 0535b85a1d fix(desktop): recover update settings under mandatory policy 2026-11-03 11:54:27 +08:00
winewill eb5b32c9c9 fix(desktop): report and recover saved channel apply failures 2026-11-03 11:47:04 +08:00
winewill 224fe9a658 fix(desktop): distinguish committed and uncertain settings saves 2026-11-03 11:26:57 +08:00
winewill 88b01c24ea fix(desktop): discard stale channel check prompts and align error copy 2026-11-02 17:12:00 +08:00
winewill c05a34e153 feat(desktop): reload update settings from configuration errors 2026-11-02 15:48:13 +08:00
winewill f578528f1f fix(desktop): guide recovery from invalid settings files 2026-11-02 14:28:37 +08:00
winewill 1c9a7e6a71 fix(desktop): preserve updates on repeated channel selection 2026-11-02 14:26:09 +08:00
Turtleandlsdsjy 93bef27ec7 fix(desktop): remove legacy Host auth cookies from the default session
Earlier releases left one dsh-auth-* cookie per launch in the default
Electron session. Each Host start now removes them so other requests to
127.0.0.1 stop carrying them.

Co-authored-by: lsdsjy <[email protected]>
2026-10-31 19:55:51 +08:00
Turtleandlsdsjy 5868dbc357 fix(desktop): stop storing Host auth cookies in the Electron session
Each Desktop launch picks a random Host port and the native welcome client
authenticated through net.fetch with credentials: 'include', so the default
Electron session kept one port-named 30-day dsh-auth cookie per launch.
Cookies ignore ports, so every request carried all of them; after about 70
launches the Cookie header exceeded Node's 16 KiB limit, the Host answered 431,
and startup failed with 'Web authentication failed'.

The welcome RPC client and the account WebSocket now send the Cookie header
returned by authenticateWebHost explicitly and use no cookie jar.

Co-authored-by: lsdsjy <[email protected]>
2026-10-31 19:46:38 +08:00
winewill 32036b372e fix(desktop): separate channel save feedback from update suspension 2026-10-30 17:48:17 +08:00
winewill 47c6e1da03 refactor(desktop): unify settings storage and field validation 2026-10-29 18:08:58 +08:00
winewill c2cda0bdd7 Merge origin/master into feat/desktop-update-channels 2026-10-29 15:27:08 +08:00
07akioni b83f38a44b fix(desktop): group DevTools before quit and isolate shortcuts 2026-10-29 14:10:47 +08:00
07akioni b5be2c0339 fix(desktop): localize DevTools menu labels 2026-10-29 14:03:00 +08:00
07akioni 4214f86da3 fix(desktop): show DevTools toggle in application menus 2026-10-29 13:40:11 +08:00
winewill 0cf76b9fad feat(desktop): switch update channels from settings 2026-10-28 18:56:20 +08:00
zhc 4abb9147cf Merge master into feat/extensible-context-menus 2026-10-26 13:28:46 +08:00
winewill cda5c51b4f merge: reconcile desktop diagnostics with master 2026-10-22 18:47:16 +08:00
zhc d3116fd9d3 fix(context-menu): refine feedback, timing and extension lifetimes 2026-10-22 15:35:52 +08:00
zhc 411f157983 feat(context-menu): add extensible resource actions and shared popup lifecycle 2026-10-22 15:35:52 +08:00
winewill 39efcc36b5 fix(desktop): await remaining shutdown cleanup after rejection 2026-10-22 14:28:06 +08:00
zhc a0b45086da Merge master into fix/image-drag-plugin-ownership
保留文本交互和文件拖放注入,合并依赖及生成目录。
2026-10-21 21:22:17 +08:00
winewill 5f1413f49b fix(desktop): address update overlay review and startup coverage 2026-10-21 19:01:09 +08:00
winewill 38816d8c84 fix(desktop): offer native recovery for mandatory view load failures 2026-10-21 18:13:53 +08:00
winewill 081b562487 fix(desktop): preserve owner close and title behavior 2026-10-21 17:02:47 +08:00
winewill a50412d71b fix(desktop): apply shared theme tokens to update dialogs 2026-10-21 15:51:32 +08:00
winewill e722ee6869 fix(desktop): cancel diagnostic workers during shutdown 2026-10-20 19:21:31 +08:00
winewill c4f49704a1 fix(desktop): embed mandatory updates without native child windows 2026-10-20 18:58:04 +08:00
zhc 7c27a4aaf9 fix(file-drag): 补齐准备取消与文件名保真处理 2026-10-20 18:25:11 +08:00
winewill 495977f9d7 fix(desktop): embed ordinary update dialogs in owner windows 2026-10-20 18:08:51 +08:00
zhc 9676ff7724 fix(file-drag): generalize transfers and address lifecycle review 2026-10-20 17:45:09 +08:00
zhc 31bd06d503 feat(image): restore pan and sharing with plugin-owned transfers 2026-10-20 16:46:23 +08:00
winewill 9738e49720 fix(desktop): preserve partial-write history and isolate journals 2026-10-20 15:56:15 +08:00
imccyu a3debca9ab Revert "feat(gui): 支持图片拖动平移与原图拖放分享" 2026-10-19 18:04:17 +08:00
winewill f6a6a3407f Merge pull request #6560 from deepseek-harness/fix/macos-update-fullscreen-recovery
fix(desktop): leave macOS fullscreen before update confirmation
2026-10-19 18:04:00 +08:00