首批社交插件:用户、会话、消息、两类帖子与共享评论和富文本 #4
Reference in New Issue
Block a user
Delete Branch "codex/plugins"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
目的
让不同站点选择社交功能,前端通过用户 ID 沿同一个 Graph API 查询帖子、笔记和所属聊天。
实现
验证
17 项全套测试通过,社交用例分别在 PostgreSQL、MySQL、SQLite 验证。在真实 CLI / HTTP 与 PostgreSQL 上走通创建用户、聊天、富文本消息、短帖、笔记、评论以及沿图读取。git diff --check 通过。
首版约定
短帖 280 个 Unicode 码点、最多 4 张图;笔记最多 10,000 个码点、1–18 张图;保存有序 HTTPS 图片地址。新群成员可读取完整历史,移除后失去访问权。未执行项目构建、远程 CI 或部署。
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.