Commit Graph

136 Commits

Author SHA1 Message Date
Levi Neely c04e18164b sync all denote files / metadata 2025-11-16 23:35:13 +01:00
Levi Neely a29feb9b5f Sync file and metadata on save. 2025-11-16 21:04:56 +01:00
Levi Neely 2fb693ca6b update filename and contents on 'u' event 2025-11-16 19:47:20 +01:00
Levi Neely 973e91523a Implement event system for denote file updates 2025-11-16 12:04:41 +01:00
Levi Neely 0cb017f304 Refactoring to a single program, using 9p 2025-11-15 23:44:37 +01:00
Levi Neely 4dfa11747f code cleanup 2025-11-07 21:32:05 +01:00
Levi Neely d8724d484b encrypted journal entries 2025-11-07 21:24:54 +01:00
Levi Neely a3ed8cab8b update readme 2025-11-07 21:12:28 +01:00
Levi Neely f35a61f5f6 support creating encrypted denote documents 2025-11-07 21:11:15 +01:00
Levi Neely 0abccb611d update readme 2025-11-07 20:38:06 +01:00
Levi Neely 4721d7d915 open gpg files with CryptGet 2025-11-07 20:35:52 +01:00
Levi Neely 48d7cd58a5 Document open command and plumbing integration in README
- Add Denote open command documentation
- Update output format examples to show denote:ID | title | tags
- Link to PLUMBING.md for plumbing setup instructions
2025-11-07 18:25:02 +01:00
Levi Neely c2c809cdbe Add plumbing integration and improve output format
- Add PLUMBING.md documentation for denote plumber integration
- Update DisplayNotes to use clickable format: denote:ID | title | tags
- Simplify plumbing rules to single pattern matching rule
2025-11-07 18:19:50 +01:00
Levi Neely 313914d49e update README: document Journal relative date support
- Add examples for +1d, -1d, +3d, +2h, -30m
- Document all supported units: d, h, m, s
- Show Journal <date> usage for specific dates
2025-11-06 15:39:05 +01:00
Levi Neely f8fa00c310 add relative date support to Journal
- Journal +1d - tomorrow
- Journal -1d - yesterday
- Journal +3d - 3 days from now
- Also supports h (hours), m (minutes), s (seconds)
- Examples: +2h, -5m, +30s
- Handle negative values before flag parsing to avoid -1d being treated as flag
2025-11-06 15:38:03 +01:00
Levi Neely 311aafbaa4 fix Journal: search by title with spaces not hyphens
- ParseNote converts filename hyphens to spaces in title
- Search pattern must use spaces: 'thursday 6 november 2025'
- Restore regex search capability with correct pattern
- Fixes Journal <date> to find all entries for that date
2025-11-05 19:11:01 +01:00
Levi Neely 2ddf848853 fix Journal: use original date for search pattern
- Don't modify targetDate before searching
- Only combine with current time when creating new entry
- Fixes issue where wrong date pattern was used for search
2025-11-05 18:54:42 +01:00
Levi Neely 4c25ba0746 clarify Journal search pattern comment
- Pattern already excludes time component
- Searches for 'wednesday-5-november-2025' format
- Finds all entries for that date regardless of time
2025-11-05 18:52:55 +01:00
Levi Neely cea2055b97 fix Journal: search by title pattern instead of identifier date
- Search for title pattern like 'monday-3-november-2025'
- Fixes issue where identifier date != journal entry date
- Now correctly finds entries for specific dates
2025-11-05 18:51:01 +01:00
Levi Neely 8d817b111e fix Journal: identifier must always be creation timestamp
- Identifier uses current date/time (when file was created)
- Title uses target date (the journal entry date)
- Follows denote convention: identifier = creation time
2025-11-05 18:46:18 +01:00
Levi Neely 84bfa3c19b fix Journal: auto-create entry for any date if not found
- Journal <date> now creates entry if it doesn't exist
- Use target date in identifier but current time in title
- Consistent with Journal (no args) behavior
2025-11-05 18:45:22 +01:00
Levi Neely 1bbd6c6991 add date argument to Journal command
- Journal <YYYYMMDD> lists entries for that date
- Journal (no args) lists/creates today's entry
- Only auto-creates for today, not past/future dates
- Shows 'No journal entries found' message for empty dates
2025-11-05 18:43:04 +01:00
Levi Neely 2588179d00 fix Journal add: use current time in title when date specified
- Combine target date with current time for title formatting
- Prevents '0000' appearing in title when using 'Journal add YYYYMMDD'
- Identifier already used current time correctly
2025-11-05 18:40:38 +01:00
Levi Neely 79f456ab96 add single-character aliases
- 'r' as alias for 'rename'
- '+' as alias for 'new'
- Works with all rename/new features including batch processing
- Update help text to show aliases
2025-11-05 15:10:25 +01:00
Levi Neely dd05cba808 fix rename: support relative paths from denote directory
- Check denote directory when relative path not found in cwd
- Enables chording filenames without full paths
- Works for both single and batch rename
2025-11-05 14:48:59 +01:00
Levi Neely 4183721162 add batch rename support
- Support both chording patterns:
  - filename -> 'Denote rename' (2-1 chord)
  - 'rename filename' -> Denote (2-1 chord)
- Batch processing: highlight multiple 'rename file' lines
- Process each rename separately, continue on errors
- Display all renamed notes in single window
2025-11-05 14:47:31 +01:00
Levi Neely ce046de0b3 fix rename: handle 2-1 chord with spaces in paths
- Check for rename command BEFORE splitting args on whitespace
- Preserves spaces in file paths when using acme 2-1 chord
- Handles both 'rename /path' and 'rename /path Title tags' formats
2025-11-05 14:44:08 +01:00
Levi Neely 8e02306682 fix rename: handle file paths with spaces
- Parse file path by finding existing file or quoted title boundary
- Support both quoted paths and unquoted paths with spaces
- Test with 'Pasted image 20250109103642.png'
2025-11-05 14:40:21 +01:00
Levi Neely 97d3d92f2a add rename command
- Parse and update front matter (org, md-yaml, md-toml, txt)
- Rename files according to denote convention
- Support both quoted and unquoted title arguments (acme 2-1 chord)
- Extract title from front matter or first heading when no args
- Preserve identifier from filename or front matter
- Update README with rename workflows
2025-11-05 10:56:06 +01:00
Levi Neely b69dec94e4 Indecisive on output format... 2025-11-04 18:46:24 +01:00
Levi Neely b756a63965 Update README 2025-11-04 18:36:26 +01:00
Levi Neely 51dbcb0e56 Update README 2025-11-04 18:34:58 +01:00
Levi Neely d638dcd102 Search result reformatting, sort feature 2025-11-04 18:33:20 +01:00
Levi Neely 30e23562cb add README 2025-11-03 18:56:20 +01:00
Levi Neely 041bb6a2da Initial commit: Denote and Journal for acme 2025-11-03 18:43:37 +01:00
Levi Neely 084f896ad6
Initial commit 2025-11-03 18:38:38 +01:00