David Dworken
|
fe6394d1b5
|
Some test fixes for the cobra integration
|
2022-11-16 08:03:23 -08:00 |
|
David Dworken
|
be2cde72c2
|
Appears to be a functional migration to cobra
|
2022-11-16 08:03:23 -08:00 |
|
David Dworken
|
0667494239
|
Disable flag parsing for the querying functions so they can use exclusions + refactor redact to remove the --force flag
|
2022-11-16 08:03:23 -08:00 |
|
David Dworken
|
6ef9bb00d5
|
Add version to cobra help page
|
2022-11-16 08:03:23 -08:00 |
|
David Dworken
|
27bbe97cb2
|
Better organize the cobra generated help page
|
2022-11-16 08:03:23 -08:00 |
|
David Dworken
|
ecdd22dcdd
|
Everything migrated to cobra, but with some very significant TODOs
|
2022-11-16 08:03:23 -08:00 |
|
David Dworken
|
48e2a41d5c
|
Migrate reupload to cobra
|
2022-11-16 08:03:23 -08:00 |
|
David Dworken
|
c59de42008
|
More refactoring to use cobra
|
2022-11-16 08:03:23 -08:00 |
|
David Dworken
|
342a02a843
|
Add initial cobra implementation for config-*
|
2022-11-16 08:03:23 -08:00 |
|
David Dworken
|
15abcd8d13
|
Strip history entries with zsh weirdness rather than skip them + ensure the hishtory import command runs a full re-import
|
2022-11-12 16:30:59 -08:00 |
|
David Dworken
|
5e7589cc33
|
Move deletion request handling so it only runs if we saved an entry to make hishtory slightly faster for the cases of the user mashing the enter key
|
2022-11-12 16:06:13 -08:00 |
|
David Dworken
|
7199a36a71
|
Re-order test to make debugging easier + flip inverted !=
|
2022-11-11 18:46:22 -08:00 |
|
David Dworken
|
e72ef668ea
|
Add custom timestamp format as requested in the original HN thread
|
2022-11-11 17:17:54 -08:00 |
|
David Dworken
|
e520b23858
|
Improve history importing to not double import HISTFILE + improve tests
|
2022-11-11 18:12:23 -05:00 |
|
David Dworken
|
42e0ac2195
|
Document that we use WAL + run a checkpoint after hishtory imports
|
2022-11-11 17:14:11 -05:00 |
|
David Dworken
|
9c47afbe54
|
Add TODOs
|
2022-11-11 17:03:32 -05:00 |
|
David Dworken
|
21a7a48afb
|
Migrate to logrus so we can auto-rotate the log file
|
2022-11-09 16:14:44 -08:00 |
|
David Dworken
|
94722941cf
|
Make control-r faster by not blocking on processing pending deletion requests. Fixed #22
|
2022-11-09 15:07:00 -08:00 |
|
David Dworken
|
9d26e70f83
|
Clarify the log warning for being offline
|
2022-11-05 23:30:07 -07:00 |
|
David Dworken
|
d2300da173
|
Add docs for config commands
|
2022-11-04 23:47:01 -07:00 |
|
David Dworken
|
1be3dcc76f
|
Better formatting for config-get custom-columns
|
2022-11-04 23:45:15 -07:00 |
|
David Dworken
|
d4ca466314
|
Import initial history from fish too
|
2022-11-03 22:32:55 -07:00 |
|
David Dworken
|
c5aff4085d
|
Re-import history entries after init is ran to fix #15
|
2022-11-03 22:02:43 -07:00 |
|
David Dworken
|
6dea8a989e
|
Add config option to filter out duplicate history entries as requested in #10
|
2022-11-03 20:36:36 -07:00 |
|
David Dworken
|
185d2739c7
|
Add offline mode for hiSHtory
|
2022-11-03 13:16:45 -07:00 |
|
David Dworken
|
9e3ae62510
|
Document hishtory uninstall
|
2022-11-02 19:53:10 -07:00 |
|
David Dworken
|
17ae676da0
|
Add uninstall command + tests for uninstall
|
2022-11-02 19:41:49 -07:00 |
|
David Dworken
|
8a3969cfc4
|
Add basic untested ability to do searches using atoms containing custom columns
|
2022-11-01 10:23:35 -07:00 |
|
David Dworken
|
0e70347c0d
|
Add a more complex test for custom columns
|
2022-10-30 17:55:48 -07:00 |
|
David Dworken
|
267aa086fa
|
Add tests for configuring displayed-columns
|
2022-10-27 23:07:00 -07:00 |
|
David Dworken
|
bedb8ebb39
|
Add general purpose config-add and config-delete commands for string configs
|
2022-10-26 00:56:46 -07:00 |
|
David Dworken
|
ef8695ec86
|
Add code to get and set displayed columns
|
2022-10-26 00:41:18 -07:00 |
|
David Dworken
|
f8c822bab5
|
Add command to create a custom column
|
2022-10-26 00:30:00 -07:00 |
|
David Dworken
|
51b41aa171
|
Add custom columns to config + use them in the non-TUI query
|
2022-10-23 20:54:46 -07:00 |
|
David Dworken
|
aa3f449885
|
Skip recording empty history commands
|
2022-10-23 15:40:30 -07:00 |
|
David Dworken
|
73807746a7
|
Wire up the git commit hash to the TUI banner requesting code
|
2022-10-23 15:25:02 -07:00 |
|
David Dworken
|
07bf84a4f9
|
Skip importing the existing shell history if install is ran and hishtory already has a significant number of history entries
|
2022-10-20 23:42:08 -07:00 |
|
David Dworken
|
49b81bcc19
|
Support control-r search for fish
|
2022-10-20 23:39:56 -07:00 |
|
David Dworken
|
5a943c20f1
|
Initial working version of control-r search
|
2022-10-16 12:43:16 -07:00 |
|
David Dworken
|
ab7db995aa
|
Restore stdin import for the hishtory import command
|
2022-10-16 09:51:52 -07:00 |
|
David Dworken
|
d255131d68
|
Fix bug where reading stdin would cause the install to hang
|
2022-10-16 09:47:26 -07:00 |
|
David Dworken
|
f337d7affd
|
Add a new field to the config for enabling control-r search and add undocumented commands to toggle this field from the CLI
|
2022-10-16 09:29:14 -07:00 |
|
David Dworken
|
37f351bb8a
|
Add basic undocumented tui for querying under the hishtory tquery command
|
2022-10-16 09:22:34 -07:00 |
|
David Dworken
|
9bfd4bf173
|
Make uploading skipped history entries more efficient and use only one HTTP request
|
2022-10-09 17:13:40 -07:00 |
|
David Dworken
|
c16d260643
|
Make the reupload command more efficient by sending multiple entries at once
|
2022-10-09 17:10:11 -07:00 |
|
David Dworken
|
52c3b13cb6
|
Add reupload command + include source_device_id query param when submitting entries
|
2022-10-09 12:13:05 -07:00 |
|
David Dworken
|
e1c968fb21
|
Support an undocumented hishtory import command that can be used to import hishtory items from a pipe
|
2022-10-03 23:14:06 -07:00 |
|
David Dworken
|
30e6f048ab
|
Add better handling for SLSA errors
|
2022-10-02 20:14:54 -07:00 |
|
David Dworken
|
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 |
|
David Dworken
|
a108268925
|
Add TODOs
|
2022-09-27 22:15:31 -07:00 |
|