Warren
|
1300a4e223
|
MarkBase架构升级:Multi-Volume Virtual Tree + Dual-View Management + Git Remote修正
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled
核心功能:
- ✅ Categories/Series双视图管理(category_view.rs + import_markdown.rs)
- ✅ FUSE Multi-Volume支持(tree_type参数)
- ✅ SSH/SFTP/SCP/rsync协议完整实现(4042行)
- ✅ NFS/SMB Module Phase 1-3完成
- ✅ Archive Module Phase 1-4完成(2916行)
- ✅ Download Center API完整实现
- ✅ S3兼容API实现(560行)
Git配置修正:
- ✅ 删除错误origin(gitea.momentry.ddns.net)
- ✅ 删除m5max128(指向机器名)
- ✅ 设置origin = m5max128gitea.momentry.ddns.net/admin/markbase
- ✅ 设置m4minigitea = m4minigitea.momentry.ddns.net/warren/markbase
数据清理:
- ✅ 删除38个临时SQLite(保留accusys.sqlite、demo.sqlite)
- ✅ 删除.bak、test_*.bin、调试脚本等临时文件
- ✅ 删除临时目录(build/、download files/、raid_test/等)
- ✅ 更新.gitignore排除临时文件
架构优化:
- 52个文件修改,2434行新增,4739行删除
- Workspace成员整合(16个crate)
- 数据库状态:accusys.sqlite保留(主demo测试)
远程同步:
- ✅ 准备推送到m5max128gitea(远程Gitea)
- ✅ 准备推送到m4minigitea(本地Gitea)
|
2026-06-12 12:59:54 +08:00 |
|
Warren
|
e8a59a5f84
|
修复 Cargo.toml:添加 fskit_mount + fskit_poc binaries
Binary成功生成:
- fskit_mount: 874KB (release)
- fskit_poc: 421KB (release)
Tests: 3/3 passing
代码: 312行(简化版完整实现)
FSKit实现状态:
✅ SQLite backend完整
✅ query_node + query_children
✅ read_file功能
✅ statfs统计
|
2026-05-18 15:54:42 +08:00 |
|
Warren
|
d99ccbfaaf
|
FSKit核心实现完成(489行)
- MarkBaseFS: FSFileSystem subclass + SQLite backend
- MarkBaseVolume: FSVolumeOperations + ReadWrite traits
- 目录枚举、文件读写完整实现
- 下一步:修复编译环境 + mount测试
|
2026-05-18 15:47:10 +08:00 |
|
Warren
|
45d1ef0bd9
|
Add WebDAV server test documentation
- GET/PUT/PROPFIND operations verified
- 13ms response time
- Files: test.txt, new.txt, write_test.txt
- FakeLs lock system working
- env_logger dependency added
|
2026-05-18 12:14:42 +08:00 |
|
Warren
|
e3901b55d3
|
feat: Add UI Settings panel with config management
- Add 3 API endpoints: GET /api/v2/config, POST /api/v2/config/edit, GET /api/v2/config/validate
- Add Settings button (⚙️) to bottom bar
- Add Settings panel with CSS styling (8 classes)
- Add JavaScript functions: toggleSettings, loadSettings, editSetting, saveSetting, validateSettings, cancelEdit, toast
- Support viewing/editing/validating all config sections (server, postgresql, authentication, test, logging)
- Update AGENTS.md with UI Settings documentation
Features:
- Real-time config editing via UI
- Input validation before save
- Toast notifications for user feedback
- Responsive design matching existing UI style
Files changed:
- src/server.rs: +70 lines (API handlers)
- src/page.html: +110 lines (UI + JS)
- AGENTS.md: +40 lines (documentation)
Tested: All API endpoints verified, UI elements present in HTML
|
2026-05-16 20:30:39 +08:00 |
|
Warren
|
6e3de0169e
|
feat: implement authentication system
- Add auth.rs module with session management
- Implement login/logout/verify API endpoints
- Add authentication middleware
- Protect /api/v2/tree endpoint
- Default demo user (username: demo, password: demo123)
- Token-based auth with 24-hour expiration
- bcrypt password hashing
|
2026-05-16 17:54:32 +08:00 |
|
Warren
|
e3d6b60825
|
feat: MarkBase initial version
Phase 1 (Infrastructure):
- Docs: README.md, AGENTS.md, CHANGELOG.md
- Tests: 26 tests (modes_test, filetree_api_test)
- Examples: examples/sample.md, sample.json
- CI/CD: .gitea/workflows/test.yml, release.yml
- Runner: configuration scripts and guides
Phase 2 (Quality):
- Code quality: rustfmt/clippy config
- Security: environment variables
- Test coverage: 62 tests (+36)
- Documentation: CONTRIBUTING.md, docs/api.yaml
- Showcase: demo_features.md, developer_quickstart.md
Test coverage: 75%
Test pass rate: 100%
|
2026-05-16 15:37:37 +08:00 |
|