3272dbfd74
imag-mv: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:29 +01:00
8114c5976c
imag-diagnostics: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:29 +01:00
279751b99c
imag-ids: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:29 +01:00
3cfe5f217c
imag-gps: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:29 +01:00
12644f22d9
imag-category: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:29 +01:00
79b996f0ad
imag: Move from error-chain to failure
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-30 18:46:29 +01:00
52c5300ec8
Update about-text in imag-wiki
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-17 11:37:24 +02:00
f970fc987f
Update about-text in imag-tag
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-17 11:37:24 +02:00
5b4715b311
Update about-text in imag-link
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-17 11:37:24 +02:00
0d103653ea
Update about-text in imag-ids
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-17 11:37:24 +02:00
325c5ddbd0
Fix: URL in imag helptext
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-17 11:37:24 +02:00
8e232523b2
Fix: We dont have a subcommand "internal" anymore
...
This subcommand was passed but it does not exist. Unfortunately, the
tests did not fail...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-09 17:37:56 +02:00
e96fb53677
Fix: Use "retrieve" instead of "create" when importing
...
This fixes a bug where a re-import of the contacts directory failed
because some entries already exist.
With this change, one can import the contact directory after things
changed in there and the imag database is updated accordingly, but not
altered. So links and notes are persisting.
For completeness: before, the workflow was to
`cd $IMAG_RTP && git rm store/contacts -r && imag contact import /path/to/contacts`
which is of course not optimal.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-07 10:56:56 +02:00
029b83042d
Fix detecting of external links
...
Checking whether we have a file (on the FS) here is not enough for
either case (external link/internal link).
Thus, we should check whether a store entry with that ID exists. If it
does, we link internally, else externally by trying to parse the string
as URL.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-10-06 12:58:54 +02:00
f768c068e3
Update dependency: regex: 0.2 -> 1
2018-10-06 12:22:15 +02:00
0d6b345741
Update dependency: prettytable: 0.6 -> 0.8
2018-10-06 12:22:15 +02:00
f65824db22
Update dependency: prettytable: 0.6 -> 0.8
2018-10-06 12:22:15 +02:00
ab3b36ebcf
Update dependencies
...
walkdir: 1 -> 2
uuid: 0.6 -> 0.7
2018-10-06 12:22:15 +02:00
51730eed89
Update dependency: tempfile: 2 -> 3
2018-10-06 12:21:20 +02:00
502889b9a2
Update dependency: prettytable: 0.6 -> 0.8
2018-10-06 12:21:20 +02:00
f2de746293
Update dependency: regex: 0.2 -> 1
2018-10-06 12:21:20 +02:00
2077980f22
Update dependencies: log: 0.3 -> 0.4
2018-10-06 12:21:20 +02:00
3e4fcb19bb
Update dependencies: log: 0.3 -> 0.4, version: 2 -> 3
2018-10-06 12:21:20 +02:00
3b0b9c8d7b
Update dependency: walkdir 1 -> 2
2018-09-30 15:04:29 +02:00
89059bb7da
Fix: Use VcardBuilder instead of Vcard itself
...
The current implementation does not panic on VcardBuilder::build(), so
we unwrap() that directly.
Should be fixed in future versions of either rust-vobject or here, so
that we error appropriately.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-09-27 15:05:45 +02:00
d9e4eaad3c
Update kairos to master branch
...
Because of the new error-chain version which kairos can depend on, for
which kairos is not yet released.
2018-09-27 15:05:45 +02:00
e838f0d0e7
Update dependency: handlebars: 0.29.0 -> 1.0
2018-09-27 15:05:45 +02:00
f97d9e0d96
Temporarily set vobject to custom fork until we have a new release
2018-09-27 15:05:45 +02:00
946d9891e4
Update dependency: vobject: 0.{4,5} -> 0.6
2018-09-27 15:05:45 +02:00
61738ac9ee
Revert "Update dependency: handlebars: 0.29.0 -> 1.0"
...
This reverts commit a1f0872486995b80216e8a08a2176debdef3752a.
As updating handlebars needs some more involvement, we roll back to the
version we use currently and schedule the update for later.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-09-27 15:05:45 +02:00
c65e73acc8
Update dependency: kairos: 0.1 -> 0.2
2018-09-27 15:05:45 +02:00
abf6a3c384
Update dependency: handlebars: 0.29.0 -> 1.0
2018-09-27 15:05:45 +02:00
764a019817
Update dependency: log: 0.3 -> 0.4
2018-09-27 15:05:45 +02:00
3d12998603
Update dependency: toml-query: 0.6 -> 0.7
2018-09-27 15:05:44 +02:00
0a7afee454
Update dependency: error-chain: 0.11 -> 0.12
2018-09-27 15:05:25 +02:00
c791977aab
Merge pull request #1506 from matthiasbeyer/minor
...
Minor
2018-09-27 09:53:31 +02:00
6bf49aa6b5
Fix: 'imag-contact show' should increase output counter
2018-09-27 08:09:39 +02:00
6f768fe4ad
Add a progressbar to the command
...
Note: characters in config have to be escaped.
2018-09-27 07:40:10 +02:00
430186799b
Remove store flush caching as it is not necessary anymore
2018-09-27 07:31:47 +02:00
dc49b2265c
Fix: Binary name
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-08-26 04:24:57 +02:00
d2bf1751ac
Fix: Binary name
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-08-26 04:24:57 +02:00
9507db6d8e
Fix: Binary name
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-08-26 04:24:57 +02:00
ab32f21333
Fix: Binary name
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-08-26 04:24:57 +02:00
6e56f469ae
More verbose erroring in test
2018-08-26 04:24:57 +02:00
acdc1e84bc
Merge pull request #1495 from matthiasbeyer/imag-diary/fix-missing-header
...
Imag diary/fix missing header
2018-07-27 20:10:59 +02:00
b896bc2657
Fix: Do not create entries with Store::retrieve()
...
This patch fixes a bug where entries where created with
`Store::retrieve()` rather than with the API from libimagdiary.
This caused headers to be missing.
Now, the CLI is parsed for the values passed and a NaiveDateTime object
is crafted from that, which is then passed to libimagdiary.
2018-07-20 01:37:36 +02:00
22d63f0946
Add functionality to create entry at a certain time
2018-07-20 01:37:36 +02:00
f6a7345b4a
Simplify: Move header verification from Value extension to Entry type
2018-07-19 20:58:27 +02:00
8d86af5f15
Fix: Use unused result
2018-06-27 00:43:36 +02:00
eb682d76e8
Prettify error messages
2018-06-15 22:07:13 +02:00