summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-12-08Make export script only run exporter after successful build魏曹先生
2025-12-08Add crossterm dependency and implement jvii editor魏曹先生
- Add crossterm crate for terminal UI capabilities - Update jvii editor with proper status bar and keyboard hints - Add i18n support for editor interface - Remove default nano editor configuration from shell scripts
2025-12-08Add basic text editor implementation to jvii魏曹先生
2025-12-08Add jvii binary and set default text editor魏曹先生
- Add jvii as a new binary target in Cargo configuration - Set JV_TEXT_EDITOR environment variable to "nano" in CLI scripts - Implement jvii binary with version command support - Add get_default_editor() utility that checks JV_TEXT_EDITOR, EDITOR, then defaults to "jvii"
2025-12-08Skip empty descriptions in update editor魏曹先生
2025-12-08Replace Cargo alias with standalone export script魏曹先生
2025-12-08Add --overwrite flag to track command and show skipped files魏曹先生
The flag allows users to confirm overwriting locally modified files during sync operations. When files are skipped due to local modifications, a warning message now displays the skipped files and provides the command to overwrite them.
2025-12-06Support windows魏曹先生
- Simplify PowerShell wrapper function parameter handling - Change log filename format to use hyphens instead of colons - Correct Windows drive letter extraction logic to avoid compilation errors
2025-12-04Add description column to `jv here --desc` output魏曹先生
2025-12-04Update utils.rs魏曹先生
2025-12-03Change `jv track`, `hold`, `throw` to accept glob patterns魏曹先生
The commands now accept a file pattern instead of a list of paths. The internal `glob` function is used to expand the pattern relative to the local workspace directory. This allows for more flexible file selection using wildcards.
2025-12-03Replace shell glob expansion with built-in glob in entry scripts魏曹先生
- Use `noglob` for Zsh and `set -f` for Bash to disable shell globbing - Wrap PowerShell aliases in functions to prevent glob expansion - Maintain existing alias functionality while fixing globbing issues
2025-12-03Remove unused localization entries魏曹先生
2025-12-03Fix globber matching issues due to base_dir differences魏曹先生
2025-12-02Refactor debug glob into reusable function魏曹先生
2025-12-02Remove local file existence check from change edit right魏曹先生
The check for whether files exist locally before allowing edit right changes has been removed. This allows users to change edit rights for files that may not yet exist locally but are tracked in the sheet.
2025-12-02Add debug glob command for testing file matching魏曹先生
The new `jv _glob` command allows testing glob patterns against both local files and sheet contents. It helps verify how the globber matches files in different contexts.
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-26Update path info timestamp wording魏曹先生
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-23Fix jv sheet align command syntax in Chinese documentation魏曹先生
2025-11-23Fix CLI installation path after cargo export rename魏曹先生
2025-11-23Reorganize script files into completion-specific directories魏曹先生
2025-11-23Fix indentation of file not found warning魏曹先生
2025-11-23Add PowerShell support for completions and entry scripts魏曹先生
- Rename cargo alias from `pub` to `export` for clarity - Update publish target directory path - Add PowerShell completion scripts and entry points - Reorganize configuration with section headers - Add export directory to gitignore
2025-11-23Reorganize PowerShell completion scripts魏曹先生
- Move completion_jv.ps1 to completions/powershell directory - Add new completion_jvv.ps1 for jvv command - Update header comment format for consistency
2025-11-23Move bash completion scripts to dedicated directory魏曹先生
2025-11-23Add PowerShell CLI support script for jv tool魏曹先生
2025-11-23Rename CLI script and update completion paths魏曹先生
- Rename cli.sh to jv_cli.sh for better naming consistency - Update completion script paths to point to new completions/bash directory - Change 'jj' alias to 'jvh' for clearer naming
2025-11-23Rename PowerShell completion script to match naming convention魏曹先生
2025-11-22add: Completion script for WindowsWeicao-CatilGrass
2025-11-22fix: Use `current_dir` instead of `current_doc_dir`Weicao-CatilGrass
2025-11-22Update help documentation formatting and messages魏曹先生