23 Commits (54d7b4677482942b0084bbb8c9bd91faf0798e97)

Author SHA1 Message Date
Stefan Bühler 54d7b46774 [lua] protect setup and action metatable
2 years ago
Stefan Bühler 3bf903c398 [lua] provide and use li_lua_new_protected_metatable to prevent tampering with metatables
2 years ago
Stefan Bühler 53337c81d4 [lua] prevent tampering with global "lighty" table
2 years ago
Stefan Bühler 5977493f47 [lua] one li_lua_init_*_mt function per "file", add a few missing ones
2 years ago
Stefan Bühler 17a5168793 [core] convert all assert() to LI_FORCE_ASSERT(), and support writing backtraces on fatal errors with libunwind
9 years ago
Stefan Bühler ad687636e9 [lua] push list values with __index metamethod to lookup string/nil keys in key-value lists
10 years ago
Stefan Bühler f9d0abac66 [lua] add lighty.error -> lighty.print alias
10 years ago
Stefan Bühler 0d85a068c8 [lua] add per lua_State lock
10 years ago
Stefan Bühler 9cb0790052 [core_lua] Forward worker pointer to log functions in some lua functions
10 years ago
Stefan Bühler 77f786ed18 [log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest
11 years ago
Stefan Bühler b876f8401d [core]: rework connection/vrequest structs; add liConInfo
13 years ago
Stefan Bühler 5e063e2b04 [core] Enable li_plugins_init_lua again, fixed segfault
13 years ago
Thomas Porzelt 14ed0a508b [core] Disable call to li_plugins_init_lua() for now, causes segfault due to being called in the wrong place (srv->plugins does not exist yet)
13 years ago
Stefan Bühler c2271c15c3 Add plugin init-lua hook
13 years ago
Stefan Bühler f43f70de6e [lua] export path_simplify
13 years ago
Stefan Bühler 00ef8599cf Export glib md5/sha1/sha256 hash functions to lua (hex output)
13 years ago
Stefan Bühler fe7ddede88 Add lua plugins
13 years ago
Stefan Bühler 881669d96a Add lua filters; fixed some lua-api bugs; enhanced lua chunkqueue api
13 years ago
Stefan Bühler d9228f3ef0 Add per worker lua_State
14 years ago
Stefan Bühler a151eeac2f Prefix li_ cleanup, verified with nm -g --defined-only
14 years ago
Stefan Bühler 476698f118 luaApi: move global method/constants into lighty. namespace, add vr:stat(filename)
14 years ago
Stefan Bühler ac923e9d0c Improve lua api
14 years ago
Stefan Bühler 659ebfdd16 Add core lua support to handle requests
14 years ago