summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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
2021-04-20Switch to Warp + SQLx, use async, switch to Rust stable (#36)Ellie Huxtable
* Switch to warp + sql, use async and stable rust * Update CI to use stable
2021-04-14Optimise docker (#34)Ellie Huxtable
* Smaller dockerfile, better error handling * Add config dir
2021-04-13Add dockerfile (#32)Ellie Huxtable
2021-04-13Add history sync, resolves #13 (#31)Ellie Huxtable
* 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
2021-04-09Update configEllie Huxtable
2021-04-06Bump rusqlite from 0.24.2 to 0.25.0 (#30)dependabot[bot]
* 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>
2021-03-21Implement server (#23)Ellie Huxtable
* Add initial database and server setup * Set up all routes, auth, etc * Implement sessions, password auth, hashing with argon2, and history storage
2021-03-20Add TUI, resolve #19, #17, #16 (#21)Ellie Huxtable
2021-03-10Add config file support (#15)Ellie Huxtable
2021-02-16BUFFER -> LBUFFEREllie Huxtable
2021-02-15Add init command (#12)Ellie Huxtable
* 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
2021-02-15Satisfy clippyEllie Huxtable
2021-02-15Allow listing by current directory and/or sessionEllie Huxtable
2021-02-15Fix import messageEllie Huxtable
2021-02-15use database trait instead of sqlite impl (#10)Conrad Ludgate
small improvements
2021-02-14Bump versionEllie Huxtable
2021-02-14Add stats command (#9)Ellie Huxtable
* 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
2021-02-14zsh bin is sometimes /usr/bin/zsh or might be elsewhere too (#8)Conrad Ludgate
zsh also uses ~/.zsh_history get better errors for not found history file
2021-02-14Add test for extended parsingEllie Huxtable
2021-02-14a few more tiny touch ups (#7)Conrad Ludgate
* a few more tiny touch ups * all praise clippy
2021-02-14tidy some stuff (#6)Conrad Ludgate
2021-02-14Neaten the history listing code (#5)Ellie Huxtable
I'd like to reduce the amount of SQL in the database code. Make it as generic as possible, and later on perhaps expose a generic "execute" function. This function can be used by analysis commands, and the SQL can live there - rather than database.rs being a huge bag of SQL.
2021-02-14Make pedantic clippy happyEllie Huxtable
2021-02-14Make clippy annoying asf + add serverEllie Huxtable
2021-02-13Fix clippy issuesEllie Huxtable
2021-02-13Remove panicEllie Huxtable
2021-02-13Add fuzzy history search and distinct argEllie Huxtable
2021-02-13Minor fixesEllie Huxtable