Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | crate version bump HEAD v2.1.2 master | Ben Morrison | 2020-06-17 | 2 | -2/+2 |
| | |||||
* | added removal of notify script to uninstall target | Ben Morrison | 2020-06-17 | 1 | -1/+2 |
| | |||||
* | testing for OS to improve portability of new post notification | Ben Morrison | 2020-06-17 | 1 | -3/+11 |
| | |||||
* | updated repo location to sr.ht | Ben Morrison | 2020-06-16 | 1 | -1/+1 |
| | |||||
* | added sr.ht info to readme | Ben Morrison | 2020-06-16 | 1 | -1/+6 |
| | | | | re: sending patches, and build status | ||||
* | added extra newline after new message notification | Ben Morrison | 2020-06-16 | 1 | -1/+1 |
| | |||||
* | crate version bump v2.1.1 | Ben Morrison | 2020-06-16 | 2 | -2/+2 |
| | |||||
* | redirecting stderr to /dev/null | Ben Morrison | 2020-06-16 | 1 | -1/+1 |
| | | | | stops an error if a user has never used clinte | ||||
* | removed outdated wording about make behavior v2.1.0 | Ben Morrison | 2020-06-16 | 1 | -2/+0 |
| | |||||
* | crate version bump | Ben Morrison | 2020-06-16 | 2 | -2/+2 |
| | |||||
* | moved hashing to shellscript to check for posts | Ben Morrison | 2020-06-16 | 6 | -131/+29 |
| | | | | | | | | | | | | | | removes dependency on sha2 crate and allows users to choose their own hashing algorithm easily. now copies clinte.json to $HOME/.clinte.json once the posts are viewed. a shellscript can be used to compare the hash of the global clinte.json to the hash of the copy. an example script is supplied. on `make install` the example script is installed to /etc/profile.d/, where it will be run for users on login. | ||||
* | test for hashing bits | Ben Morrison | 2020-06-16 | 1 | -0/+23 |
| | |||||
* | recording hash of posts file in homedir | Ben Morrison | 2020-06-16 | 4 | -1/+108 |
| | | | | | sha256. This will facilitate checking for new posts on login. | ||||
* | including manifest for sourcehut builds | Ben Morrison | 2020-06-16 | 1 | -0/+13 |
| | |||||
* | removed old packages from travis | Ben Morrison | 2020-06-16 | 1 | -13/+0 |
| | |||||
* | changed upgrade steps | Ben Morrison | 2020-06-16 | 1 | -4/+4 |
| | | | | changed refs to v2.0.0 -> v2.x | ||||
* | install target: check for clinte.json before copying | Ben Morrison | 2020-06-16 | 1 | -6/+1 |
| | | | | removed upgrade target since it's now redundant | ||||
* | moved startup timer to end of execution, as run timer | Ben Morrison | 2020-06-15 | 1 | -4/+4 |
| | |||||
* | updated usage for linewrap | Ben Morrison | 2020-06-09 | 1 | -2/+10 |
| | |||||
* | configurable line wrapping (80 default) | Ben Morrison | 2020-06-09 | 2 | -1/+32 |
| | | | | disabled when set to a value below 10 | ||||
* | removed tag checkout when building | Ben Morrison | 2020-06-09 | 1 | -6/+3 |
| | |||||
* | clarified upgrade process and note section v2.0.0 | Ben Morrison | 2020-05-28 | 1 | -4/+5 |
| | |||||
* | testing create/delete | Ben Morrison | 2020-05-28 | 2 | -3/+38 |
| | |||||
* | make test is now single-threaded | Ben Morrison | 2020-05-28 | 1 | -1/+1 |
| | |||||
* | travis using single-threaded testing | Ben Morrison | 2020-05-28 | 1 | -0/+3 |
| | |||||
* | expanded testing | Ben Morrison | 2020-05-28 | 3 | -3/+54 |
| | |||||
* | bumped version in Cargo.toml | Ben Morrison | 2020-05-28 | 2 | -2/+2 |
| | |||||
* | more testing | Ben Morrison | 2020-05-28 | 2 | -18/+48 |
| | |||||
* | extensive rewrite to use json for storage: | Ben Morrison | 2020-05-28 | 8 | -255/+359 |
| | | | | | | | | | | | | | | sqlite3 requires the directory where the database resides to be writeable by the user. This presents a problem on multiuser UNIX systems where they may want to limit areas where users have write access. This rewrite totally scraps the sqlite3 database in favor of a pretty simple json file consisting of an array of posts. flock(2) locking is used to synchronize access to the file and make sure two clients aren't trying to write to it at once. The locking is fairly granular right now, but later I may change it to using a single lock for the duration of execution since race conditions are *possible*, if unlikely for the purposes of clinte's intended use. | ||||
* | updated readme | Ben Morrison | 2020-05-27 | 1 | -0/+5 |
| | |||||
* | version bump v1.0.0 | Ben Morrison | 2020-05-27 | 2 | -2/+2 |
| | |||||
* | expanded usage, removed extraneous info about crates | Ben Morrison | 2020-05-27 | 1 | -34/+19 |
| | |||||
* | added test for tempfile creation | Ben Morrison | 2020-05-27 | 2 | -0/+25 |
| | |||||
* | clippy lints | Ben Morrison | 2020-05-26 | 3 | -5/+1 |
| | |||||
* | post ID can be specified as an argument. if absent, user will be prompted | Ben Morrison | 2020-05-26 | 3 | -15/+27 |
| | |||||
* | prepopulating editor with post body when editing | Ben Morrison | 2020-05-26 | 2 | -4/+9 |
| | |||||
* | editing a post calls $EDITOR | Ben Morrison | 2020-05-26 | 1 | -6/+13 |
| | |||||
* | 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 |
| | |||||
* | updated makefile to use printf instead of echo | Ben Morrison | 2020-05-26 | 1 | -33/+17 |
| | |||||
* | 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. | ||||
* | updated travis cfg; setup Cargo.toml for crates.io v0.4.4 | Ben Morrison | 2020-05-26 | 3 | -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 Morrison | 2020-01-24 | 1 | -1/+1 |
| | | | | This reverts commit b7e3bc467e483ec44e08fae1a97f1e5827acb7cb. | ||||
* | pulling tarpaulin binary for travis instead of building | Ben Morrison | 2020-01-24 | 1 | -1/+1 |
| | |||||
* | updated readme | Ben Morrison | 2020-01-20 | 1 | -25/+26 |
| | | | | | mentioned calling of $EDITOR with opt-level=3, changed resulting binary size mentioned in notes |