Commit Graph

9 Commits

Author SHA1 Message Date
ad382602f2 fix: auto-clean orphan entities on purge; fix graph camera zoom; optimize system prompt 2026-04-28 16:30:18 +08:00
b4456a9c5b 多用户系统 + Admin 角色权限 + Web/TUI 同步 + 构建集成
本轮实现功能:
1. 多用户隔离:每个用户独立 config.json + graph.db
2. TUI 登录页 + 旧版自动迁移(core/migrate.py)
3. Admin/User 角色体系(core/embedded_db.py)
4. Web 后台管理 API(userinfo + admin CRUD)
5. Web 设置页用户管理区(仅 admin 可见)
6. TUI 侧栏配置区权限同步(非 admin 隐藏 Web 服务设置)
7. Web 服务打包为独立二进制(trulymem-web)
8. 双入口 PyInstaller 构建脚本(TUI + Web)
9. 活动记录器(core/activity_recorder.py)
10. 静态页面模板(登录/设置/首次引导)
2026-04-28 10:37:57 +08:00
46008c14c5 feat: web login system, auto-load history, config extraction
- Add Flask session-based authentication (username/password login)
- Auto-load chat history from backend on page load
- Extract SECRET_KEY and user credentials to web_config.json
- Create web_config.example.json as template
- Add web_config.json to .gitignore (sensitive info)
- Update docs: architecture, API reference, quick start guides
2026-04-28 09:25:47 +08:00
83906a6985 refactor: restructure to core/ + ui/ with multi-threaded backend 2026-04-12 18:15:55 +08:00
18b0c06cef Update: Include spec file and remove icon reference 2026-04-11 17:05:43 +08:00
8910053ea0 Refactor: Modularize tools and prompts system 2026-04-11 16:50:33 +08:00
371d5f9ec8 chore: 清理敏感信息,完善工程结构和文档 2026-04-11 10:54:21 +08:00
e2ab83874e fix: Update .gitignore to ignore CodeArts files 2026-04-10 15:47:51 +08:00
6689f08456 feat: Add embedded SQLite database and web interface
- Implement EmbeddedGraphDB with full Neo4j compatibility
- Add web interface for browser access
- Fix input box display issue
- Add comprehensive database tests (15/15 passed)
- Simplify startup script (3 steps, no Docker needed)
- Add multi-language support
- Add .gitignore for clean repository
- Update documentation

All tests passed. Ready for production.
2026-04-10 15:43:22 +08:00