Repository navigation
feat(forum): 论坛功能增强 - Markdown、图片上传、无限嵌套回复 #175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
16302be
chore: 初始化论坛功能增强分支
Chaotze 32cd71b
feat(forum): API 定义 - 添加图片上传接口
Chaotze 8e590d6
chore(api): 从 openapi.yaml 自动生成 API 代码
Chaotze f30ce88
feat(forum): 后端实现 - 图片上传到 OSS
Chaotze e871a89
feat(forum): 前端实现 - Markdown 编辑器和渲染器
Chaotze 2325c69
feat(forum): 无限嵌套回复
Chaotze 9696c8f
fix(forum): 修复编辑框宽度和错误提示
Chaotze 302cf6d
fix(frontend): 更新 package.json 及相应的 lock 文件
Chaotze 2488b10
fix(forum): 修复 moderate 事件参数传递错误
Chaotze e50749d
fix(forum): 修复 moderate 事件参数传递错误
Chaotze b1dfe44
fix(forum): 修复回复嵌套层级错误导致无法形成无限嵌套树
Chaotze 7553204
fix(forum): 修复 Markdown 编辑器图片插入定位错误
Chaotze d8e45d7
style(forum): 修正 ReplyItem.vue 缩进格式
Chaotze f84acf8
feat(forum): 支持任意深度嵌套回复及级联删除
Chaotze ed86a45
feat(forum): 支持任意深度回复树
Chaotze c066e4f
fix(forum): 区分图片上传失败类型并规范错误响应码
Chaotze 3d91484
feat(forum): 改进上传错误处理和支持任意深度回复树
Chaotze 36396af
fix(api): 统一测试和前端中的 API 路径为 /api/v1 版本
Chaotze 3afd47a
chore(api): 从 openapi.yaml 自动生成 API 代码
Chaotze 06e5aaf
perf(forum): 优化删除时获取帖子后代的 N+1 查询问题
Chaotze 19532c1
fix(forum): 图片插入前校验内容长度避免超长正文被 API 拒绝
Chaotze 68916b6
style(forum): 修正 ForumPostsController 代码缩进层级
Chaotze 9b2f215
feat(forum): 改进上传错误处理和支持任意深度回复树
Chaotze c72b1df
fix(forum): 修复 OSS 图片 URL 构建时协议前缀处理错误
Chaotze 3b144cf
test(membership): 补充账户状态与查询契约的边界测试
Chaotze 0ff4978
style(membership): 移除 ProjectMembershipServiceTests 中未使用的 using 语句
Chaotze cf28b6b
fix(membership): 修正测试中 ProjectMember 实体属性名错误
Chaotze 4552a49
refactor(forum): 使用生成的 API 模型解析响应并移除 any 类型
Chaotze 067b362
refactor(forum): 修正 MarkdownEditor 中图片上传响应解析的类型转换
Chaotze 32aefd4
style(forum): 修正 MarkdownEditor 中函数调用括号与类型断言缩进
Chaotze 1b1879e
test(membership): 移除 AccountStatus 回退值以覆盖空状态分支
Chaotze cd7837f
feat(forum): 为图片上传接口增加专用超时时间
Chaotze 47f9524
test(membership): 移除 AccountStatus 为 null 的测试用例因数据库约束不允许空值
Chaotze a42f097
refactor(forum): 恢复论坛列表分页契约实现
Chaotze 00890b1
fix(forum): 修复话题列表查询中 IsPublished 方法调用错误
Chaotze c1cbbb3
fix(forum): 修复论坛列表查询中 IsPublished 方法调用错误
Chaotze 658982c
refactor(forum): 改用手动分页方式避免 EF Core LINQ 转换问题
Chaotze cf07325
fix(forum): 修复论坛列表查询中的空引用异常
Chaotze 2d1da85
fix(forum): 修复论坛列表查询中的空引用异常
Chaotze 1a73bd1
refactor(forum): 恢复论坛列表简单实现
Chaotze 89b0bc8
feat(forum): 添加图片上传请求体大小限制
Chaotze d57cce9
style(forum): 优化讨论区界面文案并替换 textarea 为 Element Plus Input 组件
Chaotze a3ea98d
style(forum): 修正 ForumCenter 中标题输入框的占位符换行格式
Chaotze 146dbe0
refactor(forum): 使用 Element Plus InputInstance 类型优化 textarea 引用
Chaotze 67246f7
fix(forum): 修正嵌套回复的权限绑定使用正确的俱乐部权限检查
Chaotze 27f5c40
feat(api): 新增论坛图片删除接口并在上传响应中返回存储键
Chaotze e0026a8
chore(api): 从 openapi.yaml 自动生成 API 代码
Chaotze b09c2c8
fix(forum): 清理因内容超长而未插入的已上传图片
Chaotze 84d631a
test(forum): 更新图片删除测试以适配无 OSS 配置的测试环境
Chaotze File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.