aboutsummaryrefslogtreecommitdiff
path: root/crates/vcs_data/vcs_data_test
Commit message (Collapse)AuthorAgeFilesLines
* Fix share name generation by removing file suffix魏曹先生2025-12-261-10/+5
| | | | | The share ID generation no longer includes the sheet file suffix. This simplifies share names to just "sharer@random" format.
* Add sheet sharing functionality魏曹先生2025-12-252-0/+639
| | | | | | | - 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
* Remove legacy import/export mechanism魏曹先生2025-12-241-58/+12
| | | | | | | | | | - 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
* Refactor vault config to use template-based generation魏曹先生2025-12-013-5/+5
| | | | | | | | | - 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
* feat: Add file status tracking and SHA1 hash system魏曹先生2025-11-171-6/+22
| | | | | | | - 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
* 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: Sheet creation test improvements魏曹先生2025-11-031-9/+9
| | | | | - Update test for sheet creation and persistence - Improve test coverage for new sheet features
* Change auth_member to return MemberId on success魏曹先生2025-10-301-4/+2
| | | | | | 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.
* Update dependencies to latest versions魏曹先生2025-10-271-1/+1
|
* Fix Clippy warnings and optimize code魏曹先生2025-10-131-1/+1
| | | | | | | | | - Fix let_underscore_future warning by properly awaiting async functions - Make accept_import function async to match add_mapping usage - Propagate errors properly with ? operator instead of ignoring them - Replace manual Default implementation with derive attribute - Replace vec! with array literal to avoid useless_vec warning - All tests pass and code is now Clippy clean
* Move vcs crate to vcs_data for better separation of concerns魏曹先生2025-10-067-0/+835
- Rename vcs crate to vcs_data to clearly define data layer - Maintain all existing data structures and functionality - Update dependencies to include action_system integration - Preserve test structure in vcs_data_test directory