This website requires JavaScript.
Explore
Help
Sign In
MetaZone
/
MetaLab
Archived
Watch
1
Star
0
Fork
0
You've already forked MetaLab
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
This repository has been archived on
2026-06-21
. You can view files and clone it, but cannot push or open issues or pull requests.
Files
abe1388f8c21d7f2bf1cb6eea24b88f93a0dd0db
MetaLab
/
internal
History
Victor_Jay
77d8562916
fix: 添加 HSTS 响应头
...
- SecurityHeaders 中间件增加 Strict-Transport-Security 头 - 仅在 release 模式下启用,避免开发环境 localhost 证书问题
2026-06-02 18:33:59 +08:00
..
cache
feat: 首页增加内存缓存(30s TTL)
2026-06-02 17:20:59 +08:00
common
fix: CSP 策略移除 unsafe-inline,改用 nonce 机制
2026-06-02 16:10:23 +08:00
config
feat: 实现 Redis 会话存储,支持内存/Redis 双模式自动切换
2026-05-31 11:28:27 +08:00
controller
refactor: Controller 不直接读 Session Exp,新增 CanCreatePost 方法
2026-06-02 16:52:44 +08:00
middleware
fix: 添加 HSTS 响应头
2026-06-02 18:33:59 +08:00
model
fix: 添加 posts 复合索引 idx_posts_user_status
2026-06-02 17:24:45 +08:00
repository
fix: Service 层移除直接持有的 *gorm.DB,引入 Repository Transaction 方法
2026-06-02 16:46:44 +08:00
router
feat: 首页增加内存缓存(30s TTL)
2026-06-02 17:20:59 +08:00
service
feat: 首页增加内存缓存(30s TTL)
2026-06-02 17:20:59 +08:00
session
feat: 封禁用户允许登录但禁止写操作
2026-05-31 21:20:04 +08:00
theme
fix: 修复 Space 模板缺少 formatCount/str 函数导致的启动 panic
2026-06-01 21:51:17 +08:00