Commit Graph

1040 Commits (deccd51bdfac9b4277d6ee37c8c7b7b95e7d8573)
 

Author SHA1 Message Date
Timothy Stack deccd51bdf [mouse] update the status line when the mouse is enabled/disabled 8 years ago
Tim Stack 1850c4f678 Merge pull request #318 from sureshsundriyal/db-attach
[secure-mode] Prevent users from attaching db files.
8 years ago
Timothy Stack 5ea5504aec [time] fix time rollover for days
Fixes #304
8 years ago
Suresh Sundriyal a13047a9ed [secure-mode] Check to see if URIs are enabled.
Check to see if URIs are enabled or not before continuing on with the
file uri checks.
8 years ago
Timothy Stack a4deaa1e8b [spectro] log_time must be in ascending order 8 years ago
Suresh Sundriyal 1e6878164f [secure-mode] Refactoring and check for sqlite version.
'mode=memory' query parameter is only supported from sqlite3 version
3.8.0 onwards. Make sure to check for the version before continuing with
the 'ATTACH' statement.

Turning off some of the tests, since they fail on the Travis CI setup
which uses sqlite version 3.6.0.
8 years ago
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 834fea5f73 oops, left debugging stuff in 8 years ago
Timothy Stack 82f970c09e [config] add a config option to control A_DIM for text
Fixes #298
8 years ago
Timothy Stack 3167302722 [data-parser] fix some issues with parsing hierarchical data and improve the debugger 8 years ago
Timothy Stack 1477c2ae51 [text-view] swap the rotation of f/F to something more natural 8 years ago
Suresh Sundriyal 4a0d2c0be3 [documents] Fix the NEWS file. 8 years ago
Suresh Sundriyal e4ef35e652 [commands] Remove eval from the list of sandboxed commands. 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 54b9c5ebf5 [parser] handle empty groups 8 years ago
Timothy Stack 2b76181fd6 [parser] try to handle apostrophes better 8 years ago
Timothy Stack a8cd28097b [spectro] add some better error messages for the spectrogram command and fix some vtable glitches 8 years ago
Timothy Stack efc74a5a0e [docs] some minor doc updates 8 years ago
Timothy Stack 96191badf3 [release] update versions for release and fix some time issues 8 years ago
Timothy Stack cbe3541366 [spectro] add tab-completion for DB column names 8 years ago
Timothy Stack 23020e8a89 [test] missed setting TZ 8 years ago
Timothy Stack 3dcc59c405 [build] missing include 8 years ago
Timothy Stack cc16c9a214 [build] fix attempt #2 8 years ago
Timothy Stack fbae8a4b18 try to fix a build issue 8 years ago
Timothy Stack 4f05af6408 [time] add support for TAI64N timestamps
Fixes #300
8 years ago
Timothy Stack 9c364bf48e [spectro] add spectro view support for sql results 8 years ago
Timothy Stack cad311f557 [views] do auto-scroll-down for all views 8 years ago
Timothy Stack a384e240f9 missed updating the makefile 8 years ago
Timothy Stack afc8cc44b6 [json-format] support integer values for log levels in json formats 8 years ago
Timothy Stack acd8e24943 add '/min' to the error rate display 8 years ago
Timothy Stack fc637ab6dc [doc] some more error rate explanation and other minor tweaks 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 13c90726a2 [tests] some more testing and stats for logfiles 8 years ago
Timothy Stack 99eb3a54f3 [spectro] support marking lines in a bucket 8 years ago
Timothy Stack 7f6b352143 set file size for gzip files 8 years ago
Timothy Stack e8f400abfa [logfile] truncation detection was not taking into account compressed files 8 years ago
Timothy Stack 619076d89c no, we don't want to scroll... 8 years ago
Timothy Stack 0e2d204be4 missed a new file in the makefile 8 years ago
Timothy Stack 1d9c403053 missing include 8 years ago
Timothy Stack fdc2748e3e [spectro] add a spectrogram view that works with known message fields 8 years ago
Timothy Stack 7c74ecf1e7 [logview] add a "time span" section to the summary and right justify the summary 8 years ago
Timothy Stack ff35d811e2 [logview] more summary line tweaks 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 4b318e45e0 [parser] some more parser tweaking and fix a jget() issue 8 years ago
Timothy Stack 36c9c63966 [logview] some cleanup of the field overlay 8 years ago