| Age | Commit message (Collapse) | Author |
|
- Use dereferenced UUID instead of cloning - Simplify error message
formatting
|
|
- Use clearer error message when vault is already locked - Fix code
formatting for consistency - Remove unnecessary line breaks in error
formatting
|
|
- Change LocalWorkspace config to Arc<Mutex<LocalConfig>> - Change Vault
config to Arc<VaultConfig> - Add config accessor methods for both
structs - Update initialization methods to wrap config in Arc/Mutex
|
|
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.
|
|
|
|
|
|
- Add Authentication, Locked, NoResult, and NotFound error variants -
Remove Crypto error variant - Reorder all variants in A-Z order for
better maintainability
|
|
`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`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- If config file not exist, now return Error
|
|
- 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 new configuration fields for local and vault data
- Remove outdated todo.txt file
|
|
- Enhance action_gen macro functionality
- Add new error variants for TCP connection
|
|
- 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
|
|
- Add ProcBeginCallback and ProcEndCallback types
- Implement set_on_proc_begin and set_on_proc_end methods
- Add callback execution in process method
- Update trait bounds for better type safety
|
|
- Fix lifetime issue in on_proc_begin callback registration
- Use cloned context in async closure to avoid lifetime conflicts
- Rename unused variable to suppress warning
|
|
This enables ActionContext to be cloned when setting up process
begin callbacks, resolving lifetime issues in callback registration.
|
|
- Add examples to workspace members
- Update vcs_data dependencies structure
- Fix library re-export paths in main lib.rs
|
|
- Add NotLocal error for actions requiring local execution
- Add NotRemote error for actions requiring remote execution
|
|
- Implement Default trait for ActionContext
- Add local() and remote() constructor methods
- Make instance field optional for better flexibility
|
|
- Add register_to_pool and process_at_pool helper methods to generated structs
- Improve documentation with usage examples
- Enhance macro-generated code structure
|
|
- Extract actual parameter names (ctx, upstream) from function signature
- Use extracted parameter names in generated process method
- Remove workaround that manually assigned context to ctx variable
- Ensure generated code matches the original function parameter names exactly
|
|
- Update macro-generated code to use correct action_system crate name
- Replace vcs_service references with action_system in generated implementations
- Ensure Action trait implementations reference the correct module path
- Fix ActionContext type references in generated process methods
|
|
- Delete entire crates/vcs directory and its contents
- Remove test files and configuration from old structure
- Complete transition to new vcs_data and vcs_actions architecture
|
|
- Add new crate to combine action_system and vcs_data functionality
- Define dependencies on both action_system and vcs_data crates
- Prepare structure for implementing client-server communication logic
|
|
- 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
|
|
- Delete entire crates/service directory with old vcs_service implementation
- Move todo.txt to crates/vcs for better organization
- Keep action list in main vcs crate where it belongs
|