Commit Graph

310 Commits

Author SHA1 Message Date
812fc17c5a build: 升级版本为2.3.2
Some checks failed
Release Draft / build (push) Has been cancelled
2.3.2
2026-04-02 16:33:59 +08:00
ChrsiGray
e8a0d8a00c fix: support douban image uploads with referer
- use subject page referer for douban image requests\n- keep PicGo clipboard upload flow and await clipboard writes\n- add webp clipboard fallback for image decoding
2026-04-02 11:26:16 +08:00
ChrsiGray
318aabb21b fix: upload Douban images to PicGo via temp file 2026-04-02 11:26:16 +08:00
a8094d7575
Merge pull request #177
fix: All search type 403, undefined actor crash, and lazy login on startup
2026-03-11 23:27:55 +08:00
YuBai
7ba1a7be0c feat: implement lazy login to eliminate startup network request
Replace eager login verification on startup with assumeLoggedIn(),
which sets login state from saved credentials without any network call.
Real verification is deferred until sync (which needs the actual user ID)
or when the settings page is opened.

- UserComponent: add verified flag, assumeLoggedIn(), isVerified()
- main.ts: replace onLayoutReady(login) with assumeLoggedIn(); fix
  inverted condition bug in checkLogin() (!needLogin -> needLogin)
- DoubanSyncModal: remove redundant login check before checkLogin()
- LoginSettingsHelper: handle assumed-but-unverified state in constructLoginUI()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 20:38:48 +08:00
YuBai
4e8d3f1318 Merge branch 'fix-undefined-actor-error' into fix/search-all-api-and-login-init 2026-03-04 18:25:45 +08:00
YuBai
c375512903 fix: restore All search type and initialize login state on startup
- Switch AllPageSearchPageFetcher from m.douban.com/rexxar/api/v2/search
  (returns 403 need_login) to www.douban.com/j/search (works with cookies)
- Update AllFirstPageSearchResultPageParser and OtherAllPageSearchResultPageParser
  to use SearchParserHandler.parseSearchJson() matching the j/search response format,
  replacing the old Rexxar-specific SearchParserHandlerV2 parsing logic
- Add await this.userComponent.login() in onload() so login state is initialized
  on startup, fixing false isLogin()=false causing "need login for next page" errors

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 18:20:58 +08:00
YuBai
99d4170626 fix: 为其他 handler 添加数组空值检查
在 parseVariable 方法中为所有数组字段的 .map() 调用添加 (field || []) 保护,

防止当字段为 undefined 时调用 .map() 报错。
2026-02-02 11:26:47 +08:00
YuBai
297ccd33cf fix: 当 JSON-LD 解析失败时添加回退机制
豆瓣现在对未登录请求返回反爬虫验证页面,导致 JSON-LD 解析返回 undefined。

添加从 OG meta 标签提取基本信息的回退机制,防止代码崩溃。

同时给所有数组字段添加默认值 || []。
2026-02-02 11:25:56 +08:00
YuBai
a0eccf7370 fix: handle() 方法 catch 块返回 undefined 而不是错误对象
当 HTTP 请求失败时,返回错误对象会导致上层代码尝试访问错误对象的属性,

造成 TypeError。改为返回 undefined 让上层代码正确处理空值情况。
2026-02-02 11:24:07 +08:00
572907719b build: 升级版本为2.3.1
Some checks failed
Release Draft / build (push) Has been cancelled
2.3.1
2025-11-09 23:17:43 +08:00
ffc93a4a13 feat: 调整别名的转义 2025-11-09 23:16:34 +08:00
08749116f3 feat: 附件(图片)文件保存本地支持自定义
fix: 修复有些图片无法下问题
fix: 修复同步汇总文件中文件名和真实保存不一致问题
feat: 调整别名的转义
2025-11-09 22:43:17 +08:00
266cfb3901 docs: change home page header
Some checks failed
Deploy Jekyll site to Pages / build (push) Has been cancelled
Deploy Jekyll site to Pages / deploy (push) Has been cancelled
2025-10-10 18:05:36 +08:00
7e57846f32 docs: add documents website 2025-07-24 08:40:42 +08:00
16b9ff581d docs: add documents website
Some checks failed
Deploy Jekyll site to Pages / build (push) Has been cancelled
Deploy Jekyll site to Pages / deploy (push) Has been cancelled
2025-07-24 00:01:09 +08:00
dd1648c20a fix #151 笔记存放位置,无法使用自定义字段 2025-06-05 14:00:28 +08:00
df4c4956f1 upgrade to 2.3.0
Some checks failed
Release Draft / build (push) Has been cancelled
2.3.0
2025-03-11 17:07:09 +08:00
c09f96d3b8 fix #143 #132 #124
1. 增加游戏同步功能
2. 修复自定义参数配置问题
3. 增加搜索默认类型
4. 增加全部搜索为空时的提示
2025-03-11 14:45:14 +08:00
a7b81bd189 upgrade: 升级为2.2.4
Some checks failed
Release Draft / build (push) Has been cancelled
2.2.4
2025-03-10 09:03:46 +08:00
9403fef320 feature: #132 同步游戏 2025-03-10 09:02:54 +08:00
001cb5dc3e 调整说明
Some checks failed
Release Draft / build (push) Waiting to run
Deploy Jekyll site to Pages / build (push) Has been cancelled
Deploy Jekyll site to Pages / deploy (push) Has been cancelled
2025-03-09 16:11:22 +08:00
711744e065 调整说明 2025-03-09 13:48:25 +08:00
836c9c61b3 test 增加提交发布功能 2.2.3 2025-03-09 13:40:30 +08:00
f0b73c7d8b test 增加提交发布功能 2025-03-09 13:16:20 +08:00
8556de0501 test 增加提交发布功能 2025-03-09 13:11:55 +08:00
6481c69d81 test 增加提交发布功能 2025-03-09 13:06:14 +08:00
29322e0869 test 增加提交发布功能 2025-03-09 12:57:10 +08:00
431c1f2564 test 增加提交发布功能 2025-03-09 12:52:20 +08:00
89f43432d2 enhance 增加提交发布功能 2025-03-09 12:50:06 +08:00
20b6daf10e enhance 增加提交发布功能 2025-03-09 12:46:42 +08:00
208e0d2061 enhance 增加提交发布功能 2025-03-09 12:40:31 +08:00
449b96cbd1 enhance 增加提交发布功能 2025-03-09 12:39:49 +08:00
ee514a8c95 enhance 增加提交发布功能 2025-03-09 12:24:08 +08:00
161741b4af Update pages.yml 2025-03-09 12:04:02 +08:00
382e7c87dd
Update pages.yml 2025-03-09 11:58:55 +08:00
671b28f91a feature 游戏同步
Some checks are pending
Deploy Jekyll site to Pages / build (push) Waiting to run
Deploy Jekyll site to Pages / deploy (push) Blocked by required conditions
1. 增加游戏同步页面
2. 增加支持二维码
2025-03-09 00:13:21 +08:00
0aa0c15cc5 fix #139
1. 优化导入配置,增加更多导入时的选项
2. 优化导入结果的显示,现在会在结果文本中显示具体的条件
2.2.2
2025-03-06 18:55:39 +08:00
9fe0d1bfc9 fix #139
1. 优化导入配置,增加更多导入时的选项
2. 优化导入结果的显示,现在会在结果文本中显示具体的条件
2025-03-06 18:54:01 +08:00
ea700e481e fix #139 增加过滤条件:时间或条数限制 2025-03-06 18:54:01 +08:00
dc225f30f1 增加版本为2.2.0 2025-03-06 18:54:01 +08:00
a120e450e9 fix #139 #128
1. 优化配置将配置页面调整为tab
2. 优化文件夹选取方式避免卡顿
3. 优化模板文件选取方式避免卡顿
4. 增加设置的导入导出用以备份
5. 优化加载插件的卡顿问题,现在加载会非常快
6. 优化了配置的文本,简化了文本内容
2025-03-06 18:54:01 +08:00
c866c8be4c
Merge pull request #134 from vran-dev/fix/redundant_space
Fix: remove leading and and trailing whitespace of person name
2025-02-24 14:36:39 +08:00
vran
132e47f2b2 fix: remove leading and and trailing whitespace of person name 2025-01-22 13:36:14 +08:00
wanxuping
eeedf23e7c fix #94 移动端加载失败 2024-12-26 13:47:01 +08:00
wanxuping
8f2c5f2117 fix #94 移动端加载失败 2.1.0 2024-12-26 12:54:37 +08:00
wanxuping
8437aee2e1 fix #94 移动端加载失败 2024-12-26 12:53:28 +08:00
3ff2b8f4db update wechat group qr 2024-08-05 15:27:05 +08:00
8f3bbe99f1 update wechat group qr 2024-08-05 10:10:55 +08:00
5252ce536c update wechat group qr 2024-07-25 10:05:13 +08:00