aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAge
* custom history list (#524)Conrad Ludgate2022-09-12
| | | | | | | | | | | | | | | * use custom list impl * fmt * segment * clean up * fix offsets * fix scroll back space * small touch ups
* update default layout (#523)Conrad Ludgate2022-09-12
| | | | | | | * update layouts * add other duration changes * fmt :(
* better cursor search (#473)Conrad Ludgate2022-09-11
| | | | | | | | | | | | | | | * improve cursor code * proper unicode support * refactor and test * fmt * clippy * move methods to state * refactor search modules
* hide errors for #516 (#518)Conrad Ludgate2022-09-01
|
* Fix atuin crashing on commands that start with -- (#509)Jamie Quigley2022-08-23
| | | | The use of `--` in the shell scripts prevents clap attempting to parse the command name as a flag, in the case that it starts with `--`.
* Batch key handling (#448)Frank Hamand2022-06-13
| | | | | | | | | | | | | | | | * 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
* Enhancements to bash init script (#445)Sam Edwards2022-06-07
|
* [feature] Add scroll wheel support to interactive history search (#435)Frank Hamand2022-06-04
|
* Implement cursor (#412)b3nj5m1n2022-05-24
|
* Adds password prompt for register and login (#424)Satyarth Sampath2022-05-24
| | | | | | | | | | | * 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>
* Noyez zsh histdb import (#393)noyez2022-05-20
| | | | | | | | | | | | | | | | | | * 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>
* Improve default fish keybindings (#420)Sam Lanning2022-05-20
| | | | | | | | | | binding on "up" can conflict with the default fish keybindings as when in tab-completion mode, you are supposed to be able to use arrow keys to navigate the grid of suggestions, however pressing "up" will open the tui instead. This attempts to work around it by tracking when the user is probably in a tab completion mode by setting a variable that we use to determine whether to open atuin or perform the default fish up action
* Don't pollute shell environment - remove 'id' variable (#408)Jakub Jirutka2022-05-16
|
* Allow to build atuin server without client (#404)Jakub Jirutka2022-05-13
|
* Importer V3 (#395)Conrad Ludgate2022-05-09
| | | | | | | | | * start of importer refactor * fish * resh * zsh
* Add ctrl-k and ctrl-j for up and down (#394)Luke Baker2022-05-08
|
* Adds stats summary (#384)Satyarth Sampath2022-05-03
| | | | | | | | | | | | | | | | * 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>
* Search: Allow specifiying the limited of returned entries (#364)Jakob-Niklas See2022-04-28
| | | | This patch adds a new option to the search command, allowing to limit the returned results from the database.
* ignore JetBrains IDEs, tidy-up imports (#348)Jakub Panek2022-04-28
| | | | | | | * ignore JB IDEs * tidy-up imports * add rustfmt config
* fix import auto for bash (#352)jean-santos2022-04-26
|
* 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
|
* Update fish bindings. (#265)Patrick Jackson2022-02-15
|
* Restore bash 4.2 compatibility, only add hook once (#271)Sandro2022-02-15
|
* Add support for blesh (#267)Sandro2022-01-25
| | | | | | | * Fix intendation * Add support for blesh See https://github.com/akinomyoga/ble.sh/wiki/Manual-%C2%A71-Introduction#user-content-fn-blehook for more details
* 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
* remove unused environment var loading entire history into an env var (#242)Mat Jones2021-12-16
|
* 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
|
* run shellcheck (#97)Ian Smith2021-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * run shellcheck * Update .github/workflows/shellcheck.yml Co-authored-by: Conrad Ludgate <oon@conradludgate.com> * shellcheck fixes in which i am highly confident * shellcheck fixes in which I am less confident - not executing this is fine, right? * SC2155 In src/shell/atuin.bash line 1: export ATUIN_SESSION=$(atuin uuid) ^-----------^ SC2155: Declare and assign separately to avoid masking return values. * shellcheck doesn't support zsh, per https://github.com/koalaman/shellcheck/wiki/SC1071 * yaml fix * gotta checkout our code, too * yaml fix * action spelling * exclude .zsh * Shellcheck doesn't support zsh, per https://github.com/koalaman/shellcheck/wiki/SC1071, and the ignore: param in ludeeus/action-shellcheck only supports _directories_, not _files_. So instead, we manually add any error the shellcheck step finds in the file to the above line ... * comment all the ignores * Update src/shell/atuin.bash Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com> * new zsh plugin shellcheck errors * new zsh plugin shellcheck errors, pt 2 Co-authored-by: Conrad Ludgate <oon@conradludgate.com> Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
* 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