aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add quick sort implementation with custom comparison魏曹先生2025-11-222-0/+233
|
* fix: Update constants and path references魏曹先生2025-11-203-15/+25
| | | | Rename CLIENT_FILE_MEMBER_HELD to CLIENT_FILE_LATEST_DATA, update all related path references and method names.
* add: Support for update descriptions and info printing魏曹先生2025-11-201-0/+17
| | | | Add file_update_info parameter to track versions and descriptions, add print_infos flag for user feedback.
* update: Improve file update task processing魏曹先生2025-11-202-50/+72
| | | | Implement complete update task processing for both local and remote operations, add version validation and conflict detection.
* feat: Enhance version tracking in LatestFileData魏曹先生2025-11-202-9/+23
| | | | Extend LatestFileData to track file versions alongside holding status, update method signatures to include version information.
* feat: Add file update verification system魏曹先生2025-11-202-47/+309
| | | | Add comprehensive file update verification with detailed failure reasons including version mismatch, file not held, and missing descriptions.
* Rename MemberHeld to LatestFileData and add version tracking魏曹先生2025-11-201-5/+11
| | | | | The struct now tracks both file holding status and latest file versions for permission validation and update checks.
* Change function signatures to use references魏曹先生2025-11-191-1/+4
|
* Derive Clone for LocalConfig and fix mapping_mut signature魏曹先生2025-11-192-3/+3
| | | | | The mapping_mut method now returns a mutable reference to allow modifying the mapping HashMap directly.
* Add mutable mapping accessor methods to Sheet and SheetData魏曹先生2025-11-191-0/+10
|
* Add setter methods for LocalMappingMetadata fields魏曹先生2025-11-191-0/+40
|
* Use std::path::PathBuf in latest_info module魏曹先生2025-11-171-1/+4
|
* Use config directory for jvcs data魏曹先生2025-11-171-1/+1
| | | | | | The data directory is changed from the system's document directory to the local config directory, and the folder name is shortened from ".just_enough_vcs" to "jvcs".
* Change sheet file format from JSON to TOML魏曹先生2025-11-171-7/+8
| | | | | | Update file extension constants for local sheets, cached sheets, and member held files from .json to .toml. Also consolidate wrong file constants to use consistent .json extension.
* Ensure task processing order by using Vec instead of HashSet魏曹先生2025-11-171-26/+24
| | | | | | | The change from HashSet to Vec for task collections maintains the order of file operations, which is important for consistent processing behavior. This affects created_task, update_task, and sync_task variables throughout the code.
* Use member-specific paths for latest info files魏曹先生2025-11-175-14/+42
|
* feat: Add file status tracking and SHA1 hash system魏曹先生2025-11-1725-134/+2187
| | | | | | | - 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
* Replace Git submodule with setup script for documents魏曹先生2025-11-103-7/+9
| | | | | | | | The .gitmodules file has been removed and replaced with a setup.sh script that handles cloning the documents repository. This provides more flexibility than Git submodules while achieving similar results. The .gitignore has been updated to reflect this change.
* fix: Windows support魏曹先生2025-11-093-19/+96
|
* fixed: windows path support魏曹先生2025-11-091-0/+2
|
* Add path formatting utility and local sheet management魏曹先生2025-11-076-15/+219
| | | | | | | - Implement format_path_str function to clean and normalize file paths - Add LocalSheet struct for tracking local file metadata - Support CRUD operations on local sheet mappings - Integrate path formatting into local sheet operations
* Add documentation for local cached data structures魏曹先生2025-11-072-0/+7
|
* Add strip-ansi-escapes dependency to string_proc魏曹先生2025-11-072-0/+22
|
* feat: Add local data management modules (WIP)魏曹先生2025-11-063-0/+138
| | | | | | | - cached_sheet.rs: Cached sheet data management - local_sheet.rs: Local sheet mapping structure - member_held.rs: Member file holding status tracking - NOTE: These modules are still under development
* feat: Add documentation management module (WIP)魏曹先生2025-11-064-0/+215
| | | | | | - Create vcs_docs crate for documentation handling - Add build script and Cargo.toml - NOTE: Core implementation pending
* feat: Add data structures utility module (WIP)魏曹先生2025-11-063-0/+250
| | | | | | - Create data structures utility crate - Add Cargo.toml configuration - NOTE: Implementation in progress
* feat: Add virtual file actions foundation (WIP)魏曹先生2025-11-061-0/+32
| | | | | | - Create virtual file actions module - Add basic structure for virtual file operations - NOTE: Still under development
* update: Main library exports魏曹先生2025-11-061-7/+17
| | | | | - Update library exports to include new modules - Reorganize import structure
* fix: Update test for local workspace changes魏曹先生2025-11-061-2/+2
| | | | | - Adjust test to match new local workspace structure - Update test imports and dependencies
* update: Connection and registry enhancements魏曹先生2025-11-063-1/+15
| | | | | | - Refine action service connection handling - Extend client registry functionality - Enhance server registry capabilities
* feat: Overhaul local-remote synchronization魏曹先生2025-11-061-44/+119
| | | | | | | - Add cached sheet data synchronization - Implement bidirectional sheet version checking - Enhance update_to_latest_info_action with sheet sync - Add support for SheetData and CachedSheet integration
* feat: Refactor local workspace management魏曹先生2025-11-061-36/+21
| | | | | | | - Replace README with TODO list template - Add Windows-specific .jv directory hiding - Reorganize local workspace setup logic - Update imports for new local data modules
* feat: Enhanced data structures and constants魏曹先生2025-11-065-55/+33
| | | | | | | - Add new constants for local workspace management - Extend SheetData with write_count functionality - Simplify vault data structures - Update sheet and virtual file data handling
* update: Dependencies and project configuration魏曹先生2025-11-063-2/+162
| | | | | | - Update Cargo.lock with latest dependencies - Add new dependencies to Cargo.toml - Update vcs_data crate dependencies
* Reorganize .gitignore and update submodule configuration魏曹先生2025-11-062-15/+30
|
* Add submodules魏曹先生2025-11-051-0/+4
|
* Merge pull request #35 from JustEnoughVCS/jvcs_dev_actions魏曹先生2025-11-057-28/+178
|\ | | | | Jvcs dev actions
| * Update draft folder structure to include account name魏曹先生2025-11-053-6/+29
| | | | | | | | | | | | | | | | | | The draft folder path now includes the account name to prevent conflicts when multiple accounts work on the same sheet. This requires updating the draft_folder method signature and all call sites. Additionally, account switching is now restricted when a sheet is in use to maintain data integrity.
| * Add sheet restoration and drop functionality魏曹先生2025-11-054-22/+149
| | | | | | | | | | | | | | - Add write_and_return macro for common result handling pattern - Extend make_sheet_action to restore sheets with no holder - Implement drop_sheet_action for releasing sheet ownership - Register new drop_sheet_action in client and server registries
* | Merge branch 'main' of github.com:JustEnoughVCS/VersionControl魏曹先生2025-11-040-0/+0
|\ \ | |/ |/|
| * Merge pull request #34 from JustEnoughVCS/jvcs_dev_actions魏曹先生2025-11-0311-34/+465
| |\ | | | | | | Jvcs dev actions
* | | Update .gitignore to ignore target directories recursively魏曹先生2025-11-041-1/+1
| |/ |/|
* | feat: Enhance upstream vault action魏曹先生2025-11-031-2/+28
| | | | | | | | | | | | - Add redirect functionality for already stained workspaces - Implement SameUpstream and Redirected result types - Improve vault address update logic
* | 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-033-6/+21
| | | | | | | | | | | | - Update local actions implementation - Improve latest info handling - Enhance vault sheets management
* | update: Registry and connection improvements魏曹先生2025-11-033-5/+34
| | | | | | | | | | - Update client and server registry logic - Improve TCP connection instance handling
* | 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-033-12/+110
|/ | | | | | - Implement make_sheet_action for creating sheets - Add sheet-related constants - Update sheet data structures
* Merge pull request #33 from JustEnoughVCS/docs魏曹先生2025-11-024-105/+193
|\ | | | | Update contributing guide and README