summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-12-01Add --show-log flag and refactor vault setup魏曹先生
- Add `--show-log` flag to override profile logger setting - Add validation for conflicting `--no-log` and `--show-log` flags - Refactor `Vault::setup_vault` to accept vault name parameter - Update logger initialization to respect configured log level - Add new dependencies: `whoami`, `redox_syscall`, `wasite`, `web-sys` - Add error message for conflicting log flags in locales
2025-12-01Replace HashMap/HashSet with BTreeMap/BTreeSet for deterministic output魏曹先生
2025-12-01Add remote file display to jv here command魏曹先生
2025-12-01Add remote mapping display for `jv here`魏曹先生
2025-12-01add: comments of Completion Helpers魏曹先生
2025-12-01Update docs command to use config directory instead of doc directory魏曹先生
2025-12-01Add green color to holder and editing status indicators魏曹先生
2025-12-01Add completion helpers for workspace info魏曹先生
- Rename HistoryIpAddress to GetHistoryIpAddress for consistency - Add commands to get workspace directory, current account, upstream address, and current sheet
2025-12-01Update jv.rs魏曹先生
2025-12-01Add glob pattern matching utility魏曹先生
This implements a Globber struct that can match files and directories using wildcard patterns (* and ?). It supports relative paths, home directory expansion with ~, and cross-platform path separators. The implementation includes pattern matching with backtracking for complex patterns and handles different directory prefixes (current, user home, and root).
2025-11-28Refactor: Extract validation failure handling to reduce code duplication魏曹先生
- Created helper function to centralize validation failure logic - Moved error message generation outside helper for proper macro expansion - Maintained same functionality while improving code maintainability - Reduced repetitive if-else blocks for detail/skip-failed scenarios
2025-11-26Ensure correct current directory before jv_update and jv_throw魏曹先生
Execute correct_current_dir at the beginning of jv_hold and jv_throw to guarantee proper context environment for these operations.
2025-11-26Add yellow color to permission check failure details魏曹先生
2025-11-26Preserve working directory during auto update魏曹先生
The auto update process was changing the current working directory, which could cause issues when the program continues execution. This change saves the current directory before updating and restores it afterward, ensuring the program continues in the correct location.
2025-11-26Add hold and throw commands for file edit rights魏曹先生
- Implement `jv hold` and `jv throw` commands with file selection - Add pre-check validation for file existence, mapping, and edit rights - Support --details and --skip-failed flags for error handling - Add localization strings for both English and Chinese
2025-11-25Update imports for renamed track_action module (VersionControl: b629bcb)魏曹先生
2025-11-24Add silent mode to `jv_update` command魏曹先生
When JV_AUTO_UPDATE is enabled, the update will now run silently without outputting any messages. This prevents unnecessary console output during automatic updates while preserving normal output when manually invoked.
2025-11-23Add auto update feature via JV_AUTO_UPDATE env var魏曹先生
When enabled, automatically runs `jv update` if vault content has been modified by local operations.
2025-11-23Fix type annotation in file tracking collection魏曹先生
2025-11-22fix: Use `current_dir` instead of `current_doc_dir`Weicao-CatilGrass
2025-11-22Prevent duplicate sheet creation for shared sheets魏曹先生
2025-11-22Remove todo list file after update operation魏曹先生
2025-11-22Update sheet align command structure and add completion魏曹先生
2025-11-22Move quick sort utility to data_struct module魏曹先生
2025-11-22Add account key generation and public key export features魏曹先生
- Add `--keygen` flag to `account add` for automatic ED25519 key generation - Add `account genpub` command to export public keys - Update help documentation in both English and Chinese - Extend shell completion for new commands - Add error handling for OpenSSL operations
2025-11-20add: utility functions for table and pager魏曹先生
- Add insert_item method to SimpleTable for flexible row insertion - Add show_in_pager function for system pager support
2025-11-20update: improve jv here and status output魏曹先生
- Enhance jv here with detailed file status and holder information - Improve jv status with better formatting and update timestamps - Reorganize table columns for better readability
2025-11-17Use account-specific paths for latest info files魏曹先生
2025-11-17Remove red color from error messages魏曹先生
2025-11-17Add error handling for sheet use command魏曹先生
2025-11-17Change error and tip colors from bright to normal variants魏曹先生
2025-11-17Add login command combining account setup and vault connection魏曹先生
The new `jv login` command streamlines the process of setting up a workspace by combining account selection, vault connection, and initial sync into a single operation. - Add completion support for login command - Update help documentation in both English and Chinese - Add confirmation prompt for login operation
2025-11-17Add movekey alias to account manage command魏曹先生
2025-11-17 Track recent IP addresses in direct operations魏曹先生
Add IP address history functionality to store and retrieve recently used IP addresses when performing direct operations. Maintains a history file with up to 8 most recent IPs for quick access.
2025-11-17Update en.yml魏曹先生
2025-11-17feat: add quick sort utilities魏曹先生
Add quick sort implementation with custom comparison functions
2025-11-10Consolidate markdown display utilities魏曹先生
2025-11-10Remove md_colored module魏曹先生
2025-11-10Remove md_colored utility module魏曹先生
2025-11-10Add helpful error tips for common workspace issues魏曹先生
2025-11-10Create fs.rs魏曹先生
2025-11-10Add JV_LANG environment variable support and improve CLI structure魏曹先生
2025-11-10Rename build_env_logger module to logger and improve path handling魏曹先生
2025-11-09fix: Windows support魏曹先生
2025-11-06feat: enhance jvv command with raw output support魏曹先生
- Add --raw option to member list for script-friendly output - Use size_str function for consistent file size formatting - Improve member list sorting (host first) - Add better error handling and output formatting
2025-11-06feat: implement here command with file listing魏曹先生
- Add here command to display current path information - Show file and directory listing with table formatting - Display file statistics (count and total size) - Add colored output for better visual distinction
2025-11-06feat: add display utilities and table component魏曹先生
- Create display module with SimpleTable structure - Add size_str function for file size formatting - Support ANSI escape sequence filtering in display width - Provide table formatting with proper column alignment
2025-11-05Add sheet drop functionality and improve sheet listing魏曹先生
- Implement `jv sheet drop` command with confirmation and error handling - Add restore confirmation when creating sheets that already exist as orphaned sheets - Enhance `jv sheet list` with --others and --all flags to show different sheet views - Update help text and localization files for new functionality
2025-11-05Update account switching error handling魏曹先生
2025-11-05Add shorthand aliases for common commands魏曹先生
- Add `accounts`, `as`, `make`, `drop` commands to jv - Add `members` command to jvv with `-M` alias - Implement corresponding action handlers for new commands