aboutsummaryrefslogtreecommitdiff
path: root/crates/vcs_data
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add rollback support for file movement魏曹先生2025-11-031-18/+58
| | | | | | - Implement MovedItem struct to track file operations - Add rollback logic for draft-to-local and local-to-draft moves - Improve error handling with automatic rollback on failures
* update: Sheet creation test improvements魏曹先生2025-11-031-9/+9
| | | | | - Update test for sheet creation and persistence - Improve test coverage for new sheet features
* update: Local actions and data structures魏曹先生2025-11-032-3/+9
| | | | | | - Update local actions implementation - Improve latest info handling - Enhance vault sheets management
* feat: Implement sheet usage management魏曹先生2025-11-031-0/+223
| | | | | | - Add sheet_in_use field to LocalConfig - Implement use_sheet and exit_sheet methods - Add draft folder management for sheet switching
* feat: Add sheet creation action魏曹先生2025-11-032-12/+31
| | | | | | - Implement make_sheet_action for creating sheets - Add sheet-related constants - Update sheet data structures
* Add LatestInfo struct for client data persistence魏曹先生2025-10-301-0/+28
|
* Change auth_member to return MemberId on success魏曹先生2025-10-304-7/+27
| | | | | | The authentication function now returns the authenticated member's ID instead of just () when successful. This provides callers with access to the authenticated member's identity for subsequent operations.
* Improve vault lock error message and formatting魏曹先生2025-10-291-8/+6
| | | | | | - Use clearer error message when vault is already locked - Fix code formatting for consistency - Remove unnecessary line breaks in error formatting
* Make config fields thread-safe with Arc<Mutex>魏曹先生2025-10-292-8/+31
| | | | | | - Change LocalWorkspace config to Arc<Mutex<LocalConfig>> - Change Vault config to Arc<VaultConfig> - Add config accessor methods for both structs - Update initialization methods to wrap config in Arc/Mutex
* Fix error handling in process_connection魏曹先生2025-10-271-3/+2
|
* Update dependencies to latest versions魏曹先生2025-10-272-3/+3
|
* Add service module to vault魏曹先生2025-10-271-0/+1
|
* Add lockfile constant for server service魏曹先生2025-10-271-0/+3
|
* update: Remove unused inline comments from constants魏曹先生2025-10-271-5/+5
|
* feat: Add Server Lock魏曹先生2025-10-271-0/+43
|
* Fix some spelling issues.魏曹先生2025-10-241-1/+1
|
* Fix Clippy warnings and optimize code魏曹先生2025-10-132-5/+5
| | | | | | | | | - Fix let_underscore_future warning by properly awaiting async functions - Make accept_import function async to match add_mapping usage - Propagate errors properly with ? operator instead of ignoring them - Replace manual Default implementation with derive attribute - Replace vec! with array literal to avoid useless_vec warning - All tests pass and code is now Clippy clean
* feat: Add connection infrastructure and documentation魏曹先生2025-10-121-0/+31
| | | | | | - Implement action service for connection handling - Add error types for connection operations - Create todo.md for project tracking
* feat: Update data configuration structures魏曹先生2025-10-123-40/+99
| | | | | - Add new configuration fields for local and vault data - Remove outdated todo.txt file
* chore: update workspace configuration and dependencies魏曹先生2025-10-061-0/+4
| | | | | | - Add examples to workspace members - Update vcs_data dependencies structure - Fix library re-export paths in main lib.rs
* Move vcs crate to vcs_data for better separation of concerns魏曹先生2025-10-0624-0/+2900
- Rename vcs crate to vcs_data to clearly define data layer - Maintain all existing data structures and functionality - Update dependencies to include action_system integration - Preserve test structure in vcs_data_test directory