Commit graph

4738 commits

Author SHA1 Message Date
39dd9e8d7c Add Task trait for getting UUID from task 2017-09-04 09:20:14 +02:00
72ea21ee1f Rename module task -> taskstore 2017-09-04 09:20:14 +02:00
18e806f588 Remove dedicated result modules, use error chain generated Result types 2017-09-04 09:19:29 +02:00
acb4df5033 Merge pull request #1050 from matthiasbeyer/unused-fns-in-macro
Allow generated fns from macros to be unused
2017-09-04 09:17:00 +02:00
e9ed4dfcab Merge pull request #1048 from matthiasbeyer/remove-intoerror
Remove "IntoError" trait, use error_chain functionality
2017-09-03 23:04:30 +02:00
46f769deb8 Add test for delete() 2017-09-03 22:08:06 +02:00
eefcfd02dc Allow generated fns from macros to be unused 2017-09-03 22:01:40 +02:00
014daee93b Add test for create() 2017-09-03 22:00:34 +02:00
7ce44e8090 Remove "IntoError" trait, use error_chain functionality 2017-09-03 21:34:07 +02:00
28d7085b2d Remove error_chain dependency, not needed 2017-09-03 21:33:55 +02:00
2b845c773b imag-mail: Rewrite error handling 2017-09-03 21:33:54 +02:00
69b3fe52c6 imag-diary: Rewrite error handling 2017-09-03 21:33:54 +02:00
54219cb6fa imag-store: Rewrite error handling 2017-09-03 21:33:54 +02:00
936a314efa libimagtodo: Rewrite error handling 2017-09-03 21:33:54 +02:00
a5bb7a9bec libimagtimetrack: Rewrite error handling 2017-09-03 21:33:54 +02:00
22cff91653 libimagmail: Rewrite error handling 2017-09-03 21:33:54 +02:00
677a5e8886 libimagdiary: Rewrite error handling 2017-09-03 21:33:54 +02:00
31dc0eebc2 libimagcounter: Rewrite error handling 2017-09-03 21:33:54 +02:00
c9dbf76395 libimagbookmark: Rewrite error handling 2017-09-03 21:33:54 +02:00
5b781702cc libimagentryview: Rewrite error handling 2017-09-03 21:33:54 +02:00
0ede39a991 libimagentrytag: Rewrite error handling 2017-09-03 21:33:54 +02:00
8d8a91e7c5 libimagentrycategory: Rewrite error handling 2017-09-03 21:33:54 +02:00
262aae39f4 libimagentryannotation: Rewrite error handling 2017-09-03 21:33:54 +02:00
d443b83b52 libimagentrydatetime: Rewrite error handling 2017-09-03 21:33:54 +02:00
0b068df84e libimagnotes: Rewrite error handling 2017-09-03 21:33:54 +02:00
22be1627b7 libimagentryref: Rewrite error handling 2017-09-03 21:33:54 +02:00
bb6956740d libimagentrymarkdown: Rewrite error handling 2017-09-03 21:33:54 +02:00
9aa5d7439d libimagentrylist: Rewrite error handling 2017-09-03 21:33:54 +02:00
4b4b0b0804 libimagentryedit: Rewrite error handling 2017-09-03 21:33:54 +02:00
ca0dd5906d libimagentrylink: Rewrite error handling 2017-09-03 21:33:54 +02:00
ac34b4ee66 libimaginteraction: Rewrite error handling 2017-09-03 21:33:54 +02:00
b6909a2c86 libimagrt: Rewrite error handling 2017-09-03 21:33:54 +02:00
2df99524e7 libimagstore: rewrite error handling code 2017-09-03 21:33:54 +02:00
c870a0a240 Merge pull request #1028 from matthiasbeyer/scripts
Scripts
2017-09-03 16:48:25 +02:00
25ffb60d7b Merge pull request #1023 from matthiasbeyer/rewrite-logging
Rewrite logging
2017-09-03 15:42:50 +02:00
603808a9fa Impl IntoError for error kinds 2017-09-03 15:42:06 +02:00
9713a4632c Remove error_gen module entirely 2017-09-03 15:42:06 +02:00
a309fdb280 Add recursion limits to crates 2017-09-03 15:42:06 +02:00
11d881d3a9 Add dependency to crates: error_chain = 0.10 2017-09-03 15:42:06 +02:00
e77d353c52 Rewrite macros to do error-chain behind the scenes 2017-09-03 15:42:03 +02:00
336e0fb918 Add changelog 2017-09-03 13:48:36 +02:00
4908cc6aaa Add more helpers 2017-09-03 13:48:05 +02:00
0683bf198b Fix recursion problem 2017-09-03 13:48:05 +02:00
93444be412 Light code cleanup 2017-09-03 13:48:05 +02:00
64f96092cd Fix aggregation 2017-09-03 13:48:05 +02:00
df51736c87 Add imag logging configuration 2017-09-03 13:48:05 +02:00
482377abb9 Actually print error here (as logging isnt initialized at this point) 2017-09-03 13:48:05 +02:00
5ec1cd48a0 Implement format-fetching from config/cli 2017-09-03 13:48:05 +02:00
ae24954020 Implement templating 2017-09-03 13:48:05 +02:00
2c66dcdf37 Rewrite logging: Types
This is the first part of a series of patches that reimplements the
logging backend to be more powerful and configurable.

This first patch adds types and infrastructure to be able to implement a
powerful logging abstraction.

It does not implement much functionality, except for a check whether a
module is enabled or not when logging (if configured in the config
file).
2017-09-03 13:48:05 +02:00