Commit Graph

42 Commits

Author SHA1 Message Date
Robert Ignat 60e3038874 Add Rust tests for internal linking 2017-07-08 10:44:14 +02:00
Matthias Beyer 7ecef14e1b Export store-consistency-check from libimagentrylink in UI 2017-07-05 11:10:04 +02:00
Matthias Beyer 14735aa4c4 Extract internal linking list call handling 2017-07-04 18:27:13 +02:00
Matthias Beyer 0e1ea242ca Fix: Getting entries from appropriate subcommand 2017-07-04 18:16:50 +02:00
Matthias Beyer beae005356 imag-link: Remove macro_use which is not needed 2017-02-04 11:16:00 +01:00
Mario Krehl ddd4a8b94a Fix list external links when required 2017-01-25 10:45:27 +01:00
Matthias Beyer 69d5c69eea Provide flag to still list external links 2017-01-25 09:54:17 +01:00
Matthias Beyer 64c611847b Fix: Only list internal links here, no external ones
Funny side note:

As the commit history reveals, I wasn't active in this repository for
some time.

I first implemented a solution for this problem in about 50 lines of
code. Then I thought that this could be done way simpler, so I rewrote
it in about 20 lines.

Finally, I noticed that I already have infrastructure for this, so this
two-line patch should fix the problem.

Know your codebase, dude!
2017-01-25 09:54:09 +01:00
Matthias Beyer ec9710f1e7 Rewrite external linking handler function to use less unwrap() 2016-11-01 18:01:00 +01:00
Matthias Beyer b90dabaa97 Rewrite internal linking handling to use less unwrap() 2016-10-31 23:56:05 +01:00
Matthias Beyer d857faf1e9 imag-link: Fix iterator usage 2016-10-19 13:03:17 +02:00
Matthias Beyer c229bb1575 Fix usages of get_external_links() 2016-10-19 13:03:17 +02:00
Matthias Beyer 02a2034d8b Fix usage of libimagentrylink interface 2016-10-14 13:27:06 +02:00
Matthias Beyer 0fc0471af6 imag-link: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
Matthias Beyer 23a42dcb0d imag-link: Use Err/Ok map utility functions to refactor code 2016-09-08 13:57:09 +02:00
Matthias Beyer ac5ee9fb51 imag-link: Use util function warn_exit() 2016-09-08 08:48:58 +02:00
Matthias Beyer 70a17ca62c Fix typo 2016-09-05 00:35:04 +02:00
Matthias Beyer c104e165fd Fix handle_internal_linking() and add error output in case of Err(_) via libimagutil::warn_result::* 2016-08-31 08:26:53 +02:00
Matthias Beyer 17dbb1da29 Fix imga-link::main::* for new StoreId interface 2016-08-28 18:41:56 +02:00
Matthias Beyer 703788d9d2 Replace trace_error() with trace_error_exit() where appropriate 2016-07-16 21:57:29 +02:00
Matthias Beyer 4a09979951 Remove unused import 2016-07-15 21:48:29 +02:00
Matthias Beyer 2e94de2fce imag-link: Remove setup code and use helper 2016-05-18 22:57:04 +02:00
Matthias Beyer 93ce1dbfd2 imag-link: Change dependency from libimagutil -> libimagerror 2016-05-17 20:28:02 +02:00
Andre Bogus 5ac661c334 fixed imag-link iterator error 2016-05-13 22:27:39 +02:00
Andre Bogus dfd6a9b0d3 style adaptations
these were introduced following suggestions from
https://crates.io/crate/clippy
2016-05-13 22:26:48 +02:00
Matthias Beyer ad18fdd604 imag-link: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00
Matthias Beyer 3e29ec0187 Merge pull request #359 from matthiasbeyer/remove-init-logging
Remove init logging
2016-04-17 16:27:37 +02:00
Matthias Beyer e20e2c2f25 Remove init-logging from imag-link 2016-04-17 15:30:33 +02:00
Matthias Beyer b5fd085693 Fix names: libimaglink -> libimagentrylink 2016-04-17 12:22:13 +02:00
Matthias Beyer 10edc17e19 Enable lints 2016-04-16 22:46:46 +02:00
Matthias Beyer 533e7e6da0 Remove unused mut keywords 2016-04-16 22:46:39 +02:00
Matthias Beyer a7c1cc0d6f Use unused result 2016-04-16 22:46:29 +02:00
Matthias Beyer e8c682fc28 Remove unused imports 2016-04-16 22:46:20 +02:00
Matthias Beyer 0c970263ce Add debugging output in handle_external_linking() 2016-04-16 17:05:59 +02:00
Matthias Beyer b9800ba008 Add implementation for external linking 2016-04-16 17:05:59 +02:00
Matthias Beyer 9116409c16 Implement the --list argument 2016-04-14 17:18:02 +02:00
Matthias Beyer 1910dc0449 Add missing level of unpacking in cli helpers 2016-04-12 22:02:28 +02:00
Matthias Beyer d6aa42bd60 Move logger initialization to earliest possible point 2016-03-26 15:29:24 +01:00
Matthias Beyer fc8a64ec15 Add implementation 2016-03-19 15:16:20 +01:00
Matthias Beyer 60db10ff64 Add interface specification 2016-03-19 15:16:20 +01:00
Matthias Beyer 2937f19958 Add dependencies 2016-03-19 15:16:20 +01:00
Matthias Beyer d9cc5f0103 imag-link: init 2016-03-19 15:16:20 +01:00