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
zhr
d36d57692c
feat: test case
2026-09-21 15:42:16 +08:00
zhr
0e84699df7
feat: 1、podadmin 2、user search 3、spark_id optimize
2026-09-21 15:24:46 +08:00
zhr
1f9f1949ad
feat: user delete account
2026-09-20 17:49:09 +08:00
zhr
f79211ddac
feat: update Primary Key
2026-09-20 11:38:27 +08:00
zhr
bebf76e582
feat: download url
2026-09-18 18:27:49 +08:00
zhr
0c821ffa16
feat: moment
2026-09-18 17:51:42 +08:00
zhr
c11fbda141
feat: update object key
2026-09-18 17:14:38 +08:00
zhr
8aa8e0bad9
feat: 私聊 群聊 群管理 上传
2026-09-18 14:50:41 +08:00
zhr
ae9a71034d
feat: implement Spark IM V3 modular monolith
...
Add HTTP /v1 MVC, TCP send path, groups with server-side member-avatar collage, object-storage upload, and friends/favorites around the architecture-v3 layout.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 19:52:11 +08:00
zhr
6ce89511fa
feat: init
2026-09-16 19:08:06 +08:00