aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Added docker-compose.yml (#325)lchausmann2022-04-22
| | | | | Also added section to how to run your own server. Co-authored-by: Lars Chr. Duus Hausmann <lars.chr@duus-hausmann.dk>
* Bump clap from 3.1.10 to 3.1.11 (#323)dependabot[bot]2022-04-22
| | | | | | | | | | | | | | | | | Bumps [clap](https://github.com/clap-rs/clap) from 3.1.10 to 3.1.11. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v3.1.10...v3.1.11) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump tracing from 0.1.33 to 0.1.34 (#324)dependabot[bot]2022-04-22
| | | | | | | | | | | | | | | | Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.33 to 0.1.34. - [Release notes](https://github.com/tokio-rs/tracing/releases) - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.33...tracing-0.1.34) --- updated-dependencies: - dependency-name: tracing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump clap_complete from 3.1.1 to 3.1.2 (#316)dependabot[bot]2022-04-21
| | | | | | | | | | | | | | | | | Bumps [clap_complete](https://github.com/clap-rs/clap) from 3.1.1 to 3.1.2. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v3.1.1...clap_complete-v3.1.2) --- updated-dependencies: - dependency-name: clap_complete dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Allow for larger commands (#321)Ellie Huxtable2022-04-21
| | | Followup: Limit command length client side too
* tracing (#315)Conrad Ludgate2022-04-21
| | | | | | | * enable tracing on server * fmt * instrument handlers
* treat popos as ubuntu (#319)Brad Robel-Forrest2022-04-21
|
* refactor commands for better separation (#313)Conrad Ludgate2022-04-21
| | | | | * refactor commands for better separation * fmt
* Fix SQL cache query (#318)Ellie Huxtable2022-04-21
| | | | | | | | I just deployed the older version and it was falling back on the full count. Turns out this is because it won't upcast from INT4 to INT8 automatically, and it has to be manual At some point the underlying total should be changed to int8, but also I highly doubt anyone will have enough shell history to fill an int4 lol
* Fix delete trigger (#317)Ellie Huxtable2022-04-21
| | | | I've tested this again by deleting my full history and re-syncing, all good.
* A few minor tweaks (#314)Conrad Ludgate2022-04-21
| | | | | | | | | * use bail macro replace client database errors remove dead code * fix test
* Use the count cache (#312)Ellie Huxtable2022-04-21
| | | | | | | | | | | * Use the count cache By default read from the count cache - if there is no value there, then do a full COUNT. The cache will be filled when the user posts up some more history * clean up server db error handling Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
* Bump clap from 3.1.9 to 3.1.10 (#309)dependabot[bot]2022-04-20
| | | | | | | | | | | | | | | | | Bumps [clap](https://github.com/clap-rs/clap) from 3.1.9 to 3.1.10. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v3.1.9...v3.1.10) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump axum from 0.5.1 to 0.5.3 (#310)dependabot[bot]2022-04-20
| | | | | | | | | | | | | | | | | Bumps [axum](https://github.com/tokio-rs/axum) from 0.5.1 to 0.5.3. - [Release notes](https://github.com/tokio-rs/axum/releases) - [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.5.1...axum-v0.5.3) --- updated-dependencies: - dependency-name: axum dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add count trigger (#308)Ellie Huxtable2022-04-19
| | | | | This can be used in a later PR to optimise our database usage significantly. Avoiding COUNT will be fantastic for our CPU usage, and therefore sync times.
* Bump sqlx from 0.5.11 to 0.5.13 (#305)dependabot[bot]2022-04-19
| | | | | | | | | | | | | | | | | Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.5.11 to 0.5.13. - [Release notes](https://github.com/launchbadge/sqlx/releases) - [Changelog](https://github.com/launchbadge/sqlx/blob/master/CHANGELOG.md) - [Commits](https://github.com/launchbadge/sqlx/compare/v0.5.11...v0.5.13) --- updated-dependencies: - dependency-name: sqlx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump clap from 3.1.8 to 3.1.9 (#306)dependabot[bot]2022-04-19
| | | | | | | | | | | | | | | | | Bumps [clap](https://github.com/clap-rs/clap) from 3.1.8 to 3.1.9. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v3.1.8...v3.1.9) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump cli-table from 0.4.6 to 0.4.7 (#297)dependabot[bot]2022-04-14
| | | | | | | | | | | | | | | | Bumps [cli-table](https://github.com/devashishdxt/cli-table) from 0.4.6 to 0.4.7. - [Release notes](https://github.com/devashishdxt/cli-table/releases) - [Commits](https://github.com/devashishdxt/cli-table/compare/0.4.6...0.4.7) --- updated-dependencies: - dependency-name: cli-table dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump config from 0.13.0 to 0.13.1 (#303)dependabot[bot]2022-04-14
| | | | | | | | | | | | | | | | | Bumps [config](https://github.com/mehcode/config-rs) from 0.13.0 to 0.13.1. - [Release notes](https://github.com/mehcode/config-rs/releases) - [Changelog](https://github.com/mehcode/config-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/mehcode/config-rs/compare/0.13.0...0.13.1) --- updated-dependencies: - dependency-name: config dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* README: add MacPorts installation instructions (#302)Herby Gillot2022-04-13
| | | https://ports.macports.org/port/atuin/
* Initial implementation of calendar API (#298)Ellie Huxtable2022-04-13
| | | | | | | | | | | This can be used in the future for sync so that we can be more intelligent with what we're doing, and only sync up what's needed I'd like to eventually replace this with something more like a merkle tree, hence the hash field I've exposed, but that can come later Although this does include a much larger number of count queries, it should also be significantly more cache-able. I'll follow up with that later, and also follow up with using this for sync :)
* provide better error messages (#300)Conrad Ludgate2022-04-13
|
* remove default db uri (#299)Conrad Ludgate2022-04-13
|
* Bump rmp-serde from 0.15.5 to 1.0.0 (#264)dependabot[bot]2022-04-13
| | | | | | | | | | | | | | | | Bumps [rmp-serde](https://github.com/3Hren/msgpack-rust) from 0.15.5 to 1.0.0. - [Release notes](https://github.com/3Hren/msgpack-rust/releases) - [Commits](https://github.com/3Hren/msgpack-rust/commits/rmp-serde/v1.0.0) --- updated-dependencies: - dependency-name: rmp-serde dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump directories from 3.0.2 to 4.0.1 (#246)dependabot[bot]2022-04-13
| | | | | | | | | | | | | | | | Bumps [directories](https://github.com/soc/directories-rs) from 3.0.2 to 4.0.1. - [Release notes](https://github.com/soc/directories-rs/releases) - [Commits](https://github.com/soc/directories-rs/commits) --- updated-dependencies: - dependency-name: directories dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump urlencoding from 1.3.3 to 2.1.0 (#208)dependabot[bot]2022-04-13
| | | | | | | | | | | | | | | | Bumps [urlencoding](https://github.com/kornelski/rust_urlencoding) from 1.3.3 to 2.1.0. - [Release notes](https://github.com/kornelski/rust_urlencoding/releases) - [Commits](https://github.com/kornelski/rust_urlencoding/commits) --- updated-dependencies: - dependency-name: urlencoding dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* goodbye warp, hello axum (#296)Conrad Ludgate2022-04-12
|
* fix env config parsing (#295)Conrad Ludgate2022-04-12
| | | | | * fix env config parsing * fmt
* Release v0.8.1 (#291)Ellie Huxtable2022-04-12
| | | | | | | | | | | | | | | | | | | | f861893 Update to clap 3.1.x (#289) e8f7aac Add compact mode (#288) 1e04c4c Add rust-version to Cargo.toml (#287) 222e52b Update Dockerfile fae118a Improve fuzzy search (#279) 7cde55a Add code of conduct (#281) d270798 Update config-rs (#280) 3248883 Update README.md 7f58741 Fix `history list --cwd` errors (#278) e117b62 Update fish bindings. (#265) 4223ac6 Restore bash 4.2 compatibility, only add hook once (#271) 7651f89 Add support for blesh (#267) c2dd332 fix: get install.sh working on UbuntuWSL (#260) 84403a3 Bump reqwest from 0.11.7 to 0.11.9 (#261) 5005cf7 Bump serde_json from 1.0.73 to 1.0.75 (#262) 7fa3e1c Do not crash if the history timestamp is in the future (#250) 8d21506 use sqlite grouping rather than subquery (#181) d36ff13 Replace dpkg with apt (#248)
* Update to clap 3.1.x (#289)Jamie Quigley2022-04-07
|
* Add compact mode (#288)Jakob Schrettenbrunner2022-04-04
|
* Add rust-version to Cargo.toml (#287)Jakob Schrettenbrunner2022-04-04
|
* Update DockerfileEllie Huxtable2022-03-18
|
* Improve fuzzy search (#279)Patrick2022-03-18
| | | | | | | | | | | | | | | | | | | | | * Add SearchMode fzf. Add a new search mode "fzf" that tries to mimic the search syntax of https://github.com/junegunn/fzf#search-syntax This search mode splits the query into terms where each term is matched individually. Terms can have operators like prefix, suffix, exact match only and can be inverted. Additionally, smart-case matching is performed: if a term contains a non-lowercase letter the match will be case-sensitive. * PR feedback. - Use SearchMode::Fuzzy instead of SearchMode::Fzf - update docs - re-order tests so previous fuzzy tests come first, add more tests for each operator * PR comments: remove named arguments, match expression * PR comments: macro -> async func
* Add code of conduct (#281)Ellie Huxtable2022-03-17
|
* 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
* Update README.mdEllie Huxtable2022-03-17
|
* 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
* fix: get install.sh working on UbuntuWSL (#260)Simon Elsbrock2022-01-18
|
* Bump reqwest from 0.11.7 to 0.11.9 (#261)dependabot[bot]2022-01-18
| | | | | | | | | | | | | | | | | Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.7 to 0.11.9. - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.7...v0.11.9) --- updated-dependencies: - dependency-name: reqwest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump serde_json from 1.0.73 to 1.0.75 (#262)dependabot[bot]2022-01-18
| | | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.73 to 1.0.75. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.73...v1.0.75) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 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...
* use sqlite grouping rather than subquery (#181)Mark Wotton2021-12-19
|
* Replace dpkg with apt (#248)Sandro2021-12-19
| | | | dpkg is a backend tool not supposed to be used by end users for installing debs. Also apt installs potentials dependencies.
* Release 0.8.0 (#245)Ellie2021-12-17
|
* 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
|