Commit Graph

49 Commits

Author SHA1 Message Date
dependabot[bot]
f0130571a6
Bump indicatif from 0.16.0 to 0.16.2 (#140)
Bumps [indicatif](https://github.com/mitsuhiko/indicatif) from 0.16.0 to 0.16.2.
- [Release notes](https://github.com/mitsuhiko/indicatif/releases)
- [Commits](https://github.com/mitsuhiko/indicatif/compare/0.16.0...0.16.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 10:43:55 +01:00
dependabot[bot]
87c9f61e27
Bump serde from 1.0.125 to 1.0.126 (#124)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.125 to 1.0.126.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.125...v1.0.126)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 22:34:48 +01:00
Ellie Huxtable
4286f65b01
Release v0.7.1 (#108) 2021-05-10 21:31:41 +00:00
Ellie Huxtable
d3059af815
Release v0.7.0 (#103)
* Release v0.7.0

- Update all the crate versions
- Update the demo gif
- Write a changelog
- Adjust the title of the search screen (has the old name still)
- Adjust the colours of the quick-jump numbers (sadly invisible on some
  colour schemes as dark grey :/)

* Update README, default config file, docs

* Link usernames

* Trigger release workflow upon release creation, as well as tags
2021-05-10 21:28:07 +01:00
Omer Katz
32c674889f
Increase number of optimizations on release builds. (#101)
This allows us to produce a faster executable (which is useful in shells) at the expense of rarely spending more compilation time upon releasing a new version.
I do this in all of my rust projects, perhaps because they are too small for compilation time to really matter. We should measure next time we release and see how that goes.
2021-05-10 12:01:19 +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
Ellie Huxtable
4df77c5201 Release v0.6.4
- Fix version
- Only build for two targets
2021-04-26 18:36:19 +01:00
Ellie Huxtable
e4eead8263 Update dependencies properly 2021-04-26 16:13: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
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
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
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
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
dependabot[bot]
0f6c6d57b8
Bump serde from 1.0.124 to 1.0.125 (#28) 2021-03-23 19:56:36 +00:00
Ellie Huxtable
c9579cb9ca
Implement server (#23)
* Add initial database and server setup

* Set up all routes, auth, etc

* Implement sessions, password auth, hashing with argon2, and history storage
2021-03-21 20:04:39 +00:00
Ellie Huxtable
716c7722cd
Add TUI, resolve #19, #17, #16 (#21) 2021-03-20 00:50:31 +00:00
Ellie Huxtable
61607e023f
Add config file support (#15) 2021-03-10 21:24:08 +00:00
Ellie Huxtable
b42d93dcc8 Really annoyed me today, so bump version 2021-02-16 21:35:18 +00:00
Ellie Huxtable
41f072a8b4
Add init command (#12)
* 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
2021-02-15 23:33:30 +00:00
Ellie Huxtable
ba086f909d Allow listing by current directory and/or session 2021-02-15 21:30:19 +00:00
Ellie Huxtable
c0633371b1 Change description 2021-02-15 20:33:39 +00:00
Ellie Huxtable
b10d302e57 Bump version 2021-02-14 22:33:22 +00:00
Ellie Huxtable
06afd6065f Bump version 2021-02-14 22:18:08 +00:00
Ellie Huxtable
851285225f
Add stats command (#9)
* Add stats command

For example

atuin stats day yesterday
atuin stats day last friday
atuin stats day 01/01/21

* Output tables, fix import blanks
2021-02-14 22:12:35 +00:00
Conrad Ludgate
6636f5878a
zsh bin is sometimes /usr/bin/zsh or might be elsewhere too (#8)
zsh also uses ~/.zsh_history

get better errors for not found history file
2021-02-14 18:40:51 +00:00
Ellie Huxtable
d128297e67 Make clippy annoying asf + add server 2021-02-14 13:28:01 +00:00
Ellie Huxtable
e7d234e305 Remove panic 2021-02-13 22:58:31 +00:00
Ellie Huxtable
d8aacb4a80 Add fuzzy history search and distinct arg 2021-02-13 22:06:27 +00:00
Ellie Huxtable
fbaeedbba4 Minor fixes 2021-02-13 20:55:06 +00:00
Ellie Huxtable
440c4fc233 Add sessions 2021-02-13 20:24:22 +00:00
Ellie Huxtable
099afe66ec Implement history import 2021-02-13 19:37:31 +00:00
Ellie Huxtable
7e60ace610 Record command exit code and duration 2021-02-13 17:02:52 +00:00
Ellie Huxtable
07aceb3dd4 Rename 2021-02-13 12:58:40 +00:00
Ellie Huxtable
9917d6c1e2 Fix merge
...I forgot to push. oops.
2020-10-05 20:38:34 +01:00
Conrad Ludgate
28287a6303
feat: use directories project data dir
chore: clean up some things
2020-10-05 17:20:48 +01:00
Conrad Ludgate
34038f6aaa
chore: use structopt wrapper instead of building clap by hand 2020-10-05 11:52:03 +01:00
Ellie Huxtable
4783b77a6a Use bundled sqlite 2020-10-05 01:13:27 +01:00
Ellie Huxtable
60afafd241 Update Cargo.toml 2020-10-05 01:06:41 +01:00
Ellie Huxtable
27b9a94305 Initial commit
Currently writing shell history to a sqlite db :)

Could do with:

1) store exit code
2) store duration
3) tidy up main
4) ...remote stuff
2020-10-05 00:59:28 +01:00