Ellie Huxtable
172ac8db47
Create FUNDING.yml
2022-04-28 20:15:51 +01:00
dependabot[bot]
7cdd00b56f
Bump tokio from 1.17.0 to 1.18.0 ( #357 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
2022-04-28 18:54:44 +01:00
Jakob-Niklas See
9d2e9ea174
Search: Allow specifiying the limited of returned entries ( #364 )
...
This patch adds a new option to the search command, allowing to limit
the returned results from the database.
2022-04-28 18:54:16 +01:00
Jakub Panek
93ab4e7842
ignore JetBrains IDEs, tidy-up imports ( #348 )
...
* ignore JB IDEs
* tidy-up imports
* add rustfmt config
2022-04-28 18:53:59 +01:00
dependabot[bot]
2cb4cb3982
Bump axum from 0.5.3 to 0.5.4 ( #355 )
...
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>
2022-04-27 09:09:34 +01:00
Ellie Huxtable
796644e24e
Add created_at column to users ( #354 )
2022-04-26 22:27:51 +01:00
Ellie Huxtable
f8233bcb63
SQLx cannot run this migration OK ( #353 )
...
And also correct a typo
2022-04-26 18:17:56 +01:00
Conrad Ludgate
d8ef5dd93a
fix db range query ( #351 )
2022-04-26 18:03:13 +01:00
jean-santos
5926ea64bf
fix import auto for bash ( #352 )
2022-04-26 17:56:06 +01:00
Conrad Ludgate
43d299fde3
bump tui ( #346 )
2022-04-26 12:38:26 +01:00
Ellie Huxtable
8ac6571bc6
Remove all select * from the server queries ( #347 )
...
It's not ideal as we should be explicit about what is being queried!
A part one for sorting this all out :)
2022-04-26 10:37:16 +01:00
Ellie Huxtable
4030de4bea
Add btree index on history table ( #345 )
...
This speeds up a whole bunch of our queries by a *lot* :)
2022-04-26 09:32:59 +01:00
dependabot[bot]
b692e0cee0
Bump tower-http from 0.2.5 to 0.3.0 ( #343 )
...
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>
2022-04-26 08:11:57 +01:00
dependabot[bot]
3680f4ac5e
Bump clap from 3.1.11 to 3.1.12 ( #342 )
...
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>
2022-04-25 21:47:24 +01:00
Conrad Ludgate
7f5310a1aa
history list ( #340 )
2022-04-25 07:13:30 +01:00
Ellie Huxtable
2fd9651dea
Release v0.9.1 ( #338 )
...
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!
2022-04-23 21:49:11 +01:00
Orhun Parmaksız
a050faaf32
Use --locked
flag for CI builds ( #337 )
2022-04-23 20:29:43 +00:00
Orhun Parmaksız
8737474bf0
Update Cargo.lock ( #336 )
2022-04-23 20:18:37 +00:00
Conrad Ludgate
eab1dbf414
sql builder ( #333 )
...
* start
* clean up
* refactor globs
2022-04-23 18:34:41 +01:00
Ellie Huxtable
22a7d8866b
Release v0.9.0 ( #334 )
...
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 )
2022-04-23 18:24:53 +01:00
Ellie Huxtable
b22929222f
Fix empty queries with filters ( #332 )
2022-04-22 21:15:50 +00:00
dependabot[bot]
89549b367b
Bump uuid from 0.8.2 to 1.0.0 ( #311 )
...
* 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>
2022-04-22 21:38:37 +01:00
mundry
831cc98c24
Fix typos in the docs. ( #171 )
...
Co-authored-by: mundry <mundry@users.noreply.github.com>
2022-04-22 21:17:05 +01:00
Conrad Ludgate
7436e4ff65
feature-flags ( #328 )
...
* use feature flags
* fmt
* fix features
* update ci
* fmt
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2022-04-22 20:14:23 +00:00
Ellie Huxtable
508d4f4761
History filter ( #329 )
...
* 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
2022-04-22 21:05:02 +01:00
Conrad Ludgate
02c70deecb
refactor ( #327 )
2022-04-22 19:24:38 +01:00
lchausmann
a9d1ece0cb
Added docker-compose.yml ( #325 )
...
Also added section to how to run your own server.
Co-authored-by: Lars Chr. Duus Hausmann <lars.chr@duus-hausmann.dk>
2022-04-22 08:41:55 +00:00
dependabot[bot]
b8bdd837eb
Bump clap from 3.1.10 to 3.1.11 ( #323 )
...
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>
2022-04-22 09:02:11 +01:00
dependabot[bot]
52a3d0c0d8
Bump tracing from 0.1.33 to 0.1.34 ( #324 )
...
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>
2022-04-22 09:01:47 +01:00
dependabot[bot]
79597b07c3
Bump clap_complete from 3.1.1 to 3.1.2 ( #316 )
...
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>
2022-04-21 22:13:53 +01:00
Ellie Huxtable
5aca6114d4
Allow for larger commands ( #321 )
...
Followup: Limit command length client side too
2022-04-21 18:54:58 +01:00
Conrad Ludgate
9085485a4f
tracing ( #315 )
...
* enable tracing on server
* fmt
* instrument handlers
2022-04-21 18:07:33 +01:00
Brad Robel-Forrest
98d70fbf76
treat popos as ubuntu ( #319 )
2022-04-21 17:26:35 +01:00
Conrad Ludgate
d57f549855
refactor commands for better separation ( #313 )
...
* refactor commands for better separation
* fmt
2022-04-21 09:12:56 +00:00
Ellie Huxtable
24e2971787
Fix SQL cache query ( #318 )
...
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
2022-04-21 09:19:54 +01:00
Ellie Huxtable
fe05d86bfa
Fix delete trigger ( #317 )
...
I've tested this again by deleting my full history and re-syncing, all
good.
2022-04-21 09:12:51 +01:00
Conrad Ludgate
48747e3b7c
A few minor tweaks ( #314 )
...
* use bail macro
replace client database errors
remove dead code
* fix test
2022-04-21 08:05:57 +01:00
Ellie Huxtable
ed4e07d2e6
Use the count cache ( #312 )
...
* 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>
2022-04-21 08:03:39 +01:00
dependabot[bot]
6e11b8e0ed
Bump clap from 3.1.9 to 3.1.10 ( #309 )
...
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>
2022-04-20 09:10:27 +01:00
dependabot[bot]
44e417d2fc
Bump axum from 0.5.1 to 0.5.3 ( #310 )
...
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>
2022-04-20 09:10:05 +01:00
Ellie Huxtable
b98a378861
Add count trigger ( #308 )
...
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.
2022-04-19 18:19:21 +01:00
dependabot[bot]
7fe523acd2
Bump sqlx from 0.5.11 to 0.5.13 ( #305 )
...
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>
2022-04-19 09:18:37 +01:00
dependabot[bot]
c5ab2a46fa
Bump clap from 3.1.8 to 3.1.9 ( #306 )
...
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>
2022-04-19 09:17:50 +01:00
dependabot[bot]
55f66c8ad5
Bump cli-table from 0.4.6 to 0.4.7 ( #297 )
...
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>
2022-04-14 09:16:55 +01:00
dependabot[bot]
69279d2338
Bump config from 0.13.0 to 0.13.1 ( #303 )
...
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>
2022-04-14 09:15:36 +01:00
Herby Gillot
d94cdaea3e
README: add MacPorts installation instructions ( #302 )
...
https://ports.macports.org/port/atuin/
2022-04-13 22:49:38 +00:00
Ellie Huxtable
f4240aa62b
Initial implementation of calendar API ( #298 )
...
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 :)
2022-04-13 18:29:18 +01:00
Conrad Ludgate
3c5fbc5734
provide better error messages ( #300 )
2022-04-13 18:08:49 +01:00
Conrad Ludgate
bc45bab273
remove default db uri ( #299 )
2022-04-13 18:08:21 +01:00
dependabot[bot]
4897f4a242
Bump rmp-serde from 0.15.5 to 1.0.0 ( #264 )
...
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>
2022-04-13 12:50:50 +01:00