Commit graph

5939 commits

Author SHA1 Message Date
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
609c7fef93 Merge pull request #1043 from matthiasbeyer/imag-link/positional-args
imag-link: positional args
2017-09-02 20:49:31 +02:00
3a959ddfd1 Add multi-call tests: add-remove 2017-09-02 17:26:24 +02:00
e7ecea0065 Add test to check links from one entry to two others 2017-09-02 17:26:24 +02:00
d538d5fffe Adapt tests to new UI 2017-09-02 17:26:24 +02:00
2a20306099 Rewrite link listing to work with positional argument 2017-09-02 17:26:24 +02:00
46dcbb828e Rewrite UI to use positional arguments 2017-09-02 17:26:24 +02:00
5626a365c6 Merge pull request #1044 from matthiasbeyer/libimagrt/feature-testing
Add store extraction to Runtime
2017-09-02 17:25:13 +02:00
Mario Krehl
0f317858e2 Refactor imag-todo to work with the TaskStore trait instead of Task 2017-09-02 16:12:12 +02:00
Mario Krehl
58a2729da0 Changed Task trait to TaskStore trait, implemented for the Store instead of the FileLockEntry 2017-09-02 14:30:27 +02:00
8c69ed54e4 Merge pull request #1035 from matthiasbeyer/tag-ui-feature-to-bin
Tag ui feature to bin
2017-09-02 14:10:01 +02:00
147c264ee3 Merge pull request #1045 from matthiasbeyer/libimagutil/bugfix-testing
Bugfix: Fix macro to use the appname instead of hardcoded values
2017-09-02 14:09:20 +02:00
b55f46764f Fix dependency spec: libimagrt must be used with "testing" enabled for tests 2017-09-02 14:04:47 +02:00
Mario Krehl
ef92acb1b0 Refactor imag-todo to work with the changes in libimagtodo 2017-09-02 13:29:49 +02:00
Mario Krehl
f3bb6d02d0 Change the Task(FileLockEntry) type to a trait 2017-09-02 12:23:29 +02:00
ab06263507 Add store extraction to Runtime
This is necessary to be able to re-build a Runtime object with an new
set of "commandline arguments". For example if a test wants to test two
calls to imag, for example a "add" operation followed by a "remove" operation.

These functions are feature-gated therefor and should only be used in
tests.
2017-09-02 10:42:11 +02:00
b32245b03a Bugfix: Fix macro to use the appname instead of hardcoded values 2017-09-02 10:41:38 +02:00
26115bf7f8 Remove tagging functionality from imag-notes 2017-09-02 10:16:56 +02:00
b787ef1696 Move tagging UI code to binary 2017-09-02 10:16:56 +02:00
177e5bf762 Remove tagging support 2017-09-02 10:16:55 +02:00
1760c41975 Merge pull request #1040 from matthiasbeyer/libimagentrygps/init
libimagentrygps: init
2017-09-01 22:14:39 +02:00
8b6ca52e87 Add applypatch-msg hook for Signed-off-by line checking 2017-09-01 20:37:53 +02:00
e9bd61be76 Add some helper hooks 2017-09-01 20:37:53 +02:00
b4a3765c2c Add script to check a branch for Signed-off-by lines in commits 2017-09-01 20:37:53 +02:00
caa8529abc Add libimagentrygps 2017-09-01 20:36:03 +02:00
1a244a3d6b Add setget test 2017-09-01 20:35:30 +02:00
eb32027546 Add test setup with first test 2017-09-01 20:35:30 +02:00
3bad9e2e92 Add entry module 2017-09-01 20:35:30 +02:00
90b3ae1f70 Add base types for the API 2017-09-01 20:35:30 +02:00
c2343eda67 Add error, result module 2017-09-01 20:35:30 +02:00
fb2dd3017a Initial import 2017-09-01 20:35:30 +02:00
279afd1972 Merge pull request #1038 from matthiasbeyer/changelog
Changelog
2017-09-01 20:34:58 +02:00
3a0603e793 Merge pull request #1039 from matthiasbeyer/cargo-toml-fix-readme
Fix readme links in cargo metadata
2017-09-01 20:30:44 +02:00
048517a3c2 Fix readme links in cargo metadata 2017-09-01 18:48:02 +02:00
f71065c24d Add changelog for 0.3.0..master 2017-09-01 14:40:30 +02:00
a5e836fecb Add changelog 2017-09-01 14:25:00 +02:00
1fe5a23331 Merge pull request #1031 from matthiasbeyer/libimagdiary/extension-as-trait
libimagdiary: extension as trait
2017-09-01 13:15:58 +02:00
8071c4c721 Refactor, minify edit() impl 2017-09-01 11:04:07 +02:00
356c86fd51 Refactor, minify create() impl 2017-09-01 11:04:07 +02:00
7e7cf8ecf8 Refactor, minify delete() impl 2017-09-01 11:04:07 +02:00
21c15ca207 Adapt imag-diary to compile with the new libimagdiary API 2017-09-01 11:04:07 +02:00
31fa07d43a Add another small helper 2017-09-01 11:04:07 +02:00
95b7da1ed2 Impl Entry (now DiaryEntry) as trait 2017-09-01 11:04:06 +02:00
9c69645b69 Implement Diary as trait 2017-09-01 11:04:06 +02:00
f653354e73 Merge pull request #1036 from matthiasbeyer/imag-documentation/fix-version
Fix documentation version number for next release
2017-09-01 08:55:39 +02:00
22de22e6e5 Merge pull request #1034 from matthiasbeyer/integrate-remove-unused
Integrate remove unused
2017-08-31 21:38:02 +02:00
7e4275c420 Remove unused crate import 2017-08-31 20:56:13 +02:00
6a8af5ef01 Remove unused imports 2017-08-31 20:56:13 +02:00
ec639be3e1 Fix artifacts from libimagstore::toml_ext times 2017-08-31 20:56:13 +02:00
74ec12d5c2 Remove artifacts
I don't even know how this could re-appear in the codebase as we removed
the toml_ext thing a while ago... strange!
2017-08-31 20:56:13 +02:00