Commit graph

1520 commits

Author SHA1 Message Date
e9587ced28 Implement view_versions_of() 2016-03-11 16:21:33 +01:00
d99d38bf8e Implement entry loading 2016-03-11 16:21:33 +01:00
d02ac8bd88 Add stdout-viewer 2016-03-11 16:21:19 +01:00
43d27ab689 Add main() 2016-03-11 16:21:02 +01:00
2e6b6b50fa Add ui::build_ui() 2016-03-11 16:20:20 +01:00
17eb59ae29 Add depdendencies 2016-03-11 16:20:01 +01:00
9f5a33f962 imag-view: init 2016-03-11 16:18:17 +01:00
9a918c9252 Merge pull request #242 from matthiasbeyer/libimagstore/revert-id_in_store-check
Revert "Check whether the StoreId is inside the store, before doing a…
2016-03-11 16:02:11 +01:00
086ad0ec69 Add external-link validation before setting 2016-03-11 15:15:02 +01:00
695ee9df9b Add (external) link validation 2016-03-11 15:15:02 +01:00
cb288eb868 Rewrite internal linking
* so you need to pass Entry instead of Link
* interal linking does two-way-linking
2016-03-11 15:15:02 +01:00
3b02a30788 Move Link/Links type to external linking code 2016-03-11 15:15:02 +01:00
b8766a224e Implement ExternalLinker for Entry for convenience 2016-03-11 15:15:02 +01:00
d6029678c7 Implement InternalLinker for Entry, for convenience 2016-03-11 15:15:02 +01:00
defec535c8 Refactor internal link helpers into trait 2016-03-11 15:15:02 +01:00
1e17b10568 Refactor external linking into trait 2016-03-11 15:15:02 +01:00
277c31237a lib: Add remove_link() 2016-03-11 15:15:02 +01:00
b7a5f57e3a lib: Implement add_link() 2016-03-11 15:15:02 +01:00
339ec08a83 lib: Add Links::{add,remove}() 2016-03-11 15:15:02 +01:00
6480fb515c lib: Derive some traits for Link{,s} type 2016-03-11 15:15:02 +01:00
19322b667a Add helper for processing store result 2016-03-11 15:15:02 +01:00
a53d36c23d Implement internal::set_links() 2016-03-11 15:15:02 +01:00
950dce945f Implement internal::get_links() 2016-03-11 15:15:02 +01:00
b6168f50a1 Implement: Links::new() 2016-03-11 15:15:02 +01:00
e4fae4cfcf Implement: of external::set_link() 2016-03-11 15:15:02 +01:00
18de6b80d5 Implement: external::get_link() 2016-03-11 15:15:02 +01:00
e6e9a1a19e Add Error kinds 2016-03-11 15:15:02 +01:00
17daf7c387 Add Link::new() 2016-03-11 15:15:02 +01:00
ff3d5dd94b Add initial interface spec 2016-03-11 15:15:02 +01:00
2430e68dc2 Add dependencies 2016-03-11 15:15:02 +01:00
e43bfa2c2c init: libimaglink 2016-03-11 15:15:02 +01:00
6c50d88669 Add tag filtering 2016-03-11 15:13:34 +01:00
b53f342fb8 Merge pull request #244 from matthiasbeyer/libimagstore/fix-add_implicit_directory_creating
Fix: implicitely create directories on file saving
2016-03-11 10:56:38 +01:00
6d7065d10e Fix test: StoreId does not start with "/" anymore 2016-03-10 19:12:00 +01:00
a9a64d4ab6 Fix: implicitely create directories on file saving 2016-03-10 19:06:27 +01:00
a3a09ff4ee Fix store creation of libimagstore
The macro may not prefix the StoreId internal PathBuf with '/', so this
path is not absolute. This way we can introduce `storify_id()` which
creates a proper PathBuf into the store out of our StoreId object.

Does not yet do verification whether the path is inside the store,
actually.
2016-03-10 18:46:26 +01:00
3413646934 Revert "Check whether the StoreId is inside the store, before doing anything on the FS"
This reverts commit 373502217e
as this commit was introducing a bug.

The StoreId type says `/test/example` for a store id path, which is
completely valid, as the root (`/`) is the store itself. The
id_in_store() function assumed that the store-id is the full
(file-system) path to the store entry, which is false.

This commit does not introduce a fix but revert the check.
2016-03-10 18:14:53 +01:00
40019b4384 Update {README,CONTRIBUTING}.md to contain more detailed information 2016-03-10 12:40:04 +01:00
19375f2b68 Add clap::ArgGroup to rely on clap for mutually exclusive args 2016-03-08 11:24:50 +01:00
7dde6c2a56 Merge pull request #235 from matthiasbeyer/libimagstore/update-glob
libimagstore: Update glob 0.2.10 -> 0.2.11
2016-03-07 17:58:27 +01:00
df1fd31771 libimagstore: Update glob 0.2.10 -> 0.2.11 2016-03-07 17:46:58 +01:00
501f4f3111 Merge pull request #203 from matthiasbeyer/libimagutil/ismatch-util
Add ismatch!() macro
2016-03-07 17:22:13 +01:00
20201d2358 Merge pull request #210 from matthiasbeyer/doc/libimagutil
Doc/libimagutil
2016-03-07 17:18:50 +01:00
637faf2d66 Merge pull request #219 from matthiasbeyer/doc/add-module-files
Add module files for several modules
2016-03-07 17:14:30 +01:00
71d6008105 Merge pull request #231 from matthiasbeyer/libimagrt/config-in-toml
Switch configuration language to TOML
2016-03-07 11:22:23 +01:00
2fa10067fb Configuration is optional 2016-03-07 10:32:10 +01:00
4f935c8ba1 Merge pull request #233 from matthiasbeyer/libimagstore/entry-header-get-header
EntryHeader: Function to get toml object
2016-03-07 10:29:14 +01:00
a02a0f2fde Merge pull request #167 from matthiasbeyer/doc/linking
doc: Add chapter on linking
2016-03-06 11:53:18 +01:00
257fe1880e EntryHeader: Function to get toml object 2016-03-06 11:51:09 +01:00
fc46f1a8df doc: imag:// prefix should be optional 2016-03-06 11:18:31 +01:00