| Age | Commit message (Collapse) | Author |
|
Use SERVER_SUFFIX_MEMBER_INFO_NO_DOT constant instead of literal "toml"
string for member info file extension check
|
|
- 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
|
|
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.
|
|
- 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`
|
|
The share ID generation no longer includes the sheet file suffix. This
simplifies share names to just "sharer@random" format.
|
|
- 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
|
|
- 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
|
|
|
|
|
|
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.
|
|
method
|
|
|
|
The lost files calculation now filters out paths that are already marked
as erased, avoiding duplicate classification.
|
|
|
|
|
|
|
|
|
|
Make server config fields optional and provide default values when
missing. This ensures backward compatibility and graceful handling of
partial configuration.
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- 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
|
|
Rename CLIENT_FILE_MEMBER_HELD to CLIENT_FILE_LATEST_DATA, update all related path references and method names.
|
|
Implement complete update task processing for both local and remote operations, add version validation and conflict detection.
|
|
Extend LatestFileData to track file versions alongside holding status, update method signatures to include version information.
|
|
Add comprehensive file update verification with detailed failure reasons including version mismatch, file not held, and missing descriptions.
|
|
The struct now tracks both file holding status and latest file versions
for permission validation and update checks.
|
|
|
|
The mapping_mut method now returns a mutable reference to allow
modifying the mapping HashMap directly.
|
|
|
|
|
|
|
|
|
|
- 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
|
|
|
|
- Implement format_path_str function to clean and normalize file paths -
Add LocalSheet struct for tracking local file metadata - Support CRUD
operations on local sheet mappings - Integrate path formatting into
local sheet operations
|
|
|
|
- cached_sheet.rs: Cached sheet data management
- local_sheet.rs: Local sheet mapping structure
- member_held.rs: Member file holding status tracking
- NOTE: These modules are still under development
|
|
- Replace README with TODO list template
- Add Windows-specific .jv directory hiding
- Reorganize local workspace setup logic
- Update imports for new local data modules
|
|
- Add new constants for local workspace management
- Extend SheetData with write_count functionality
- Simplify vault data structures
- Update sheet and virtual file data handling
|
|
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.
|
|
- Implement MovedItem struct to track file operations
- Add rollback logic for draft-to-local and local-to-draft moves
- Improve error handling with automatic rollback on failures
|