aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAge
* 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
* 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
* Fix bash integration to set the session (#88)Ellie Huxtable2021-05-09
|
* 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
|
* Run shellcheck on bash file (#81)Yuvi Panda2021-05-09
| | | Ref #64
* 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
|
* Add ATUIN_NOBIND (#62)Ellie Huxtable2021-05-08
| | | | | | | | | | | * Add ATUIN_NOBIND * Update docs/key-binding.md `<kbd>`, what magic Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
* Allow using Ctrl-c to exit (#53)Ellie Huxtable2021-05-08
|
* Release v0.6.4Ellie Huxtable2021-04-26
| | | | | - Fix version - Only build for two targets
* 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