aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAge
* 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
* 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 dockerfile (#32)Ellie Huxtable2021-04-13
|
* 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>
* Implement server (#23)Ellie Huxtable2021-03-21
| | | | | | | * Add initial database and server setup * Set up all routes, auth, etc * Implement sessions, password auth, hashing with argon2, and history storage
* Add TUI, resolve #19, #17, #16 (#21)Ellie Huxtable2021-03-20
|
* Add config file support (#15)Ellie Huxtable2021-03-10
|
* BUFFER -> LBUFFEREllie Huxtable2021-02-16
|
* Add init command (#12)Ellie Huxtable2021-02-15
| | | | | | | | * Add init command This makes setting up the shell part of A'tuin much easier. Eval the output of "atuin init". * Update readme, add up binding
* Satisfy clippyEllie Huxtable2021-02-15
|
* Allow listing by current directory and/or sessionEllie Huxtable2021-02-15
|
* Fix import messageEllie Huxtable2021-02-15
|
* use database trait instead of sqlite impl (#10)Conrad Ludgate2021-02-15
| | | small improvements
* Bump versionEllie Huxtable2021-02-14
|
* Add stats command (#9)Ellie Huxtable2021-02-14
| | | | | | | | | | | * Add stats command For example atuin stats day yesterday atuin stats day last friday atuin stats day 01/01/21 * Output tables, fix import blanks
* zsh bin is sometimes /usr/bin/zsh or might be elsewhere too (#8)Conrad Ludgate2021-02-14
| | | | | zsh also uses ~/.zsh_history get better errors for not found history file