refactor(core): 优化权限管理和事件模型

- 重构 AdminManager 和 PermissionManager 以 Redis 为主要数据源
- 为所有事件模型添加 slots=True 提升性能
- 更新文档说明 Mypyc 编译注意事项
- 清理测试和调试文件
- 移动静态资源到 web_static 目录
This commit is contained in:
2026-01-13 08:35:54 +08:00
parent 7f331970dd
commit 3cbf5328bb
25 changed files with 434 additions and 409 deletions

8
.gitignore vendored
View File

@@ -139,4 +139,10 @@ dmypy.json
.pytype/
# End of https://www.toptal.com/developers/gitignore/api/python
/ca
/ca
# Build artifacts
build/
# Scratch files
scratch_files/