summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-01-02Add ref sheet VFS mapping to LatestInfo魏曹先生
This adds a reverse mapping from virtual file IDs to their actual paths in reference sheets, which is needed for proper file resolution during operations that reference files by ID.
2026-01-02Add host mode and update sheet visibility model魏曹先生
- Add `using_host_mode` field to LocalConfig with getter/setter - Replace `my_sheets`/`other_sheets` with `visible_sheets`/`invisible_sheets` - Add `reference_sheets` set for host-owned sheets - Add `shares_in_my_sheets` map to track external merge requests - Update `use_sheet` to check `visible_sheets` instead of `my_sheets`
2026-01-02Add host mode authentication and reference sheet handling魏曹先生
- Return host mode status from auth_member to determine admin privileges - Add reference sheet detection to get_current_sheet_name with allow_ref parameter - Prevent modifications to reference sheets unless in host mode - Use VAULT_HOST_NAME as sheet holder for host mode operations - Add share/merge share action registrations
2026-01-02Add ReferenceSheetNotAllowed variant to TcpTargetError魏曹先生
2025-12-28Merge remote-tracking branch 'origin/main'魏曹先生
2025-12-27fix: Remove Windows installer script generation from build.rsWeicao-CatilGrass
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-24Add local output channel for CLI feedback in track actions魏曹先生
Add `try_get_local_output` helper to retrieve output channel from context and `local_println!` macro for sending formatted strings. Use these in track actions to send progress messages to CLI instead of stdout. Also reduce log level for connection events from info to debug.
2025-12-24Add build script for compile info and installer generation魏曹先生
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-18Handle zero-size files in TCP file transferWeicao-CatilGrass
Skip content transfer and verification for empty files, sending immediate confirmation from receiver.
2025-12-17Update README branding and simplify project description魏曹先生
2025-12-16Handle CRLF line endings in SHA1 tests on WindowsWeicao-CatilGrass
2025-12-16Add test data for SHA1 hash with CRLF line endingsWeicao-CatilGrass
2025-12-16Rename story.sha1 to story_lf.sha1Weicao-CatilGrass
2025-12-16Replace tokio::Instant with std::time::SystemTime for update timestampsWeicao-CatilGrass
2025-12-15Remove unnecessary edit rights check in sheet mapping魏曹先生
The permission check for virtual file edit rights when adding a sheet mapping was meaningless since the mapping operation doesn't actually modify the virtual file content. The mapping can now be added regardless of the member's edit rights to the virtual file.
2025-12-15Add getter and setter for last_modifiy_check_hash and remove_mapping魏曹先生
method
2025-12-15Rename AlignTasksName type to AlignTaskName魏曹先生
2025-12-15Prevent lost file classification for erased directories魏曹先生
The lost files calculation now filters out paths that are already marked as erased, avoiding duplicate classification.
2025-12-15Rename `file_status` to `workspace_analyzer`魏曹先生
2025-12-15Add edit mapping action for sheet operations魏曹先生
2025-12-11Add constant for VF meta file name魏曹先生
2025-12-11Match moved files using latest hash instead of initial hash魏曹先生
2025-12-08Add allow_overwrite_modified flag to track file action魏曹先生
When tracking files, modified files are now skipped instead of automatically synced if the new `allow_overwrite_modified` flag is false. The action result includes a new `skipped` field listing these files.
2025-12-08Change virtual file edit right action output format魏曹先生
2025-12-06Add Windows build script for documents repository setup魏曹先生
2025-12-04Implement first download logic for missing files魏曹先生
- 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
2025-12-04Change add_mapping to accept path by reference魏曹先生
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-01Support additional text file types in document generation魏曹先生
2025-12-01Add logger configuration to VaultServerConfig魏曹先生
2025-12-01Update func `current_doc_dir` to `current_cfg_dir`魏曹先生
2025-12-01Update current.rs魏曹先生
2025-11-26Update gitignore patterns for cached data魏曹先生
Change from ignoring "cached" directory and "members" file to ignoring "/cache/" directory and ".vault_modified" file
2025-11-26Add print_info option to edit right change action魏曹先生
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.
2025-11-25Implement virtual file edit right management魏曹先生
2025-11-25Improve documentation for system action and config file crates魏曹先生
2025-11-25Add `hold_virtual_file_action` in user actions魏曹先生
2025-11-25Rename `virtual_file_action.rs` to `track_action.rs`魏曹先生
2025-11-24Migrate client configuration and cache files to TOML/YAML formats魏曹先生
2025-11-24Implement file synchronization in track file action魏曹先生
- 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
2025-11-24Optimize update info transmission to ignore file member presence魏曹先生
The version information is now sent regardless of whether files have member holders, simplifying the update protocol.
2025-11-24Use virtual file metadata version for baseline verification魏曹先生
2025-11-24Remove return value from `sign_vault_modified` function魏曹先生