Commit Graph

716 Commits

Author SHA1 Message Date
David Dworken
aa4a7310dd Add hishtory.svg from asciinema 2022-09-24 16:12:02 -07:00
David Dworken
90c4acefd3 Add more fuzz tests with redaction 2022-09-24 16:00:03 -07:00
David Dworken
b0c4780d48 hishtory --> hiSHtory 2022-09-24 15:30:51 -07:00
David Dworken
63625e94fe Add prominent github link to the website 2022-09-24 01:16:13 -07:00
David Dworken
92cec3a87c Delete unused variable + clean up README 2022-09-24 01:13:25 -07:00
David Dworken
de943af423 Merge branch 'master' of github.com:ddworken/hishtory 2022-09-24 01:03:21 -07:00
David Dworken
ee37f9169a
Create LICENSE 2022-09-24 01:03:16 -07:00
David Dworken
6c8810059a Add TODO(feature) for session id 2022-09-24 01:01:32 -07:00
David Dworken
ff6e42794c Remove TODO, a couple more fuzz tests 2022-09-22 23:25:06 -07:00
David Dworken
9895a5c677 Improve copy function error checking + delete make fuzz because of https://github.com/golang/go/issues/52569 2022-09-22 23:20:21 -07:00
David Dworken
1df50731be Run the fuzz test with bash and zsh 2022-09-22 23:12:41 -07:00
David Dworken
d2254d5275 Release v0.125 2022-09-22 23:06:36 -07:00
David Dworken
4e4caef10f Add initial implementation of fuzz testing that fuzzes multiple devices and multiple users 2022-09-22 23:06:28 -07:00
David Dworken
c18c2502cc Add a complex test with many users 2022-09-22 21:45:20 -07:00
David Dworken
c6d4f1ef68 Fix missing newline in zshrc, add test for hishtory redact prompting, and tag TODOs with plans 2022-09-22 18:22:06 -07:00
David Dworken
bd70b68ffc Remove test that no longer applies 2022-09-22 18:21:03 -07:00
David Dworken
fee21ee4f8 Pass in ctx 2022-09-22 18:11:35 -07:00
David Dworken
ee6680f571 Remove debugging information and give up on that test, and add work around for weird zsh bug with importing 2022-09-22 18:09:51 -07:00
David Dworken
99b51a356e Add debugging information for macos tests 2022-09-21 21:49:08 -07:00
David Dworken
6db8044bec Add server tests for redaction 2022-09-21 21:46:46 -07:00
David Dworken
f2df0f04f8 Continue to try to debug macos go version 2022-09-21 21:20:28 -07:00
David Dworken
133463ef96 Disable CGO in one more place (plus add a todo) 2022-09-21 20:30:50 -07:00
David Dworken
cb16984f77 Pipe ctx into the slsa code to avoid context.TODO() 2022-09-21 20:22:34 -07:00
David Dworken
d226fab7ec Pipe ctx into the Update function 2022-09-21 20:20:43 -07:00
David Dworken
8002c5e942 Add homedir to context 2022-09-21 20:19:11 -07:00
David Dworken
569e2f3e61 Add tests for offline behavior 2022-09-21 20:09:49 -07:00
David Dworken
27157e675d Add TODOs 2022-09-21 19:59:31 -07:00
David Dworken
f6a1298c4c Release v0.124 2022-09-21 19:58:20 -07:00
David Dworken
4fceaa3110 Run tests without CGO since that is how prod is built + fix broken tests from previous commit 2022-09-21 19:58:10 -07:00
David Dworken
fb401dab88 Resume using the modernc.org sqlite driver so it works with CGO_ENABLED=0 2022-09-21 19:49:24 -07:00
David Dworken
486feb3fea Add missing new lines 2022-09-21 19:13:53 -07:00
David Dworken
3e89accf97 Delete the tmp client before downloading to clear macos's signature cache 2022-09-21 19:01:34 -07:00
David Dworken
7a0ed3960e Release v0.123 2022-09-20 23:46:27 -07:00
David Dworken
1abd2a5376 Fix table format tests 2022-09-20 23:46:17 -07:00
David Dworken
ceb1becfa6 Fix ctx wiring so installs work properly 2022-09-20 23:30:57 -07:00
David Dworken
414d8926f6 Fix incorrect go version in dockerfile 2022-09-20 23:27:36 -07:00
David Dworken
9f1ad28802 Another attempt at fixing macos action tests 2022-09-20 23:20:28 -07:00
David Dworken
bd75a65e52 Another attempt at fixing the macos runner 2022-09-20 23:09:28 -07:00
David Dworken
694c2e2679 Untested: ctx wired through 2022-09-20 22:28:40 -07:00
David Dworken
e47bcfc993 Part way through migrating to context 2022-09-20 22:03:15 -07:00
David Dworken
9a05dff2e3 Add hishtory redact to README 2022-09-20 21:44:09 -07:00
David Dworken
28c7486a0e Add hishtory redact to the help page 2022-09-20 21:42:09 -07:00
David Dworken
42c6f95eb4 Remove time.Sleep that was working around an old already fixed bug 2022-09-20 21:38:04 -07:00
David Dworken
80822c722e Optimize SQL query so it only runs one query rather than N 2022-09-20 21:36:02 -07:00
David Dworken
19bbf27efd More reliable handling for deletion requests 2022-09-20 21:28:49 -07:00
David Dworken
a2f95fdc4d Fix typo in SQL query 2022-09-20 21:15:20 -07:00
David Dworken
41f82e8034 Add ReadCount field to deletion requests so that we can eventually delete them from the DB 2022-09-20 21:13:59 -07:00
David Dworken
5391ecd220 First version of working redaction with passing integration tests 2022-09-19 22:49:48 -07:00
David Dworken
afe1fc5043 Undo attempted fix 2022-09-19 13:01:00 -07:00
David Dworken
d990b1e5a5 Next attempt to fix buggy go version 2022-09-18 22:08:30 -07:00