Commit Graph

6 Commits

Author SHA1 Message Date
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