Commit Graph

58 Commits

Author SHA1 Message Date
Levi Neely 6aaf6cfa91 continue refactoring 2025-11-22 15:26:57 +01:00
Levi Neely ca31e9e1d4 p9 server and client packages 2025-11-22 15:15:55 +01:00
Levi Neely fda140439c eliminate ui pkg 2025-11-22 14:52:21 +01:00
Levi Neely 5365c19720 refactor: denote->main.go, filter via ctl file 2025-11-22 14:44:11 +01:00
Levi Neely d8b7af94ba cryptput auto-refresh, remove dead code 2025-11-19 23:01:50 +01:00
Levi Neely b99940217a update plumbing notes for encryption support 2025-11-19 22:56:20 +01:00
Levi Neely 5017580bee remove encrypted file handling for now 2025-11-18 12:59:38 +01:00
Levi Neely f7c2edc233 Simplify new file workflow 2025-11-18 12:29:37 +01:00
Levi Neely b1cb5ee6b8 denote/<id> becomes denote/n/<id> 2025-11-18 12:15:54 +01:00
Levi Neely 5238bf2bb9 code cleanup 2025-11-18 01:16:25 +01:00
Levi Neely 150feb09f4 remove binary 2025-11-17 21:21:23 +01:00
Levi Neely 925e9a3e42 remove outdated README 2025-11-17 21:20:57 +01:00
Levi Neely eeb62252d7 denote/<id>/event becomes denote/<id>/ctl 2025-11-17 21:08:33 +01:00
Levi Neely 441f4250ce usage message bug 2025-11-17 21:02:43 +01:00
Levi Neely 2dad540135 remove denote files 2025-11-17 21:01:46 +01:00
Levi Neely e5652dfd90 update PLUMBING.md 2025-11-17 20:46:22 +01:00
Levi Neely add9f93500 re-integrate with the plumber 2025-11-17 20:44:34 +01:00
Levi Neely c1fa0e6406 create new denote files 2025-11-17 20:40:41 +01:00
Levi Neely ab7aaf1da5 clean window, scroll to top 2025-11-17 07:42:39 +01:00
Levi Neely 889eaaf312 metadata edit in +Denote window 2025-11-17 01:40:53 +01:00
Levi Neely 7d763af315 documented fs and sys, fixed emitted event for metadata update 2025-11-17 00:08:24 +01:00
Levi Neely 210baf2465 trivial rename 2025-11-16 23:36:27 +01:00
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