Commit graph

225 commits

Author SHA1 Message Date
0c4be78223 Update dependency: toml-query -> 0.6 2018-01-13 01:14:03 +01:00
8d69e45c0e Add imag-edit command 2018-01-09 11:56:22 +01:00
5c2d15cf56 Add changelog entry for libimagentryutil 2018-01-08 23:46:36 +01:00
2d83796ef2 Initial import: libimagentryutil 2018-01-08 23:31:10 +01:00
7cf60d5bec
Merge pull request #1208 from matthiasbeyer/libimagdiary-bookmarkcollection-nonwrapping
libimagdiary: Do not wrap store types
2018-01-08 23:11:54 +01:00
689310edfe Rename Store::retrieve_copy to Store::get_copy
The function was named falsely and nobody noticed. So nobody uses this
function yet - hopefully - as this change is a breaking API change.
2018-01-08 15:16:41 +01:00
80c460dac9 Transform BookmarkCollection into two traits
One trait is implemented on the Store, it retrieves BookmarkCollection
objects.
The other is implemented on `libimagstore::store::Entry` which then
represents a BookmarkCollection.
2018-01-08 15:16:14 +01:00
53f554a279 Add the changelog up to now 2018-01-07 20:26:51 +01:00
5aeaacc317
Merge pull request #1190 from matthiasbeyer/imag-init/init
imag-init: initial import
2018-01-04 19:37:50 +01:00
b60b5c8981
Merge pull request #1184 from matthiasbeyer/imag-log/init
imag-log: init
2018-01-04 10:31:00 +01:00
9a76a2065b Add idea about functionality to include core-CLI things into domain-CLI 2018-01-03 17:42:26 +01:00
18424717f4 Rewrite TODOs into Roadmap 2018-01-03 17:42:26 +01:00
0865984d6f Add example usage for the log functionality 2018-01-03 16:54:08 +01:00
7a364639ee Initial import: imag-log 2018-01-03 16:54:08 +01:00
f324deb41e imag-init: initial import 2018-01-03 15:48:58 +01:00
92d4a0237e Initial import: libimaglog 2017-12-25 21:46:04 +01:00
f3ba1791b9 Update version strings in doc 2017-12-25 19:17:07 +01:00
29bde7a68f Update date in documentation 2017-12-23 15:32:30 +01:00
261aac55f2 Finalize changelog 2017-12-23 15:25:08 +01:00
591046d1f6 Remove finished TODOs 2017-12-23 15:25:08 +01:00
552d963980 Add changelog entry 2017-12-23 14:20:46 +01:00
9ec5ed9b05 Rewrite imag-link commandline to be intelligent
This patch is a rewrite for the imag-link commandline to automatically
recognize whether an internal or an external link is about to be made
and automatically do the right thing.

The commandline got a lot easier and also smaller in size (as in number
of commands), but the functionality should remain the same.
2017-12-23 12:57:13 +01:00
be79f6373e Import crate for imag-habit 2017-12-22 14:40:01 +01:00
7c752e8ef3 Update list of library todos 2017-12-20 14:45:26 +01:00
872dbb91e0 Update todo-list of crates which are done 2017-12-20 14:45:02 +01:00
167511afec Fix formatting and adjust module/lib documentation
Also add symlink in module implementation to lib-documentation.
2017-12-08 14:54:40 +01:00
5661dd8e35 Add CHANGELOG entry for imag-contact 2017-11-09 11:25:56 +01:00
eaa9ad5993 Add basic documentation on how the lib works 2017-10-31 19:09:43 +01:00
4250241f18 Try to get RTP from IMAG_RTP 2017-10-31 15:30:29 +01:00
eca7219039 Rewrite configuration providing in runtime
Before the configuration object (the raw TOML object) was provided via a
wrapper object `Configuration`. This was ugly and not very nice to use.

Now, we only have the `toml::Value` object we lend out from
`Runtime::config()`.

The changes included libimagrt internal rewrites, which are not visible
to the user. Anyways, this change changes the API for config-fetching
from the runtime, so fixes for all other crates may follow.

The changes also removed the support for reading the "editor" setting
from the configuration file, which was not used anyways (in the example
imagrc.toml file).
The CLI-reading and ENV-reading are still supported, though.
2017-10-31 09:25:14 +01:00
a5042ba80c Add changelog entry 2017-10-16 14:43:21 +02:00
a3de0f6712 Reword contributing guidelines 2017-10-15 10:56:39 +02:00
cd429a3116 Rewrite module section intro 2017-10-15 10:47:00 +02:00
16ebf52385 Revisit the documentation for the store 2017-10-14 21:52:16 +02:00
6068f2b52d Rephrase architecture doc. 2017-10-14 21:35:55 +02:00
b942b9702d Reword intro 2017-10-14 21:20:45 +02:00
106ba44d4a Update tool todo-list 2017-10-14 15:38:04 +02:00
01f527d7c4 Fix typos 2017-10-14 15:38:00 +02:00
5928968c8f Explain versioning conventions 2017-10-14 15:38:00 +02:00
2de3c512e3 Format markup 2017-10-14 15:37:53 +02:00
fcd30a80ad Revisit doc on entry version
We don't have that concept anymore, remove docs for it.
2017-10-14 15:29:41 +02:00
704c01b2c9 Merge pull request #1130 from matthiasbeyer/imag-annotate/init
Imag annotate/init
2017-10-13 16:20:57 +02:00
1d270ee1cf Add changelog entry 2017-10-13 14:53:57 +02:00
23f4d7948f Fix Store::entries() to not yield directories
Before the iterator did also yield storeids for directories, which was a
bug.

This change introduces a new if_file() function in the store-internal
backend, which is needed to check whether a path actually points to a
File, be it inmemory or on the real filesystem.

That's because tests might fail if they check via PathBuf::is_file() as
in tests, the entries only exist inmemory.
2017-10-13 14:26:06 +02:00
d4633d466e Add changelog entry 2017-10-12 22:15:13 +02:00
Kai Sickeler
1f84643486 Dump all StoreIds
Add StoreId Dump changes
2017-10-09 12:18:27 +02:00
f266791142 Add multi-destination logging to logger
The logger was not able to handle multiple destinations before. Now it
is possible for the logger.

The file must be held behind an Arc<Mutex<_>> so we can use the logging
from multiple threads but also because we need to borrow mutably, so
that bit changes whith this commit.
2017-10-08 18:08:51 +02:00
969211174a Rewrite imag-view
The imag-view command was redesigned with this change. It now looks up
view-templates in the config and calls them with the "in" subcommand.

This way, an entry can be viewed with editor, browser or whatever one
likes.

Compiling markdown is not supported yet.
2017-10-08 15:08:27 +02:00
d9add138d2 Use positional argument for id 2017-10-08 13:02:56 +02:00
c5ad59e96f Initial import of imag-mv 2017-10-01 10:07:29 +02:00