aboutsummaryrefslogtreecommitdiff
path: root/crates/vcs_data/src/constants.rs
Commit message (Collapse)AuthorAgeFilesLines
* Change default config format from JSON to Bincode魏曹先生2026-01-031-16/+38
| | | | | | | 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.
* Replace hardcoded file extension with constant魏曹先生2026-01-031-0/+2
| | | | | Use SERVER_SUFFIX_MEMBER_INFO_NO_DOT constant instead of literal "toml" string for member info file extension check
* Change SETUP.txt to SETUP.md for todo list魏曹先生2026-01-031-1/+1
|
* Refactor config loading to read files after format detection魏曹先生2026-01-031-13/+13
|
* Add sheet sharing functionality魏曹先生2025-12-251-1/+1
| | | | | | | - 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
* Refactor vault and local workspace file storage structure魏曹先生2025-12-241-7/+11
|
* Add constant for VF meta file name魏曹先生2025-12-111-0/+1
|
* 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
* Migrate client configuration and cache files to TOML/YAML formats魏曹先生2025-11-241-8/+8
|
* Implement file synchronization in track file action魏曹先生2025-11-241-0/+1
| | | | | | | - 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
* Add vault modification tracking魏曹先生2025-11-231-0/+1
| | | | | | | - 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
* Update local workspace initialization files魏曹先生2025-11-221-1/+7
| | | | | | - 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
* fix: Update constants and path references魏曹先生2025-11-201-9/+14
| | | | Rename CLIENT_FILE_MEMBER_HELD to CLIENT_FILE_LATEST_DATA, update all related path references and method names.
* 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.
* Use member-specific paths for latest info files魏曹先生2025-11-171-1/+1
|
* feat: Add file status tracking and SHA1 hash system魏曹先生2025-11-171-4/+8
| | | | | | | - 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
* feat: Enhanced data structures and constants魏曹先生2025-11-061-6/+9
| | | | | | | - Add new constants for local workspace management - Extend SheetData with write_count functionality - Simplify vault data structures - Update sheet and virtual file data handling
* Update draft folder structure to include account name魏曹先生2025-11-051-1/+1
| | | | | | | | | The draft folder path now includes the account name to prevent conflicts when multiple accounts work on the same sheet. This requires updating the draft_folder method signature and all call sites. Additionally, account switching is now restricted when a sheet is in use to maintain data integrity.
* feat: Add sheet creation action魏曹先生2025-11-031-0/+4
| | | | | | - Implement make_sheet_action for creating sheets - Add sheet-related constants - Update sheet data structures
* Change auth_member to return MemberId on success魏曹先生2025-10-301-1/+8
| | | | | | 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.
* Add lockfile constant for server service魏曹先生2025-10-271-0/+3
|
* update: Remove unused inline comments from constants魏曹先生2025-10-271-5/+5
|
* Move vcs crate to vcs_data for better separation of concerns魏曹先生2025-10-061-0/+54
- 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