summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* removed panics and refactored error handlingBen Morrison2020-05-266-89/+61
| | | | | | | | Using a helper function to handle fatal errors error::helper() Displays the simplified message if an error condition occurs. Displays both the simplified and the raw error message if -v verbose logging is enabled.
* cleaner error handling and verbose logging in main()Ben Morrison2020-05-261-11/+47
|
* removed panics from logging initializationBen Morrison2020-05-261-9/+15
|
* updated makefile to use printf instead of echoBen Morrison2020-05-261-33/+17
|
* hiding some log messages behind -v flagBen Morrison2020-05-264-20/+49
|
* moved check for val of $EDITOR into ed::call()Ben Morrison2020-05-261-19/+19
| | | | | Also removed some allocations from call() in the form of unnecessary string clones.
* changed author lineBen Morrison2020-05-261-1/+1
|
* using in-memory db for tests, passing path to logging::init() instead of ↵Ben Morrison2020-05-264-9/+10
| | | | assuming
* logging changes:Ben Morrison2020-05-265-44/+25
| | | | | | | | | | Rather than using a new logfile for each invocation, a single logfile called `/tmp/clinte_$USER.log` will be used, with later invocations appending to the previous messages. Also removed some unnecessary `use` statements relating to the `log` crate and its macros. Leaving the macro calls namespaced to `log::` makes it clearer what the behavior is.
* updated travis cfg; setup Cargo.toml for crates.io v0.4.4Ben Morrison2020-05-263-5/+16
| | | | | | | | Added pertinent fields to Cargo.toml to publish on crates.io and lib.rs Updated .travis.yml - using bionic for build, tarpaulin binary can now be pulled rather than built in-place.
* Revert "pulling tarpaulin binary for travis instead of building"Ben Morrison2020-01-241-1/+1
| | | | This reverts commit b7e3bc467e483ec44e08fae1a97f1e5827acb7cb.
* pulling tarpaulin binary for travis instead of buildingBen Morrison2020-01-241-1/+1
|
* updated readmeBen Morrison2020-01-201-25/+26
| | | | | mentioned calling of $EDITOR with opt-level=3, changed resulting binary size mentioned in notes
* version bump v0.4.3Ben Morrison2020-01-201-1/+1
|
* version bumpBen Morrison2020-01-201-1/+1
|
* trimming whitespaceBen Morrison2020-01-201-9/+15
| | | | | | both when posting new item and when displaying items. prevents posts from messing up the display of other posts with extraneous whitespace.
* left out install step for cargo-tarpaulin causing build failure v0.4.2Ben Morrison2020-01-201-0/+1
|
* version bumpBen Morrison2020-01-202-2/+2
|
* removed extraneous newline on post displayBen Morrison2020-01-201-1/+1
|
* leave db intact on uninstallBen Morrison2020-01-201-1/+0
|
* updated deps + added release profile to Cargo.tomlBen Morrison2020-01-202-250/+111
|
* MIT -> ISCBen Morrison2019-09-071-20/+15
|
* updatedBen Morrison2019-09-072-1/+24
|
* using cargo tarpaulin instead of grcovBen Morrison2019-09-051-20/+3
|
* letting errors flow upBen Morrison2019-09-054-71/+72
|
* error helper testBen Morrison2019-09-041-0/+19
|
* fixed subcommands v0.4.1Ben Morrison2019-09-043-10/+6
|
* changed db permsBen Morrison2019-09-041-1/+2
|
* new screenshotBen Morrison2019-09-041-0/+0
|
* updated logging test v0.4.0Ben Morrison2019-09-041-2/+2
|
* using rfc3339 for temp file nameBen Morrison2019-09-041-1/+1
|
* removing temp fileBen Morrison2019-09-041-1/+3
|
* now opens $EDITOR to write post bodyBen Morrison2019-09-045-6/+56
|
* added helper func for errors/resultBen Morrison2019-09-041-0/+12
|
* getting user name at single locationBen Morrison2019-09-044-27/+21
|
* reorganizationBen Morrison2019-09-043-151/+166
|
* logging reflects executing username v0.3.4Ben Morrison2019-09-044-33/+57
|
* moved display func to posts.rsBen Morrison2019-08-312-35/+35
|
* fixed broken test, expanded test v0.3.3Ben Morrison2019-08-302-3/+6
|
* fixed test failureBen Morrison2019-08-302-26/+1
|
* moved some functionality to module, added testsBen Morrison2019-08-304-19/+97
|
* moved display to 15 posts v0.3.2Ben Morrison2019-08-303-3/+3
|
* Updated usage infoBen Morrison2019-08-301-1/+12
|
* moved str_to_utf8 on post, rather than display v0.3.1Ben Morrison2019-08-301-4/+2
|
* ensure submitted posts are utf8Ben Morrison2019-08-304-7/+22
|
* enabled deletion of posts v0.3.0Ben Morrison2019-08-303-4/+38
|
* updated usageBen Morrison2019-08-301-2/+8
|
* build deps updatedBen Morrison2019-08-301-0/+2
|
* updated featuresBen Morrison2019-08-301-0/+1
|
* new screenshotBen Morrison2019-08-301-0/+0
|