summaryrefslogtreecommitdiff
path: root/crates/vcs/src
AgeCommit message (Collapse)Author
2025-10-06Remove old vcs directory after migration to vcs_data魏曹先生
- Delete entire crates/vcs directory and its contents - Remove test files and configuration from old structure - Complete transition to new vcs_data and vcs_actions architecture
2025-10-06Remove old service module and refactor lib structure魏曹先生
- Delete legacy service.rs and its submodules - Remove service module from lib.rs exports - Clean up unused service-related code
2025-10-06Enhance VaultConfig with server configuration魏曹先生
- Add VaultServerConfig struct with server settings - Include local bind address, port, LAN discovery, and auth strength - Add default server configuration with localhost binding and advanced auth - Update constants usage for port configuration
2025-09-29Add incremental transfer functionality and update core components魏曹先生
- Implement instance_incremental_transfer module for efficient file synchronization - Add support for chunk-based file transfer with hash comparison - Update TCP connection utilities to support incremental transfer protocol - Enhance error handling and version management for file synchronization - Update dependencies and integrate new functionality into main library
2025-09-26refactor: downgrade tcp_connection functionality to test utilities魏曹先生
- Remove handle, target, target_configure, target_connection modules from main library - Create test_utils module in test project to contain temporary connection functionality - Update import paths in test files - Keep instance and error modules as core functionality - Adjust vcs_test configurations to adapt to new test structure
2025-09-26feat(tcp_connection): add MessagePack serialization support魏曹先生
- Add rmp-serde dependency for MessagePack serialization - Implement write_msgpack and read_msgpack methods for basic MessagePack support - Add write_large_msgpack and read_large_msgpack methods for chunked transmission - Add error conversions for rmp-serde errors - Add comprehensive tests for MessagePack functionality - Fix code formatting and improve readability - Make stream field pub(crate) for better access control All tests pass successfully, ensuring backward compatibility.
2025-09-26docs: Add module-level documentation comments魏曹先生
- Add documentation comments to VaultConfig, Sheets, and VirtualFile modules - Improve code documentation for better maintainability
2025-09-26refactor: Update sheet input handling and fix tests魏曹先生
- Modify Sheet::add_input to accept InputPackage instead of separate parameters - Use output_mappings method to generate InputPackage in tests - Update test assertions to match new path transformation logic - Fix mapping count assertions after adding multiple mappings - Clean up string_proc module structure
2025-09-26refactor: Simplify error handling in vault setup魏曹先生
Replace std::io::Error::new with std::io::Error::other for cleaner code
2025-09-26feat: Automatically create host member and ref sheet during vault setup魏曹先生
- Add VAULT_HOST_NAME constant for 'host' member - Modify setup_vault to automatically register host member and create ref sheet - Update test assertions to account for the additional ref sheet - Fix code formatting in sheets.rs
2025-09-26Fixed by clippy魏曹先生
2025-09-26refactor: convert InputPackage from tuple to named struct魏曹先生
- Replace tuple-based InputPackage with named struct for better type safety - Add proper field names and documentation - Fix typo in InputRelativePathBuf type name - Update add_input and remove_input methods to work with new struct - Maintain serialization compatibility with derive attributes
2025-09-26feat: add sheet management system for vaults魏曹先生
- Add Sheet struct with holder, inputs, and mapping functionality - Implement SheetData with serialization support - Add sheets.rs with vault sheet management methods: - Load all sheets in vault - Search for sheet names - Read individual sheets - Create new sheets with validation - Delete sheets (both permanently and safely to trash) - Restore sheets from trash - Update data module to include sheet submodule - Minor fixes and improvements to related modules
2025-09-25Rename workspace to data魏曹先生
2025-09-25Rename some constants魏曹先生
2025-09-25Move `workspace` mod to `data`魏曹先生
2025-09-25Fix clippy warnings and optimize code魏曹先生
- Rename from_str to from_address_str in tcp_connection to avoid trait conflict - Use ? operator instead of let...else patterns in local and vault initialization - Replace manual string slicing with strip_prefix in virtual_file.rs - All tests continue to pass after optimizations
2025-09-25Fixed by Clippy魏曹先生
2025-09-25Update virtual_file.rs魏曹先生
2025-09-25Rename `env` to `vcs`魏曹先生
2025-09-25Rename `env` to `vcs`魏曹先生