Commit Graph

294 Commits

Author SHA1 Message Date
Matthias Beyer a3de0f6712 Reword contributing guidelines 2017-10-15 10:56:39 +02:00
Matthias Beyer cd429a3116 Rewrite module section intro 2017-10-15 10:47:00 +02:00
Matthias Beyer 16ebf52385 Revisit the documentation for the store 2017-10-14 21:52:16 +02:00
Matthias Beyer 6068f2b52d Rephrase architecture doc. 2017-10-14 21:35:55 +02:00
Matthias Beyer b942b9702d Reword intro 2017-10-14 21:20:45 +02:00
Matthias Beyer 106ba44d4a Update tool todo-list 2017-10-14 15:38:04 +02:00
Matthias Beyer 01f527d7c4 Fix typos 2017-10-14 15:38:00 +02:00
Matthias Beyer 5928968c8f Explain versioning conventions 2017-10-14 15:38:00 +02:00
Matthias Beyer 2de3c512e3 Format markup 2017-10-14 15:37:53 +02:00
Matthias Beyer 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
Matthias Beyer 704c01b2c9 Merge pull request #1130 from matthiasbeyer/imag-annotate/init
Imag annotate/init
2017-10-13 16:20:57 +02:00
Matthias Beyer 1d270ee1cf Add changelog entry 2017-10-13 14:53:57 +02:00
Matthias Beyer 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
Matthias Beyer 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
Matthias Beyer 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
Matthias Beyer 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
Matthias Beyer d9add138d2 Use positional argument for id 2017-10-08 13:02:56 +02:00
Matthias Beyer c5ad59e96f Initial import of imag-mv 2017-10-01 10:07:29 +02:00
Matthias Beyer 643db0df3a Remove libimagcounter / imag-counter 2017-09-28 22:41:23 +02:00
Matthias Beyer 73f6016221 Update version strings: 0.4.0 -> 0.5.0 2017-09-24 13:05:01 +02:00
Matthias Beyer 8a15aba1d0 Update month in doc 2017-09-23 22:18:28 +02:00
Matthias Beyer 5ed5392193 Finalize changelog 2017-09-23 21:24:46 +02:00
Matthias Beyer 2f2f606924 Add missing changelog entry for imag-gps 2017-09-23 21:19:27 +02:00
Matthias Beyer 441e59753a Merge pull request #1105 from matthiasbeyer/minor
Minor
2017-09-22 16:06:23 +02:00
Matthias Beyer fbbb26b737 Initial import 2017-09-21 19:01:36 +02:00
Matthias Beyer 5cf4df474a Doc: Todo: Fix indent 2017-09-21 12:29:27 +02:00
Matthias Beyer e5135aa9d5 Add imag-grep in todo-list, sort 2017-09-21 12:26:28 +02:00
Matthias Beyer 94674841a0 Fix doc: Header structure 2017-09-21 12:21:32 +02:00
Matthias Beyer 8bbaeeef45 Fix: Store::delete() should check FS as well
This patch fixes a problem where the Store::delete() function only
checked the store-internal cache whether an entry exists, but not the
Filesystem. After this patch is applied, the Store::delete() function
also checks the filesystem whether the entry exists.
2017-09-20 22:24:59 +02:00
Matthias Beyer 9b2ceb31cc Merge pull request #1093 from matthiasbeyer/libimagentrylist/rip-out-cli-mod
libimagentrylist: Remove unused module
2017-09-20 22:00:34 +02:00
Matthias Beyer 19c3bc829a Remove unused module 2017-09-20 18:41:54 +02:00
Matthias Beyer e000957722 Ensure that all arguments are passed to the subcommand 2017-09-20 17:13:04 +02:00
Matthias Beyer b853e35a05 Merge pull request #1071 from matthiasbeyer/imag-grep
imag-grep: Add new crate
2017-09-15 23:21:18 +02:00
Matthias Beyer 922ed445d4 imag-grep: Add new crate 2017-09-15 21:16:02 +02:00
Matthias Beyer 1ffc45a4c0 Use positional args 2017-09-15 21:07:01 +02:00
Matthias Beyer cefe58ffd4 Add changelog 2017-09-15 13:53:30 +02:00
Matthias Beyer 2f0fa2b6ca Merge pull request #1068 from matthiasbeyer/imag-timetrack/fix-track-command
Fix: Let the track command parse the start/end time more intelligently
2017-09-15 12:38:42 +02:00
Matthias Beyer e049559bed Fix: Let the track command parse the start/end time more intelligently
It understands "now" from this point and can parse dates or date-times
(whereas dates get normalized to date + hour 0, minute 0, second 0).
2017-09-14 20:49:10 +02:00
Matthias Beyer bcb6c7b52d Add changelog entry 2017-09-14 20:06:22 +02:00
Matthias Beyer 8aa5c2d82d Fix header locations
Also change that the implementation uses toml_query::set instead of
toml_query::insert.

Inserting values creates intermediate tables, set doesn't. And we really
want that convenience here, as the code is complex enough on its own.
2017-09-09 16:36:21 +02:00
Matthias Beyer 976f280511 Update toml-query: 0.3.* -> ^0.3.1
This release contains a bugfix for a critical bug in the
`TomlValueInsertExt::insert()` algorithm which was triggered by an
edgecase.
2017-09-06 19:30:32 +02:00
Matthias Beyer 30b466b622 Update changelog 2017-09-05 22:03:13 +02:00
Matthias Beyer b445cea9e7 Check TODO, add Changelog 2017-09-04 23:09:05 +02:00
Matthias Beyer 336e0fb918 Add changelog 2017-09-03 13:48:36 +02:00
Matthias Beyer caa8529abc Add libimagentrygps 2017-09-01 20:36:03 +02:00
Matthias Beyer f71065c24d Add changelog for 0.3.0..master 2017-09-01 14:40:30 +02:00
Matthias Beyer a5e836fecb Add changelog 2017-09-01 14:25:00 +02:00
Matthias Beyer 29d93a73f0 Merge pull request #1025 from matthiasbeyer/todo/libimagerror
Add todo: Rewrite libimagerror with chain-error crate
2017-08-27 20:07:22 +02:00
Matthias Beyer e386e86474 Add todo: Rewrite libimagerror with chain-error crate 2017-08-27 17:49:18 +02:00
Matthias Beyer 2fcead5f53 Fix broken README symlinks
Along: Add files in documentation for modules that not yet had one.
2017-08-27 15:13:25 +02:00
Mario Krehl 8a63815854 Fix package name of libimagentryannotation
Fix: run `sed -i 's,libimagref,libimagentryref,g' (rg -l 'libimagref')`
Fix: run `sed -i 's,libimagannotation,libimagentryannotation,g' (rg -l 'libimagannotation')`
2017-08-27 15:13:25 +02:00
Matthias Beyer 1c37703c32 Update version strings for next release: 0.3.0 -> 0.4.0 2017-08-26 13:27:32 +02:00
Matthias Beyer 0f436d5b88 Merge pull request #1009 from matthiasbeyer/doc-overhaul
Doc overhaul
2017-08-25 18:34:11 +02:00
Matthias Beyer 3001288442 Update date 2017-08-25 17:50:38 +02:00
Matthias Beyer abebf9c014 Fix format 2017-08-25 14:04:18 +02:00
Matthias Beyer 49a7201125 Add documentation how the mail CLI should look like 2017-08-21 00:03:22 +01:00
Matthias Beyer d7b266a72c Add todos for maintenance scripts 2017-08-20 15:24:48 +01:00
Matthias Beyer 469975d752 Add more ideas for modules 2017-08-20 14:46:34 +01:00
Matthias Beyer 3e115b7014 Add todo for logger rewrite 2017-08-14 09:52:47 +00:00
Matthias Beyer 5fa076914c Add docs on {habit,news,todo,wiki} lib 2017-08-12 21:26:55 +00:00
Matthias Beyer db51d971cc Improve mail module docs 2017-08-12 21:26:26 +00:00
Matthias Beyer 740a5dad74 Cleanup intro 2017-08-12 21:26:02 +00:00
Matthias Beyer a96eb69b0f Basic documentation for read/write libs 2017-08-12 15:48:00 +00:00
Matthias Beyer d78288e6f7 Add files for libs 2017-08-12 15:37:17 +00:00
Matthias Beyer 1c98dca547 Add basic descriptions for as many modules as possible 2017-08-11 22:20:11 +00:00
Matthias Beyer 0e1925e5ae Add three more modules to do 2017-08-11 22:15:53 +00:00
Matthias Beyer 6d73dae8a5 Add files for planned modules 2017-08-11 16:29:38 +00:00
Matthias Beyer 31541fb1ba Fix filename 2017-08-11 12:59:40 +00:00
Matthias Beyer 3d34ea0491 Add long-term todos in todo file 2017-08-11 09:13:42 +00:00
Matthias Beyer 7ab0050a3d Remove outdated parts 2017-08-11 09:11:12 +00:00
Matthias Beyer 7c227b4e4d Move contributing guidelines to documentation 2017-08-11 09:11:12 +00:00
Matthias Beyer f771337359 Remove 'Backend' sections, we dont need them 2017-08-11 09:03:46 +00:00
Matthias Beyer 471e31172f Remove unused files 2017-08-10 19:47:19 +00:00
Matthias Beyer 25db146dd5 Add architecture (and types) documentation 2017-08-10 19:44:19 +00:00
Matthias Beyer 7a048f3795 Add file for coding conventions and best practices 2017-08-10 16:38:46 +00:00
Matthias Beyer b3e7f095ce Merge pull request #966 from matthiasbeyer/libimagtimetrack
imag-timetrack / libimagtimetrack
2017-06-29 14:55:39 +02:00
Matthias Beyer 9583ae06cd Add README/documentation 2017-06-26 19:30:02 +02:00
Matthias Beyer dd7954ddb6 Add Documentation 2017-06-26 19:28:57 +02:00
Matthias Beyer 0033d1b4b4 Add documentation file 2017-06-21 18:29:49 +02:00
Matthias Beyer 266311d743 Change backends to do less ser-/deserialization
This commit changes the backends to do less de/ser, as it now stores the
Entry objects in the backend and does the de/serialization there.

This means the store does only serialize things once from json to toml
in the io backend.

See the diff of the documentation for more details.
2017-06-18 12:32:04 +02:00
Matthias Beyer c4b2287876 Move the documentation to the docs 2017-06-18 11:33:18 +02:00
Matthias Beyer 9254851724 doc: Remove hook stuff 2017-06-06 11:12:37 +02:00
Matthias Beyer 9650f46e23 Version strings: 0.2.0 -> 0.3.0 2017-05-03 10:48:26 +02:00
Matthias Beyer ccad830953 Add more long-term todos 2017-02-20 15:13:47 +01:00
Matthias Beyer d75bc2d928 Add TODOs about libimag{rt,store{,stdhook}} merge 2017-02-20 14:51:06 +01:00
Matthias Beyer eaf34ac6e9 Add long-term todos in libimagref 2017-02-20 14:51:06 +01:00
Matthias Beyer 3a18655a7f Increment header levels in the README.md I missed in the first run 2016-10-13 12:07:54 +02:00
Matthias Beyer e30d774670 Move all libimag*/README.md to doc/src/05100-* 2016-10-13 12:04:36 +02:00
Matthias Beyer a2e2fc93b1 Add library documentation subchapter 2016-10-13 12:04:36 +02:00
Matthias Beyer da439e60e9 Add documentation what a valid tag is 2016-09-30 10:45:28 +02:00
Matthias Beyer 69a10b2d02 Merge pull request #601 from matthiasbeyer/doc-updates
Doc updates
2016-08-02 13:01:40 +02:00
Matthias Beyer 75f57d622c doc: Fix code listing 2016-07-30 21:36:45 +02:00
Matthias Beyer 34e164e954 doc: Add more description of modules 2016-07-30 21:32:50 +02:00
Matthias Beyer 40d4939f3a doc: Fix up store entry example markup and content 2016-07-30 21:02:21 +02:00
Matthias Beyer 3e4d01a339 Add missing dependency: which 2016-07-30 20:59:49 +02:00
Matthias Beyer bbb5e58583 doc: Fix filename 2016-07-30 20:58:04 +02:00
Matthias Beyer 6f71dc517f doc: Remove comment 2016-07-30 20:57:36 +02:00
Matthias Beyer 9354ae003a doc: Fix bullet-list markup 2016-07-30 20:56:57 +02:00
Matthias Beyer 4e230ecc61 doc: Update version 2016-07-30 20:55:18 +02:00
Matthias Beyer 008f4d0032 Add new non-optional dependencies to doc in default.nix 2016-07-30 20:53:12 +02:00
Matthias Beyer 0c5674dd47 Merge pull request #525 from matthiasbeyer/update-doc
Update doc
2016-07-14 21:11:30 +02:00
Matthias Beyer e250059390 doc: Add file for tagging module documentation 2016-07-13 18:34:58 +02:00
Matthias Beyer f36851786a doc: Add description for linking module 2016-07-13 18:34:00 +02:00
Matthias Beyer f8b1d48307 doc: Add user documentation for imag-diary 2016-07-13 18:27:36 +02:00
Matthias Beyer 45d41748f6 doc: Add store module documentation 2016-07-12 17:12:16 +02:00
Matthias Beyer 51432eaf39 Add example how to use imag-counter 2016-07-12 17:00:02 +02:00
Matthias Beyer 9337a14cdd Update all version strings: 0.1.0 -> 0.2.0 2016-07-12 11:51:20 +02:00
Matthias Beyer 1bf7d16664 doc: template: Add TOC 2016-07-08 21:11:28 +02:00
Matthias Beyer 6f958d2a68 doc: template: title page plain 2016-07-08 21:11:28 +02:00
Matthias Beyer fd1fd6881a doc: template: Make the title page the title page only 2016-07-08 21:05:03 +02:00
Matthias Beyer ed4b198359 doc: Fix version string 2016-07-08 20:58:47 +02:00
Matthias Beyer 9283d964d5 doc: Add most basic section structure for module files 2016-07-08 20:51:45 +02:00
Matthias Beyer a8206b8f19 doc: Remove comment markers 2016-07-08 20:48:41 +02:00
Matthias Beyer fafc8418df doc: Remove utility documentation, as the user should never see this 2016-07-08 20:43:32 +02:00
Matthias Beyer 39c1b30e6f doc: Add module file for view 2016-07-08 20:43:32 +02:00
Matthias Beyer 0b1356a104 doc: Rewrite initial text for module section 2016-07-08 20:43:25 +02:00
Matthias Beyer 1c0fc5a0a7 doc: Remove file on tagging 2016-07-08 20:43:25 +02:00
Matthias Beyer 5a229a24b0 doc: Add module files: {link, ref} 2016-07-08 20:43:25 +02:00
Matthias Beyer f81e47ceb2 doc: Rewrite linking chapter 2016-07-08 20:43:20 +02:00
Matthias Beyer 7a8432123b doc: Rewrite "The Store" chapter 2016-07-08 20:43:12 +02:00
Matthias Beyer 28a9c5ffc9 doc: Rewrote intro 2016-07-08 20:43:06 +02:00
Matthias Beyer 12cb61cd8b doc: Rename documentation files for modules 2016-07-08 17:42:47 +02:00
Matthias Beyer d8c4d55312 doc: Add chapter on technical details 2016-07-08 17:39:19 +02:00
Matthias Beyer d0a5beae9a doc: Remove library documentation files 2016-07-08 17:37:58 +02:00
Matthias Beyer b0de23bfbf doc: Rename document, set new date 2016-07-08 17:37:47 +02:00
Gavin Thomas Claugus 2760e30d6c Define tasks for manpage generation
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:27:11 -04:00
Gavin Thomas Claugus 9c6a9b5eed Define TARGET_MAN variable with manpage target dir
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:13:48 -04:00
Gavin Thomas Claugus 7bc2c094a1 Export PANDOC_CC_MAN command
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:12:51 -04:00
Gavin Thomas Claugus c0042196da Add DOCUMENT_SETTINGS_MAN variable
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:09:20 -04:00
Gavin Thomas Claugus 0185ab3fd8 Export manpage output directory
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:06:18 -04:00
Matthias Beyer 9fa362c22c Add initial proposal for notes module 2016-03-25 16:30:12 +01:00
Matthias Beyer f253931bb7 doc: Adjust documentation to match implementation 2016-03-16 16:46:54 +01:00
Matthias Beyer 4dc1140149 doc: Add hook aspect definition 2016-03-16 16:46:52 +01:00
Matthias Beyer c9bca51273 doc: Add documentation for the Hook system 2016-03-16 16:46:51 +01:00
Matthias Beyer 8d234440b5 doc: imag-counter 2016-03-15 15:01:10 +01:00
Matthias Beyer 20201d2358 Merge pull request #210 from matthiasbeyer/doc/libimagutil
Doc/libimagutil
2016-03-07 17:18:50 +01:00
Matthias Beyer 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
Matthias Beyer a02a0f2fde Merge pull request #167 from matthiasbeyer/doc/linking
doc: Add chapter on linking
2016-03-06 11:53:18 +01:00
Matthias Beyer fc46f1a8df doc: imag:// prefix should be optional 2016-03-06 11:18:31 +01:00
Matthias Beyer 5b034dc37b doc: Add liblink specification 2016-03-06 11:18:01 +01:00
Matthias Beyer 4b4809571a doc: Add paragraph in section for linking internal content 2016-03-06 11:17:30 +01:00
Matthias Beyer fc7a86ba50 doc: Add initial paragraph 2016-03-06 11:17:30 +01:00
Matthias Beyer a51b68e838 doc: Add chapter on linking 2016-03-06 11:17:26 +01:00
Matthias Beyer 7ff1995acc Move files to new filenames, so we have alphabetical ordering 2016-03-02 17:32:24 +01:00
Matthias Beyer 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
Matthias Beyer 22b41004ae doc: Remove file for "libimagmodule", as this was removed 2016-02-21 20:33:36 +01:00
Matthias Beyer babb7b7055 doc: libimagutil: Add documentation of the generate_variants() util 2016-02-21 20:27:24 +01:00
Matthias Beyer 6baa3c7f38 doc: libimagutil: Add error-tracing utility documentation 2016-02-21 20:27:23 +01:00
Matthias Beyer 3e18a6df6c doc: libimagutil: Add kv-split documentation 2016-02-21 20:26:56 +01:00