aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* ignore JetBrains IDEs, tidy-up imports (#348)Jakub Panek2022-04-28
| | | | | | | * ignore JB IDEs * tidy-up imports * add rustfmt config
* Bump axum from 0.5.3 to 0.5.4 (#355)dependabot[bot]2022-04-27
| | | | | | | | | | | | | | | | | Bumps [axum](https://github.com/tokio-rs/axum) from 0.5.3 to 0.5.4. - [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.3...axum-v0.5.4) --- 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 created_at column to users (#354)Ellie Huxtable2022-04-26
|
* SQLx cannot run this migration OK (#353)Ellie Huxtable2022-04-26
| | | And also correct a typo
* fix db range query (#351)Conrad Ludgate2022-04-26
|
* fix import auto for bash (#352)jean-santos2022-04-26
|
* bump tui (#346)Conrad Ludgate2022-04-26
|
* Remove all select * from the server queries (#347)Ellie Huxtable2022-04-26
| | | | | It's not ideal as we should be explicit about what is being queried! A part one for sorting this all out :)
* Add btree index on history table (#345)Ellie Huxtable2022-04-26
| | | This speeds up a whole bunch of our queries by a *lot* :)
* Bump tower-http from 0.2.5 to 0.3.0 (#343)dependabot[bot]2022-04-26
| | | | | | | | | | | | | | | | Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.2.5 to 0.3.0. - [Release notes](https://github.com/tower-rs/tower-http/releases) - [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.2.5...tower-http-0.3.0) --- updated-dependencies: - dependency-name: tower-http dependency-type: direct:production update-type: version-update:semver-minor ... 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.11 to 3.1.12 (#342)dependabot[bot]2022-04-25
| | | | | | | | | | | | | | | | | Bumps [clap](https://github.com/clap-rs/clap) from 3.1.11 to 3.1.12. - [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.11...v3.1.12) --- 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>
* history list (#340)Conrad Ludgate2022-04-25
|
* Release v0.9.1 (#338)Ellie Huxtable2022-04-23
| | | | | | | | | a050faa Use `--locked` flag for CI builds (#337) 8737474 Update Cargo.lock (#336) eab1dbf sql builder (#333) Fixed to include an updated lockfile that was missed in the last release Thank you for the rapid report @orhun!
* Use `--locked` flag for CI builds (#337)Orhun Parmaksız2022-04-23
|
* Update Cargo.lock (#336)Orhun Parmaksız2022-04-23
|
* sql builder (#333)Conrad Ludgate2022-04-23
| | | | | | | * start * clean up * refactor globs
* Release v0.9.0 (#334)Ellie Huxtable2022-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 89549b3 Bump uuid from 0.8.2 to 1.0.0 (#311) 831cc98 Fix typos in the docs. (#171) 7436e4f feature-flags (#328) 508d4f4 History filter (#329) 02c70de refactor (#327) a9d1ece Added docker-compose.yml (#325) b8bdd83 Bump clap from 3.1.10 to 3.1.11 (#323) 52a3d0c Bump tracing from 0.1.33 to 0.1.34 (#324) 79597b0 Bump clap_complete from 3.1.1 to 3.1.2 (#316) 5aca611 Allow for larger commands (#321) 9085485 tracing (#315) 98d70fb treat popos as ubuntu (#319) d57f549 refactor commands for better separation (#313) 24e2971 Fix SQL cache query (#318) fe05d86 Fix delete trigger (#317) 48747e3 A few minor tweaks (#314) ed4e07d Use the count cache (#312) 6e11b8e Bump clap from 3.1.9 to 3.1.10 (#309) 44e417d Bump axum from 0.5.1 to 0.5.3 (#310) b98a378 Add count trigger (#308) 7fe523a Bump sqlx from 0.5.11 to 0.5.13 (#305) c5ab2a4 Bump clap from 3.1.8 to 3.1.9 (#306) 55f66c8 Bump cli-table from 0.4.6 to 0.4.7 (#297) 69279d2 Bump config from 0.13.0 to 0.13.1 (#303) d94cdae README: add MacPorts installation instructions (#302) f4240aa Initial implementation of calendar API (#298) 3c5fbc5 provide better error messages (#300) bc45bab remove default db uri (#299) 4897f4a Bump rmp-serde from 0.15.5 to 1.0.0 (#264) 5b2e828 Bump directories from 3.0.2 to 4.0.1 (#246) 016386c Bump urlencoding from 1.3.3 to 2.1.0 (#208) a95018c goodbye warp, hello axum (#296) 3b7ed7c fix env config parsing (#295)
* Fix empty queries with filters (#332)Ellie Huxtable2022-04-22
|
* Bump uuid from 0.8.2 to 1.0.0 (#311)dependabot[bot]2022-04-22
| | | | | | | | | | | | | | | | | | | | | * Bump uuid from 0.8.2 to 1.0.0 Bumps [uuid](https://github.com/uuid-rs/uuid) from 0.8.2 to 1.0.0. - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/0.8.2...1.0.0) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * patch Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
* Fix typos in the docs. (#171)mundry2022-04-22
| | | Co-authored-by: mundry <mundry@users.noreply.github.com>
* feature-flags (#328)Conrad Ludgate2022-04-22
| | | | | | | | | | | | | * use feature flags * fmt * fix features * update ci * fmt Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
* History filter (#329)Ellie Huxtable2022-04-22
| | | | | | | | | | | | | | * Add history filters, and hotkey toggle Switch between different search modes to narrow down the history you want - global search for all history, host for all history from your current machine, session for the current shell session, and directory for the current directory The default can be configured via `filter_mode` * Update docs * Add context
* refactor (#327)Conrad Ludgate2022-04-22
|
* 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
|