757ebb9547
Prompt people if they run hishtory init and already have a bunch of entries + fix tests + add TODOs + add hishtory version to requests
2022-10-01 09:50:06 -07:00
a108268925
Add TODOs
2022-09-27 22:15:31 -07:00
b0c4780d48
hishtory --> hiSHtory
2022-09-24 15:30:51 -07:00
6c8810059a
Add TODO(feature) for session id
2022-09-24 01:01:32 -07:00
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
d226fab7ec
Pipe ctx into the Update function
2022-09-21 20:20:43 -07:00
486feb3fea
Add missing new lines
2022-09-21 19:13:53 -07:00
ceb1becfa6
Fix ctx wiring so installs work properly
2022-09-20 23:30:57 -07:00
694c2e2679
Untested: ctx wired through
2022-09-20 22:28:40 -07:00
e47bcfc993
Part way through migrating to context
2022-09-20 22:03:15 -07:00
28c7486a0e
Add hishtory redact to the help page
2022-09-20 21:42:09 -07:00
5391ecd220
First version of working redaction with passing integration tests
2022-09-19 22:49:48 -07:00
1bf510ff8a
Better offline handling, implemented the local portion of delete, and maybe fixed the bug when running tests on github actions
2022-09-18 09:42:24 -07:00
6c6acc5473
Fix another actions only bug + add todo
2022-09-18 09:14:34 -07:00
3bfe88d73e
Improve error message + remove code that disabled error checking on github actions
2022-09-17 22:45:07 -07:00
bad123a3dd
Add tests for history importing and add output showing the number of imported entries
2022-09-17 11:49:31 -07:00
23315a7e75
Fix code signing bug and add the implementation for initial importing of existing history files
2022-09-17 11:21:42 -07:00
c190b80837
Add TODO for importing at install time
2022-09-10 15:19:40 -07:00
aef13b16d0
Offline first! Now if a devide is offline it will detect this and upload the entries later
2022-09-04 18:37:46 -07:00
ad7e412855
Add help command
2022-06-05 18:26:02 -07:00
5e44e7ef36
Support queries as part of the export command + more info sent to the banner endpoint
2022-06-05 18:05:06 -07:00
30ee41a6ea
Automatic retries when the DB is busy
2022-06-04 22:06:50 -07:00
de15305fb5
Patch vendored slsa verifier and fix updates
2022-06-04 21:31:16 -07:00
dd4e2e9278
Add TODO + better error messages
2022-06-04 20:35:47 -07:00
47d13a9c27
Passing the basic dump testss
2022-05-22 19:45:46 -07:00
feaa8b2bd1
Add a DB dump test that passes on zsh (is failing for an unknown reason on bash currently) + fix backup and restore for WAL files + better offline support
2022-05-01 22:37:26 -04:00
cbc4e70605
Integrated client-side with dump requests, haven't written any integration tests yet
2022-04-28 11:46:14 -07:00
da30659f64
Another alternative error message for when offline
2022-04-28 11:01:49 -07:00
0499010981
Remove the 'e' prefix from api endpoints + implement backend APIs for clean loading of all data from other instances
2022-04-28 10:56:59 -07:00
4cb5773632
Add hex parsing for xattr setting + log rather than error when offline
2022-04-28 09:51:01 -07:00
158f08f5c6
Improved update flow
...
Using the previously added new API endpoint, the update flow can now skip updates if the latest version is already installed. This also improves the output by making it so update can print the version. Also improved the error handling.
2022-04-16 20:50:02 -07:00
3d7af0cd4b
Add SLSA verification of updated binary
...
Currently the SLSA verifier is meant to be used a standalone binary. I copied a bit of code from their main (and imported the rest of their code as a library) in order to support embedding it as a library. This ensures that the updated hishtory passes SLSA L3.
2022-04-16 16:02:07 -07:00
a436edbd16
Add backend code to delete entries that have already been read + start collecitng data on usage data so we can eventually prune data from users that are no longer using hishtory
2022-04-16 11:37:43 -07:00
def83d6b0e
Add verbose flag for the status subcommand
2022-04-16 10:46:57 -07:00
c369661e53
More server-side logging + client-side logging
2022-04-16 00:44:47 -07:00
b09b725f49
Properly skip recording of commands prefixed with a space to match bash's history behavior
2022-04-15 00:04:49 -07:00
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
d39ca42cea
Attempt to fix broken timezone test
2022-04-11 22:56:23 -07:00
97670c92f5
Display the hostname in the table
2022-04-09 14:52:10 -07:00
2bb06b568a
Add version to binary
2022-04-09 14:37:21 -07:00
108e1526b8
trying again with ldflags + fixed update url
2022-04-08 22:56:44 -07:00
966f73757b
moved client/client.go to hishtory.go to support slsa l3 border
2022-04-08 21:17:11 -07:00