aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement first download logic for missing files魏曹先生2025-12-041-32/+93
| | | | | | | - Add check for non-existent files in track_file_action - Include VirtualFileId in SyncVersionInfo type - Handle first download case in proc_sync_tasks_local by creating new mapping - Ensure parent directories exist before writing downloaded files
* Change add_mapping to accept path by reference魏曹先生2025-12-041-1/+1
|
* Add fallback defaults for optional config fields魏曹先生2025-12-021-14/+31
| | | | | | Make server config fields optional and provide default values when missing. This ensures backward compatibility and graceful handling of partial configuration.
* Update vault.rs魏曹先生2025-12-012-1/+5
|
* Change default vault auth mode from password to key魏曹先生2025-12-011-1/+1
|
* Refactor vault config to use template-based generation魏曹先生2025-12-017-49/+147
| | | | | | | | | - 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
* Support additional text file types in document generation魏曹先生2025-12-011-24/+45
|
* Add logger configuration to VaultServerConfig魏曹先生2025-12-011-0/+14
|
* Update func `current_doc_dir` to `current_cfg_dir`魏曹先生2025-12-012-2/+2
|
* Update current.rs魏曹先生2025-12-012-4/+4
|
* Update gitignore patterns for cached data魏曹先生2025-11-261-2/+2
| | | | | Change from ignoring "cached" directory and "members" file to ignoring "/cache/" directory and ".vault_modified" file
* Add print_info option to edit right change action魏曹先生2025-11-261-13/+20
| | | | | | | | | The action now accepts a boolean flag to control whether success information should be printed to stdout. When enabled, held files are prefixed with "+" and thrown files with "-". The logic for hold/throw operations was also corrected to match the intended behavior.
* Implement virtual file edit right management魏曹先生2025-11-253-11/+117
|
* Improve documentation for system action and config file crates魏曹先生2025-11-256-8/+223
|
* Add `hold_virtual_file_action` in user actions魏曹先生2025-11-251-0/+36
|
* Rename `virtual_file_action.rs` to `track_action.rs`魏曹先生2025-11-254-8/+9
|
* Migrate client configuration and cache files to TOML/YAML formats魏曹先生2025-11-241-8/+8
|
* Implement file synchronization in track file action魏曹先生2025-11-242-33/+149
| | | | | | | - Add sync task processing for both local and remote operations - Use temp files for secure download operations - Update file metadata after successful synchronization - Add proper error handling and cleanup for sync operations - Display sync progress with appropriate status symbols
* Optimize update info transmission to ignore file member presence魏曹先生2025-11-241-8/+7
| | | | | The version information is now sent regardless of whether files have member holders, simplifying the update protocol.
* Use virtual file metadata version for baseline verification魏曹先生2025-11-241-2/+2
|
* Remove return value from `sign_vault_modified` function魏曹先生2025-11-241-6/+3
|
* Fix workspace not marked as modified after successful update魏曹先生2025-11-241-0/+3
| | | | | When updating to latest info with no sync needed, ensure the workspace is properly marked as unmodified when running local procedures.
* Add vault modification tracking魏曹先生2025-11-236-7/+56
| | | | | | | - Record vault state changes in sheet operations - Track modifications when creating, dropping, or updating sheets - Mark vault as unmodified after syncing with upstream - Add vault_modified module with check and sign functions
* Apply clippy suggestions魏曹先生2025-11-2313-173/+122
|
* Strip workspace prefix from new paths in moved file detection魏曹先生2025-11-221-0/+5
|
* Add align module for sorting file analysis results魏曹先生2025-11-222-0/+108
|
* Update local workspace initialization files魏曹先生2025-11-222-4/+18
| | | | | | - Change SETUP.md to SETUP.txt for the todo list - Add .gitignore file to ignore cached data and members - Use constant for workspace root folder name
* Add SHA1 string hashing function魏曹先生2025-11-221-0/+37
|
* 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
|