aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #35 from JustEnoughVCS/jvcs_dev_actions魏曹先生2025-11-057-28/+178
|\ | | | | Jvcs dev actions
| * Update draft folder structure to include account name魏曹先生2025-11-053-6/+29
| | | | | | | | | | | | | | | | | | 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.
| * Add sheet restoration and drop functionality魏曹先生2025-11-054-22/+149
| | | | | | | | | | | | | | - 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
* | Merge branch 'main' of github.com:JustEnoughVCS/VersionControl魏曹先生2025-11-040-0/+0
|\ \ | |/ |/|
| * Merge pull request #34 from JustEnoughVCS/jvcs_dev_actions魏曹先生2025-11-0311-34/+465
| |\ | | | | | | Jvcs dev actions
* | | Update .gitignore to ignore target directories recursively魏曹先生2025-11-041-1/+1
| |/ |/|
* | feat: Enhance upstream vault action魏曹先生2025-11-031-2/+28
| | | | | | | | | | | | - Add redirect functionality for already stained workspaces - Implement SameUpstream and Redirected result types - Improve vault address update logic
* | feat: Add rollback support for file movement魏曹先生2025-11-031-18/+58
| | | | | | | | | | | | - 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
* | update: Sheet creation test improvements魏曹先生2025-11-031-9/+9
| | | | | | | | | | - Update test for sheet creation and persistence - Improve test coverage for new sheet features
* | update: Local actions and data structures魏曹先生2025-11-033-6/+21
| | | | | | | | | | | | - Update local actions implementation - Improve latest info handling - Enhance vault sheets management
* | update: Registry and connection improvements魏曹先生2025-11-033-5/+34
| | | | | | | | | | - Update client and server registry logic - Improve TCP connection instance handling
* | feat: Implement sheet usage management魏曹先生2025-11-031-0/+223
| | | | | | | | | | | | - Add sheet_in_use field to LocalConfig - Implement use_sheet and exit_sheet methods - Add draft folder management for sheet switching
* | feat: Add sheet creation action魏曹先生2025-11-033-12/+110
|/ | | | | | - Implement make_sheet_action for creating sheets - Add sheet-related constants - Update sheet data structures
* Merge pull request #33 from JustEnoughVCS/docs魏曹先生2025-11-024-105/+193
|\ | | | | Update contributing guide and README
| * Update contributing guide and README魏曹先生2025-11-024-105/+193
| |
* | Merge pull request #32 from JustEnoughVCS/docs魏曹先生2025-10-304-46/+6
|\| | | | | Docs
| * Fix markdown indentation in README files魏曹先生2025-10-302-6/+6
| |
| * Removed `FRAMEWORK_CANVAS`魏曹先生2025-10-302-40/+0
| |
* | Merge pull request #30 from JustEnoughVCS/docs魏曹先生2025-10-307-14/+44
|\| | | | | Enhance README with branding and visual elements
| * Enhance README with branding and visual elements魏曹先生2025-10-307-14/+44
| | | | | | | | | | | | | | | | - Add header images and badges for better visual presentation - Restructure both English and Chinese READMEs with consistent formatting - Include new image assets for project branding - Add table of contents sections for better navigation - Update warning messages to be more informative
* | Merge pull request #31 from JustEnoughVCS/jvcs_dev_actions魏曹先生2025-10-3011-28/+162
|\ \ | |/ |/| Jvcs dev actions
| * Add LatestInfo struct for client data persistence魏曹先生2025-10-301-0/+28
| |
| * Add update_to_latest_info action魏曹先生2025-10-303-6/+87
| | | | | | | | | | | | This action synchronizes the latest vault information including sheets, reference sheet content, and member data between local and remote instances.
| * Change auth_member to return MemberId on success魏曹先生2025-10-306-14/+36
| | | | | | | | | | | | 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.
| * Return key ID along with challenge verification result魏曹先生2025-10-302-8/+11
| | | | | | | | | | | | | | - Update challenge method to return (bool, String) tuple - Include key ID in both success and failure cases - Update tests to verify key ID matches expected value - Maintain same verification logic but provide additional context
* | Merge pull request #29 from JustEnoughVCS/jvcs_dev_actions魏曹先生2025-10-299-66/+301
|\| | | | | Jvcs dev actions
| * Apply clippy suggestions魏曹先生2025-10-292-4/+2
| | | | | | | | | | - Use dereferenced UUID instead of cloning - Simplify error message formatting
| * Improve vault lock error message and formatting魏曹先生2025-10-291-8/+6
| | | | | | | | | | | | - Use clearer error message when vault is already locked - Fix code formatting for consistency - Remove unnecessary line breaks in error formatting
| * Make config fields thread-safe with Arc<Mutex>魏曹先生2025-10-292-8/+31
| | | | | | | | | | | | - 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
| * Add LocalWorkspace and UserDirectory to client ActionContext魏曹先生2025-10-291-0/+34
| | | | | | | | | | | | | | | | | | | | | | 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.
| * feat: Add port override capability to server entry魏曹先生2025-10-291-8/+18
| | | | | | | | | | | | | | 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.
| * Update actions.rs魏曹先生2025-10-291-0/+113
| |
| * feat: Completed `set_upstream_vault_action`魏曹先生2025-10-291-16/+62
| |
| * Add new error types and sort variants alphabetically魏曹先生2025-10-291-23/+26
| | | | | | | | | | | | - Add Authentication, Locked, NoResult, and NotFound error variants - Remove Crypto error variant - Reorder all variants in A-Z order for better maintainability
| * update: Action.rs 1. Rename `insert` to `with_data` and `insert_arc` to魏曹先生2025-10-292-3/+13
| | | | | | | | | | `with_arc_data` 2. Add new `insert_data` and `insert_arc_data` methods that take &mut self
* | Merge pull request #28 from JustEnoughVCS/jvcs_dev_actions魏曹先生2025-10-272-5/+3
|\| | | | | Fix error handling in process_connection
| * Fix error handling in process_connection魏曹先生2025-10-272-5/+3
| |
* | Merge pull request #27 from JustEnoughVCS/jvcs_dev_actions魏曹先生2025-10-2711-254/+224
|\| | | | | Update dependencies to latest versions
| * Update dependencies to latest versions魏曹先生2025-10-2711-254/+224
|/
* Merge pull request #26 from JustEnoughVCS/jvcs_dev魏曹先生2025-10-2718-52/+191
|\ | | | | Jvcs dev
| * Add service module to vault魏曹先生2025-10-271-0/+1
| |
| * Add lockfile constant for server service魏曹先生2025-10-271-0/+3
| |
| * update: Remove unused inline comments from constants魏曹先生2025-10-271-5/+5
| |
| * update: Add connection logs to show active count魏曹先生2025-10-271-2/+2
| | | | | | | | | | Include current connection count in connection open/close log messages for better monitoring of server load
| * update: Add server lock behavior to vault lifecycle魏曹先生2025-10-271-0/+9
| | | | | | | | Lock the vault before starting the server and unlock it during shutdown.
| * update: Remove `hello_world_action`魏曹先生2025-10-271-21/+0
| |
| * update: Add error type - Locked魏曹先生2025-10-271-0/+3
| |
| * fixed: Incorrect condition setting for determining whether to send魏曹先生2025-10-272-1/+2
| | | | | | | | parameters during `on_proc_begin`
| * update: ActionContext 1. Rename `local` to `proc_on_local` 2. Add魏曹先生2025-10-272-11/+24
| | | | | | | | `is_remote_action`
| * "fix: Fix indentation issues魏曹先生2025-10-271-5/+6
| |