Commit Graph

4314 Commits

Author SHA1 Message Date
Matthias Beyer b4e6200eab Merge pull request #1070 from matthiasbeyer/libimagstore/iter
libimagstore: iter
2017-09-15 13:53:52 +02:00
Matthias Beyer 5271255ae3 Fix libimagentryannotation for changes in libimagnotes 2017-09-15 13:53:30 +02:00
Matthias Beyer cefe58ffd4 Add changelog 2017-09-15 13:53:30 +02:00
Matthias Beyer 2bbda59051 Refactor and simplify imag-notes binary 2017-09-15 13:53:16 +02:00
Matthias Beyer 94855fb722 Refactor libimagdiary
To not wrap types anymore, but rather use extension traits for extending
all the things.
2017-09-15 13:53:16 +02:00
Matthias Beyer 8b8e4e9c6e Minify iterator helper implementation 2017-09-15 13:17:12 +02:00
Matthias Beyer fce5df48c8 Add simple iterator helpers for StoreIdIterator -> CRUD Iterator 2017-09-15 13:07:49 +02:00
Matthias Beyer 2f0fa2b6ca Merge pull request #1068 from matthiasbeyer/imag-timetrack/fix-track-command
Fix: Let the track command parse the start/end time more intelligently
2017-09-15 12:38:42 +02:00
Matthias Beyer 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
Matthias Beyer 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
Matthias Beyer bcb6c7b52d Add changelog entry 2017-09-14 20:06:22 +02:00
Matthias Beyer dc78c0e448 Change create() to check config and commandline whether entry should be created timed or not 2017-09-14 18:59:03 +02:00
Matthias Beyer dbf529e427 Add config parsing helpers 2017-09-14 18:58:40 +02:00
Matthias Beyer ea982204b9 Add new deps: toml, toml_query 2017-09-14 18:58:17 +02:00
Matthias Beyer e4036c531b Add example setting for diary 2017-09-14 18:57:59 +02:00
Matthias Beyer 3a317451f6 Add RSS feed 2017-09-11 16:42:06 +02:00
Matthias Beyer 53c7d602eb Merge pull request #1062 from matthiasbeyer/libimagstore/error-opt
libimagstore: Optimize errors
2017-09-10 11:45:59 +02:00
Matthias Beyer 785e17a4a3 Add param to StoreIdHasNoBaseError 2017-09-10 10:48:51 +02:00
Matthias Beyer a670172880 Add param to StoreIdLocalPartAbsoluteError 2017-09-10 10:48:50 +02:00
Matthias Beyer b772908697 Add params to EntryRenameError 2017-09-10 10:48:50 +02:00
Matthias Beyer 2ce2ba54da Replace GlobError with link to ::glob::PatternError 2017-09-10 10:48:50 +02:00
Matthias Beyer 6aa695974c Add param to EntryAlreadyExists error 2017-09-10 10:48:50 +02:00
Matthias Beyer baf8eda571 Merge pull request #1063 from matthiasbeyer/libimagrt/error-opt
libimagrt: error optimizations
2017-09-09 23:32:08 +02:00
Matthias Beyer 126aa75a2c Add param to ConfigTypeError 2017-09-09 22:24:58 +02:00
Matthias Beyer 307165d1b2 Remove ConfigReadError because ::toml_query::error::Error is now linked in 2017-09-09 22:15:18 +02:00
Matthias Beyer a015b07f6a Remove TomlReadError by linking in ::toml_query::error::Error 2017-09-09 22:09:36 +02:00
Matthias Beyer 4849cc4822 Remove TemplateStringRegistrationError by linking in handlebars error type 2017-09-09 22:04:32 +02:00
Matthias Beyer 83f9350d98 Add param to EntryAlreadyBorrowed error 2017-09-09 21:59:36 +02:00
Matthias Beyer a28613b889 Add param to StorePathCreate 2017-09-09 21:59:36 +02:00
Matthias Beyer ff8569809b Add parameter to StorePathExists error 2017-09-09 21:59:36 +02:00
Matthias Beyer 78db822917 Remove unused error type 2017-09-09 21:59:36 +02:00
Matthias Beyer ca9123c740 Add parameter to IdNotFound error 2017-09-09 21:27:10 +02:00
Matthias Beyer b682e7f8db Remove warning which is printed by the store 2017-09-09 21:14:08 +02:00
Matthias Beyer 21440d58aa Remove outdated comment 2017-09-09 21:13:38 +02:00
Matthias Beyer 3d8f75300d Remove unecessary error chaining 2017-09-09 21:13:21 +02:00
Matthias Beyer 4420f7a518 Merge pull request #1059 from matthiasbeyer/libimagentrylink/header-location
libimagentrylink: Fix header locations
2017-09-09 20:35:33 +02:00
Matthias Beyer dc263de947 Fix imag-link tests for new header location 2017-09-09 16:36:21 +02:00
Matthias Beyer 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
Matthias Beyer 374027df3c Merge pull request #1061 from matthiasbeyer/aliases
Implement aliases for imag binary
2017-09-09 14:52:37 +02:00
Matthias Beyer 36771b0b5f Merge pull request #1060 from matthiasbeyer/update-editorconfig
Updates for the editorconfig file.
2017-09-08 18:38:40 +02:00
Matthias Beyer c332bcb195 Implement aliases for imag binary 2017-09-08 17:08:14 +02:00
Matthias Beyer 7b61c61784 Remove Makefile/html config, set {md,yaml,nix} indent to 4 spaces 2017-09-08 16:28:21 +02:00
Matthias Beyer 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
Matthias Beyer 250bc3d8a7 Add tests for processing with appropriate setting switched off 2017-09-07 20:57:22 +02:00
Matthias Beyer 18ebd568dc Add test for processing two refs 2017-09-07 20:57:22 +02:00
Matthias Beyer 98aa7bf716 Add test to test ref creation 2017-09-07 20:57:22 +02:00
Matthias Beyer 24985a2384 Add test for processing external link 2017-09-07 20:57:22 +02:00
Matthias Beyer 3cb2393c08 Add test for automatically creating linked entries 2017-09-07 20:57:22 +02:00
Matthias Beyer 0aea9151dd Add test for faulty link 2017-09-07 20:57:22 +02:00
Matthias Beyer 0b640e18be Add test to check whether internal links are parsed and set correctly 2017-09-07 20:57:22 +02:00