summaryrefslogtreecommitdiff
path: root/crates/vcs_data/src/data/vault
AgeCommit message (Collapse)Author
2026-01-12Reorganize crate structure and move documentation files魏曹先生
2026-01-05Add RejectAll mode for share merging and fix share ID trimming魏曹先生
- Add ShareMergeMode::RejectAll variant to reject all incoming shares - Trim server suffix from share IDs when updating local sheet info - Sign vault as modified after successful share mapping merge - Fix get_current_sheet_name call to use correct parameter value
2026-01-03Change default config format from JSON to Bincode魏曹先生
Update file extensions for sheet, share, member, and virtual file metadata to use new custom extensions (.st, .sre, .json, .vf) instead of .bcfg. Also update client-side file extensions for latest info and local sheets.
2026-01-03Replace hardcoded file extension with constant魏曹先生
Use SERVER_SUFFIX_MEMBER_INFO_NO_DOT constant instead of literal "toml" string for member info file extension check
2026-01-02Rename vault admin to host and add serde renames魏曹先生
- Rename `vault_admin_list` to `vault_host_list` in config and actions - Add `#[serde(rename)]` attributes to all data structures for shorter JSON keys - Update field renames in LocalConfig, LatestFileData, LatestInfo, LocalSheetData, Member, SheetData, Share, and VirtualFileMeta
2025-12-26Fix share name generation by removing file suffix魏曹先生
The share ID generation no longer includes the sheet file suffix. This simplifies share names to just "sharer@random" format.
2025-12-25Add sheet sharing functionality魏曹先生
- Add `rand` dependency for generating share IDs - Update share path to include sheet name subdirectory - Add mutable accessor for sheet ID mapping - Add sheet_share module to vault data structures
2025-12-24Remove legacy import/export mechanism魏曹先生
- Delete InputPackage struct and related types - Remove inputs field from SheetData - Remove input management methods (add_input, deny_input, accept_import) - Remove export functionality (output_mappings, find_longest_common_prefix) - Update tests to remove input-related assertions - Clean up unused imports and dependencies
2025-12-24Refactor vault and local workspace file storage structure魏曹先生
2025-12-02Add fallback defaults for optional config fields魏曹先生
Make server config fields optional and provide default values when missing. This ensures backward compatibility and graceful handling of partial configuration.
2025-12-01Update vault.rs魏曹先生
2025-12-01Change default vault auth mode from password to key魏曹先生
2025-12-01Refactor vault config to use template-based generation魏曹先生
- Replace direct serialization with template-based config file generation - Add new dependencies: whoami, redox_syscall, wasite, web-sys - Update VaultConfig structure with new enum types and serialization attributes - Modify setup_vault to accept vault_name parameter and use template - Update all test calls to include vault_name parameter
2025-12-01Add logger configuration to VaultServerConfig魏曹先生
2025-11-20fix: Update constants and path references魏曹先生
Rename CLIENT_FILE_MEMBER_HELD to CLIENT_FILE_LATEST_DATA, update all related path references and method names.
2025-11-20feat: Add file update verification system魏曹先生
Add comprehensive file update verification with detailed failure reasons including version mismatch, file not held, and missing descriptions.
2025-11-17feat: Add file status tracking and SHA1 hash system魏曹先生
- Implement SHA1 hash calculation module with async support - Add file status analysis for tracking moves, creates, and modifications - Enhance local file management with relative path handling - Update virtual file actions with improved tracking capabilities
2025-11-06feat: Enhanced data structures and constants魏曹先生
- Add new constants for local workspace management - Extend SheetData with write_count functionality - Simplify vault data structures - Update sheet and virtual file data handling
2025-11-03update: Local actions and data structures魏曹先生
- Update local actions implementation - Improve latest info handling - Enhance vault sheets management
2025-10-29Improve vault lock error message and formatting魏曹先生
- Use clearer error message when vault is already locked - Fix code formatting for consistency - Remove unnecessary line breaks in error formatting
2025-10-27Fix error handling in process_connection魏曹先生
2025-10-27feat: Add Server Lock魏曹先生
2025-10-12feat: Update data configuration structures魏曹先生
- Add new configuration fields for local and vault data - Remove outdated todo.txt file
2025-10-06Move vcs crate to vcs_data for better separation of concerns魏曹先生
- 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