Repository navigation
chore(deps): bump golang.org/x/image from 0.47.0 to 0.48.0 in the minor-and-patch group - #9
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps the minor-and-patch group with 1 update: [golang.org/x/image](https://github.com/golang/image). Updates `golang.org/x/image` from 0.47.0 to 0.48.0 - [Commits](golang/image@v0.47.0...v0.48.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-version: 0.48.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
chialecode
added a commit
that referenced
this pull request
Nov 21, 2026
…full-codebase audit Stage TRACE-M5-01 (DEC-062, FR-REMOTE-001..008, AC-56..64): - trace-server (cmd/trace-server, CGO off, no UI packages) runs on Linux VPS: init/run/token/version/upload-test/rclone-filter; HTTPS with a self-signed certificate pinned by the connection code, token hash, failure limiting, body limit and protocol handshake; no renewal and no full cache on the remote; SIGTERM pauses and finalizes recordings. - Built-in upload drives rclone per item: media first, item.json last, delete only after confirmation, error classes with backoff, resume from upload_files after restart. - Every unfinished file is *.part or .trace-*; legacy in-progress names are adopted; items carry cachedBy from node.json; Linux credentials use a random key file. - Desktop: Settings > 远程 (connect, status, sync subscriptions and cookies, pending-cookie retry); library import page with six-way scan, conflict choices and verified resumable copies; export of the current filter; tasks section 导入导出; subscription file export and import with preview; two-node live merge. - tools: package -server (linux amd64/arm64 tar.gz + SHA256SUMS), smoke -server with a fake rclone, check dual-GOOS dependency rules and cross builds, six new uishots scenes; CI runs the remote smoke. - Dependencies (DEC-048): mp4ff v0.63.0, mygo v0.9.0, x/image v0.48.0 (folds PR #9), x/text v0.44.0. tools/deps -audit passes with 0 called vulnerabilities. Removes stray package.exe. Dev feedback 2026-11-20 (DEC-063): fix Douyin live start re-entry self-deadlock; store Douyin co-creations under the account they were cached for (via collab, download_tasks.via_json); fall back to a note's top-level play_addr for music and allow public HTTPS redirects for music downloads; show the subscription name on Home posts; let cache queues re-cache incomplete items and count Douyin co-creations under the member. Full-codebase audit, bugfix, cleanup and refactor (2026-11-21): - Security and isolation: harden OSDesktop.OpenExternalURL to http/https, wire GuardedMediaDialer into Bilibili/Douyin media transports and fix proxy-allowlist/IP-blocklist gaps, enforce per-site login in Douyin image/avatar fetches, mask and clear remote connection codes/tokens, redact signed URLs/tokens in SiteError/RoomState/logs/sitecheck, reject Windows NTFS junctions (ModeIrregular) and strict link checks on writes/deletes, enforce fail-closed actcheck/sitecheck category limits, and bound smoke/uishots output cleanup to artifacts/. - Data safety and core pipelines: fix subscription Delete non-numeric miss wiping Douyin subscriptions, sub_id unlink/move collisions, OpenSQLite corruption-only recovery and WAL schema guard, remote allow-moved-files mode in library.Store, upload --files-from-raw write error check and busy/corrupt CPU spins, MergeItemMetadata live segment ordering/dedup/supplement merges, download staging/status-poisoning/ context-cancel/64-bit elst fixes, live FLV PacketTypeMetadata=4/GOP/ cover write-order/moved-dir/re-entrant stop/data-race fixes, and Media Foundation COM teardown UAF/pendingReads/cancel-deadlock/ splitDecoder SampleRate-Channels/NV12 odd-dimension fixes. - Service, shell and UI: release mutexes before event publishing, run cleanup on mygo.App.OnQuit before auto-update Relaunch, isolate PauseAllActiveWork per site (LOOP-016), serialize tray updates, fix remote 30s refresh busy-spin, MediaDecoder disposal on close-to-tray, coverless video tile mp4 reads, per-frame SQLite/disk/alloc hotspots, IME/modal/narrow-width bugs, and update.Controller busy-handoff race. - Cleanup and maintainability: decompose oversized files across download, live, library, subscription, service, shell, ui, and tools; consolidate shared idle readers, URL sanitizers, dialog/avatar helpers, and build checksums; remove unused OPML subsystem, dead helpers, legacy feedback test names, stale README/docs versions, and legacy stage/issue comments (LOOP-007). Dev feedback 2026-11-21 (downloads, library attribution, task UI): - Allow bytednsdoc.com in Douyin media host allowlist for fallback note music (HTTPS 443, GuardedMediaDialer, 0 Cookie). - Propagate need_set_token/is_need_set_cookie on Douyin streams and add authenticated no-redirect ResolvePlayRedirect on www.douyin.com (/aweme/v1/play/) resolving into cookieless CDN URLs (0 Cookie on CDN) for need_set_token note video/live-photo clips and 403 fallback. - Map Bilibili code=4101152 to ErrKindUnavailable and skip ephemeral DYNAMIC_TYPE_LIVE_RCMD items in dynamic cache queues. - Attribute Bilibili forwarded videos (via.reason="forward") to the forwarder in library Statistics/ListItems/LatestPubByAuthor/CountCachedWorks so original uploaders do not appear as phantom library authors. - Preserve user-page forUID/forName context when opening a Douyin co-creation into douyin_work_view and caching from the detail view. - Fix right-edge clipping on download task cards (Shrink(1)), preserve and backfill partial missing reasons, and style partial bars/banners. Verification: go run ./tools/check (all tested packages, dual-GOOS dep check, Linux amd64/arm64 trace-server build & vet, checkdocs), tools/deps -audit (0 called), tools/uishots (192/192 pass), bounded real-site verification of 3 Douyin notes (complete, 0 cookie leaks), tools/package -install (0.1.3-dev.202611210624) & -server, desktop smoke & server smoke pass. go test -race (no cgo/gcc on host) and H-001/H-002/H-003 remain not-run. Report: docs/delivery/stage-report.md. Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com>
chialecode
added a commit
that referenced
this pull request
Nov 21, 2026
…full-codebase audit Stage TRACE-M5-01 (DEC-062, FR-REMOTE-001..008, AC-56..64): - trace-server (cmd/trace-server, CGO off, no UI packages) runs on Linux VPS: init/run/token/version/upload-test/rclone-filter; HTTPS with a self-signed certificate pinned by the connection code, token hash, failure limiting, body limit and protocol handshake; no renewal and no full cache on the remote; SIGTERM pauses and finalizes recordings. - Built-in upload drives rclone per item: media first, item.json last, delete only after confirmation, error classes with backoff, resume from upload_files after restart. - Every unfinished file is *.part or .trace-*; legacy in-progress names are adopted; items carry cachedBy from node.json; Linux credentials use a random key file. - Desktop: Settings > 远程 (connect, status, sync subscriptions and cookies, pending-cookie retry); library import page with six-way scan, conflict choices and verified resumable copies; export of the current filter; tasks section 导入导出; subscription file export and import with preview; two-node live merge. - tools: package -server (linux amd64/arm64 tar.gz + SHA256SUMS), smoke -server with a fake rclone, check dual-GOOS dependency rules and cross builds, six new uishots scenes; CI runs the remote smoke. - Dependencies (DEC-048): mp4ff v0.63.0, mygo v0.9.0, x/image v0.48.0 (folds PR #9), x/text v0.44.0. tools/deps -audit passes with 0 called vulnerabilities. Removes stray package.exe. Dev feedback 2026-11-20 (DEC-063): fix Douyin live start re-entry self-deadlock; store Douyin co-creations under the account they were cached for (via collab, download_tasks.via_json); fall back to a note's top-level play_addr for music and allow public HTTPS redirects for music downloads; show the subscription name on Home posts; let cache queues re-cache incomplete items and count Douyin co-creations under the member. Full-codebase audit, bugfix, cleanup and refactor (2026-11-21): - Security and isolation: harden OSDesktop.OpenExternalURL to http/https, wire GuardedMediaDialer into Bilibili/Douyin media transports and fix proxy-allowlist/IP-blocklist gaps, enforce per-site login in Douyin image/avatar fetches, mask and clear remote connection codes/tokens, redact signed URLs/tokens in SiteError/RoomState/logs/sitecheck, reject Windows NTFS junctions (ModeIrregular) and strict link checks on writes/deletes, enforce fail-closed actcheck/sitecheck category limits, and bound smoke/uishots output cleanup to artifacts/. - Data safety and core pipelines: fix subscription Delete non-numeric miss wiping Douyin subscriptions, sub_id unlink/move collisions, OpenSQLite corruption-only recovery and WAL schema guard, remote allow-moved-files mode in library.Store, upload --files-from-raw write error check and busy/corrupt CPU spins, MergeItemMetadata live segment ordering/dedup/supplement merges, download staging/status-poisoning/ context-cancel/64-bit elst fixes, live FLV PacketTypeMetadata=4/GOP/ cover write-order/moved-dir/re-entrant stop/data-race fixes, and Media Foundation COM teardown UAF/pendingReads/cancel-deadlock/ splitDecoder SampleRate-Channels/NV12 odd-dimension fixes. - Service, shell and UI: release mutexes before event publishing, run cleanup on mygo.App.OnQuit before auto-update Relaunch, isolate PauseAllActiveWork per site (LOOP-016), serialize tray updates, fix remote 30s refresh busy-spin, MediaDecoder disposal on close-to-tray, coverless video tile mp4 reads, per-frame SQLite/disk/alloc hotspots, IME/modal/narrow-width bugs, and update.Controller busy-handoff race. - Cleanup and maintainability: decompose oversized files across download, live, library, subscription, service, shell, ui, and tools; consolidate shared idle readers, URL sanitizers, dialog/avatar helpers, and build checksums; remove unused OPML subsystem, dead helpers, legacy feedback test names, stale README/docs versions, and legacy stage/issue comments (LOOP-007). Dev feedback 2026-11-21 (downloads, library attribution, task UI): - Allow bytednsdoc.com in Douyin media host allowlist for fallback note music (HTTPS 443, GuardedMediaDialer, 0 Cookie). - Propagate need_set_token/is_need_set_cookie on Douyin streams and add authenticated no-redirect ResolvePlayRedirect on www.douyin.com (/aweme/v1/play/) resolving into cookieless CDN URLs (0 Cookie on CDN) for need_set_token note video/live-photo clips and 403 fallback. - Map Bilibili code=4101152 to ErrKindUnavailable and skip ephemeral DYNAMIC_TYPE_LIVE_RCMD items in dynamic cache queues. - Attribute Bilibili forwarded videos (via.reason="forward") to the forwarder in library Statistics/ListItems/LatestPubByAuthor/CountCachedWorks so original uploaders do not appear as phantom library authors. - Preserve user-page forUID/forName context when opening a Douyin co-creation into douyin_work_view and caching from the detail view. - Fix right-edge clipping on download task cards (Shrink(1)), preserve and backfill partial missing reasons, and style partial bars/banners. Verification: go run ./tools/check (all tested packages, dual-GOOS dep check, Linux amd64/arm64 trace-server build & vet, checkdocs), tools/deps -audit (0 called), tools/uishots (192/192 pass), bounded real-site verification of 3 Douyin notes (complete, 0 cookie leaks), tools/package -install (0.1.3-dev.202611210624) & -server, desktop smoke & server smoke pass. go test -race (no cgo/gcc on host) and H-001/H-002/H-003 remain not-run. Report: docs/delivery/stage-report.md. Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com>
chialecode
added a commit
that referenced
this pull request
Nov 21, 2026
Stage TRACE-M5-01 (DEC-062, FR-REMOTE-001..008, AC-56..64): - trace-server (cmd/trace-server, CGO off, no UI packages) runs on Linux VPS: init/run/token/version/upload-test/rclone-filter; HTTPS with a self-signed certificate pinned by the connection code, token hash, failure limiting, body limit and protocol handshake; no renewal and no full cache on the remote; SIGTERM pauses and finalizes recordings. - Built-in upload drives rclone per item: media first, item.json last, delete only after confirmation, error classes with backoff, resume from upload_files after restart. - Every unfinished file is *.part or .trace-*; legacy in-progress names are adopted; items carry cachedBy from node.json; Linux credentials use a random key file. - Desktop: Settings > 远程 (connect, status, sync subscriptions and cookies, pending-cookie retry); library import page with six-way scan, conflict choices and verified resumable copies; export of the current filter; tasks section 导入导出; subscription file export and import with preview; two-node live merge. - tools: package -server (linux amd64/arm64 tar.gz + SHA256SUMS), smoke -server with a fake rclone, check dual-GOOS dependency rules and cross builds, six new uishots scenes; CI runs the remote smoke. - Dependencies (DEC-048): mp4ff v0.63.0, mygo v0.9.0, x/image v0.48.0 (folds PR #9), x/text v0.44.0. tools/deps -audit passes with 0 called vulnerabilities. Removes stray package.exe. Dev feedback 2026-11-20 (DEC-063): fix Douyin live start re-entry self-deadlock; store Douyin co-creations under the account they were cached for (via collab, download_tasks.via_json); fall back to a note's top-level play_addr for music and allow public HTTPS redirects for music downloads; show the subscription name on Home posts; let cache queues re-cache incomplete items and count Douyin co-creations under the member. Full-codebase audit, bugfix, cleanup and refactor (2026-11-21): - Security and isolation: harden OSDesktop.OpenExternalURL to http/https, wire GuardedMediaDialer into Bilibili/Douyin media transports and fix proxy-allowlist/IP-blocklist gaps, enforce per-site login in Douyin image/avatar fetches, mask and clear remote connection codes/tokens, redact signed URLs/tokens in SiteError/RoomState/logs/sitecheck, reject Windows NTFS junctions (ModeIrregular) and strict link checks on writes/deletes, enforce fail-closed actcheck/sitecheck category limits, and bound smoke/uishots output cleanup to artifacts/. - Data safety and core pipelines: fix subscription Delete non-numeric miss wiping Douyin subscriptions, sub_id unlink/move collisions, OpenSQLite corruption-only recovery and WAL schema guard, remote allow-moved-files mode in library.Store, upload --files-from-raw write error check and busy/corrupt CPU spins, MergeItemMetadata live segment ordering/dedup/supplement merges, download staging/status-poisoning/ context-cancel/64-bit elst fixes, live FLV PacketTypeMetadata=4/GOP/ cover write-order/moved-dir/re-entrant stop/data-race fixes, and Media Foundation COM teardown UAF/pendingReads/cancel-deadlock/ splitDecoder SampleRate-Channels/NV12 odd-dimension fixes. - Service, shell and UI: release mutexes before event publishing, run cleanup on mygo.App.OnQuit before auto-update Relaunch, isolate PauseAllActiveWork per site (LOOP-016), serialize tray updates, fix remote 30s refresh busy-spin, MediaDecoder disposal on close-to-tray, coverless video tile mp4 reads, per-frame SQLite/disk/alloc hotspots, IME/modal/narrow-width bugs, and update.Controller busy-handoff race. - Cleanup and maintainability: decompose oversized files across download, live, library, subscription, service, shell, ui, and tools; consolidate shared idle readers, URL sanitizers, dialog/avatar helpers, and build checksums; remove unused OPML subsystem, dead helpers, legacy feedback test names, stale README/docs versions, and legacy stage/issue comments (LOOP-007). Dev feedback 2026-11-21 (downloads, library attribution, task UI): - Allow bytednsdoc.com in Douyin media host allowlist for fallback note music (HTTPS 443, GuardedMediaDialer, 0 Cookie). - Propagate need_set_token/is_need_set_cookie on Douyin streams and add authenticated no-redirect ResolvePlayRedirect on www.douyin.com (/aweme/v1/play/) resolving into cookieless CDN URLs (0 Cookie on CDN) for need_set_token note video/live-photo clips and 403 fallback. - Map Bilibili code=4101152 to ErrKindUnavailable and skip ephemeral DYNAMIC_TYPE_LIVE_RCMD items in dynamic cache queues. - Attribute Bilibili forwarded videos (via.reason="forward") to the forwarder in library Statistics/ListItems/LatestPubByAuthor/CountCachedWorks so original uploaders do not appear as phantom library authors. - Preserve user-page forUID/forName context when opening a Douyin co-creation into douyin_work_view and caching from the detail view. - Fix right-edge clipping on download task cards (Shrink(1)), preserve and backfill partial missing reasons, and style partial bars/banners. Verification: go run ./tools/check (all tested packages, dual-GOOS dep check, Linux amd64/arm64 trace-server build & vet, checkdocs), tools/deps -audit (0 called), tools/uishots (192/192 pass), bounded real-site verification of 3 Douyin notes (complete, 0 cookie leaks), tools/package -install (0.1.3-dev.202611210624) & -server, desktop smoke & server smoke pass. go test -race (no cgo/gcc on host) and H-001/H-002/H-003 remain not-run. Dev feedback 2026-11-21 (DEC-064): cached posts in a subscription's 内容 tab get a local-only "⋯" (show in folder, delete) using the library's delete plan, so text-only dynamics can be removed; the delete dialog names untitled dynamics by their text and counts referenced videos deleted with them. Report: docs/delivery/stage-report.md. Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com>
Owner
|
已随 M5(PR #11)并入 main |
Contributor
Author
|
This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests. To ignore these dependencies, configure ignore rules in dependabot.yml |
dependabot
Bot
deleted the
dependabot/go_modules/minor-and-patch-79cbd1e04f
branch
November 21, 2026 12:14
This was referenced Nov 22, 2026
chialecode
added a commit
that referenced
this pull request
Nov 29, 2026
…a-refresh, and Douyin webid persistence (#197) Closes #183 ## 做了什么 按 issue #183 统一补齐哔哩哔哩、抖音、微博、X 四个站点的浏览器请求头指纹一致性、HTTP/2 传输协商、跨站 Cookie 隔离、短链解析、`webid` 持久化与登录/远程风险提示: 1. **共享现代桌面 Chrome 浏览器配置(`internal/site` 纯 Go 标准库实现)** - 新增 `internal/site/browser_profile.go`:`BrowserProfile`、`DeriveBrowserProfile(ua)`、`ApplyClientHints(http.Header)` 与 W3C Fetch 语义的 `DeriveSecFetchSite(referer, targetURL)`,严格遵守 `tools/check` 依赖规则(`internal/site` 仅使用 Go 标准库)。 - 全站默认桌面 Chrome UA 统一升级至 `Chrome/144.0.0.0`(Windows NT 10.0; Win64; x64,`DefaultUserAgent` 及 B 站/抖音/微博/X 同步),配套一致的 `Sec-Ch-Ua` / `Sec-Ch-Ua-Mobile: ?0` / `Sec-Ch-Ua-Platform: "Windows"`。 - **非 Chromium 保护**:传入 Firefox/Safari 等非 Chromium UA 时,绝不伪造 `Sec-Ch-Ua*` 头部。 - 保持抖音 `a_bogus` 黄金向量测试通过,所有站点与查询指纹参数共享同一套派生逻辑。 2. **抖音(`internal/site/douyin/`、`internal/credential/`、`internal/service/`)** - **修复跨站 Cookie 泄漏**:`ReflowRoomInfo` 与 `CheckRoomsAlive` 对 `webcast.amemv.com` 设置 `guestNoCookie: true`,确保 `.douyin.com` Cookie 绝不发往 `webcast.amemv.com`(附回归测试断言 `Cookie == ""` 与 `Sec-Fetch-Site: cross-site`)。 - **清理 `ResolvePlayRedirect` 请求头**:对 `/aweme/v1/play/` 改用独立的 `applyPlayRedirectHeaders`(`Accept: */*`、`Accept-Language: zh-CN,zh;q=0.9`、`Referer: https://www.douyin.com/`、`Sec-Fetch-Mode: no-cors`、`Sec-Fetch-Dest: video`,移除 `Origin` 与 JSON/CORS 头;仅对 `*.douyin.com` 附带所需会话 Cookie 并在任何非 `douyin.com` 主机上显式剔除 Cookie)。 - **跨重启持久化 `webid`**:在 `credential.Record` 增加向后兼容的可选字段 `DouyinWebID string \`json:"douyinWebId,omitempty"\``(不改写 schema 版本,旧 `douyin.bin` 无缝读取),新增 `DouyinWebID` / `SaveDouyinWebID` / `EnsureDouyinWebID` 并在 `internal/service/backend.go`(覆盖桌面端与 `internal/remoteserver/run.go`)及 `douyin.NewClient` / `LoginWithCookie` 接入,重新粘贴 Cookie 时保留同一 `webid`。 3. **X(`internal/site/x/`)** - **动态 `Sec-Fetch-Site`**:将硬编码的 `Sec-Fetch-Site: same-origin` 替换为基于 `site.DeriveSecFetchSite` 的动态计算,使 `https://x.com/` → `https://api.x.com/1.1/account/settings.json` 发送 `same-site`,`https://x.com/` → `https://x.com/i/api/graphql/...` 发送 `same-origin`。 - **`abs.twimg.com` 静态脚本请求头**:`fetchStaticAsset`(含重定向每一跳)携带 `Referer: https://x.com/`、来自浏览器配置的 `Sec-Ch-Ua*`、`Sec-Fetch-Site: cross-site`、`Sec-Fetch-Mode: no-cors`、`Sec-Fetch-Dest: script`,同时继续严格剥离 `Cookie` / `Authorization` / `X-Csrf-Token` / `X-Twitter-Auth-Type` / `X-Client-Transaction-Id` / `Origin`。 - **`t.co` HTTP 200 HTML meta-refresh 与 JS fallback 支持**:在 3xx `Location` 之外,支持有界读取(`<= 64 KiB`)HTTP 200 HTML 中的 `<meta http-equiv="refresh" content="...;URL=...">` 及 `location.replace("...")` 回退跳转,复用严格的 HTTPS、SSRF/白名单域名校验、零 Cookie 与 5 跳上限。 4. **微博(`internal/site/weibo/`)** - `weibo/client.go` 接入共享 `site.BrowserProfile` 与 `site.DeriveSecFetchSite`,为 `/ajax/*` 与 `/tv/api/component` 补齐 `Sec-Fetch-Site`、`Sec-Fetch-Mode: cors`、`Sec-Fetch-Dest: empty` 与 `Sec-Ch-Ua*`(未触碰微博扫码登录相关范围)。 5. **哔哩哔哩与媒体传输(`internal/site/bilibili/`、`internal/credential/`、`internal/download/`、`internal/live/`)** - **恢复 HTTP/2 协商**:为 B 站 `apiTransport`/`mediaTransport` 以及抖音/微博/X、下载与直播媒体 `http.Transport` 显式启用 `ForceAttemptHTTP2: true`。 - **动态 `Referer`、`Accept`、`Accept-Language`、`Sec-Fetch-*` 与 POST `Origin`**: - `space.bilibili.com/<mid>`、`arc/search`、`feed/space`、`relation/followings`、`fav` 使用 `https://space.bilibili.com/<mid>/`(无 mid 回退首页); - `api.live.bilibili.com` 使用 `https://live.bilibili.com/`; - `wbi/view`、`playurl`、`player/wbi/v2` 与 `seg.so` 弹幕在已知 `bvid` 时使用 `https://www.bilibili.com/video/<bvid>/`(`DanmakuXML` 扩展向后兼容的可变参数 `bvid ...string`); - HTML 页面(空间页、`/correspond/1/...`、`b23.tv`)发送 HTML `Accept` 与 `navigate`/`document`/`?1`(`b23.tv` 无 `Referer`、`Sec-Fetch-Site: none`、无 Cookie),`seg.so` 发送 `Accept: */*`,JSON 接口发送 `application/json, text/plain, */*` 与 `cors`/`empty`; - POST 接口(`cookie/refresh`、`confirm/refresh`)附带 `Origin: https://www.bilibili.com`。 - **请求间隔抖动**:在 B 站 500ms 串行间隔之上增加 `0..200ms` 可注入随机抖动(`PacingJitterMax` / `PacingJitterFunc`),单测保持确定性与快速执行。 - **保留 B 站 `buvid3`、`buvid4`、`b_nut`**:在 `credential.AllowedCookieKeys` 放行可选字段 `buvid3`、`buvid4`、`b_nut`(`SESSDATA` 仍为必填),并在 `Store.RedactString` 与 `Manager.RedactString` 中对原始/URL 编码/JSON 形式全面脱敏,附哨兵防泄漏单测。 6. **登录页与远程设置风险提示文案(`internal/ui/`、`docs/ui.md`)** - 在登录页(B 站/抖音/微博/X 粘贴凭证区)与设置 › 远程登录说明中补充简洁一致的提示:粘贴的 Cookie 与浏览器共用会话且不支持自动续期、高风控站点建议使用专门备用账号、避免本机与远程 VPS 对同一账号并发高频请求,并同步更新 `docs/ui.md` §3.7–3.8(保留 X 风险提示框全部必检短语与布局约束)。 ## 验证 - [x] `go run ./tools/check` — **ALL CHECKS PASSED**(`gofmt -l` 345ms、`go vet ./...` 1.583s、`go test ./...` 全仓全部包通过含 `internal/ui` 237.558s、`dependency direction` 2.826s、`trace-server linux build` 26.146s、`tools/checkdocs` 1.905s、`git diff --check HEAD` 149ms) - [x] `go run ./tools/uishots -out artifacts/uishots` — **all passed**(生成并断言通过全部 381 张截图,含 `login-x` 风险提示布局与全部 10 项文案断言) - [ ] CI `repository-quality`(建 PR 后由 GitHub Actions 自动运行) - [ ] 审核前在干净 PR 分支运行 `go run ./tools/package -install` 并供用户实测(由协调器在独立审查后安排) - `not-run`: 真实站点请求(本次实现与测试严格零真实站点请求,全部采用单元测试、合成样本、本地回环 `httptest` 与 `ui.NewTester`) - `not-run`: `go test -race ./...`(本机门禁与无 cgo Windows 构建环境默认 `CGO_ENABLED=0`) - 推送说明:因在 `git worktree` 中执行且本地已先跑通 `go run ./tools/check`,按 `LESSONS.md` #9 使用 `git push --no-verify -u origin fix/183-site-headers-transport-hygiene` 以避开 `pre-push` 中 `GIT_DIR` 与 `tools/release` 测试冲突。 ## 风险 风险等级:高风险(已加 `risk:high` 标签,原因:修改了 `internal/credential/` 凭证白名单、脱敏规则与 `Record` 可选持久化字段 `douyinWebId`;向后兼容旧 `bilibili.bin` / `douyin.bin`,无结构版本变更、无通道隔离变更,需经独立审查与审核前本机 `trace-dev` 安装并由用户测试后合并)。 每个提交都带 `Signed-off-by`(`git commit -s`)。 --------- Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the minor-and-patch group with 1 update: golang.org/x/image.
Updates
golang.org/x/imagefrom 0.47.0 to 0.48.0Commits
884d13fgo.mod: update golang.org/x dependencies6ec427fccitt: add security considerations to documentationa998c07tiff/lzw: avoid hi code overflowYou can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions