5 Commits

Author SHA1 Message Date
6ecd1e2b37 feat(auth): support multiple root admin emails and enhance admin login verification
- Updated the environment variable configuration to allow multiple root admin emails via `ADMIN_EMAILS`, while maintaining compatibility with the legacy `ADMIN_EMAIL`.
- Modified the admin login verification process to check against the list of root admin emails.
- Enhanced the admin role management in the frontend to reflect the new multiple admin structure.
2026-03-27 17:11:05 +08:00
e4c1ff7900 feat(admin): 添加管理员面板和权限管理功能
Some checks failed
Deploy skills-market-server / deploy (push) Has been cancelled
新增管理员面板的静态文件支持,提供用户列表、角色切换和权限配置功能。更新了环境变量示例以包含管理员邮箱,并在auth.js中实现了管理员登录和权限审计日志功能。更新README文档以说明管理员面板的使用和相关接口。
2026-03-24 16:57:33 +08:00
e9e0cf03c5 feat(chat): 添加聊天会话和消息管理功能
新增聊天会话和消息的API接口,支持会话的创建、更新、删除及消息的分页获取和追加。更新README文档以包含新的API信息,并在server.js中注册聊天路由和索引。引入新的脚本用于导入技能和代理资源到MongoDB。
2026-03-24 10:29:04 +08:00
c44750e6d8 feat(部署): 添加自动化部署脚本和登录白名单功能
添加 deploy.bat 和 deploy.js 实现自动化部署流程
在 .env.example 和 auth.js 中添加登录白名单功能,支持固定验证码
更新 package.json 添加部署脚本命令
2026-03-02 16:03:55 +08:00
a8a5f6e866 Initial commit 2026-02-28 17:57:28 +08:00