Commit graph

6368 commits

Author SHA1 Message Date
48943aa932 Merge branch 'imag-bookmark-remove-collections' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-08 14:27:51 +01:00
401e900936 Implement imag-bookmark "find" command
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-08 14:00:32 +01:00
4f2ea236af Reimplement imag-bookmark commandline frontend
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-08 13:48:47 +01:00
37b7b2e67e Add functions to get by id and remove with FileLockEntry
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-08 13:48:47 +01:00
75ab0c1408 Add "is"-flag setting when creating bookmark
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-08 13:48:47 +01:00
c58b0d323e Remove old implementation, define interface for new implementation
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-08 13:48:47 +01:00
17d2e55bfa Merge branch 'imag-mail/main-return-result' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 17:22:33 +01:00
6f53964dc0 Merge branch 'imag-contact/main-return-result' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 17:22:22 +01:00
b25bf80c95 Merge branch 'doc' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 16:39:01 +01:00
3a3f9ebeed Convert imag-contact to propagate errors to main()
This change exploded (in complexity) much more than I expected. So this
diff converts the whole codebase of imag-contact to propagate errors up
to the main() function.

Changes in functionality might happen but are unintended.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 16:37:04 +01:00
deea1d262b Convert codebase to propagate error to main()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 15:33:29 +01:00
b272c1508c Merge branch 'ui-testing-imag-view' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 15:01:52 +01:00
611fcbc774 Implement imag-todo-show table view by default
By passing -T, plaintext output can be generated.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 14:48:41 +01:00
8e0be9f1f7 Fix: Allow to pass only UUIDs and automatically add "todo/" prefix
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 14:44:36 +01:00
82146e0c98 Fix: Ignore Broken Pipe errors when writing list
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 14:44:33 +01:00
49eb0c13e9 Merge branch 'imag-todo/ids-from-stdin' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 14:09:43 +01:00
7d340bb527 Merge branch 'imag-todo/format-output' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 14:09:32 +01:00
f471966653 Add ui test for imag-view
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:29:15 +01:00
136b4d3dd9 Reword some things on filesystem organization
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
e8f3d26a4b Remove notes on markup implementation as not relevant here
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
a5d0cd7a74 Rewrite parts of the Header format section
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
ffa6e372e1 Prettify wording
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
9dce31edb4 Remove notes on libimagerror, as they are not relevant anymore
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
d97dfc2d52 Remove libimagerror, visualize that libimagrt is used in the full stack
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
55274ad1cd State clearly that this shows only imag stuff
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
8c90fb59fa State clearly that there could be more
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
9e3ce2a297 Rewrite section on crate types
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
a99c587d6c Split intro into more files
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
4b118a4fe1 A reader should expect this to be outdated
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
0d27139cf7 Remove trailing whitespace
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:03:22 +01:00
33e53dca6d Remove untrue paragraph
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:02:19 +01:00
bd4a839cb9 Rewrite list_todos() to be able to read ids from stdin
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 13:00:00 +01:00
e3b4901004 Add default configuration for imag-todo show format
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 12:54:42 +01:00
cadd9f8944 Rewrite show functionality of imag-todo
This implementation uses the handlebars crate so that the show format
can be specified in the configuration file.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-01 12:54:11 +01:00
c2d4ec5fef imag-notes: Do not call exit() but propagate error to main function
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-23 20:16:28 +01:00
68befe23c6 Update minimum required rust version to 1.37.0
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-23 19:28:00 +01:00
ae14f15449 Add version-sync tests to ensure we update correctly
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-21 20:46:41 +01:00
1a25bd2da4 Merge branch 'imag-tag/filtering' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-16 12:48:48 +01:00
734f889cdf Add test for testing listing all entries with/out a certain tag
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-13 19:46:10 +01:00
c5f0dc7b14 Add imag-tag-missing command for filtering entries
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-13 19:46:10 +01:00
cec4d93f3e Add imag-tag-present command for filtering entries
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-13 19:46:10 +01:00
9e532f79dd Transform the main function to get the subcommand object
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-13 19:38:39 +01:00
5a89a29b6d Fix: Only view entry if output is not a pipe
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-13 19:21:28 +01:00
fae53aa134 Rewrite to accept ids from stdin
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-11 19:50:38 +01:00
9dc345c833 Fix: a tag can contain ascii digits
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-11 19:48:55 +01:00
61ade452de Make tag-checking error message more explicit about what is wrong
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-11 19:48:09 +01:00
164880dbf9 Fix: Make everything cfg(test)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-10 11:52:26 +01:00
9f5b28ea11 Fix: Do not call exit(), but propagate error
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-10 01:53:09 +01:00
99fedd5abd Merge branch 'imag-todo-taskwarrior-import' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-09 18:41:18 +01:00
ead9438c41 Merge branch 'libimagtodo-req-rewrite' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-11-09 18:38:12 +01:00