Commit Graph

2223 Commits

Author SHA1 Message Date
cb253b6985 Release v0.328 v0.328 2025-01-22 15:27:14 -08:00
f8c414b2c9 Skip deep cleans for sqlite DBs (#289)
* Add explicit DROP TABLE directives for temp_inactive_devices and drop the TEMP qualifier for non-postgres DBs, fixes #288

* Revert "Add explicit DROP TABLE directives for temp_inactive_devices and drop the TEMP qualifier for non-postgres DBs, fixes #288"

This reverts commit db6d8413a7.

* Skip deep cleans for sqlite DBs
2025-01-20 17:50:33 -08:00
a4ff05c0fa Release v0.327 v0.327 2025-01-20 14:49:47 -08:00
b4ef6c963e Add easier config options for configuring default search columns (#287)
* Add easier config options for configuring default search columns

* Remove TODO
2025-01-19 15:25:04 -07:00
567984fb6f Add support for searching for custom columns as part of default searches (#286)
* Refactor code for searching for custom columns

* Add support for searching custom columns in default searches

* Add integration test for default searches for custom columns

* Add memoization to avoid repeated work for queries

* update comment

* Update golden

* Update goldens
2025-01-19 00:31:14 -07:00
8de80c510a Add comment about AES-GCM security 2025-01-18 23:11:54 -08:00
21618af0a0 Release v0.326 v0.326 2025-01-18 14:01:51 -08:00
65d1ebfd07 Implement restrictions on default column searching for #268 (#274)
* Implement restrictions on default column searching for #268

* Add better docs for config-set excluded-default-search-columns

* Enable debugging

* Clean up server binaries to avoid wasting disk space

* Add tests

* Swap from configuring excluded columns to configuring included columns, to prep for future changes where we may add support for other default columns

* Reduce gotestsum re-runs since tests are less flaky nowadays

* Fix bug in lib.where(...) function that failed to trim the args list and caused DB query correctness issues

* Disable tmate debugging

* Update goldens
2025-01-18 11:25:07 -08:00
23ed840aa3 Add deep clean for users that have tons of pending deletion requests (#285) 2025-01-14 21:44:52 -07:00
9049dbeebb Release v0.325 v0.325 2025-01-14 18:50:26 -08:00
eeaba49259 Fix test golden breakage caused by GH action update (#284)
* Fix test golden breakage caused by GH action update

* Update

* Trigger action

* Update golden

* Rename integration_test.go file

* Update golden
2025-01-14 18:29:02 -08:00
681746a56d Fix test golden breakage caused by GH action update 2025-01-13 13:58:23 -08:00
5528829d64 Update bash weirdness regex to be more permissive for #280 (#283) 2025-01-13 13:56:12 -08:00
2f3201ec81 Allow import-json to import custom columns (#282)
* Allow import-json to import custom columns

* Add tests
2025-01-13 13:55:59 -08:00
4c696d9788 Skip exporting empty commands for #279 (#281) 2025-01-13 13:55:32 -08:00
74056c7262 Release v0.324 v0.324 2025-01-05 16:05:24 -08:00
95f3a26a7a Organize command groupings in hishtory help + unhide the install command (#278) 2025-01-05 18:18:07 -05:00
2ff52a8d66 Add validation to block absolute paths (#277) 2025-01-05 18:06:57 -05:00
0953e1ccca Release v0.323 v0.323 2024-12-31 18:01:28 -08:00
0de38fac95 Improve stdout/stderr silencing from #260 and #253 (#273)
* Improve stdout/stderr silencing from #260 and #253

* Fix order of output redirection

* Update goldens
2024-12-31 15:06:11 -08:00
023323ea81 Release v0.322 v0.322 2024-12-31 11:09:49 -08:00
090f94dd52 Fix unused variable 2024-12-31 10:22:43 -08:00
625ce46de6 Add make backup and make restore commands and document them in the contributing section, for #268 2024-12-31 10:22:32 -08:00
173a424c07 Update offline-binary.md 2024-12-31 09:47:26 -08:00
f79e4fce09 Add support for fully offline binary via compile-time 'offline' tag (#272)
* Add support for fully offline binary via compile-time 'offline' tag

* Update docs
2024-12-31 09:42:41 -08:00
ffc224e3d3 Add import-json and export-json commands for importing and exporting fully detailed histories (#271) 2024-12-31 09:34:49 -05:00
7afdc9f11f Fix typo 2024-12-29 20:04:30 -08:00
1a3e6b7cc6 Bump golang.org/x/crypto from 0.26.0 to 0.31.0 (#267)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.26.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.26.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-29 19:17:11 -08:00
91e6f92a86 Fix LocalUsername for imported history entries since Name is the user's full name on MacOS (#270) 2024-12-29 17:34:04 -08:00
7868de9c0b Release v0.321 v0.321 2024-12-28 07:12:23 -08:00
d5113724ec Release v0.320 v0.320 2024-12-13 22:57:51 -08:00
f95d46ff06 Release v0.319 2024-12-13 22:57:22 -08:00
eb72786e3a Add status --full-config flag for #264 (#266) v0.319 2024-12-13 10:00:16 -08:00
06f52ac8aa Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#262)
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-27 22:28:46 -08:00
eedc401831 Add test for searching for just a colon, for bug fixed in f64e466 2024-11-18 22:10:31 -08:00
7b38f5a5d1 Release v0.318 v0.318 2024-11-18 15:25:37 -08:00
f64e466472 Fix error when searching for just a literal colon 2024-11-18 15:25:03 -08:00
9a06b07b74 Release v0.317 v0.317 2024-10-21 06:52:09 -07:00
3e1b19d689 Skip config modification for updates (#261) 2024-10-21 06:51:37 -07:00
6849c53175 Release v0.316 v0.316 2024-10-20 15:28:12 -07:00
2699be28e3 Release v0.315 v0.315 2024-10-20 14:26:51 -07:00
3e6a4c8e5b Silence escape code output from hishtory (#260)
* Silence escape code output from hishtory

* Update goldens

* Add support for full-screen rendering (#258)

* Release v0.314

* Disable tmate

* Delete double new lines

* Update test
2024-10-20 14:06:54 -07:00
0023c72636 Quote initial commands to make it possible to easily use hishtory to find matching entries for already typed commands that contain flags (#251)
* Quote initial commands to make it possible to easily use hishtory to find matching entries for already typed commands that contain flags

* Add test for quoting dashes

* Fix test failures

* More test fixes

* Update goldens

* Update goldens

* Update goldens

* Fix race condition

* Fix test harness bug by swapping to splitn

* Update goldens

* Update golden

* Update test
2024-10-20 12:22:29 -07:00
905afd91c3 Add support to skip modifying shell configs during the hishtory update process, since the shell configs are already set up at that point and haven't ever needed to change (#259)
* Skip modifying shell configs during the hishtory update process, since the shell configs are already set up at that point and haven't ever needed to change

* Use separate flag for skipping update config mods to enable future flexibility

* Revert the update change since that needs to be in a separate release
2024-10-20 12:09:16 -07:00
e96993b673 Disable tmate 2024-10-20 11:31:38 -07:00
c58f28a04d Release v0.314 v0.314 2024-10-19 14:17:53 -07:00
389515ae28 Add support for full-screen rendering (#258) 2024-10-19 13:11:34 -07:00
5996b832a3 Fix broken comment 2024-10-19 04:37:28 -07:00
06424dfca8 Add sanity checking to ensure we don't ever have a bug that uses flags as secret keys 2024-10-19 01:54:36 -07:00
da53939cf8 Fix incorrect flags in test 2024-10-19 01:33:20 -07:00