summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-01-10Fix typo in field names from "modifiy" to "modify"魏曹先生
2026-01-08Fix typo in module name from "dada_sort" to "data_sort"魏曹先生
The module was accidentally named "dada_sort" instead of "data_sort". :)
2026-01-08Use different config directory name on non-Linux systems魏曹先生
2026-01-07Extract holder assignment for reuse in sheet creation魏曹先生
2026-01-05Add RejectAll mode for share merging and fix share ID trimming魏曹先生
- Add ShareMergeMode::RejectAll variant to reject all incoming shares - Trim server suffix from share IDs when updating local sheet info - Sign vault as modified after successful share mapping merge - Fix get_current_sheet_name call to use correct parameter value
2026-01-04Remove CONTRIBUTING files as they are outdated魏曹先生
2026-01-04Add file_histories method to LatestFileData魏曹先生
2026-01-03Add git branch and commit to compile info魏曹先生
Include build_branch and build_commit fields in CoreCompileInfo struct. The build script now extracts current git branch and commit hash, falling back to "unknown" if git commands fail.
2026-01-03Change default config format from JSON to Bincode魏曹先生
Update file extensions for sheet, share, member, and virtual file metadata to use new custom extensions (.st, .sre, .json, .vf) instead of .bcfg. Also update client-side file extensions for latest info and local sheets.
2026-01-03Include file histories in latest info updates魏曹先生
2026-01-03Replace hardcoded file extension with constant魏曹先生
Use SERVER_SUFFIX_MEMBER_INFO_NO_DOT constant instead of literal "toml" string for member info file extension check
2026-01-03Change git pull to fetch and reset in setup scripts魏曹先生
This ensures a clean state by discarding any local changes when updating the documents repository.
2026-01-03Merge remote-tracking branch 'origin/feat/pre-release-version' into ↵魏曹先生
feat/pre-release-version
2026-01-03Change SETUP.txt to SETUP.md for todo list魏曹先生
2026-01-03Refactor config loading to read files after format detection魏曹先生
2026-01-02Change file extensions from .json/.yaml/.toml to .bcfg魏曹先生
2026-01-02Add support for Bincode config file format魏曹先生
2026-01-02Rename vault admin to host and add serde renames魏曹先生
- Rename `vault_admin_list` to `vault_host_list` in config and actions - Add `#[serde(rename)]` attributes to all data structures for shorter JSON keys - Update field renames in LocalConfig, LatestFileData, LatestInfo, LocalSheetData, Member, SheetData, Share, and VirtualFileMeta
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.