Commit Graph

88 Commits

Author SHA1 Message Date
Mickaël Menu
3d967746d1
Parse Markdown links 2021-01-24 14:33:25 +01:00
Mickaël Menu
467acb3a08
Warn if fzf is not available when using --interactive 2021-01-24 14:10:47 +01:00
Mickaël Menu
0512bf78b4
Add support for YAML frontmatters 2021-01-24 13:42:57 +01:00
Mickaël Menu
225b0c2603
Add support for user aliases 2021-01-24 12:22:47 +01:00
Mickaël Menu
1b905dacfd
Don't prompt the user when the terminal is not interactive 2021-01-23 21:29:22 +01:00
Mickaël Menu
eb130a8107
Add the edit command 2021-01-23 21:15:36 +01:00
Mickaël Menu
72d9d6f8d4
Add user prompt/confirmation utilities 2021-01-23 21:15:17 +01:00
Mickaël Menu
5cffc71da6
Extract filtering and sorting flags 2021-01-23 15:39:47 +01:00
Mickaël Menu
6c95ff43c1
Refactor fzf integration 2021-01-23 15:24:08 +01:00
Mickaël Menu
fe6b062309
Filter notes interactively with fzf 2021-01-23 13:29:14 +01:00
Mickaël Menu
5c59d7946b
Test the note formatter 2021-01-19 23:06:17 +01:00
Mickaël Menu
5759896fd4
Refactor note formatter 2021-01-19 21:13:16 +01:00
Mickaël Menu
aee1d0c781
Add predefined styling rules 2021-01-19 20:51:28 +01:00
Mickaël Menu
c61a6995a2
Proof of concept for filtering notes interactively with fzf 2021-01-19 19:59:03 +01:00
Mickaël Menu
f1df4320ed
Add a cross-platform way to execute a shell command and string utilities 2021-01-19 19:57:18 +01:00
Mickaël Menu
cd2040a74b
Fix sorting indexed notes by their paths in the database 2021-01-17 17:37:16 +01:00
Mickaël Menu
c5172ee195
Fix hanging pager when quitting the process before writing is complete 2021-01-17 14:23:53 +01:00
Mickaël Menu
9876bcec00
Print indexing statistics 2021-01-17 12:47:05 +01:00
Mickaël Menu
58cfec5c80
Add a progress report during indexing 2021-01-17 12:09:38 +01:00
Mickaël Menu
1a9604ea34
Add flag to force indexation 2021-01-16 20:53:12 +01:00
Mickaël Menu
f371f58bd2
Add Lead and RawContent to the saved note metadata 2021-01-16 20:18:03 +01:00
Mickaël Menu
29688186f2
Add a proper Markdown parser 2021-01-16 19:37:10 +01:00
Mickaël Menu
a691a8857c
Support pager and no-pager config options 2021-01-16 14:30:52 +01:00
Mickaël Menu
b86a74d1e9
Use the system pager to paginate list results 2021-01-15 22:21:33 +01:00
Mickaël Menu
e113707a62
Move parsing of sorting terms to core 2021-01-14 22:45:05 +01:00
Mickaël Menu
38f24148e7
Split note/list into list and find 2021-01-14 22:10:35 +01:00
Mickaël Menu
16fea38764
Sort list matches 2021-01-13 22:06:05 +01:00
Mickaël Menu
09d688f1cc
Exclude paths in list 2021-01-13 19:53:15 +01:00
Mickaël Menu
4fbd5b3fac
Filter by modification date 2021-01-12 20:54:08 +01:00
Mickaël Menu
18f8c39d5d
Store dates as UTC 2021-01-12 20:33:55 +01:00
Mickaël Menu
d797b94845
Filter by creation date 2021-01-12 19:58:14 +01:00
Mickaël Menu
91118a21ce
Add Zk.RelPath() 2021-01-12 19:38:58 +01:00
Mickaël Menu
a7b85eeb1e
Limit the number of results 2021-01-11 22:22:23 +01:00
Mickaël Menu
f2c41f35fc
Show number of results 2021-01-11 22:02:06 +01:00
Mickaël Menu
4cd3df749b
Refactor generation of the SQL find query and add support for PathsFilter 2021-01-11 21:51:50 +01:00
Mickaël Menu
be25da2b80
Refactor FTS5 query sanitizing 2021-01-11 20:19:39 +01:00
Mickaël Menu
1176216eb8
Escape user input for FTS5 query 2021-01-10 22:41:36 +01:00
Mickaël Menu
0e8ae93450
Improve test result diffing 2021-01-10 16:39:10 +01:00
Mickaël Menu
9f1ec95194
Test NoteDAO find all 2021-01-10 12:29:57 +01:00
Mickaël Menu
81cc8ae9a4
Add semantic style aliases 2021-01-09 19:48:29 +01:00
Mickaël Menu
e47eabf421
Add the core Styler, a default TTY implementation and a {{style}} template helper 2021-01-09 18:54:50 +01:00
Mickaël Menu
8ed6667743
Add various list formats 2021-01-09 17:14:54 +01:00
Mickaël Menu
e0aaa60955
Move zk/file to util/paths 2021-01-09 13:01:41 +01:00
Mickaël Menu
ea3b6923c0
Merge dir and filename to simplify paths handling 2021-01-09 12:17:15 +01:00
Mickaël Menu
5988b020af
Add "elapsed" date format 2021-01-07 22:14:27 +01:00
Mickaël Menu
5a8b6ec02f
Index the note filenames 2021-01-07 19:29:04 +01:00
Mickaël Menu
31c13c6af4
Add the {{prepend}} template helper to quote or indent a paragraph 2021-01-06 21:43:58 +01:00
Mickaël Menu
9a397eff61
Require the date to be passed as the first argument of the {{date}} helper 2021-01-06 21:19:43 +01:00
Mickaël Menu
05f384bbe0
Format provided date with the {{date}} template helper 2021-01-06 20:41:47 +01:00
Mickaël Menu
8a876f3b7f
Test note DAO 2021-01-05 20:50:39 +01:00