Commit Graph

5730 Commits

Author SHA1 Message Date
Matthias Beyer f912d3e7f3
Merge pull request #1489 from matthiasbeyer/imag-log/fix-duplicated-printing
Fix: Duplicated printing of entries with "show --all"
2018-05-11 21:04:02 +02:00
Matthias Beyer 3b97db5c25 Fix: Duplicated printing of entries with "show --all"
The problem was that the used `Diary::diary_names()` iterator does not
call `unique()` on its output.
That decision was made because the return type would get more
complicated with that feature.

Now that rustc 1.26 with Impl Trait is out, we can refactor the return
types of these functions (so also with `Diary::diary_names()`) to
automatically do this.
2018-05-11 15:45:50 +02:00
Matthias Beyer e0678c9b18 Update travis
Use rustc 1.24, 1.25 and stable (1.26).
2018-05-11 15:45:47 +02:00
Matthias Beyer 8d1022b1ac Fix: Explicitely use Itertools::flatten()
As of rustc 1.26, the `flatten()` method on iterators is preserved by
the rust standard library.
This could cause this code to hard-error some time in the future with
the `flatten()` function actually implemented by the standard library.

Hence we move to use the `Itertools::flatten()` function here
explicitely.
2018-05-11 15:45:42 +02:00
Matthias Beyer 7c44bc1aa3
Merge pull request #1493 from matthiasbeyer/fix-rustc-126
Fix comment for rustc 1.26
2018-05-11 15:45:36 +02:00
Matthias Beyer 2e41656d1a Fix comment for rustc 1.26 2018-05-11 14:55:23 +02:00
Matthias Beyer 30d5837950
Merge pull request #1485 from matthiasbeyer/post-release-patches
Post release patches
2018-05-10 08:38:58 +02:00
Matthias Beyer 1b764d90ce Move to appropriate position in release script 2018-05-09 11:39:33 +02:00
Matthias Beyer 664edc7943 Update version string: 0.8.0 -> 0.9.0 2018-05-09 11:39:33 +02:00
Matthias Beyer 8071496dcf
Merge pull request #1484 from matthiasbeyer/prepare-0.8.0
Prepare for 0.8.0
2018-05-09 10:26:35 +02:00
Matthias Beyer be0c8c658b Update date 2018-05-08 21:37:19 +02:00
Matthias Beyer 31e320e2e5 Add changelog for 0.8.0 2018-05-08 21:37:19 +02:00
Matthias Beyer a0d7f8321f
Merge pull request #1483 from matthiasbeyer/readme-vacation-notice
Readme vacation notice
2018-05-04 13:23:27 +02:00
Matthias Beyer dd3adcd08d
Merge pull request #1482 from matthiasbeyer/libimagrt/cli-validation
libimagrt: cli validation
2018-05-04 13:13:33 +02:00
Matthias Beyer 16dafb17f4
Merge pull request #1481 from matthiasbeyer/imag-category/init
imag-category: Initial import
2018-05-04 12:05:47 +02:00
Matthias Beyer 794eb4faeb Add github pull request/issue template 2018-05-04 11:51:11 +02:00
Matthias Beyer 3f9c98a851 Add vacation notice 2018-05-04 11:46:41 +02:00
Matthias Beyer c65a3d1af9 Add CLI validators in default CLI setup 2018-05-04 11:21:49 +02:00
Matthias Beyer 9bf3f6da1b Update help 2018-05-04 11:20:09 +02:00
Matthias Beyer 23c3a4b863 Update help, clap does the rest here 2018-05-04 11:19:47 +02:00
Matthias Beyer 61d0136c26 imag-category: Initial import 2018-05-04 11:09:20 +02:00
Matthias Beyer 2e2bce77a0 Add functionality to remove categories 2018-05-04 11:09:20 +02:00
Matthias Beyer 9c36fc8ac0
Merge pull request #1468 from matthiasbeyer/imag-ids/filters
imag-ids: filters
2018-05-03 10:22:20 +02:00
Matthias Beyer 33b52cc928
Merge pull request #1480 from matthiasbeyer/imag-contact/allow-non-absolut-pathes
Revert "Deny non-absolut import pathes"
2018-05-02 21:05:13 +02:00
Matthias Beyer 846de028cf Add trace output in filtering process 2018-05-02 20:42:56 +02:00
Matthias Beyer 191f049ea8 Add language documentation in commandline help 2018-05-02 20:42:56 +02:00
Matthias Beyer f618026305 Add store cache flushing after each 100st entry 2018-05-02 20:42:56 +02:00
Matthias Beyer c27349e94f Implement header filter language 2018-05-02 20:42:56 +02:00
Matthias Beyer f4e1c0864c Implement 'where' subcommand 2018-05-02 20:42:56 +02:00
Matthias Beyer d518322401 Add notes how the filter language should look like 2018-05-02 20:42:56 +02:00
Matthias Beyer 74c982984c Move collection filter to new module 2018-05-02 20:42:56 +02:00
Matthias Beyer f85dc02db6 Revert "Deny non-absolut import pathes"
This reverts commit b90abfb868.

Because `libimagcontact` is not based on `libimagentryref` anymore (as
of 2b10ab0b36), and thus does not put
pathes into the header, we can allow non-absolute pathes here.
2018-05-02 19:42:38 +02:00
Matthias Beyer eb20a9d881
Merge pull request #1477 from matthiasbeyer/libimagstore/remove-walk
Remove Store::walk()
2018-05-02 18:39:11 +02:00
Matthias Beyer 0dbef993c1 Adapt "imag store verify" implementation for removed Store::walk() 2018-05-02 17:46:45 +02:00
Matthias Beyer 258d9f90d3 Remove Store::walk()
This patch removes the Store::walk() interface.

It was cumbersome and unused anyways.
2018-05-02 17:46:45 +02:00
Matthias Beyer b52cb0d697
Merge pull request #1479 from matthiasbeyer/libimagstore/fix-fa-iter-checkfileexists
Fix: Do not check whether path exists - check whether its a file
2018-05-02 15:19:44 +02:00
Matthias Beyer 888b31377e Fix: Do not check whether path exists - check whether its a file
This fixes a bug introduced in 195d921218
where we didn't check whether the path is actually a file.
2018-05-02 14:04:59 +02:00
Matthias Beyer c4d10c7e4f
Merge pull request #1457 from matthiasbeyer/minor
Minor
2018-05-02 11:41:30 +02:00
Matthias Beyer 8f3b725b43 Show revision which merged the change in generated changelog 2018-05-01 22:32:02 +02:00
Matthias Beyer 2bf09e7737 Only create directory if it does not exist 2018-05-01 22:29:46 +02:00
Matthias Beyer 84f426297e Add debug output 2018-05-01 22:29:46 +02:00
Matthias Beyer b27b392f4b Add trace output 2018-05-01 22:29:46 +02:00
Matthias Beyer 9f99783c6e Add importer for ioverlander into imag-wiki 2018-05-01 22:29:46 +02:00
Matthias Beyer 9efa4c715f Add changelog for 0.7.1 2018-05-01 22:29:46 +02:00
Matthias Beyer eebe51b68e Add usage example 2018-05-01 22:29:46 +02:00
Matthias Beyer a35ebce73a Add helper to find contacts with imag-contact in mutt 2018-05-01 22:29:46 +02:00
Matthias Beyer 08ce39989f Remove duplicated script: scripts/gen-changelog exists 2018-05-01 22:29:46 +02:00
Matthias Beyer be62843608 Fix description 2018-05-01 22:29:46 +02:00
Matthias Beyer 195d921218
Merge pull request #1471 from matthiasbeyer/libimagstore/store-entries-do-not-collect
libimagstore: Do not collect in Iterators
2018-05-01 22:14:26 +02:00
Matthias Beyer 972327e35e Remove Store::reset_backend() 2018-05-01 21:09:51 +02:00