Commit Graph

12 Commits

Author SHA1 Message Date
Levi Neely bd05e3f1be fileitemaction: show menu for all files, preserve extension, keep existing identifier 2026-07-26 21:17:16 +02:00
Levi Neely 39e37cf602 Add i18n support with German translation
All user-visible strings wrapped with i18n(). German .po file
provided. Translation domain set to "kdenote".
2026-07-12 20:52:18 +02:00
Levi Neely 1a34435ed8 fileitemaction: friendly format names in dropdown 2026-07-12 20:48:54 +02:00
Levi Neely a884c40361 fileitemaction: use dropdown for file format (.md default, .org, .txt) 2026-07-12 20:48:14 +02:00
Levi Neely 9399fa50fa fileitemaction: fix MimeTypes to application/octet-stream + inode/directory
all/all is not recognized by KDE plugin loader. Use the explicit
mimetypes that other KF6 fileitemaction plugins use.
2026-07-12 20:46:50 +02:00
Levi Neely 4cca522515 fileitemaction: use all/all mimetype for plugin discovery
The plugin was restricted to application/octet-stream, so it never
loaded for directories (inode/directory). Now matches all types and
filters internally via actions().
2026-07-12 20:44:58 +02:00
Levi Neely b63ef0b47c Add "New Denote File..." context menu action
Shows when right-clicking a directory. Dialog asks for title, tags,
signature, and extension (.org default). Creates the file with
correct denote filename and frontmatter.
2026-07-12 20:43:32 +02:00
Levi Neely 06c1f17570 Use full compound extension (.md.gpg, .org.age, etc.)
fileitemaction uses completeSuffix() to preserve the full extension.
fileTypeFromExtension() recurses on compound extensions to detect
frontmatter support from the inner extension.
2026-07-12 20:36:15 +02:00
Levi Neely d21cab5362 fileitemaction: use ::rename() instead of QFile::rename()
QFile::rename() silently falls back to copy+delete. POSIX rename(2)
is always atomic on the same filesystem.
2026-07-12 20:31:17 +02:00
Levi Neely a679132b10 fileitemaction: size dialog to 33% of screen width 2026-07-12 20:28:42 +02:00
Levi Neely d5902ee1ff fileitemaction: set minimum dialog width to 480px 2026-07-12 20:27:55 +02:00
Levi Neely 063c536a89 Initial implementation: Baloo extractor + Dolphin rename action
Components:
- lib/: shared denote metadata parsing and frontmatter handling
- extractor/: KFileMetaData plugin for Baloo indexing
- fileitemaction/: "Rename with Denote..." Dolphin context menu
- Unit tests for metadata and frontmatter parsing

All tests passing, builds against KF6/Qt6.
2026-07-12 20:21:11 +02:00