aboutsummaryrefslogtreecommitdiffstats
path: root/src/command (follow)
Commit message (Collapse)AuthorAge
* history list (#340)Conrad Ludgate2022-04-25
|
* feature-flags (#328)Conrad Ludgate2022-04-22
| | | | | | | | | | | | | * use feature flags * fmt * fix features * update ci * fmt Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
* History filter (#329)Ellie Huxtable2022-04-22
| | | | | | | | | | | | | | * Add history filters, and hotkey toggle Switch between different search modes to narrow down the history you want - global search for all history, host for all history from your current machine, session for the current shell session, and directory for the current directory The default can be configured via `filter_mode` * Update docs * Add context
* refactor (#327)Conrad Ludgate2022-04-22
|
* tracing (#315)Conrad Ludgate2022-04-21
| | | | | | | * enable tracing on server * fmt * instrument handlers
* refactor commands for better separation (#313)Conrad Ludgate2022-04-21
| | | | | * refactor commands for better separation * fmt
* A few minor tweaks (#314)Conrad Ludgate2022-04-21
| | | | | | | | | * use bail macro replace client database errors remove dead code * fix test
* provide better error messages (#300)Conrad Ludgate2022-04-13
|
* goodbye warp, hello axum (#296)Conrad Ludgate2022-04-12
|
* Update to clap 3.1.x (#289)Jamie Quigley2022-04-07
|
* Add compact mode (#288)Jakob Schrettenbrunner2022-04-04
|
* Update config-rs (#280)Ellie Huxtable2022-03-17
| | | | | | | | | | | * Update config-rs Also fix our call to current_dir This should resolve #195 Thanks @conradludgate for the upstream fix! * Format
* Fix `history list --cwd` errors (#278)Lucas Burns2022-03-13
|
* Do not crash if the history timestamp is in the future (#250)Ellie2021-12-20
| | | | | | | Resolve #189 We were throwing an OutOfRangeError. This occurs when you attempt to convert to a duration, and your input is <0. A value in the future would have done this. This is especially noticeable during DST...
* Add Alt+backspace and Ctrl+u keybinds for deleting by word and by line, ↵Mat Jones2021-12-17
| | | | | | | respectively (#243) * remove unused environment var loading entire history into an env var * Add Alt+backspace and Ctrl+u keybinds for deleting by word and by line, respectively
* Enable help messages for command line arguments (#239)Orhun Parmaksız2021-12-11
|
* Fish importing (#234)Conrad Ludgate2021-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make a start on fish * fix * test * enable fish * fmt * update histpath set up fish init script * update readme * cover edge case * fmt * fix session variables Co-authored-by: PJ <me@panekj.dev> * respect NOBIND Co-authored-by: PJ <me@panekj.dev> * fix env var setting Co-authored-by: PJ <me@panekj.dev> * fix whitespace Co-authored-by: PJ <me@panekj.dev> * add fish to supported shells Co-authored-by: PJ <me@panekj.dev>
* Support generating shell completions (#235)Orhun Parmaksız2021-12-10
| | | | | | | * Add gen-completions subcommand for generating shell completions * Update documentation about generating shell completions * Include the shell completions in release tarball
* feat: login/register no longer blocking (#216)Conrad Ludgate2021-12-08
|
* chore: add more eyre contexts (#200)Conrad Ludgate2021-11-17
| | | | | * chore: add more eyre contexts * chore: rustfmt
* chore: some new linting (#201)Conrad Ludgate2021-11-13
| | | | | | | * chore: some new linting * chore: some more linting * chore: rustfmt
* feat: allow input of credentials from stdin (#185)Jannik2021-09-24
| | | | | | | | | | * feat: allow credential input from stdin for registration This changes the options for register to be optional. If arguments are not given, the program will ask for them interactively. * feat: allow credential input from stdin for login * style: apply cargo fmt
* Resolve clippy warnings (#187)Jannik2021-09-24
| | | | | | | | | * refactor: nest or patterns * refactor: fix clippy lint names * refactor: remove unnecessary wraps * style: apply cargo fmt
* Ignore commands beginning with a space, resolve #114 (#123)Ellie Huxtable2021-05-14
|
* 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
* some changes :shrug: (#83)Conrad Ludgate2021-05-09
| | | | | * make everything a cow * fmt + clippy
* Add logout, only login if not already logged in (#91)Ellie Huxtable2021-05-09
| | | | | | | | | | | Also: - Ensures that a key is generated as soon as a user registers! - Ensures that "atuin key" will generate a key if needed, and doesn't double base64 encode data And a few other little fixes :) Resolves #85 Resolves #86
* Add Emacs style ctrl-g, ctrl-n, and ctrl-p (#77)Will Fancher2021-05-09
|
* fix some bugs (#90)Conrad Ludgate2021-05-09
| | | | | * fix some bugs * format
* 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
* Generic Importer Trait (#71)Conrad Ludgate2021-05-09
| | | | | | | | | | | | | | | | | * initial importer trait * appease linters * improve file handling. fixes #66 * use size hint * format + comment * update serde rename mess * tested :sunglasses: :rocket: * small formatting
* Fix resh importer, and change error handling method (#82)Jamie Quigley2021-05-09
|
* Use an enum for dialect (#80)Yuvi Panda2021-05-09
|
* 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 importer for resh_history file (#69)Jamie Quigley2021-05-08
| | | | | * Added resh history importer * Silence trivial clippy warnings for the PR CI
* 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
|
* Fix pipelineEllie Huxtable2021-04-26
| | | | Lol no more committing to main for me
* Support bash, resolves #3Ellie Huxtable2021-04-26
|
* 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
* Optimise docker (#34)Ellie Huxtable2021-04-14
| | | | | * Smaller dockerfile, better error handling * Add config dir
* 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
* Update configEllie Huxtable2021-04-09
|
* Bump rusqlite from 0.24.2 to 0.25.0 (#30)dependabot[bot]2021-04-06
| | | | | | | | | | | | | | | * Bump rusqlite from 0.24.2 to 0.25.0 Bumps [rusqlite](https://github.com/rusqlite/rusqlite) from 0.24.2 to 0.25.0. - [Release notes](https://github.com/rusqlite/rusqlite/releases) - [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md) - [Commits](https://github.com/rusqlite/rusqlite/compare/v0.24.2...v0.25.0) Signed-off-by: dependabot[bot] <support@github.com> * Fixes for new rusqlite (mostly the new Params trait) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ellie Huxtable <e@elm.sh>