Commit Graph

1966 Commits

Author SHA1 Message Date
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
8690d87a16 Release v0.252 v0.252 2023-11-18 11:55:08 -08:00
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
c52dbebb1b Consolidate TODOs 2023-11-12 05:04:55 -08:00
6c24ddfd46 Enable highlighting of search matches by default for new installs (see #112) 2023-11-12 05:00:47 -08:00
41391fba3a Update slsaStatusHandler to use the version parsing library 2023-11-12 04:59:05 -08:00
034c317d74 Update prompt to discourage adding formatting 2023-11-12 04:54:37 -08:00
64184886a5 Release v0.251 v0.251 2023-11-12 04:52:33 -08:00
29fa710fbc Skip creating DB indexes in the production environment since we manually create those concurrently 2023-11-12 03:21:01 -08:00
0be6fe9724 Swap AI completions to be behind a dedicated config option and add docs on it 2023-11-12 03:09:56 -08:00
aeadaf4e0d Set OPENAI_API_KEY for testTui/ai so that it runs with the hishtory server rather than via directly querying OpenAI 2023-11-12 02:57:23 -08:00
dd6cf710c7 Remove outdated TODO 2023-11-12 02:57:23 -08:00
1a450c0817 Add basic sanity test to confirm that our interactions with the OpenAI API are correct 2023-11-12 02:57:23 -08:00
a8f47cf340 Fix testTui/ai test and add golden file for it 2023-11-12 02:57:23 -08:00
e712d77f62 Add more guarding against panics when doing indexing into split strings 2023-11-12 02:57:23 -08:00
37e0e6653d Remove unnecessary field 2023-11-12 02:57:23 -08:00
c4b60eb6b2 Clean up tests to make panics not happen for TUI test failures by moving repeated code line to a function at also adds a require 2023-11-12 02:57:23 -08:00
3df099c945 Fix AI test by quoting the sent keys to ensure zsh doesn't complain about the question mark 2023-11-12 02:57:23 -08:00
a184bd4243 Remove question mark to debug the AI test 2023-11-12 02:57:23 -08:00
6962233e1e Better log messages and error messages 2023-11-12 02:57:23 -08:00
afe1a38a0e Fix 2d63263b79 by applying the override on the backend rather than in the client-side variable that isn't actually being referenced 2023-11-12 02:57:23 -08:00
b0f3107da2 Add basic test for AI queries 2023-11-12 02:57:23 -08:00
0ea3ce2399 Add basic debouncing for AI integration + implement AI suggestions via hishtory API endpoint 2023-11-12 02:57:23 -08:00
eb835fe52c Add initial version of AI searching, but with a broken implementation of debouncing 2023-11-12 02:57:23 -08:00
af079cd4c9 Release v0.250 v0.250 2023-11-12 02:56:53 -08:00
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
d69176fb5c Update SLSA integration to always prompt the user before suspected broken updates 2023-11-11 11:26:39 -08:00
99d899254a Fix %v that should have been a %w so that we can use errors.Is reliably 2023-11-11 11:24:16 -08:00
5cebea00af Run SLSA validation with the production release of hishtory too 2023-11-10 18:10:46 -08:00
9ea10d2fcd Revert "Add t.Skip() call for broken test"
This reverts commit 63d0a8e457.
2023-11-10 10:20:59 -08:00
14d851a413 Revert "Revert "Remove t.Skip() call to determine if this test is actually flaky""
This reverts commit b013c51c80.
2023-11-10 10:20:06 -08:00
b013c51c80 Revert "Remove t.Skip() call to determine if this test is actually flaky"
This reverts commit cea481816f.
2023-11-09 23:04:17 -08:00
cea481816f Remove t.Skip() call to determine if this test is actually flaky 2023-11-09 23:03:27 -08:00
2a47f1f600 Add TODO 2023-11-09 23:02:42 -08:00
63d0a8e457 Add t.Skip() call for broken test 2023-11-09 23:01:55 -08:00
1975f51052 Call m.Run() in TestMain so that lib tests actually get executed, and fix test breakages that existed because lib tests weren't running 2023-11-09 23:00:20 -08:00
165cdd9187 Update slsa integration to use the shared library for parsing version strings 2023-11-09 20:52:21 -08:00
e11c4554fe Release v0.249 v0.249 2023-11-08 20:37:17 -08:00
09270ef5a0 Add SLSA attestation pre-validation with released hishtory version 2023-11-08 20:23:24 -08:00
e0f629d0ee Add integration with 5ab1cb61a3 so that we only serve binaries for updates if they have passed validation 2023-11-08 20:08:42 -08:00
73b1a76390 Release v0.248 v0.248 2023-11-08 19:52:23 -08:00
42a7b80579 Update slsa releaser to run with write permissions so it can release the hishtory-release-validation-completed file 2023-11-08 19:51:49 -08:00
c64ffd68b7 Release v0.247 v0.247 2023-11-08 19:38:45 -08:00
262d8238ad Add chmod +x so that we can run hishtory status 2023-11-08 19:26:00 -08:00
b88bc86204 Add ./ to execute the binary in CWD 2023-11-08 19:07:49 -08:00
5ab1cb61a3 Update validation to release an artifact to certify that validation passed, this will then be used by the backend server to only publish releases that passed validation 2023-11-08 19:03:30 -08:00
c802537cb7 Shorten delay and remove tmate 2023-11-08 18:58:34 -08:00
f7b662e7f4 Update go version in pre-commit.yml to match the version used for hishtory 2023-11-08 18:57:42 -08:00
7d9664363d Add validation of hishtory status 2023-11-08 18:25:29 -08:00
ed6d472409 Move assertion that file is present to earlier in function so we fail fast 2023-11-08 18:19:55 -08:00