Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removed panics and refactored error handling | Ben Morrison | 2020-05-26 | 6 | -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 Morrison | 2020-05-26 | 1 | -11/+47 |
| | |||||
* | removed panics from logging initialization | Ben Morrison | 2020-05-26 | 1 | -9/+15 |
| | |||||
* | hiding some log messages behind -v flag | Ben Morrison | 2020-05-26 | 4 | -20/+49 |
| | |||||
* | moved check for val of $EDITOR into ed::call() | Ben Morrison | 2020-05-26 | 1 | -19/+19 |
| | | | | | Also removed some allocations from call() in the form of unnecessary string clones. | ||||
* | changed author line | Ben Morrison | 2020-05-26 | 1 | -1/+1 |
| | |||||
* | using in-memory db for tests, passing path to logging::init() instead of ↵ | Ben Morrison | 2020-05-26 | 4 | -9/+10 |
| | | | | assuming | ||||
* | logging changes: | Ben Morrison | 2020-05-26 | 5 | -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. | ||||
* | trimming whitespace | Ben Morrison | 2020-01-20 | 1 | -9/+15 |
| | | | | | | both when posting new item and when displaying items. prevents posts from messing up the display of other posts with extraneous whitespace. | ||||
* | removed extraneous newline on post display | Ben Morrison | 2020-01-20 | 1 | -1/+1 |
| | |||||
* | letting errors flow up | Ben Morrison | 2019-09-05 | 4 | -71/+72 |
| | |||||
* | error helper test | Ben Morrison | 2019-09-04 | 1 | -0/+19 |
| | |||||
* | fixed subcommands v0.4.1 | Ben Morrison | 2019-09-04 | 1 | -8/+4 |
| | |||||
* | updated logging test v0.4.0 | Ben Morrison | 2019-09-04 | 1 | -2/+2 |
| | |||||
* | using rfc3339 for temp file name | Ben Morrison | 2019-09-04 | 1 | -1/+1 |
| | |||||
* | removing temp file | Ben Morrison | 2019-09-04 | 1 | -1/+3 |
| | |||||
* | now opens $EDITOR to write post body | Ben Morrison | 2019-09-04 | 3 | -4/+54 |
| | |||||
* | added helper func for errors/result | Ben Morrison | 2019-09-04 | 1 | -0/+12 |
| | |||||
* | getting user name at single location | Ben Morrison | 2019-09-04 | 4 | -27/+21 |
| | |||||
* | reorganization | Ben Morrison | 2019-09-04 | 3 | -151/+166 |
| | |||||
* | logging reflects executing username v0.3.4 | Ben Morrison | 2019-09-04 | 2 | -33/+55 |
| | |||||
* | moved display func to posts.rs | Ben Morrison | 2019-08-31 | 2 | -35/+35 |
| | |||||
* | fixed broken test, expanded test v0.3.3 | Ben Morrison | 2019-08-30 | 2 | -3/+6 |
| | |||||
* | fixed test failure | Ben Morrison | 2019-08-30 | 2 | -26/+1 |
| | |||||
* | moved some functionality to module, added tests | Ben Morrison | 2019-08-30 | 2 | -17/+95 |
| | |||||
* | moved display to 15 posts v0.3.2 | Ben Morrison | 2019-08-30 | 1 | -1/+1 |
| | |||||
* | moved str_to_utf8 on post, rather than display v0.3.1 | Ben Morrison | 2019-08-30 | 1 | -4/+2 |
| | |||||
* | ensure submitted posts are utf8 | Ben Morrison | 2019-08-30 | 2 | -5/+20 |
| | |||||
* | enabled deletion of posts v0.3.0 | Ben Morrison | 2019-08-30 | 1 | -2/+36 |
| | |||||
* | added functionality to update posts v0.2.0 | Ben Morrison | 2019-08-30 | 1 | -3/+63 |
| | |||||
* | redundant code removed | Ben Morrison | 2019-08-30 | 1 | -3/+0 |
| | |||||
* | delinting | Ben Morrison | 2019-08-30 | 1 | -5/+2 |
| | |||||
* | limit number of displayed posts to 30 v0.1.0 | Ben Morrison | 2019-08-29 | 1 | -4/+12 |
| | |||||
* | 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 |
| | |||||
* | formatting output | Ben Morrison | 2019-08-28 | 1 | -0/+2 |
| | |||||
* | minor db test - will expand later | Ben Morrison | 2019-08-28 | 1 | -0/+13 |
| | |||||
* | fix logging test | Ben Morrison | 2019-08-28 | 1 | -2/+2 |
| | |||||
* | cleanup | Ben Morrison | 2019-08-28 | 2 | -35/+2 |
| | |||||
* | made list the default behavior | Ben Morrison | 2019-08-27 | 1 | -6/+4 |
| | |||||
* | formatting output | Ben Morrison | 2019-08-27 | 1 | -0/+1 |
| | |||||
* | minor syntax error | Ben Morrison | 2019-08-27 | 1 | -2/+2 |
| | |||||
* | finished posting and display | Ben Morrison | 2019-08-27 | 2 | -32/+90 |
| | |||||
* | added subtype to db::Cmd. Fleshed out cli args. | Ben Morrison | 2019-08-27 | 2 | -8/+31 |
| | |||||
* | db connected, logging up | Ben Morrison | 2019-08-27 | 3 | -3/+85 |
| | |||||
* | fleshing out types | Ben Morrison | 2019-08-27 | 2 | -0/+83 |
| | |||||
* | init | Ben Morrison | 2019-08-27 | 1 | -0/+4 |