summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-08-25travis: Add clippy/rustfmt jobMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-10Fix descriptionMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-10Add new transitive dependencyMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-08-10Fix default.nix for new transitive dependencyMatthias Beyer
The transitive dependency "onig_sys" needs the libclang path set now. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28Merge branch 'imag-ids-split-into-more-tools' into masterMatthias Beyer
2019-07-28Reimplement behaviour in imag-headerMatthias Beyer
This patch changes imag-header to do not printing of the found values, but simply filtering. Chaining can then be used to read the values: imag ids | imag header string "imag.version" | imag header read "imag.version" for example. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28Fix operatorMatthias Beyer
This should actually use OR instead of AND Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28Add imag-id-in-collection core commandMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28Remove in-collection filteringMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-28Remove "where" clause filteringMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26Merge branch 'refactor-runtime' into master-ffMatthias Beyer
2019-07-26Refactor: Do not provide functions for these identifiersMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26Remove use of Runtime functions, hardcode stringsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26Fix match same arms bug found by clippyflip1995
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26Fix float comparison bug found by clippyflip1995
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-26Fix Hash vs PartialEq bug found by Clippyflip1995
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-25Add imag-timetrack shellMatthias Beyer
This patch adds a subcommand to imag-timetrack which allows a user to start a $SHELL and start a timetracking with it and as soon as the shell exits, the timetracking is stopped. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-25Change imag-wiki interface to be consistent with other commandsMatthias Beyer
Use "list" instead of "ids" for listing ids in a wiki. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-25Add debug outputMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-25Add checks whether variables are valid unicode and propagate appropriate errorMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-24Rewrite get_rtp_match() to not panicMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-21List diaries only if output is not a pipeMatthias Beyer
Beforehand, this command: imag diary -d foo list | cat listed each entry twice because the reporting feature of libimagrt forwarded the list to stdout and the normal output was written to stderr. With this patch, we get the output only once in this case. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-14Merge branch 'imag-diagnostics-more-output' into masterMatthias Beyer
2019-07-14Add cli validators for date and datetimeMatthias Beyer
2019-07-14Fix for update to latest itertoolsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-07-09Fix for update to new version of mdcatMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Remove uneccessary call to iter()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Add imag-diagnostics --more output switchMatthias Beyer
For more output, which is right now: List unverified entries. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Remove use of ItertoolsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Update all dependenciesMatthias Beyer
This patch updates all dependencies but not "nom". Done with `cargo upgrade --all` and manual editing. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Rewrite changelog generator scriptMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Merge branch 'libimaghabit-dont-copy-comment-to-instance' into masterMatthias Beyer
2019-06-30Merge branch 'imag-log-show-multiple-sort-by-date' into masterMatthias Beyer
2019-06-30Do not create comment in habit instanceMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Adapt imag-habit impl for `HabitInstance::get_comment()`Matthias Beyer
The implementation of `HabitInstance::get_comment()` was changed and therefore its semantics were changed. This patch adapts the call to the function for the new signature and implications. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Change HabitInstance implementation to not contain comment in instanceMatthias Beyer
This patch changes the HabitInstance implementation so that the comment is not expected to exist in the instance object itself. This is done for less data duplication. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Add "done" marker in "list" outputMatthias Beyer
This patch adds a marker in the table when using the "list" command which marks when the task is already done for the list entry. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Fix: Sort by date, not by idMatthias Beyer
This patch fixes a bug. We stated in the helptext of the "show" command that when showing several logs, we sort by date. This was not true as we sorted by Id, which also included the name of the log, hence we effectively sorted by name. This patch fixes that. Output is not sorted by date. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-30Add DiaryId::get_date_representation() functionMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Merge branch 'libimagentrytag-refactor' into masterMatthias Beyer
2019-06-29Fix: Location of tags should not change in the refactoringMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Add testsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Update dependency: toml-query: 0.9.2 for index-out-of-bounds fixesMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Add test whether setting tags worksMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Tagable should not be implemented for ValueMatthias Beyer
Oh my dear, what was I thinking? Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Simplify implementation of has_tags()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Remove unused importsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Simplify implementation of has_tag()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Simplify implementation of remove_tag()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-06-29Simplify implementation of add_tag()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>