Commit Graph

40 Commits (master)

Author SHA1 Message Date
Tim Stack 80a7332fc8 [sql] some SQL prompt cleanup 9 months ago
Suresh Sundriyal ec100cdc99 Remove redundant headers - 2
Remove redundant headers from:
  - listview_curses.{cc,hh}
  - top_status_source.{cc,hh}
  - vtab_module.{cc,hh}
  - sql_util.{cc,hh}

Also add the appropriate headers in:
  - log.watch.cc
  - log_format.cc
  - regexp_vtab.cc
10 months ago
Tim Stack 0361ed5700 [build] some tidying up of the headers 11 months ago
Tim Stack d940d9d5eb [logfile] plumb gzip header through file meta 2 years ago
Tim Stack 87791ec94b [markdown] add support for going to an anchor 2 years ago
Tim Stack 1ae1600f7b [line_buffer] cache compressed files 2 years ago
Timothy Stack 41754a8ec1 [session] add time_offset of files to session exports 2 years ago
Timothy Stack 72c1c48e23 [perf] fixing slow queries 2 years ago
Timothy Stack 0785a432fa [console] colorize console output 2 years ago
Timothy Stack 66ef5fdae1 [clang-format] init 2 years ago
Timothy Stack 4564e162d0 [build] try to optimize compile time 2 years ago
Timothy Stack 32ddc76624 [time] use a 64-bit time_t in some places 3 years ago
Timothy Stack c0ed59e61e [sqlite] implement .dump SQL command 3 years ago
Timothy Stack 49ebde5953 [build] remove pcrecpp and other stuff
Linking against a binary c++ lib suuuucckkkkkssss...
3 years ago
Timothy Stack 56bee6f4c9 [archive] remove old unpacked archives and a bunch of other stuff 3 years ago
Timothy Stack 0765c07010 [view] migrate view_action stuff to function objects 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 6bfd158e49 [logline] check for SQL keywords in column names 6 years ago
Timothy Stack 8ea51a6fd8 [formats] support for CSV/TSV log formats
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 78119dc9f1 fixing some minor issues
Fixes #255
7 years ago
Timothy Stack 8776f6a703 [sql] do some minimal parsing/annotation of SQL statements
Defect Number:
    Reviewed By:
   Testing Done:
7 years ago
Timothy Stack 09111fb3c9 [sql_util] compile to prepared statements
Defect Number:
    Reviewed By:
   Testing Done:
7 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 4f05af6408 [time] add support for TAI64N timestamps
Fixes #300
8 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 d4bea593b7 [perf] optimize json log loading 10 years ago
Timothy Stack 1974e1f1ae [jsonptr] initial impl 10 years ago
Timothy Stack 87223ed110 [sql] install a sqlite log handler
Fixes #86
10 years ago
Timothy Stack c29d756fd3 [sql] implement the sqlite3 .schema command 10 years ago
Timothy Stack 7958c54fd0 [sql] use the default sqlite datetime format so collating works 10 years ago
Timothy Stack c59acba758 [format] initial support for json formats and some bug fixes 11 years ago
Timothy Stack b4ed348428 [build] mostly static linking stuff 11 years ago
Timothy Stack 729c842ca5 [session] saving bookmarks 11 years ago
Timothy Stack af3d2a432f [sql] add a logline_datetime function 11 years ago
Timothy Stack 5a7d6dab2c [cleanup] uncrustify 11 years ago
Timothy Stack 5ba3097ee7 [cleanup] move some code around and try to pretty things up a bit 11 years ago