Commit Graph

284 Commits

Author SHA1 Message Date
Opportunity
b8eb66521b fix(indexer): 修复 NexusPHP 用户流量详情表格兜底解析 (#7008) 2026-10-15 20:30:23 +08:00
Opportunity
5e476e2419 fix(indexer): 修复 Discuz 用户分享率解析 (#7006) 2026-10-15 13:01:57 +08:00
jxxghp
99ef7e508b fix(indexer): support custom seeding and Unit3D bonus pages 2026-10-12 08:36:19 +08:00
freeman
f3ad81b39e style: apply safe ruff auto-fixes and exempt startup late imports
Run `ruff check app tests scripts --fix` with the configured rule set
(E4/E7/E9/F/I): import sorting (I001), f-strings without placeholders
(F541), lambda/variable/unused-import cleanups that ruff marks safe.
Nine files whose only ruff debt sits next to pre-existing pylint
import-resolution errors (lazy exports, sys.path script imports) or
whose "unused" imports are reached through attribute access by tests are
left untouched so the changed-file pylint gate and the benchmark tests
stay green; their diagnostics remain in the baseline.

app/startup/lifecycle/__init__.py and app/main.py import business
modules after cache composition, import-path and stdio setup on purpose
(the source comments document the contract), so declare E402
per-file-ignores for them instead of adding per-line noqa.

Ruff ratchet watermark drops from 498 to 100; sync the baseline fixture
and the optimization checklist figure.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 13:29:09 +08:00
WenGuoyin
e19076f482 feat(indexer): 适配 Milkie 站点搜索与连通测试
- 新增 MilkieSpider:基于 milkie.cc JSON API(x-milkie-auth 认证)的
  种子搜索与浏览,支持关键字分类收敛、服务端翻页、免费因子与
  媒体类型映射,下载链接按 API Key URL 编码拼接
- 注册 SPIDER_PARSER_CLASSES 与专用搜索参数投影
- SiteChain 新增 milkie.cc 连通性测试,401/403 判定 API Key 失效
- 补充 MilkieSpider 单元测试与同步异步参数一致性用例,同步依赖基线
2026-10-08 17:18:10 +08:00
jxxghp
656e2852f7 fix(indexer): paginate keyword results without server page support
Refs #6911
2026-10-08 13:46:57 +08:00
ChantXu64
e5e2558585 feat(search): 订阅补全逐页搜索、断点续搜与资源页手动分页 (#6907) 2026-10-07 14:40:55 +08:00
jxxghp
43edef140f fix(indexer): fetch TNode current user before requiring an id (#6895) 2026-10-06 07:40:06 +08:00
jxxghp
378944aeba fix(indexer): support XML feeds in site search 2026-10-03 23:47:04 +08:00
jxxghp
97b251ed72 chore(parser): preserve existing ruff baseline 2026-10-02 17:04:41 +08:00
jxxghp
e1d1de1ee7 fix(parser): keep Unit3D username as user id 2026-10-02 17:00:41 +08:00
jxxghp
ef967e68e7 fix(indexer): satisfy subtitle API type gates 2026-10-01 12:44:03 +08:00
jxxghp
58ec86b586 fix(indexer): use M-Team subtitle search API 2026-10-01 12:29:28 +08:00
Aqr-K
f4a68f360d fix(indexer): 站点搜索兜底失败信息附带状态码与页面标题 (#6819) 2026-09-29 06:57:10 +08:00
jxxghp
05a53657a6 fix(indexer): parse PterClub seeding stats 2026-09-23 16:15:19 +08:00
jxxghp
1422f41c6c fix(indexer): paginate M-Team seeding statistics 2026-09-23 15:45:52 +08:00
jxxghp
aeaf473ebd fix(indexer): support UUID user ids and fix hhanclub bonus (#6753, #6754)
- NexusPHP v1.10+ 站点以 userdetails.php?uuid= 标识用户,解析 UUID 用户标识,
  做种列表接口改用 useruuid 参数请求
- 憨憨等站点的魔力值嵌在 mybonus 链接内部,优先解析链接文本与链接后文本,
  兜底容器限制为临近且文本紧凑,避免误取公告等大段文本中的无关数字
2026-09-22 13:35:43 +08:00
Opportunity
3114161166 fix(indexer): parse common PTTime user level (#6757) 2026-09-22 11:24:05 +08:00
moviepilot-codex[bot]
36e2e42fda fix(indexer): preserve parser type ratchet 2026-09-21 19:11:32 +08:00
moviepilot-codex[bot]
1ab94877d7 fix(indexer): parse PTTTime user data correctly 2026-09-21 18:55:59 +08:00
HDDolby
4a22760bb4 Skip requests when userid invalid (#6723) 2026-09-18 10:35:58 +08:00
jxxghp
8072b7d78f Refactor application architecture and compatibility boundaries 2026-09-13 12:53:00 +08:00
jxxghp
4d4327e25a fix(site): report unauthenticated userdata refresh failures 2026-09-12 21:19:58 +08:00
jxxghp
7a1941ec39 fix(site): configure login and userdata pages from resources 2026-09-09 08:10:56 +08:00
jxxghp
bfda2ef797 fix(indexer): limit userdata schema fallbacks 2026-09-09 07:23:26 +08:00
jxxghp
b4be185e44 fix(subscribe): tolerate partial site search failures 2026-09-05 20:03:09 +08:00
jxxghp
8795e30c39 fix(indexer): keep music site category on rust parsing 2026-09-02 08:55:02 +08:00
jxxghp
e57288b5ea refactor(subscribe): satisfy global governance gates 2026-09-01 17:09:55 +08:00
jxxghp
bab1d2862e refactor(subscribe): govern fallback site pressure 2026-09-01 17:09:54 +08:00
jxxghp
5ba7e6170d refactor(parity): unify remaining sync async decisions 2026-08-29 22:50:31 +08:00
jxxghp
0c05956814 refactor(architecture): enforce module naming policy 2026-08-29 22:17:17 +08:00
jxxghp
66ca0a9246 refactor(indexer): unify spider response handling 2026-08-29 20:50:00 +08:00
jxxghp
41b3c086cf refactor(indexer): unify sync async search decisions 2026-08-29 19:43:00 +08:00
jxxghp
92e745fc97 refactor(architecture): split chain owners and close runtime boundaries 2026-08-28 22:26:19 +08:00
jxxghp
9e81421eba fix(indexer): close quality ratchet regression 2026-08-26 22:53:36 +08:00
jxxghp
be8db5520b fix(indexer): normalize Rousi profile fields 2026-08-26 22:42:29 +08:00
jxxghp
5484223d1e fix(indexer): adapt Rousi Pro PeerGo personal API key 2026-08-26 22:31:45 +08:00
InfinityPacer
d24c52ea97 fix(plugin): 按绑定仓库处理插件更新 (#6472) 2026-08-26 21:35:16 +08:00
jxxghp
0a5b6a637d fix(site): recognize Gazelle login state (#6464) 2026-08-26 21:09:19 +08:00
jxxghp
9dbe424c3d refactor(config): retire RuntimeSettingsCompat host usage 2026-08-26 15:55:21 +08:00
jxxghp
3272f72823 fix(ci): sort GPW parser imports 2026-08-26 07:10:33 +08:00
jxxghp
a706474310 fix(site): adapt GPW Gazelle seeding 2026-08-26 07:05:53 +08:00
jxxghp
8555d0da3e refactor: use explicit system config getter 2026-08-24 04:04:35 +08:00
jxxghp
371383f0a8 refactor: unify host threadpool boundary 2026-08-24 03:28:10 +08:00
SayItDitto
b1a55b76e5 feat: 用户数据解析器自动探测 + Gazelle/NexusProject 变种兼容 (#6403) 2026-08-23 09:13:55 +08:00
jxxghp
55c80c87da refactor: route indexer module settings through runtime 2026-08-23 03:15:21 +08:00
jxxghp
97d2dcd7fb fix(ci): align architecture and pylint gates 2026-08-22 08:50:25 +08:00
jxxghp
8472bcff43 refactor: 收口 V3 分层架构与插件兼容边界 2026-08-18 13:22:02 +08:00
jxxghp
5128ae9e1e refactor: 推进后端分层架构治理 2026-08-18 00:29:14 +08:00
InfinityPacer
24671f8f18 refactor(runtime): lazily activate host modules (#6331) 2026-08-16 16:07:38 +08:00