| 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`
|
|
- 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
|
|
|
|
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
|
|
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.
|
|
- 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
|
|
|
|
Skip content transfer and verification for empty files, sending
immediate confirmation from receiver.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
- 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
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Change from ignoring "cached" directory and "members" file to ignoring
"/cache/" directory and ".vault_modified" file
|
|
The action now accepts a boolean flag to control whether success
information should be printed to stdout. When enabled, held files are
prefixed with "+" and thrown files with "-".
The logic for hold/throw operations was also corrected to match the
intended behavior.
|
|
|
|
|
|
|
|
|
|
|
|
- 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
|
|
The version information is now sent regardless of whether files have
member holders, simplifying the update protocol.
|
|
|