Commit graph

4606 commits

Author SHA1 Message Date
05c7467866 Merge pull request #1064 from matthiasbeyer/imag-diary/per-diary-timed-config
imag-diary: per diary timed config
2017-09-14 20:56:18 +02:00
e049559bed Fix: Let the track command parse the start/end time more intelligently
It understands "now" from this point and can parse dates or date-times
(whereas dates get normalized to date + hour 0, minute 0, second 0).
2017-09-14 20:49:10 +02:00
bcb6c7b52d Add changelog entry 2017-09-14 20:06:22 +02:00
dc78c0e448 Change create() to check config and commandline whether entry should be created timed or not 2017-09-14 18:59:03 +02:00
dbf529e427 Add config parsing helpers 2017-09-14 18:58:40 +02:00
ea982204b9 Add new deps: toml, toml_query 2017-09-14 18:58:17 +02:00
e4036c531b Add example setting for diary 2017-09-14 18:57:59 +02:00
3a317451f6 Add RSS feed 2017-09-11 16:42:06 +02:00
53c7d602eb Merge pull request #1062 from matthiasbeyer/libimagstore/error-opt
libimagstore: Optimize errors
2017-09-10 11:45:59 +02:00
785e17a4a3 Add param to StoreIdHasNoBaseError 2017-09-10 10:48:51 +02:00
a670172880 Add param to StoreIdLocalPartAbsoluteError 2017-09-10 10:48:50 +02:00
b772908697 Add params to EntryRenameError 2017-09-10 10:48:50 +02:00
2ce2ba54da Replace GlobError with link to ::glob::PatternError 2017-09-10 10:48:50 +02:00
6aa695974c Add param to EntryAlreadyExists error 2017-09-10 10:48:50 +02:00
baf8eda571 Merge pull request #1063 from matthiasbeyer/libimagrt/error-opt
libimagrt: error optimizations
2017-09-09 23:32:08 +02:00
126aa75a2c Add param to ConfigTypeError 2017-09-09 22:24:58 +02:00
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