aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies and workspace configuration魏曹先生2025-10-063-0/+25
| | | | | | - Add vcs_service to workspace members in Cargo.toml - Update Cargo.lock with new vcs_service dependencies - Add vcs_service dependency to vcs crate
* Add service module with macros and action framework魏曹先生2025-10-068-0/+373
| | | | | | | - Create new vcs_service crate for handling service actions - Add vcs_service_macros crate for procedural macros - Add vcs_test module with action framework integration - Implement Action and ActionPool traits for service operations
* Fix test failures in sheet creation and management tests魏曹先生2025-09-291-11/+26
| | | | | | | - Add .await to all add_mapping async method calls - Adjust test logic to not check remove_mapping return value when virtual files don't exist - Clean up unused variable warnings - All 10 vcs_test integration tests now pass successfully
* Update test files: remove obsolete test_incremental_transfer.rs and modify ↵魏曹先生2025-09-293-289/+2
| | | | test suites
* Add incremental transfer functionality and update core components魏曹先生2025-09-295-1232/+147
| | | | | | | | - 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
* Add incremental transfer functionality and update TCP connection utilities魏曹先生2025-09-297-14/+1531
| | | | | | | | - Add instance_incremental_transfer module for handling incremental data transfers - Add test_incremental_transfer module for testing incremental transfer functionality - Update TCP connection library to support new incremental transfer features - Update Cargo.toml dependencies for TCP connection utilities - Update main library to integrate new TCP connection functionality
* Refactor TCP connection authentication into separate module魏曹先生2025-09-283-284/+300
| | | | | | - Extract challenge-response authentication code from instance.rs to new instance_challenge.rs - Add instance_challenge module declaration to lib.rs - Maintain all cryptographic functionality while improving code organization
* docs: remove redundant permission table from README files魏曹先生2025-09-272-0/+8
| | | | | | | - Remove permission management table from both README.md and README_zh_CN.md - The table content was redundant as permissions are already clearly described in the text - Improves document readability by eliminating duplication - Maintains all essential information in prose format
* docs: remove redundant permission table from README files魏曹先生2025-09-272-18/+0
| | | | | | | - Remove permission management table from both README.md and README_zh_CN.md - The table content was redundant as permissions are already clearly described in the text - Improves document readability by eliminating duplication - Maintains all essential information in prose format
* docs: 更新README文档,优化结构和内容表述魏曹先生2025-09-272-41/+73
| | | | | | | | - 为README.md和README_zh_CN.md添加更清晰的标题描述 - 新增'我的设计哲学'章节,阐述Just Enough理念 - 优化虚拟文件系统和表系统的描述,使表述更准确 - 完善表间文件传递机制的说明 - 改进整体文档结构和语言表达
* refactor: downgrade tcp_connection functionality to test utilities魏曹先生2025-09-2616-49/+45
| | | | | | | | - 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
* feat(tcp_connection): add MessagePack serialization support魏曹先生2025-09-2614-28/+335
| | | | | | | | | | | | - 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.
* docs: Add module-level documentation comments魏曹先生2025-09-263-0/+3
| | | | | - Add documentation comments to VaultConfig, Sheets, and VirtualFile modules - Improve code documentation for better maintainability
* refactor: Update sheet input handling and fix tests魏曹先生2025-09-267-59/+186
| | | | | | | | - 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
* Merge pull request #9 from JustEnoughVCS/jvcs_dev魏曹先生2025-09-264-20/+59
|\ | | | | Jvcs dev
| * refactor: Simplify error handling in vault setup魏曹先生2025-09-261-2/+1
| | | | | | | | Replace std::io::Error::new with std::io::Error::other for cleaner code
| * feat: Automatically create host member and ref sheet during vault setup魏曹先生2025-09-264-20/+60
| | | | | | | | | | | | | | - 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
* | Merge pull request #8 from JustEnoughVCS/jvcs_dev魏曹先生2025-09-264-15/+286
|\| | | | | Jvcs dev
| * Fixed by clippy魏曹先生2025-09-262-8/+6
| |
| * test: add comprehensive sheet management test suite魏曹先生2025-09-262-0/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add test_sheet_creation_management_and_persistence with 3 test functions: - Main test covering sheet creation, input/mapping management, persistence, and deletion - Error condition testing for invalid operations - Serialization testing through vault operations - Test coverage includes: - Sheet creation with member validation - Input package addition and removal - Mapping entry management - File persistence and reloading - Safe deletion to trash and restoration - Permanent deletion - Error handling for invalid operations - Follows existing test patterns and uses proper getter methods for private fields
| * refactor: convert InputPackage from tuple to named struct魏曹先生2025-09-262-8/+18
| | | | | | | | | | | | | | | | - 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
* | Merge pull request #7 from JustEnoughVCS/jvcs_dev魏曹先生2025-09-2611-9/+379
|\| | | | | feat: add sheet management system for vaults
| * feat: add sheet management system for vaults魏曹先生2025-09-2611-9/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge pull request #6 from JustEnoughVCS/jvcs_dev魏曹先生2025-09-2518-20/+493
|\| | | | | Jvcs dev
| * Update test_virtual_file_creation_and_update.rs魏曹先生2025-09-251-1/+1
| |
| * Update test_vault_setup_and_member_register.rs魏曹先生2025-09-251-1/+1
| |
| * Update lib.rs魏曹先生2025-09-251-0/+3
| |
| * Rename workspace to data魏曹先生2025-09-251-1/+1
| |
| * Rename some constants魏曹先生2025-09-251-1/+1
| |
| * Add tests魏曹先生2025-09-251-0/+248
| |
| * Move `workspace` mod to `data`魏曹先生2025-09-2512-16/+238
|/
* Update workflow trigger to release branch魏曹先生2025-09-251-3/+1
| | | | | - Change push and pull_request triggers from main branch to release branch - This ensures CI/CD only runs on release branch for production builds
* Merge branch 'jvcs_dev'魏曹先生2025-09-251-4/+4
|\
| * Update GitHub Actions to latest versions魏曹先生2025-09-251-4/+4
| | | | | | | | | | | | | | - Update upload-artifact from v3 to v4 - Update cache action from v3 to v4 - Keep actions/checkout@v4 (already up to date) - Ensure all actions use latest stable versions
* | Merge pull request #4 from JustEnoughVCS/jvcs_dev魏曹先生2025-09-251-4/+6
|\| | | | | Jvcs dev
| * Install musl development tools for GCC compatibility魏曹先生2025-09-251-2/+6
| | | | | | | | | | | | - Add musl-tools installation in setup job - Update test job to install both musl target and musl-tools - Fixes 'x86_64-linux-musl-gcc not found' error during compilation
| * Remove cargo fmt check from workflow魏曹先生2025-09-251-2/+0
| | | | | | | | | | - Remove the 'Check formatting' step that runs 'cargo fmt --check' - Keep clippy checks for code quality but remove formatting enforcement
* | Merge pull request #2 from JustEnoughVCS/jvcs_dev魏曹先生2025-09-251-2/+2
|\| | | | | Fix musl target installation in test job
| * Fix musl target installation in test job魏曹先生2025-09-251-2/+2
| | | | | | | | | | - Replace 'Verify musl target is installed' with 'Install musl target' in test job - This ensures musl target is properly installed before building and testing
* | Merge pull request #1 from JustEnoughVCS/jvcs_dev魏曹先生2025-09-257-279/+257
|\| | | | | Fix clippy warnings in test files
| * Fix clippy warnings in test files魏曹先生2025-09-257-279/+257
|/ | | | | | | - Convert manual async functions to async fn syntax - Replace assert_eq!(true/false, ...) with assert!(...) and assert!(!...) - Fix useless vec warning by using array directly - All tests continue to pass after optimizations
* Fix clippy warnings and optimize code魏曹先生2025-09-255-19/+13
| | | | | | | - 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
* Update rust.yml魏曹先生2025-09-251-28/+48
|
* Create rust.yml魏曹先生2025-09-251-0/+80
|
* Fixed by Clippy魏曹先生2025-09-257-39/+31
|
* Update virtual_file.rs魏曹先生2025-09-251-3/+7
|
* Rename `env` to `vcs`魏曹先生2025-09-258-72/+116
|
* Rename `env` to `vcs`魏曹先生2025-09-2518-4/+5
|
* Update local.rs魏曹先生2025-09-241-1/+106
|
* Update member.rs魏曹先生2025-09-241-10/+10
|