Commit Graph

1001 Commits

Author SHA1 Message Date
David Dworken
c4a66bb428 Remove -v from make test for shorter output 2022-10-23 15:07:28 -07:00
David Dworken
4c986d8a45 Add sleep 1 after shell startup to give macos time to verify the binary 2022-10-23 14:58:47 -07:00
David Dworken
91fa37d157 Install modern bash on macos so control-r works 2022-10-23 10:10:23 -07:00
David Dworken
951f5b018f killall hishtory between tests in case that is the cause of the background test failures 2022-10-23 01:03:16 -07:00
David Dworken
17e98f0366 Bump timeout for linux since linux appears to be a bit slower 2022-10-23 00:58:08 -07:00
David Dworken
4060f2d71d Add tests for disabling control-r 2022-10-23 00:53:47 -07:00
David Dworken
ac808777d6 Fix debug info for hishtory timeout issue 2022-10-23 00:46:56 -07:00
David Dworken
f3758dc376 Add fix for the weird zsh bug + disable tmate 2022-10-23 00:36:23 -07:00
David Dworken
907da9bf47 More debugging info for the time out in zsh background saving tests 2022-10-23 00:20:47 -07:00
David Dworken
bf6d12e4cd Add debug ssh workflow 2022-10-23 00:15:07 -07:00
David Dworken
d3b5ddc11d Bump the hishtory time out in case that helps fix the background saving test 2022-10-23 00:04:25 -07:00
David Dworken
9bdb1ed4ed Add debug code for a github actions only test failure 2022-10-22 23:54:35 -07:00
David Dworken
d5472be6b3 Swap bash-ism to fish-ism for enabling control-r 2022-10-22 23:52:10 -07:00
David Dworken
c10dd8897c Swap bash-ism to fish-ism for enabling control-r 2022-10-22 18:00:17 -07:00
David Dworken
dbccaebf85 control-r tests for fish with a search atom 2022-10-22 11:58:59 -07:00
David Dworken
1c561f5cc8 Initial attempt at fixing the timezone bug that prevents tquery tests from running on actions 2022-10-22 11:45:04 -07:00
David Dworken
97742cf0eb Add control-r tests for fish 2022-10-22 11:42:37 -07:00
David Dworken
70c02bf0ed Remove basic auth since that is now done by the LB 2022-10-22 11:08:33 -07:00
David Dworken
cbb6a676be More tquery searching tests 2022-10-22 00:50:34 -07:00
David Dworken
8c88bfe2f1 Skip TestFish on linux actions since it is weirdly failing 2022-10-22 00:36:57 -07:00
David Dworken
2c5a46565c Add control-r tests for searching with simple queries 2022-10-22 00:34:19 -07:00
David Dworken
865fa879fe Add control-r tests for selecting and executing a command 2022-10-22 00:27:53 -07:00
David Dworken
848c89ebc8 Make control-r tests pass for bash + refactor to use a small utility function for tmux tests 2022-10-22 00:17:21 -07:00
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