Commit graph

2034 commits

Author SHA1 Message Date
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
5b034dc37b doc: Add liblink specification 2016-03-06 11:18:01 +01:00
4b4809571a doc: Add paragraph in section for linking internal content 2016-03-06 11:17:30 +01:00
fc7a86ba50 doc: Add initial paragraph 2016-03-06 11:17:30 +01:00
a51b68e838 doc: Add chapter on linking 2016-03-06 11:17:26 +01:00
21d5d32d50 Configuration: Provide config() getter, remove the default() implementation therefor 2016-03-05 12:36:11 +01:00
192b3b5885 Switch to TOML as configuration language behind the scenes 2016-03-05 12:30:40 +01:00
a6406d6b88 Merge pull request #228 from matthiasbeyer/doc/alphabetical-ordering
doc: alphabetical ordering for modules
2016-03-04 13:54:03 +01:00
20c8fc17d1 Merge pull request #227 from matthiasbeyer/libimagstore/clean-warnings
Libimagstore/clean warnings
2016-03-03 20:53:51 +01:00
7ff1995acc Move files to new filenames, so we have alphabetical ordering 2016-03-02 17:32:24 +01:00
74634227e0 Use unused result 2016-03-01 21:23:09 +01:00
22e9f8a93b Remove unused import 2016-03-01 21:21:14 +01:00
1a8106dfd2 Add missing error-forwarding 2016-03-01 21:20:53 +01:00
38b9e15615 Remove unreachable statement 2016-03-01 21:19:15 +01:00
08c37c5fcb Remove unused "mut" from EntryHeader::delete() 2016-03-01 21:18:17 +01:00
ed3da38701 Remove unused "mut" from EntryHeader::read_with_sep() 2016-03-01 21:18:10 +01:00
309e70df14 Remove unused "mut" from EntryHeader::set_with_sep() 2016-03-01 21:18:04 +01:00
85e69f083e Remove unused "mut" from EntryHeader::insert_with_sep() 2016-03-01 21:17:49 +01:00
4390c39a6c Remove unused "mut" from Store::delete() 2016-03-01 21:17:40 +01:00
8dfccba0b8 Remove unused "mut" from Store::retrieve_copy() 2016-03-01 21:17:33 +01:00
fbccce7b7c Add dep: libimagtag 2016-02-29 20:41:58 +01:00
3c30cecee8 Add module files for several modules
Rename modules, so we have alphabetical order for the modules, which is
way nicer than the current order.

The following modules are added:

    - borrow
    - counter
    - cuecards
    - dairy
    - ledger
    - password
    - weather

Plus, this commit adds an utility module file, where the utility modules
are described
2016-02-29 20:21:51 +01:00
6cdc5093c4 fixup deps 2016-02-29 15:34:34 +01:00
1aa70462a0 Implement main() 2016-02-28 18:15:12 +01:00
d8d7dae488 Add build_entry_path(), Copy of imag-store/src/util/build_entry_path() 2016-02-28 18:15:12 +01:00
966cedb4a7 Impl Tagable for FileLockEntry for more convenience 2016-02-28 18:15:12 +01:00
d0a12c2fb0 Add interface specification 2016-02-28 18:15:12 +01:00
5898b64e80 imag-tag: init 2016-02-28 18:15:12 +01:00
8ba96591c2 Merge pull request #174 from matthiasbeyer/libimagtag/init
Libimagtag/init
2016-02-28 17:58:15 +01:00
ff4aa1fd7b Merge pull request #218 from matthiasbeyer/libimagentryfilter/clean
Remove unused imports
2016-02-25 16:43:41 +01:00
45f3ea97bf Remove unused imports 2016-02-24 15:16:12 +01:00
fff318c4c8 Merge pull request #214 from matthiasbeyer/libimagstore/update-regex
store: Update regex = 0.1.54
2016-02-23 16:23:28 +01:00
fbca748e0b Merge pull request #215 from matthiasbeyer/libimagutil/update-regex
util: Update regex = 0.1.54
2016-02-23 16:17:07 +01:00
03747aa237 util: Update regex = 0.1.54 2016-02-23 13:17:36 +01:00
87bf7854c7 store: Update regex = 0.1.54 2016-02-23 13:13:22 +01:00
3d54431acf Add UI helpers for tagging 2016-02-23 11:02:59 +01:00
55ae665a2d Merge pull request #211 from matthiasbeyer/doc/remove-libmodule
doc: Remove file for "libimagmodule", as this was removed
2016-02-23 10:14:15 +01:00