Commit Graph

94 Commits

Author SHA1 Message Date
Brian Buller 7f10a81cec Don't duplicate root values when root is bucket. 2021-05-31 10:03:53 -05:00
Brian Buller 7718e0f038 Update links to binaries for v2.1 2021-05-31 09:39:19 -05:00
Brian Buller bbe5e92c9c Read/Edit DBs with key/value pairs in root
Not sure how 'good' this is, but apparently some people do it, so
we may as well support it.
2021-05-31 09:29:09 -05:00
Brian Buller 14bd1cdd41
Merge pull request #43 from sp0cket/master
fix drawHeader strings.Repeat crash
2020-04-08 15:29:24 -05:00
Aaron 10e63ac072 fix drawHeader strings.Repeat crash 2020-04-08 16:09:44 +08:00
Brian Buller 19bf4d25d2
Merge pull request #41 from knqyf263/filter
add filter
2020-03-30 16:24:09 -05:00
Brian Buller eacd685531
Merge pull request #39 from knqyf263/no_value
add -no-value option
2020-03-30 16:20:48 -05:00
knqyf263 12b395ae2a add filter 2019-12-23 16:57:25 +02:00
knqyf263 59a4e49fa4 add -no-value option 2019-12-23 13:26:45 +02:00
Brian Buller 2970b1c912
Update README.md
Add 2.0 Release Binaries
2019-10-17 11:56:24 -05:00
Brian Buller e6f872fbf6 Use a buffer system for building the panes 2019-10-17 10:49:08 -05:00
Brian Buller 72d7cc8280 Switching browser screen to buffer data then display 2019-10-16 17:41:29 -05:00
Brian Buller 930ee1799e Fix JSON formatting regression 2019-10-16 15:33:16 -05:00
Brian Buller 1f3880f32e Stringify all buckets/keys/values
Resolves Issue #34
2019-10-16 15:13:38 -05:00
Brian Buller a3714bf8e4
Merge pull request #33 from sethetter/16-json-formatting
Format and indent JSON values
2019-10-08 09:31:33 -05:00
Seth Etter 7a8972fb5c
Format and indent JSON values 2019-10-07 07:43:10 -05:00
Brian Buller 8c302bd236 Close file after exporting JSON
Resolves issue #30
2019-02-18 09:04:38 -06:00
Brian Buller 433c8111ba Rename boltbrowser.go to main.go
Also, add version number to about screen
2019-02-18 08:55:48 -06:00
Brian Buller b274dceb94
Merge pull request #29 from tbrent/master
Fix Vendoring
2019-02-18 08:14:47 -06:00
Taylor Brent b414b1e88b Fix vendoring for br0xen 2019-02-15 17:28:47 -08:00
Taylor Brent 61c7f57d2b Fix vendoring 2019-02-15 17:25:37 -08:00
Brian Buller 02b86a0e35
Update README.md
Add troubleshooting section
2018-10-24 09:31:50 -05:00
Brian Buller fa1386d9c5 Use `go mod` for vendoring 2018-10-24 07:42:04 -05:00
Brian Buller 7d7e0bfcd3 Add simple 'read-only' mode.
It just closes the database as soon as it's done loading it.
To refresh, you have to close out and reopen.
2018-04-26 09:13:13 -05:00
Brian Buller 6261d4da06 Updated Dependencies 2018-04-26 07:05:07 -05:00
Brian Buller fe0290c14e
Merge pull request #22 from gabstv/master
Print only valid (non control) UTF8 characters
2018-02-01 14:27:19 -06:00
Gabriel Ochsenhofer e973a8c7ed stringify key/val 2018-02-01 13:51:25 -02:00
Brian Buller f289915a70 Merge pull request #20 from andrewslotin/18-timeout_if_db_is_locked
Timeout if DB is locked
2017-10-13 12:03:53 -05:00
Andrew Slotin c7d3622f7a Update README 2017-10-13 22:23:02 +07:00
Andrew Slotin d506dad041 Print out usage message to STDERR
`flag.PrintDefaults()` writes to `os.Stderr`, therefore the "Usage"
part should go there as well.
2017-10-13 22:23:02 +07:00
Andrew Slotin 4ab47545f7 Pass db open timeout via command-line flag 2017-10-13 22:23:02 +07:00
Andrew Slotin 4eadc39e27 Log error and exit if the db file could not be opened within 1s 2017-10-13 18:57:28 +07:00
Brian Buller e903cbcea6 Merge pull request #19 from andrewslotin/add_flags_support
Add flags support
Add *.db to .gitignore
Exit with status code 2 (command misuse) if no files were given
2017-10-12 06:57:08 -05:00
Andrew Slotin 6bfd6215e6 Exit with status code 2 if no files were given
By convention exit(1) is reserved for general errors, while exit(2)
means command misuse. Stdlib `flags` package invokes `os.Exit(2)`
after printing out the usage message. This commit changes the empty
files list exit code to be aligned with this behavior.
2017-10-12 11:52:33 +07:00
Andrew Slotin 46e67d5848 Add --help flag support
Currently executing `boltbrowser --help` creates a file with name
`--help` in the current working directory, which is counterintuitive.
This commit adds command-line flags support to boltbrowser and changes
it to print out the usage message instead.
2017-10-12 11:47:00 +07:00
Andrew Slotin 3c22c6227b Add *.db to .gitignore
To avoid committing BoltDB database files by accident.
2017-10-12 11:46:12 +07:00
Brian Buller 8733dcb5e3 Updated Dependency (Fix Ctrl+U Behavior) 2017-09-04 09:32:57 -05:00
Brian Buller 4d25527218 Add links to pre-built binaries 2017-08-30 09:10:43 -05:00
Brian Buller 97cc915452 Vendored Dependencies
Also removed some commented out code
2017-08-30 08:55:08 -05:00
Brian Buller ca8240e06d Fixed bug that occurred with sub-buckets around level 4 2017-05-18 08:17:58 -05:00
Brian Buller 9946fceba7 Merge branch 'master' of github.com:br0xen/boltbrowser 2017-04-28 16:07:08 -05:00
Brian Buller ff35f76c1f Merge pull request #12 from shawnps/patch-1
fix images markdown in README
2017-04-28 08:31:38 -05:00
Shawn Smith 500e04e180 fix images markdown in README 2017-04-24 13:06:21 +09:00
Brian Buller 6639f93834 Prep for right pane scrolling 2017-04-05 12:49:05 -05:00
Brian Buller bbef340848 Fixed issue with bucket/key/value having '/' 2017-04-05 11:29:28 -05:00
Brian Buller 6b6a241245 Merge pull request #11 from aerth/invalid-db
handle non-bolt files with a simple error screen
2017-04-05 07:07:06 -05:00
aerth e10337092f
handle the case of single nonbolt file 2017-04-04 20:31:40 -07:00
aerth ae584be0b8
handle non-bolt files without needing to reset terminal 2017-04-04 20:13:50 -07:00
Brian Buller 82c105e8c3 Add filename to browser title bar 2017-04-04 16:41:15 -05:00
Brian Buller e83f065faa Merge pull request #10 from aerth/multi
Allow user to open multiple files, for example 'boltbrowser *.db'
2017-04-04 16:33:16 -05:00