summaryrefslogtreecommitdiff
path: root/crates/vcs_actions/src/actions.rs
AgeCommit message (Collapse)Author
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 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
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-11-25Rename `virtual_file_action.rs` to `track_action.rs`魏曹先生
2025-11-23Apply clippy suggestions魏曹先生
2025-11-17feat: Add file status tracking and SHA1 hash system魏曹先生
- 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
2025-11-05Add sheet restoration and drop functionality魏曹先生
- 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
2025-10-30Change auth_member to return MemberId on success魏曹先生
The authentication function now returns the authenticated member's ID instead of just () when successful. This provides callers with access to the authenticated member's identity for subsequent operations.
2025-10-29Update actions.rs魏曹先生
2025-10-06Create vcs_actions crate for client-server interaction logic魏曹先生
- Add new crate to combine action_system and vcs_data functionality - Define dependencies on both action_system and vcs_data crates - Prepare structure for implementing client-server communication logic