aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/history.rs (follow)
Commit message (Collapse)AuthorAge
* 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
|
* Enable help messages for command line arguments (#239)Orhun Parmaksız2021-12-11
|
* 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
|
* 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
* 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
* 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
* 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>
* Add TUI, resolve #19, #17, #16 (#21)Ellie Huxtable2021-03-20
|
* 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
* Allow listing by current directory and/or sessionEllie Huxtable2021-02-15
|
* use database trait instead of sqlite impl (#10)Conrad Ludgate2021-02-15
| | | small improvements
* tidy some stuff (#6)Conrad Ludgate2021-02-14
|
* Neaten the history listing code (#5)Ellie Huxtable2021-02-14
| | | | | | | | 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.
* Make pedantic clippy happyEllie Huxtable2021-02-14
|
* Add fuzzy history search and distinct argEllie Huxtable2021-02-13
|
* Add sessionsEllie Huxtable2021-02-13
|
* Implement history importEllie Huxtable2021-02-13