Commit graph

4740 commits

Author SHA1 Message Date
307165d1b2 Remove ConfigReadError because ::toml_query::error::Error is now linked in 2017-09-09 22:15:18 +02:00
a015b07f6a Remove TomlReadError by linking in ::toml_query::error::Error 2017-09-09 22:09:36 +02:00
4849cc4822 Remove TemplateStringRegistrationError by linking in handlebars error type 2017-09-09 22:04:32 +02:00
83f9350d98 Add param to EntryAlreadyBorrowed error 2017-09-09 21:59:36 +02:00
a28613b889 Add param to StorePathCreate 2017-09-09 21:59:36 +02:00
ff8569809b Add parameter to StorePathExists error 2017-09-09 21:59:36 +02:00
78db822917 Remove unused error type 2017-09-09 21:59:36 +02:00
ca9123c740 Add parameter to IdNotFound error 2017-09-09 21:27:10 +02:00
b682e7f8db Remove warning which is printed by the store 2017-09-09 21:14:08 +02:00
21440d58aa Remove outdated comment 2017-09-09 21:13:38 +02:00
3d8f75300d Remove unecessary error chaining 2017-09-09 21:13:21 +02:00
4420f7a518 Merge pull request #1059 from matthiasbeyer/libimagentrylink/header-location
libimagentrylink: Fix header locations
2017-09-09 20:35:33 +02:00
dc263de947 Fix imag-link tests for new header location 2017-09-09 16:36:21 +02:00
8aa5c2d82d Fix header locations
Also change that the implementation uses toml_query::set instead of
toml_query::insert.

Inserting values creates intermediate tables, set doesn't. And we really
want that convenience here, as the code is complex enough on its own.
2017-09-09 16:36:21 +02:00
374027df3c Merge pull request #1061 from matthiasbeyer/aliases
Implement aliases for imag binary
2017-09-09 14:52:37 +02:00
36771b0b5f Merge pull request #1060 from matthiasbeyer/update-editorconfig
Updates for the editorconfig file.
2017-09-08 18:38:40 +02:00
c332bcb195 Implement aliases for imag binary 2017-09-08 17:08:14 +02:00
7b61c61784 Remove Makefile/html config, set {md,yaml,nix} indent to 4 spaces 2017-09-08 16:28:21 +02:00
59feec5f0f Merge pull request #1058 from matthiasbeyer/libimagentrymarkdown/md-links-to-imag-links
libimagentrymarkdown: md links to imag links
2017-09-07 22:10:07 +02:00
250bc3d8a7 Add tests for processing with appropriate setting switched off 2017-09-07 20:57:22 +02:00
18ebd568dc Add test for processing two refs 2017-09-07 20:57:22 +02:00
98aa7bf716 Add test to test ref creation 2017-09-07 20:57:22 +02:00
24985a2384 Add test for processing external link 2017-09-07 20:57:22 +02:00
3cb2393c08 Add test for automatically creating linked entries 2017-09-07 20:57:22 +02:00
0aea9151dd Add test for faulty link 2017-09-07 20:57:22 +02:00
0b640e18be Add test to check whether internal links are parsed and set correctly 2017-09-07 20:57:22 +02:00
0a60f5ca55 Add test for processing entry without links 2017-09-07 20:57:22 +02:00
9c68514dfb Add processor for collecting links from content
and putting them into the header via the functionality offered by
`libimagentrylink`.
2017-09-07 20:57:22 +02:00
e0e57ecdff Merge pull request #1057 from matthiasbeyer/update-toml-query
Update toml-query: 0.3.* -> ^0.3.1
2017-09-06 22:07:38 +02:00
976f280511 Update toml-query: 0.3.* -> ^0.3.1
This release contains a bugfix for a critical bug in the
`TomlValueInsertExt::insert()` algorithm which was triggered by an
edgecase.
2017-09-06 19:30:32 +02:00
86fae34d0d Merge pull request #1056 from matthiasbeyer/libimagstore/rewrite-store-entries-fn
Rewrite Store::entries() implementation
2017-09-06 17:39:44 +02:00
b10d63c134 Rewrite Store::entries() implementation
As we rely on the filesystem in Store::entries(), which is a bug and
shouldn't be done, we rewrite this function and use the file_abstraction
framework.
2017-09-06 16:11:19 +02:00
ea697a2fa1 Merge pull request #1052 from matthiasbeyer/imag-store/positional-args
imag-store: positional args
2017-09-06 09:11:48 +02:00
822cbb2b3a Merge pull request #1054 from matthiasbeyer/fix-testing
Fix Store loading in tests: Use in-memory store backend
2017-09-05 23:15:57 +02:00
30b466b622 Update changelog 2017-09-05 22:03:13 +02:00
9d8a8f0bf4 Fix Store loading in tests: Use in-memory store backend 2017-09-05 22:00:58 +02:00
f86d02ecbb Adapt the cli-test for delete()
In the process fix the binary name.
2017-09-05 17:41:09 +02:00
861817a87f Adapt cli-test for create()
In the process fix the binary name.
2017-09-05 17:39:17 +02:00
7b1ffdfa4b Rewrite delete() to use positional arg 2017-09-05 17:36:32 +02:00
9e9c04e5f3 Rewrite update() to use positional arg 2017-09-05 17:36:32 +02:00
381223efd9 Rewrite get() to use positional arg 2017-09-05 17:36:32 +02:00
9dde4731f2 Rewrite retrieve() to use positional arg 2017-09-05 17:36:32 +02:00
a71732be49 Rewrite create() to use positional arg 2017-09-05 17:36:32 +02:00
e6d96c9f83 Merge pull request #1037 from matthiasbeyer/libimagerror/based-on-error-chain
Libimagerror/based on error chain
2017-09-05 09:02:47 +02:00
b445cea9e7 Check TODO, add Changelog 2017-09-04 23:09:05 +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
6d1dab3117 Merge pull request #1029 from matthiasbeyer/all-extensions-as-traits
All extensions as traits
2017-09-04 21:59:54 +02:00
6583ba04a2 Merge pull request #1047 from mario-kr/all-extensions-as-traits_imag-todo
imag-todo/libimagtodo: All extensions as traits
2017-09-04 19:36:38 +02:00
f025416cf7 Merge pull request #1051 from matthiasbeyer/imag-store/tests
Imag store/tests
2017-09-04 17:07:46 +02:00
51650bf043 Small embellishments
Fix false documentation, make warn!() into error!() and provide more
information in the logged message.
2017-09-04 16:24:50 +02:00