aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/search.rs (follow)
Commit message (Collapse)AuthorAge
* Resolve clippy warnings (#187)Jannik2021-09-24
| | | | | | | | | * refactor: nest or patterns * refactor: fix clippy lint names * refactor: remove unnecessary wraps * style: apply cargo fmt
* Release v0.7.0 (#103)Ellie Huxtable2021-05-10
| | | | | | | | | | | | | | | | * Release v0.7.0 - Update all the crate versions - Update the demo gif - Write a changelog - Adjust the title of the search screen (has the old name still) - Adjust the colours of the quick-jump numbers (sadly invisible on some colour schemes as dark grey :/) * Update README, default config file, docs * Link usernames * Trigger release workflow upon release creation, as well as tags
* Implement 'quick access' via Alt-<n> (#79)Yuvi Panda2021-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | * Implement 'quick access' via numbers Puts numbers 0-9 next to commands *above* current selection. Ctrl-<number> should activate them - but since Ctrl-<num> are reserved by terminal, this does not currently work. Need to find different sets of keyboard shortcuts. Numbers are *above* current selection, since the user must use the arrow keys to go over the commands below current selection before reaching selection. * Use Alt+<n> to select last nth command * Don't print Opt+0 Same as <Enter> * Run rustfmt * Simplify code - Use ? operator for getting selected item - Use RangeInclusive to check if character pressed is a number
* Use format! instead of string concat (#94)Yuvi Panda2021-05-09
| | | Cleaner
* Add Emacs style ctrl-g, ctrl-n, and ctrl-p (#77)Will Fancher2021-05-09
|
* Allow listing or searching with only the command as output (#89)Ellie Huxtable2021-05-09
| | | Should be useful for using other tools, such as FZF
* Support fulltext search of commands (#75)Yuvi Panda2021-05-09
|
* Retain the query entered into the TUI (#76)Ellie Huxtable2021-05-08
| | | | | If no results are found, and the user presses enter, keep the query! Resolves #73
* Add Ctrl-d as a way of exiting the TUI (#65)Jamie Quigley2021-05-08
|
* Allow using Ctrl-c to exit (#53)Ellie Huxtable2021-05-08
|
* Update docs, unify on SQLx, bugfixes (#40)Ellie Huxtable2021-04-25
| | | | | | | | | * Begin moving to sqlx for local too * Stupid scanners should just have a nice cup of tea Random internet shit searching for /.env or whatever * Remove diesel and rusqlite fully
* Bugfixes, show time ago, perf improvementsEllie Huxtable2021-04-21
| | | | Also allow unique listing and more ergonomic cwd usage
* 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
* Switch to Warp + SQLx, use async, switch to Rust stable (#36)Ellie Huxtable2021-04-20
| | | | | * Switch to warp + sql, use async and stable rust * Update CI to use stable
* 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