Timothy Stack
66ef5fdae1
[clang-format] init
3 years ago
Timothy Stack
4564e162d0
[build] try to optimize compile time
3 years ago
Timothy Stack
8bb034eeeb
[pcap] initial pcap support
...
Fixes #12
3 years ago
Timothy Stack
32ddc76624
[time] use a 64-bit time_t in some places
4 years ago
Timothy Stack
c0ed59e61e
[sqlite] implement .dump SQL command
4 years ago
Timothy Stack
f6128240ab
[sql] add lnav_top_file() SQL function
4 years ago
Timothy Stack
b847ae7164
[tests] more coverage
4 years ago
Timothy Stack
49ebde5953
[build] remove pcrecpp and other stuff
...
Linking against a binary c++ lib suuuucckkkkkssss...
4 years ago
Timothy Stack
56bee6f4c9
[archive] remove old unpacked archives and a bunch of other stuff
4 years ago
Timothy Stack
32f112b8de
[formats] add w3c extended log format impl
...
Fiexes #798
4 years ago
Timothy Stack
22c2e95df0
[filters] sql filter
...
Related to #568
4 years ago
Timothy Stack
a29d3bc745
[build] missing algo
4 years ago
Timothy Stack
8e629b166a
[build] some more compiler profiling
...
Defect Number:
Reviewed By:
Testing Done:
4 years ago
Timothy Stack
db8a3c4d38
[debt] doing some cleanup
...
Defect Number:
Reviewed By:
Testing Done:
4 years ago
Timothy Stack
c3646be987
[build] fix some issues on 32-bit arch
4 years ago
Timothy Stack
a2b3427502
[tests] add tests for SQL annotation functionality
4 years ago
Timothy Stack
e85fff0b88
[sql] add json_concat() function and misc fixes
4 years ago
Timothy Stack
8413dd13d8
[config] add configs directory
4 years ago
Timothy Stack
0918063640
[cleanup] some modernization
5 years ago
Timothy Stack
fb7d6eafaf
[build] some refactoring of files
5 years ago
Timothy Stack
062d480fea
[sql] fix some issues found while trying to query some logs
6 years ago
Timothy Stack
2345a32423
[filter] add panel that shows the set of filters
...
Initial version, still needs some cleanup
6 years ago
Timothy Stack
6bfd158e49
[logline] check for SQL keywords in column names
6 years ago
Timothy Stack
4ccae48aea
[bookmarks] add support for tags and comments for log lines
...
Initial work for #446 and #447
TODO: filtering on tags/comments
Also did a bunch of clang-tidy cleanups and improvements to
the online help.
6 years ago
Timothy Stack
af36896f50
[sanitize] some fixes for issues found in the address sanitizer
7 years ago
Phil Hord
eee7d0ddfc
Squash a bunch of signed/unsigned warnings
7 years ago
Timothy Stack
8ea51a6fd8
[formats] support for CSV/TSV log formats
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
3e97c737c1
[jsonlog] fix some bugs related to json logs
8 years ago
Timothy Stack
78119dc9f1
fixing some minor issues
...
Fixes #255
8 years ago
Timothy Stack
411ea1fbee
[help] show help text for SQL functions
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
8776f6a703
[sql] do some minimal parsing/annotation of SQL statements
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Timothy Stack
09111fb3c9
[sql_util] compile to prepared statements
...
Defect Number:
Reviewed By:
Testing Done:
8 years ago
Tim Stack
91633d089f
Merge pull request #320 from sureshsundriyal/db-attach
...
[secure-mode] Disallow ATTACH statements completely.
9 years ago
Suresh Sundriyal
6663740c5e
[secure-mode] Disallow ATTACH statements completely.
...
The code to handle in-memory db exceptions is hideous and unreliable,
given the fact that SQLite does not expose much in terms of getting the
current value and the methods to check the compile time options can
themselves be disabled by a compile=time option in SQLite.
There really isn't much use for in-memory databases and if someone
really needs it, they can always choose to run in normal mode, so just
remove the extra code.
9 years ago
Timothy Stack
fbbedfea48
[build] try to silence some warnings
9 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.
9 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.
9 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.
9 years ago
Timothy Stack
4f05af6408
[time] add support for TAI64N timestamps
...
Fixes #300
9 years ago
Timothy Stack
2b2e1c0af9
[sql] add parens to function complete values and do not open empty output files from scripts
9 years ago
Timothy Stack
64cbab1281
[sql] exec .sql files in format dirs
9 years ago
Timothy Stack
9139e6de5b
[search-table] guess the column types based on the regex
9 years ago
Timothy Stack
9948eeba77
[build] use isdigit
10 years ago
Timothy Stack
1d0233bbfa
[json-format] support for full paths
10 years ago
Timothy Stack
2d23f8e809
[time] use the gmtime from newlib
...
Defect Number:
Reviewed By:
Testing Done:
10 years ago
Timothy Stack
d4bea593b7
[perf] optimize json log loading
10 years ago
Timothy Stack
b205a3ec82
[build] some more centos build fixes
10 years ago
Timothy Stack
1974e1f1ae
[jsonptr] initial impl
11 years ago
Timothy Stack
87f288d3d0
[build] ifdefs for some sqlite defines
11 years ago
Timothy Stack
87223ed110
[sql] install a sqlite log handler
...
Fixes #86
11 years ago