Commit Graph

562 Commits

Author SHA1 Message Date
dependabot[bot]
0f6c6d57b8
Bump serde from 1.0.124 to 1.0.125 (#28) 2021-03-23 19:56:36 +00:00
Ellie Huxtable
2caa731494
Create dependabot.yml 2021-03-23 17:17:12 +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
a342dc58bb BUFFER -> LBUFFER 2021-02-16 21:34:33 +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
e980973ba0 Satisfy clippy 2021-02-15 21:36:07 +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
48198cdfe9 Fix import message 2021-02-15 20:33:39 +00:00
Conrad Ludgate
68c5ca9ece
use database trait instead of sqlite impl (#10)
small improvements
2021-02-15 09:07:49 +00:00
Ellie Huxtable
80815d9eea
Update README.md 2021-02-14 23:33:14 +00:00
Ellie Huxtable
26bf61ff67
Update README.md 2021-02-14 22:47:22 +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
ea020f1b82 Specify nightly 2021-02-14 18:20:18 +00:00
Ellie Huxtable
8a5d82e820 Correct clippy usage 2021-02-14 18:16:53 +00:00
Ellie Huxtable
0cfa59a313 Do not allow warnings 2021-02-14 18:14:34 +00:00
Ellie Huxtable
3323b3079a Add test for extended parsing 2021-02-14 18:10:56 +00:00
Conrad Ludgate
bae59474ee
a few more tiny touch ups (#7)
* a few more tiny touch ups

* all praise clippy
2021-02-14 18:00:41 +00:00
Conrad Ludgate
72c5ea7914
tidy some stuff (#6) 2021-02-14 17:18:02 +00:00
Ellie Huxtable
8af0034ae0
Neaten the history listing code (#5)
I'd like to reduce the amount of SQL in the database code. Make it as
generic as possible, and later on perhaps expose a generic "execute"
function.

This function can be used by analysis commands, and the SQL can live
there - rather than database.rs being a huge bag of SQL.
2021-02-14 16:53:18 +00:00
Ellie Huxtable
46b5dc3761
Update README.md 2021-02-14 16:23:08 +00:00
Ellie Huxtable
a221fd083b
Create LICENSE 2021-02-14 16:22:25 +00:00
Ellie Huxtable
e5fd46adfa Update rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
f3b0006754 Update rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
6cd7ca9602 Update rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
7bd8e73c70 Create rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
660edfefed Make pedantic clippy happy 2021-02-14 15:35:08 +00:00
Ellie Huxtable
d128297e67 Make clippy annoying asf + add server 2021-02-14 13:28:01 +00:00
Ellie Huxtable
4fbd43dfe1 Update readme 2021-02-13 23:22:58 +00:00
Ellie Huxtable
8697aceb72 Fix clippy issues 2021-02-13 23:20:16 +00:00
Ellie Huxtable
f0b94d5bbd
Update README.md 2021-02-13 23:06:59 +00:00
Ellie Huxtable
cafb28d82b Amend 2021-02-13 23:02:17 +00:00
Ellie Huxtable
e7d234e305 Remove panic 2021-02-13 22:58:31 +00:00
Ellie Huxtable
b85cb770d3 Update widget 2021-02-13 22:29:25 +00:00
Ellie Huxtable
d8aacb4a80 Add fuzzy history search and distinct arg 2021-02-13 22:06:27 +00:00
Ellie Huxtable
3e7af55a9c Update readme 2021-02-13 21:21:00 +00:00
Ellie Huxtable
a7263edbc9 Rename zsh hook 2021-02-13 21:11:08 +00:00
Ellie Huxtable
fbaeedbba4 Minor fixes 2021-02-13 20:55:06 +00:00
Ellie Huxtable
ccdaa21fc6 Add session to hook 2021-02-13 20:48:40 +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
50ebe68d9f Begin import 2021-02-13 13:20:39 +00:00
Ellie Huxtable
07aceb3dd4 Rename 2021-02-13 12:58:40 +00:00