aboutsummaryrefslogtreecommitdiffstats
path: root/src/local/history.rs (follow)
Commit message (Collapse)AuthorAge
* Use cargo workspaces (#37)Ellie Huxtable2021-04-20
| | | | | | | | | | | | * Switch to Cargo workspaces Breaking things into "client", "server" and "common" makes managing the codebase much easier! client - anything running on a user's machine for adding history server - handles storing/syncing history and running a HTTP server common - request/response API definitions, common utils, etc * Update dockerfile
* Add history sync, resolves #13 (#31)Ellie Huxtable2021-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add encryption * Add login and register command * Add count endpoint * Write initial sync push * Add single sync command Confirmed working for one client only * Automatically sync on a configurable frequency * Add key command, key arg to login * Only load session if it exists * Use sync and history timestamps for download * Bind other key code Seems like some systems have this code for up arrow? I'm not sure why, and it's not an easy one to google. * Simplify upload * Try and fix download sync loop * Change sync order to avoid uploading what we just downloaded * Multiline import fix * Fix time parsing * Fix importing history with no time * Add hostname to sync * Use hostname to filter sync * Fixes * Add binding * Stuff from yesterday * Set cursor modes * Make clippy happy * Bump version
* Add TUI, resolve #19, #17, #16 (#21)Ellie Huxtable2021-03-20
|
* zsh bin is sometimes /usr/bin/zsh or might be elsewhere too (#8)Conrad Ludgate2021-02-14
| | | | | zsh also uses ~/.zsh_history get better errors for not found history file
* a few more tiny touch ups (#7)Conrad Ludgate2021-02-14
| | | | | * a few more tiny touch ups * all praise clippy
* tidy some stuff (#6)Conrad Ludgate2021-02-14
|
* Make pedantic clippy happyEllie Huxtable2021-02-14
|
* Fix clippy issuesEllie Huxtable2021-02-13
|
* Add sessionsEllie Huxtable2021-02-13
|
* Implement history importEllie Huxtable2021-02-13
|
* Record command exit code and durationEllie Huxtable2021-02-13
|
* feat: use directories project data dirConrad Ludgate2020-10-05
| | | | chore: clean up some things
* Initial commitEllie Huxtable2020-10-05
Currently writing shell history to a sqlite db :) Could do with: 1) store exit code 2) store duration 3) tidy up main 4) ...remote stuff