ce9c7a13aa
feat: 互相关注后自动成为好友
...
一方关注只记关注。双方互关时写入已有双向好友边;取消关注若不再互关只删好友边,不删消息。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 21:51:18 +08:00
0471749141
docs: 公开规范补上客户端页面跳转
...
记录当前 iOS 导航,不新增接口。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 20:35:11 +08:00
64a5849a3d
docs: 公开规范补齐命令 8 的已读请求与成功响应
...
线上已接受 last_msg_id,文档命令表此前跳过第 8 行。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 20:26:18 +08:00
c0ed0d83de
fix: 命令 8 接受 last_msg_id 作为已读水位
...
客户端已读请求常只有 conversation_id 和 last_msg_id。任一消息 id 大于 0 即写入 last_read_msg_id 并清 Redis 未读,不再因此返回 40001。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 19:26:48 +08:00
a65d59149c
fix: 历史同步改查 t_message_deletes
...
命令 12 的会话历史仍 JOIN 已改名的 message_deletes,数据库失败会被收成 50001。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 19:26:29 +08:00
d293de34f5
实现 TCP READ(命令 8),已读水位前进时清未读并通知其他设备。
...
补上会员价格按平台筛选,并修正广场机器人测试的 Feed 调用,使 go test 能通过。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 18:22:08 +08:00
c4d1322cec
feat(client): 按平台拆分会员价格,并归一 health 包名
...
同一时长可按 ios、android、web 分别定价;health.wyrs.com 对齐已入库的 health.wyrs365.com。
2026-10-12 17:21:00 +08:00
1bbf3b97c7
feat(web): 为 Sleep Heart 官网补上多语言切换
...
已部署站点需要按访客语言展示导航与协议正文,因此把文案抽到语言包并加上语言选择。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 01:46:06 +08:00
f941bf4454
feat(web): 补齐官网协议页,并按包名控制会员价格下发
...
商店审核需要独立的隐私、用户协议和注销页;运营后台也要按应用包名启用或停用价格。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-11 21:32:53 +08:00
5d05eb0804
chore(deploy): geo snippet、popadmin 补丁与订阅包名脚本
...
补充 world geo nginx snippet、OpenAPI/geo 热更新脚本,以及 popadmin package_name 定价补丁,便于运维对齐。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 09:17:18 +08:00
53426af122
feat: 多广场 channel、音乐公开 API 与订阅 package_name
...
支持 square/squarenovel/squaresteps/squarehealth 实例与 category 筛选;音乐增加免登录 grouped/track;订阅套餐按 package_name 区分;补 migration 0030/0031 与 OpenAPI。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 09:02:28 +08:00
zhr
7f2567cf15
feat: moderation
2026-09-29 16:37:36 +08:00
zhr
45720ae2e1
fix: lint check
2026-09-29 10:22:28 +08:00
c58b60419e
feat(client): 接入同开发者应用墙 API 与管理端 CRUD
...
合并此前 stash 的 developer-apps:免登录列表、popadmin 管理与 0027 迁移。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 15:42:39 +08:00
2e7735f103
chore(deps): 将 x/crypto 与 x/image 提升为直接依赖
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 00:16:35 +08:00
8e24ab9245
chore(media): 同步 docker/配置与 Bot 附件微调
2026-09-25 00:03:55 +08:00
59c73169e1
docs(media): 微调媒体说明与 OpenAPI 描述
2026-09-24 23:58:21 +08:00
c26d61fd26
feat(media): 镜像装 ffmpeg,并补齐压缩配置与文档
...
机器人视频压缩依赖 ffmpeg;补 MediaCompressOptions、广场机器人说明与当日变动清单。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 23:53:56 +08:00
53d41fbcae
docs(media): 补充服务端媒体检测与压缩说明
2026-09-24 23:51:37 +08:00
5fda6be8ec
feat(squarebot): 接入媒体引导与 Bot 附件/锁
...
完善 bootstrap 媒体装配、配置开关,并补充 squarebot 附件与锁逻辑。
2026-09-24 23:37:44 +08:00
6cfd6309d8
feat(media): 配置项与上传凭证尺寸软校验
...
补充 MediaConfig 默认值,并在签发上传凭证时按用途检查声明大小。
2026-09-24 23:09:46 +08:00
e1b3a7ebd2
feat(squarebot): 补充 Bot Worker 与单测
...
完善广场机器人定时 Worker,并补充 RSS 解析相关单测。
2026-09-24 23:09:09 +08:00
f708a86d5c
feat(upload): 接入媒体策略与日志选项
...
为上传服务注入 media.Policy 与 zap.Logger,对齐广场媒体校验。
2026-09-24 23:07:21 +08:00
715ace7ac6
feat(square): 广场 Bot/RSS 发布与媒体校验
...
支持广场机器人发帖与媒体类型检查,并补充相关迁移与 i18n。
2026-09-24 23:07:06 +08:00
74a57ed25c
feat(subscription): 对齐 SleepHeart USD 定价与 IAP product_id
...
默认周/月/年卡改为 $1/$3/$12,季卡 $8;同步迁移、客户端默认方案与 popadmin 配置页。
2026-09-24 22:21:37 +08:00
347dc191b7
fix: 修复反馈单测冲突残留并对齐 auth_type 接口
...
rebase 后 service_test 残留冲突标记,补齐 ListFeedback 筛选参数与游客 contact。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 16:25:55 +08:00
5e8ab6e12b
test: 补意见反馈登录/游客单测断言
...
覆盖游客缺 contact 失败与登录态 uid/app_version 回填,避免分流逻辑回归。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 16:25:10 +08:00
082f420347
feat: 意见反馈支持登录与游客分流
...
可选 Bearer 写入 auth_type/uid,游客必填 contact;Admin 与 popadmin 可按类型筛选。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 16:24:47 +08:00
zhr
d5c0d81e22
feat: update skill fix friend request reject
2026-09-24 15:25:23 +08:00
1edcb959b7
feat: 补好友拒绝、客户端配置 API 与 OpenAPI/popadmin
...
为 Spark Messenger 主路径补齐 POST /v1/friends/requests/reject,并落地法律协议/反馈/订阅/密码登录及管理页,同步 OpenAPI 文档。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 14:01:46 +08:00
1498c0258f
fix(popadmin): 音乐分类可编辑与勾选绑定
...
分类列表提供编辑面板(名称/排序/启用),单曲分类改为勾选保存,走既有 PATCH/PUT API。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 11:39:09 +08:00
zhr
0ac9b8330f
feat: add change list
2026-09-24 11:20:13 +08:00
zhr
8870c59e2d
docs(cursor): 优化 spark-im-v3 skill 与 Agent 说明
...
新增 mysql.md(t_ 表名与 migrate 流程),补全 /v1/music·square 与 admin 路由说明;description 与 AGENTS/rules 对齐 make test→lint 与 deploy 门禁,减少与 verify-before-done 重复。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 11:09:15 +08:00
59c79c7d32
fix(openapi): 补全 Response 必填 description,修复 Swagger Fetch error
...
音乐/小说等 31 处 responses.200 缺 description,OpenAPI 3.0 校验失败导致 /docs 无法渲染。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:58:53 +08:00
zhr
13b42cef7b
chore: 合并本地改动与 main(t_ 表名、lint、音乐分类)
...
在 fast-forward 到 origin/main 后解决 music logic/repo 冲突,SQL 与模型统一 t_* 表名;Makefile 修正 golangci-lint 变量并令 test/deploy 依赖 lint;补齐 admin/transport 等 lint 修复与 music logic 单测以满足覆盖率门禁。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:56:59 +08:00
6aa72ba3e7
fix(openapi): 修复 admin 分类 description 未加引号导致 YAML 解析失败
...
同步 config 中 admin JWT 密钥注释说明。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:44:07 +08:00
d3a68c3cad
feat(music): 分类多对多、后台完整编辑与 OpenAPI
...
新增总/子分类与曲目绑定;playlist 可按 categoryId 筛选并返回分类树;
popadmin 支持行内改曲名/排序/上下架/会员开关与封面背景音频上传;文档同步。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:38:06 +08:00
b10c5d63a3
feat(brand): 三站替换四色火焰 logo 与 favicon
...
官网/docs 嵌入新品牌图;sparkapi nginx 可在未重建镜像时提供 /favicon.ico 与页头 logo。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:25:44 +08:00
ade98eef4d
feat(music): 曲目增加背景图字段与管理端上传
...
新增 migration 0021(background_key/url)、playlist/CRUD 返回 backgroundUrl、
POST .../music/{id}/background,并热更 popadmin 音乐列表背景上传;公读策略放行 perm/music/*。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 09:17:21 +08:00
zhr
0a54e9b2ef
feat: update api docs
2026-09-23 18:19:16 +08:00
a9de10fdfc
fix: 镜像纳入 spark-seed,migrate 忽略已删列导致的 1054
...
EOF
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 18:15:48 +08:00
zhr
f724f66d1e
feat: table add prefix
2026-09-23 17:11:56 +08:00
ce2cdf6bf3
feat: music 运营曲目、seed 机器人欢迎消息,并补充 novels/music OpenAPI
...
合并 origin/main 设备注册后,纳入本地 music 模块、seed 命令与 popadmin 相关路由/文档;music migration 编号为 0020 以避免与 0019_devices 冲突。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 16:07:05 +08:00
zhr
bec98be1da
feat: 1、update device rregister logic
2026-09-23 15:42:52 +08:00
zhr
b909cfbac0
feat: update sms docs
2026-09-22 17:39:38 +08:00
zhr
edec7d82e9
feat: 1、square 2、smtp
2026-09-22 17:07:26 +08:00
94dd2d819c
Add mainland China geo gate (allow Shanghai/overseas).
...
Nginx auth_request plus MaxMind City lookup blocks non-Shanghai mainland CN with a fixed notice page for sparkmessenger/sparkmsg (and deploy helpers for the shared Singapore host).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 15:28:04 +08:00
cc3085050c
Hide developer docs from Spark Messenger marketing site.
...
Remove the sparkapi /docs CTA from the landing page and block docs/openapi/swagger/architecture paths on the website Nginx vhost.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 15:20:21 +08:00
5b53dd906c
Add Spark Messenger marketing site for Singapore host.
...
Serve sparkmessenger/sparkmsg on shared Nginx SNI with deploy script and Let's Encrypt.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 15:06:37 +08:00
zhr
7f683ce150
feat: 1、optimmize deploy 2、message insert
2026-09-22 11:01:56 +08:00