Commit Graph

59 Commits

Author SHA1 Message Date
sivdead 76962d6d1c feat: 添加分类提案功能,包括提案表单和相关后端逻辑 2025-09-25 17:47:46 +08:00
Tim 72b2b82e02 fix: 后端代码格式化 2025-09-18 14:42:25 +08:00
Tim 9306e35b84 Merge remote-tracking branch 'origin/main' into pr-979 2025-09-17 13:49:34 +08:00
sivdead 1a21ba8935 feat(posts): 优化帖子评论统计性能
- 在 Post 模型中添加 commentCount 和 lastReplyAt 字段
- 在 CommentService 中实现更新帖子评论统计的方法
- 在 PostMapper 中使用 Post 模型中的评论统计字段
- 新增数据库迁移脚本,添加评论统计字段和索引
- 更新相关测试用例
2025-09-12 11:08:59 +08:00
wangshun 37c4306010 缓存功能追加
1.最新回复列表
2.最新列表
2025-09-11 15:29:24 +08:00
Tim 5ae0f9311c feat: add result change log entities 2025-09-08 13:54:35 +08:00
Tim 039d482517 Add post change log tracking 2025-09-08 11:27:35 +08:00
wangshun c0afe9e2a9 轻量级redis缓存追加
本次主要改动范围:
1.分类列表缓存
2.标签列表缓存

追加的新类库
1.redis
2.jsr310→java8时间类localdatetime无法解析的问题
3.jaskson-hibernate6->hibernate 字段懒加载问题

其他改动
1.修改了初始化脚本的用户名,追加密码说明
2025-09-04 18:11:18 +08:00
zpaeng 78a65c6afe feat:Websocket服务拆到单独服务,主后台保持单工通信 2025-09-02 23:10:56 +08:00
Tim a428f472f2 Merge pull request #809 from nagisa77/codex/shorten-invitation-link
feat: shorten invite links
2025-09-01 11:26:25 +08:00
Tim 8544803e62 feat: shorten invite links 2025-09-01 11:25:32 +08:00
Tim 098d82a6a0 feat: add email notification settings 2025-09-01 11:23:31 +08:00
Tim ef71d0b3d4 Merge pull request #798 from nagisa77/feature/vote
feature for vote
2025-09-01 10:28:44 +08:00
Tim 6a27fbe1d7 Fix null multiple field for poll posts 2025-08-31 14:22:44 +08:00
sivdead 72adc5b232 feat(model): 为 Comment 和 PointHistory 实体添加逻辑删除功能 2025-08-31 14:03:48 +08:00
Tim 2f339fdbdb feat: enable multi-option polls 2025-08-31 12:13:41 +08:00
Tim 5a09934866 refactor poll and lottery forms, add poll notifications 2025-08-31 01:49:37 +08:00
Tim 569531b462 feat: add poll vote repository 2025-08-30 12:06:11 +08:00
Tim 55dd36bd24 feat: add poll post type 2025-08-29 22:36:36 +08:00
sivdead 453d8fa68b refactor(model): 将 Post和Draft 实体的内容字段类型从 TEXT 改为 LONGTEXT 2025-08-28 15:11:14 +08:00
Tim d79dc8877d fix: handle reaction notification and point deduction 2025-08-27 20:23:28 +08:00
Tim cb614b9739 feat: integrate points with lottery participation 2025-08-26 11:14:20 +08:00
Tim 175ab79b27 feat: support message replies and reactions 2025-08-25 16:42:14 +08:00
Tim 3a742fbb00 fix: tabs ui格式统一 #710 2025-08-25 13:56:42 +08:00
Tim 4947978f81 feat: add channel support 2025-08-23 01:31:06 +08:00
zpaeng cddbb602bf Merge branch 'nagisa77:main' into main 2025-08-21 23:54:21 +08:00
zpaeng 84ab87878a feat:【站内信】 2025-08-21 23:42:53 +08:00
Tim 41a5eda311 feat: support featured medals 2025-08-21 16:10:53 +08:00
Tim c08ecb5e33 Record point redemption in history 2025-08-21 13:38:53 +08:00
Tim 79fe8b5997 feat: add point history 2025-08-21 11:04:22 +08:00
Tim 959b0f6a48 feat: notify authors when admin deletes post 2025-08-20 20:21:31 +08:00
Tim 0fa08e2260 feat: allow closing posts 2025-08-19 22:18:53 +08:00
Tim e65273daa6 Use nullable Boolean for rssExcluded 2025-08-19 09:17:10 +08:00
tim 425ad03e6f fix: 默认不推荐 2025-08-18 19:51:57 +08:00
Tim 6b500466fc feat: expose rss feed endpoint 2025-08-18 19:15:12 +08:00
Tim 62d12ad2a7 feat: track oauth new-user result 2025-08-18 01:11:16 +08:00
Tim b1076d7256 Add invite points activity 2025-08-17 11:38:09 +08:00
Tim 2c187cf2cd feat: add point redeem notification 2025-08-17 02:27:19 +08:00
Tim 8d98c876d2 feat: add point mall redemption 2025-08-17 02:06:47 +08:00
tim df56d7e885 Revert "optimize(backend): optimize /api/posts/latest-reply"
This reverts commit 1e87e9252d.
2025-08-14 18:54:12 +08:00
netcaty e53f2130b8 Merge branch 'nagisa77:main' into main 2025-08-14 17:54:08 +08:00
netcat 1e87e9252d optimize(backend): optimize /api/posts/latest-reply
resolves #554
2025-08-14 17:53:01 +08:00
Tim da1ad73cf6 fix: fix reward db error 2025-08-14 15:19:21 +08:00
Tim 06cd663eaf Merge pull request #532 from nagisa77/codex/add-comment-pinning-feature
feat: support comment pinning
2025-08-13 16:31:12 +08:00
Tim 0edbeabac2 feat: allow post authors to pin comments 2025-08-13 16:30:48 +08:00
Tim 6965fcfb7f feat: notify lottery author 2025-08-13 16:19:53 +08:00
Tim 8fa715477b feat: add lottery win notification 2025-08-13 15:57:59 +08:00
Tim eb7a25434f fix: global popup 2025-08-12 17:34:13 +08:00
Tim bda4b24cf0 Revert "Disable post viewed and user activity notifications by default"
This reverts commit aea4f59af7.
2025-08-12 17:31:01 +08:00
Tim aea4f59af7 Disable post viewed and user activity notifications by default 2025-08-12 17:16:42 +08:00