summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2018-04-22Merge pull request #1436 from matthiasbeyer/imag-log/show-orderedMatthias Beyer
Fix: imag-log show should order by datetime
2018-04-22Merge pull request #1434 from matthiasbeyer/libimagdiary/fix-youngest-entryMatthias Beyer
Fix: get_youngest_entry_id()
2018-04-22Fix: imag-log show should order by datetimeMatthias Beyer
2018-04-22Fix: get_youngest_entry_id()Matthias Beyer
We need to reverse the iterator for getting the _youngest_ entry here. Also seems to fix the issue that imag-diary edit -d <date> did not work properly.
2018-04-22Set version string by hand here if we do not build with cargoMatthias Beyer
2018-04-20Update dependency: log: 0.4.0-rc.1 -> 0.4Matthias Beyer
2018-04-20Merge pull request #1417 from matthiasbeyer/libimagrt/suggest-imag-initMatthias Beyer
Suggest imag-init if no config is found
2018-04-19Add wrapping functionality to StdoutViewerMatthias Beyer
2018-04-19Suggest imag-init if no config is foundMatthias Beyer
2018-04-19Update version numbers: 0.7.0 -> 0.8.0Matthias Beyer
2018-04-18Always use stdout via output proxyMatthias Beyer
The switching between stdout and stderr on an automated basis caused errors in the using code, where output was redirected but shouldn't.
2018-04-18Make stdin always availableMatthias Beyer
Because we do not implement the store piping and pipe magic, the stdin stream should always be available.
2018-04-18Merge pull request #1380 from matthiasbeyer/minorMatthias Beyer
Minor patches
2018-04-18Merge pull request #1400 from matthiasbeyer/imag-wiki/initMatthias Beyer
imag-wiki: init
2018-04-18Merge pull request #1182 from matthiasbeyer/libimagwiki/initMatthias Beyer
libimagwiki: init
2018-04-18Update dependency: task-hookrs: master -> 0.5Matthias Beyer
2018-04-18Remove notion of "main page"Matthias Beyer
2018-04-18Remove functionality to delete whole wikiMatthias Beyer
2018-04-17Merge pull request #1403 from matthiasbeyer/remove-pipe-magicMatthias Beyer
Revert "Implement pipe magic in libimagrt"
2018-04-17Fix documentation in crate metadataMatthias Beyer
2018-04-16Revert "Implement pipe magic in libimagrt"Matthias Beyer
This reverts commit ce0bd9298addfbb9f167ddd06bd2c781eb3de8c0. Pipe magic is removed with this patch. We remove pipe magic because its implementation in libimagstore is too complicated and the benefits are too small. Having this functionality would be really nice, but the cost-benefit ratio would still be too high. The implementation in the store would require a rewrite of the internal caching functionality in the store, plus some functionality to serialize and deserialize the cache. This is theoretically possible, but as the store only knows about "StoreEntry" objects, and only the backend knows of "Entry" (which would be simply de/serializeable), the complexity increases a _lot_. Hence, we drop this feature-idea here. Maybe, at some later point, this functionality will be in imag. The history of development of this feature is in the history, we just don't have it merged. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2018-04-16Add documentation for typeMatthias Beyer
2018-04-16Automatically create "index" and link new pagesMatthias Beyer
2018-04-15Add logging outputMatthias Beyer
2018-04-15Add Wiki::delete_entry()Matthias Beyer
2018-04-15Add entry getter functionMatthias Beyer
2018-04-15Add id iteratorMatthias Beyer
2018-04-15Initial import: libimagwikiMatthias Beyer
2018-04-15Update dependency: toml-query: 0.4 -> 0.6Matthias Beyer
2018-04-15Use --verbose with "info" level by defaultMatthias Beyer
2018-04-14Fix log level setting in runtimeMatthias Beyer
Do not immediately set log level to Level::Info if argument is present, but check value, too.
2018-04-14Add logging in storeMatthias Beyer
2018-04-14Remove feature to generate commandline completion scriptsMatthias Beyer
2018-04-14Add lintsMatthias Beyer
2018-04-14Add lintsMatthias Beyer
2018-04-14Add lintsMatthias Beyer
2018-04-14Add lintsMatthias Beyer
2018-04-13Merge pull request #1395 from matthiasbeyer/clap-text-wrapMatthias Beyer
Clap text wrap
2018-04-13Remove attributeMatthias Beyer
This fixes a crash with the (beta) compiler rustc 1.26.
2018-04-13Use clap with wrap_help featureMatthias Beyer
2018-04-13Use clap "^2.29" instead of ">=2.29"Matthias Beyer
2018-04-13Merge pull request #1394 from ↵Matthias Beyer
matthiasbeyer/libimagentryref/fix-path-when-making-ref Fix: Pass the right path variable here
2018-04-13Fix: Pass the right path variable hereMatthias Beyer
The ref library passed the wrong variable as path which caused the setting in the entries to be wrong. This patch fixes this.
2018-04-13Fix: view entries sortedMatthias Beyer
2018-04-08Merge pull request #1383 from ↵Matthias Beyer
matthiasbeyer/libimagrt/handler-exit-if-subcommand-not-found libimagrt: Exit if handler does not find subcommand
2018-04-08Exit if handler does not find subcommandMatthias Beyer
2018-04-08Add debug outputMatthias Beyer
2018-04-08Fix: Editor commands should be split at whitespaceMatthias Beyer
This fixes the following problem: If the editor setting was "vim " instead of "vim", the editor was called with `"vim" " "`, which resulted in unexpected behaviour. The patch fixes this.
2018-04-07Make iterator lifetimes less restrictingMatthias Beyer
2018-04-04Default clap app builder: Allow external subcommandsMatthias Beyer