David Dworken
|
3f1d5c9cd0
|
Improve debug log message to include more relevant information
|
2023-11-24 16:46:22 -08:00 |
|
David Dworken
|
b3e145d764
|
Enable presaving by default rather than having it gated behind BetaMode
|
2023-11-24 16:46:22 -08:00 |
|
David Dworken
|
4f7cef19c9
|
Add more debugging info when status -v shows the device is offline
|
2023-11-24 16:09:16 -08:00 |
|
David Dworken
|
a1d1c779d5
|
Mark all github action tests as integration test devices
|
2023-11-23 09:53:12 -08:00 |
|
David Dworken
|
4d2b02e2c3
|
Add error checking when clearing the DB during the init process
|
2023-11-22 20:45:18 -08:00 |
|
David Dworken
|
05088d4bed
|
Add comment to explain some confusing logic that we do have to keep
|
2023-11-19 09:41:05 +01:00 |
|
David Dworken
|
d8b83b9429
|
Add getTimestamp command as an internal command that will be used as an alternative to date since date on MacOS doesn't support nanosecond granularity
|
2023-11-18 12:01:40 -08:00 |
|
David Dworken
|
a453a858b6
|
Revert "Enable highlighting of search matches by default for new installs (see #112)" because it breaks some tests
This reverts commit 6c24ddfd46 .
|
2023-11-12 09:14:57 -08:00 |
|
David Dworken
|
6c24ddfd46
|
Enable highlighting of search matches by default for new installs (see #112)
|
2023-11-12 05:00:47 -08:00 |
|
David Dworken
|
0be6fe9724
|
Swap AI completions to be behind a dedicated config option and add docs on it
|
2023-11-12 03:09:56 -08:00 |
|
David Dworken
|
68142bf5fb
|
Fix #123: Fix bug with deleting custom columns and also generally improve logic for creating/removing custom columns
|
2023-11-12 02:05:51 -08:00 |
|
David Dworken
|
c918bcd3cb
|
Update slsa validation to not validate version when running in github actions, since the one in actions isn't associated with a released version
|
2023-11-05 01:15:54 -07:00 |
|
David Dworken
|
29142df382
|
Add additional check that checks that the version is valid per semver
|
2023-11-05 00:38:21 -07:00 |
|
David Dworken
|
c908a9a6dd
|
Add a hidden validate-binary command that can be used to run SLSA validations against a given binary. This will be used for CI/CD tests in the automated releases
|
2023-11-03 18:19:36 -07:00 |
|
David Dworken
|
5f9ff9e158
|
Fix bug that caused unreleased presaving feature to accidentally save entries that were prefixed with a space
|
2023-10-30 17:42:09 -07:00 |
|
David Dworken
|
be377dee82
|
Add TODO
|
2023-10-30 17:40:47 -07:00 |
|
David Dworken
|
4352f61123
|
Add automatic retrying of DB functions to fix DB locked errors from hishtory init and hishtory install for #119
|
2023-10-29 21:13:10 -07:00 |
|
David Dworken
|
2b1af986d8
|
Add support for running hishtory redact while offline, even though this may lead to syncing inconsistency bugs
|
2023-10-22 11:43:56 -07:00 |
|
David Dworken
|
c613e696b4
|
Update hishtory redact so that it doesn't error out due to it redacting the presaved entry for the current command
|
2023-10-22 11:34:26 -07:00 |
|
David Dworken
|
fdbe91246e
|
Add another hook point to check HISHTORY_SIMULATE_NETWORK_ERROR so that it also blocks downloading updates
|
2023-10-22 11:30:49 -07:00 |
|
David Dworken
|
6bb12241c9
|
Promote the background updates of the DB from BetaMode to prod
|
2023-10-21 09:47:20 -07:00 |
|
David Dworken
|
58e92e5760
|
Refactor by moving methods out of lib.go into more specific packages
|
2023-10-15 18:30:39 -07:00 |
|
David Dworken
|
449a4d0000
|
Add better handling for race condition with deleting presaved entries
|
2023-10-15 13:00:34 -07:00 |
|
David Dworken
|
4bcc5fb335
|
Periodically call query endpoint and retrieve data to ensure that the local DB is always reasonably up to date
|
2023-10-15 12:29:50 -07:00 |
|
David Dworken
|
fca2b1441f
|
Always include user and device ID in API request headers, so that they're available in all server-side handlers
|
2023-10-14 10:52:51 -07:00 |
|
David Dworken
|
851283df8d
|
Add TODO
|
2023-10-12 19:34:09 -07:00 |
|
David Dworken
|
253ad7f6b6
|
Bold matches for search queries in TUI for #112. This was previously available behind the beta-mode flag, but will now be enabled by default
|
2023-10-12 19:34:09 -07:00 |
|
David Dworken
|
dc19fa3a17
|
Roll-forward "Make history entry start times more precise (down to the nanosecond) to make the recorded runtime more accurate, since currently start times are rounded to the nearest second. Though
note that 'date' on MacOS doesn't support %N, so this doesn't apply to MacOS"
This reverts commit 6281ae0601 .
|
2023-10-10 07:44:15 -07:00 |
|
David Dworken
|
f0dbcd6e3b
|
Add more thorough tests for updates
|
2023-10-09 21:41:30 -07:00 |
|
David Dworken
|
6281ae0601
|
Revert "Make history entry start times more precise (down to the nanosecond) to make the recorded runtime more accurate, since currently start times are rounded to the nearest second. Though note that 'date' on MacOS doesn't support %N, so this doesn't apply to MacOS"
This reverts commit d404a73c9b since it appears to be causing test failures for linux
|
2023-10-07 20:05:21 -07:00 |
|
David Dworken
|
d404a73c9b
|
Make history entry start times more precise (down to the nanosecond) to make the recorded runtime more accurate, since currently start times are rounded to the nearest second. Though note that 'date' on MacOS doesn't support %N, so this doesn't apply to MacOS
|
2023-10-07 14:47:54 -07:00 |
|
David Dworken
|
2c77c3d9c9
|
Fix bug with bash presaving that caused commands to not get properly recorded due to presaving looking like a duplicate command
|
2023-09-29 21:03:12 -07:00 |
|
David Dworken
|
0b57034c39
|
Revert "Revert all commits since v0.223 to enable me to release a patch on top of v0.223"
This reverts commit 68ed9f2d5d .
|
2023-09-29 18:21:23 -07:00 |
|
David Dworken
|
68ed9f2d5d
|
Revert all commits since v0.223 to enable me to release a patch on top of v0.223
|
2023-09-28 22:15:30 -07:00 |
|
David Dworken
|
fdec51bd14
|
Update presaving for bash to use history 1 rather than BASH_COMMAND to ensure we don't log bash functions
|
2023-09-28 22:14:53 -07:00 |
|
David Dworken
|
89014a8674
|
Add workaround for bash issues with pre-saving
|
2023-09-28 22:13:41 -07:00 |
|
David Dworken
|
9fda54d4c2
|
Remove testutils.Check(t, err) and replace it with require.NoError which gives a clearer error message and a full stacktrace
|
2023-09-28 22:13:27 -07:00 |
|
David Dworken
|
6d5a86a8bb
|
Revert all commits since v0.223 to enable me to release a patch on top of v0.223
|
2023-09-28 21:49:37 -07:00 |
|
David Dworken
|
d14dc1cd50
|
Update presaving for bash to use history 1 rather than BASH_COMMAND to ensure we don't log bash functions
|
2023-09-26 19:41:12 -07:00 |
|
David Dworken
|
0db27d4217
|
Add workaround for bash issues with pre-saving
|
2023-09-24 16:35:00 -07:00 |
|
David Dworken
|
5121df5a8c
|
Remove testutils.Check(t, err) and replace it with require.NoError which gives a clearer error message and a full stacktrace
|
2023-09-24 16:05:01 -07:00 |
|
David Dworken
|
e92c702402
|
Another exclusion for presaving
|
2023-09-24 14:19:11 -07:00 |
|
David Dworken
|
c21d443fa6
|
Make presaving query slightly more specific, and delete res.RowsAffected check since it can cause flaky errors if a command is run twice very quickly
|
2023-09-23 20:02:05 -07:00 |
|
David Dworken
|
3253883198
|
Fix syncing consistency bug, but with the caveat that there is currently no easy/practical way to write tests for this
|
2023-09-23 19:57:41 -07:00 |
|
David Dworken
|
16f2751975
|
Add offline checking for deleting presaved entries so that hishtory works while offline
|
2023-09-23 19:32:35 -07:00 |
|
David Dworken
|
ab12fa4d47
|
Fix consistency bug where ClientConfig would get out of date between different parts of the code
|
2023-09-23 12:40:57 -07:00 |
|
David Dworken
|
51ca2578b7
|
Follow up to e3d54e: Same thing for querying for pre-saved entries
|
2023-09-22 19:59:19 -07:00 |
|
David Dworken
|
2c9aa099d2
|
Fix bug in offline sync code that contained off-by-one error leading to missed entries
|
2023-09-22 19:31:22 -07:00 |
|
David Dworken
|
e089690cbb
|
no-op formatting change
|
2023-09-22 19:22:03 -07:00 |
|
David Dworken
|
3f0adbc324
|
Add support for deleting pre-saved entries on the remote server
|
2023-09-22 19:00:37 -07:00 |
|