David Dworken
ba2f8ae452
Bump hishtory version
2022-04-15 11:20:32 -07:00
David Dworken
ab0d9d4c90
optimize test runtime by running a single server instance per-file rather than one per test
2022-04-15 11:20:23 -07:00
David Dworken
e906785336
Bump hishtory version
2022-04-15 00:17:18 -07:00
David Dworken
d1d78de0e4
whoops, inverted boolean condition so the test still failed
2022-04-15 00:17:02 -07:00
David Dworken
fd2a642374
Make the test pass on github actions
2022-04-15 00:10:22 -07:00
David Dworken
b09b725f49
Properly skip recording of commands prefixed with a space to match bash's history behavior
2022-04-15 00:04:49 -07:00
David Dworken
2fdfbb9d20
Bump hishtory version
2022-04-14 20:25:32 -07:00
David Dworken
dc6fb6a47b
Refactor tests to make them non-flakey and pass on actions
...
This required adding the ability to have hishtory run synchronously to avoid reconditions. I also added additional waiting code. Also a whole bunch of new tests and disabled gorm's default logger which also caued flakeyness
2022-04-14 20:18:49 -07:00
David Dworken
24db9d825e
integration test running on actions
2022-04-13 21:48:52 -07:00
David Dworken
e854c8304f
TestUpdate running in github actions
2022-04-13 21:34:18 -07:00
David Dworken
e2b5fd13bf
tests passing inside act, hopefully on real actions
2022-04-13 21:30:27 -07:00
David Dworken
908257306e
trying to make the test pass
2022-04-12 22:36:02 -07:00
David Dworken
f2e6cb465e
empty
2022-04-12 21:36:22 -07:00
David Dworken
55a8cc2e8b
empty
2022-04-12 21:32:06 -07:00
David Dworken
6e52c10474
continuing to debug failures on actions
2022-04-12 21:24:25 -07:00
David Dworken
8ed2cea004
unclear why the install command isn't getting recorded on actions, but other ones are...
2022-04-12 00:02:14 -07:00
David Dworken
807933b548
Updated tests, and maybe they'll pass on actions
2022-04-11 23:48:51 -07:00
David Dworken
9f1b258a7f
seems like it worked, converting other tests
2022-04-11 23:30:24 -07:00
David Dworken
ea51601985
another attempt at fixing the timestamp tests to run with UTC
2022-04-11 23:27:47 -07:00
David Dworken
fb52b98379
Swap generous date parsing to using a library
2022-04-11 23:22:49 -07:00
David Dworken
7d2eb878ac
the bug is with UTC, does this fix it?
2022-04-11 23:02:46 -07:00
David Dworken
d39ca42cea
Attempt to fix broken timezone test
2022-04-11 22:56:23 -07:00
David Dworken
4f8e857b05
Bump hishtory version
2022-04-11 22:37:19 -07:00
David Dworken
5325fc75ae
Add negative conditions to search queries + tests + better error messages by including filename:line in error messages
2022-04-11 22:36:52 -07:00
David Dworken
970e5d75db
add tests for user and hostname atoms + moved server tests to server_test.go
2022-04-10 17:38:20 -07:00
David Dworken
71fa2bea97
add more design details to the readme
2022-04-10 17:24:33 -07:00
David Dworken
bf789605d1
record registration ip and date in the server-side DB for usage analytics
2022-04-09 16:37:51 -07:00
David Dworken
1f15870a47
Bump hishtory version
2022-04-09 14:52:21 -07:00
David Dworken
97670c92f5
Display the hostname in the table
2022-04-09 14:52:10 -07:00
David Dworken
5c508e7cfc
Fix broken test from version change
2022-04-09 14:48:17 -07:00
David Dworken
0fba532ec3
Bump hishtory version
2022-04-09 14:37:36 -07:00
David Dworken
2bb06b568a
Add version to binary
2022-04-09 14:37:21 -07:00
David Dworken
caf7889c06
Bump hishtory version
2022-04-09 14:26:55 -07:00
David Dworken
cfa41c676c
Added info to README + two todos for future ideas
2022-04-09 14:26:43 -07:00
David Dworken
ac18b3d93e
more tests + some todos where I could add even more
2022-04-09 13:09:46 -07:00
David Dworken
64935391b6
More tests
2022-04-09 13:02:30 -07:00
David Dworken
b92087fc1d
Try again to fix timezone test
2022-04-09 12:57:58 -07:00
David Dworken
c52a7f4ae6
skip the update tests in actions
2022-04-09 12:53:34 -07:00
David Dworken
c8ba560e0c
handle github api rate limit, tests for the update command, and fix timezone bug in tests
2022-04-09 12:50:01 -07:00
David Dworken
99794191dc
whoops, had the test skipping logic in the wrong order
2022-04-09 12:31:31 -07:00
David Dworken
5496dc3a5e
skip tests that fail on actions with a TODO
2022-04-09 12:27:24 -07:00
David Dworken
e9d19eb782
fix hardcoded username in tests + another attempt at enabling bash job control + test that building docker containers works
2022-04-09 12:19:01 -07:00
David Dworken
3619bd5447
explicitly enable bash job mode + don't call gvm cause it isn't necessary
2022-04-09 12:04:13 -07:00
David Dworken
6f7e034837
fix triggers
2022-04-09 11:58:49 -07:00
David Dworken
da4cab7a0b
github action to test code
2022-04-09 11:56:25 -07:00
David Dworken
9f20074a4f
change tests to not hardcode the local path to source on my laptop
2022-04-09 11:55:00 -07:00
David Dworken
9ce1de69b4
Starting on the readme + replace bash with shell in website
2022-04-09 11:40:15 -07:00
David Dworken
68d7f33c98
Enable codeql scanning
2022-04-09 11:39:21 -07:00
David Dworken
f7627d3e77
add links to github repo and better format the installation instructions
2022-04-09 00:33:20 -07:00
David Dworken
f02033afeb
Mention SLSA on the landing page
2022-04-09 00:25:09 -07:00