aboutsummaryrefslogtreecommitdiffstats
path: root/src/command (unfollow)
Commit message (Collapse)Author
2022-10-04Add contributors command (#550)Ellie Huxtable
Inspired by the ClickHouse system contributors table, I thought this is a nice extra way to say thank you to all those who put time and energy into our project
2022-09-25Allow stateless commands to be run without config/database (#544)c-14
* Allow stateless commands to be run without config/database Fixes an issue where gen-completions fails trying to create a config directory in restrained build environments/distribution. * move non-db commands up to core subcommands * re-add lost lines * re-add lost lines Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
2022-09-12custom history list (#524)Conrad Ludgate
* use custom list impl * fmt * segment * clean up * fix offsets * fix scroll back space * small touch ups
2022-09-12update default layout (#523)Conrad Ludgate
* update layouts * add other duration changes * fmt :(
2022-09-11better cursor search (#473)Conrad Ludgate
* improve cursor code * proper unicode support * refactor and test * fmt * clippy * move methods to state * refactor search modules
2022-06-13Batch key handling (#448)Frank Hamand
* Batch input events and only query once they are finished This simplifies the code a lot (no more bounded channel) and yields the same performance improvement with scroll wheel spam while fixing copy/paste * Clippy * fmt * Use blocking wait before emptying events channel This was causing a busy loop * Update query on filter mode change
2022-06-04[feature] Add scroll wheel support to interactive history search (#435)Frank Hamand
2022-05-24Implement cursor (#412)b3nj5m1n
2022-05-24Adds password prompt for register and login (#424)Satyarth Sampath
* Adds the rpassword dependency * Provides only a prompt based input for login and register with a hidden prompt for password * Adds option based inputs for login and register commands * Password can also be provided as an option Co-authored-by: Satyarth <satyarth.sampath@gojek.com>
2022-05-20Noyez zsh histdb import (#393)noyez
* Attempting to implement zsh-histdb import Import compiles passes tests, but doesn't run b/c of async runtime. zsh-histdb uses sqlite, and sqlx-rs is async, but import code is sync. * More working on importing histdb * Rewriting tests and using `Vec<u8>` instead of `String` - Rewriting tests to eliminate depencency on local file system - Using `Vec<u8>` for command strings instead of `String` to eliminate the utf8 errors i was seeing previously. Seems to be working. * Running fmt Co-authored-by: Bradley Noyes <b@noyes.dev>
2022-05-13Allow to build atuin server without client (#404)Jakub Jirutka
2022-05-09Importer V3 (#395)Conrad Ludgate
* start of importer refactor * fish * resh * zsh
2022-05-08Add ctrl-k and ctrl-j for up and down (#394)Luke Baker
2022-05-03Adds stats summary (#384)Satyarth Sampath
* stat command parsing is handled without subcommands * Updates match clause based on PR review Co-authored-by: Conrad Ludgate <oon@conradludgate.com> * updates value returned by match based on PR review * adds vscode to gitignore * use an if statement instead of match Co-authored-by: Satyarth <satyarth.sampath@gojek.com> Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
2022-04-28Search: Allow specifiying the limited of returned entries (#364)Jakob-Niklas See
This patch adds a new option to the search command, allowing to limit the returned results from the database.
2022-04-28ignore JetBrains IDEs, tidy-up imports (#348)Jakub Panek
* ignore JB IDEs * tidy-up imports * add rustfmt config
2022-04-26fix import auto for bash (#352)jean-santos
2022-04-25history list (#340)Conrad Ludgate
2022-04-22feature-flags (#328)Conrad Ludgate
* use feature flags * fmt * fix features * update ci * fmt Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2022-04-22History filter (#329)Ellie Huxtable
* 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
2022-04-22refactor (#327)Conrad Ludgate
2022-04-21tracing (#315)Conrad Ludgate
* enable tracing on server * fmt * instrument handlers
2022-04-21refactor commands for better separation (#313)Conrad Ludgate
* refactor commands for better separation * fmt
2022-04-21A few minor tweaks (#314)Conrad Ludgate
* use bail macro replace client database errors remove dead code * fix test
2022-04-13provide better error messages (#300)Conrad Ludgate
2022-04-12goodbye warp, hello axum (#296)Conrad Ludgate
2022-04-07Update to clap 3.1.x (#289)Jamie Quigley
2022-04-04Add compact mode (#288)Jakob Schrettenbrunner
2022-03-17Update config-rs (#280)Ellie Huxtable
* Update config-rs Also fix our call to current_dir This should resolve #195 Thanks @conradludgate for the upstream fix! * Format
2022-03-13Fix `history list --cwd` errors (#278)Lucas Burns
2021-12-20Do not crash if the history timestamp is in the future (#250)Ellie
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...
2021-12-17Add Alt+backspace and Ctrl+u keybinds for deleting by word and by line, ↵Mat Jones
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
2021-12-11Enable help messages for command line arguments (#239)Orhun Parmaksız
2021-12-11Fish importing (#234)Conrad Ludgate
* 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>
2021-12-10Support generating shell completions (#235)Orhun Parmaksız
* Add gen-completions subcommand for generating shell completions * Update documentation about generating shell completions * Include the shell completions in release tarball
2021-12-08feat: login/register no longer blocking (#216)Conrad Ludgate
2021-11-17chore: add more eyre contexts (#200)Conrad Ludgate
* chore: add more eyre contexts * chore: rustfmt
2021-11-13chore: some new linting (#201)Conrad Ludgate
* chore: some new linting * chore: some more linting * chore: rustfmt
2021-09-24feat: allow input of credentials from stdin (#185)Jannik
* 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
2021-09-24Resolve clippy warnings (#187)Jannik
* refactor: nest or patterns * refactor: fix clippy lint names * refactor: remove unnecessary wraps * style: apply cargo fmt
2021-05-14Ignore commands beginning with a space, resolve #114 (#123)Ellie Huxtable
2021-05-10Release v0.7.0 (#103)Ellie Huxtable
* 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
2021-05-10Implement 'quick access' via Alt-<n> (#79)Yuvi Panda
* 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
2021-05-09Use format! instead of string concat (#94)Yuvi Panda
Cleaner
2021-05-09some changes :shrug: (#83)Conrad Ludgate
* make everything a cow * fmt + clippy
2021-05-09Add logout, only login if not already logged in (#91)Ellie Huxtable
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
2021-05-09Add Emacs style ctrl-g, ctrl-n, and ctrl-p (#77)Will Fancher
2021-05-09fix some bugs (#90)Conrad Ludgate
* fix some bugs * format
2021-05-09Allow listing or searching with only the command as output (#89)Ellie Huxtable
Should be useful for using other tools, such as FZF
2021-05-09Generic Importer Trait (#71)Conrad Ludgate
* initial importer trait * appease linters * improve file handling. fixes #66 * use size hint * format + comment * update serde rename mess * tested :sunglasses: :rocket: * small formatting