summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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
2022-02-15Update fish bindings. (#265)Patrick Jackson
2022-02-15Restore bash 4.2 compatibility, only add hook once (#271)Sandro
2022-01-25Add support for blesh (#267)Sandro
* 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
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-16remove unused environment var loading entire history into an env var (#242)Mat Jones
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-14run shellcheck (#97)Ian Smith
* 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>
2021-05-10Release v0.7.0 (#103)v0.7.0Ellie 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-09Fix bash integration to set the session (#88)Ellie Huxtable
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
2021-05-09Fix resh importer, and change error handling method (#82)Jamie Quigley
2021-05-09Run shellcheck on bash file (#81)Yuvi Panda
Ref #64
2021-05-09Use an enum for dialect (#80)Yuvi Panda
2021-05-09Support fulltext search of commands (#75)Yuvi Panda
2021-05-08Retain the query entered into the TUI (#76)Ellie Huxtable
If no results are found, and the user presses enter, keep the query! Resolves #73
2021-05-08Add importer for resh_history file (#69)Jamie Quigley
* Added resh history importer * Silence trivial clippy warnings for the PR CI
2021-05-08Add Ctrl-d as a way of exiting the TUI (#65)Jamie Quigley
2021-05-08Add ATUIN_NOBIND (#62)Ellie Huxtable
* 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>
2021-05-08Allow using Ctrl-c to exit (#53)Ellie Huxtable
2021-04-26Release v0.6.4v0.6.4Ellie Huxtable
- Fix version - Only build for two targets
2021-04-26Fix pipelineEllie Huxtable
Lol no more committing to main for me
2021-04-26Support bash, resolves #3Ellie Huxtable
2021-04-25Update docs, unify on SQLx, bugfixes (#40)Ellie Huxtable
* 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
2021-04-21Bugfixes, show time ago, perf improvementsEllie Huxtable
Also allow unique listing and more ergonomic cwd usage
2021-04-20Use cargo workspaces (#37)Ellie Huxtable
* 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