340dab18f0
Fix: 'start-time' cannot be None
...
The UI is configured to require the 'start-time' parameter, so we do not
need to check for None here.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-09 01:03:32 +01:00
afe275692e
Fix: Do not use deprecated StoreId::exists() function
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-02-09 01:03:28 +01:00
b010d69e62
Update rustc
...
We need 1.31 because some dependencies use the new clippy macros.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-01-03 18:41:36 +01:00
9185abcfa5
Update copyright years
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-01-03 18:41:36 +01:00
4fe7fd366c
Add Store::exists() for checking whether a StoreId exists as Entry
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-12-13 22:49:33 +01:00
ccd8e94fbf
Update travis rustc version
...
1.29.x does not work anymore because a dependency fails to compile with
it.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-12-13 22:49:08 +01:00
37ac37f22e
Merge branch 'minor'
2018-12-03 01:09:03 +01:00
115002971d
travis: Update rustc
...
because `encoding-rs` seems to need 1.29 as minimum version of the rust
compiler.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-26 20:16:35 +01:00
d70a97191c
Simplify Display impl for Storeid
2018-11-26 18:21:28 +01:00
1ce780795a
Do not use StoreId::local() here
2018-11-26 18:19:10 +01:00
dd388e53bb
Reimplement StoreId::to_str() without erroring
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-26 18:15:08 +01:00
49b0b3a414
Merge branch 'forbid-unsafe'
...
With this merge, there is no longer unsafe code in the imag repository.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-11 14:28:04 +01:00
496c06d15a
Update lazy_static to 1.2
...
1.2 of lazy_static brings functionality to have no panics in the code,
which is what we try to have.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-11 13:05:55 +01:00
9fca66aa89
Forbid unsafe code in all crates
2018-11-11 13:05:55 +01:00
4e516ee19d
Update version strings
...
...for the next release, which will be imag 0.10.0!
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-10 11:56:37 +01:00
4fd2feb6f3
Merge branch 'prepare-0.9.0'
...
This merge marks the release 0.9.0 of the imag distribution.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-10 10:01:12 +01:00
17d4123898
Update dependencies from git versions to proper versions.
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 22:14:11 +01:00
dfba366a89
Add changelog for 0.9.0
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 22:14:11 +01:00
47707bf593
Merge branch 'minor'
2018-11-09 22:11:39 +01:00
ed08e2ccf9
Update examples
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
093363f7e1
Add end-date for vacation
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
332fd5dd8b
Remove code of conduct, we use the Rust CoC.
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
b3b32077a5
Remove empty section
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
35291d68ad
Make code more idomatic
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
a2eae99a39
Rewrite debug calls with DebugOption extension
2018-11-09 21:48:26 +01:00
2cb46597f7
Add Option extensions for logging optional values
...
This patch adds the same extensions that we already have for
Result<T, E> also for Option<T>.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
c767e6239e
Remove unused parameter
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:26 +01:00
9cfa9fc399
Make code more idomatic
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:25 +01:00
ed469f622a
Make code more idomatic
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-09 21:48:02 +01:00
8d0ae1058e
Make code more functional by more function chaining
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-07 13:51:42 +01:00
07cbecc1ba
Make code more functional by more function chaining.
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-07 13:51:28 +01:00
d8a6e9ca9a
Rewrite iteration without collecting inbetween
...
Because why not?
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-07 12:48:35 +01:00
8e1768b424
Refactor code to be more idomatic
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-07 11:52:31 +01:00
ecf4cead93
Merge branch 'runtime-io-story'
...
This merge introduces the new runtime IO system, finally!
Now, piping imag commands into eachother as well as using standard unix
tools for piping is possible! Awesome!
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 21:26:56 +01:00
345970d36b
Import new dependencies
...
Because of the changes in the "src/ui.rs" files in the binary
implementations, we have new dependencies we need to import into the
build-script of the "imag" command, so that it can build the
commandline.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 20:35:18 +01:00
f6483f54db
Add ID reporting in imag-timetrack
2018-11-06 20:35:18 +01:00
be56f9fe75
Add ID reporting in imag-mail
2018-11-06 20:35:18 +01:00
f20298cbe8
Add ID reporting in imag-store
2018-11-06 20:35:18 +01:00
c616a5cfaf
Add ID reporting in imag-ref
2018-11-06 20:35:18 +01:00
502cdf5721
Add ID reporting in imag-habit
2018-11-06 20:35:18 +01:00
96ad41ea4c
Add ID reporting in imag-mv
2018-11-06 20:35:18 +01:00
f3a03efd5d
Add ID reporting in imag-wiki
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 20:35:18 +01:00
029a3c448e
Change WikiStore::create_wiki() interface
...
to also return the index page. This way a user of the library can use
the index page entry right away.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 20:35:18 +01:00
860c58cbdf
Add ID reporting in imag-log
2018-11-06 20:35:18 +01:00
eceae358f8
Add ID reporting in imag-notes
2018-11-06 20:35:18 +01:00
2ca6be8322
Add id reporting in imag-diary
2018-11-06 20:35:18 +01:00
8523ae2120
Add id reporting in imag-contact
2018-11-06 20:34:46 +01:00
344aae5f92
Add ID reporting in imag-bookmark
2018-11-06 20:33:30 +01:00
d1f087eb57
Change libimag{bookmark, entrylink} external linking
...
...to report newly created entries, so that we can re-use these new
entries in the library-using code (for example for ID reporting).
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-11-06 20:33:30 +01:00
1e6d58bf4c
Add ID reporting in imag-view
2018-11-06 20:33:30 +01:00