Commit Graph

11 Commits

Author SHA1 Message Date
MengStack Dev
493947c987 fix: integrated CSS branding into SwaggerHandler
Some checks failed
CI / Build & Test (push) Has been cancelled
2026-10-03 04:15:25 +08:00
MengStack Dev
d2440c5c67 fix: direct swaggerFiles.Handler with path stripping
Some checks failed
CI / Build & Test (push) Has been cancelled
2026-10-03 04:13:27 +08:00
MengStack Dev
434dbcc7fa fix: separate swagger handler and CSS branding middleware
Some checks failed
CI / Build & Test (push) Has been cancelled
2026-10-03 04:12:46 +08:00
MengStack Dev
df30ea5c33 fix: use ginSwagger.WrapHandler for correct path routing
Some checks failed
CI / Build & Test (push) Has been cancelled
2026-10-03 04:12:15 +08:00
MengStack Dev
42527b616d fix: increase anonymous rate limit to 100/min for demo
Some checks are pending
CI / Build & Test (push) Waiting to run
2026-10-03 04:11:55 +08:00
MengStack Dev
10d3342f74 fix: explicitly set Content-Type for swagger static files
Some checks failed
CI / Build & Test (push) Has been cancelled
2026-10-03 04:11:34 +08:00
MengStack Dev
d26f5962ed fix: strip /swagger prefix for swaggerFiles.Handler path resolution
Some checks failed
CI / Build & Test (push) Failing after 42s
2026-10-03 04:09:25 +08:00
MengStack Dev
98256f1f54 fix: 修复 Swagger UI 图标加载失败并添加品牌标识
Some checks failed
CI / Build & Test (push) Has been cancelled
- 移除全局 CSP 头(API 返回 JSON,CSP 意义不大)
- 新增 Swagger 专用处理器,设置宽松的 CSP 允许 inline style 和 data URI
- 拦截 swagger-ui.css 注入品牌 CSS,隐藏 SmartBear logo
- 替换为 "MengStack API 文档 v0.3.0" 品牌标识
2026-10-03 04:02:57 +08:00
MengStack Dev
df809f1045 feat: user CRUD API + dashboard stats + kernel infrastructure
Some checks failed
CI / Build & Test (push) Failing after 1m31s
- Add user management endpoints (list/create/get/update/delete) with pagination and search
- Add dashboard stats endpoint with tenant/user/online counts and growth metrics
- Add tenant resolver middleware for multi-tenant request scoping
- Add i18n kernel with zh/en message files and AcceptLanguage middleware
- Add WebSocket hub/handler for real-time communication
- Add job scheduler kernel with cron support
- Add plugin sandbox for isolated execution
- Add storage kernel (local filesystem)
- Add event bus kernel for pub/sub
- Add cache kernel abstraction
- Add database migration runner and version upgrade checker
- Add rate limiting middleware with Redis backend
- Add SQL migrations for rbac, audit_logs, settings, notifications, examples
- Extend user repository with list/delete/count operations
- Register all module routes with tenant resolver
2026-10-03 03:42:58 +08:00
MengStack Dev
9148d2f6da feat: Swagger 全量注解 + M8 质量加固
Some checks failed
CI / Build & Test (push) Failing after 33s
- 37 个端点全部添加 godoc Swagger 注解(RBAC 11 / Org 5 / Audit 1 / Settings 7 / Notification 7)
- 重新生成 docs/(swagger.json/yaml/docs.go)
- M8 质量横切:IP 限流、安全头、Body 限制、结构化日志增强、优雅关闭
- 新增 Dockerfile 多阶段构建 + .dockerignore
- 新增 testutil 测试工具包
- 修复 testutil.go 编译错误
2026-10-03 01:57:39 +08:00
MengStack Dev
fbf9af32f0 Initial commit: MengStack Go API framework
Clean public release with:
- Go/Gin/PostgreSQL/Redis architecture
- Multi-tenant support
- JWT authentication
- Docker Compose deployment
- Environment-based configuration
2026-10-03 00:14:40 +08:00