11f9a9027e
Refactor imag-diary to new store iterator interface
2018-05-01 17:44:09 +02:00
58a6eea573
Remove the edit command
...
The edit command of imag-diary gets removed by this patch.
The rationale is that imag-edit is way more powerful and thus, not every
other imag module should implement an edit command. Chaining
`imag-diary list` and `imag edit -I` is encouraged.
We still need the edit functionality in imag-diary, as `imag diary
create` shall spawn an editor, still. We only remove the ability for
editing of existing entries with this patch.
2018-04-30 14:04:16 +02:00
279f7ef2aa
Fix: Pass output stream to view_entries()
2018-04-24 16:46:23 +02:00
6e80f603d6
Add functionality to list diaries
2018-04-19 21:36:22 +02:00
b690925e01
Fix: Use fill storeid when listing
2018-04-18 18:32:11 +02:00
51b9b5c0db
Fix: Use qualification
2018-04-14 00:58:40 +02:00
532de484f2
Fix: List ids sorted
2018-04-13 13:51:56 +02:00
8c1b4124c0
Handle unknown subcommands in binaries with Runtime::handle_unknown_subcommand
2018-04-04 19:34:13 +02:00
ee6e766c8d
Use generate_runtime_setup() to create Runtime object
2018-03-04 13:57:44 +01:00
50461b839a
Use output stream from Runtime::stdout()
2018-03-04 13:57:44 +01:00
f88884c321
Merge pull request #1321 from matthiasbeyer/libimagdiary/not-on-retrieve-for-module
...
libimagdiary: Do not rely on Store::retrieve_for_module
2018-03-03 13:53:18 +01:00
cedbaf1b5c
Add "daily" support
2018-03-02 23:10:53 +01:00
776e1dac91
Fix: Hourly/Minutely should set minute/second to zero
2018-03-02 23:10:53 +01:00
affd15a890
Rewrite imag-diary for new Diary::entries() interface
2018-03-02 21:28:40 +01:00
c2b754dbec
Merge pull request #1303 from matthiasbeyer/imag-diary/fix-list-diary-name-passing
...
Fix order of evaluation
2018-02-20 18:37:55 +01:00
0cde88d661
Fix order of evaluation
...
We need to evaluate the commandline argument first and if there is none,
we use the default.
This patch fixes that bug.
2018-02-20 17:27:42 +01:00
027c4b3287
Remove usage of libimagentrylist
2018-02-20 15:02:46 +01:00
e501f66dac
Fix broken pipe panics
2018-02-19 11:14:19 +01:00
876c1cb9af
Fix broken pipe panics
2018-02-19 11:14:18 +01:00
10e7a82a45
Refactor imag-diary
2018-02-18 20:03:50 +01:00
3341e3640c
Merge pull request #1224 from matthiasbeyer/git-version-in-version
...
Git version in version
2018-02-18 20:03:09 +01:00
9469693763
Use new make_imag_version!() macro for building version string
2018-02-13 11:38:34 +01:00
b9800e19e9
Refactor imag-diary to use new error handling interface
2018-02-12 21:19:48 +01:00
d5a9e4930d
Update dates in license header
...
And add missing header in one file
2018-02-07 02:48:53 +01:00
d1fc8c3995
Add second support in imag-diary commandline interface
2018-02-04 19:51:07 +01:00
bfc35e0517
Remove dependency "version"
...
Because the "version" crate is licensed as GPL, which would us require
to release imag as GPL, we remove the crate now.
2018-01-12 13:33:40 +01:00
b237adfe19
Fix calls to Runtime::config() to use direct result
2017-10-31 09:25:14 +01:00
815cde76d0
Rewrite .map_err_trace_exit().unwrap() with new helper fn
2017-10-12 20:15:46 +02:00
dc78c0e448
Change create() to check config and commandline whether entry should be created timed or not
2017-09-14 18:59:03 +02:00
dbf529e427
Add config parsing helpers
2017-09-14 18:58:40 +02:00
ea982204b9
Add new deps: toml, toml_query
2017-09-14 18:58:17 +02:00
c115215fa4
Merge branch 'master' into libimagerror/integration
...
This merge solved a _LOT_ of conflicts and was a rather complicated one,
as parts of the conflict-resolution involved rewriting of half the
stuff.
This merge commit fixes all the things so a `cargo check --all`
succeeds, but I did not yet check whether tests run without failure.
2017-09-04 23:02:45 +02:00
18e806f588
Remove dedicated result modules, use error chain generated Result types
2017-09-04 09:19:29 +02:00
7ce44e8090
Remove "IntoError" trait, use error_chain functionality
2017-09-03 21:34:07 +02:00
69b3fe52c6
imag-diary: Rewrite error handling
2017-09-03 21:33:54 +02:00
8071c4c721
Refactor, minify edit() impl
2017-09-01 11:04:07 +02:00
356c86fd51
Refactor, minify create() impl
2017-09-01 11:04:07 +02:00
7e7cf8ecf8
Refactor, minify delete() impl
2017-09-01 11:04:07 +02:00
21c15ca207
Adapt imag-diary to compile with the new libimagdiary API
2017-09-01 11:04:07 +02:00
59a3662ac4
Reorganize code in subdirs
2017-08-27 15:12:09 +02:00