Commit graph

263 commits

Author SHA1 Message Date
Ellie Huxtable
07c5461013
Retain the query entered into the TUI (#76)
If no results are found, and the user presses enter, keep the query!

Resolves #73
2021-05-08 22:10:40 +01:00
Jamie Quigley
bb086808b1
Add importer for resh_history file (#69)
* Added resh history importer

* Silence trivial clippy warnings for the PR CI
2021-05-08 17:29:46 +01:00
Ellie Huxtable
56b75bc7bf
Add homebrew install instructions 2021-05-08 15:06:40 +01:00
Jamie Quigley
2e5f16a6a3
Add Ctrl-d as a way of exiting the TUI (#65) 2021-05-08 14:04:33 +00:00
Ellie Huxtable
220e2d05e3
Put cargo install in the right place (#63)
Resolves #61
2021-05-08 14:30:41 +01:00
Ellie Huxtable
8bd4d12cfa
Add ATUIN_NOBIND (#62)
* 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-08 14:17:22 +01:00
avinassh
035bf9a99b
Add a newline when editing shell rc files (#60)
* Add a newline when editing shell rc files

* Update install.sh

Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>

* Update install.sh

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-08 12:57:27 +00:00
dependabot[bot]
7c87624d8a
Bump indicatif from 0.15.0 to 0.16.0 (#45)
Bumps [indicatif](https://github.com/mitsuhiko/indicatif) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases)
- [Commits](https://github.com/mitsuhiko/indicatif/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 09:58:25 +01:00
dependabot[bot]
b35db2c4e1
Bump tui from 0.14.0 to 0.15.0 (#44)
Bumps [tui](https://github.com/fdehau/tui-rs) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/fdehau/tui-rs/releases)
- [Changelog](https://github.com/fdehau/tui-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fdehau/tui-rs/compare/v0.14.0...v0.15.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 09:45:11 +01:00
dependabot[bot]
d7a47d39a7
Bump cli-table from 0.4.5 to 0.4.6 (#43) 2021-05-08 07:49:21 +00:00
dependabot[bot]
11323446eb
Bump directories from 3.0.1 to 3.0.2 (#41)
Bumps [directories](https://github.com/soc/directories-rs) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/soc/directories-rs/releases)
- [Commits](https://github.com/soc/directories-rs/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 08:37:26 +01:00
Ellie Huxtable
99f26ff383
Allow using Ctrl-c to exit (#53) 2021-05-08 00:02:39 +01:00
Conrad Ludgate
086f4cc27c
cache builds (#49)
* cache builds

* improve cache steps

* un-restrict target cache

* remove release cache
2021-05-07 20:28:16 +00:00
Conrad Ludgate
1c59f85ea8
remove dyn Reply (#48)
* cleanup reply types

* cleanup error api

* small update

* improve api some more

* fmt
2021-05-07 21:06:56 +01:00
Ian Smith
e2edcbf994
Fix ubuntu install (#46)
The filename for the deb is versioned like '0.6.4', not 'v0.6.4'.
2021-05-07 19:06:43 +01:00
Ellie Huxtable
cbb472bba6 Update README and docs 2021-05-07 16:59:12 +01:00
Ellie Huxtable
6cc5006b10
Update install.sh
😳 oops
2021-04-27 18:42:16 +01:00
Ellie Huxtable
c11865f589
Update install.sh 2021-04-27 18:34:30 +01:00
Ellie Huxtable
04b2a1bd7b
Update install.sh 2021-04-27 18:33:06 +01:00
Ellie Huxtable
a503fa8b7d
Update README.md 2021-04-27 18:32:44 +01:00
Ellie Huxtable
4df77c5201 Release v0.6.4
- Fix version
- Only build for two targets
2021-04-26 18:36:19 +01:00
Ellie Huxtable
9356736ca1 Release v0.6.3
First proper release!

- Update install script
- Correct dependencies
- Update workflow release script
2021-04-26 18:04:56 +01:00
Ellie Huxtable
e4eead8263 Update dependencies properly 2021-04-26 16:13:32 +01:00
Ellie Huxtable
dcd658d2e9 Update readme 2021-04-26 15:48:42 +01:00
Ellie Huxtable
5a2b721ceb Update install 2021-04-26 15:46:47 +01:00
Ellie Huxtable
dea97decdc
Update README.md 2021-04-26 15:45:32 +01:00
Ellie Huxtable
0610ae197f
Pre release polishing (#42)
* Improve readme

* Add demo gif

* Update readme

* Add mac build

* Amend release config

* Update gif
2021-04-26 13:25:57 +00:00
Ellie Huxtable
646fec893e Fix pipeline
Lol no more committing to main for me
2021-04-26 12:05:20 +01:00
Ellie Huxtable
2dd703d7be Amend readme 2021-04-26 11:59:00 +01:00
Ellie Huxtable
7b5c3d543d Support bash, resolves #3 2021-04-26 11:57:30 +01:00
Ellie Huxtable
4f16e8411e Revert to storing history as nanos 2021-04-25 21:27:51 +01:00
Ellie Huxtable
156893d774
Update docs, unify on SQLx, bugfixes (#40)
* 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-25 17:21:52 +00:00
Ellie Huxtable
4210e8de5a Add to Cargo.toml 2021-04-21 21:32:21 +01:00
Ellie Huxtable
d63b0110ea Bump to 0.6.1
Includes latest bugfixes and performance improvements

atuin@0.6.1
atuin-client@0.6.1
atuin-common@0.6.1
atuin-server@0.6.1
2021-04-21 21:28:10 +01:00
Ellie Huxtable
4a50ce3666 Bugfixes, show time ago, perf improvements
Also allow unique listing and more ergonomic cwd usage
2021-04-21 21:26:44 +01:00
dependabot[bot]
a9b117aad7
Bump rusqlite from 0.25.0 to 0.25.1 (#35)
Bumps [rusqlite](https://github.com/rusqlite/rusqlite) from 0.25.0 to 0.25.1.
- [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.25.0...v0.25.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 21:12:43 +00:00
Ellie Huxtable
ead33664bd Release 0.6.0
atuin@0.6.0
atuin-client@0.6.0
atuin-common@0.6.0
atuin-server@0.6.0

Generated by cargo-workspaces
2021-04-20 22:01:46 +01:00
Ellie Huxtable
053ac5eacb Update versions to match 2021-04-20 21:59:54 +01:00
Ellie Huxtable
a21737e2b7
Use cargo workspaces (#37)
* 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-20 20:53:07 +00:00
Ellie Huxtable
34888827f8
Switch to Warp + SQLx, use async, switch to Rust stable (#36)
* Switch to warp + sql, use async and stable rust

* Update CI to use stable
2021-04-20 16:07:11 +00:00
Ellie Huxtable
f6de558070
Optimise docker (#34)
* Smaller dockerfile, better error handling

* Add config dir
2021-04-14 17:40:50 +00:00
dependabot[bot]
983f9e6b7b
Bump reqwest from 0.11.2 to 0.11.3 (#33)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.2 to 0.11.3.
- [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.2...v0.11.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-14 13:00:27 +01:00
Ellie Huxtable
9c8d426184
Add dockerfile (#32) 2021-04-13 21:31:41 +00:00
Ellie Huxtable
5751463942
Add history sync, resolves #13 (#31)
* 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-13 19:14:07 +01:00
Ellie Huxtable
a1fcf54f93 Update config 2021-04-09 12:43:32 +01:00
Ellie Huxtable
f1ea7fdfb1 Ignore env file 2021-04-09 12:42:43 +01:00
Ellie Huxtable
9f16f76bd8 Update config 2021-04-09 12:40:21 +01:00
dependabot[bot]
b5845bc3a1
Bump rusqlite from 0.24.2 to 0.25.0 (#30)
* 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-04-06 10:59:07 +00:00
dependabot[bot]
c586cf5f51
Bump serde_derive from 1.0.124 to 1.0.125 (#25) 2021-03-30 16:30:39 +01:00
dependabot[bot]
a79e98adcd
Bump config from 0.10.1 to 0.11.0 (#24) 2021-03-29 19:15:28 +01:00