Suresh Sundriyal
e6c87678e9
[secure-mode] Prevent users from attaching db files.
...
Prevent the users from attaching an external db file which they may not
have ownership of.
The current authorizer method is hooked in only when the LNAVSECURE
variable is set. This is done deliberately, since the method will be
called on every sqlite query and I did not want to incur a performance
hit.
If the scope of this authorizer increases, we should consider passing in
the lnav_data as pUserData and do the checks inside the authorizer
itself.
8 years ago
Timothy Stack
82f970c09e
[config] add a config option to control A_DIM for text
...
Fixes #298
8 years ago
Suresh Sundriyal
88833c8035
[commands] Read and honor the 'LNAVSECURE' environment variable.
...
Read the value of the 'LNAVSECURE' environment variable upfront and
store it in the lnav_data structure. When this variable is set prior to
the binary execution, the following commands are disabled:
* 'open'
* 'pipe-to'
* 'pipe-line-to'
* 'write-*-to'
This is a proposed fix for tstack/lnav#305 .
8 years ago
Timothy Stack
cad311f557
[views] do auto-scroll-down for all views
8 years ago
Timothy Stack
7a6429519f
[summary-line] change error count to error rate and do some cleanup on message levels
8 years ago
Timothy Stack
99eb3a54f3
[spectro] support marking lines in a bucket
8 years ago
Timothy Stack
619076d89c
no, we don't want to scroll...
8 years ago
Timothy Stack
fdc2748e3e
[spectro] add a spectrogram view that works with known message fields
8 years ago
Timothy Stack
062cc63037
missed checking for an empty view stack
8 years ago
Timothy Stack
fe05fcc077
scroll if there's one blank row in the log view
8 years ago
Timothy Stack
80e5e8fcce
[logview] add a line with summary information to the log view
8 years ago
Timothy Stack
8de5d3b749
[logfile] add more options when opening files
8 years ago
Timothy Stack
9ba690e041
[readline] change the break chars for the SQL context
8 years ago
Timothy Stack
2b2e1c0af9
[sql] add parens to function complete values and do not open empty output files from scripts
8 years ago
Timothy Stack
2d04d047e4
[sql] change extract() to regexp_match() and make extract() an interface to the data_parser
8 years ago
Timothy Stack
d4a69cbf22
no joy
...
Revert "[sql] change extract() to regexp_match() and make extract() an interface to the data_parser"
This reverts commit 85eee6514b
.
8 years ago
Timothy Stack
85eee6514b
[sql] change extract() to regexp_match() and make extract() an interface to the data_parser
8 years ago
Timothy Stack
9213a6b58b
[out-of-order] some more tweaks for out-of-order
8 years ago
Timothy Stack
cdd43549ab
[cmds] automatically capture echo/write output from scripts so they can generate reports
...
Add another example script, dhclient-summary.
Add a 'search-table' section to formats so you can automatically
define a search-based table.
8 years ago
Timothy Stack
3ef38c1250
missed some checks for an empty view stack
8 years ago
Justin Berger
2aa26082f8
Added O_TRUNC flag so new format installation doesn't result in trailing garbage message
8 years ago
Timothy Stack
a2b381ca19
[config] initial impl with clock-format as the only option at the moment
9 years ago
Timothy Stack
ab62d27757
[cmd] replace wordexp with shlex
9 years ago
Timothy Stack
16e988d132
[shlex] add a readline highlighter for shlex
9 years ago
Timothy Stack
6e196bff79
[line_buffer] clear cached data when doing a read
9 years ago
Timothy Stack
e07b4e448f
[exec] add a prompt to execute lnav scripts
9 years ago
Timothy Stack
187d62334f
[json] record the type of json data in json_ptr_walk
9 years ago
Timothy Stack
e987a5164f
[hist] rewrite the histogram code
9 years ago
Timothy Stack
d1bbc433b7
[view] start to refactor the bar chart code
9 years ago
Timothy Stack
4eb797ce9a
[hist] start to replace the old hist_source class
9 years ago
Timothy Stack
64cbab1281
[sql] exec .sql files in format dirs
9 years ago
Timothy Stack
3c9ba126a9
[glob] ignore files picked up by a glob that are not readable
9 years ago
Timothy Stack
ff929391f3
need to fflush(stdout) to get the mouse working again
9 years ago
Timothy Stack
0237aaad21
[release] update the release Makefile
9 years ago
Timothy Stack
9c23431779
[all_logs] add a .msgformats SQL command
9 years ago
Timothy Stack
ecd3eb05bc
[coverity] next set of fixes
9 years ago
Timothy Stack
3c0d78d28e
[sql] fix spurious loading bar flash while searching
9 years ago
Timothy Stack
0d37a8c142
[text] pretty-printing should work in the text view
9 years ago
Timothy Stack
b4cb092ce1
[view] stop scrolling to the right when the end is reached
...
Fixes #84
9 years ago
Timothy Stack
bedae8c8c2
[fmt] install/update formats from git repos
...
Fixes #244
9 years ago
Timothy Stack
2b5447f59c
[sql] add a log_search table
9 years ago
Timothy Stack
83b92c3b65
[papertrail] add support for time ranges
9 years ago
Timothy Stack
cc5e70fb30
[cmd] add help to the command prompt
9 years ago
Timothy Stack
e9a96caf09
[papertrail] use the curl_looper
9 years ago
Timothy Stack
f286950854
[curl] add a curl looper to handle url requests
9 years ago
Timothy Stack
fa89ecc5e5
redo the search in the pretty view
...
Fixes #245
9 years ago
Timothy Stack
d2d8c75135
[sql] add an lnav_views table
9 years ago
Timothy Stack
9496a960f6
[check] print the partial match of non-matching lines when checking a log file
9 years ago
Timothy Stack
5e77e9f256
[readline] try a different behavior when tab-completing quoted stuff in the SQL context
9 years ago
Timothy Stack
3f4e11a693
[fmt] first pass at supporting sub-formats (called module formats)
9 years ago