Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removed panics and refactored error handling | Ben Morrison | 2020-05-26 | 1 | -12/+17 |
| | | | | | | | | 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. | ||||
* | hiding some log messages behind -v flag | Ben Morrison | 2020-05-26 | 1 | -5/+13 |
| | |||||
* | using in-memory db for tests, passing path to logging::init() instead of ↵ | Ben Morrison | 2020-05-26 | 1 | -1/+1 |
| | | | | assuming | ||||
* | logging changes: | Ben Morrison | 2020-05-26 | 1 | -5/+2 |
| | | | | | | | | | | 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. | ||||
* | reorganization | Ben Morrison | 2019-09-04 | 1 | -1/+2 |
| | |||||
* | fixed broken test, expanded test v0.3.3 | Ben Morrison | 2019-08-30 | 1 | -1/+1 |
| | |||||
* | ensure submitted posts are utf8 | Ben Morrison | 2019-08-30 | 1 | -1/+1 |
| | |||||
* | tests in makefile, cleaned db test | Ben Morrison | 2019-08-28 | 1 | -1/+1 |
| | |||||
* | db tests are on separate path | Ben Morrison | 2019-08-28 | 1 | -4/+6 |
| | |||||
* | enabled hints for cli args, changed db location | Ben Morrison | 2019-08-28 | 1 | -1/+1 |
| | |||||
* | minor db test - will expand later | Ben Morrison | 2019-08-28 | 1 | -0/+13 |
| | |||||
* | cleanup | Ben Morrison | 2019-08-28 | 1 | -34/+0 |
| | |||||
* | finished posting and display | Ben Morrison | 2019-08-27 | 1 | -27/+9 |
| | |||||
* | added subtype to db::Cmd. Fleshed out cli args. | Ben Morrison | 2019-08-27 | 1 | -7/+9 |
| | |||||
* | db connected, logging up | Ben Morrison | 2019-08-27 | 1 | -3/+26 |
| | |||||
* | fleshing out types | Ben Morrison | 2019-08-27 | 1 | -0/+81 |