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
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]
4ea0270f40
Bump cli-table from 0.4.1 to 0.4.5 ( #27 )
2021-03-23 20:04:16 +00: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
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
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