Commit Graph

289 Commits

Author SHA1 Message Date
zerosaturation
f206759c95 deps: 添加 redis go-redis/v9 依赖
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
60d2628943 feat: 添加 Redis 客户端和 Token 黑名单模块
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
023441eee4 docs: 修复实现计划中的问题
- 修改 Redis 错误时 fail-closed(安全策略)
- 添加 Task 7 说明后续封禁 API 的扩展方向
- 添加 go.mod replace 说明

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
97d1d70fde docs: 添加 Redis Token 黑名单实现计划
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
1c58c079eb docs: 优化 Redis Token 黑名单设计
- 使用 SHA256 哈希代替原始 token 作为 Key
- 使用 JSON 格式存储 value,避免解析问题
- 添加输入验证

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
cb84f9565a docs: 添加 JWT Token 黑名单设计文档
设计 Redis Token 黑名单功能,用于账号封禁和强制下线场景。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
3f8f27166c style:修改样式 2026-05-14 22:23:10 +08:00
b269fbd075 feat: 添加 ActivityRankingModal 活动榜单弹窗组件
- 新建 ActivityRankingModal.vue 组件,实现单活动排名展示
- TOP3 展示使用 TOP3Card 组件
- 排名列表使用 RankingListItem 组件
- 支持下拉刷新和滚动加载更多
- 当前用户栏固定底部显示
- ThemeBanner 添加 @tap 事件触发弹窗
- index.vue 集成 ActivityRankingModal

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:09 +08:00
a9d77b297f docs: 添加活动榜单弹窗设计文档
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:09 +08:00
b6d1d00a31 feat: 新增图片,修改应援消耗道具 2026-05-14 22:23:09 +08:00
9d9acadda1 feat: update contribution polling per latest spec - timestamp+id polling, combo_count, fading animation 2026-05-14 22:23:09 +08:00
ad03f3c3a1 feat: update API to use since_timestamp and since_id for polling 2026-05-14 22:23:09 +08:00
0c8067187b feat: integrate ContributionList in support-activity page 2026-05-14 22:23:09 +08:00
28707768c3 fix: use reactive array instead of Set for newRecordIds 2026-05-14 22:23:08 +08:00
b22ad01c36 feat: add ContributionList component for realtime display
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:08 +08:00
c00ac905ff feat: add useContributionPolling composable for realtime contributions
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:08 +08:00
8e6d657e98 fix: use activities (plural) for consistency with other activity APIs 2026-05-14 22:23:08 +08:00
6b863ee26d feat: add getActivityContributionsLatestApi for realtime contributions 2026-05-14 22:23:08 +08:00
bd7badf3b5 docs:修改文档 2026-05-14 22:20:51 +08:00
liulong
3a59aec48f feat新增光栅卡和镭射卡 2026-05-14 22:18:25 +08:00
6bc0ac71ee style:修改个人设置页面和藏品详细页的样式 2026-05-14 21:59:25 +08:00
zerosaturation
61921372fb feat: 实现灵感瀑布流双向滚动 Redis 缓存
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 18:23:21 +08:00
zerosaturation
7574d38e96 feat: 添加灵感瀑布流 Redis 会话缓存操作
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 18:20:58 +08:00
zerosaturation
f154555c4c docs: 添加灵感瀑布流 Redis 会话缓存实现计划
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 18:15:27 +08:00
zerosaturation
c026e3b8e7 feat: JWT 中间件添加 Token 黑名单检查
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 17:40:36 +08:00
zerosaturation
a1b42b9ccd feat: 初始化 Redis 连接
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 17:33:33 +08:00
zerosaturation
962142c4a5 feat: 添加 Redis 配置项
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 17:27:15 +08:00
zerosaturation
eafe6c2f6b deps: 添加 redis go-redis/v9 依赖
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 17:16:51 +08:00
zerosaturation
848908775a feat: 添加 Redis 客户端和 Token 黑名单模块
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 17:05:47 +08:00
zerosaturation
17674e3d54 docs: 修复实现计划中的问题
- 修改 Redis 错误时 fail-closed(安全策略)
- 添加 Task 7 说明后续封禁 API 的扩展方向
- 添加 go.mod replace 说明

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 16:45:31 +08:00
liulong
fe7fbba1fc chore: 归档当前现有代码,准备新建分支开发插件验证 2026-05-14 16:42:27 +08:00
zerosaturation
a7249110fe docs: 添加 Redis Token 黑名单实现计划
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 16:41:38 +08:00
zerosaturation
c38ad5a654 docs: 优化 Redis Token 黑名单设计
- 使用 SHA256 哈希代替原始 token 作为 Key
- 使用 JSON 格式存储 value,避免解析问题
- 添加输入验证

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 16:21:42 +08:00
zerosaturation
00a39e1819 docs: 添加 JWT Token 黑名单设计文档
设计 Redis Token 黑名单功能,用于账号封禁和强制下线场景。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 16:07:20 +08:00
e500bff6ff style:修改样式 2026-05-14 15:59:56 +08:00
zerosaturation
74182ad662 feat: 新增经济系统 2026-05-14 15:59:07 +08:00
0a09048a85 feat: 添加 ActivityRankingModal 活动榜单弹窗组件
- 新建 ActivityRankingModal.vue 组件,实现单活动排名展示
- TOP3 展示使用 TOP3Card 组件
- 排名列表使用 RankingListItem 组件
- 支持下拉刷新和滚动加载更多
- 当前用户栏固定底部显示
- ThemeBanner 添加 @tap 事件触发弹窗
- index.vue 集成 ActivityRankingModal

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 13:06:19 +08:00
63b0b0423d docs: 添加活动榜单弹窗设计文档
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 12:39:44 +08:00
1af0a0527a feat: 新增图片,修改应援消耗道具 2026-05-14 12:17:50 +08:00
7e1da61397 feat: update contribution polling per latest spec - timestamp+id polling, combo_count, fading animation 2026-05-14 12:16:35 +08:00
ba075fffd3 feat: update API to use since_timestamp and since_id for polling 2026-05-14 12:09:34 +08:00
cb98cd6cb6 feat: integrate ContributionList in support-activity page 2026-05-14 11:31:41 +08:00
0ef2840f00 fix: use reactive array instead of Set for newRecordIds 2026-05-14 11:29:51 +08:00
a2052b673c feat: add ContributionList component for realtime display
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:26:46 +08:00
cb96326b3d feat: add useContributionPolling composable for realtime contributions
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:15:20 +08:00
f3b11c5ceb fix: use activities (plural) for consistency with other activity APIs 2026-05-14 11:13:24 +08:00
0f95fef939 feat: add getActivityContributionsLatestApi for realtime contributions 2026-05-14 11:09:09 +08:00
6e09afe843 feat: 替换字体 2026-05-13 16:34:50 +08:00
zerosaturation
8b03809c7a feat: 修改活动小按钮改为动态 2026-05-13 14:41:17 +08:00
zerosaturation
e81ef0a375 fix:修改瀑布流ios的抖动现象 2026-05-13 13:03:45 +08:00