| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
- 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.
|
|
|
|
When updating to latest info with no sync needed, ensure the workspace
is properly marked as unmodified when running local procedures.
|
|
- 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
|
|
|
|
Add file_update_info parameter to track versions and descriptions, add print_infos flag for user feedback.
|
|
Implement complete update task processing for both local and remote operations, add version validation and conflict detection.
|
|
Add comprehensive file update verification with detailed failure reasons including version mismatch, file not held, and missing descriptions.
|
|
The change from HashSet to Vec for task collections maintains the order
of file operations, which is important for consistent processing
behavior. This affects created_task, update_task, and sync_task
variables throughout the code.
|
|
|
|
- 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
|
|
- Create virtual file actions module
- Add basic structure for virtual file operations
- NOTE: Still under development
|
|
- Refine action service connection handling
- Extend client registry functionality
- Enhance server registry capabilities
|
|
- Add cached sheet data synchronization
- Implement bidirectional sheet version checking
- Enhance update_to_latest_info_action with sheet sync
- Add support for SheetData and CachedSheet integration
|
|
- 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
|
|
- Add redirect functionality for already stained workspaces
- Implement SameUpstream and Redirected result types
- Improve vault address update logic
|
|
- Update local actions implementation
- Improve latest info handling
- Enhance vault sheets management
|
|
- Update client and server registry logic
- Improve TCP connection instance handling
|
|
- Implement make_sheet_action for creating sheets
- Add sheet-related constants
- Update sheet data structures
|
|
This action synchronizes the latest vault information including sheets,
reference sheet content, and member data between local and remote
instances.
|
|
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.
|
|
- Use dereferenced UUID instead of cloning - Simplify error message
formatting
|
|
Initialize and insert Arc-wrapped LocalWorkspace and UserDirectory
instances into the ActionContext for client environment actions. This
provides workspace and user directory data to actions running in client
mode.
The LocalWorkspace is initialized from the current directory's local
config, while UserDirectory uses the current document directory. Both
are wrapped in Arc for efficient sharing across the action execution.
|
|
The server_entry function now accepts an optional port_override
parameter that allows specifying a custom port instead of using the
configured port from vault configuration. When port_override is greater
than 0, it takes precedence over the configured port.
|
|
|
|
|
|
`with_arc_data` 2. Add new `insert_data` and `insert_arc_data` methods
that take &mut self
|
|
|
|
|
|
Include current connection count in connection open/close log messages
for better monitoring of server load
|
|
Lock the vault before starting the server and unlock it during shutdown.
|
|
|
|
parameters during `on_proc_begin`
|
|
`is_remote_action`
|
|
|
|
|
|
|
|
|
|
- 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
|
|
- Add async callback support with proper argument passing
- Implement remote action invocation via TCP connection
- Add hello_world_action example demonstrating async communication
- Improve ActionPool with type-safe async processing
- Update client registry for remote action handling
- Enhance ActionContext with better instance management
- Support both local and remote action execution modes
|
|
- Add process_json method to ActionPool for type-agnostic calls using JSON serialization
- Extend ActionContext with action_name and action_args fields and setter methods
- Update action_gen macro to use process_json instead of typed process method
- Implement remote action invocation framework in client_registry and action_service
- Add protocol definitions for remote action communication
- Enable flexible action execution without explicit type specifications
|
|
- Extend action_gen macro to generate JSON serialization logic
- Implement generic action processing using JSON text for type-agnostic calls
- Add callback mechanism with action name and arguments in ActionPool
- Update client and server registries to use new callback system
- Improve action system flexibility at the cost of serialization overhead
|
|
- Implement action service for connection handling
- Add error types for connection operations
- Create todo.md for project tracking
|
|
- Add required dependencies for action system
- Export registry modules in vcs_actions library
|
|
- Add local action for setting upstream vault
- Use action_gen macro for automatic registration
- Validate action is executed locally
|
|
- Create server_action_pool function
- Register SetUpstreamVaultAction for server use
|