David Dworken
bfac5198ec
Fix bug where it was impossible to search for an empty string in the TUI
2022-10-21 23:29:49 -07:00
David Dworken
b8039e6d8a
Add test for fish recording background commands + remove todo
2022-10-21 23:26:41 -07:00
David Dworken
70f5d668de
Run TestFish with bash to see whether that fixes the obscure zsh error
2022-10-21 23:16:27 -07:00
David Dworken
4040451290
Add comments for all model fields + reorganize field order
2022-10-21 23:12:56 -07:00
David Dworken
6464264673
Support displaying query errors rather than crashing the entire TUI
2022-10-21 23:07:52 -07:00
David Dworken
dbf029067f
Always run macos and ubuntu tests even if one fails
2022-10-21 23:00:33 -07:00
David Dworken
7cdf9c0ac4
Escape instead of q so that the TUI can have search terms containing q
2022-10-21 22:58:51 -07:00
David Dworken
204ce10619
Make the TestTui function always use zsh since the TUI has nothing to do with shell support
2022-10-21 00:16:25 -07:00
David Dworken
c978ee9a2e
Enable control-r in tests + basic test for control-r in zsh
2022-10-21 00:14:28 -07:00
David Dworken
07bf84a4f9
Skip importing the existing shell history if install is ran and hishtory already has a significant number of history entries
2022-10-20 23:42:08 -07:00
David Dworken
49b81bcc19
Support control-r search for fish
2022-10-20 23:39:56 -07:00
David Dworken
8501e0d16c
Install tmux for macos
2022-10-20 15:46:30 -07:00
David Dworken
8a32ddef5a
Add test checking that hishtory records commands run in the background (it does, but this is currently broken in fish)
2022-10-19 21:33:31 -07:00
David Dworken
9d5eb73c76
brew install fish in actions + don't hardcode the fish path
2022-10-19 21:27:03 -07:00
David Dworken
2ee050a629
mkdir ~/.config/fish if it doesn't exist yet
2022-10-19 21:24:43 -07:00
David Dworken
54679dc2db
Test fish omitting certain commands
2022-10-19 18:01:16 -07:00
David Dworken
6e4be9c6a1
Instal fish in github actions
2022-10-19 17:58:32 -07:00
David Dworken
406b36f765
Add TODO
2022-10-19 17:57:43 -07:00
David Dworken
762e9a6e0a
Add basic test for fish recoridng history commands
2022-10-18 21:00:30 -07:00
David Dworken
db4295e745
Add the testing fish config
2022-10-18 20:16:58 -07:00
David Dworken
abe231f5b0
Initial non-unit tested version of fish support
2022-10-18 19:55:41 -07:00
David Dworken
b31d35685c
More tui tests + re-enable them for non-action runs
2022-10-18 15:07:56 -07:00
David Dworken
6b2e9059a4
Optimize the submit endpoint to only use 1 query and 1 insert rather than N
2022-10-18 14:52:35 -07:00
David Dworken
c7651179cf
Skip the tui test since it is still flaky
2022-10-18 14:51:54 -07:00
David Dworken
f2d5026282
Add docker compose integration to the makefile
2022-10-18 14:45:17 -07:00
David Dworken
87d3dc4d97
Log the actual remote addr in log lines
2022-10-18 14:35:03 -07:00
David Dworken
0990a9db18
Release v0.145
2022-10-18 12:06:49 -07:00
David Dworken
ad809efef6
Migrate hishtory from k8s to docker compose
2022-10-18 11:53:35 -07:00
David Dworken
2c6061e497
Treat i/o timeouts as offline errors too
2022-10-18 11:52:52 -07:00
David Dworken
0342ca28ad
Release v0.144
2022-10-18 01:23:19 -07:00
David Dworken
40d6d7daa5
Add a very basic test for the tui
2022-10-17 21:58:56 -07:00
David Dworken
ab95b16ea2
Update comment
2022-10-17 20:38:40 -07:00
David Dworken
1aae1be8a6
Add more tests
2022-10-17 20:35:32 -07:00
David Dworken
710e4dd901
control-r for bash
2022-10-17 20:18:28 -07:00
David Dworken
f9a01a56cb
Fix two bugs in the tui
2022-10-16 12:55:10 -07:00
David Dworken
5a943c20f1
Initial working version of control-r search
2022-10-16 12:43:16 -07:00
David Dworken
3fb55eb192
Release v0.143
2022-10-16 10:12:04 -07:00
David Dworken
a66e473bb8
Fix bug in client_test that made me not realize that there was a bug in the install process
2022-10-16 09:56:14 -07:00
David Dworken
ab7db995aa
Restore stdin import for the hishtory import command
2022-10-16 09:51:52 -07:00
David Dworken
d255131d68
Fix bug where reading stdin would cause the install to hang
2022-10-16 09:47:26 -07:00
David Dworken
f337d7affd
Add a new field to the config for enabling control-r search and add undocumented commands to toggle this field from the CLI
2022-10-16 09:29:14 -07:00
David Dworken
37f351bb8a
Add basic undocumented tui for querying under the hishtory tquery command
2022-10-16 09:22:34 -07:00
David Dworken
6ec4416ff5
Release v0.142
2022-10-15 14:36:38 -07:00
David Dworken
1df567a41e
Revert "Remove no longer used dot files"
...
This reverts commit a61e56a01b
.
2022-10-15 14:36:29 -07:00
David Dworken
36c26a7aaf
Release v0.141
2022-10-15 13:04:37 -07:00
David Dworken
7f75f10b3f
Treat 502 and 503 errors from the LB as network errors so they get silenced and retried
2022-10-15 10:12:18 -07:00
David Dworken
0da8021ab7
HTML escape the forced banner to prevent XSS (though this domain has no cookies so there would have been very limited harm from an XSS)
2022-10-15 09:58:47 -07:00
David Dworken
abb0684140
Swap to a forked version of rodaine/table that supports multi-line table entries
...
So now when zsh has a history entry with multiple lines, it will display correctly like so:
Hostname CWD Timestamp Runtime Exit Code Command
Davids-MacBook-Air.local ~/code/hishtory Oct 14 2022 23:06:06 PDT 1.621s 1 while :; do ls; done
Davids-MacBook-Air.local ~/code/hishtory Oct 14 2022 23:04:24 PDT 22.768s 130 hishtory query while
Davids-MacBook-Air.local ~/code/hishtory Oct 14 2022 23:04:24 PDT 1.258s 0 hishtory query while
Davids-MacBook-Air.local ~/code/hishtory Oct 14 2022 23:04:19 PDT 2.065s 0 while :
do
ls
done
Davids-MacBook-Air.local ~/code/hishtory Oct 14 2022 23:03:18 PDT 628ms 0 ./hishtory query while
Davids-MacBook-Air.local ~/code/hishtory Oct 14 2022 23:03:15 PDT 717ms 0 hishtory query while
2022-10-15 09:29:47 -07:00
David Dworken
a40e44c985
Add explanation of why expectedPasswordHash is ok
2022-10-15 09:26:54 -07:00
David Dworken
38c185c9f9
Add environ variable to configure the postgres DB
2022-10-15 09:21:10 -07:00