Commit graph

3118 commits

Author SHA1 Message Date
Théophile Diot b8145f3f28
Add website link to README.md 2023-11-22 10:18:30 +00:00
Jordan Blasenhauer f92e327577 add confirm password 2023-11-21 14:20:27 +01:00
Jordan Blasenhauer cdd436bf8a add reverse proxy inp setup 2023-11-20 17:10:43 +01:00
Jordan Blasenhauer 4fe52d0f05 Merge branch 'dev' into ui 2023-11-20 17:07:58 +01:00
Théophile Diot efaaf454ef
Add conditional block for open file cache
configuration
2023-11-20 14:36:33 +00:00
dependabot[bot] 3a1b779b56
deps/gha: bump docker/build-push-action from 5.0.0 to 5.1.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](0565240e2d...4a13e500e5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 08:15:46 +00:00
Jordan Blasenhauer 76c848ed4c add server name input 2023-11-17 16:33:20 +01:00
fl0ppy-d1sk 57b0787dc1
ci/cd - add more logs when k8s fails 2023-11-17 15:34:21 +01:00
Théophile Diot b4d790aad5
Create web UI wizard functionality (backside) 2023-11-17 13:11:54 +00:00
Théophile Diot d457a6f037
Merge pull request #765 from bunkerity/dev
Merge branch "dev" into branch "staging"
2023-11-17 10:25:24 +00:00
Théophile Diot 2964669d90
Merge pull request #764 from bunkerity/dev
Merge branch "dev" into branch "ui"
2023-11-17 10:24:54 +00:00
Théophile Diot eb160334fb
Merge commit 'f7bc0d87200a0ec786c88091530734f265a6a8c2' into dev 2023-11-17 10:22:23 +00:00
Théophile Diot f7bc0d8720 Squashed 'src/deps/src/lua-nginx-module/' changes from 11ab5315b..c47084b5d
c47084b5d bumped version to 0.10.25.
6d0a2c184 bugfix: used after free when encountering invalid http IF-Match header.
6e9948dcd bugfix: ssl_client_hello_by_lua generating chunk cache key and chunk name
68acad14e bumped the lua version to 0.10.24.
ec6df3249 bugfix: windows also need to support ngx_http_lua_ffi_worker_pids.
9bee7e789 bugfix : comparison of integer expressions of different signedness.
1953052a0 bugfix: fixed warning of signed and unsigned.
74786af95 bugfix: windows does not support ngx_http_lua_ffi_worker_pids.
ce30e2fb0 Revert "bugfix: doesn't set flags for Darwin arm64. (#2071)" (#2163)
644b98faa feature: introduced ngx_http_lua_get_lua_http10_buffering.
6f7a9a330 feature: add four new apis to manipulate the coctx.
14be60380 doc: setoption is already available now.
6dbc4e1bd tests: use the specified perl to execute cpanm. (#2157)
5e05fa3ad tests: cross requests cosocket can only be use one time.
a6ee03aba bugfix: cleanup of http request will not be callled for the request created by ngx_http_lua_create_fake_request.
992bfc352 style: use forward declaration.
1a4859924 bumped the lua version to 0.10.23.
47f0a3676 bugfix: cosocket did not exit when worker_shutdown_timeout handler is called.
81bc96401 tests: fixed some test cases in t/129-ssl-socket.t t/162-socket-tls-handshake.t t/186-cosocket-busy-bufs.t.
f488965b8 feature: added HTTP 3.0 support to ngx.req.http_version().
3f4005fa8 bugfix: fix receiveuntil rest bytes count.
4045ea8eb tests: test failed when running in randmonize mode.
6e3b1c4fd bugfix: define busy_bufs per cosocket (#2119)
56347d174 tests: upgrade openssl to 1.1.1s. (#2117)
0499e8443 doc: add link to pre-defined Nginx variables (#2116)
a31e9cf33 bugfix: avoid buf double free in ngx.print if lua body filter enabled (#2115)
eb977111b bugfix: add a timed recycling child process as a last resort. (#2112)
b754786bb feature: add new ffi api ngx_http_lua_ffi_msec. (#2108)
3207da152 chore: add assertion to make linter happy (#2107)
a318d250f doc: add detail on explanation of a running timer (#2105)
4bbb57aa4 doc: add release description for ngx.worker.pids(). (#2104)
d518adcac Merge tag 0.10.22 into master.
8d9032298 bumped the lua version to 0.10.22.
4add94239 bugfix: did not wakeup coroutine when worker thread finished.
cff86dd7f doc: fix the version in README (#2089)
edfa0f984 feat: add ngx_http_lua_ffi_worker_pids to get all workers pid map
3e2a7f459 bugfix: run_worker_thread arg is self-reference.
eb6d6cbf0 tests: build with DDEBUG=1. (#2084)
5eb7101d3 doc: complete md5.lua example in run_worker_thread api (#2085)
a7e67a596 doc: add more explanation for premature in ngx.timer.at.
73f2b3f6f bugfix: typo in the debug message. (#2081)
9b7bde2e7 feature: added new API bind.
44486a45f feature: add shdict APIs into worker thread (#2074)
99b29cd16 doc: clarify the ngx.req.set_uri_args api when using Lua table as the 'arg' argument. (#2073)
1fd1e83c8 bugfix: doesn't set flags for Darwin arm64. (#2071)
1c43f1c4f ci: bumped OpenSSL to 1.1.1p. (#2070)
74b8d4b4f chore: update the PR types (#2069)
c55fceb5c ci: add a way to check PR title automatically (#2067)
b6d167cf1 bugfix: update handling of multiple headers changed in nginx 1.23.0 (#2063)
c8597eda0 tests: change the running phase to cover the bug reported in google group. (#2064)
9a0a8968c bugfix: did not wakeup coroutine when worker thread finished.
3fe8d9dde change: can not receive udp datagram greater 8192. (#2057)
2c60e8966 optimize: destroy pipe proc when freeing the request. (#2052)
e7660d75a doc: revised English grammar in ngx_http_lua_timer.c. (#2053)
9c6478b08 Merge branch '0.10.21.x'
0ac2ab279 bugfix: tctx.pool is double freed. (#2049)
b6db2e741 optimize: add error log when closing the pipe failed. (#2050)
b91221bd6 optimize: fix potential null pointer dereference found by coverity (#2051)
381e9b3a6 bugfix: wrong memory size for the pernding timers array. (#2048)
af130ae89 fix dead code found by coverity
8a8e710cb fix potential null pointer dereference found by Coverity (#2043)
86e1a6446  feature: content_by_lua_file return 503 if read err and file is existed #1992 (#1995)
653d6a36f bugfix: Apple Silicon FFI ABI limitation workaround
bc2ecdae2 ci: add util/build-without-ssl.sh. (#2035)
f0c04dbf6 bugfix: failed to compile when nginx https is disabled. (#2034)
6c0cc5c45 doc: did not generate README.markdown from doc/HttpLuaModule.wiki. (#2029)
c1d378824 feature: add `server_rewrite_by_lua*`. (#2004)
3d1431790 travis: update openssl to 1.1.1n. (#2028)
8df296c47 travis: fixe the uri of lua-resty-core.
2b902657f cosocket: add function `tcpsock:setclientcert`, reimplemented `tcpsock:sslhandshake` with FFI
1fea11712 tests: use random port numbers instead of fixed port number to prevent conflict. (#2025)
a7444abe8 tests: 160-disable-init-by-lua.t: prevent the test process from overwriting the original pid file. (#2024)
247086ed3 doc: describe the second argument of get_uri_args (#2023)
d959374e0 optimize: use ngx_hash_t to optimize the built-in header look-up process for ngx.header.HEADER.
974d5d163 feature: add FFI implementation for ngx.arg getter (#2021)
bd92edf3b doc: modify openssl patch requirements. (#2022)
496d98533 tests: change the count of the record after adding ngx.get_raw_phase. (#2019)
97d1b704d bugfix: ngx.pipe waits until timeout because child process forgot to close pipe after dup2.
d001dea77 bugfix: posted event handler was called after event memory was freed. (#1982)
7d585bd53 bugfix: fixed size of the array when initialized in the init_worker_by* phase. (#2017)
66294b9d0 bugfix: ambiguous error message 'connection in dubious state' when connection is closed. (#2016)
77540f78c doc: change description for ssl_client_hello_by_lua.
cee06592f doc: fixed link to lua-resty-core
15b693b33 bugfix: passing the wrong chunkname argument to luaL_loadbuffer. (#2010)
70a50e66c optimize: change lua chunkname to config filename and line number for (init/header_filter/body_filter)_by_lua_block and so on. (#2008)
907d1d9ad doc: modified the todo section. we now have exit_worker_by_lua (#2009)
297e73cde bugfix: the error message should use the first line rather than the last line of the code block when load lua code block failed. (#2005)
2615bafa3 bugfix: segment fault when get header via ngx.req.raw_header with malformed requests.
8cf9c632d travis-ci: upgraded openssl to 1.1.1m, pcre to 8.45. (#2002)
8b497f5a5 change: delete useless code for get old_cpath. (#2000)
ce8405c73 bugfix: ngx.run_worker_thread injected api into the wrong table.(#1996)
fa5982c63 tests: t/140-ssl-c-api.t failed because got wrong libssl.so.
a41fdcea4 feature: add api to fetch raw nginx ssl pointer of the downstream request.
5f02311a9 feature: ssl/tls: support for passphrase protected key. (#1991)
7eb8ad025 bugfix: ngx.pipe waits until timeout because child process forgot to close pipe after dup2.
30debf674 doc: mentioned OpenResty.
320f03078 doc:move all the discouraged *_by_lua documentation to *_by_lua_block
1637b3534 tests: travis.yml: ngx-releng depends on ack. (#1986)
f36fe2982 feature: expose the 'Last-Modified' response header as ngx.header["Last-Modified"]. (#1983)
75c68b225 bugfix: posted event handler was called after event memory was freed. (#1982)
de09fc6cc tests: removed duplicated c declaration in t/140-ssl-c-api.t.
2fce8ca38 optimize: don't calculate hash when clearing the request header.
85388f4ef feature: check the number of parameters for ngx.thread.wait
d0e56ca14 optimize: don't calculate hash when clearing the header.
a27647626 change: use nil instead of false when lpush&rpush overflow. Co-authered-by: lijunlong<lijunlong@openresty.com>
b67b22af8 feature: prevent calling ngx.exit() with invalid values.
0b6da3b6c feature: added ffi-based function 'ngx_http_lua_ffi_req_is_internal'.
e98f5c508 doc: Clarify ngx.req.set_header usage for proxies.
5483b9157 feature: added http const HTTP_NOT_IMPLEMENTED, fixes #1466. Co-authored-by: lijunlong <lijunllong@openrestycom>
37ec9f756 doc: Readme: completed the Installation part, with add lua-resty-core and lua-resty-lrucache.
94fa662bc style: removed extra space. (#1981)
6302d4740 tests: NGINX_TEST_CHECK_LEAK detects memoryleak because nginx can not free resolver ctx quickly. This was introduce in commit acd53645754ce which is use to resovle double free of resolver ctx. This issue happens only when nginx can not get any reply from the dns server until timeout.
94dd3ac94 style: updated the indentation of .travis.yml according to the yaml specification. (#1976)
3229945a2 bugfix: prevent illegal memory access in ngx_http_lua_util.c. (#1974)
ce8fd0268 tests: fixed test plan for 129-ssl-socket.t and 162-exit-worker.t. (#1972)
0b98a58ad tests: 132-lua-blocks.t and 158-global-var.t: use RegExp instead of strict character match. (#1971)
91907a0f3 bugfix: forgot to clean up the cached thread contexts when worker process exits. (#1968)
892ed514f tests: skip test cases for unsupported event types. (#1967)
9a93a3a0b travis-ci: bumped the NGINX core to 1.21.4. (#1964)
9e692e29c travis-ci: updated ftp.pcre.org to sourceforge mirror. (#1965)
e68213328 tests: wrong pid path when running jobs greater than 1. (#1961)
751667913 style: changed the comment a bit.
931f62799 bugfix: ngx_http_lua_assert failure in ngx_http_lua_worker_thread.c. (#1960)
3f33dd862 optimization: removed superfluous code from shdict_store. (#1956)
560461e1f tests: updated the test cases in t/104-req-raw-header.t to reflect the changes in nginx.
913b5583b tests: updated the test cases in t/020-subrequest.t to reflect the changes in nginx.
0dffd1227 travis-ci: bumped the NGINX core to 1.21.3.
73181ca90 bumped the API version to 0.10.21.
617cb5dad style: removed extra space. (#1952)
557e0097d tests: remove workflows/label.yml since it is not working properly. (#1950)
59d39ca2f doc: fixed spelling errors in the docs and code. (#1947)
ccc748eaf bugfix: fix nginx crash caused by a bad format specifier.
a6e9e11f1 doc: fixed code style and test case style found by ngx-releng.
aeaecd652 tests: added the missing test case which should be added in commit 5f47838e600.
5f47838e6 doc: clearify the missing the closing long bracket may due to the lua code is too long.
3f1c6834e bugfix: fixed memcpy param overlap detected by asan.
c4d5ae71e feature: allowed some ngx APIs to be used in worker thread.
421a8da81 chore: fix possible null pointer dereference found by Coverity.
c4a3e34fc bugfix: we should use luaL_typename() with lua stack index.
07e11f316 SSL: fixed potential leak on memory allocation errors. similar to https://hg.nginx.org/nginx/rev/8981dbb12254 If ngx_pool_cleanup_add() fails, we have to clean just created SSL context manually, thus appropriate call added.
7c60431a0 tests: travis failed due to the cetificat of Let's Encrypt expired. (#1939)
acd536457 bugfix: nginx crash when resolve an not exist domain in thread create by ngx.thread.spawn.(#1931)
c4ca52032 tests: ca-certificates of Let's Encrypt has expired. (#1937)
1ea5b09f1 feature: auto assign pr to project (#1772)
250f31d01 tests: the certificate of the Let's Encrypt has expired. (#1929)
a3ec1565e bugfix: should reset the value_len to 0 when reuse the expired list type key in shared dict. (#1928)
5095da4a5 change: do not need to create the Lua request ctx data table from C (#1926)
5425d6d8e bugfix: we should ignore match limit in DFA mode. (#1924)
fef25815f feature: implemented the ssl_client_hello_by_lua_block and ssl_client_hello_by_lua_file directives for controlling the NGINX downstream SSL handshake dynamically with Lua.
776f82910 style: fixed some of the code style issues and add code style checking for the ci. (#1916)
3820d0e11 bugfix: buffer bloat and CPU 100% when download large file was filtered by body_filter_by_lua. (#1909)
86514c1e4 bugfix: fixed missing 'const' qualifier causing compilation failure on freebsd. (#1914)
a9cd21e94 travis-ci: upgraded openssl to 1.1.1l.
c297cf69f tests: improve test cases robustness.
89818721f feature: implement the new ngx.run_worker_thread API to run Lua function in a seperated worker thread.
263bd0ca7 bugfix: should not allow to create timer in the exit process phase (#1907)
b721656a9 bugfix: add nginx version condition for privileged agent connections. (#1903)
66a4d417d add privileged agent connections
53bd82199 travis-ci: remove clang compiler mode from travis.
ccb0f8cc1 change: removed the openssl 1.0.2 in CI since it has been EOL ove a year, fix #1897. (#1899)
bdd48a154 bugfix: we didn't exclude the ssl_verify_callback when compiling with LibreSSL (#1894)
223139d20 chore: fix typos introduced by PR #1890 (#1892)
6c1a2e95b bugfix: fixed typo introduced by 276f16af. (#1891)
276f16af4 feature: add lua_ssl_conf_command directive for setting arbitrary Ope… (#1890)
f1b97e450 feature: support environ in ngx.pipe on mac (#1882)
6ed8e4b0f feature: allow to be compiled with LibreSSL 3.0+ (#1888)
f72792234 doc: stripped line trailing whitespaces. (#1881)
68f6a1498 travis-ci: upgraded openssl from 1.1.1i to 1.1.1k. (#1868)
9007d673e bumped the API version to 0.10.20.
dabc8e881 change: changed from graceful shutdown to abort when lua_resume return LUA_ERRMEM.
d3a862642 tests: suspected memory leak of 160-disable-init-by-lua.t when test with TEST_NGINX_CHECK_LEAK=1 because forgot to close the file. (#1877)
14ef2cb25 doc: added sample config directives for internal redirects, as reported by Jason Hoch.
b8d5b379f tests: added a new rule about 'ngx_pass_open_channel()' to valgrind suppression file. (#1874)
dcc77fae7 doc: documented the scope of ngx.ctx for timer handlers. thanks Jason Hoch for the suggestion.
5b90b1fae doc: recommend to renew ngx.timer.at regularly (#1876)
a43cc398a doc: sync doc from README to ensure wiki2markdown.pl is work (#1875)
1c1bcfeb9 travis-ci: bumped the NGINX core to 1.19.9. (#1870)
eb944dedd bugfix: correct the way to handle invalid quote in ngx.escape_uri/ngx.req.get_{uri,post}_args (#1862)
2abb142d2 tests: fixed typo in 162-exit-worker.t. (#1866)
88a52c44a chore: fix possible null pointer dereference found by Coverity (#1846)
9a3176e93 chore: fix possible null pointer dereference found by Coverity (#1844)
4d2d47ce5 chore: fix possible null pointer dereference found by Coverity (#1845)
23e40f3fd docs: fix spelling (#1841)
138c1b964 src/ngx_http_lua_ssl_certby.c: fix possible null pointer dereference found by coverity
7bba6d195 bugfix: fixed memory leak in debug log.
8f12a28e2 updated openssl to 1.1.1i. (#1836)
60e95eff3 doc: added new youtube video on luajit bytecode precompilation.
b9b39645f doc: added 1 more video.
99ea68a13 bugfix: we closed listener's fd which was closed. (#1832)
d59afff27 doc: added our tutorial videos.
7105adaa5 bumped the API version to 0.10.19. (#1824)
83a61d6b4 optimize: post zombie thread: avoided the linear search. (#1823)
15197e7bb bugfix: accessed memory out of range when calling lua_pushfstring with none zero-terminated string introduced in commit 7367a231.
26809e75b tests: 106-timer.t: fixed test plan count.
98f482bfb bugfix: process may crash when a timer run failed and a function with arguments run inside this timer.  (#1819)
e497ffc68 bugfix: ngx.resp.set_headers(): may cause an error when Content-Length field is larger than 2^32.
411a9aed7 tests: 124-init-worker.t: made the test robust by changing the match pattern for TEST 22. (#1817)
4653f2182 bugfix: fixed segfault caused by an incorrect format token introduced in commit 3e24a95a.
65d875074 bugfix: wrong pipelined request body length when request body is parent's request body. (#1814)
8b9d7fdae travis: openssl: enable threads.
50de32e85 travis: upgraded openssl 1.1.1 to 1.1.1h.
843e20301 bugfix: ngx.flush never blocks on http v2.
ea6b07cd6 feature: implemented the new tcpsok:setoption() function for setting options for the TCP socket.
8ae3e73f2 tests: --- shutdown_error_log should be excluded from repeat_each() when counting plans.
7bccbbff6 tests: skip t/163-signal.t under hup reload test mode.
de1c3c63b bugfix: entry threads would leak when exceeding the lua_max_running_timers limit. this regression had appeared in commit 4de59f5da or v0.10.18rc2.
e16d217a1 optimize: removed useless code for luajit without the lua_resetthread API.
186c84738 debug: added more debug info to monitor the main lua stack size in timer creation code.
fdf752daf feature: added undocumented API for attaching arbitrary key-value pair data to a cosocket TCP connecton, which can survive connection pool reuse.
7367a2314 bugfix: ngx.resp.get_headers(): may return a wrong (like: negative) value of the Content-Length field when it is larger than 2^32.
57ebdd343 bugfix: should still use timer instead of delayed_events when worker process is exiting, otherwise the new created 0 delay timer may have no chance to run.
ff8163423 optimize: added the "ev" to ngx_posted_delayed_events instead of the rbtree for 0 delay timer, so that we can save an epoll wait in such case.
df4033d13 travis-ci: bumped the NGINX core to 1.19.2. (#1793)
0bccfb30f style: added "static" for the "ngx_http_lua_module_ctx" (#1794)
2c5b18933 feature: implemented the new ngx.ssl.server_port() API to get server port.
d8b408a7f bugfix: build error with nginx 1.7.4 or older version
2d82f078a bugfix: we now only recycle light threads which are "entry threads" otherwise it is not safe to recycle user created threads since we have no idea whether the user may still hold refs to them.
b28112130 optimize: now we make use of the new lua_getexdata2 and lua_setexdata2 to attach coctx to the Lua thread objects directly which save the lookup overhead which can become the bottleneck when there are many Lua light threads around in a single request handler.
021b75b88 travis: fixed the luajit branch.
4de59f5da feature: now we recycle lua thread GC objects for our "light threads" and added lua_thread_cache_max_entries directive to configure the cache size.
4695419bd bumped the API version to 0.10.18.
ce30a0886 feature: added new C API ngx_http_lua_pcre_version to wrap the pcre_version() C API in libpcre.
ef9e7507a updated .gitignore a bit.
ac9836f97 bugfix: double values larger than int32_t were incorrectly printed out as 64-bit integers.
85fb9b839 test: make the 030-uri-args.t more robust since there is no fixed order in lua table. (#1797)
4d2a04a08 test: increased time unit to make test less error-prone
db1999816 bugfix: the format in argerror messages are incorrect (#1787)
97b91899c bugfix: when recreating balancer buffer, remove existing buffers first (#1770)
172c2145e doc: fixed broken links.
9416eadfa doc: minor link tweaks.
b1a3b5d16 style: removed a line-trailing space found by ngx-releng.
2db0e8246 doc: minor link tweaks.
b4f464a90 doc: added a link to new blog post "Introduction to Lua-Land CPU Flame Graphs".
e86d41f50 bugfix: added missing SSL feature macro (#1776)
218af5ee9 feature: shared ngx.ctx among SSL_* phases and the following phases. (#1514)
d6a29d261 feature(socket.tcp): enhance the logic of parameter verification in connect
21cfd8ab2 doc: ported recent changes in mardkown to the wiki file.
b0875fa8f doc: added more blog post links.
3e24a95a2 bugfix: the body size may overflow since the size_t is only int32 in 32-bit system (#1756)
eeee4069e doc: ngx.var.VARIABLE is available in the balancer_by_lua* context (#1761)
49937fb69 doc: removed the useless semicolon in the example lua code
83bfe9157 doc: added a blog post link.
f6b486b24 doc: fixed the wrong phase for lua_need_request_body (#1758)
bdfc4bfc0 doc: removed the useless semicolon in the example lua code (#1757)
e526caeeb feature: added the `ngx_http_lua_ffi_balancer_recreate_request` FFI function to allow recreation of request buffer in balancer phase. (#1734)
c0e460a53 feature: add FFI interface to verify SSL client certificate (#1666)
fd2547491 test: use official repo instead of third pard repo
393c95470 feature: added exit_worker_by* to run Lua code upon nginx worker process exit. (#1682)
1669904d5 * optimize: avoided use of lua_tolstring in ngx_http_lua_calc_strlen_in_table, ngx_http_lua_copy_str_in_table, ngx_http_lua_socket_udp_send, log_wrapper and ngx_http_lua_ngx_echo.
b050e1c94 sytle: added blank line after code block. (#1752)
af7484201 test: fix: add lua-resty-string to lua_package_path (#1748)
4368a8ea2 bugfix: macro contains operator should be wrapped inside a bracket.
635b6e864 feature: supported receiveany on ngx.req.socket(true?) socks (#1623)
a4d63f7f7 refactor: used 'yieldable context' to simpify the context list.
c366f3a9b doc: fixed an unclosed <code> tag breaking the markup.
c48eeed50 tests: 161-load-resty-core.t: added vim mode line.
2d23bc4f0 bumped version to 0.10.17.
9ab38e8ee bugfix: prevented request smuggling in the ngx.location.capture API.
6913b1b1e doc: updated the Version section to reflect the release date.
c2565fe79 tests: added test cases for sending HUP signal to nginx processes without the master process.
aa548f538 tests: fixed an error message to reflect new changes in lua-resty-core.
bb045f2d8 feature: ngx.escape_uri: added new optional 'type' argument not_component argument for pure URI escaping (still defauls to URI component escaping).
5d1517268 feature: ngx.req.set_uri(): added the 'binary' optional boolean arg to allow arbitrary binary data in the unencoded URI.
8746f6405 doc: ngx.req.set_uri_args: fixed byte ranges for automatic escaping.
e1e335fd7 security: ngx.req.set_header(): now we always escape bytes in header names and header values which are prohibited by RFC 7230.
be3531827 doc: more typo fixes.
2a6c9a63e doc: minor typo fixes.
c6ffcfbf3 tests: added test cases for the nginx core patch static_mod_escape_loc_hdr.
785fb5709 feature: ngx.req.set_uri_args() now automatically escapes control and whitespace characters if the query-string is provided directly.
99a5a6bcb test: used the iptable -I option to insert rule to the head of the filter chain.
f655b0e19 feature: add mergify.yml to manage our pr
c86819f0b doc: updated the docs on the limits of subrequests to reflect recent changes in the nginx core.
8ac6cc728 doc: made the code examples more realistic (better for direct copy&paste use).
d278043fb doc: added docs for working around memory fragmentation issues to the shdict:set() method.
23d2bc10a bugfix: ngx.req.set_uri_args() threw an exception with wrong argument info.
678988696 bugfix: set_by_lua_block allowed more than one arg (in addition to the block).
8c9968bd4 doc: fixed a few typos/wording issues in readme. (#1712)
febd73006 travis-ci: bumped OpenSSL to 1.1.1g.
50c1912ef misc: ngx_http_lua_logby.c: removed duplicate headers.
6e48a804f style: ngx_http_lua_socket_tcp.c: ensured two blank lines between functions.
896638287 style: fixed a minor styling issue in 'ngx_http_lua_initworkerby.c'.
efd284106 travis-ci: bumped OpenSSL to 1.1.1f and fixed older versions downloads.
beb5c6ba0 bugfix: allow the use of spaces in 'ngx.req.set_uri()'.
6d270c32f doc: fixed the return value name in 'ngx.worker.id()' documentation.
66026039d doc: clarify ngx.timer.every callback argument conventions, #1409.
f991f3e10 travis: fixed the warnings from build config validation.
f45d4e999 bugfix: overrided the input header only for the first time
f6ff2890c misc: avoided warnings with old gcc versions due to incorrect inline definition and renamed functions for clarity.
3908769d3 travis: upgraded pcre to 8.44.
ada56de57 updated .gitignore.
79b3bd3cf config: more followup fixes in autoconf feature tests.
3a37c9c61 bugfix: FFI availability feature test was broken on Windows.
38f587a35 bugfix: ensured arguments of APIs mutating uri or request/response headers do not contain unsafe characters. (#1654)
be864c2af travis-ci: upgraded OpenSSL to 1.1.1e.
43220429e tests: fixed numbering thanks to the reindex script.
ec3b219e6 tests: fixed a newly failing test due to changes in openresty.org accepted ciphers.
4c4bb0fcb bugfix: fixed use of uninitialized cache_key in ngx_http_set_by_lua_file.
52f0d95fa doc: sync the minor change (in the last commit) to README.markdown from the HttpLuaModule.wiki file.
6b79cd441 doc: minor grammar typo fix (#1642) (#1643)
9259e7a34 tests: 139-ssl-cert-by.t: relaxed timing test cases for tvw test mode.
8669e0985 bugfix: ngx.pipe: ensured reading while a process died returns the "closed" error.
743773bfb tests: fixed a newly failing test due to openresty.org now rejecting TLSv1 connections.
1d9298d64 bugfix: fixed use of an uninitialized value in ngx_http_lua_set_by_lua_file.
028c0d495 doc: mentioned that 1.17.8 is the latest NGINX core version tested.
c06793c3e travis-ci: bumped the NGINX core to 1.17.8.
d328e5620 tests: 025-codecache.t: updated a test case to avoid error logs in stderr.
c2390abb5 Revert "bugfix: ensured 'init_worker_by_lua*' does not mutate another NGINX module's main_conf."
e32864543 change: we now ignore 'lua_regex_*' directives when NGINX is compiled without PCRE support.
8f518e7d9 travis-ci: bumped OpenSSL to 1.0.2u.
760f7073d feature: implemented the FFI interface for the 'ngx_req.add_header()' API.
7c5b11d73 tests: 124-init-worker.t: fixed a few failing test cases.
a3ac3f557 style: updated 'nginx_version' guard macros assuming it is always defined.
771eb231e misc: ngx_http_lua_util.h: removed 'ngx_str_set' definition as it is defined in NGINX 1.6.0+
d1e55394e misc: removed dead code, guard non-OpenResty LuaJIT definitions, and fixed styling issues.
478bae6fc doc: readme: mentioned that the latest tested NGINX core is 1.17.4.
4e593c335 travis-ci: bumped the NGINX core to 1.17.4.
69780f676 bugfix: config: fallback to '--undefined' option for ld 2.25 and below.
d062170e9 feature: implemented the 'ngx.crc32_short' and 'ngx.crc32_long' C FFI APIs.
50dabbc3a travis-ci: bumped OpenSSL versions to 1.0.2t, 1.1.0l, and 1.1.1d.
fd1e0f89e feat: config: added a check for Lua language version 5.1.
9b224957f doc: readme: minor updates to align with the ngx_stream_lua module README.
4c943b944 tests: 087-udp-socket.t: removed a duplicated test case.
70484bcbe tweaks: ported adjustments and missing test cases from the ngx_stream_lua module.
315330ac0 bugfix: config: ensured LuaJIT FFI check and static PCRE builds succeed on all platforms.
2a190736a change: removed error logging on coroutine runtime errors.
9a892b8d5 bugfix: coroutine.wrap: propagate errors to the parent coroutine.
c658e2260 tests: 139-ssl-cert.t: added test cases asserting support for 'ngx.thread.kill()' and 'ngx.socket.udp' in 'ssl_certificate_by_lua*'.
97f0101e5 feature: enabled the 'ngx.thread' and 'ngx.socket.udp' APIs in ssl_session_fetch_by_lua*.
97431d814 bugfix: fixed compilation with NGINX cores < 1.11.11
189ba24ef feature: when a timer fails to run we now log the location of its function's definition.
4b9e53f74 feature: ngx.pipe: allowed for calling resty.core 'ngx_pipe.shutdown()' on a sub-process when a light thread is waiting on it.
8573c1c5d feature: ngx.pipe: allowed for specifying timeouts in resty.core 'ngx_pipe.spawn()'.
d154e5a7c doc: readme: removed all mentions of PUC-Rio Lua and fixed styling and grammatical issues.
c5135a051 change: removed compatibility code for unsupported NGINX versions (< 1.6.0).
947fa0088 change: retired the old CFunction API when newer FFI implementations are available.
60736e686 change: 'resty.core' is now mandatorily loaded, and the 'lua_load_resty_core' directive is deprecated.
a96e99ab1 change: we now prevent compilation with PUC-Rio Lua; only LuaJIT 2.x is supported.
2f270642b bugfix: fixed file cache key size allocation.
6b3822b18 bugfix: added missing arguments to an 'ngx_log_error()' call in ngx_http_lua_pipe.c.
9fa316f50 tweak: updated the debug log in 'ngx_http_lua_socket_tcp_conn_op_ctx_cleanup()' to align with the meta_lua module.
ba182dd59 style: fixed some minor styling issues to align with the meta_lua module.
eed28fca8 optimize: fixed the pre-allocated number of keys in the 'ngx.socket.tcp' table.
6c25b7bea optimize: removed declaration of obsolete 'ngx_http_lua_inject_logby_ngx_api' function.
d313bf8de bugfix: ensured the 'pcre_version' symbol is also preserved on Darwin platforms.
c618d0d23 bugfix: fixed compilation errors encountered with ngx_stream_lua due to a recent commit.
881bf91da bugfix: ensured arguments of APIs mutating response headers do not contain '\r' and '\n' characters.
246ec8ac4 refactor: simplified Lua chunk and file cache key generation.
f45908cd3 refactor: reduced cache key size by removing unnecessary chunkname component.
bd83c656d tests: codecache.t: moved and reinforced a test case ensuring *by_lua directives with identical Lua chunks produce distinct cache keys.
0c755ed89 bugfix: ensured set_by_lua_file with nginx variables re-computes closures code cache key.
39c2ead3c optimize: improved code cache lookup performance by using 'luaL_ref()' to avoid the costly 'lj_str_new()'.
bf11f67d8 tests: codecache.t: added tests for code cache behavior with *_by_lua_file directives containing NGINX variables.
e42f9b5f6 doc: updated the section on OpenSSL and NGINX patches in the 'ssl_certificate_by_lua*' documentation.
09484e8fd bugfix: ensured 'init_worker_by_lua*' does not mutate another NGINX module's main_conf.
b6875300b doc: mentioned that we support NGINX 1.17.x.
cf77a42c4 doc: removed TODO items that have been taken care of.
de60e555a travis: added OpenSSL 1.1.1c to the tests matrix.
467f0134d tests: added tests asserting that 'ssl_certificate_by_lua*' and 'ssl_session_fetch_by_lua*' can yield when reading early data.
d3dbc0c81 bugfix: skipped 'ssl_session_store_by_lua*' and 'ssl_session_fetch_by_lua*' when using TLS 1.3.
2014dd80f bugfix: ensured the 'pcre_version' symbol is preserved as undefined when PCRE is statically linked.
277d382f5 api: bumped API version to 0.10.16.
2524330e5 travis-ci: bumped the NGINX core version to 1.17.1.
65bdd4a83 tests: 139-ssl-cert-by.t: downgraded error log level of SSL handshake failures from 'crit' to 'info'.
4e974ba96 doc: updated ssl_session_fetch_by_lua_block documentation around OpenSSL and NGINX core patches.
b0c737391 Revert "feature: added OpenSSL 1.1.1 support to ssl_session_fetch_by_lua*."
81344434a doc: fixed a mistake in ngx.location.capture() example in README.md.
32dd6a34a style: fixed a minor alignment issue in ngx_http_lua_ssl_certby.c.
59b6430f7 bugfix: LuaJIT sets currentline to -1 if it is unavailable.
a38d90667 feature: added OpenSSL 1.1.1 support to ssl_session_fetch_by_lua*.
3a5872969 travis-ci: bumped OpenSSL to 1.0.2s and 1.1.0k.
33a5517c9 tweak: fixed some warnings from the clang static code analyzer.
4102b82cd tests: 161-load-resty-core.t: added a test asserting the directive honors 'lua_package_path'.
1882c30a0 doc: we now work with nginx 1.14.x and 1.15.x.
a7afd56c6 feature: added support for specifying environment variables in ngx.pipe spawn() FFI API.
1c756b385 doc: fixed a mistake in tcpsock:receiveany() example in README.md.
30678fd5b tests: ssl-socket.t: fixed a failing test case due to openresty.org's default cipher.
441c7f626 tests: re-enabled a test case for using ngx.re.match in init_by_lua*.
28cf5ce3b feature: added the FFI API for 'str_replace_char()'.
f87d1f165 bugfix: ngx.pipe: cleared the pending event after aborting the uthread.
86941a706 tests: 123-lua-path.t: fixed a few test cases failing in EC2 to-ngx_lua suite.
7be0a4dc9 doc: fixed a typo in README.md.
61e4d0aac tests: fixed a few failing test cases due to loading resty.core.
fccf383ae tests: fixed default lua path to load resty.core from many test cases.
87f0a09a6 feat: implemented the lua_load_resty_core directive which loads resty.core by default.
7ac6f3f67 doc: fixed a typo in a comment from ngx_http_lua_common.h.
95a2e59bf tests: removed obsolete drizzle upstream block in init.t.
12d991e18 api: bumped API version to 0.10.15.
afeeb84b0 bugfix: ngx.pipe: fixed a segfault when error_log is configured with syslog.
2bc20ccb0 travis-ci: switch to xenial image
15b01c66f tests: fixed the tests using iscribblet.org which would time out now.
a92cf7255 tests: fixed failures due to recent CDN changes.
83ca6b57a doc: bumped version to 0.10.14.
ee47e55eb bugfix: ngx.pipe: proc:wait() returns false only when the sub-process exited abnormally.
c368af2f0 tests: 159-sa-restart.t: avoided sending SIGWINCH to the test nginx worker process.
761ddca72 bugfix: ensured we cleanup up aborted queued connect operations.
8edb21abc bugfix: only update connections count when cosockets are truly associated with the socket pool.
fd90f4e82 doc: one followup tweak.
4ebab2b8a doc: emphasized that this module is a core component of OpenResty.
cf887654a tests: switched to 127.0.0.2 instead of agentzh.org for timeout-related tests.
01735c27f tests: hardened a few flaky test cases from recent CI runs.
70dd0bee4 tests: fixed a test case in 068-socket-keepalive.t which always fails when a local dns server is running.
9750a8173 tests: fixed new test failure due to openresty.org server changes.
b2af4d369 bugfix: inlined Lua code snippets in nginx.conf failed to use the Lua source checksum as part of the Lua code cache key. thanks Oleg A. Mamontov for the report in #1428.
f627f4c54 tests: t/160-disable-init-by-lua.t: hardened test suite to prevent false positives.
055bb17c6 bugfix: fixed a segfault introduced in 7c2b58e when testing an nginx configuration containing 'lua_shared_dict' directive(s).
aef03eb33 feature: added the C API to support the 'ngx.pipe' module provided by lua-resty-core.
2c8984934 travis: bumped the nginx core version to 1.15.8.
bd9964e7f tests: fixed some test cases failing with the 1.15.8 nginx core.
c2940c132 feature: added backlog queueing to cosocket connection pools.
2fb8f120c feature: added support for the Nginx builtin Link header.
248060b81 feature: errors are now logged when timers fail to run.
7c2b58ee7 change: we now avoid running init_by_lua* in signaller processes and when testing the nginx configuration.
e76292dee tests: reindexed the t/158-global-var.t suite.
fbb891930 change: we now avoid generating the Content-Type response header when getting all response headers.
cec2a09de bugfix: ensured Content-Type header gets generated when other headers get set.
637a4c645 doc: updated the copyright year to 2019.
017e00462 bugfix: we now avoid generating a Content-Type header when getting/setting other response headers.
ab2e2718b tests: updated the test suite so that it can be run in parallel mode.
5d924cc63 tests: require: hardened lua_path and lua_cpath regexes.
f63af5dc0 travis-ci: upgraded openssl to 1.0.2q and 1.1.0j.
11a31b540 tests: increased the timeouts of some ssl cosocket tests.
ec0d5768b doc: noted that ngx.req.get_method can be used in the body_filter_by_lua* and log_by_lua* phases.
60225ad19 bugfix: the lightuserdata mask was broken in WIN64.
b4ade7887 bugfix: we now only apply the lightuserdata mask on platforms that are at least 64bits.
1c72f57ce feature: added an FFI API for retrieving env 'directives' values.
2f7c65009 feature: implemented a new 'lua_sa_restart' directive, which sets the SA_RESTART flag on nginx workers signal dispositions.
c65f5738a bugfix: the 'dd' calls in ngx_http_lua_util.h are now guarded by '#ifdef DDEBUG' .
3754757be change: we now print an alert when a non openresty-specific version of LuaJIT is detected since many optimizations would be missing.
1a73e0ab7 doc: ported the Lua 5.1 interpreter removal to the wiki document.
08a9baa92 bugfix: ngx.process: process.type() didn't return 'master' in master process.
09a365460 tests: declared many variables as local to avoid triggering the new _G write guard.
5efd95d79 doc: updated the docs to reflect the change that we now no longer support the standard Lua 5.1 interpreter in this module. also recommended OpenResty's LuaJIT branch version instead of the stock LuaJIT.
c9eca03eb misc: updated _G write guard message to be more accurate.
84338ab85 typo: fixed a debug log in access and rewrite handlers.
ebfa66ceb misc: rename a test file to be properly ordered.
d067594ca bugfix: silenced -Wcast-function-type warnings.
728681211 feature: added support for ARM64 (Aarch64).
f64ec8c90 bugfix: tcpsock:setkeepalive: worker processes might take too long to gracefully shut down when the keep alive connections take a long max idle time.
e94f2e5d6 bugfix: fixed segfault in NGINX core >= 1.15.0 when init_worker_by_lua* is used.
576a10d24 doc: mention that ngx.req.set_body_data() and ngx.req.set_body_file() must read the request body.
8ba33dac0 optimize: removed a duplicated include directive in ngx_http_lua_regex.c.
55743aeba bugfix: when variable is cacheable and indexed, setting the request "Host" header should clear any existing cached $host variable value so that subsequent reads return the expected result.
70b843f82 tests: upgraded openssl version to 1.1.0h.
6bbfffdec tests: we failed to enable master process when configuring multiple workers.
9112536b1 api: bumped API version to 0.10.14.
b5ffb11fe feature: implemented the receiveany() upstream cosocket method.
5a3c48d23 doc: fixed the links to ssl_session_store_by_lua_block.
15e93a11e restored the change in commit 4ff3dd14ed since it only changed the auto-generated README.markdown. alas.
612931c0f doc: bumped version to 0.10.13.
0605709c3 bugfix: fixed compatibility regressions on Win32. this regression had appeared in commit 012f3163e.
f341daa26 api: bumped API version to 1.10.13.
52af63a5b feature: ngx.req.get_post_args(), ngx.req.get_uri_args(), ngx.req.get_headers(), ngx.resp.get_headers(), and ngx.decode_args() now would return an error string, "truncated", when the input exceeds the max_args/max_headers limits.
19cc6bf8f tests: fixed a test case that cannot be run in parallel test jobs.
4ff3dd14e doc: fix the link to ngx.ocsp's docs.
288ebdb93 doc: bumped version to 0.10.12.
91a0ad236 optimize: switched exptime argument type to 'long' in the shdict FFI API to mitigate potential overflows.
5196e6551 tests: remove google.com relevant ssl certificate test cases.
9ea1c06a6 feature: ngx_http_lua_ffi_set_resp_header(): now add an override flag argument to control whether to override existing resp headers.
53519cd7a feature: allowed sending boolean and nil values in cosockets.
6d4475ae3 tests: increased timeouts to avoid failing in mockagain writing test mode.
809192c96 feature: api.h: exposed the ngx_http_lua_ffi_str_t type for other Nginx C modules.
23e69fb20 bugfix: ngx_http_lua_ffi_ssl_set_serialized_session(): avoided memory leak when calling it repeatly.
5cd103b1f optimize: avoided the string copy in ngx_http_lua_ffi_req_get_method_name().
80fa32c8d feature: added support for the 308 status code in ngx.redirect().
439a02ab9 typo: fixed an error message typo in set_der_priv_key().
bb76eb123 change: switched to SSL_version() calls from TLS1_get_version().
feae6e775 doc: mentioned that OpenResty includes its own version of LuaJIT which is specifically optmized and enhanced for OpenResty.
3cde1d8aa doc: fixed some code comment typo.
a698cb098 doc: updated the NDK repo URL to github.com/simplresty.
3078ca613 bugfix: we now throw a Lua exception when ngx.location.capture* Lua API is used inside an HTTP2 request since it is known to lead to hanging.
df1b0198f optimize: corrected the initial table size of req socket objects.
988756924 tests: removed duplicate entries in valgrind.supress.
00b92b3d0 style: fixed minor coding style issues found by ngx-releng.
fcd0deaff ssl: support enabling TLSv1.3 via lua_ssl_protocols.
9e5cc6e23 bugfix: nginx rewrite directive may initiate internal redirects without clearing any module ctx and rewrite_by_lua* handlers might think it was re-entered and thus it might lead to request hang. thanks twistedfall for the report in #1235.
90d752234 doc: added the new 'init_ttl' argument to the shdict:incr() documentation.
a46862afe doc: updated the copyright years in markdown as well.
11aa4636b bugfix: avoided sharing the same code object for identical Lua inlined code chunks in different phases due to chunk name conflicts.
e343b3a14 tests: updated valgrind.suppress for latest glibc.
c2b6ae2ae doc: updated the copyright years.
d125123f8 tests: updated more uses of the server IP addr for agentzh.org to reflect recent changes.
051f35240 doc: setting ngx.header.HEADER no longer throws out an exception when the header is already sent out; it now just logs an error message.
9a3bbb6f2 tests: updated the server IP for agentzh.org to reflect recent changes.
071bb0ff6 doc: typo fix: fix core constants "NGX_XX" to "ngx.XX".
468403e37 feature: added the "init_ttl" argument to the pure C function for the shdict:incr() API.
5f6e74061 feature: added pure C APIs for the remaining time related Lua APIs (for lua-resyt-core).
6d0ecd617 doc: typo fix: fix "\d+" to [[\d+]].
cf5fb9823 tests: corrected the No SNI, No verify case in 129-ssl-socket.t.
01b314522 travis-ci: enabled openssl-1.1.0g builds.
7c8c50300 bugfix: fixed compatibility with older OpenSSL versions like 0.9.8 and 0.9.7. this regression had appeared in commit 7f108923b.
858753bb0 travis: upgraded pcre to 8.41 and openssl to 1.0.2n.
7f108923b feature: added support for OpenSSL 1.1.0.
e51a4739a doc: typo fix: fix constrolled to controlled.
34d929857 bugfix: ngx.req.raw_header(): the first part of the header would be discarded when using single LF as delimiter and the number of headers is large enough.
c2f68a48e style: minor coding style fixes suggested by our ngx-releng tool.
99a5ba212 feature: added a pure C API function ngx_http_lua_ffi_raw_log for ngx.errlog module's rawlog() function in the lua-resty-core library.
51b7d649a feature: added pure C API function ngx_http_lua_ffi_master_pid() for the get_master_pid() Lua FFI API in ngx.process of lua-resty-core.
20ffd853e feature: implemented pure C function for the pure FFI version of the ngx.get_phase() API function in lua-resty-core.
b1b1504ac tests: fixed broken SSL tests due to switch in CA for openresty.org.
d6aa6ea1c tests: fixed typos in test tiles in t/124-init-worker.t.
81e140c59 bugfix: pure C API for ngx.var assignment: we failed to output the error message length.
18b5de576 bugfix: the upper bound of port ranges should be 65535 instead of 65536.
9de3dc7ef tests: updated the expected debugging log message for freeing cosocket connection pools.
de3b7def1 feature: added pure C API for fetching client address in the SSL handshake phase.
4577a6fbc bugfix: freed all connections when cleaning up socket pools.
4e1a9e1d4 tests: relaxed the checks to account for timing races in error logs from multiple cache helper processes.
927961250 bugfix: use of lua-resty-core's ngx.re API in init_by_lua* might lead to memory issues during nginx HUP reload when no lua_shared_dict directives are used and the regex cache is enabled.
012f3163e optimize: destroy the Lua VM and avoid running any init_worker_by_lua* code inside cache helper processes.
7c7b2e0b1 api: bumped version to 0.10.12.
91d2cd61a bugfix: fixed a compilation error with nginx cores older than 1.11.2 due the lack of the ngx_inet_get_port() C API function (which was first added to nginx 1.11.2). thanks sumantdas for the report.
4f76a377e feature: logged the tcp cosocket's remote end address when connect() times out and lua_socket_log_errors is on.
54135a03e travis: always find out the external IP address of the current travis ci node to help debugging network issues.
7dc97df41 change: fixed a typo in a comment in ngx_http_lua_rewriteby.c.
b2aae31a8 tests: use larger timeout threshold values for more openresty.org ssl tests.
3eb1d2f64 tests: use longer timeout threshold.
8af77d3ca doc: we should also work with nginx 1.12.x.
ba2b60593 doc: we now work with nginx cores as new as 1.13.6.
ed2c9f8e4 release 0.10.11.
c6089171d tests: added full GC cycle operations to avoid false positives in the "check leak" test mode.
4b871b45e tests: made one stap-based test case less possible to fail due to timing error.
38780280c updated valgrind suppressions for the hv test mode.
5f766faf0 tests: added new valgrind false positives in the latest nginx core.
fd5201c57 tests: valgrind.suppress: removed too aggressive suppressions in nginx mem pools and luajit lj_str_new.
201f7c051 travis: bumped nginx core version to 1.13.6.
7730490c1 dev: util/build.sh: now we require ngx_stream_lua_module to build (for testing and development).
56d309881 bugfix: add fallthrough comment to silence GCC 7's -Wimplicit-fallthrough.
5900df4a6 doc: added "413 Request Entity Too Large" to the possible short circuit response list.
8dd4bdef6 doc: fixed strike-through in shdict.free_space.
f829065b7 feature: shdict: added pure C API for getting free page size and total capacity for lua-resty-core.
59dff5eec tests: suppressed one more false positive.
97fbeb0be bugfix: the ssl connections might be drained and reused prematurely when ssl_certificate_by_lua* or ssl_session_fetch_by_lua* were used. this might lead to segmentation faults under load. thanks guanglinlv for the report and the original patch in #1162.
bf14723e4 tests: fixed a test case that might fail due to timing errors.
0c8df2fa6 Revert "tests: try to make a test case less possible to fail on slow machines."
e5d7fc9fd tests: try to make a test case less possible to fail on slow machines.
93d1f30c3 bugfix: a followup fix for the previous commit.
afbfe4cf7 bugfix: the timeout overflow checks did not work on 32-bit systems.
aee660bdf bugfix: suppressed the gcc warning "comparison between signed and unsigned integer expressions".
4bbf39928 travis-ci: fixed the IPC::Run dep for Test::Nginx and also added nginx 1.13.5 to the matrix.
3266b40c7 doc: typo fix from dongbeiouba in #1158.
1d01a6d66 doc: documented the shdict:ttl() and shdict:expire() API functions.
37cbafe4e tests: minor tweaks for the http2 test mode.
9a81a6864 feature: added pure C functions for shdict:ttl() and shdict:expire() API functions.
c338c7b3f api: bumped version to 0.10.11.
ac7615a28 dev: util/build.sh: specify --with-pcre-jit for the nginx build.
837cecb64 tests: fixed ssl ciphers to reflect recent changes in openresty.org's mini CDN network.
1626aaa78 bugfix: *_by_lua_block might break nginx config dump (-T switch).
c97473b5e bugfix: segmentation faults might happen when pipelined http requests are used in the downsteram connection. thanks Gao Yan for the report.
36d6ef406 bugfix: tcpsock:connect(): when the nginx resolver's send() immediately fails without yielding, we didn't clean up the coroutine ctx state properly.
77a285163 bugfix: tcpsock: settimeout/settimeouts: throw an error when the timeout argument values overflow.
3fc5aea08 doc: simplified a Lua function call a bit.
aee499ac2 doc: minor fixes.
e96aec767 doc: fixed the stale Lua module preloading docs as reminded by Denis.
b87ad242d tests: skipped a test case which is known to leak memory when lua_code_cache is off.
e9609d25c valgrind: suppressed a known false positive inside the nginx core.
cdd2ae921 bumped version to 0.10.10.
7b7178a95 bugfix: fixed a compilation error on Windows. this regression had appeaered in 0.10.9.
89de78022 doc: bumped version to 0.10.9.
82b218871 tests: made 2 test cases less possible to fail on slower machines.
691370ec2 Revert "bugfix: ngx.escape_uri: we did not escape URI reserved chars. #1124"
f17050518 bugfix: ngx.escape_uri: we did not escape URI reserved chars. #1124
0f0af5094 doc: fixed a typo in a code example for `ngx.re.match`.
51c14a898 bugfix: segmentation fault might happen when a stale read event happens after the downstream cosocket object is closed. thanks Dejiang Zhu for the report.
2fd469d46 refactor: removed the duplicate C function decelaration for ngx_http_lua_socket_read_handler.
c26854856 tests: added a test case to make sure $proxy_add_x_forwarded_for is accessible on the Lua land.
1e71ff2cb tests: fixed the vim mode line in a test file.
a50947667 bugfix: ngx.semaphore: when nginx workers exit, the harmless error message "semaphore gc wait queue is not empty" might be logged.
cc0a793a2 ocsp: removed a useless line of code, which unbreak the libressl build. thanks Kyra Zimmer for the original patch.
ef4a0b1db tests: skipped the test case for lua_code_cache off + ngx.timer.every in the "check leak" test mode since there is a known memory leak in this case.
720bd5dbb bugfix: the fake requests/connections might leak when memory allocations fail.
c372e1cc0 optimize: made ngx_http_lua_log_ringbuf_header_t have the same size on linux i386 and x64.
67664fef0 minor coding style fixes.
e84d69b26 tests: made a slow test less possible to time out on slow machines.
81b8e4823 tests: made a test less possible to fail due to timing error.
4527ec0bb tests: relaxed the expected ouptut constraint in tests for testing ssl host name mismatch.
8827a7f83 bugfix: segmentation fault would occur when several server {} blocks listen on the same port or unix domain socket file path *and* some of them are using ssl_certificate_by_lua* configurations while some are not. thanks petrovich-ua for the report and original patch in #1055.
bb30f6d8b bugfix: ngx.escape_uri() did not escape "|", ",", "$", "@", and "`".
3294b1dfd bugfix: ngx.encode_args() did not escape "|", ",", "$", "@", and "`".
66f073128 bugfix: fixed several bugs in ngx_http_lua_log_ringbuf.c.
20d6558b0 feature: balancer_by_lua*: now the user Lua code can terminate the current request with arbitrary HTTP response status codes via ngx.exit().
df708216c feature: errlog capture: now we also record the UNIX timestamp (in sec with msec precision through the decimal part) for each error log entry.
031e00004 doc: use the .ljbc file extension instead of .luac for LuaJIT bytecode files.
9cb970978 tests: updated tests on ssl cosockets to reflect recent changes in our CDN network.
6f49242a8 fixed tests to reflect recent changes.
2360565f5 doc: fixed some typos detected by misspell.
69d995513 bugfix: the running timer counter might go out of sync when non-timer handlers using fake requests are involved (like ssl_certficate_by_lua* and ssl_session_fetch_by_lua*).
7a8798437 feature: added pure C API function +ngx_http_lua_ffi_errlog_get_sys_filter_level for ngx.errlog module's get_sys_filter_level() function in the lua-resty-core library.
e80d29257 tests: ssl: avoided those domains using startcom ssl certificates.
993aec8eb refactor: removed the obsolete util/gdbinit script script. we have much better tools in openresty-gdb-utils already.
0c2979399 doc: made it explicit that shdict methods are all atomic.
c1317e412 travis-ci: we no longer want to cover nginx 1.9.15.
2dd44623d feature: ngx.sleep(0) now always yield the control to the nginx event loop.
9b16e254e feature: implemented the ngx.timer.every() API function for creating recurring timers.
2a8770493 feature: added new pure C API ngx_http_lua_ffi_process_signal_graceful_exit() for the signal_graceful_exit() function of the ngx.process module in lua-resty-core.
76e213897 change: renamed the C API function ngx_http_lua_ffi_errlog_get_logs to ngx_http_lua_ffi_errlog_get_msg.
eb0bb2853 lua_capture_error_log: various documentation fixes and API name changes.
ab63ba8df change: renamed lua_intercept_error_log directive to lua_capture_error_log.
4ed1f9605 doc: added more material on capturing error log filtering.
8d8f2c24a doc: documented the lua_intercept_error_log directive.
1a5a33e61 feature: added new config directive lua_intercept_error_log for capturing nginx error logs on Lua land.
6a2b4ff55 doc: a typo fix from Oleg Abrosimov.
edbded405 change: bumped API version to 0.10.9.
23cb8e832 travis-ci: enable -msse4.2 when building luajit2.
b98da9a19 feature: added pure C functions ngx_http_lua_ffi_worker_type() & ngx_http_lua_ffi_worker_privileged().
f5633cacc feature: added pure C API for tuning the jit_stack_size option in PCRE.
c03462637 change: removed util/reindex. put it into the openresty/openresty-devel-utils repo instead.
ca8ed0e8c doc: minor tweaks.
39bec7f40 doc: minor tweaks.
6c7ac361f doc: more tweaks in the Installation section.
c7d9691e5 doc: more tweaks in the Installation section.
398db9517 doc: more fixes in the Installation section for OpenResty.
55f91d782 doc: updated the Installation section to reflect recent changes.
e39e44291 bugfix: fixed typos in error messages.
0459a285c feature: nginx 1.11.11+ can now build with this module.
4b7249342 tests: added passing test cases for testing Lua errors thrown in init_by_lua*.
975c3f838 bumped version to 0.10.8.
385ae4cd1 tests: a followup fix for the previous commit (2ba183d3).
2ba183d3c tests: made a test for duplex cosockets less sensitive to timing error.
94248d64e tests: added valgrind suppression rules for false positives in nginx 1.11.11+ and pcre 3.40+'s JIT compiler.
844e842cb change: removed the use of luaL_getn() macro as it is no longer available in the latest LuaJIT v2.1. fixes #1029.
113d13809 bugfix: lacking the fix from #936 in the C API for lua-resty-core. #1031
6b01840dc change: disabled the mmap(sbrk(0)) memory trick since glibc leaks memory when it is forced to use mmap to fulfill malloc().
743a10ab0 travis-ci: avoided installing the Test::Nginx perl module; just use it right away.
312bf3ed1 tests: avoided flooding google dns servers in the check leak test mode.
8a6448a39 travis-ci: upgraded pcre to 8.40.
38dd154a7 doc: ngx.exit() also returns immediately in the balancer_by_lua* context. thanks Jinhua Tan for the patch in #1012.
2fd7daa69 bugfix: typo fix in C POST args handler debug log.
fdbfdaecf semaphore: fixed a typo in a code comment.
e86dd9662 doc: added more hints as comments to installation commands.
11495c28a util/reindex: tweaked the regex to avoid useless substitutions. this is a followup fix for commit 772e6fd.
3217a0781 util/reindex: fixed the shebang line.
2e7031f01 util/reindex: fixed the author and copyright notice.
772e6fdaa tests: removed superfluous empty lines at the end of the test files.
32fea9e66 util/reindex: trims the extra newline characters at the end of the test file.
7f9387ced doc: fixed a typo.
a14b9cd37 doc: various wording tweaks and more code examples.
e73cd4b90 tweak: guarded SSL related function declarations with the macro NGX_HTTP_SSL.
4fb510f5f fixed a function parameter name.
e958cb2ca tests: fixed a bug in testing the nullness of cdata pointers.
827a5d6f8 feature: fixed build compatibility with BoringSSL.
5ae4aba83 travis-ci: upgraded openssl to 1.0.2k.
1028333e4 travis-ci: added checks for use of tabs and source lines exceeding 80 cols.
0c3706298 fixed a coding style issue in the previous commit.
5c54198a3 bugfix: tcp cosockets: sslhandshake(): typo in the error message.
1ada6d0e5 tests: require PCRE 8.39 instead of 8.33 to run our test suite.
39783100f feature: tcpsock:connect(): allows the options_table argument being nil.
5fdbb56ad bugfix: setting response headers would change the Content-Type response header.
b3c872e12 added a passing test for #853.
da11870db bugfix: balancer_by_lua*: the number of retres might exceed the limit of proxy_next_upstream_tries or alike.
5028d6353 doc: updated copyright notice.
3cf706236 travis-ci: cosmetic "wget" improvement.
e7031127e feature: added support for the 303 status code in ngx.redirect().
6e38c11eb tests: disable IPv6 in resolver.
9ed76a732 travis-ci: several improvements.
26be99def tests: t/090-log-socket-errors.t: avoided connecting to 8.8.8.8:80.
7c9503493 tests: added a passing test for ngx.re.find + \G regexes.
db28ece8e doc: a typo fix from Andrei Belov.
aa43ca063 doc: stripped line trailing whitespaces.
793531df5 doc: removed ngx.re.split() from TODO section since it is already implemented in ngx.re.
5e59e8c89 bugfix: compilation failures with nginx cores older than 1.9.0.
4bc904222 tests: fixed a perl warning "Unescaped left brace in regex is deprecated, passed through in regex".
a24db2cb9 tests: ngx_http_fake_module: removed the coyyright notice since the copyright is already granted.
38dfb174a tests: fixed a bug in the example ngx_fake_delayed module. thanks Dejiang Zhu. also removed the copyright notice in this module since it is already granted.
0a83639f1 tests: avoided solving IPv6 addresses in more tests.
3b42b8bb8 tests: avoided solving IPv6 addresses.
0a1de31ff bugfix: C API: ngx_http_lua_add_package_preload() might not take effect when lua_code_cache is off.
ce525fb50 tests: made tests less likely to fail due to bad network.
75b03949c doc: added a note about the LRU regex cache used in the ngx.re.* implementation of lua-resty-core.
006432488 doc: bumped version to 0.10.7.
3cbe5be4a tests: skipped the newly added test case that cannot run in check leak test mode.
7bd68906b doc: log level constants are also available in init_by_lua* and init_worker_by_lua* contexts.
ea92f7ea8 doc: documented the support of 307 status argument value in ngx.redirect.
5134a9c82 bugfix: segmentation faults might happen when ngx.exec() was fed with unsafe URIs (#905)
397f3663e bugfix: ngx.req.set_header: skips setting multi-value headers for bad requests to avoid segfaults.
37e536208 change: ssl_session_fetch_by_lua* and ssl_session_store_by_lua* are now only allowed in the http {} context.
cf0623c64 tests: 147-tcp-socket-timeouts.t was failing in mockeagain read/write test modes.
521d802aa tests: updated a shdict test case for i386 to reflect our recent optimizations in shdict storage layout.
6b2c9a3bf tests: updated the IP address of our own test server.
73bd64dbc feature: added public C API for 3rd-party NGINX C modules to register their own shm-based data structures for the Lua land usage (that is, to create custom siblings to lua_shared_dict).
40b61f40b doc: fixed the version number since which settimeouts() was first introduced.
28df10b16 feature: added a new api function tcpsock:settimeouts(connect_timeout, send_timeout, read_timeout).
66405877d bumped the API version to 0.10.7; also documented that lua_malloc_trim was first introduced in ngx_lua 0.10.7.
1173cc7c9 feature: added new config directive "lua_malloc_trim N" to periodically call malloc_trim(1) every N requests when malloc_trim() is available.
91fc078c4 doc: use *_by_lua_block {} in the examples.
74bad01b2 travis-ci: cache openssl-1.0.2h-sess_set_get_cb_yield.patch
f7a0d58a4 travis-ci: upgraded openssl to 1.0.2j
5c491a59c travis-ci: add nginx-1.11.2 (supported by openresty)
d26ca9052 fixed a hard-coded IP address in a test case.
da08f59ae optimize: optimized the shdict node struct memory layout which can save 8 bytes for every key-value pair on 64-bit systems, for example.
3bd4227ce made a resolver test case more tolerante.
7ecba5377 travis-ci: use openssl 1.0.2i.
61621e0d3 doc: fixed the link to qa.openresty.org.
8bfa895c3 fixed a code comment.
d52116753 doc: fixed a typo.
92d188425 doc: documented how to easily test the ssl_session_fetch_by_lua* and ssl_session_store_by_lua* locally with a modern web browser.
7d242ff79 doc: bumped version to 0.10.6.
4b8f26285 bugfix: *_by_lua_file: did not support absolute file paths on non-UNIX systems like Win32. thanks Someguynamedpie for the report and the original patch in #835.
d802dbd87 tests: fixed more shdict list test cases that could fail on i386.
8d0ca5881 tests: fixed a shdict list test case that failed on i386.
8f1608495 tests: wait longer for CPU-intensive test cases for shdict lists for valgrind test mode.
addfb0a80 bugfix: shdict lists: fixed new compilation warnings from the Microsoft C compiler. thanks itpp16 for the report in #836.
5dcf4e19e travis-ci: removed the env LUA_CMODULE_DIR=/lib which caused problems.
f0687d94c doc: typo fix from Shuxin Yang.
65ccb5644 bugfix: ngx.exit() did not work at all in ssl_session_fetch_by_lua* and ssl_session_store_by_lua* when the FFI API is used (e.g., via lua-resty-core).
1de58835a feature: added new shdict methods: lpush, lpop, rpush, rpop, llen for manipulating list-typed values.
d6258dae4 bugfix: build would fail when the http ssl module is disabled.
ac89f23f5 travis-ci: disables caching the drizzle7 tarball.
f714417ab Merge pull request #829 from doujiang24/doc
aad493987 doc: sync the change from README.markdown to wiki
c5ada9947 doc: ngx.worker.count() is available in the init_worker_by_lua* context.
b9bd8028f feature: shdict:incr(): added the optional "init" argument to allow intializing nonexistent keys with an initial value.
dbb48e33a bugfix: segmentation fault might happen in ssl_session_fetch_by_lua*, caught by the clang static analyzer.
5b2e1d20e tests: fixed a typo in the t/143-ssl-session-fetch.t test file.
5bcc53cab feature: implemented ssl_session_fetch_by_lua* and ssl_session_store_by_lua* config directives for doing (distributed) caching of SSL sessions (via SSL session IDs) for downstream connections.
a5ac9fa2e bugfix: fake connections did not carry a proper connection number. thanks Piotr Sikora for the patch.
b4609c10f bugfix: ngx_http_lua_ffi_ssl_create_ocsp_request: we did not clear the openssl stack errors in the right place.
3f4eba7aa skipped check leak mode for two test cases using malformed requests.
7c69ccdf7 renamed macro HAVE_UPSTREAM_TIMEOUT_FIELDS to HAVE_NGX_UPSTREAM_TIMEOUT_FIELDS.
e90e0c1dd bugfix: ngx.sha1_bin() was always disabled with nginx 1.11.2+ due to incompatible changes in nginx 1.11.2+. thanks manwe for the report in #819.
522d2d58c tests: 070-sha1.t: checks error messages in nginx error logs.
8a4328a3e feature: added pure C API for setting upstream request connect/send/read timeouts in balancer_by_lua* on a per session basis. thanks Jianhao Dai for the original patch.
347bb2fba added the PULL_REQUEST_TEMPLATE file.
83c07bd22 minor fixes in ISSUE_TEMPLATE.
d51903995 tests: added a passing test case for github #816 where ngx.log() is used in balancer_by_lua*.
93f9f6036 feature: allow tcpsock:setkeepalive() to receive nil args.
a27c11f9f travis-ci: moved package management under travis-ci "apt" plugin, also cached apt packages.
349ad466e feature: ssl: add FFI functions to parse certs and private keys to cdata.
b63ccaf31 bugfix: "lua_check_client_abort on" broke HTTP/2 requests.
473f7fa28 doc: documented that ngx.req.raw_header() does not work in HTTP/2 requests.
177946446 removed the obsolete Changes file.
d14871950 spelling corrections found via github.com/client9/misspell
8e6456e56 bugfix: specifying the C macro NGX_LUA_NO_FFI_API broke the build. thanks jsopenrb for the report in #802.
b092aa675 bumped the API version to 0.10.6.
e7f6de01a bugfix: segfaults might happen when calling ngx.log() in ssl_certificate_by_lua* and error_log was configured with syslog. thanks Jonathan Serafini and Greg Karékinian for the report in #723.
6fb8a0e99 bugfix: fixed a typo in the error handling of the SSL_get_ex_new_index() call for our ssl ctx index. thanks Jie Chen for the report in #798.
cb0923041 fixed various spelling errors in docs, source code, and tests.
ff7e6a7a3 bugfix: fixed crashes in ngx.req.raw_header() for HTTP/2 requests.
bcecaa07e tests: added a regression test for buffer split in block parsing (#687)
e21d9b55e bugfix: when the nginx core does not properly initialize r->headers_in.headers (due to 400 bad requests and etc), more_set_input_headers might lead to crashes. thanks Marcin Teodorczyk for the report.
3010caded added an issue template for github.
1d3d441dc doc: bumped version to 0.10.5.
3b4a96363 bugfix: ngx.flush(true) calls right after ngx.send_header() was broken due to the previous commit.
547c961ef bugfix: ngx.flush() might lead to the "zero-size buf" alerts when ngx.print("") was called before. this regression had appeared in the previous commit.
53e78f5df bugfix: ngx.print("") did not trigger response header sending.
be133bca5 bumped the API version to 0.10.5.
5de1b1fac bugfix: use of ssl_certificate_by_lua* in the http {} scope might lead to process crashes. thanks Andreas Lubbe for the report in openresty/lua-resty-core#42.
d4f71ad08 doc: bumped version to 0.10.4.
69818f459 bumped the API version to 0.10.4.
816be0073 bugfix: only do the mmap(sbrk(0)) trick on Linux since it may cause problems on other operating systems.
c7d5cbdf4 travis-ci: various improvements.
b38aefeb7 travis-ci: enables clang builds. thanks Ilya Shipitsin for the patch in #769.
6b8b06060 release 0.10.3.
9f319e956 travis-ci: supress some unuseful output.
91c429a6d travis-ci: cache pcre-8.33 downloads and make sure we "exit 1" on any build failure.
61e2d3a49 travis-ci: use dig to warm-up the DNS servers a bit before testing.
dce236188 feature: added Travis CI support. thanks Ilya Shipitsin for the patch in #766.
c0efcd3bd fixed a udp test case.
54719b6f7 doc: util/build2.sh is now util/build.sh. thanks Ilya Shipitsin for the patch in #766.
c92e71bfe doc: updated the directive execution order diagram. thanks Emil Stolarsky again.
c28e17221 util/build.sh: use nginx's builtin ngx_http_auth_request module instead. thanks Ilya Shipitsin for the report in #765.
7352fe869 doc: added diagram of the order of directive execution to README. thanks Emil Stolarsky for the contribution.
e7cdb4efd made a shdict test case less likely to fail in slow testing modes.
22566ed9b bugfix: ngx.exit() could not be used in the context of balancer_by_lua* when lua-resty-core was used.
7e6445ef8 bugfix: a follow-up fix for commit 93321acd in the FFI implementation of ngx.status.
70f708071 bugfix: *_by_lua_block: fixed Lua long bracket parsing at buffer boundaries. thanks Maxim Ivanov and Tom Thorogood for the report in #762.
7886a0810 style: fixed lines exceeding 80 cols.
37b476578 fixed a test case.
a6b960fe0 refactorings in the semaphore implementation.
9a96f9e85 adjusted the test case for ngx.worker.id() for slow testing modes like valgrind.
0b2093d2b removed useless nginx logs from the nginx fake module in the test suite.
97a6a169a made the test case for ngx.worker.id() more reasonable.
766cde61c tests: made a test less possible to get timed out on resolvers.
a0ed1bf29 bugfix: ngx.req.append_body() might enter infinite loops when ngx.req.init_body() has not specified a buffer size and the request header Content-Length is 0 (or client_body_buffer_size is configured to 0).
cda5f872c bugfix: ngx.re.match: the 5th argument hid the 4th one. thanks iorichina for the report in #719 and rako9000 for the original patch in #727.
ebb648c19 try harder to get the ngx.worker.id() test pass. alas.
b90d7ad01 bugfix: wait a bit longer in the test case for ngx.worker.id().
1967998b0 further tweaks in the test case for ngx.worker.id(). alas.
64499675d tests: ensured all the helper workers are indeed run in the test case for ngx.worker.id().
05ffc6e9d tests: wait a bit longer for helper processes to start up in the worker.id() test case.
a6e4e4583 ngx.worker.id() should still return something when the master process is off.
92d2d44ac simplified the test case in commit 57d034f.
c9b02aa19 tests: avoided a memory leak in the test case itself.
57d034f89 bugfix: ngx.worker.id() should return nil in non-worker processes like nginx's cache managers.
8ec587aa7 tests: skip tests using local IPv6 addresses if it is not supported.
0fddb590b feature: now we try limiting the growth of the data segment of the nginx processes to preserve as much lowest address space for LuaJIT as possible. thanks Shuxin Yang for the help.
51d63b41c fixed dtrace static probes for systems other than Linux.
b60f53f97 bugfix: fixed a memory leak in ssl.cert_pem_to_der(), caught by valgrind.
6683a8b25 refactor: simplifies the fix in commit 473926654a.
df5bf1d62 bugfix: ignore unexpected closing long-brackets in '*_by_lua_block' directives.
e6771593b minor coding style fixes.
473926654 bugfix: changing peers in balancer_by_lua* might lead to stale values of $upstream_addr.
559243b2c bugfix: clear errors in pem_to_der functions to avoid flooding nginx error logs (#695).
b88ed7fb5 bugfix: ssl: clear stacked errors in some of our Lua APIs to avoid flooding nginx error logs.
1d9b530f7 removed a useless assignment in the timer impl caught by cppcheck and reported by Ilya Shipitsin in #745.
b0fbce322 bugfix: sslhandshake() accepts up to 5 arguments now (including the object itself).
256a59c36 added a test case for the previous commit.
99866b50d bugfix: cosocket: sslhandshake() did not correctly check argument count.
d44f8e04d Merge pull request #725 from ctrochalakis/typo-fixes
a67957d07 Typo fixes
93321acd0 bugfix: assignment to ngx.status might not affect subsequent ngx.status reads when error_page had already taken place. thanks wangwei4514 for the report.
21231a443 bumped API version to 0.10.3.
92c6b8d42 bugfix: init_worker_by_lua* did not honor http {} top-level configurations like lua_ssl_verify_depth and lua_ssl_trusted_certificate. thanks Vladimir Shaykovskiy for the report in #709.
3d61bf4ed doc: bumped version to 0.10.2.
b68d7b4bd bugfix: fixed compilation warnings when http ssl module is disabled in the nginx build. this regression had appeared in commit c226a00567.
a22a40984 doc: release 0.10.1.
bf339b0f6 Merge pull request #699 from othree/patch/readme-typo
493eaa784 Fix conf sample syntax error in README
c226a0056 bugfix: balancer_by_lua* might crash the nginx worker when SSL (https) is used for upstream connections. thanks Alistair Wooldrige for the report in #696.
e9b437160 minor doc updates.
60ebb5c00 bugfix: hot loop might happen when balancer_by_lua was used with the "keepalive" directive. thanks GhostZch for the report in #693.
6a422b6a4 fixed a test formatting issue.
fe96cf835 ngx.req.get_post_args: return error message instead of raising an exception when request body is in temp file.
78426ffa6 bugfix: fixed the compiler warning "unused variable" when compiling with nginx cores older than 1.7.5 (exclusive). thanks Marc Neudert for the patch in #684.
4b063c93d Merge pull request #683 from thibaultCha/docs/get-phase-balancer
9c603e3ff docs: add get_phase() result in "balancer" context
c6c905d8a tests: added a (passing) test case proposed by Mathew Heard in #681.
2aa42d572 tests: added passing tests for using ngx.worker.count() in the context of init_by_lua*.
5231d5fb6 doc: updated the markdown version accordingly.
d2cedd838 doc: updated the TODO list to reflect recent changes.
20f2e889a tests: increased the waiting time of a test case.
b1a326eed bugfix: fixed compilation errors with LibreSSL by disabling ssl_certificiate_by_lua* and some ngx.ssl API functions that are not supported by LibreSSL. thanks George Liu for the report in #654 and Bret for the report in openresty/openresty#148.
3b46731e9 doc: updated the docs of get_phase() for the "ssl_cert" context.
74103392e doc: typo fix from Prayag Verma in #675.
01727a39c feature: added HTTP 2.0 support to ngx.req.http_version().
4f2954302 feature: this module can now be built as a "dynamic module" with NGINX 1.9.11+ via the --add-dynamic-module=PATH option of ./configure.
91c65907b config: more adjustments.
5adcbefd2 config: refactoring.
5abc7b6bb bugfix: fixed compatibility issues with other nginx modules loaded as "dynamic modules" in NGINX 1.9.11+.
64866bcf4 bugfix: fixed compilation errors with nginx 1.9.11+. thanks Charles R. Portwood II and Tomas Kvasnicka for the report in #669 and #668, respectively.
b28eefa2e tests: made two test cases less agreesive in allocations.
320641adf optimize: use lua_pushliteral for string-literal.
db206ab85 doc: a follow-up fix for commit 4d77caeb8.
b6f5877d1 Merge pull request #671 from typhonius/docos-error-fix
4d77caeb8 Small documentation fix to sample code
b98a7f7bb bugfix: stream-typed cosockets: we did not set the "error" field of the ngx_connection_t object which MIGHT lead to socket leaks.
d7d454734 bugfix: avoided a potential memory issue when the request handler is aborted prematurely (via ngx.exit, for example) while a light thread is still waiting on ngx.flush(true).
740552fa7 doc: updated the doc for ngx.req.discard_body() to reflect recent changes. now ignoring request bodies indeed trigger disgarding the body upon request finalization.
8d7549fe7 feature: added new API, ngx.config.subsystem, which always takes the Lua string value "http" in this module.
fcec9744c made the tests more robust.
43ec78432 renamed util/build2.sh to util/build.sh.
e920600f6 doc: mentions ngx_stream_lua_module.
0dabb560c doc: updated the copyright year to 2016.
da30ad60a Merge pull request #667 from bjoe2k4/master
c16e1e4c0 doc: log_by_lua runs after nginx access log
3bb11aa51 Merge pull request #665 from doujiang24/doc
2a53bb483 doc: add balancer_by_lua*, ssl_certificate_by_lua* to the context of some api
da16f8d71 doc: fixed an error in ngx.encode_base64 regarding streaming generation.
5ee9b0dad feature: added new API function ngx.socket.stream() which is an alias to ngx.socket.tcp().
8961c4943 change: shdict: throws a Lua error when the exptime arg is invalid.
bb91590fa feature: ngx.log() and print() now accept tables with the __tostring metamethod.
60bd1b1aa bugfix: support non-RSA private keys as well.
a43bc0a1b bugfix: ngx.re: memory over-reads might happen in DFA mode when the regex has submatch capturing groups.
34985cc61 fixed coding style issues introduced in the previous commit.
49d525626 optimize: ngx.re: we always preserve the array part for the 0-indexed capture to avoid (expensive) lua table auto growth.
cfd4f904d change: unmatched captures are set to false in the captures table.
701efd5ca bumped API version number to 0.10.1.
753b0a2f8 minor tweaks in a test file.
2c4984f0b a followup fix for the previous commit.
e5992f7e4 bugfix: we might not respond to client abort events when lua_check_client_abort is on.
cd3c6bd2a minor style fixes.
bcdcd85b2 added more bytecode tests that can work with LuaJIT 2.1 and beyond without hard-coding bytecodes in the tests.
d44e90dcb added a passing tests using balancer_by_lua* inside a lua subrequest.
6ba92a674 bugfix: balancer_by_lua* did not respect "lua_code_cache off". thanks XI WANG for the report and Dejiang Zhu for the patch in #663.
4c0bf0911 minor tweaks in tests.
36403c160 doc: ngx_openresty -> OpenResty.
4bc2e2d9f doc: documented that ngx.req.get_body_data() is available in the context of log_by_lua*. thanks YuanSheng Wang for the patch in #660.
a5a6a12b3 Merge pull request #661 from doujiang24/style
f4db0b71e style fix: variable name align with the previous line
93ca1cb75 minor tweaks.
489cc2457 various minor tweaks.
dc5ad6019 SSL: remove leading white space from error messages
9de7841ee SSL: set error message on i2d_X509() failure as well
f86335b53 minor coding style fixes.
1645a5f0d doc: fixed the year. my brain still lived in 2015. alas. thanks leemingtian for the report.
09644c46a doc: bumped version to 0.10.0.
17621837e bugfix: semaphore: memory invalid reads might happen when using ngx.semaphore in init_by_lua*.
8ac6fe795 made a test case less possible to fail on slow machines due to timing errors.
b7fac12c4 Revert "tests: $TEST_NGINX_HTML_DIR might be too long for unix domain socket names."
79527af67 tests: skipped tests for ssl_certificiate_by_lua* if OpenSSL is too old.
df130559f tests: $TEST_NGINX_HTML_DIR might be too long for unix domain socket names.
514e6d611 doc: added a note to ssl_certificate_by_lua_block for the use of ssl_certificate and ssl_certificate_key directives. thanks eagle-china for the suggestion.
832dcd1b9 doc: improved the docs for ngx.ctx a bit more.
2293dd228 doc: made clear the ngx.ctx scoping issues. thanks Robert Paprocki for asking.
08c32bc08 now we require at least NGINX 1.6.0.
813d743cc bugfix: fixed compilation errors with nginx cores older than 1.7.5 (exclusive). thanks Mejar Singh for the report.
1fac98574 optimize: saved the event_posted flag maintained by ourselves since ngx_event_t already has such a flag. also moved all the event initialization code to the semaphore initializer.
9f3eb280c bugfix: semaphore: always zero the whole ngx_event_t struct to avoid forward compatibility risks.
3c3cca76e bugfix: fixed compilation failures with nginx cores older than 1.7.12. this regression had appeared in the semaphore commit.
55d28401c bugfix: we should cleanup the current light thread and run the static dtrace probe in ngx.exit() even for fake requests (used by ngx.timer.at and ssl_certificiate_by_lua*, for example).
f95d7b0b1 bugfix: remove a line of unreacheable code found by the Microsoft C compiler (via a warning). thanks itpp16 for the patch in #640.
988041615 util/build2.sh: added support for the OPENSSL_INC and OPENSSL_LIB environments.
4fbd5da4c minor doc typo fixes.
6667cb959 doc: updated the links to reflect recent changes.
0d470871e bugfix: ngx.get_phase() did not work in the context of balancer_by_lua*.
6c9d2585a feature: better SSL/TLS handshake control.
884f24eef doc: fixed the literal asterisk escaping in the correct way.
a46c07a2a doc: markdown: escaped the literal asterisks properly.
e44c9d889 added even more nginx debugging logs to the ngx.semaphore API implementation.
9799d2724 added more nginx debugging logs to the ngx.semaphore API implementation.
295744eaa minor fixes.
b84801c48 updated .gitignore to reflect recent changes.
9c3e3cf04 bugfix: balancer_by_lua*: fixed a warning from the Microsoft C compiler. thanks itpp16 for the report in #636.
8c53a0d2d feature: implemented the balancer_by_lua_block and balancer_by_lua_file directives to allow NGINX load balancers written in Lua.
e5bf7d69f the next version will be 0.10.0.
822341d8d doc: moved the document section "ngx.semaphore" to a better place.
18551f7c9 doc: fixed the link to the ngx.semaphore module documentation. #584.
9db3f54f4 feature: added pure C API for the ngx.semaphore Lua module implemented in lua-resty-core.
d6fa8dbbd minor coding style tweak.
04b05ff2a bumped API version to 0.9.21.
9693828e7 doc: typo fix for the contexts of ngx.worker.id. thanks RocFang for the patch in #634.
c655905eb style: various coding style fixes from Dejiang Zhu (found by his enhanced version of ngx-releng) via #630.
b21f7993b updated a test case that fail in recent versions.
6a664c839 doc: minor typo fixes.
524be2ea8 fixed a C compiler warning on FreeBSD introduced in the previous commit.
35ba732be bugfix: fixed a compiler warning on type mismatch when dtrace USDT is enabled in the build.
0aa08037d doc: bumped version to 0.9.20.
feb634ab8 doc: stated that we work with nginx cores as far as 1.9.7.
87a20d124 tests: fixed SSL cosocoket test cases for server configuration changes.
1d9a77169 refactor: lua code cache: make load functions take a log directly.
2c4045576 bugfix: we lacked detailed context info in error messages due to use of disabled Lua APIs in body_filter_by_lua*. thanks Dejiang Zhu for the patch in #623.
97890587c documented that ngx.worker.id() requires nginx 1.9.1+.
fced532fe removed the empty .gitmodules file.
ed96fef21 bugfix: compilation failed with nginx <= 1.9.0. thanks huangzihao for the patch in #622.
1ca69efbf a follow-up fix for the previous commit.
f54438b6a bugfix: fixed compiler warnings "comparison between signed and unsigned integer expressions" on Windows.
c040f1591 improved the tests added in commit 3e086ed3.
2bf771011 fixed the initial table sizes for the tables "ngx" and "ngx.req" to reflect recent changes.
7befc2c5f added one more test case (for ngx.req.clear_header) for commit f48aef50.
c9b629ad9 doc: added a note about the full-buffering nature of the ngx.location.capture* API. thanks cmaion for the original patch in #607.
00f62a5ad feature: added new API function ngx.req.is_internal() for testing if the current request is an internal request.
c3ac14e23 feature: added many more HTTP status constants as ngx.HTTP_XXX. thanks Vadim A. Misbakh-Soloviov for the patch in #425.
f48aef50f bugfix: setting the built-in header X-Forwarded-For via ngx.req.set_header() or ngx.req.clear_header() might not take effect in some parts of the nginx core (like $proxy_add_x_forwarded_for). thanks aviramc for the patch in #491.
932584be2 feature: added new constant ngx.HTTP_TEMPORARY_REDIRECT (307) and support for 307 in ngx.redirect(). thanks RocFang for the patch in #416.
b75aa9342 feature: added new config directive "access_by_lua_no_postpone". thanks Delta Yeh for the patch in #580.
7c2801702 doc: documented the minimum size threshold in lua_shared_dict. thanks mlr3000 for the original patch in #616.
3e086ed32 optimize: reduce memory allocations in stream cosockets.
f2228aef4 feature: added new API functions ngx.timer.pending_count() and ngx.timer.running_count(). thanks Simon Eskildsen for the patch in #550.
1dee38920 feature: added new API functions ngx.worker.count() and ngx.worker.id() for returning the total count of nginx worker processes and the ordinal number (0, 1, 2, and etc) of the current worker. thanks YuanSheng Wang for the patch in #531.
91f9846c0 bugfix: ngx.req.get_uri_args/ngx.req.get_post_args: avoided allocating a zero-size buffer in the nginx memory pool since it might cause problems. thanks Chuanwen Chen for the report and patch in #605.
91bd1e4e3 optimize: avoid allocating in the nginx request memory pool in stream cosockets' receive*() methods. thanks Lourival Vieira Neto for the patch in #519.
72244ea07 bugfix: fixed a potential data alignment issue in the ngx.var setter API.
87bdfc1a1 bugfix: we had data alignment issues in the subrequest API which can explode on systems like ARMv6. thanks Stefan Parvu for providing the test environment. openresty/ngx_openresty#131.
9fc3a1f2d style: fixed a line exceeding 80 columns in the previous commit.
8b1861679 bugfix: there was a data alignment issue in the tcpsock:setkeepalive() implementation which might lead to crashes on ARM systems. thanks Stefan Parvu for the report in openresty/ngx_openresty#130.
fd76e196a bumped the ABI version to 0.9.20.
049feaffd a follow-up fix for #611.
94f68befa bugfix: bogus nginx.conf parse failure "Lua code block missing the "}" character" might happen when there are many Lua code blocks inlined. thanks Andreas Lubbe for the report and test case in #611.
2b9308721 bugfix: bogus "subrequests cycle" errors might occur with nginx 1.9.5+ due to the recent changes in the nginx core.
1fae28928 Revert "tweaked .gitattributes a bit more."
4ab399199 develper build script: disabled the spdy module since it is already removed.
fe50cff38 tweaked .gitattributes a bit more.
2fa55e863 added a .gitattributes file to correct GitHub's language tag.
7b1ff62c2 bumped version to 0.9.19.
905d7d0f0 bugfix: using quotes inside a pair of long brackets might lead to parse failures. this is similar to the issue reported by Dejiang Zhu in #596.
c31774274 doc: ngx.var: documented the values for undefined and uninitialized nginx variables. thanks Sean Johnson for asking for this explanation in #595.
ea3343502 doc: bumped version to 0.9.18.
f8e1a7ae7 doc: emphasized that we target NGINX's HTTP subsystem in this module.
4e897529d bugfix: use line comments inside a pair of long brackets might lead to parse failures. thanks Dejiang Zhu for the patch in #596.
809c67432 bugfix: fixed errors and warnings with C compilers without variadic macro support.
ec86ade22 bumped the API version to 0.9.18.
9fb2948c4 feature: now we support LuaJIT 2 on Windows (in the form of lua51.dll).
4a9d4b11f bugfix: subrequest response status codes between the range 100 .. 299 (inclusive) might get lost in the return values of ngx.location.capture*() calls. thanks Igor Clark for the report.
2f65b0fff bugfix: we might return the wrong shm zone in the public C API function ngx_http_lua_find_zone(). thanks qlee001 for the report in #589.
2cbeb0c5a doc: bumped version to 0.9.17.
04a57a1d3 doc: fixed a typo.
e5c01f3dc doc: use *_by_lua_block {} in the examples in Synopsis; also updated the TODO and Special Escaing Sequeneces sections to reflect recent changes.
9afe2066a documented the log_by_lua_block {} directive.
acc823991 documented the body_filter_by_lua_block {} directive.
d76317b62 documented the header_filter_by_lua_block {} directive.
51be770ac documented the access_by_lua_block {} directive.
2ba17fd19 documented the rewrite_by_lua_block {} directive.
37167ce58 documented the content_by_lua_block {} directive.
def5d5500 documented the init_worker_by_lua_block {} directive.
8daa9a672 doc: use proper wiki syntax.
0025a9827 documented the init_by_lua_block {} directive.
95dd9cd61 documented the set_by_lua_block directive.
bf9436ade tests: removed a bogus test case for set_by_lua_block.
195baff55 feature: implemented the set_by_lua_block directive.
effd1d1d5 fixed the test serial numbers in t/028-req-header.t.
62e31a3f2 bugfix: fixed typos due to copy&paste mistakes in some error messages.
cecc0e789 bugfix: setting builtin request header Upgrade via ngx.req.set_header and etc might not take effect with some bultin nginx modules.
1d640d6e8 a followup fix for commit c96625866.
b948841c0 bugfix: setting builtin request headers Depth, Destination, Overwrite, and Date via ngx.req.set_header() and etc might not take effect at least with ngx_http_dav_module. thanks Igor Clark for the report.
c96625866 refactor: reordered the request header entries in the ngx_http_lua_set_handlers array to match ngx_http_headers_in in the nginx core.
da089df2d doc: updated the wiki file to reflect recent changes.
311539270 tests: removed the useless "use lib" directives from the Perl test files. thanks Markus Linnala for the report in #464.
8b32f3616 feature: initial fixes when being used with the new ngx_http_v2 module since nginx 1.9.5. thanks itpp16 for the patch in #569 and #570.
8a0a3e470 doc: nginx 1.9.3 is compatible.
bccf4dab2 bugfix: the user specified ./configure's --with-cc-opt and --with-ld-opt might override the LUAJIT_INC/LUAJIT_LIB and LUA_INC/LUA_LIB environment settings. thanks Julian Gonggrijp for the report in openresty/ngx_openresty#117.
ec4076ef3 reverted the last commit.
e80109795 skipped test cases that do not make sense for the "check leaks" testing mode.
bec51155f fixed line numbers in 132-lua-blocks.t.
a688d5a06 doc: a code example misses a "return". thanks YuanSheng Wang for the patch in #572.
6b558cd4b feature: implemented the *_by_lua_block {...} directives that do not require extra escaping when inlining Lua code in nginx.conf.
b5de0c2f9 bugfix: fixed one -Wmaybe-uninitialized warning when compiling with gcc -Os.
7e415bbbd optimize: fixed the hash-table initial sizes of the cosocket metatables.
c93567d70 doc: more typo fixes from Lance Li in #565.
74aecfe72 doc: typo fixes from Lance Li in #564.
1885b4d29 doc: typo fixes from Lance Li in #562.
826988303 doc: added links to more lua-resty-* libraries.
a05e1eb54 bugfix: use of shared dicts resulted in (unwanted) registrations of shared dict metatables on all the lightuserdata in the Lua space. thanks helloyi for the report in #548 and patch in #557.
14f2b88b5 bumped the API version to 0.9.17.
b6189f87f fixed the test plan.
69d1a6988 bugfix: if a 3rd-party module calls ngx_http_conf_get_module_srv_conf to fetch its current srv_conf construct in its merge_srv_conf callback, then use of init_worker_by_lua might lead to segmentation faults (the same also applied to merge_loc_conf). thanks chiyouhen for the report and patch in #554.
ee30b7ce0 doc: updated the wiki format to reflect recent changes.
73bdb5391 Merge pull request #546 from doujiang24/doc
3043b7163 doc fix: ngx.exit is not disabled within header_filter_by_lua
ea195bd81 typo fixes in recently added test cases.
b661ff10e bugfix: the if_unmodified_since "shortcut" field in ngx_http_headers_in_t was first added in nginx 0.9.2.
2979422c4 Merge branch 'master' of github.com:openresty/lua-nginx-module
bc0d61924 bugfix: ngx.req.clear_header/ngx.req.set_header: we did not update the shortcut fields in ngx_http_headers_in_t added since nginx 1.3.3 which may confuse other nginx modules accessing them.
5e4584312 doc: typo fix from Lance Li.
cc2df46d4 minor doc tweaks.
5399898ea bugfix: setting Content-Type response values including "; charset=xxx" via the ngx.header API might bypass the MIME type checks in other nginx modules like ngx_gzip. thanks Andreas Fischer for the report.
a22bfb94a Merge branch 'master' of github.com:openresty/lua-nginx-module
7087978d1 fixed SSL cosocket tests with google https in non-US regions.
a7857abf1 Merge pull request #538 from tatsuyafw/fix-typo
6d45420d4 Fix typo: use a double quote instead of a single quote
b8fc6c589 tests: disabled the test cases exercising multiple http {} blocks since this undocumented feature has been disabled since nginx 1.9.3.
7e201d750 Merge pull request #535 from doujiang24/typofix
336ed3f51 typo fix in debug log
1bf0757a3 Merge branch 'master' of github.com:openresty/lua-nginx-module
289d86b37 valgrind.suppress: suppressed a false positive in the latest version of glibc on Amazon Linux.
51a311c04 removed the old util/build.sh script and also added notes as comments to util/build2.sh #527.
f67aefc96 bugfix: we might miss the linker option -ldl when we shouldn't.
91ff51faf bugfix: access nonexistent fields in the "ngx" table in init_by_lua* could lead to the exception "no request object found" because of the overreacting __index metamethod of the "ngx" table.
ec3f150cc doc: bumped version number to 0.9.16.
b59129ff6 doc: fixed a bug in an example where both rewrite_by_lua and content_by_lua produce response outputs. thanks fengidri for the report in #460.
721fff24f bugfix: fixed compiler warnings at least with gcc 4.7 and clang 3.5. this regression had appeared in commit 9e0503b035.
601044eb3 bugfix: ngx.resp.get_headers(): some built-in headers were not accessible via lowercase. thanks Nick Muerdter for the patch in #529.
9e0503b03 bugfix: raw downstream cosockets did not support full-deplexing. thanks aviramc for the bug report in #478 and the original patch in #481.
0be132078 fixed buggy test cases stuck on request body reading, which were exposed by the previous commit.
6fa6e97cc bugfix: we did not always discard the request body if the user Lua handlers don't, which might cause 400 error pages for keep-alive or pipelined requests. thanks Shuxin Yang for the original patch in #493.
255d40b12 fixed a test case for Mac OS X.
5b35451cd doc: fixed the context for the lua_need_request_body directive. thanks Tatsuhiko Kubo for the patch in #492.
f4e131118 feature: fixed compilation failures with nginx 1.9.0. thanks Charles R. Portwood II for the original patch in #500.
847bc0f47 minor fixes in doc.
76dc20d4d Merge pull request #486 from itpp16/patch-3
1db65c105 Update ddebug.h
42d62e4b7 doc: mentioned the "auth_request", "add_before_body", and "add_after_body" directives in the section "Locations Configured by Subrequest Directives of Other Modules".
0fff5888f more coding style fixes in function declarations.
edad9bb06 fixed a test case to reflect recent changes in lua-resty-core.
3eadb55c1 more coding style fixes.
65b65bfd9 minor coding style fixes.
c9f2b8656 follow-up fix for the previous commit. thanks Tatsuhiko Kubo for the patch in #475.
9531e5e75 bugfix: removed the dead code for the old NGX_THREADS mode which breaks the new nginx (1.7.11+) with thread pool support. thanks Tatsuhiko Kubo for the patch in #475.
e7a7079cb add no_padding option to ngx_http_lua_ffi_encode_base64
bbc64d40c removed the git submodule deps/ngx_devel_kit because this is just an optional dependency and it is painful to maintain submodule pointers.
ac48bd2b6 doc: added new section "Obsolete Sections" to hold renamed or removed documentation sections so as to keep links valid over the web. thanks Dayo Akanji for the suggestion.
5fa6ff1b6 Updated docs.
e3cda9cb8 bugfix: fixed compilation failures with very old versions of PCRE, like 4.5.
054f80f6a bugfix: we might still pick up Lua/LuaJIT headers/libraries in the paths specified by nginx ./configure's --with-cc-opt=OPTS and --with-ld-opt=OPTS optons even when the LUAJIT_INC/LUAJIT_LIB or LUA_INC/LUA_LIB environments are explicitly specified.
6222f0c53 feature: ngx.encode_base64: added support for the "no_padding" boolean argument to disable padding when a true value is specified. thanks Shuxin Yang for the patch.
0f0c2f814 bugfix: we should never automatically set Content-Type on 304 responses. thanks Simon Eskildsen for the patch in #468.
e086440cb bumped the API version to 0.9.16.
7c37b4bbd bugfix: use of ngx_http_image_filter_module might lead to request hang due to duplicate header filter invocations. thanks Antony Dovgal for the report.
3dbb2b00e tests: fixed nondeterminism due to unordered Lua table iterations. thanks Markus Linnala for the patch in #465.
b2b061d32 Merge pull request #466 from maage/env_lua
ff23175f0 fix env tests
8f6790de7 doc: fixed the code sample for ngx.redirect() to reflect recent changes there. thanks Zi Lin for the report.
4388b1e48 doc: bumped version to 0.9.15; also stated that we work with nginx 1.7.10.
f88d4a9fb tests: fixed the test plan in 041-header-filter.t.
dde606203 Revert "bugfix: header_filter_by_lua*: now we ensure we always forward the exact return value of the ngx_http_filter_finalize_request() calls."
e9fa313ff bugfix: header_filter_by_lua*: now we ensure we always forward the exact return value of the ngx_http_filter_finalize_request() calls.
82d0c265b bugfix: using error codes (ngx.ERROR or >=300) in ngx.exit() in header_filter_by_lua* might lead to Lua stack overflow.
d427d9a1d feature: improved the debugging event logging for timers created by ngx.timer.at().
6f63b9730 optimize: fixed padding holes in our struct memory layouts for 64-bit systems to save a little memory.
31265f783 bumped the API version number to 0.9.15.
05a4a7143 bugfix: the value of the Location response header set by ngx.redirect() might get overwritten by nginx's header filter to the fully qualified form (with the scheme and host parts).
8f908775c bugfix: the value of the Location response header set by the ngx.header.HEADER API might get overwritten by nginx's header filter to the fully qualified form (with the scheme and host parts).
23afdc0b1 bugfix: lua_shared_dict: use of Lua numbers as the value in shared dict might lead to unaligned accesses which could lead to crashes on architectures sensitive to address alignment (like ARMv6). thanks Shuxin Yang for the fix and thanks Stefan Parvu and Brandon B for the report in openresty/ngx_openresty#84.
a02467304 optimize: header_filter_by_lua*: removed a piece of useless code. thanks Zi Lin for the report.
23c2ceae4 doc: emphasized the capability of using nginx variables in the Lua file path in content_by_lua_file/rewrite_by_lua_file/access_by_lua_file.
cea0699a5 updated the copyright years.
20d968bc8 doc: bumped version to 0.9.14.
93a056c84 doc: typo fix from lneto in #451.
fe0e22d35 bugfix: tcpsock:setkeepalive(): we did not check NULL connection pointers properly. thanks Yang Yue for the report.
a05073d71 doc: typo fix from Harold via #446.
8e79804e0 bugfix: ngx.quote_str_str() incorrectly escaped "\026" to "\z" while "\Z" is expected. thanks laodouya for the original patch in #447.
bd51d8196 added passing test cases for #445.
39ff3e697 added tests for using the ngx. API functions in the user callback functions for ngx.re.gsub's replacement. these tests exposed a bug in lua-resty-core.
521e4f454 reindexed the tests in t/036-sub.t.
bc120f9a2 bugfix: fixed a compiliation error in the timer module when the DDEBUG macro is set to 1 or a C compiler without variadic macro support (like the Microsoft Visual C++ compiler) is used. thanks itpp16 for the patch in #443.
4cd7644ac bugfix: ngx.timer.at: fixed a small memory leak in case of running out of memory (which should be extremely rare though).
c317feeae optimize: save our own log ctx for timers.
c6930f018 tests: fixed a test case which expects 127.0.0.1:53 has nothing to listen on, which is not true when a local DNS caching server is enabled.
ac009a248 bugfix: ngx.re.gsub/ngx.re.sub incorrectly swallowed the character right after a 0-width match that happens to be the last match. thanks Guanlan Dai for the patch in #442.
af16d1f99 feature: added the Lua global __ngx_cycle which is a lightuserdata holding the current ngx_cycle_t pointer.
f24a96b80 doc: added two more TODO items.
cd01e7b98 doc: updated our TODO list.
f9709b6dd api: bumped the version number to 0.9.14.
452640db9 doc: ngx.var: named more readonly nginx builtin variables, as per adamonduty's request in #440.
b3a3e5ea2 doc: fixed some formatting issues in markdown.
4c633dd34 doc: added a warning for the "share_all_vars" option for ngx.location.capture*.
7a97d0902 doc: bumped version to 0.9.13 and also claimed the compatibility with nginx cores up to 1.7.7.
5d063412e Merge branch 'master' of github.com:openresty/lua-nginx-module
4720940e8 fixed some new test failures according to the Amazon EC2 report.
3085f32e7 Various improvements in ngx.timer and fake connections/requests.
e6132eab9 feature: added nginx configuration file names and line numbers to the rewrite/access/content/log_by_lua directives' Lua chunk names in order to simplify debugging.
e22684511 Various downstream writing fixes.
bda5b9795 style: minor fixes.
60c64cc14 doc: documented the 0-delay timer workaround for contexts where cosockets are not available (yet). also documented the "connection in dubious state" error message for tcpsock:setkeepalive().
20bbbfbe4 bugfix: compilation failed when http ssl is not enabled in the nginx build. this regression had appeared in commit 5eb3f8c6f.
3c1918df8 bugfix: ngx.get_phase() does not work in the context of init_worker_by_lua*.
5eb3f8c6f bugfix: tcpsock:sslhandshake(): memory invalid read and/or bogus "lua ssl ceritficate does not match host" errors might happen when checking certificates with the SNI name.
da31a5e65 doc: documented that ngx.exit() is enabled in the context of ngx.timer.* callbacks.
0846f2766 tests: increased the timeout threshold for the test cases involved with expensive SSL handshakes to prevent them from getting timed out on slow boxes.
75eaf0784 feature: ngx.flush(true) now returns the "timeout" and "client aborted" errors to the Lua land for the cases that writing to the client is timed out or the client closes the connection prematurely, respectively.
0c33b9e0a feature: ngx.flush(true) can now wait on delayed events due to nginx's limit_rate config directive or "$limit_rate" variable settings. thanks Shafreeck Sea for the original patch in #432.
a4f8b8ad0 bugfix: use of "ngx.flush(true)" with the "limit_rate" config directive or the $limit_rate variable may hang the request forever for large volumn of output data. thanks Shafreeck Sea for the report in #430.
db428bfc6 doc: added a new section, "Cocockets Not Available Everywhere", under the "Known Issues" section.
1506812af updated valgrind.suppress to suppress a false positive on Amazon Linux i386.
2fe0d8dda more fixes in the tests regarding the resolver.
bba7058e7 tests: avoid using hard-coded DNS nameserver address but the TEST_NGINX_RESOLVER environment.
d42751731 suppressed a warning in the libc resolver.
c2f88f8df bugfix: compilation error when PCRE is disabled in the nginx build. thanks Ivan Cekov for the report in #428.
9ea909bae doc: typo fix from e路相扶.
0162afd71 doc: fixed some broken in-page links, as reported by smallfish in #421.
cc9e738a7 doc: various wording improvements and link fixes from Dayo Akanji.
c135f05f2 tests: use larger timeout limit for a test case revolved with external DNS resolving.
5c8957b2d tests: fixed a failure due to recent changes in the nginx core.
05e8499c8 tests: fixed a test failure due to the misuse of the $TEST_NGINX_PORT variable.
0d736bf22 tests: suppressed a warning from the test scaffold for a timer test case.
6706ec214 bugfix: when syslog was enabled in the "error_log" directive for nginx 1.7.1+, use of init_worker_by_lua or ngx.timer.at() would lead to segmentation faults. thanks shun.zhang for the report in #426.
8a4e8a72d minor test file format fixes.
25c4bdd6b tests: suppressed a warning from the test scaffold due to an expected [crit] error log message in 2 test cases.
c9128e50f tests: added a passing test case for connecting to IPv6 addresses via cosockets.
4323f3bc1 tests: 129-ssl-socket.t: use limited timeout threshold for the cosockets.
0c4528e50 bugfix: fixed compilation error with nginx 1.7.5+ because nginx 1.7.5+ changes the API in the events subsystem. thanks Charles R. Portwood II and Mathieu Le Marec for the report in #422.
14fbf4031 doc: made clarification about ngx.exec() requested by Dayo Akanji.
e9139a954 doc: typo fix from tianchaijz in #419.
227a5f0e5 api: bumped version to 0.9.13.
334979177 bugfix: ngx.req.raw_header(): buffer overflow and the "buffer error" exception might happen for massively pipelined downstream requests. thanks Dane Knecht for the report.
ddb363625 refactor: ngx.req.raw_header(): simplified the implementation.
62fd4c5f7 bugfix: ngx.req.raw_header(): we might change nginx's internal buffer pointers, which might cause bad side-effects.
73884588f doc: bumped version to 0.9.12.
ffe7b34de doc: added more discussions for the potential race conditions in worker-level changeable data sharing to the "Data Sharing within an Nginx Worker" section. thanks Jon Keys for asking.
d7378122d tests: fixed a small bug in a test case.
be1655d23 bugfix: added extra delays to some of the test cases with systemtap involved.
8e6aa11dc tests: updated test suite according to the latest changes in Test::Nginx::Socket.
9688c645b doc: documented the behavior in the case that one does not call close() nor setkeepalive() in a cosocket object's lifetime. thanks Bogdan Irimia for asking.
eb128df04 bugfix: added allocation failure check for ngx_array_init(). thanks Tatsuhiko Kubo for the patch in #414.
0e49fe746 tests: fixed a case with expired CRL.
5662ddd9b bumped internal code version to 0.9.12.
7e4f1af7f bugfix: init_worker_by_lua*: memory corruptions would happen when no server {} is defined in nginx.conf. this regression had appeared in v0.9.11.
df70a5e7e bugfix: fixed build failures with OpenSSL older than 0.9.8f. thanks FFCZ for the report in #413.
044f86188 bugfix: create_loc_conf did not return NULL on error.
96d4608ef tests: fixed a case for raw req socket to reflect recent changes in the debugging logs for tcp_nodelay.
3acb8dd90 bugfix: the "tcp_nodelay" directive configuration was not honored by upstream TCP cosockets, which could lead to extra delays for small messages. thanks Shun Zhang for reporting this issue.
947f82d1b bugfix: compilation failed with nginx 1.3.6 or older. this regression had appeared in the v0.9.11 release.
1565a068e bugfix: compilation failed with nginx 0.9.x.
e2aef6d03 doc: bumped version to 0.9.11; also claimed that we work with nginx 1.7.4.
4c19852c0 doc: typo fix.
da0ced8a4 bugfix: init_worker_by_lua* would conflict with some other nginx C modules (like ngx_proxy) when their merge_loc_conf callbacks (or alike) produce side-effects in cf->cycle. thanks Ruoshan Huang for the report.
d4dbba59d config: now we also explicitly check the Lua ABI/language version in our feature test for a Lua lib.
90bdd9744 fixed the build failure introduced in commit 109fd454a.
b6978cde6 Merge pull request #409 from cubicdaiya/feature/vim
e4691cb5c Merge pull request #410 from cubicdaiya/feature/use_macro
99cc06d0f Merge pull request #411 from cubicdaiya/feature/ues_luapushliteral2
109fd454a use lua_pushliteral for string-literals.
8e464f9ae Style: use macro instead of magic-number.
7f739a983 Style: added vim modeline.
d957eefee tests: made a test case for ngx.on_abort() more tolerant.
e0cd3ccf1 bugfix: ngx.resp.get_headers(): sometimes we might omit the builtin-headers Content-Type, Content-Length, Connection, and Transfer-Encoding. thanks Jon Keys for the report.
75cc29ea6 bugfix: ngx.req.socket(true): it incrrectly returned the error "chunked request bodies not supported yet" for *raw* request sockets with chunked request bodies. thanks Xiaofei Yang for the report.
5f62a5584 tests: fixed a test case that could fail randomly.
3ffe48cce bugfix: tcpsock:sslhandshake() incorrectly returned failures when the SSL handshake operation succeeded immediately.
03a74d445 tests: fixed a test case to reflect latest change in ngx_set_misc.
ad3364515 Merge pull request #408 from cubicdaiya/issues/use_luapushliteral
06652edb1 bugfix: we did not check allocation failures while compiling the pattern for tcpsock:receiveuntil(). thanks Tatsuhiko Kubo for the patch in #407.
141725f4c use lua_pushliteral for string-literals.
05e2ad61f doc: removed the SSL cosocket item from the TODO list.
92d92fbff style: fixed tab indentation. thanks Tatsuhiko Kubo for the patch in #406.
e482cdab3 doc: more clarification in the docs for the res.truncated flag returned by ngx.location.capture(). thanks Jon Keys for asking.
2b40b44dc doc: documented the new SSL cosocket feature.
fd3f4ee25 bugfix: tcpsock:sslhandshake(): the "host" parameter did not accept the nil value.
45cb4feb1 doc: added missing method name "get_keys" under "ngx.shared.DICT" and also fixed the method order. thanks George Bashi for the patch in #404.
e7d89c043 bugfix: builds without --with-http_ssl_module were broken. this regression had appeared in commit a6a0ed5.
b55d0ecf5 feature: tcpsock:sslhandshake(): when the "session" argument is a boolean "false", then no SSL session userdata will be returned and only a boolean "true" value is returned when successful.
207865762 tests: use iscribblet.org instead of agentzh.com in tests because the latter is currently served by Chinese name servers, which are not quite stable.
90751a071 tests: fixed a case regarding ngx.on_abort().
82188a1e8 tests: made a test regarding ngx.re.sub less possible to fail in slow testing modes.
937dfb35e tests: a minor style fix in a case.
a844a13ce bugfix: we did not set the c->pool->log properly where c is an upstream stream-typed cosocket connection. this regression had appeared in the ssl cosocket patch, i.e., commit 5aed1966.
3f9ab4bf6 tests: suppressed a valgrind false positive in the nginx core.
a6a0ed520 bugfix: memory leak cound happen when both cosocket connection pools and "lua_code_cache off" were used. this regression had appeared in the ssl cosocket patch, i.e., commit 5aed1966.
531fb5a08 tests: one minor Perl code style fix.
348d359dd tests: fixed the test case added in commit 6ef948150.
5aed1966c feature: SSL/TLS cosocket API
6ef948150 added a test case to exercise a bug in ngx_proxy's ssl handshake timeout handling (see http://mailman.nginx.org/pipermail/nginx-devel/2014-July/005627.html ).
8acc73f2c bugfix: stream-typed cosocket might read uninitialized memory bytes when logging errors due to sending to or receiving from a closed socket.
766ab667c tests: fixed a test case regarding unix domain cosockets.
353563226 optimize: we now cache the userdata metatable (for the __gc metamethod) in the lua registry for the datagram-typed cosockets.
3fd3234f3 optimize: we now cache the userdata metatable (for the __gc metamethod) in the stream-typed cosocket implementation.
58f916f13 bugfix: the datagram-typed cosocket resolver handler did not handle some special errors correctly.
2cc788b42 improved the fix in commit 48e48305.
48e483050 bugfix: the stream-typed cosocket resolver handler did not handle some special errors correctly.
c2f4dda29 trivial optimizations.
66c45338c doc: markdown: fixed the "Back to TOC" links for the sections ("Nginx API for Lua" and "Directives") with inlined TOC. thanks Pierre-Yves Gérardy and Simon Eskildsen for the reports in #370 and #399, respectively.
92e22bc43 bugfix: body_filter_by_lua*: reading ngx.arg[1] after clearing ngx.arg[1] (by assigning nil or "") could lead to segmentation faults. this regression had appeared in v0.9.10. thanks Jason Stangroome for the report in #398.
f3870f6a7 bugfix: ngx.req.raw_header() would return garbled data when LF instead of CRLF is used as the line terminator in the original header.
b5d23b9e4 bugfix: ngx.req.raw_header() could lead to buffer overflow and the "userdata length overflow" error due to misuse of r->header_end while modules like ngx_fastcgi and ngx_proxy can change r->header_end to point to buffers of their own. thanks sadmedved for the report.
e4e0f4b37 doc: improved the wording in the "Lua Coroutine Yielding/Resuming" section. thanks Hungpu DU for the report in #394.
dfb61faeb bugfix: we did not use lua_checkstack() to prevent Lua stack overflow in our own C-land Lua backtrace generator.
e1b24308a refactor: removed a piece of duplicate code from the stream-typed cosocket implementation.
35e174b4f optimize: reading ngx.header.HEADER: eliminated dynamic allocations and data copying when there is no need to ransform "_" to "-" in the header name.
ee2a206b2 feature: added pure C API function for FFI-based implementation of reading ngx.header.HEADER.
b6e991ba9 tests: improved the test cases for the ngx.header API a little bit.
d380c975b doc: improved the wording of the documentation for ngx.req.clear_header() to prevent ambiguity. thanks Christophe-Marie Duquesne for the report in #393.
ed096adaf style: fixed coding style in the header files consts.h and args.h. thanks Tatsuhiko Kubo for the report in #392.
f83fa0d4d bugfix: fixed an incorrect error message. thanks aviramc for the patch in #290.
4969b87a2 style: preserved a blank line after the goto labels.
790e57dee optimize: reading ngx.header.HEADER: reduce allocations in the nginx request memory pool.
c37e6a6e5 change: use the type ngx_http_lua_ffi_str_t instead of ngx_str_t in the pure C function ngx_http_lua_ffi_req_get_headers.
cee6659f6 doc: documented that the standard coroutine API is now available in the context of header_filter_by_lua* and body_filter_by_lua*.
1238bdd9f doc: documented the NGX_LUA_NO_FFI_API C macro.
7ff3ef1f1 renamed the NGX_HTTP_LUA_NO_FFI_API macro to NGX_LUA_NO_FFI_API.
e94a4f371 feature: added pure C API functions for FFI-based implementations of ngx.worker.pid() and ngx.worker.exiting().
a2e53c4f5 bumped the code version to 0.9.11.
17c28f1ac feature: the standard coroutine API is now enabled in the context of header_filter_by_lua* and body_filter_by_lua*. thanks ngo for the request in #389.
0778f2b04 feature: for content/rewrite/access_by_lua_file directives, we now return 404 status code instead of 500 in case that the specified .lua file cannot be opened. thanks Sam Lee for the suggestion.
76c70010b doc: fixed a wrong statement regarding require() in the "Lua Variable Scope" section. thanks Hungpu DU for the report in #390.
34ecd2f13 bugfix: ngx.escape_uri() now uses uppercase hexadecimal digits for percent-encoding according to the recommendation in RFC 3986. thanks Piotr Sikora for the suggestion.
5e9446378 bugfix: for statically linked luajit, we need to pass -ldl to the linker. thanks cf2012 for the report in openresty/ngx_openresty#40.
6929e7de9 doc: documented the behavior of init_by_lua* when lua_code_cache is off.
cea9ee2cd doc: bumped version to 0.9.10.
f3102fef3 minor fixes in the NGX_LUA_ABORT_AT_PANIC macro.
de46d204b bugfix: fixed a compilation error regression when using the Microsoft Visual C/C++ compiler. thanks itpp16 for the patch in #388.
1e07b1ead bugfix: we should use "c->buffered & NGX_HTTP_LOWLEVEL_BUFFERED" instead of "c->buffered" for testing if the downstream connection is busy writing.
aa6054a13 change: throw out the "no memory" Lua error consistently (instead of "out of memory") when failing to allocate on the nginx side.
9c79180b7 bugfix: we did not handle an out-of-memory case in ngx.req.set_body_data().
5ad9b3fbb bugfix: rewrote the buggy patch in commit 4c215c556 for #386 because it did not handle flush bufs correctly and had other issues.
bda34bb09 fixed 2 minor lua stack manipulation mistakes.
88be20583 bugfix: ngx_http_lua_chain_get_free_buf(): avoided returning zero-sized memory bufs.
fd8af73d2 refactor: renamed ngx_http_chains_get_free_buf() to ngx_http_lua_chain_get_free_buf(). also omitted the buf tag argument which is a constant anyway.
6b8ca4a35 doc: typo fix.
c29f33adf doc: documented the NGX_LUA_USE_ASSERT and NGX_LUA_ABORT_AT_PANIC C macros.
4c215c556 bugfix: body_filter_by_lua*: we might incorrectly pass zero-size bufs (in the form of "special sync bufs") at the beginning of a chain, which could get stuck in the buffer of ngx_http_writer_filter_module (or in other words, being "busy") while could still get recycled in the content handler (like content_by_lua), leading to buffer corruptions. thanks westhood for the report and patch in #386.
26fd00704 bugfix: we did not clear all the fields in ngx_buf_t when recycling chain link buffers.
fdd10bf3a tests: use larger timeout threshold for test cases involved with external resolvers.
b106ccdb4 fixed the test plan in 014-bugs.t.
8613ed6e9 bugfix: the *_by_lua_file directives failed to load .lua files of exactly the size n*LUAL_BUFFERSIZE bytes with the error "'end' expected (to close 'function' at line 1) near '<eof>'". thanks kworr for the report in #385.
db9fe7ab9 bumped version to 0.9.10.
745a7107b optimize: now we turn off our C-land assertions by default unless the user explicitly specifies the C compiler option -DNGX_LUA_USE_ASSERT.
3abfb1fc6 bugfix: when the ngx.on_abort() user thread was created but never run *and* some other pending user thread was aborted prematurely, the latter thread might get leaked. thanks Dane Knecht for the report. this regression had appeared in the v0.9.9 release.
1250c5bf4 tests: use larger resolver_timeout settings.
09e0944d6 change: now we always iterate through all the user light threads to ensure all threads are de-anchored even when the "uthreads" counter gets out of sync. also added an assertion on the "uthreads" counter.
24953436f doc: documented the new full-duplex stream cosocket feature.
f408dd51a doc: documented the ngx.thread.kill() API function.
0950973ad doc: bumped version to 0.9.9. also states that we work with nginx 1.7.2.
f40e371be Revert "refactor: we no longer call ngx_pfree() in our own pcre_free hook."
fcbbf523d tests: fixed timing issues in some of the test cases for full-duplex cosockets.
d56a2af52 bugfix: fixed the initial size of the ngx.worker table and the misleading comment due to a copy&paste mistake. thanks Suraj Jaiswal for the report.
934e33e6d feature: cosockets are now full duplex: a reader "light thread" and a writer "light thread" can operate on the same cosocket simultaneously. thanks shun zhang and aviramc for the original patches in #367 and #290, respectively.
6885462e9 feature: added new API function ngx.thread.kill() for killing a user "light thread". thanks aviramc for the original patch in #288.
52b76a719 removed some dead code from the stream cosocket implementation.
d6bc02eb3 bugfix: the coroutine API table introduced by require("coroutine") was not working in the context of ngx_lua. thanks Paul K and Pierre-Yves Gérardy for the report (in #381).
c2e29483d a minor coding style fix.
9f0f9eaf1 tests: made a test case in 124-init-worker.t less possible to fail in slow testing mode.
b773bcabc bumped version number to 0.9.9.
fd41af2d0 bugfix: we incorrectly overrode coctx->data before calling coctx->cleanup, which could lead to memory corruptions. this regression had appeared in the previous commit, f19e27e777.
f19e27e77 bugfix: the coctx cleanup handler might not be called before being overidden by other operations. this could happen when failing to yield in an error handler (for xpcall).
053f40e79 bugfix: fixed an incorrect error message. thanks doujiang for the patch in #373.
75c98cb5f fixed the test plan in 058-tcp-socket.t.
8fd50ad87 ensured that the resolver handler will not call into the dead request context.
06b7476b2 doc: added performance notes to the sections for ngx.var and ngx.ctx.
7a20b0770 doc: fixed a typo.
ab8bd1b02 doc: documented the values can be passed to the timer callback function.
73e831f04 bumped version to 0.9.8.
2b721c7fd doc: markdown format: inlined the TOC for the long sections "Directives" and "Nginx API for Lua" as per Pierre-Yves Gérardy's suggestion in #370.
c91e1f525 doc: moved the "Directives" and "Nginx API for Lua" sections to the end because they are too long and kinda boring :) thanks Pierre-Yves Gérardy for the patch in #371.
a9e0111fe doc: moved important sections to the front. thanks Pierre-Yves Gérardy for the patch in #371.
91e3307fb use ngx_http_lua_assert() instead of plain assert() across the code base.
ec2498a81 added assertions to the coroutine scheduler to ensure that we do not pop or push the wrong number of stack slots for yielded coroutines.
5318f3a69 resolved merge conflicts.
d3ab0edd4 bugfix: ngx.req.set_method(): we incorrectly modified r->method when the method ID was wrong.
31e001557 feature: added a pure C API function for FFI-based implementations of ngx.req.set_header() (single-value only) and ngx.req.clear_header().
3a01812d8 feature: added a pure C API function for FFI implementations of shdict:flush_all().
62b2ac5cb feature: added pure C API function for FFI-based implementations of ngx.req.set_method().
f9ce770d7 feature: added pure C API functions for FFI-based implementations of ngx.req.get_method().
1c3a84162 Revert "optimize: use lua_pushinteger instead of lua_pushnumber in ngx_http_lua_ngx_time()."
9bb1f3586 the "int" return type of ngx_http_lua_ffi_time might lead to data loss. thanks itpp16 for the report.
e9b8563c3 optimize: use lua_pushinteger instead of lua_pushnumber in ngx_http_lua_ngx_time().
99e5171c6 renamed ngx_http_lua_ffi_ngx_now to ngx_http_lua_ffi_now.
d9fff3b70 feature: added pure C API function ngx_http_lua_ffi_time for FFI-based implementations of ngx.time().
8666424db fixed the wrong return type of the ngx_http_lua_ffi_req_start_time function in the previous commit.
50dbfcefd feature: added pure C API function ngx_http_lua_ffi_req_start_time for FFI-based implementations of ngx.req.start_time().
34ab51f89 updated tests to reflect recent changes in rewrite_by_lua* and access_by_lua*.
4f0be44f7 doc: added more explanation for some user FAQs.
ec78bf101 fixed a source line exceeding 80 cols.
32960150f minor doc love.
938323644 change: rewrite_by_lua* will now terminate the current request if the response header has already been sent (via calls like ngx.say and ngx.send_headers) at that point.
a1ea105f4 change: access_by_lua* will now terminate the current request if the response header has already been sent (via calls like ngx.say and ngx.send_headers) at that point (otherwise nginx might crash when other modules try to generate their own response). thanks yaronli and Sophos for the report in #364.
c478f41e1 change: access_by_lua* will now terminate the current request if the response header has already been sent (via calls like ngx.say and ngx.send_headers) at that point (otherwise nginx might crash when other modules try to generate their own response). thanks yaronli and Sophos for the report in #364.
b438f972d feature: now we save the original pattern string pointer value into our ngx_http_lua_regex_t struct, to help runtime regex profiling and debugging.
7f184ec4c feature: now we save the original pattern string pointer value into our ngx_http_lua_regex_t struct, to help runtime regex profiling and debugging.
fb5f97541 feature: attempt to allow use of 3rd-party pcre bindings in init_by_lua*. thanks ikokostya for the feature request in #368.
cae725928 added a fix for the leftover cases in commit b57d60d4c9d
c178302bd updated the test index in 109-timer-hup.t.
0a11b402a feature: added pure C API function, ngx_http_lua_ffi_ngx_now, for FFI-based implementation for ngx.now() like lua-resty-core.
0a845986a 126-shdict-frag.t: force a full GC cycle at the end of the Lua handler to help the "check leaks" testing mode.
a43bca8d1 fixed the wait time for slow testing mode.
eb4f98676 126-shdict-frag.t: increased the timeout threshold.
0f68763de bugfix: nginx does not guarentee the parent pointer of the rbtree root is meaningful, which could lead to inifinite loops when ngx_lua tried to abort pending timers prematurely (upon worker exit). thanks pengqi for the patch in #362.
a2dee0c62 added more code comments to the timer implementation.
af2d3570b added a (passing) fuzz testing for aborting many pending timers.
3b3239c22 added (passing) tests for yielding failures in cosocket DNS resolving.
5d614b094 added a (passing) fuzz test case for shdict.
b57d60d4c bugfix: we did not call our coroutine cleanup handlers right after our coroutine completes (either successfully or unsuccessfully) otherwise segmentation fault might happen when the Lua VM throws out unexpected exceptions like "attempt to yield across C-call boundary". thanks Lipin Dmitriy for the report in #361.
509bb9819 removed an obsolete code comment.
ed1eb4f7f bugfix: the ngx.ctx table might be released prematurely when ngx.exit() was used to generate the response header. thanks Monkey Zhang for the report. now we release ngx.ctx in a request pool cleanup handler.
f7443edc1 fixed the test index in 126-shdict-frag.t.
373376ce0 try to make a test case for shdict fragmentation pass on i386.
fa83bb5fd added tests for exercising the memory fragmentation issue in nginx's built-in allocator for blocks larger than the page size
d8c45b872 feature: make use of the new shm API in nginx 1.5.13+ to suppress the "no memory" error logging when the shared dicts run out of memory.
ae2207bf8 bumped version to 0.9.8.
125586404 feature: added C macro NGX_LUA_ABORT_AT_PANIC to allow generating a core dump when the Lua VM panics.
506728da2 doc: fixed the links to ngx_rewrite in the "set_by_lua" section.
39d3e74cb updated docs to reflect recent changes.
6c555ed50 bugfix: bugs in the error handling for pure C API functions for shared dict. thanks Xiaochen Wang for the patch in #365.
c11ceb40a updated the tests to reflect the new openresty server at agentzh.org.
b111180c1 added a (passing) test case for reading ngx.header in the context of log_by_lua.
c1ee08e8a Merge pull request #359 from cubicdaiya/issues/use_ngx_str_null
0d48124c9 added a (passing) test for timeout error on tcpsock:receive(N).
0375856d8 use ngx_str_null
e52a2631e doc: now we have tested with nginx 1.5.12; also put the 0.9.7 release date.
40691f409 Revert "added assertions for the pcre pool management."
1117f043c Merge pull request #355 from lhmwzy/master
8192b9745 Update ngx_http_lua_string.c
4e284f73c bumped version to 0.9.7.
5c2718004 added assertions for the pcre pool management.
5c788b8b9 refactor: we no longer call ngx_pfree() in our own pcre_free hook.
988ac5d84 bugfix: when lua_code_cache was off, cosocket:setkeepalive() might lead to segmentation faults. thanks Kelvin Peng for the report.
f08bddccd suppressed a false positive in libdl.
3f7e04cf8 made a test case less likely to fail on slow machines.
cbf054f12 made a test case less likely to fail on slow machines.
01cd00c40 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
8542d4365 refactor: improved the error handling and logging in the Lua code loader and closure factory.
5719c60cf Merge pull request #351 from cubicdaiya/issues/use_luapushliteral
f07a55b28 use lua_pushliteral instead of lua_pushlstring
bbb7e05d9 added stronger assertions to the stream-typed cosocket implementation.
5d4afab7a optimize: we no longer clear "ctx->user_co_ctx" in ngx_http_lua_reset_ctx.
bec802ea9 bumped version to 0.9.6.
e5eefed32 updated docs to reflect the change in commit 382c7201.
f9917b93e skipped 2 test cases that are nonderterministic.
4cb8dda8b bugfix: accessing a datagram cosocket object from a request which does not create it could lead to segmentation faults. now we throw out a Lua error "bad request" properly in this case.
414db1a80 bugfix: accessing a cosocket object from a request which does not create it could lead to segmentation faults. now we throw out a Lua error "bad request" properly in this case. thanks Ross Timson for the report.
382c72010 change: it is now the user's responsibility to clear the captures table for ngx.re.match().
a4db3e1b2 bugfix: we should prefix our chunk names for from-string lua source (which also leads to nicer error messages). thanks Mike Pall for the catch.
6c56337d7 bugfix: init_worker_by_lua should honor the lua_socket_log_errors directive's configuration in the http {} block.
9b18ca311 bugfix: the "resolver" directive's toplevel configuration in the http {} block was not respected by init_worker_by_lua. thanks Heero Zhang for the report.
37c86d67f bumped version to 0.9.6.
be08630ba bugfix: subrequests initiated by ngx.location.capture* with the HEAD method did not result in responses without response bodies. thanks Daniel for the report in #347.
97d916233 updated docs for the 0.9.5 release.
cfc593bb9 test: skipped two invalid test cases that use cosockets beyond the creating request boundary.
3898993eb fixed a bad regressoin in commit 1b615c46.
fb06f3958 fixed a test case that could fail in the "check leak" mode due to GC delays.
1b615c46e bugfix: segfault might happen in the FFI API for destroying compiled pcre regexes, which affects libraries like lua-resty-core.
c6e28fdc0 fixed the waiting time for a test case that could fail on slow machines.
e0c5d58f2 doc: typo fix in a code sample for ngx.req.get_post_args(). thanks Evan for the patch in #344.
880a1c85b refactor: adjusted the globals table handling a little bit.
911c39553 increased the waiting time in two ngx.abort test cases that might fail on slow boxes.
dc8e88cc2 feature: explicitly check Lua langauge version mismatch; we only accept the Lua 5.1 language (for now).
9ef3ca51e removed the spdy mode check from ngx.location.capture*() to renable this API again for SPDY requests.
d74878969 bugfix: an attempt to fix subrequests initiated by ngx.location.capture*() in the SPDY mode.
48af6433b doc: documented the new ngx.config.nginx_configure() function.
1916d0c2f renamed ngx.config.ngx_configure to ngx.config.nginx_configure.
441d9c28b feature: added new API function ngx.config.ngx_configure() to return the NGINX ./configure arguments string to the Lua land. thanks Tatsuhiko Kubo for the patch in #339.
f86291583 doc: documented the ngx.resp.get_headers() API function.
887f0f99d feature: added new API function ngx.resp.get_headers() for fetching all the response headers. thanks Tatsuhiko Kubo for the patch in #335.
4a0036c07 optimize: coroutine status string look-up is now a bit more efficient by specifying the string lengths explicitly. thanks Tatsuhiko Kubo for the patch in #338.
eab56942a doc: fixed a typo in the doc for coroutine.yield(). thanks Ruoshan Huang for the report.
f7db5fddb doc: fixed linkrot of mod_lua. thanks Tatsuhiko Kubo for the patch in #336.
ec368b46f refactor: removed an unused parameter, "len", in ngx_http_lua_ffi_script_eval_data.
df7bf56af doc: documented the new ngx.worker.pid() API.
7460a8d16 adjusted a test case that could fail on slow machines.
e5c1105be bugfix: fixes for small string buffer arguments in the C API for FFI-based implementations of shdict:get().
4112e749d bugfix: fixed the error message buffer overwrite in the C API for FFI-based ngx.re implementations.
766896378 skipped tests that could fail in the "check leak" testing mode.
3eafa8df1 better context info in the error messages for init_by_lua* and init_worker_by_lua*.
a1c15f46b fixed an erorr message in ngx_http_lua_report.
92219bba5 feature: added new API function ngx.worker.pid() for retrieving the current nginx worker process's pid.
a6e0f512e reindexed the tests in t/058-tcp-socket.t.
6525ec0d0 change: turned off lua_socket_log_errors in init_worker_by_lua*.
2c4534ab2 test: now we require the ngx_lua_upstream module for the test suite.
096e2ff8e doc: updated the "TODO" section to reflect recent changes.
870b9a7f1 test: use smaller port numbers to reduce the chance of conflicting with local ports.
2079446fa bugfix: use of the public C API in other nginx C modules (extending ngx_lua) lead to compilation errors and warnings when the Microsoft C compiler is used. thanks Edwin Cleton for the report.
47836cec1 bugfix: segmentation faults might happen when multiple "light threads" in the same request manipuate a stream cosocket object in turn. thanks Aviram Cohen for the report.
c00535402 bugfix: timers created by ngx.timer.at() might not be aborted prematurely upon nginx worker exit. thanks Hamish Forbes for the report.
1d85a61f6 doc: mentioned ngx.timer.at for doing background jobs in ngx.eof's documentation.
c5c8a1281 doc: markdown formatting fixes from Peter Cawley in #326.
d633e34a3 added a test case to exercise a bug in $args (it requires the setting_args_invalidates_uri patch for the nginx core to pass).
7e96a2dda doc: typo fix from Zheng Ping.
c07aac16e bugfix: fixed some new warnings when using Microsft's C compiler. thanks Edwin Cleton for the patch.
bbaa57d2a doc: added a code example for init_worker_by_lua.
484e7df2f doc: documented init_worker_by_lua and init_worker_by_lua_file. also updated the copyright years.
9fc675f68 added more (passing) tests for init_worker_by_lua*.
356661d6b feature: added new configuration directive, init_worker_by_lua, to run Lua code upon nginx worker process startup.
81daa5356 updated .gitignore a bit.
6ba574878 minor label name fixes.
50f5b1b92 bugfix: the return value sizes of the C functions ngx_http_lua_init_by_inline and ngx_http_lua_init_by_file were wrong.
8c74fb922 bumped version number to 0.9.5.
c18e03c5c refactor: made C functions ngx_http_lua_report and ngx_http_lua_do_call global.
238ace2f7 refactor: abstracted out the ngx_http_lua_create_fake_request function from the ngx.timer code base.
b90bb2a57 refactor: abstracted out the ngx_http_lua_create_fake_connection function from the ngx.timer code base.
6169a191d documented the 5th optional argument, "res_table", for ngx.re.match().
eb43c9c7d doc: fixed the year. it is 2014 now :)
388094027 updated docs to reflect recent changes.
b4fe8acdd bugfix: when ngx_http_lua_get_co_ctx returns NULL, it no longer means that the coroutine is dead.
5581dedcb added a test to exercise the bug in nginx's resolver that domain names with a trailing dot is rejected.
c27f65b2b updated tests to reflect the changes in commit 60999efe3.
60999efe3 bugfix: segmentation fault might happen when the downstream cosocket objects were GC'd. this regression had appeared in commit e768e151ab3.
2444f32db ngx.shared: improved the error handling in incr() a bit.
e768e151a bugfix: segfault might happen when aborting a "light thread" pending on downstream cosocket writes. thanks Aviram Cohen for the report.
594830073 ngx.re: added the whole regex flags string to the error message when there is an unknown regex flag.
b8efc2749 added a (passing) test for error status to improve code coverage.
01f3cef14 reindexed the test file 043-shdict.t.
f6d309ffd shdict: improved the error handling a bit and also added more (passing) tests.
5bf928ede ngx.var: added a (passing) test for writing to a non-changeable nginx variable.
c3d8da376 ngx.var: improved the error handling a bit.
4c1d0bd10 feature: ngx.escape_uri() and ngx.unescape_uri() now accept a nil argument, which is equivalent to an empty string.
a4323aab8 shdict: improved the error handling a bit and also increased the tests' code coverage.
0afaeec3d added (passing) tests for using lua numbers in response header names and values for the ngx.header.HEADER API.
76fc8a7c8 feature: added new pure C API, ngx_http_lua_ffi_max_regex_cache_size, for FFI-based implementations like lua-resty-core.
dce53afc6 feature: added the optional 5th argument to ngx.re.match() which is the user-supplied result table for the captures.
ed3e68fc0 added a (passing) test for providing the resulting match table to ngx.re.match().
73d74a094 added (passing) tests for feeding lua numbers to ngx.md5(), ngx.md5_bin(), and ngx.sha1_bin().
2d0f587ec ngx_http_lua_ffi_set_ctx_ref: return the error code NGX_HTTP_LUA_FFI_NO_REQ_CTX properly.
52dfc3fbf refactor: avoided the magic error code -3 in ngx_http_lua_ffi_get_ctx_ref.
7e7b944ad change: ngx.decode_base64() now only accepts string arguments.
fc52e157e Merge pull request #322 from zh-ang/master
1b96235e5 reduce compiling warning(avoid halting compiling)
c50f3cd3c doc: documented that the coroutine.* API can be used in init_by_lua since 0.9.2. thanks Ruoshan Huang for the reminder.
26c1accef tweaked a test case that could fail randomly on slow machines.
eafad2990 bugfix: we did not set the shortcut fields in r->headers_in for request headers in our subrequests created by ngx.location.capture*(). thanks Aviram Cohen for the original patch in #318.
f64993565 optimize: we no longer clear the lua_State pointers for dead "light threads" such that their coroutine context structs could be reused by other "light threads" and user coroutines.
8f4c48532 bugfix: coroutines might incorrectly enter the "dead" state even right after creation with coroutine.create(). thanks James Hurst for the report.
8d1459812 minor debugging log tweaks.
80c8bc0aa reindexed test file t/041-header-filter.t.
3f8a592ac feature: allow use of ngx.exit() in the context of header_filter_by_lua*. but in this context ngx.exit() returns immediately.
9b76f74de updated the tests to reflect recent changes in ngx.exit().
f364c8203 fixed incompatiblities in nginx 1.5.8 which breaks the resolver API in the nginx core.
5a4199bb9 bugfix: we might try sending the response header again in ngx.exit() when the header was already sent.
20c41e1ad version bump.
779702a17 fixed issues in the test suite exposed by nginx 1.5.7.
0787f2c2a fixed the tests for truncated subrequests to reflect the changes in nginx 1.5.3+.
685f5eaf7 bugfix: subrequests initiated by ngx.location.capture() might send their own response headers more than once. this issue might also lead to the alert message "header already sent" and request aborts when nginx 1.5.4+ was used.
4f2b35ddb doc: bumped version to 0.9.3 and also stated that we work with nginx 1.4.4.
31e221279 doc: documented the new behavior regarding zero-delay timers upon nginx worker process exiting.
6e4a22b52 doc: documented the ngx.worker.exiting() API.
3c5e109e3 bugfix: ngx.req.set_header() did not completely override the existing request header with multiple values. thanks Aviram Cohen for the report in #314.
0b9558cb1 bugfix: fixed compilation warnings when ngx_devel_kit is missing in the build.
02abcec8a doc: minor formatting fixes in the markdown version.
d11dda108 added test cases for commit 2a121317.
04a7a2cca use Test::Nginx::Socket::Lua from the test-nginx project in our test suite.
de86661c6 fixed the test plan in 025-codecache.t.
af1b72ec1 bugfix: when lua_code_cache was off and timers created by ngx.timer.at() was exceeding the lua_max_running_timers limit, memory leak would happen. this bug had appeared in the new per-request Lua VM refactoring.
1de82ab6e bugfix: memory leak would happen in the pure C API function ngx_http_lua_ffi_destroy_regex for FFI-based ngx.re implementations.
2a121317d bugfix: when lua_code_cache is off, per-request Lua VMs should inherit package.path and package.cpath from the global Lua VM because the LUA_PATH and LUA_CPATH environments might not be inherited by nginx worker processes. thanks leaf corcoran for the report.
182042386 refactor: introduced the type ngx_http_lua_ffi_str_t for FFI-based APIs.
5ed4aa8b8 bugfix: modifying request headers in a subrequest could lead to assertion failures and crashes. thanks leaf corcoran for the report and test cases.
d37d7475f refactor: removed the useless "conf" field from ngx_http_lua_socket_pool_t.
69b0e98dc refactor: cleaned up the code for Lua VM instance management.
f61d7ba10 bugfix: turning off lua_code_cache and using cosocket connection pools might lead to memory issues (like segfaults). this regression had appeared in commit 5fc80b5b0. thanks Zheng Ping for the report.
77fb07257 better debugging logs for "lua_code_cache off" and better test cases.
4eade0689 doc: tweaked the wording for lua_code_cache a bit more.
26e148a0a removed an unimportant subtest from 025-codecache.t.
80944815a doc: updated the docs for lua_code_cache to reflect recent changes.
9a9c511fe added more tests for "lua_code_cache off".
250ab0892 added more debugging logs to the (global) Lua VM instance managing code.
5fc80b5b0 bugfix: turning off lua_code_cache could lead to memory issues (segfaults and LuaJIT assertion failures) when Lua libraries using LuaJIT FFI were loaded. now we always create clean separate lua VM instances for every Nginx request when the Lua code cache is disabled. thanks Ron Gomes for the report.
8acecfef6 refactor: introduce the ngx_http_lua_get_main_lua_state function to abstract away where the global lua state is stored.
f07a73ef5 refactor: made the main Lua VM state creation and initialization code detached from the configuration loading phase.
bb9b2b341 feature: added pure C API for FFI-based implementations of the ngx.header.HEADER API (the write part).
d87ded2fe fixed an issue in commit 8e6b4e3cb7: cygwin linker only issues a warning about the use of -E rather than an error, so our previous feature test for -E always succeeds. thanks Heero Zhang for the report.
9dd88ffcd bugfix: fixed compiler warnings and errors when using the Microsoft Visual C++ compiler. thanks Edwin Cleton for the report.
5a9a6f1cc feature: added pure C API functions for FFI-based implementations for ngx.req.get_uri_args().
8e6b4e3cb bugfix: the linker option -E is not support in Cygwin's linker; we should test --export-all-symbols when -E is unavailable. thanks Heero Zhang for the report.
5d7e08ce0 documented the new "nth" argument for ngx.re.find.
6213b040c bugfix: ngx.re.find: fixed the case when "nth" is greater than or equal to "rc" but not exceeds the number of captures.
a8c0b5f2b bugfix: ngx.re.find: we incorrectly returned negative indexes for nil submatch captures; also we returned the "nth out of bound" when there was a trailing nil submatch capture.
27b804d4c bugfix: ngx.re.find() did not return an error when the "nth" argument is out of bound.
55adcc6b0 feature: ngx.re.find() now accepts the optional 5th argument "nth" to control which submatch capture's indexes are returned. thanks Lance Li for the feature request in agentzh/lua-resty-core#1.
590ac5c94 updated the test suite to reflect recent changes in Test::Nginx.
5e0db0e9a fixed the "ngx" table preallocation space.
014de9d9b doc: typo fix from Zheng Ping.
77f24ba4a fixed a test case in t/014-bugs.t.
513051779 bugfix: 0-delay timers created after the worker starts shutting down should not always expire prematurely.
002b68ec7 feature: added new API function ngx.worker.exiting() for testing if the current worker process is exiting.
4d6dc5804 feature: allow creating 0-delay timers upon worker process existing.
e5f63816b doc: more formatting tweaks.
55623aca7 doc: fixed regressions in the markdown version.
f5b78fc80 doc: markdown: removed unnecessary indentation from code samples.
159be4c9b doc: documented how to link against a static library (or object file archive) consisting of (many) compiled Lua module files.
736fce1ad doc: added new section "Statically Linking Pure Lua Modules".
5cb9d9d48 doc: mention LuaJIT 2.1 wherever we mention LuaJIT 2.0.
98f9420bf added ljson.lua for the test suite so that we can have sorted keys in the JSON encoded output.
9401a60cb fixed the table pre-allocation space for the ngx.config table.
86a08bab4 documented the new ngx.config.nginx_version and ngx.config.ngx_lua_version API.
797fa5cac feature: added new API for version numbers of both nginx and the ngx_lua module itself: ngx.config.nginx_version and ngx.config.ngx_lua_version. thanks smallfish for the patch.
3748896d6 minor debugging log message tweaks.
e4e085f73 Merge branch 'master' into ffi
93bc3c505 updated docs to reflect the new support for loading LuaJIT 2.1 bytecode directly.
358f9a590 feature: added support for loading LuaJIT 2.1 bytecode files directly in *_by_lua_file directives.
11dee4a44 feature: added pure C API for FFI-based implementations of ngx.req.get_headers.
3e63ceba3 feature: added pure C API for FFI-based implementations for storing operations in the shared dictionaries.
6e0a5c528 bugfix: the FFI API for ngx.var incorrectly used the storage of the input buffer.
15e53e3a1 Merge branch 'master' into ffi
1523ab0ac removed the plain text README file.
622f12aad feature: added pure C API for implementing ngx.var writes via LuaJIT FFI.
6c1e4d621 optimized the default implementation of ngx.headers_sent a bit.
97d6a8c94 feature: added pure C API for FFI-based implementations of ngx.headers_sent.
12920fffb feature: added pure C API for FFI-based implementations of ngx.is_subrequest.
a7a41fd0c feature: added pure C API for FFI-based API for ngx.status.
7358557db feature: added pure C API for FFI-based implementations of ngx.ctx.
7b9d88656 Merge branch 'master' into ffi
d516e4e31 bumped version to 0.9.2.
229a22142 documented the new ngx.config.prefix() API function.
8228e9844 bugfix: reading ngx.header.HEADER could result in Lua string corruptions. thanks Dane Knecht for the report.
1bedc5d4c ngx.re.find now returns a single nil value when no match is found.
2d6cf5c7f documented the new ngx.re.find API function.
d577a63e8 merged branch "master" into "ffi".
87dd3cf15 updated valgrind.suppress a bit.
e454b0b1c Merge branch 'master' into ffi
a44298037 updated .gitignore a bit.
e6db9d3ae added tests for ngx.re.find.
279da4d09 feature: added new API function ngx.re.find, which is similar to ngx.re.match, but only returns the beginning index and end index of the whole match.
91d701d19 updated tests to reflect the fix in commit ccb0cbe0d.
d333a369e minor coding style fixes.
f5944933b updated docs to reflect recent changes.
ccb0cbe0d bugfix: ngx.re.match: the ctx table's "pos" field should start from 1 instead of 0.
8fe00e8fc fixed a test title.
3c0a9d90b add debugging logs for the Lua VM initialization and shutdown.
0c85bec1b removed valgrind suppression rules for LuaJIT.
f4af449f6 updated valgrind.suppress when the sysmalloc is used.
93493ea7d no longer set RPATH for luajit lib in the developer build script; also updated valgrind.suppress for luajit using system malloc.
0bd56bb8c updated valgrind.suppress when the sysmalloc is used.
483a3a9d7 no longer set RPATH for luajit lib in the developer build script; also updated valgrind.suppress for luajit using system malloc.
df91a47b6 bugfix: compilation errors with nginx older than 1.0.0.
642db29e5 Merge branch 'master' into ffi
22f4c67a1 fixed the test plan for 119-config-prefix.t.
5536b8540 merged branch "master" to "ffi".
014c6b51b bugfix: localizing the coroutine.* API functions in init_by_lua* for future use in contexts like content_by_lua* might hang the Lua code. thanks James Hurst for the report in #304.
cd52bd369 feature: added new API function ngx.config.prefix() to return the nginx server prefix path.
c99ebeb4d documented the new lua_use_default_type directive.
a95851bb1 doc: updated the docs for ngx.req.socket(raw) to reflect the recent change that allows reading raw request body data directly.
b6715395c doc: bumped version to 0.9.1; also added a new section "System Environment Variable Support".
594f55bcb added a test case to exercise a bug in ngx_gunzip module with which ngx.flush(true) could hang forever. thanks Maxim Dounin for the catch. to make this test pass, we need the gzip_flush_bug patch applied to the nginx core.
4615fd591 bugfix: use of ngx.exit() to abort pending subrequests in other "light threads" might lead to segfault or request hang when HTTP 1.0 full buffering is in effect.
4ec0347d9 Merge branch 'master' into ffi
b1ec27548 optimize: made ngx.re.match and ngx.re.gmatch faster for LuaJIT 2.x when there is no submatch captures.
9f134736c added a test for accessing $proxy_host and $proxy_port in Lua. this test requires the proxy_host_port_vars patch for the nginx core to pass. thanks saravsars for the report in #301.
b361a101f updated valgrind.suppress to reflect recent changes.
db87600eb doc: added language syntax highlighting to the markdown version.
647706f5b added a test case that exercises a bug in nginx's cache lock, which could lead to infinite request hang when cache_lock_timeout is exceeded. this test requires the cache_lock_hang_in_subreq patch to pass. thanks Akos Gyimesi for the report in #298.
a8396e505 bugfix: downstream write events might interfere with upstream cosockets that are slow to write to. thanks Aviram Cohen for the report.
1f65751fc bugfix: removing a request header might lead to memory corruptions. thanks Bjørnar Ness for the report.
82ba941d2 bugfix: reading the value of ngx.status might get different values than ngx.var.status. thanks Kevin Burke for the report.
1c0a9e831 added a test for using ngx.flush(true) with the standard ngx_gzip module. it could hang in mainline nginx cores older than 1.5.3.
350e38a34 bugfix: the bookkeeping state for already-freed user threads might be incorrectly used by newly-created threads that are completely different. thanks Sam Lawrence for the report.
0f3c249a9 bugfix: calling ngx.thread.wait() on a user thread object that is already waited (i.e., already dead) would hang forever. thanks Sam Lawrence for the report.
dad8ba3ab doc: fixed the context for the lua_package_path and lua_package_cpath directives. thanks duhoobo for the report in #297.
22ba5b114 fixed the test plan in 082-body-filter.t.
9e39cfd62 bugfix: the alert "zero size buf" could be logged when assigning an empty Lua string ("") to ngx.arg[1] in body_filter_by_lua*.
9bae5adf3 refactor: eliminated introducing NULL chain link in body_filter_by_lua*, which simplied the implementation a lot.
45319bfe5 doc: markdown: added lots of "Back to TOC" links to each sections but the beginning ones.
71d42c6d9 doc: markdown: added a "Table of Contents".
b22569669 docs: markdown: made the module name more readable.
d8c8e86c0 docs: markdown: fixed more external links that still point to wiki.nginx.org.
f026151f0 docs: markdown: fixed links that were pointing to wiki.nginx.org, wherever possible.
70ecf928f docs: fixed the links in the markdown source. now they no longer point to the (broken) nginx wiki site.
82cbbd833 bugfix: subrequests initiated by ngx.location.capture* could trigger unnecessary response header sending actions in the subrequest because our capturing output header filter did not set "r->header_sent".
f17fc0941 bugfix: the Lua error when ngx.sleep() was used in log_by_lua* was not friendly. thanks Jiale Zhi for the report.
39ac6421a bugfix: ngx.req.set_header("Host", value) would overwrite the value of $host with bad values. thanks aviramc for the patch in #293 (and issue #292).
335ad8cc9 added a code comment regarding the "active_connections" field in ngx_http_lua_socket_pool_t.
b41f546c7 fixed the preallocation size for the "coroutine" Lua table.
9a986c9f9 Merge branch 'master' into ffi
ca90ef434 optimize: pre-allocate space for the resulting Lua tables in ngx.location.capture*.
054444dd4 optimize: preallocate some space in our Lua registry tables to reduce the initial requests' "warm-up" time a bit.
0b3c47a3b optimize: preallocate the space for the metatable for the global environment table for header_filter_by_lua*, body_filter_by_lua*, and log_by_lua*.
101f8d9ed optimize: preallocate 4 hashtable slots in the ngx.ctx tables.
ace93e66f optimize: preallocate space for the "ngx.thread" lua table during API initialization.
d7e8ff8ca resolved a merge conflict.
136087f32 optimize: preallocate space for the "coroutine" lua table.
bc8496447 optimize: preallocate space for the "coroutine" lua table.
330fe6e59 merged "master" into "ffi".
c304f3592 bugfix: when there were no existing Cache-Control response headers, "ngx.header.cache_control = nil" would (incorrectly) create a new Cache-Control header with an empty value. thanks jinglong for the patch.
01bf02aa0 bugfix: the original lettercase of the header name was lost when creating the Cache-Control response header via the ngx.header.HEADER API.
487618a80 bugfix: header_filter_by_lua*, body_filter_by_lua*, and ngx.location.capture* might not work properly with multiple http {} blocks in nginx.conf. thanks flygoast for the report in #294.
bc43c4367 docs: added more explanation on subrequests' request body handling. thanks Jędrzej Nowak for the suggestion.
cd669b556 made a test case in 024-access/client-abort.t less possible to fail due to timing errors.
fc03bfec3 bugfix: now ngx.req.socket(raw) returns proper error when there is some other "light thread" reading the request body.
ebf9cc867 feature: now the raw request cosocket returned by ngx.req.socket() no longer requires the request body to be read already, which means that one can use this cosocket to read the raw request body data as well. thanks aviramc for the original patch.
374096296 added tests for the new lua_use_default_type directive.
e5d47c448 bugfix: we always printed the "lua hit request header limit" debug log message even when the limit is not hit at all. this regression had appeared in commit d8a266497a.
789e36b49 feature: added the new configuration directive "lua_use_default_type" for controlling whether to send out a default Content-Type response header (as defined by the "default_type" directive). default on. thanks aviramc for the patch in #286.
d8a266497 optimize: now we pre-calculate the exact size of the resulting Lua table and preallocate the table space, which makes it 8%+ faster for a request with a dozen request headers and 40%+ faster for a hundred request headers.
f99825624 reindexed the 025-codecache.t test file.
2063a94b2 docs: bumped version to 0.9.0 and mentioned lua-resty-websocket and lua-resty-lock.
eabadd9b2 docs: documented the new ngx.req.socket(true) API, upon which fancy protocols like WebSocket can be implemented.
04e53ee37 bugfix: Lua VM might run out of memory when lua_code_cache is off; now we always enforce a full Lua GC cycle right after unloading most of the loaded Lua modules when the Lua code cache is turned off.
8e6c9a312 change: raised the "lua_code_cache is off" warning to an alert.
c4657a35b feature: now we allow use the raw request cosocket returned by ngx.req.socket(true) to send the raw HTTP response header. thanks aviramc for requesting this in #242. also we now always enable "lingering close" in the nginx core when raw req sockets are used.
42567bd24 docs: made the "Test Suite" section up to date (I hope).
7720bc7d9 removed the ngx_upstream_keepalive module from the developer build script because it has been included in the official nginx distribution.
5dfd54714 tests: removed the "single" option from the "keepalive" directive because it is not a public feature.
095ed4a23 bugfix: compilation regressions with nginx older than 1.3.13, introduced recently by the ngx.req.socket(true) API.
0387a89e7 bugfix: Windows compatibility issue in the Lua/LuaJIT bytecode file loader: it assumed that ngx_fd_info accepts integral fd as the 1st argument. thanks Edwin Cleton for the report (#283) and thanks jinglong for the original patch in #284.
a41567b64 bugfix: the standard Lua coroutine API was not available in the context of init_by_lua* and threw out the "no request found" error. thanks Wolf Tivy for the report.
c6b6b315d more warning fixes for the Microsoft Visual C++ compiler. thanks Edwin Cleton for the report.
585e7af92 bugfix: fixed most of the compiler warnings from the MinGW C compiler, some of which are real overflow issues. thanks Edwin Cleton for the report.
33832b1f7 fixed bad request header lines in the tests in 116-raw-req-socket.t, which caused test bailout in the "check leak" testing mode.
a0ff19221 bugfix: memory invalid reads might happen when ngx.flush(true) was used: the "ctx" struct could get freed in the middle of processing and we should save the state explicitly on the C stack.
19f6f2f36 Merge branch 'master' into websocket
add6df63b Merge branch 'master' into ffi
e78dea9e0 bumped version to 0.8.10.
1d4c76d17 bugfix: we did not declare the "level" local variable of ngx_http_lua_ngx_log at the beginning of the code block. thanks Edwin Cleton for the report.
db35efd18 docs: documented more limitations in the current implementation.
a98ff5f80 docs: avoided using module() and also recommended the lua-releng tool to locate misuse of Lua globals.
c218ed706 testing: fixed the stap probes for the new ffi implementation.
8fdfc7983 bugfix: use of the ctx->headers_sent field that was already removed.
ca27b9e36 Merge branch 'master' into ffi
6597dc591 Merge branch 'master' into websocket
a641101a5 bumped version to 0.8.9.
235875b5c refactor: removed our own ctx->headers_sent field because we should used r->header_sent instead.
4256020e4 Merge branch 'master' into websocket
95e293160 bugfix: the "pool" option value could not be nil in tcpsock:connect().
7b726b32c change: we now temporarily disable the Lua API functions ngx.location.capture, ngx.location.capture_multi, and ngx.req.socket that are known to have problems with the SPDY requests for now. we will fix them eventually in the near future.
0557e44aa Merge branch 'master' into websocket
22e09118b bugfix: the nginx core does not send a default status line for 101 status code. now we construct one for 101.
8bbd6aae2 bugfix: the nginx core does not send a default status line for 101 status code. now we construct one for 101.
876beeef5 Merge remote-tracking branch 'origin/master' into websocket
36157b4cd bugfix: tcpsock:receive(0) could hang when no data arrived; now it always returns an empty string immediately. this new behavior diverges from LuaSocket though.
aa2104931 Merge remote-tracking branch 'origin/master' into websocket
38ebe9a31 bugfix: we did not honor the tcp_nodelay config directive in the raw downstream cosockets.
5b7c567cb documented the "always_forward_body" option for ngx.location.capture() and ngx.location.capture_multi().
4c6dc4f7a updated docs to reflect recent changes.
410930fa3 feature: added support for raw downstream cosocket via the ngx.req.socket(true) API, upon which http upgrading protocols like WebSocket can be implemented with pure Lua.
55776b7b5 tests: use larger timeout settings to account for slow DNS servers.
ba7c1766b fixed those recently-added test cases that could fail in slow testing modes on slow machines.
0f7948d52 bugfix: we did not escape \z, \t, and \b properly in ngx.quote_sql_str().
6e4b5745a bugfix: the null character ('\0') was not escaped in ngx.quote_sql_str() according to the MySQL quoting rules. thanks Siddon Tang for the report.
fe3c318fa change: we now limit the number of nested coroutines in the backtrace dump for uncaught Lua exceptions by 5.
7c5e3548a bugfix: Lua backtrace dumps upon uncaught Lua exceptions did not work with the standard Lua 5.1 interpreter when the backtrace was deeper than 22 levels. now we just dump the top 22 levels in the backtrace for simplicity. also optimized the Lua string concatenation operations when constructing the backtrace string.
2926596a2 feature: now timeout errors in tcpsock:receive() and the reader returned by tcpsock:receiveuntil() no longer close the current cosocket object automatically. thanks Aviram Cohen for the original patch.
1a9f044dc now we allow application of the mockeagain reading mode to the test files that require the mockegain writing mode.
438bbca78 added a (passing) test for recalling the send() method on the same tcp cosocket object right after a send timeout error happens.
75d2524ba added a (passing) test for recalling the connect() method on the same tcp cosocket object right after a connecting timed out error happens.
45f430a00 feature: added new option "always_forward_body" to ngx.location.capture(), which controls whether to always forward the parent request's request body to the subrequest.
9d5bb2aa5 refactor: made the "processing flushing coroutines" process a separate C function.
37a502108 minor code refactoring to make the ngx_http_lua_wev_handler function shorter.
29a253b55 Revert "bugfix: ngx.flush(true) might hang when there was a buggy output body filter. now we only test the condition "r->connection->buffered & NGX_LOWLEVEL_BUFFERED"."
4ed6e7a54 bugfix: ngx.flush(true) might hang when there was a buggy output body filter. now we only test the condition "r->connection->buffered & NGX_LOWLEVEL_BUFFERED".
539a3021f one minor optimization in ngx.req.socket().
138bc9d91 documented the new ngx.config.debug API and also updated docs to reflect other recent changes.
db7a8c90c feature: added new FFI C API function ngx_http_lua_ffi_var_get for reading ngx.var.VARIABLE.
b6d19752e feature: added new FFI C API ngx_http_lua_ffi_shdict_incr for shdict:incr().
6473e2242 minor coding style fixes.
e7f3b0264 feature: added new FFI C API for shdict:get(). also we use double instead of lua_Number when storing Lua numbers into shdict.
b68729345 bugfix: the FFI C API function ngx_http_lua_ffi_compile_regex could leak memory when pcre failed to compile the regex pattern argument.
d9400dc43 skipped the regex tests for checking bad data types, which cannot pass with lua-resty-core.
6227668ef bugfix: the FFI version of the PCRE API did not generate debug logs indicating the result of PCRE JIT compilation.
65010dd09 feature: added support for lua_regex_match_limit in the FFI C API function for PCRE.
527009f21 Merge remote-tracking branch 'origin/master' into ffi
c75204927 optimize: fixed the initial table sizes for "ngx", "ngx.config", and "ngx.re".
9577e5fc5 feature: added new API ngx.config.debug to indicate whether this is a debug build of nginx.
021645c5e Merge remote-tracking branch 'origin/master' into ffi
fdec27035 fixed test cases that tried to send the response header twice, which were caught by nginx 1.5.4.
3e049c594 minor cleanup in a recently added test case.
1e13a16b3 minor refactoring in the closure factory.
c9a04a9c2 bugfix: when a Lua line comment was used in the last line of the inlined Lua code chunk, a bogus Lua syntax error would be thrown.
d9a48d86c bugfix: the error message for failures in loading inlined Lua code was misleading.
a0343434b bugfix: ngx.exit(204) could try to send the response header for twice. nginx 1.5.4 caught this issue.
f4c4667b5 fixed a potential test failure in a recently added test case in 025-codecache.t.
3abd78b2f Merge branch 'master' into ffi
e549fc2df feature: log_by_lua now always runs before the standard ngx_http_log_module (for access logging). thanks Calin Don for the suggestion in #254.
334afb35d fixed a test case index number in 025-codecache.t.
b3734f002 bugfix: the global Lua state's _G table was cleared when lua_code_cache was off, which could confuse the setup in init_by_lua. thanks Robert Andrew Ditthardt for the report in #257.
4042f7bd6 bugfix: ngx.flush() triggered response header sending when the header was not sent yet. now it just returned the error string "nothing to flush" for this case. thanks linbo liao for the report.
940429a5c bumped version to 0.8.6.
2db5028ad bugfix: segfaults would happen in ngx.req.set_header() and ngx.req.clear_header() for HTTP 0.9 requests. thanks Bin Wang for the report in agentzh/headers-more-nginx-module#14.
65d4b419b minor test fixes.
e72ab1dba minor coding style fixes.
c7237efd8 made the test for shdict:get_stale less possible to fail.
7dbd2a511 bugfix: reading ngx.header.location did not work when auto-redirect was in action. this is a further fix for #260.
547d29946 bugfix: segfault might happen when reading or writing to a response header via the ngx.header.HEADER API in the case that the nginx core initiated a 301 redirect. this issue was caused by an optimization in the nginx core where ngx_http_core_find_config_phase, for example, does not fully initialize the "Location" response header after creating the header. thanks Vladimir Protasov for the report in #260.
e0626c312 added tests to improve the code coverage in file ngx_http_lua_headers_out.c.
87a4f346b documented the new "get_stale" method for shdict objects.
424232deb updated docs to reflect recent changes.
124f50fd4 feature: added new method "get_stale" to shared dict objects, which returns the value (if not freed yet) even if the key has already expired. thanks Matthieu Tourne for the patch in #249.
2f5ebebcd bugfix: the "connect() failed" error message was still logged even when lua_socket_log_errors was off. thanks Dong Fang Fan for the report.
52f48e076 bugfix: we incorrectly returned 500 in our output header filter, body filter, and log-phase handlers upon inlined Lua code loading errors. bugfix: Lua stack overflow might happen when we failed to load inlined Lua code from the code cache.
c7a52824a more coding style fixes.
abaa7f427 more coding style fixes.
e4641a3c7 more coding style fixes.
5edc4b3fc one minor coding style fix. thanks Guanlan Dai.
c6426fb5e fixed the test plan in t/033-ctx.t.
0aa9332f5 bugfix: we incorrectly returned 500 in our output header filter, body filter, and log-phase handlers upon errors. bugfix: Lua stack overflow might happen when we failed to load Lua code from the code cache.
629330431 bugfix: memory leak would happen when using ngx.ctx before another nginx module (other than ngx_lua) initiates an internal redirect.
32aadb76d fixed a test case.
e24ffb751 bugfix: use of the ngx.ctx table in the context of ngx.timer callbacks would leak memory.
ffe89f226 refactor: abstracted the ngx.ctx releasing logic to eliminate code duplication.
00c5fb411 one minor coding style fix.
6859f6f8b minor error message fixes in the Lua code cache.
197332049 added a (passing) test for using .lua files with a shebang line in the content_by_lua_file directive.
d1c654b3e bugfix: the error message was misleading when the *_by_lua_file directives failed to load the Lua file specified.
fb38e4b27 various coding style fixes in the closure factory.
1db1e71f1 refactor: removed the useless code for reading Lua code from stdin.
fadd28a11 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
918f9a239 refactor: removed the unused C function ngx_http_lua_clfactory_loadstring.
df35583dd Merge pull request #262 from cubicdaiya/issues/traditional_definition
60902726d give the argument of 'void' to function definitions which has no arguments
eecb52bc4 bugfix: when our atpanic handler for Lua VM gets called, the Lua VM is not recoverable for future use. so now we try to quit the current nginx worker gracefully so that the nginx master can spawn a new one.
0d8143091 bumped version to 0.8.5.
4516e5adf docs: documented the memory freeing behavior of shdict:flush_all and shdict:flush_expired.
f36a35d39 documented the lua_regex_match_limit directive.
9d017a21e feature: added new directive lua_regex_match_limit for setting PCRE match_limit for regex matching.
0aca2046f bugfix: when compiling with -DDDEBUG=1, there was a compilation error in ngx_http_lua_uthread.c. thanks tigeryang for the report in #259.
8708f604f docs: typo fixes in the code sample for body_filter_by_lua. thanks cyberty for reporting this issue as #261.
fe467e52b bugfix: the ngx.ctx tables would leak memory when ngx.ctx, ngx.exec()/ngx.req.set_uri(uri, true), and log_by_lua were used together in a single location. thanks Guanlan Dai for writing the gdb utils to catch this.
a184a9111 util/build2.sh: default to nginx 1.4.1 now.
76c2427ac test: made the resolver less possible to time out in two test cases.
4656a290b docs: bumped version to 0.8.4; also mentioned Nginx Systemtap Toolkit.
4d27348cc bugfix: tcpsock:send("") resulted in the error log alert message "send() returned zero".
6977e9518 bugfix: setting ngx.var.VARIABLE could lead to stack buffer over-read in luaL_error when an error happened.
25ef1f942 feature: added pure C API for ngx.exit, which is expected to be used with LuaJIT FFI (or lua-resty-core in particular). also added coroutine._yield for the original std version of coroutine.yield.
d86d3dc6f Merge remote-tracking branch 'origin/master' into ffi
5e256f8bf refactor: now we store the nginx request object as a named Lua global variable __ngx_req to help FFI-based Lua code access it.
d82196f7f bugfix: t::TestNginxLua: env TEST_NGINX_INIT_BY_LUA would break existing init_by_lua_file directive in the test case.
0e5d1a892 Merge branch 'master' into ffi
569cabe17 refactor: no longer store cf->log into the lua registry table because we can directly access the global ngx_cycle->log thing.
d9e3e8fee refactor: added inline functions ngx_http_lua_get_req and ngx_http_lua_set_req to eliminate code duplication when storing or fetching the nginx request object from the lua global variable table.
fe27fc2a4 updated README.markdown to reflect recent changes in docs.
f05ef37b9 optimize: avoided use of the nginx request objects in ngx.encode_args.
5a0bb76e6 optimize: avoided use of the nginx request objects in ngx.escape_uri, ngx.unescape_uri, ngx.quote_sql_str, ngx.decode_base64, ngx.encode_base64, and ngx.decode_args.
488ab67c0 Merge branch 'master' into ffi
d8aa2feda updated docs to reflect recent changes.
ff9580dd3 bugfix: ngx.flush(true) might not return 1 on success.
5a880aea9 change: made ngx.say/ngx.print/ngx.eof/ngx.flush/ngx.send_headers return nil and a string describing the error in case of most of the common errors (instead of throwing out an exception), and return 1 for success.
cf4f62a62 updated .gitignore a bit.
b07a3d3c5 fixed failing test cases to reflect the multi-value header change in nginx 1.4.1.
f40a50427 tests: replaced the domain name "direct.agentzh.org" with "agentzh.org".
34f4042f2 Revert "bugfix: use of LuaJIT FFI when disabling the Lua code cache would lead to LuaJIT GC assertion failures like "g->gc.total == sizeof(GG_State)" because we unloaded the standard "ffi" module. thanks Ron Gomes for reporting this issue."
b3218be26 bugfix: use of LuaJIT FFI when disabling the Lua code cache would lead to LuaJIT GC assertion failures like "g->gc.total == sizeof(GG_State)" because we unloaded the standard "ffi" module. thanks Ron Gomes for reporting this issue.
48067c830 feature: added pure C API for ngx.re.sub and ngx.re.gsub, which is expected to be used by lua-resty-core and etc.
ef8779b18 Merge remote-tracking branch 'origin/master' into ffi
39151875d updated docs to reflect recent changes.
63a9915d3 added (passing) tests for use of the $invalid_referer variable in Lua. this requires the patch invalid_referer_hash for the nginx core (for now). thanks Fry-kun for reporting this issue as github #239.
f50c7789b bugfix: a test case would fail when TEST_NGINX_PORT was set to port numbers other than 1985.
9e4f9272d Merge remote-tracking branch 'origin/master' into ffi
603c7a479 refactor: made the error messages for replacement template compilation failures less verbose in ngx.re.sub and ngx.re.gsub.
52bc57345 Merge remote-tracking branch 'origin/master' into ffi
bd679f20e refactor: save the ngx_log_t pointer instead of the ngx_http_request_t pointer in ngx_http_lua_script_engine_t. this will make the new FFI-based Lua API easier to implement.
f20bc6610 added custom test scaffold t::TestNginxLua which subclasses Test::Nginx::Socket. it supports the environment TEST_NGINX_INIT_BY_LUA which can be used to add more custom Lua code to the value of the init_by_lua directive in the nginx configuration.
300b167bd fixed a test that may time out unexpectedly.
5cd82926f bugfix: no longer automatically turn underscores (_) to dashes (-) in header names for ngx.req.set_header and ngx.req.clear_header. thanks aviramc for the report.
9cfcb06ba bugfix: segmentation fault might happen in nginx 1.4.x when calling ngx.req.set_header on the Cookie request headers because recent versions of nginx no longer always initialize r->headers_in.cookies. thanks Rob W for reporting this issue as #237.
06da40f9b style: fixed one line's indentation.
71e16c46d added custom test scaffold t::TestNginxLua which subclasses Test::Nginx::Socket. it supports the environment TEST_NGINX_INIT_BY_LUA which can be used to add more custom Lua code to the value of the init_by_lua directive in the nginx configuration.
1f1a31c7b feature: added pure C API for ngx.re.match, which is expected to be used by lua-resty-core and etc.
170d8f9d7 bugfix: ngx_http_lua_ffi_escape_uri did URI unescaping instead of URI escaping.
1bf2344ca Merge remote-tracking branch 'origin/master' into ffi
31a80431c fixed some expected error messages in the ngx.re test cases for Lua implementations of the ngx_lua API like lua-resty-core.
e8ec21e9a Merge remote-tracking branch 'origin/master' into ffi
9b8a7b5e0 change: made more error messages for regex exec failures less verbose.
a80d4e1d6 Merge remote-tracking branch 'origin/master' into ffi
5c5a0a87b change: made the error messages for regex exec failures less verbose.
ece37a98e Merge remote-tracking branch 'origin/master' into ffi
35e6a65f9 change: made the error messages for regex compilation failures less verbose.
0e9fbdfb7 Merge remote-tracking branch 'origin/master' into ffi
4806fc2ee bugfix: fixed the warning "argument 'nret' might be clobbered by 'longjmp' or 'vfork'" when compiling with Ubuntu 13.04's gcc 4.7.3. thanks jacky and Rajeev's reports.
41e3c2f5b docs: documented the new WebDAV request methods; also fixed a small typo.
b4c2ad1f8 feature: added ngx.HTTP_MKCOL, ngx.HTTP_COPY, ngx.HTTP_MOVE, and other WebDAV request method constants; also added corresponding support to ngx.req.set_method and ngx.location.capture. thanks Adallom Roy for the patch.
601ddff37 optimize: ngx.escape_uri now runs faster when the input string contains no special chars to be escaped.
b7b728926 bugfix: temporary memory leaks might happen when using ngx.escape_uri, ngx.unescape_uri, ngx.quote_sql_str, ngx.decode_base64, and ngx.encode_base64 in tight Lua loops because we allocated memory in nginx's request memory pool for these methods.
f442858bb minor coding style fixes and micro optimizations in ngx.md5, ngx.encode_base64, and ngx.decode_base64.
1cc76f597 feature: allow injecting new APIs into the "ngx" table.
c04c51a23 bugfix: ngx.req.set_body_file() always enabled Direct I/O which caused the alert message "fcntl(O_DIRECT) ... Invalid argument" in error logs on file systems lacking the Direct I/O support. buffer corruption might happen in ngx.req.set_body_file() when nginx upstream modules are used later because ngx.req.set_body_file() incorrectly set r->request_body->buf to the in-file buffer which could get reused by ngx_http_upstream for its own purposes. thanks Matthieu Tourne for reporting this issue.
5cb2b4946 feature: added pure C API for ngx.escape_uri and ngx.unescape_uri, which is expected to be used by lua-resty-core and etc.
0ab77f964 feature: added pure C API for ngx.encode_base64 and ngx.decode_base64, which is expected to be used by lua-resty-core and etc.
c355f0b5b bugfix: failed to compile when SHA1 support is missing. this regression had appeared in cea321f7f9e2614c9e0932e367d15502507fa7e9.
6ef7cef0d feature: allow injecting new APIs into the "ngx" table.
cea321f7f added pure C API for ngx.md5, ngx.md5_bin, ngx.sha1_bin, which is expected to be used with LuaJIT FFI (or lua-resty-core in particular). such API can be excluded by specifying the C macro NGX_HTTP_LUA_NO_FFI_API.
34411875f added error log checks to the bytecode tests.
e7dff1b30 updated the docs in plain text and markdown format to reflect recent changes.
c558c4347 bumped version to 0.8.1.
04c81b1f8 minor coding style fixes.
65ff8d86d fixed a test case that may behave slighly differently on slow machines.
790a74e04 bugfix: when lua_http10_buffering is on, for HTTP 1.0 requests, ngx.exit(N) would always trigger the nginx's own error pages when N >= 300. thanks Matthieu Tourne for reporting this issue.
3052bcd8a updated .gitignore a bit.
f41226883 refactor: removed the unused parameter, "no_create", from the ngx_http_set_header_helper function.
30cbc3307 fixed several places in the header API where we should return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR.
d1eca0c72 fixed one test case's title.
7695a31e0 documented the new "U" regex option for the ngx.re API.
7e515f189 bugfix: modifying the Cookie request headers via ngx.req.set_header or ngx.req.clear_header did not update the Nginx internal data structure, r->headers_in.cookies, at the same time, which might cause issues when reading variables $cookie_COOKIE, for example. thanks Matthieu Tourne for the patch.
0ac676f65 feature: added the "U" regex option to the ngx.re API to mean enabling the UTF-8 matching mode but disabling UTF-8 validity check on the subject strings. thanks Lance Li for the patch in #227.
766563fba one minor coding style fix.
b90e7dd1a bugfix: modifying the Via request header with ngx.req.set_header/ngx.req.clear_header did not update the special field r->headers_in.via when the ngx_gzip module was enabled.
97425f8dc bugfix: ngx.req.set_header/ngx.req.clear_header did not update the special field r->headers_in.x_real_ip when the ngx_realip module was enabled. thanks Matthieu Tourne for the patch.
a07df6151 bugfix: modifying the Connection request header via ngx.req.set_header or ngx.req.clear_header did not update the special internal flags in the Nginx core, "r->headers_in.connection_type" and "r->headers_in.keep_alive_n". Thanks Matthieu Tourne for the patch.
55555a78a bugfix: modifying the User-Agent request header via ngx.req.set_header or ngx.req.clear_header did not update those special internal flags in the Nginx core, like "r->headers_in.msie6" and "r->headers_in.opera". Thanks Matthieu Tourne for the patch.
2aa12ab3d bumped version to 0.8.0.
656551e61 documented ngx.timer.at, lua_max_pending_timers, lua_max_running_timers, and other recent changes.
6afcc17ff feature: ngx.get_phase() now returns the string "timer" when being invoked within a user callback function for ngx.timer.*.
d98a193d4 added a (passing) test for using ndk.set_var.* in the context of ngx.timer callbacks.
d997f7401 refactor: replaced "ngx_lua_" with "ngx_http_lua_" in the identifiers used in ngx_http_lua_regex.c.
d43a39c59 bugfix: setting ngx.header.etag could not affect other things reading the ETag response header (like the "etag" directive introduced in nginx 1.3.3+). thanks Brian Akins for the patch in #213.
e2d299e50 Merge branch 'timer'
f081f212d bumped version to 0.7.21.
b2ae68b7a merged "master" into "timer".
6717d1153 feature: added support for user arguments to the user callback function specified in ngx.timer.add(); the user callback function has the prototype "function(premature, user_arg1, user_arg2, ...)".
26d679f8d bugfix: ngx.req.raw_header() would return an empty string value when the default header buffer (c->buffer) can hold the request line but not the whole header. thanks KDr2 for reporting this issue in #229.
10edc8cb0 added a passing test for calling ngx.timer.at() after HUP reload.
069f07541 feature: when the nginx worker process is quitting (as in server shutdown or HUP reload), all the pending ngx.timer timers expire immediately and their Lua callbacks get called with a true value as the first argument (to indicate whether it is a premature expiration or not).
f820e5476 Merge branch 'master' into timer
4e8c4bfcb bugfix: boolean values in an array table were rejected with the exception "attempt to use boolean as query arg value" while encoding a lua (hash) table as URL arguments. thanks Calin Don for reporting this issue.
5df2ec9fa Merge branch 'master' into timer
a414691b8 updated docs to reflect recent changes.
71bf29a2f merged "master" branch to "timer".
7c6484dc2 updated tests to reflect recent changes in the upstream_truncation patch for the nginx core.
59fe204e9 added error log checks in 000--init.t.
4eeb47626 removed too short proxy read timeout settings in two cases that are expected to pass.
9e3b32f90 fixed a test case that might fail in slow testing modes.
b408d5be9 feature: ngx.location.capture and ngx.location.capture_multi now return a lua table with the boolean field "truncated", which indicates whether the subrequest response body is truncated. bugfix: we no longer override the subrequest response status code later when error happens.
e9f9fdd3a bugfix: request hung when rewrite cycled in ngx.req.set_uri(uri, true) instead of throwing out an error log message and a 500 page properly. thanks Calin Don for the report.
74617ac4c bugfix: the debug log message "lua set uri jump to <uri>" generated by ngx.req.set_uri(uri, true) was wrong for <uri> was the old URI.
8dc910197 tests: made two systemtap-based test cases less possible to fail in slow testing mode.
40bc1bb0f tests: ensure that TEST_NGINX_USE_STAP is unset when TEST_NGINX_USE_HUP is set.
3c6379264 Merge remote-tracking branch 'origin/master' into timer
c7a0cf5f2 Merge remote-tracking branch 'origin/master' into timer
2ac8d8943 feature: added new Lua API, ngx.timer.at(time, callback), for defining timers that can run the user callback as a Lua "light thread" (detached from the current request) after the time (in seconds) specified. also added new configure directives lua_max_pending_timers and lua_max_running_timers for limiting the number of pending timers and "running" timers.
a352e1fd6 feature: now we allow zero time argument in ngx.sleep().
66e2ccbfa bugfix: assignment to ngx.status did not take effect when the response status line had already been generated (by ngx_proxy or others). thanks eqiuno for reporting this issue in #221.
d4b8c7d84 bumped version to 0.7.19.
f203b5f46 ngx.req.raw_header: added a buffer size assertion and two more (passing) tests regarding some special cases.
664d74ed7 bugfix: ngx.req.raw_header() would return the first part of the request body when request body was read before the call. thanks Matthieu Tourne for reporting this issue. bugfix: ngx.req.raw_header() might not work properly in a subrequest.
5193cff29 updated docs to reflect recent changes.
c7879f30f raised the error log level back to "warn" for 087-udp-socket.t, which contains test cases that can flush error logs a lot which may lead to timeouts.
168eb3878 typo fixes in the tests for udp cosockets.
357f25d10 added a (passing) test for ensuring the resolver gets shut down properly when it fails to resolve a domain.
84c4d1833 bugfix: ngx.socket.udp: memory leaks or invalid memory accesses might happen when the DNS resolver failed to resolve.
7f94cb208 fixed some test cases which may fail in slow testing modes.
16db13b88 eliminated the use of the cjson library in a recently-added test case.
a38ceeb00 optimize: we now use the bind() call to do autobind for datagram unix domain sockets in ngx.socket.udp() on Linux instead of abusing the side effect of SO_PASSCRED. thanks Dirk Feytons for the suggestion.
57e3a3a9f added a test case for github issue #218, which requires the run_posted_requests_in_resolver patch for the nginx core to get passed.
dbde4c390 optimize: fixed the initial size of the ngx.shared table and also updated the tests accordingly.
4751625f8 Merge branch 'ngx-re-no-exceptions'
3ad47790e Merge branch 'shdict-safe-store'
d52ed6c2a Merge branch 'master' into subreq-body-in-file
f4ffb4f93 one minor coding style fix.
b582064ec bugfix: when a non-table value was specified for the "args" option in the ngx.location.capture or ngx.location.capture_multi call, memory invalid access might happen, which resulted in garbage data at least. thanks Siddon Tang for reporting this issue.
182f2e08b Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
dfc7a4cd7 feature: datagram unix domain sockets created by ngx.socket.udp() can now receive data from the other endpoint via "autobind" on Linux. thanks Dirk Feytons for the patch.
d3c549e9f bugfix: (large) in-file request bodies could not be inherited correctly by multiple subrequests issued by ngx.location.capture. thanks Matthieu Tourne for reporting this issue.
0c8fb04d6 one minor coding style fix.
3ea32c969 api-change: the ngx.re.match, ngx.re.gmatch, ngx.re.sub, and ngx.re.gsub functions used to throw Lua exceptions aggressively for all the error conditions; now they return an additonal string describing the error for almost all common errors instead of throwing exceptions, including pcre compile-time and exec-time failures. thanks Matthieu Tourne for requesting this change.
17b349e97 feature: added new methods safe_set and safe_get to ngx.shared.DICT objects, which never override existing unexpired items but immediately return nil and a "no memory" string message when running out of storage. thanks Matthieu Tourne for requesting this.
835aea95f bugfix: invalid memory access might happen when the UDP cosockets were used. this regression had appeared in the commit f84ca22c30091c75955d44bd790a714b1ef0bbe9.
a62eadd49 bugfix: invalid memory access might happen when the TCP cosockets were used. this regression had appeared in the commit 04775502b2e348181282345320b727ab1a5a8808.
5c4c4e429 tests: avoided using taobao.com in the test suite; also decreased the resolver_timeout setting.
f84ca22c3 bugfix: when the Lua code using UDP cosockets + resolver was run in a subrequest, the subrequest could hang due to missing calls to ngx_http_run_posted_requests in the UDP cosocket resolver handler. thanks Lanshun Zhou for reporting this issue in #215.
04775502b bugfix: when the Lua code using TCP cosockets + resolver was run in a subrequest, the subrequest could hang due to missing calls to ngx_http_run_posted_requests in the TCP cosocket resolver handler. thanks Lanshun Zhou for reporting this issue in #215.
a768a65b2 updated docs to reflect recent changes; also bumped the version number to 0.7.17.
88b4fda41 fixed the timeout settings for large header test cases in 104-req-raw-header.t.
d86bb1713 bugfix: rewrite_by_lua_no_postpone can only work globally and did not reject contexts like "server" and "location" configuration blocks. thanks Matthieu Tourne for reporting this issue.
ba594765f fixed ill-formed HTTP requests in a recently-added test case, which caused issues under the "check leaks" testing mode.
545b03fd5 fixed tests to reflect output format changes in agentzh/echo-nginx-module@2adcf59ec5.
cf568da59 fixed tests to reflect the typo fix in 4927e75b0507477f425a7296cf44119453363b2d.
53a46aaef docs: made it explicit that redirecting to external domains is also supported in ngx.redirect(). thanks Ron Gomes for asking.
c95456c87 feature: implemented the ngx.req.raw_header() function for returning the original raw HTTP protocol header string received by Nginx. thanks Matthieu Tourne for requesting this.
4927e75b0 fixed a typo in an error message. thanks Matthieu Tourne for reporting it.
89861df1c feature: implemented ngx.req.http_version() that returns the HTTP version number for the current request. thanks Matthieu Tourne for requesting this.
5361c9529 bugfix: ngx.req.get_headers(limit, true) would still return header names in the all-lower-case form when the "limit" argument was an integer. thanks Matthieu Tourne for reporting this issue.
76910a32d fixed tests that may fail in slow testing modes.
eff99d5db bugfix: use of ngx.req.socket() could make socket reading hang infinitely when the request did not take a request body at all (that is, when the Content-Length request header is missing). thanks Matthieu Tourne for reporting this issue.
40fabb23b bugfix: ngx.re.match: when the "D" regex option was specified, an empty Lua table would always be created even when the named capture was actually empty. thanks Matthieu Tourne for reporting this issue.
e30ea025c updated docs to reflect recent changes.
eb2d84631 fixed test cases in uthread-spawn.t for slow testing modes.
85841a721 refactor: renamed ngx_http_lua_script_copy_capture_code_t to ngx_http_lua_script_capture_code_t.
5d114acb4 optimize: removed the unsed "size" field and related computatins from the script engine.
4beec04ba added (passing) tests for using $0 in the replacement template when no capturing parenthese are used in the regexes.
e9dd32848 minor optimizations in the script engine to save a little memory.
57a6471bf updated docs to reflect recent changes; also bumped version to 0.7.15.
96a18a054 fixed more test cases using systemtap that could fail expectedly in slow testing modes.
414c6605a added a (passing) test for github issue #208: coroutine as iterator doesn't work
6f3471615 fixed a test case that may fail expectedly in slow testing mode.
49eab61c2 bugfix: the original Lua VM error messages might get lost in case of Lua code crashes when user coroutines were used. thanks Dirk Feytons for the report in github issue #208.
b5492eedb fixed test cases using the deprecated math.mod() method.
6d4150994 added more info about r->main->count to the debugging logs.
e82955676 massive coding style fixes.
d931db457 bumped version to 0.7.14.
85bab3a9e added a (passing) test to ensure that ngx.req.get_body_data can handle request body bufs more than 2.
7c37f8530 updated valgrind.suppress a bit.
c0f62e590 bugfix: for nginx 1.3.9+, rewrite_by_lua* or access_by_lua* handlers might hang if the request body was read there, because the nginx core now overrites r->write_event_handler to ngx_http_request_empty_handler in its ngx_http_read_client_request_body API.
58506f762 added a (passing) test for chunked request body + ngx.req.read_body (for nginx 1.3.9+).
bbdb69568 bugfix: for nginx 1.3.9+ compatibility, we return an error while using ngx.req.socket() to read the chunked request body (for now), because chunked support in the downstream cosocket API is still a TODO.
af944b179 fixed the style in t/044-req-body.t.
5af60191e updated docs to reflect recent changes.
e37b58e37 bugfix: for nginx 1.3.9+ compatibility, we now throw an error in ngx.req.init_body(), ngx.req.set_body_data(), and ngx.req.set_body_file() when calling them without calling ngx.req.read_body() or after calling ngx.req.discard_body().
480ff8858 removed most of the leak false positives from valgrind.suppress because we now pass the option --show-possibly-lost=no to valgrind by default.
742213977 bugfix: recent versions of ngx_lua failed to compile with old PCRE versions like 6.6 due to the "D" and "J" regex options; now these two regex options require at least PCRE 8.12. thanks Wenhua Zhang for reporting this issue.
a1fe49f43 optimize: we no longer traverse the captured body chain everytime we append a new link to it.
22cf24c3f minor documentation tweaks.
07d487396 feature: implemented the "J" regex option for the PCRE Javascript compatible mode in the ngx.re API. thanks lhmwzy for requesting this.
b8af0b925 fixed the missing bits for commit 0d120033.
a6d8faf2b feature: implemented named subpatterns for ngx.re.match, ngx.re.gmatch, ngx.re.sub, and ngx.re.gsub; also added new regex option "D" to allow duplicate named subpatterns. thanks Ray Bejjani for the patch in github pull #182.
e46baf0ad bugfix: commit 2875695b was incomplete.
c8c568839 docs: documented the ngx.quote_sql_str API. also updated the docs for body_filter_by_lua* regarding the "eof" argument in subrequests.
2875695b7 bugfix: setting the "eof" argument (i.e., ngx.arg[2]) in body_filter_by_lua for a subrequest could truncate the main request's response data stream.
329907fd0 tests: stopped hitting Google's open DNS server's 12345 port.
0d1200331 tests: eliminated hitting Google's web servers (but we still make use of its public DNS servers).
2603780dd added a test case for a segfault in the nginx core when using ngx_poll_module + ngx_resolver together.
ab02c1203 bugfix: failed to compile with the SPDY patch 58_1.3.11 because that patch removed the field from the Nginx core. thanks Chris Lea for reporting this in github issue \#203.
bc53e62bc fixed those recently-added tests for 100 continue that may fail expectedly.
b9ac4139d refactor: when the nginx core fails to send the "100 Continue" response in case of the "Expect: 100-continue" request header (or just running out of memory), ngx.req.read_body() will no longer throw out a "failed to read request body" Lua error but will just terminate the current request and returns the 500 error page immediately, just as what the Nginx core does in this case.
00bd9a4c3 added (passing) tests for using ngx.req.read_body in the "rewrite" and "access" phases when nginx fails to send the "100 Continue" response.
6398a9048 updated tests to reflect recent changes in the DNS settings for my agentzh.org domain.
fec300b73 bugfix: we did not get the request reference counter right when lua_need_request_body was turned on and nginx versions older than 1.2.6 or 1.2.9 were used.
f71e4700f fixed a failing test case in normal testing mode.
7786f978e bugfix: because of the recent API behaviour changes in nginx 1.2.6+ and 1.3.9+, the "http request count is zero" alert might happen when ngx.req.read_body() was called to read the request body and nginx failed to send out the "100 Continue" (short) response (like client connection early abortion and etc). thanks stonehuzhan for reporting this issue.
1a52a5819 feature: setting ngx.header.HEADER after sending out the response headers now only produced an error message in the nginx error logs and does not throw out a Lua exception. this should be handy for Lua development. thanks Matthieu Tourne for suggesting this.
f6e62d563 bugfix: in body_filter_by_lua, the "eof" flag (i.e., ngx.arg[2]) was not set in subrequests.
7837e433e Merge pull request #200 from chipitsine/master
4b1adde52 OpenBSD-5.2
93e0e2929 docs: bumped version to 0.7.13.
e059eac04 bugfix: using a key with underscores in ngx.header.KEY resulted in Lua string storage corruption. thanks rkearsley for reporting this as github issue #199.
87d109fce docs: bumped version to 0.7.12.
935474048 bugfix: ngx.decode_args() might modify (read-only) Lua strings in-place, which could lead to bad Lua string values. thanks Xu Jian for the report and Kindy Lin for the patch.
d3280ab61 docs: typo in the code sample for tcpsock:receiveuntil. thanks Yecheng Fu for the patch in github pull #196.
58e14a62f bumped version to 0.7.11.
d3c0f2546 docs: fixed a typo in the Lua code sample for ngx.re.gmatch (we forgot to add "do" there). thanks Guo Yin for reporting this issue.
3f69addea Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
a78ee7561 bugfix: removed the unnecessary dot from the "config" file. thanks Rafael Souza for reporting this regression.
b802870d7 docs: declared compatibility with nginx 1.2.6; also bumped version to 0.7.10.
6e162fd01 minor coding style fixes in ngx_http_lua_variable.c.
eabefc797 bugfix: accessing ngx.var.VARIABLE allocated tempory memory buffers in the request memory bool, which could lead to unnecessarily large memory footprint. not it allocates such bufferes via Lua GC.
508486684 updated the tests in 005-exit.t for nginx 1.2.6+.
d1613a647 feature: automatically detect LuaJIT 2.0 on FreeBSD by default. thanks rkearsley for the patch.
cf18fcbbb docs: explained why "local foo = require 'foo'" is required to load a Lua module. thanks rkearsley for asking.
362fcfe46 documented the request body automatic inheritance behavior in ngx.location.capture; also bumped version to 0.7.9.
6eeb8fb81 minor coding style fixes.
59fc4aea8 bugfix: ngx.status assignment would always be overridden by the later ngx.exit() calls for HTTP 1.0 requests if lua_http10_buffering is on (the default setting). thanks chenshu for reporting this in github issue #193.
543169dfb bugfix: typo in the error message when accessing an nginx variable that has not been defined.
eb3a36bb4 updated docs to reflect recent changes.
515658747 Merge pull request #186 from mizzy/fix-date-format-in-readme
457cdf79e Fix date format
d4eb39b40 bumped version to 0.7.8.
d54a03ebd made the tests in uthread-exec.t less possible to fail the systemtap subtest on slow machines.
477f82efc made the tests for ngx.on_abort() less possible to fail due to random timing issues.
d270ade76 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
46e32a291 bugfix: ngx.req.set_body_file() might lead to memory issues because it directly used the storage of lua strings allocated by the lua GC (we should allocate a new memory block on the nginx side and copy the string data over).
94d950eed bumped version to 0.7.7.
b39743aa5 bugfix: when a user coroutine or user "light thread" dies with an error, our Lua backtrace dumper written in C may access one of its dead parent threads which could lead to segmentation faults.
fd7b70de6 refactor: now we use the TEST_NGINX_SERVER_PORT env consistently in the test suite.
fd51c766c fixed a test case that uses the hard-coded port 8888 which may not be available especially in the "check leak" testing mode that often runs into port shortage.
c400c3115 minor coding style fixes in ngx_http_lua_regex.c.
614d6a6ef updated the docs for ngx.req.start_time and ngx.now a bit.
4a4bdd950 Merge remote-tracking branch 'origin/master' into req-start-time
5768a6824 feature: added ngx.req.start_time() to return the request starting time in seconds (the milliseconds part is the decimal part just as in ngx.now). thanks Matthieu Tourne for the patch.
f85899f50 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
696951852 fixed an english typo in the error message for init_by_lua*.
e83fabb0e attempted to fix a test that may fail unexpectedly in the "hup reload" testing mode.
50e41da5d fixed a test case in 020-subrequest.t for slow testing modes.
e3d3ec3f5 added more docs regarding using ngx.exit() to abort pending subrequests in other "light threads" and setting ngx.status after sending out the response headers.
3583cb08d added tests for the "ngx_slab_alloc() failed: no memory" error message. these require the patch https://github.com/agentzh/ngx_openresty/blob/master/patches/nginx-1.2.4-slab_alloc_no_memory_as_info.patch
15fac2963 feature: setting ngx.status after sending out response headers no longer yield a Lua exception but only leave an error message in the error.log file, which is useful for Lua-land debugging. thanks Matthieu Tourne for requesting this.
930b938d4 fixed several test cases which may fail unexpectedly due to timing errors.
2b48ef43c Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
442b45333 bugfix: when the user callback function registered by ngx.on_abort() discarded the client abort event, the request would be aborted by force when the next client abort event happened.
164ef98f4 feature: the user can now call ngx.exit(444) to abort pending subrequests in other light threads from within a light thread.
780b82686 refactor: we did not need to reset the on_abort_co_ctx field in reset_ctx.
cc57703fb updated docs to reflect recent changes.
5feda1fee Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
e1dd6ff66 added a test case for a regression introduced by the upstream_pipeline patch of openresty.
857ed86f0 increased the timeout threshold for the slow tests in slow testing modes.
4f7eb4f05 made a test case less possible to fail in slow testing modes like "mockeagain w + valgrind memcheck".
3986c4787 Merge pull request #181 from smallfish/patch-1
4bd074408 Update src/ngx_http_lua_log.c
ff1949b07 bugfix: the "light thread" object created by ngx.thread.spawn() might be prematurely collected by the Lua GC because we did not correctly register its coroutine object into the Lua regsitry table. this bug may crash the Lua VM and nginx workers under load. thanks Zhu Dejiang for reporting this issue.
7b0d7daca bugfix: the "light thread" object created by ngx.on_abort() might be prematurely collected by the Lua GC because we did not correctly register its coroutine object into the Lua regsitry table. this bug may crash the Lua VM and nginx workers under load. thanks Zhu Dejiang for reporting this issue.
2ecf5afa8 bugfix: ngx.thread.wait() might hang infinitely when more than 4 user "light threads" are created in the same request handler due to the incorrect use of ngx_array_t for ngx_list_t. thanks Junwei Shi for reporting this issue.
5abd74c3d minor test file style fixes.
e6b20cb2e feature: added new dtrace static probe http-lua-user-thread-wait.
d3214ca9c bugfix: subrequests with error status code did not trigger output header filtering any more. this bad had appeared in the last commit.
6d7e0c0a5 bugfix: ngx.location.capture/ngx.location.capture_multi might hang infintely because the parent request might not be waken up right after the first time the post_subrequest callback was called. now we also always skip the special response handler altogether for our subrequests.
9ad04360c ported all the documentation tweaks from the nginx wiki site.
a9d1383bd minor test case style formatting.
0b838944d fixed various issues in the test suite.
15a5793b5 ngx.exit(N) now no longer throws out a Lua exception when N >= 300 and a response header with a different status code has already been sent (but an error message will still be printed into the error.log file). this change makes Lua code debugging based on ngx.say/ngx.print much easier. thanks Matthieu Tourne for the suggestion.
35b86cd53 bugfix: ngx.exit(N) threw out exceptions when N was 408, 499, or 444 and the response header was already sent. thanks Kindy Lin for reporting this issue.
ca262cb46 bumped version to 0.7.5.
8d92e6c67 bugfix: ngx.log() would truncate the log messages with a null character (\0) in it. thanks Wang Xi for reporting this issue.
7c0948a08 bugfix: ngx.req.clear_header() would result in memory invalid reads when removing the 21st request headers. thanks Umesh Sirsiwal for reporting this issue in github issue #176.
1a44b73fa updated docs to eliminate use of package.seeall in code samples and also to explicitly discourage the use of it.
a55fd2506 documented the special case that client closes the connection before ngx.req.socket() finishes reading the whole body.
fc4391e07 documented lua_check_client_abort and ngx.on_abort; also bumped version to 0.7.4.
e06f7e3a2 polished the test cases that could expectedly fail.
0990bdef7 ported the tests for ngx.on_abort() to access_by_lua and rewrite_by_lua.
75be85db6 made the tests less possible to fail in slow testing modes.
1d5b18a81 bugfix: calling ngx.on_abort() twice in a single handler will result in memory leaks; now it returns an error upon subsequent calls.
b3a778702 bugfix: request might hang when a callback function is registered via ngx.on_abort() and there was no client abort event at all. also ensured that the on_abort callback will not get called when the request is already done.
0b9466ac1 feature: ngx.exit(N) can now abort pending subrequests when N = 408 (request time out) or N = 499 (client closed request) or N = -1 (error). feature: added ngx.on_abort() for registering user Lua function callback which will get called automatically when client abortion happens.
52e971cb0 renamed the config directive "lua_on_client_abort stop|ignore" to "lua_check_client_abort on|off".
ec5214cfc added a test case for testing the kqueue-specific bug in the ngx_http_upstream_test_connect function of the nginx core.
5ba9195e5 fixed a test case regarding cosocket set_keepalive on FreeBSD.
8ed15a432 tweaked the test cases for one-way shutdown for the mockegain writing testing mode because nginx does not really support the one-way shutdown on the client side.
8f8cb23f3 bugfix: using "lua_on_client_abort stop" and doing internal redirects might lead to segmentation faults.
9649c8ba6 bugfix: fixed the -Werror=unused-variable gcc warning on systems without kqueue, which was introduced by commit 9205848.
92058483d bugfix: ngx_lua cosocket's connect() method could not detect errors like "connection refused" when kqueue was used. tests: fixed the compatibilty issues in those test cases that were failing on non-Linux systems like FreeBSD.
31089a419 bugfix: we could not compile on FreeBSD due to the recent work on lua_on_client_abort.
1937d5811 updated --- stap_wait to --- wait in the test suite to reflect the new changes in Test::Nginx::Socket.
c5dc5dc14 bugfix: reading on ngx.req.socket() now returns the error "client aborted" in case request body truncation even when lua_on_client_abort is "ignore". bugfix: for edge-triggered events, use of ngx.req.socket() might prevent "lua_on_client_abort stop" from detecting the connection shutdown event.
83f8f9554 bugfix: receiving data on ngx.req.socket() did not return any errors when the request body got truncated; now we return the "closed" error (or "client aborted" when lua_on_client_abort is not configured as "ignore"). feature: implemented new config directive lua_on_client_abort which (atm) takes two possible values, "ignore" (the default) and "stop".
642e54112 Merge branch 'master' into client-abort
5cc8de8e7 code refactoring in the module configuration part.
41243bfa8 code refactoring in the module configuration part.
7b1f3323a documented the new shdict:get_keys() API. also bumped version to 0.7.3.
f928feae8 feature: added the "get_keys" method for the shared dictionaries for fetching all the (or the specified number of) keys (default to 1024 keys). thanks Brian Akins for the patch in pull \#170.
e607b639b bumped version to 0.7.2.
b5531ff5b feature: now we can automatically detect the vendor-provided LuaJIT-2.0 package on Gentoo. thanks Il'ya V. Yesin for the patch in github pull #167. it is still recommended, however, to explicitly set the environments LUAJIT_INC and LUAJIT_LIB.
db2d5310b docs: massive wording improvements from Dayo. also bumped version to 0.7.1.
3875a3397 bugfix: ngx.re.gsub() might throw out the "attempt to call a string value" exception when the "replace" argument is a Lua function and the subject string is large. thanks Zhu Maohai for reporting this issue.
7ee528b20 docs: documented the new ngx.thread API. also fixed the __newindex metamethod definition for catching writes to undeclared global varaibles in a Lua module.
1690add7f docs: added a warning for ngx.var.VARIABLE that memory is allocated in the per-request memory pool. also made it clear why "return" is recommended to be used with ngx.exit(). thanks Antoine.
4d8cbe95c fixed those test cases using the UDP cosockets to be prepared for data read in a single run (without EAGAIN, that is).
5d0fb9fea bugfix: the lua light threads would leak in case of nginx filter finalization. this issue was caught by the "check leak" testing mode provided by Test::Nginx while running on Amazon EC2.
2694d7758 bugfix: older gcc versions might issue warnings like "variable 'nrets' might be clobbered by 'longjmp' or 'vfork'", like gcc 3.4.3 for Solaris 11. thanks Wenhua Zhang for reporting this issue.
bfcb77b12 resolved conflicts while merging "master" into "thread".
73d8dd231 bumped version to 0.6.10.
d3f55d7a7 bugfix: ffi.copy() was used incorrectly in the test cases in 099-c-api.t: it might write out of the buffer. this issue was caught by valgrind on linux i386.
95b276174 fixed a test case using shdict for the "use hup" testing mode.
cc5d928cb renamed ngx_http_lua_shared_dict_lookup to ngx_http_lua_shared_dict_get; fixed various issues in this public C function. also added tests for it.
ea456890a feature: added public C API ngx_http_shared_dict_get and ngx_http_lua_find_zone as per Piotr Sikora's request.
7fc1dc720 fixed a compilation warning in the cosocket code from some old gcc. thanks Dirk Feytons for reporting this issue as as #162.
0f66b1b33 bumped version to 0.6.9.
a30c2d831 made a test case less possible to fail unexpectedly in slow testing mode.
beb2bfff4 updated docs to reflect recent changes in ngx.req.get_headers().
a90cc0d99 feature: now ngx.req.get_headers() will return a table with keys in all lowercase by default. made the second argument be "raw". when the "raw" argument is true, the header names will be the original form.
b09f15784 feature: when the lowercase argument to ngx.req.get_headers() is true, then any keys like "My-Header-Name" and "my_header_name" will be able to index the "my-header-name" entry in the Lua table returned. (behind the scene, we ngx.req.get_headers() just adds a __index metamethod to the resulting table when the lowercase argument is true.) thanks Matthieu Tourne for the proposal.
0263ef747 feature: ngx.req.get_headers() now takes a second (optional) boolean argument that can be used to convert all header names into the lowercase form. thanks James Hurst and Matthieu Tourne for proposing this feature.
661c261bc refactor: disabled ngx_http_lua_probe_info by default.
fe4130e0f feature: ngx.thread.spawn(f, ...) can now take multiple arguments for the "light thread" coroutine's first resume.
56b9b8a46 polished the test for ngx.thread.wait a bit.
0ef27947a bugfix: ngx.thread.wait() did not croak when the argument coroutine is not a user thread at all. also added more tests for bad arguments to ngx.thread.wait().
009911b4e enabled all the test cases in 098-uthread-wait.t.
d680b6b2e added (passing) tests for ngx.thread.wait(a, b) and the slower thread is aborted.
4d0e77f5d feature: ngx.thread.wait() can now take multiple user threads as its arguments and wait on all of them at the same time. it will return the first terminated user thread's result as soon as possible (that is, without waiting for other pending user threads to finish).
b842f16a1 refactor: removed the ctx->fatal field and just used ctx->no_abort instead.
5d5edcf02 feature: implemented ngx.thread.wait() for synchronously waiting on a child user thread, which also returns the final results of the last implicit call of coroutine.resume() on the user thread coroutine. so now an non-captured Lua exception in a user thread will not abort other running threads in the same nginx request.
a40832732 Merge remote-tracking branch 'origin/master' into thread
97f4474a9 bumped version to 0.6.8.
171de5a7c refactor: renamed ngx_http_lua_uthread_create to ngx_http_lua_uthread_spawn for consistency with the Lua API name.
b051763cc refactor: renamed t/*uthread.t to t/*uthread-spawn.t.
bcfa39984 Merge branch 'master' into thread
1ff7288eb added a (passing) test for empty pattern in ng.re.match.
d37c193a9 bugfix: ngx.re.gsub might enter infinet loops because it could not handle patterns matching emptry strings properly. bugfix: ngx.re.gsub incorrectly skipped matching altogether when the subject string was empty.
4b9100c1d bugfix: pattern matching an empty substring in ngx.re.gmatch did not match at the end of the subject string.
ad5e7f7c3 bugfix: ngx.re.gmatch might loop infinitely when the pattern matches an empty string. thanks Lance Li and xingxing for tracking this issue down.
0b6685c20 bumped version to 0.6.7.
8589412e8 Merge branch 'master' into thread
15d8550b6 minor coding style fixes in the lua/luajit bytecode loader.
e6297a5db Merge pull request #152 from jinglong/bytecode
00e99d519 bugfix: the ngx.thread API did not work in access_by_lua*.
f4e8894e2 api: renamed ngx.thread.create() to ngx.thread.spawn().
7ba928b52 bugfix: the ngx.thread API did not work in rewrite_by_lua*.
3a30a00ff added some (passing) tests for ngx.redirect + ngx.thread.
3b48d03d1 bugfix: aborting ngx.thread coroutines with pending subrequests caused problems and now we just prohibit this by raising Lua exceptions and aborting the main request.
8f2f149c2 updated t::StapThread to reflect recent changes.
c25f2df8a bugfix: ngx.thread abortion did not abort ngx.flush(true) in time.
de36decd7 Merge remote-tracking branch 'origin/master' into thread
2bea02618 bugfix: the write event timer might not be removed in time in ngx.flush(true) when ngx_handle_write_event failed.
f30e42d94 Merge remote-tracking branch 'origin/master' into thread
d3e2e646b bugfix: ngx.flush(true) might not return immediately when it should.
33756e1cd bugfix: ngx.thread abortion did not abort tcpsock:send() in time.
7c65ad1b9 bugfix: ngx.thread abortion did not abort ngx.req.read_body() in time.
73cd491de Merge remote-tracking branch 'origin/master' into thread
51b5421fe refactor: changed the way ngx.req.read_body() handles r->main->count, which opens the door for abortion in the middile.
94e623f6f added a (passing) test for aborting the receive() invocation on the ngx.req.socket() object.
1d74cad19 Merge remote-tracking branch 'origin/master' into thread
9e127b09a bugfix: always remove the read event timer during downstream cosocket finalization if it is not removed yet.
198e48d16 bugfix: NULL pointer access might happen on u->co_ctx in *handle_success and *handle_error functions. this bug had appeared in the previous commits.
1d05ac614 bugfix: ngx.thread abortion did not abort udpsock:receive() in time.
c60ea6817 bugfix: ngx.thread abortion did not abort the reading iterators returned by tcpsock:receiveuntil() in time.
0e54fcd7a bugfix: ngx.thread abortion did not abort tcpsock:receive() in time.
be896210d bugfix: ngx.thread abortion did not abort tcpsock:connect() in time.
05d4a3b7e refactor: now we use ngx_http_lua_request_cleanup for complete cleanups in all the places.
c22c625ec bugfix: ngx.thread abortion did not abort the nginx resolver for ngx.socket.udp in time.
ee02a8ca0 updated .gitignore a bit.
cd5522dce Merge remote-tracking branch 'origin/master' into thread
9fdf63663 bugfix: the nginx resolver might not be destroyed in time when it was used by ngx.socket.tcp and ngx.socket.udp.
5c22e1d4b bugfix: ngx.thread abortion did not abort the nginx resolver for ngx.socket.tcp in time.
3a916d1e9 Merge remote-tracking branch 'origin/master' into thread
b771a2e40 bugfix: when a coroutine aborts with errors, its status might not be updated to "dead".
535edec69 renamed t/094-uthread-exit to t/094-uthread-exit.t.
9e28c48a3 resolved conflicts when merging "master" into "thread".
3b5dc53b8 refactor: removed unnecessary code from the sleep handler for ngx.sleep().
5e6a5b3e7 bugfix: ngx.thread abortion did not clean up the ngx.sleep timer in time. also refactored the uthread tests a bit.
b63c3156a refactor: now we introduce an explicit is_uthread flag for each user thread.
b6cb3a136 resolved conflicts while merging "master" into "thread".
07b9b3b6c bugfix: when the entry coroutine was yielded by coroutine.yield() then after it was resumed automatically its status would still be "suspended".
889a24afd refactor: ensure that we always bypass ngx_http_postpone_filter_module when we generating downstream outputs. also removed all the legacy code handling postponed outputs.
c1f40cd90 added (passing) tests for ngx.req.socket() + ngx.thread and ngx.req.read_body() + ngx.thread.
b4e6bf174 added (passing) tests for UPD/TCP cosockets + ngx.thread.
985c4a5e9 added (passing) tests for ngx.flush(true) + ngx.thread.
518c94eaa feature: added support for manual time-slicing between lightweight threads via the coroutine.yield() API.
3b0d04b95 added a (passing) test for creating user threads in a user coroutine. also tracked user coroutine creation in the test cases for user threads.
428217646 added (passing) tests for the "coroutine status" of user threads.
c0ac11978 added (passing) tests for nested user threads.
10c7a0739 Merge remote-tracking branch 'origin/master' into thread
377bcd378 updated docs to reflect recent changes.
f02a7323d added several (passing) tests for ngx.thread + ngx.location.capture.
12903c20d test: enabled repeat_each(2) in 093-uthread.t.
6d854044c feature: first prototype for the ngx.thread API (aka the lightweight thread API for ngx_lua) that passes the first bunch of tests.
903a3e55c refactor: even more coding style fixes.
681f0dd61 refactor: massive coding style fixes.
639cc398f refactor: removed the unused function ngx_http_lua_has_inline_var.
946e90741 bugfix: the "resume_handler" field of the subrequest ctx was not properly initialized.
3a7075dcd added comments to the ngx_http_lua_run_thread function; also fixed a coding style issue.
51a68ac94 bugfix: better error handling in ngx_http_lua_wev_handler.
cf474bcb9 refactor: improved status code handling in content/access/rewrite_by_lua*.
213acb96f refactor: removed the ctx->entry_co field and also made the coctx->co_status and coctx->flushing fields smaller.
1fc023b26 removed the declaration of the non-existent function ngx_http_lua_resume; also fixed a warning from clang.
7d5d92340 docs: fixed the documenation for ngx.req.set_header and made it explicit that the modified request headers will be inherited by the subrequests. thanks James Hurst for reporting this nit.
d0d9140e1 optimize: tcpsock:send() now calls c->send() instead of ngx_output_chain(), which gives about 4src/tcp.c ~ 5src/tcp.c performance boost for a simple test case accessing redis for several times.
67f8bbbde removed the valgrind suppression rules for sendmsg/ngx_channel_write since we already fix these issues via the channel-uninit-params patch: https://github.com/agentzh/ngx_openresty/blob/master/patches/nginx-1.2.3-channel-uninit-params.patch
2e50b1943 updated valgrind.suppress for valgrind 3.8.0.
66e2d98b0 docs: bumped version number to 0.6.5 and also documented the trick for doing background async jobs by using ngx.eof() + keepalive_timeout 0.
0c14852af suppressed the warnings reported by valgrind 3.8.0.
5b5a02dbe fixed a test case in 068-socket-keepalive.t by properly flushing the redis store first.
62a0b6960 updated docs to reflect recent changes.
b1289817d added (passing) tests for using parallel subrequests after ngx.eof().
e0adfe5ec bugfix: the UDP and TCP cosockets could not keep track of the current Lua coroutine. now we also explicitly clear the current Lua coroutine context in the main request context to ensure that the I/O scheduler can indeed keep track of the current Lua coroutine itself.
e49622d8b added a (passing) test case for using ngx.flush(true) in a user coroutine.
fe8d7be13 optimize: we now skip processing in the default write event handler when the write event is not ready.
79dee2697 coding style fixes and also fixed a warning in clang.
2fbb4ada9 refactor: removed the "cur_co" field from ngx_http_lua_ctx_t because it is not necessary at all.
644b0b15c cleaned up the code a bit in ngx_http_lua_wev_handler.
240caaa72 refactor: made ngx.flush(true) keep track of the current Lua coroutine automatically.
59c5231b8 refactor: renamed the confusing "waiting" field of ngx_http_lua_co_ctx_t to "pending_subreqs".
9155f9400 refactor: made ngx.req.read_body() keep track of the current Lua coroutine automatically.
6fba5e1bf refactor: made ngx.req.socket() use the existing req_body_reader_co_ctx field in the context struct.
12981c904 refactor: made the ngx.req.socket() objects keep track of the current Lua coroutine themselves. also disabled the ngx.req.socket() API in subrequests to prevent potential problems.
357d4d761 refactor: made the UDP/datagram cosockets schedule their I/O automatically on the Lua coroutine level.
b88aa3eaf refactor: removed the unused "socket_busy" flag from ngx_http_lua_co_ctx_t.
9cb0d829d refactor: made TCP/stream cosockets schedule their I/O automatically on the Lua coroutine level.
e2f8b2a6b enabled the http-lua-info static probes in ngx_http_lua_wev_handler.
2f884b83e refactor: made ngx.location.capture() and ngx.location.capture_multi schedule themselves at the coroutine level (instead of the request level).
27dd2bab8 minor cleanup in ngx.sleep().
7134d428a refactor: made ngx.sleep() schedule itself at the coroutine level.
4abd896cd fixed a test case in 020-subrequest.t for slow machines.
85c658475 made the new subrequest test cases less possible to fail unexpectedly on slow machines.
9fe21af57 use google.com instead of taobao.com in the test suite.
a7d6962c2 upgraded version to 0.6.4.
e572d8772 fixed the test cases for the mockeagain (W) testing mode.
73faa581d added more tests for bad upstream in subrequests.
b3255acda bugfix: reset the subrequest status code when the non-buffered ngx_http_upstream request in the subrequest fails due to timeout errors or premature connection close and etc. this requires the patch for the nginx core to fix an issue in ngx_http_upstream: https://raw.github.com/agentzh/ngx_openresty/master/patches/nginx-1.2.3-nonbuffered-upstream-truncation.patch
d06e26018 made a test case requires DNS resolving less possible to fail in slow testing modes.
c56a98cd8 bugfix: we should not always return NGX_OK in our post_subrequest handler even if rc >= 300 because it will prevent response headers from being sent.
865cb1981 added a (passing) test for returning NGX_ERROR in the output body filter for the subrequest issued by ngx.location.capture().
46a3c3d52 updated .gitignore a bit.
9728454af bugfix: the main request might be prematurely terminated if a subrequest issued by ngx.location.capture (or its friends) was finalized with error codes.
75c8c3098 updated valgrind.suppress for i386.
3a90b5740 bugfix: we did not compile with nginx cores without the allow_request_body_updating patch. thanks Dirk Feytons.
3b6f584be tweaked a test case to make it less possible to fail in slow testing modes.
fd0a8fb18 refactor: now ngx_lua issues subrequests without updating r->postponed at all so as to allow the parent requests flush outputs immediately without waiting for its running subrequests. this will pave a way for subrequest integration with the upcoming lightweight thread model.
7819b4284 fixed typos in the test titles.
ce1bcd53c bugfix: when a user coroutine died with an error, its parent coroutine's status was still 'normal'. thanks jinglong for reporting this issue.
62d67ad2f optimize: removed a duplidate ngx_memzero invocation in ngx_http_lua_reset_ctx. thanks jinglong.
35c1fcd04 docs: removed the note for the issues regarding "normal" state user coroutines in coroutine.resume() and coroutine.status() because we have already fixed them.
50f20351b merged "master" into "thread".
5cb6e9fa5 refactor: now every lua coroutine takes its own context state for its nginx-side activities. bugfix: coroutine.status() returned "suspended" for "normal" coroutines. bugfix: coroutine.resume() did not return an error immediately when operating on "normal" coroutines. feature: added new dtrace static probes http-lua-user-coroutine-yield and http-lua-entry-coroutine-yield.
a819a192e docs: documented the new shdict:flush_expired() method. bumped the version to 0.6.3. also mentioned lua-resty-dns in the SEE ALSO section.
f09867d91 feature: implemented shdict:flush_expired(max_count) for flushing out expired items up to max_count (or unlimited when max_count == 0). thanks Brian Akins for the patch.
b771643db bumped version number to 0.6.2.
e650dd118 bugfix: the dtrace static probes did not compile on non-Linux systems like FreeBSD.
e64d60bd2 increated the timeout threshold for a test case requires resolving three domain names.
52018289b bugfix: tcpsock:send() might send garbage if it was not the first call: we did not properly initialize the chain writer ctx for every send() call. thanks Zhu Dejiang for reporting this issue.
28317770f feature: added new dtrace static probes http-lua-socket-tcp-send-start, http-lua-socket-tcp-receive-done, and http-lua-socket-tcp-keepalive-buf-unread.
ccc4af2a1 bugfix: ngx_http_lua_probe.h was not listed in the NGX_ADDON_DEPS list in the "config" file.
e46e4907a bugfix: the send timeout timer for downstream output was not deleted in time in our write event handler, which might result in request abortion for long running requests. thanks Demiao Lin (ldmiao) for reporting this issue.
e282c1c6c bumped version to 0.6.1.
936653cbd removed the req_header_cached field from ngx_http_lua_ctx_t because it is not used at all.
43de06a0c merged merge conflicts.
c2f3cffd5 bugfix: removed unnecessary code that was for the old coroutine abortion mechanism based on Lua exceptions. we no longer need that at all because we have switched to using coroutine yield to abort the current coroutine for ngx.exec, ngx.exit, ngx.redirect, and ngx.req.set_uri(uri, true).
912707780 bumped version to 0.6.0.
ce791df20 documented the limitation in the current coroutine.resume() implementation.
2b560d359 documented the limitation in the current coroutine.status implementation and also included other documentation updates.
7feb3f4f0 fixed a source line exceeding 80 cols.
5c1603354 style: renamed ctx->cc to ctx->cur_co, ctx->cc_ref to ctx->entry_ref, and ctx->cc_op to ctx->co_op.
c52320f5f Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
4e5cb2449 bugfix: there was no proper error messages when we tried to resume running coroutines. bugfix: there was error logs for resuming dead user coroutines, which was too chatty.
bed05ac93 fixed the developer build script for FreeBSD.
c4d796260 avoided using qq.com, taobao.com, and baidu.com in the test cases because the "check leak" testing mode will flush these 3rd-party sites which is very very bad.
d6c32ea39 feature: yielding entry coroutines from within the user Lua code will make them resume immediately.
506519492 added a comment.
347214c05 documented the new user coroutine API and claimed that we work with nginx 1.3.4. also updated the TODO list to reflect recent changes.
9228475a5 removed the unused ngx_http_lua_dump_postponed function that was used for subrequest debugging. thanks Dirk Feytons.
47f0bf193 properly handled the errors when the user coroutine does not have a parent.
1c2cae9c7 Merge branch 'master' into coroutine
7b363ee7b bumped version to 0.5.14.
1462d9650 resolved conflicts while merging "master" into "coroutine".
afb26d284 more fixes in the dtrace provider file.
f7858fffb fixed the argument type again in the dtrace provider.
f9dc0dc01 fix strict-aliasing warnings in ngx_http_lua_clfactory_bytecode_prepare
c9d779e47 avoided declaring new C types in our dtrace provider.
8e5ebad47 bugfix: redeclared the ngx_http_request_t type in our dtrace provider file.
2c6a88c42 Merge branch 'master' into coroutine
a70c1e4c7 bumped version to 0.5.13.
592d24f5a Merge branch 'master' into coroutine
1acd7e93c fixed a source line exceeding 80 cols.
a39408060 bugfix: reads of unitialized memory might happen when variadic macros is defined and logging socket errors is enabled: when NGX_HAVE_VARIADIC_MACROS is defined, ngx_log_error_core does not take a va_list typed argument which disallows C function wrappers.
bcaf634a2 bugfix: segmentation faults might happen when 1. the nginx worker was shutting down (i.e., the Lua VM is closing), 2. ngx.re.gmatch was used, and 3. regex cache is enabled via the "o" flag. this bug had appeared in ngx_lua 0.5.0rc30 (and ngx_openresty 1.0.15.9).
d010f0143 bugfix: pcre_pool_resumed should be initialized to 1.
9043e7af9 bugfix: the pcre pool might not be properly resumed when lua panic happens in the lua coroutine scheduler.
8e3ee4b1e renamed 090-coroutine.t to 091-coroutine.t.
f77dffbf3 Merge branch 'master' into coroutine
de65585f3 optimize: make the coroutine scheduler faster for the entry coroutines (in contrast with user coroutines).
93d12de22 checked in files that are missing in the previous commit for lua_socket_log_errors.
1efea1b3d docs: documented the new lua_socket_log_errors directive and also updated the TODO list.
f6bd4f7e6 feature: added new directive lua_socket_log_errors that can be used to disable automatic error logging for both the TCP and UDP cosockets. thanks Brian Akins for the patch.
45461af3a fixed a source line exceeding 80 columns.
f9e7f3703 now we explicitly disable the user coroutine API in running contexts other than content_by_lua*, rewrite_by_lua*, and access_by_lua*.
2f5f9550c updated the systemtap-based test cases for user coroutines.
9c54ac2d2 improved the comments for the first few fields of ngx_http_lua_ctx_t.
626cb4a95 eliminated short enum names NONE, YIELD, and RESUME to prevent naming collisions. also use only 2 bits for the cc_op filed in the ctx struct.
75d2d7ab1 added new static dtrace probe http-lua-user-coroutine-resume.
4679f459a added (passing) tests for calling ngx.exit() and ngx.exec() in deeply nested user coroutines. also added new static probe http-lua-user-coroutine-create.
849492e5b added a (passing) test for deeply nested coroutines. also avoided using 3rd-party web sites in the test cases to prevent flushing them in the "check leak" testing mode.
c314499de fixed a source line exceeding 80 cols.
da5e42542 Merge branch 'master' into coroutine
44e38b134 fixed a place where we did not check the pointer returned from ngx_array_push.
646b0129d added a subtest for the error logs when resuming dead coroutines.
bd78705a1 bugfix: ngx_http_lua_resume didn't recognize dead coroutine if the coroutine was resumed with args
6add2a593 avoided using hard-coded port number of the redis service in the test cases.
d476dec56 added a test for using the coroutine-based pubsub API provided by Daniele Alessandri's lua-redis library.
dc33fb339 optimize: now we use lightuserdata as the key to the coroutine parents table in the lua registry. we also use lua_rawset and lua_rawget wherever possible.
3572114b5 do not call the public C API in ngx_http_lua_coroutine.c for the sake of consistency. also checks if the request pointer is null in the Lua coroutine API implementations.
4f5e8e2f8 better error handling in inlined Lua loading and running.
9c4c72c5c bugfix: we should avoid complicated stack operations that might require memory allocaitons in the lua atpanic handler because it would produce another exception in the handler leading to infinite loops.
a2543aa22 removed C macros that are no longer used. this was a merge mistake happened on the git "coroutine" branch.
9494c1220 bugfix: we should avoid complicated stack operations that might require memory allocaitons in the lua atpanic handler because it would produce another exception in the handler leading to infinite loops.
fc2194ac7 more coding style fixes.
e69527564 eliminated hard-coded nameserver IP address in the test cases in coroutine.t.
22a252dee bugfix: the main vm stack leaked memory when the entry coroutine completed successfully or tried to yield.
abd231c01 even more coding style fixes.
9e90fbefe more coding style fixes.
e7ca4988d more coding style fixes.
df844cb8e fixed the test plan in coroutine.t and made it work with "check leak" testing mode; also added error message tests to all the test cases there.
676c3dbf8 various coding style fixes.
50357f146 Merge branch 'master' into coroutine
4cb88e205 display the stack top as debugging logs in ngx_http_lua_run_thread.
8d63530b7 fixed the serial number in t/089-coroutine.t.
6f402674b merged branch "master" into "coroutine".
3388d424f updated docs to reflect recent changes, especially the new "openresty-en" mailing list for English speakers.
0ee0c49cf bugfix: the UDP cosocket object could no longer be used after an read or write error happened.
d577a3818 bugfix: ngx.exit(status) always resulted in 200 OK response status when status > 200 and status < 300. thanks Nginx User for reporting this issue.
63daa7571 minor coding style fixes.
f0efac25b updated the error message in docs to reflect recent changes.
dfe620204 bumped version to 0.5.11.
1dc7634b5 improved error message when calling ngx.req.socket() when the request body aleady exists.
ef4a8acd7 documented that ngx.req.socket() is required to be called before ngx.req.init_body().
a071d3ee6 fixed two test cases for ngx.req.socket + ngx.req.append_body. also added a test for calling ngx.req.socket *after* ngx.req.init_body.
04ef7a499 bugfix: ngx.req.init_body/ngx.req.append_body/ngx.req.finish_body could not work with ngx.req.socket and resulted in infinite loops when the nginx request header reader has pre-read the beginning part of the request body. thanks Matthieu Tourne for reporting this issue. bugfix: the ngx.req.socket() object could not handle pipelined requests in some special cases. feature: added new dtrace static probe nginx_lua:::http-lua-req-socket-consume-preread.
db0bebedb documented the ngx.req.init_body, ngx.req.append_body, and ngx.req.finish_body APIs; also bumped the version number to 0.5.10.
4697b1dc2 skipped the hup tests in "check leak" testing mode.
d29e8b330 various fixes in the test suite for the "use hup" testing mode.
3ef8844b1 minor test updates
d07f97163 fixed the test plan in 089-phase.t so that it works with different repeat_each settings.
b994240df added stap based tests for client body temp file cleanups.
446e3477d fixed two places of variable set but never read reported by the clang static analyzer.
88ad0a001 fixed various corner cases for ngx.req.init_body/append_body/finish_body. also added some test cases for these new API.
20620cb32 fixed a clang warning regarding strncmp.
d32294612 Merge branch 'master' into req-body
3fc42b417 fixed the ngx. table initial size.
15aef44c8 resolved conflicts while merging branch "master" into "req-body".
9b3bbf4f8 documented the ngx.get_phase() API.
28a022db2 updated .gitignore to reflect recent changes.
02a8b7ba9 minor fixes in the ngx.get_phase() call.
c1cd17315 feature: added new Lua API, ngx.get_phase(), for fetching the name of the current running phase from within Lua. possible return values are "set", "rewrite", "access", "content", "log", "header_filter", "body_filter", and "init". thanks James Hurst for the patch.
bd66f77fe bumped version number to 0.5.9
d1cfc94c8 bugfix: buffer error would happen when the "args" option table to ngx.location.capture (and ngx.exec) contained a multi-value argument whose key also required uri escaping. thanks Matthieu Tourne for reporting this.
0f62a62e3 bugfix: 3rd-party nginx C modules that use the public C API function, ngx_http_lua_add_package_preload, could result in segfault at nginx server startup due to uninitialized Lua VM pointer. thanks Ray Bejjani for reporting it.
ebeb4ea8e fixed the provider name in stability attributes in ngx_lua_provider.d.
d3a9ba25b feature: initial support for dtrace static probes. it requires nginx-dtrace though: https://github.com/agentzh/nginx-dtrace
c25689b93 updated docs and bumped version to 0.5.8.
a624ee948 updated .gitignore a bit.
3eab7b036 ensured that proper error message is always thrown when the iterator returned by ngx.re.gmatch is used in the context of another nginx request.
e73e24443 bugfix: ngx.re.gmatch() might result in segfaults during nginx request cleanups if the iterator returned by ngx.re.gmatch() was collected (by Lua GC) before request cleanups. this bug had appeared in ngx_lua 0.5.0rc30 (and ngx_openresty 1.0.15.9). thanks Wayne for reporting this issue.
54c0a3549 bumped version to 0.5.7.
d17a942ca Merge pull request #141 from dirkfeytons/no_pcre_compile_fix
8df3747ec Fix issue with unused variable when compiling without PCRE support.
6d67fc4b1 tweaked a test case to make it less possible to fail in slow testing mode.
1cae67d5e fixed a test case.
24fc460b4 documented the new options table argument and the "pool" option for the tcpsock:connect() method.
992e4f026 bugfix: tcpsock:connect(): numeric pool option values did not really work. also nil pool option was caused trouble too and we disallow that now.
31aa26383 rename coroutine testsuite name
8c03cc5a4 Merge branch 'coroutine' of https://github.com/chaoslawful/lua-nginx-module into coroutine
927ef1e86 Merge branch 'master' into coroutine
6a375a651 Merge pull request #138 from jinglong/coroutine
4f208bff2 delete useless comment in ngx_http_lua_thread_traceback
0976365ca update ngx_http_lua_thread_traceback to print the full traceback for the current coroutine and his ancestors
1d8d1578f feature: added an optional "optional table" to tcpsock:connect() which accepts a "pool" option to allow the user specify a custom pool name intead of the automatically generated one based on the host-port pair or the socket file path. thanks Brian Akins for the patches.
06abbea6b documented the UDP/datagram cosocket API.
0a2d1d246 bugfix: udpsock:send() might crash on null pointer access when the request object is absent or the u pointer is null.
4ae7d6a3c added (passing) tests for the size argument of the udpsock:receive(size) method.
49c29a081 feature: added the udpsock:close() method.
1a8bd0f14 merge with master
268493900 Merge remote-tracking branch 'origin/master' into udp-socket
405efbabd tweaked the test case a bit.
05c3a1e75 bugfix: the udp cosocket API could not talk over a unix domain socket.
24991b68a added a (passing) test for receive() timeout.
8b1040d25 bumped version number to 0.5.6.
053999e59 added a test case for successive udpsocket:setpeername() calls.
010d17d48 removed a useless comment from ngx_http_lua_socket_udp.c.
06d654b02 documented the ngx.req.get_method() and ngx.req.set_method(method_id) methods.
80e86f554 updated docs to reflect recent changes.
3b51a96c2 merged branch "master" into "udp-socket".
0cf6c86fa bugfix: the tcp/stream cosocket object might hang when another concurrent request is accessing it while its operation is still in progress; now we always check for potential access conflicts and return the "socket busy" error string if it is indeed the case.
fd412f72e bugfix: the udp cosocket object might hang when another concurrent request is accessing it while its operation is still in progress; now we always check for potential access conflicts and return the "socket busy" error string if it is indeed the case.
b6b23570a fixed the test suite to reflect recent changes.
0280aaa4f Merge remote-tracking branch 'origin/master' into udp-socket
3824e4466 udpsock:connect(): now we fetch ngx_socket_errno in case of error as soon as possible.
567da366d bugfix: the tcpsock:connect() method always returned the (vague) error strng "connect peer error" instead of the (detailed) system error string.
3232eb078 added more tests for udp cosockets.
8157284b8 bugfix: the udpsock:connect() method always returned the (vague) error strng "connect peer error" instead of the (detailed) system error string.
4a79d1b8d optimize: udp cosocket: now we use a global (static) receive buffer to avoid dynamic allocations on heap.
f85139757 Merge remote-tracking branch 'origin/master' into udp-socket
42d9617e8 merged branch "master" to "udp-socket".
787a7b122 fixed a minor coding style issue.
e9a74f68b feature: implemented the UDP cosocket API, ngx.socket.udp().
30601c71f bugfix: the tcp cosocket object might automatically re-connect to the remote after it connected successfully in a single run (that is, no EAGAIN returned in the middle) and DNS domain names were used.
007d61a7c bugfix: tcpsock:receive() and tcpsock:send() always returned "error" as the error message. now it properly returns the system error string.
61858d95d bugfix: ngx.req.clear_header() did not remove all the instances for the builtin headers or custom headers. bugfix: ngx.req.clear_header() might accidentally remove request headers that are not specified at all and leave the specified headers with just empty header values when removing multiple built-in headers. thanks Matthieu Tourne for reporting the issues.
e9d5d601a feature: added new Nginx API for Lua: ngx.req.set_method(method_id) and ngx.req.get_method. thanks Matthieu Tourne for suggesting these.
4960e01ec bugfix: we should always test if the request object pointer is null in the ngx.req.*_body API.
c2f74d15e checked in a (skipped) test case for subrequest request headers handling.
05c0f5a8c bugfix: ngx.exec() did not accept the nil value for its second (optional) argument.
166de0c46 updated the TODO list in docs to reflect recent changes.
584ec028b bugfix: ngx.exit(404/403/500/...) would throw out Lua errors when the response headers with exactly the same status code had already been sent. thanks Matthieu Tourne for reporting this.
4275482f4 documented the init_by_lua* directives and also bumped version number to 0.5.5.
6e5e1738f Merge branch 'master' of github.com:chaoslawful/lua-nginx-module into coroutine
588ee4dcb removed a test in t/023-rewrite/exit.t.
5126e8153 fixed a test case in 085-if.t that hard-coded TEST_NGINX_CLIENT_PORT in nginx config.
ce4314d46 bugfix: init_by_lua* might be skipped altogether when HUP config reload was used.
5445e0e8c bugfix: invalid memory reads might happen on HUP config reload when lua_shared_dict is used.
608c89bbf fix typo in config
8f1a44363 fix compiling errors
9c3c01aa4 remove unexpected merged codes
35bf172eb merge jinglong's commit
bb7d35eaa merge master and jinglong's commit
2d3c907f4 Merge pull request #135 from jinglong/coroutine
27366974e improve coroutine apis
c984bedd2 fix a harmless typo in ngx_http_lua_run_thread
943b3fe7a Merge branch 'init'
ae9b7893c enlarged the timeout setting for TEST 16 in 082-body-filter.t to make it less possible to fail in slow testing modes.
8149324c2 feature: enabled print() and ngx.log() in the context of init_by_lua*.
15ec27758 bugfix: init_by_lua* might result in segmentation faults when multiple lua_shared_dict instances are defined.
f4a15e29a feature: added new directives init_by_lua and init_by_lua_file.
ab41caaf5 feature: now we print backtrace to error.log when Lua errors happen in body_filter_by_lua*.
dae23ad7d fixed the test plan in t/041-header-filter.t.
240fc4ab3 feature: now we print backtrace to error.log when Lua errors happen in header_filter_by_lua*.
b75195c40 fixed the test plan in 001-set.t.
97ba958d0 feature: now we print backtrace to error.log when Lua errors happen in set_by_lua*.
e876411bd feature: now we print traceback to error.log when Lua errors happens in log_by_lua*.
7ce7fb2e2 coding style fixes in ngx_http_lua_socket_tcp.c.
924d093ea Merge branch 'master' into backtrace
c03574631 Merge branch 'udp-socket'
f8074dca4 renamed ngx_http_lua_debug_traceback to ngx_http_lua_thread_traceback, and other naming changes.
dbc4ca764 renamed ngx_http_lua_debug_traceback to ngx_http_lua_thread_traceback, and other naming changes.
2902f9ff2 Merge branch 'master' into udp-socket
5a539500c bugfix: upstream data buffers were not marked as fully consumed when body_filter_by_lua* is used and ngx.arg[1] is overritten. this could result in connection hang for large response bodies. thanks Tzury Bar Yochay for reporting this issue.
418024960 updated .gitignore.
a04e204d0 renamed ngx_http_lua_socket* to ngx_http_lua_socket_tcp* to prepare for the udp cosocket API addition.
a96dd5515 bumped version to 0.5.4.
d2dc90839 optimize: fixed the initial table size for ngx.req.
9ae5a3435 Merge branch 'master' into req-body
3074fddd1 fixed some english grammatical issues in the comments.
e1e5b7f3b use ngx_memzero instead of memset in the previous patch from chaoslawful.
47eff35e9 bugfix: fix issue #132 dereferencing type-punned pointer will break strict-aliasing rules
538b97ae9 updated docs to reflect recent changes.
0178d4e7b bugfix: ngx.say and ngx.print might cause nginx to crash when table-typed arguments were given. thanks sztanpet for reporting this in github issue #54.
0428b88fc Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
c2d095a1f added some (passing) tests for "location if" compatibilities.
f73785c64 updated docs to reflect recent changes.
09f063024 fixed an issue in the test case in 082-body-filter.t: we should not use "echo" and "content_by_lua" in the same location.
553432b59 bugfix: header_filter_by_lua* did not run at all when body_filter_by_lua* is defined at the same time. thanks Tzury Bar Yochay for reporting this issue.
5d59d498a reindexed the test in t/041-header-filter.t.
9f633c860 added a (passing) test for clearing the Content-Length response header in header_filter_by_lua.
0ff8afe0e fixed test cases that rely on the old (broken) HTTP 1.0 support in ngx_echo.
7d6547aeb docs: added more documentation for the Lua/LuaJIT raw bytecode support. thanks Wayne.
17fbfb771 optimize: merged two successive nginx pool allocations in ngx_http_lua_socket_resolve_handler to reduce overhead.
37a9fcd87 bumped version number to v0.5.1.
a35ff3636 ngx.req.init_body: when the size argument is specified, honor that exactly; when the size argument is omitted, use the same logic as ngx_http_read_client_request_body to calculate the buffer size.
3a8d8dadc Merge branch 'master' into req-body
0bb38b0bd made tests less possible to fail in tcp-socket-timeout.t when the DNS nameserver happens to be slow.
cd0139dc9 fixed some coding style issues.
a8e1f16f0 docs: redocumented the "inclusive" option for the cosocket:receiveuntil method.
c4d5e3a24 Merge branch 'master' into inclusive
e0a6a36c7 added a (passing) test for default_type + charset + content_by_lua.
2b6c95cfe updated README and README.markdown by the tools.
565452051 bumped version number to v0.5.0rc32.
0eba3537b Merge branch 'master' into inclusive
e0cabf043 added more (passing) tests for the "inclusive" option of cosocket:receiveuntil().
2b8ea405f improved the error handling of the "inclusive" option for cosocket:receiveuntil and also added some test for this. removed the tests for the "inclusive" option to a separate test file, 084-inclusive-receiveuntil.t.
2174ed2e5 fixed a bad test case in 083-bad-sock-self.t.
9905167e3 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
51bc8fb49 bugfix: the lua VM might crash when calling the cosocket methods with a bad-typed self argument.
5545cfaad Merge branch 'master' into inclusive
cdb6a6f94 fixed a coding style issue in the previous commit.
146fe0c61 bugfix: the zero-size buffer alert could occur in body_filter_by_lua* when the current buf is a special "eof" buf and the user has turned off the "eof" flag by assigning false to ngx.arg[2].
cea392987 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
c66daf057 Merge remote-tracking branch 'jinglong/bytecode' into bytecode
bad3eee54 Use more descriptive names in ngx_http_lua_clfactory.c(like LUA_LITTLE_ENDIAN_4BYTES_CODE)
33e62fcf3 docs: documented the body_filter_by_lua* directives and the new bytecode file loading support.
d92a14d7b Merge branch 'master' into body-filter
5fa0dbc1f merged jinglong's "bytecode" branch into "master".
1c6280f57 docs: documented the lua_transform_underscores_in_response_headers directive.
f81ceeb40 feature: added new directive lua_transform_underscores_in_response_headers. thanks Kindy Lin.
b09b8ee44 1,fix a bug in loading bytecode(faild to load no-stripped bytecode of luajit)
55153ceaf fixed the test plan in t/082-body-filter.t.
f9e534f05 Merge remote-tracking branch 'origin/master' into body-filter
9cabf1c4a minor tweaks of the error messages and coding style issues in the byte-code support patch from jinglong in github pull #124.
3e9984a03 various coding style fixes.
71467020d added (passing) tests for the on-demand handler registration of body_filter_by_lua*.
2a63a168b docs: added a note for installation with lua 5.1 on ubuntu 11.10. thanks Dan Sosedoff.
81964d5a8 bufix: fixed the directive context for set_by_lua and set_by_lua_file. they really work in the contexts "server", "server if", "location", and "location if". thanks Liu Taihua.
119b85e16 feature: the lua statement "return ngx.ERROR" can now be used to abort the output stream in body_filter_by_lua*.
91b23e692 feature: ngx.arg[1] now also accepts a lua table of lua strings as its new value.
9f488b0ec feature: ngx.arg[1] and ngx.arg[2] now support overwriting in body_filter_by_lua*.
5591fb0cb Merge remote-tracking branch 'origin/master' into body-filter
19c803d76 merged "master" into "body-filter".
6183ad4f5 docs: fixed a typo: ngx.now returns time of the resolution of milliseonds, rather than microseconds. thanks Wang Xi.
dffaf4896 fixed the test "unexpected globals sharing by using _G (header_filter_by_lua*)" by chaoslawful which did not really test what it was supposed to test.
6ef34e54f bugfix: lua main thread stack might leak when header_filter_by_lua* is used.
1ecb2f40c bugfix: too many values on the lua stack might be concatenated when generating backtraces for lua errors and the lua vm would crash when there happened to be values on the stack that could not be concatenated (like nil). stylefix: renamed the debug_traceback function to ngx_http_lua_debug_traceback. optimize: eliminated unnecessary string concatenations when generating backtraces for lua errors.
46019a271 reindexed the tests in t/075-logby.t.
dff9bb898 fixed the test plan for 081-bytecode.t for the "check leak" testing mode.
172fe05aa Merge remote-tracking branch 'upstream/master' into inclusive
2e90054ca Merge remote-tracking branch 'upstream/master' into req-body
5c14bcd25 Adding code similar to nginx core, to prevent allocating buffers much larger than the request itself.
427d3d572 Update code, still using GLOBALS_SYMBOL_REQUEST. See Commit 89a997.
5078b1443 bugfix: the ngx.arg API was not usable within external lua module files in set_by_lua*. diagnosis: now we issue user-friendly error messages when the nginx lua APIs are used in the wrong directive contexts (e.g., using ngx.location.capture in set_by_lua*).
4e4e0b32c fixed more coding style issues in common.h.
64912a7b2 fixed coding style issues in common.h.
725c3a14e renamed ngx_http_lua_create_ng_table to ngx_http_lua_create_new_global_table; also fixed some coding style issues in 001-set.t.
b42f6c8c5 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
acb1b47aa minor coding style fixes in ngx_http_lua_logby.c.
6ce7490d6 Merge branch 'master' into body-filter
3520a90a6 merge conflictions
e5363496e bugfix: ngx.arg could not be used in user lua modules.
9bcb50325 feature: initial cut on the body_filter_by_lua and body_filter_by_lua_file directives.
6c650fafd bugfix: fixed unexpected globals sharing by using _G in log_by/header_filter_by/set_by
fede5ccb5 minor coding style fixes in ngx_http_lua_logby.c.
02824efe0 Merge pull request #124 from jinglong/bytecode
c5fde025d Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
40af5cdd8 cleaned up the "config" file, making lines shorter and easier to merge. thanks Matthieu Tourne for the patch.
656f6e272 eliminated including C headers that we do not actually use.
5347f9174 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
08b0433d0 bugfix: fixed unexpected globals sharing by using _G
8481276e1 optimize: now we register the "ndk" and "ngx" lua tables for log_by_lua* at config time rather than request time. this gives significant performance boost. also improved error handling in log_by_lua*.
f3a3757c2 enforced lua garbage collection full cycles in those shdict test cases to prevent memory leak false alarms.
294ba6fe6 1, fix code style
b79953e0e fix merge conflict
9ea8ba052 add simple test for coroutine support
f4ed28d2d improved lua error handling in header_filter_by_lua*.
0f652c040 optimze: explicitly specified non-zero initial size for certain lua tables.
7ce0102d1 optimize: now we register the "ndk" and "ngx" lua tables for header_filter_by_lua* at config time rather than request time. this gives significant performance boost.
b8e5b0219 fixed the "ngx" table initial size for set_by_lua*.
f19686330 optimize: now we initialize the "ngx" and "ndk" tables at config time instead of at request time. bugfix: the lua vm crash protection based on longjmp for set_by_lua* was not really working.
d6d7f872a renamed function init_ngx_lua_registry to ngx_http_lua_init_registry, and init_ngx_lua_globals to ngx_http_lua_init_globals.
df104f916 optimize: now we store the metatables for ngx.req.socket() and ngx.socket.tcp() objects into the lua registry.
89a997aca optimize: changed the string keys to light user data for various tracking tables (coroutines table, regex cache table, cosocket connection pool table, ngx.ctx table, and etc). This gives minor performance improvement from eliminating key hashing and etc. thanks Dirk Feytons.
5cc8fd50f fixed a typo in program comments. thanks Dirk Feytons.
f7f744efd Fix typos in error message.
1ce845313 docs: fixed the sample code for log_by_lua.
7292647a7 docs: marked the APIs that are available in the log_by_lua* context.
ead78b766 bumped version to 0.5.0rc31.
1bf725345 updated the docs for log_by_lua and log_by_lua_file.
285b72716 bugfix: memory leak would happen when accessing a location using ngx.ctx in Lua contexts other than log_by_lua* but there is also another location that uses log_by_lua*.
445b916a7 bugfix: header_filter_by_lua would leak memory when it is the only directive of ngx_lua configured in a location *AND* ngx.ctx is used.
113c65818 reindexed the test numbers in t/025-codecache.t.
c8063a8bb updated .gitignore again.
cd825f51c updated .gitignore.
2a3d31d38 Merge branch 'logby'
3b1e9aaff updated docs to reflect recent changes.
a58ebf89f 1, add more test cases for loading bytecode
76dcccdfd updated valgrind.suppress for linux i386.
cfd3a0e43 now we use environments in the developer build script instead of hard-coded paths.
e72096a47 1, check the version when loading bytecode
fa64f3628 added downstream cosocket tests for the rewrite phase.
429b603c5 optimize: now we no longer call ngx_http_post_request to wake up the request associated with the current cosocket upstream from within the cosocket upstream event handlers, but rather call r->write_event_handler directly. this change can also make backtraces more meaningful because we perserve the original calling stack.
54d8736f6 added cosocket tests for lua code running at the rewrite phase.
26db2dda1 bugfix: cosocket:connect() might hang on socket creation errors or segfault later due to left-over state flags.
39b9138cf 1, add a test case for loading bytecode
1099cd3b6 minor fixes in cosocket.
2a418d8bb 1, add support for loading bytecode(both lua and luajit)
802e95b30 bugfix: the _G special table did not get cleared when lua_code_cache is turned off. thanks Moven.
95857be6f feature: ngx.log() now checks if the log level number is in the valid range (0 ~ 8). thanks Xiaoyu Chen (smallfish) for suggesting this.
154f5af33 fixed the newly added test case for log_by_lua + shared dict.
7ba84a74a Merge branch 'master' into logby
2afa6bfb3 added one (passing) test for log_by_lua + shared dict.
86f97f00b bugfix: ngx.sub() could leak memory when the "replace" template argument string is not well formed and the "o" regex option is specified. this issue was caught by Test::Nginx::Socket when setting environment TEST_NGINX_CHECK_LEAK=1.
fd681f8d0 bugfix: fixed a compilation error in the previous commit.
b30b56cf3 bugfix: ngx.re.gmatch leaked memory when the "o" option was not specified. this bug was caught by Test::Nginx::Socket when setting the environment TEST_NGINX_CHECK_LEAK=1.
9c96a3aaf Merge branch 'master' into leak
f9e61f044 docs: massive wording improvements from the nginx wiki site. thanks Dayo.
f74372491 Merge branch 'master' into leak
d2d1904b6 fixed test plan for 056-flush.t for the "check leak" testing mode.
8c0221fc0 fixed test plan for 056-flush.t for the "check leak" testing mode.
a058363c1 fixed another issue in the test case for the memory leak issue that was in receiveuntil().
d80359814 fixed an issue in the test case for the memory leak issue that was in receiveuntil().
225fc72fc fixed invalid HTTP request headers in the req-body test cases.
1aab85928 bugfix: receiveuntil could leak memory, especially for long pattern string arguments. this bug was caught by Test::Nginx::Socket when setting the environment TEST_NGINX_CHECK_LEAK=1.
6440e4e61 updated valgrind.suppress further for linux i386.
c7374aaa3 updated valgrind.suppress for the "hup reload" + valgrind/memcheck testing mode.
a8dd2d70e added 080-hup-shdict.t to test if the data in shared dict is survived through nginx HUP reload. also updated valgrind.suppress accordingly.
9fbba9aeb added tests for the on-demand handler registration mechansim for log_by_lua*.
dbac00503 resolved conflicts while merging "master" into "logby". we now adopt the new on-demand handler registration mechansim for our log_by_lua* directives.
a287451c1 Refactored on-demand handler registration
acb1cde11 minor coding style fixes in capturefilter.c.
e1a91744d reindexed tests in 079-unused-directives.t
ce0921789 added tests for handlers registered on-demand (i.e., determined whether their config directives are actually used in nginx.conf).
564d2bb8c minor coding style fixes and debug log message adjustments.
6d2e7a0f6 Merge branch 'master' into logby
a830b61eb 078-hup-vars.t: no need to use the debug log level.
a486c4cf0 added tests for the nginx core bug regarding nginx variables under HUP reload: http://mailman.nginx.org/pipermail/nginx-devel/2012-May/002223.html
ab5069e5d merged branch "master" into "logby".
1075c325e fixed tests to work-around an issue with nginx listening on a unix domain socket (we have to remove the socket file before sending HUP).
f1548c48d fixed tests to work-around an issue with nginx listening on a unix domain socket (we have to remove the socket file before sending HUP).
c50378562 fixed ngx. table initial size for content/rewrite/access_by_lua*.
6ab79176d Reverting to da5e60c949dcd4d8ed68b838aaf681a933c3bae7
609255f1b Merge branch 'cleanup'
d6ef8d61a Cleanup config, make line shorter and easier to merge Adding cleanup branch for potential other style refactoring
104b80949 Merge remote-tracking branch 'upstream/master'
da5e60c94 fixed tests for floating point number inaccuracy issues on linux i836.
e49edfa9d fixed typos in the tests.
54a0e568c minor optimizations in ngx.sleep handling.
a89d8ce47 added more tests for calling ngx.location.capture before and after ngx.sleep.
2362917a6 updated docs to reflect changes (including documenting ngx.sleep.)
c5be5ff2f optimize: fixed the ngx. table initial size.
d6ba6b450 renamed t/074-sleep.t to t/077-sleep.t because we already have t/074-prefix-var.t (from the "prefix-var" branch).
4e7379f93 reindexed the test numbers via the "reindex" script.
cc3de56b1 Merge branch 'master' into sleep
5a55dd6f4 bugfix: fixed various issues in jinglong's patch for adding ngx.sleep() in github pull request #120.
6446ee71b documented the rewrite_by_lua_no_postpone directive.
8f6fab621 Merge branch 'master' into no-postpone
e7754953d updated docs to reflect recent changes.
8e750fa1b bugfix: the receiveuntil iterators would have memory issues with very small lua_socket_buffer_size settings in the inclusive mode.
1f8c3818f Adding test for inclusive mode
8f306812a Fix receiveuntil("pattern", { inclusive = false })
05dee24fa Adding documentation for the receiveuntil option { inclusive = true }
d509d07ec Adding logic for the receiveuntil option { inclusive = true }
92b47f9da fixed typos in the test case names in 075-logby.t
6e732efe6 1, fix a bug in sleep() (the number of argument must be 1)
b2481bebe 1, update t/062-count.t(total count of ngx.* to 88) 2, update t/074-sleep.t
080990db7 1,add test cases for ngx.sleep()
4c207e540 1, add ngx.sleep()
0782f475c merged from master
2fd7a3a50 initial implementation works
3ac6f2614 various coding style fixes in Matthieu Tourne's patch for adding ngx.req.init_body(), ngx.req.append_body(), and ngx.req.finish_body(). also made the size argument optional in ngx.req.init_body() in which case the client_body_buffer_size configuration is honored.
205799736 Adding ngx.req.init_body() ngx.req.append_body() ngx.req.finish_body()
46aa87805 fixed coding style in Matthieu Tourne's patch for adding the rewrite_by_lua_no_postpone directive; also added some tests for it.
436cd30a9 Adding directive rewrite_no_postpone
b241806f2 Merge branch 'master' into logby
f229fccc5 various fixes in ngx.decode_args().
df2ec5acf added tests for the optional max_args argument to ngx.decode_args(); also documented this optional argument.
56d992b1a docs: documented how relative paths are processed when *_by_lua_file directives are used; also documented the $prefix and ${prefix} notations in lua_package_path and lua_package_cpath directive values.
5be3f2b36 Merge branch 'master' into prefix-var
3d6f752a0 docs: updated docs to reflect recent changes in set_by_lua.
89ba48983 Merge branch 'master' into setby
47ec23a33 updated docs to reflect recent changes in the logging API.
e9cb51043 fixed a test case in 009-log.t for luajit 2.0.
d823b8454 Merge branch 'master' into logging
2bd1f0f80 updated docs to reflect recent changes.
732fe370a added many more tests for log_by_lua* and also fixed issues with ngx.ctx in log_by_lua*.
447c7488b fixed some coding style issues in Matthieu Tourne's patch for log_by_lua* and also added a simple test for log_by_lua.
398710700 Adding log_by_lua and log_by_lua_file and documentation
fd193aa4c fixed ngx. table initial size for ngx.decode_args().
77ca488a5 Adding documentation for ngx.decode_args()
6a61f4384 added some tests for ngx.decode_args().
ecd83e9a1 minor coding style fixes in Matthieu Tourne's patch for adding ngx.decode_args().
674b8709a Add ngx.decode_args()
4b4f48007 resolved conflicts while merging master into prefix-var.
2178f0bac updated README and README.markdown to reflect recent changes in both the .wiki doc and wiki2markdown.pl.
69a3d8970 Merge pull request #118 from zhuzhaoyuan/master
c5016c17f Fixing incorrect merge from prefix-var branch
886792c5f Adding documentation for ngx.decode_args()
50f47a99b Merge branch 'devel'
d0f5ed363 Merge remote-tracking branch 'upstream/prefix-var'
849ca03dc Merge remote-tracking branch 'upstream/logging'
cb5c37ec7 generated README.markdown by using wiki2markdown.pl
b1ca2dd5b updated the wiki file (http://wiki.nginx.org/HttpLuaModule had been updated)
a3524ab96 synchronized the wiki from http://wiki.nginx.org/HttpLuaModule
54d4b8fe1 Merge branch 'master' of https://github.com/chaoslawful/lua-nginx-module
087694f4a feature: special nginx variable $prefix is now available in the lua_package_path and lua_package_cpath, which evaluates to the server prefix string (as specified by the -p PREFIX command-line option of the "nginx" executable). thanks Matthieu Tourne for the patch.
efb33ad7c added a leading comment to README.markdown to indicate that is is generated automatically.
1e6de3d93 optimize: eliminated unnecessary lua-side operations in ngx.log() and print().
33b3d45ea modified the message prefix of print() from "[lua] print: " to just "[lua] "; also updated tests to reflect recent changes.
932a748a4 Merge remote-tracking branch 'upstream/logging'
227b9c3ef Merge remote-tracking branch 'upstream/master'
0a258abde fixed some typos
0538286ea Merge pull request #117 from zhuzhaoyuan/master
77c715d45 fixed some minor grammatical errors
5f1c7c32c lua -> Lua
fd0fa3e54 Merge branch 'master' of https://github.com/chaoslawful/lua-nginx-module
2ca579687 Merge pull request #116 from dirkfeytons/master
34d6f7da0 bugfix: the set_by_lua directive did support nginx variable interpolation and there was no easy way to use the dollar sign characters in the literal Lua source. the set_by_lua_file directive still supports nginx variable interpoloation in its lua file path argument. thanks Vittly for reporting this in github issue #111 and jinglong for the test in github pull #115.
edd3e3f62 Only include lua_regex_cache_max_entries if NGX_PCRE is defined.
2cd7586ce feature: added the "[lua]" prefix to the log messages produced by ngx.log() and print(). thanks Matthieu Tourne for the patch.
28da7e3f9 changed the chunk name of set_by_lua from "set_by_lua_inline" to "set_by_lua".
f75f20d18 feature: ngx.log() and print() now output more debugging info, i.e., the current lua source file name (if any), the current source line number, and the current calling lua function name (if any), into the nginx error.log file. thanks Matthieu Tourne for the patch.
f8e612af3 changed the chunk name of set_by_lua from "set_by_lua_inline" to "set_by_lua".
57a189a55 Merge pull request #114 from monadbobo/master
8e2e4a9e7 remove some dead assignment via scan-build.
e841106d1 added a (passing) test for setting ngx.header.content_encoding that should bypass the ngx_gzip output filter.
c465d2bdc Add ngx.decode_args()
57e8d9991 added a (passing) test case for cosocket:send(""), that is, sending an empty string.
a3961fe7b bugfix: cosocket:receive(0) was not allowed and would throw an error saying "0" is a bad pattern. thanks huang kun for reporting this issue.
ca3239a25 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
cd04674b8 deleted a reduntant blank line
c4f371671 fixed minor coding styles
54f5a70d7 deleted a reduntant blank line
4174f0c6b fixed minor coding styles
61960c5ad Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
0d1db00cf remove duplicate string conversion
7a7ac79f3 removed dead code found by Simon Liu.
d457e01b2 enlarged the timeout threshold of TEST 10 in 027-multi-capture.t.
a7bd2ef07 enlarged the resolver timeout for TEST 4 in 058-tcp-socket.t.
a11ba9b04 enlarged the timeout threshold of TEST 5 in 067-req-socket.t.
3584b61d2 Merge remote-tracking branch 'zhuzhaoyuan/master'
fbbc89d93 cosocket: simplified the code for downstream cosockets a bit.
8e24cd1ef Merge remote-tracking branch 'upstream/master'
581e0495b lua -> Lua, luajit -> LuaJIT, and fixed some minor typos
a34f9b6ea bugfix: gcc 4.6 complaint about comparing size_t values with off_t values.
754d547ca bugfix: ngx.req.socket() did not honor the "Expect: 100-continue" request header and could hang. thanks Matthieu Tourne for the patch in pull request #107.
21450b7c5 bugfix: the ngx.req.socket() object (i.e., the downstream cosocket object) did not work with HTTP 1.1 pipelined requests at all.
e7f56d021 bugfix: downstream cosockets might lose the last part of the request body when receiving data. this regression had appeared in v0.5.0rc25. thanks Matthieu Tourne for reporting it.
9144d2487 Fix receiveuntil("pattern", { inclusive = false })
8cd749f33 Adding failing test
8e6877379 minor coding style fixes in the patch for adding Lua backtraces. also added 073-backtrace.t to test it. see github pull request #107.
f079f8b3a Adding trace to errors
dbe0dc4e4 now we call ngx_http_lua_socket_finalize in cosocket:setkeepalive() to help buffer reuse.
d00976d80 bugfix: nginx could crash on request fialization when running the cosocket cleanup handler due to the lack of check of the ctx pointer. thanks shaneeb for reporting this in github issue #110.
b440e5b2d updated t/024-access/exit.t a bit.
d4b111b61 Merge remote-tracking branch 'upstream/master'
8f1b3d9aa added a test for If-Unmodified-Since and 412 error page.
eeb1816c6 optimize: now ngx.log is much faster when the log level argument is lower than the actual error_log level specified in nginx.conf. thanks Matthieu Tourne for providing the patch.
02b1db9e5 minor optimizations.
0ceb1045f added (passing) tests for conditional GET requests.
decdf0129 added error log tests to t/044-req-body.t.
e9a5eb1a0 bugfix: ngx.req.get_body_data() could not handle multi-buffer request bodies and discarded the body data after the first buffer.
df32739d0 fixed test index in 024-access/subrequest.t.
8e2faf71b added tests to expose the bug in the nginx core reported by drdrxp in agentzh/nginx-eval-module#1.
becf72a1a added a (passing) test for github issue #110.
34a36afa1 Adding documentation for the receiveuntil option { inclusive = true }
20b339571 Adding logic for the receiveuntil option { inclusive = true }
ef8e2bf8c Adding test for inclusive mode
add1a0ad8 updated .gitignore.
9e935ee31 add skeleton of coroutine api
2db0ae306 Merge remote-tracking branch 'upstream/master'
77eb00333 Adding README.markdown
1901199ad Adding log_by_lua and log_by_lua_file and documentation
8d287851e bugfix: the previous patch for using ngx.ctx in set_by_lua* could result in memory leaks; now we ensure that the request cleanup handler is always registered when set_by_lua* is used.
ef9112084 added error log tests to 033-ctx.t.
bee1cabcb bugfix: ngx.ctx was not accessible at all in set_by_lua*. thanks Pierre.
4e56036c2 minor code refactoring.
004b7c8ba bugfix: fixed typo "on-array", which should be "non-array", in an error message.
6de0c1c6c bugfix: cosocket connections from the connection pool might lead to segfaults if it is not used immediately. thanks xukaifu for reporting this as github issue #108.
370955d21 removed too restrict timeout settings in the test suite.
c7ec9c97d bugfix: debug logging in the cosocket receive line method could lead to invalid memory reads under extreme network conditions. this issue was caught by mockeagain in reading mode.
f3f561f1e updated valgrind.suppress for linux i386 further.
76bf73c7e updated valgrind.suppress.
200bac2c2 test: enlarged resolver timeout for the cosocket tests even more.
7667027d4 enlarged resolver timeout for the cosocket tests.
d611eeee7 added more error_log tests for the cosocket tests.
776f4999d Merge remote-tracking branch 'upstream/master'
e0eea5355 Fix issues with POST using http 1.1 (test for expect)
b80b502be Adding ngx.req.init_body() ngx.req.append_body() ngx.req.finish_body()
a12d72f25 Adding "variable" $ngx_prefix to lua_package_path
2ee6f4694 Adding trace to errors
fa3eeb01a Adding directive rewrite_no_postpone
2bb9d6fd8 still use 2 sec as the resolver timeout setting in 058-tcp-socket.t TEST 8.
e442e7661 fixed tests for mockeagain in reading mode.
00d05f26d bugfix: downstream cosockets might hang on the receive(size) method call for slow connections. mockeagain in reading mode caught this issue.
1c0e24a3c various fixes in the test suite.
4591dc704 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
6667bf628 feature: made ngx_http_lua_api.h visible to other nginx modules by adding src/api to the CORE_INCS variable value in the config file. thanks Brian Akins for suggesting this in github issue #105.
8a6fc75fa change lua_pop macro to lua_settop function in gdbinit script
a84e94623 added support for PCRE_INC and PCRE_LIB to the developer build script.
1cb522d49 fixed the developer build script.
f5aaee3d6 updated .gitignore.
43cac16e5 renamed ngx_http_lua_add_preload to ngx_http_lua_add_package_preload; also added new public C API ngx_http_lua_get_global_state, as suggested by Brian Akins in github issue #100.
6e9277404 minor code refactoring: we no longer include ddebug.h in common.h; and we put publich API functions into ngx_http_lua_api.h and ngx_http_lua_api.c.
5692c8f39 Merge pull request #101 from bakins/ngx_http_lua_add_preload
caecbe2e5 add gdbinit script to ease lua debugging
95aa6577c Merge branch 'master' of https://github.com/chaoslawful/lua-nginx-module
6ff5df616 updated docs to reflect recent changes (documented the ngx.HTTP_OPTIONS constant).
68638bd3a feature: added new constant ngx.HTTP_OPTIONS for the HTTP OPTIONS method; also added support for OPTIONS method in the subrequest capture APIs. thanks Jónas Tryggvi Jóhannsson for requesting this in github issue #102.
2b3f5f90e bugfix: we no longer forcibly quit the lua threads by clearing out its environment and running it blindly to the end because Lua GC will collect all those unfinished coroutines anyway.
4cfc2488f bugfix: improved the longjmp handling.
31378f14f add ngx_http_lua_get_request
f7003733b add ngx_http_lua_add_preload
e96822a5a bugfix: certain compilers might complain about missing declarations for types like int8_t. now we explicitly included stdint.h. thanks runner-mei for reporting it in github issue #98.
19bd32224 cosocket: various optimizations in timeout handling. this gives about 2.5+% performance boost in some benchmarks using lua-resty-redis and lua-resty-mysql.
c74667407 updated docs to reflect recent changes.
bbac7d623 bugfix: made the sha1 library an optional dependency, as suggested by runner-mei in github issue #94.
1a1cde4ca fixed a coding style issue: we did not declare C variables at the beginning of the current code block in ngx_http_lua_del_thread, reported by runner-mei in github issue #93.
e84711d08 bugfix: incorrectly used ngx_conf_log_error by using NGX_ERROR as the first argument, as reported by runner-mei in github issue #92.
37f749eb2 fixed typos in lua exception messages.
2ac3aa2a0 updated docs to reflect recent changes.
c9c5f9486 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
b4c2a37d3 fixed 061-lua-redis.t a bit.
1dc6c21e4 minor coding style fixes.
6de0dae34 feature: added new directive lua_http10_buffering which is on by default.
58cd006b0 fixed a test case in 024-access/satisfy.t.
ee0bf0b89 feature: added new constant ngx.DECLINED. bugfix: access_by_lua could not work with the "satisfy" config directive.
b6a6d5b1b Merge branch 'master' of https://github.com/chaoslawful/lua-nginx-module
04332d929 optimize: now we recycle the special flush buf and chain link for ngx.flush() to prevent request-scoped memory leaks when emitting long data streams to the downstream.
58cd7f0f2 added a (passing) test case for multi-value args to ngx.req.set_uri_args.
3dfd00aff bugfix: timestamp could overflow on 32-bit systems in the shared dict API; now we use 64-bit integers.
fcfdd73d2 documented the shdict:flush_all() method.
ae7b5e972 shdict: now we aggressively remove three items from the store in the flush_all method.
17bb70935 improved Weiqiang Li's patch by fixing the coding style and avoiding unnecessary operations. also added a test case for the new flush_all method.
f5d9b6c90 add flush_all api to shared dict
2b37a7c7a docs: documented the max concurrent subrequest count limitation and max error log line size limit.
9da8286df added a test case for emitting large messages via ngx.log().
215a9f7af updated docs to reflect recent changes.
3ff937f3a bugfix: the shared dict storage might leak memory in the store: ngx_http_lua_shdict_lookup incorrectly assumed that nodes with identical keys are linked together, which might not be true after tree rebalance. thanks the patch from Lanshun Zhou.
261020646 optimize: removed a redundant piece of code for subrequest headers_in fixes in ngx_http_lua_adjust_subrequest.
f21bd80b0 bumped the version number in docs.
99b02286f now we use the buf tag literal everywhere and removed the "tag" field from the location conf struct.
ec4becfea bugfix: the exptime argument to shdict:set/add/etc methods was incorrectly ignored when the flags argument is also specified. thanks the patch from Brian Akins.
81f1d7ca4 fixed typos in docs. thanks 王斌.
6c713ea68 removed an unnecessary line of code.
34f8f272c updated docs to reflect recent changes.
cdcbef310 Merge branch 'master' into cosocket
ef311cd1c updated developer build script.
003650d1b bugfix: fixed a debug log message.
e8aa2495f bugfix: for big input data, the cosocket reading methods could result in crashes due to incorrect use of luaL_Buffer. now we eliminate luaL_Buffer altogether by managing the recv buffers ourselves. the recv buffers can also be recycled.
87ebe182f updated the developer build script.
32e8ad4e1 bugfix: fixed various typos in source comments also avoided using luaL_checkstring which could do another longjump on its own. thanks 王斌.
67c79c0d2 added tests for cycled subrequests; also increased the "repeat_each" count in 027-multi-capture.t to make an issue with too small MAX_SUBREQUESTS easier to reproduce.
aaab8c750 fixed shdict tests on i386; also ensure to configure "postpone_output 1" for the sync flush test case that requires buf reuse.
e7f8eb729 bugfix: tcpsocket:setkeepalive() will return errors when the current connection has readable data or there is still unread data in the ngx_lua upstream buffer. bugfix: cosocket methods no longer explicitly return nil error strings upon success.
ae6b59a0a refactored the test suite a bit.
aa4bd3878 bugfix: when the parent request takes a request body, the subrequest does not take any bodies, and the subrequest's method is neither "PUT" nor "POST", then the subrequest will no longer inherit the parent request's request body. thanks 欧远宁 for reporting this issue.
9026d59fd bugfix: data might be accidentally read into the lua space on idle sockets when the last operation is a read operation *and* a read event suddenly arrives for edge-triggered event models. the same might also apply to write operations too. bugfix: invalid reads might happen in the reading iterators returned by the receiveuntil() method which could lead to segfaults.
1bce88568 added tests for the various "lua socket blah blah timed out" error messages; also tweaked other cosocket test cases for different test modes.
f95c55f7a bugfix: "closed" error would occur for long-running requests that hold the idle cosocket object for a period of time that is longer than the read timeout setting: we should delete the read event timer in time when the receive call has already got a read event. thanks 欧远宁 for reporting this issue.
1b702e540 added error logs for socket timeout errors.
78ed3f573 added error logs for closed errors.
7cb4e0957 introduced a minor optimization that we can save one recv call when the read event is active *and* the read event is not ready.
e633e75d9 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
fc7893d05 now we recycle the downstream output buffers to save memory and dynamic allocation times for long-running requests.
60e70ef7e bugfix: now we require the SHA1 library in the "config" file.
060e9bf49 Merge branch 'devel'
d4167c1a1 bugfix: macro directives were used inside a macro argument which made gcc 3.2.3 unhappy. thanks Feng Bin.
11a13f069 bugfix: cosocket API could not be used before ngx.location.capture and its friends for fast network access: tcpsock:send() method did not reset u->waiting properly. thanks 欧远宁.
89af745e1 updated docs to reflect recent changes.
cbc1fd22a add gdb script to ease Lua debugging
96e9b3038 feature: allow use of ngx.null in ngx.log() and print() arguments.
2f1c2a5e0 opt: fixed the "ngx." table initializing sizes.
d29c611c8 bugfix: could not compile with nginx 0.8.x. thanks 欧远宁.
25abe98ca feature: added the ngx.sha1_bin method which returns the binary form of the SHA-1 digest.
60335f37b minor fixes in the tests.
2614f3ffd bugfix: we incorrectly allowed ngx.null in the string table argument to cosocket:send() method.
c73f87480 updated docs to reflect recent changes.
14e079cca fixed ngx. table entry count during table initialization.
2c5a75838 feature: added constant ngx.null which is a NULL light userdata to represent "nil" values in lua tables and etc. this is compatible with at least lua-cjson library's cjson.null constant.
51a6bdfad minor coding style fixes.
e3123d322 Merge branch 'last_modified'
cef799110 add last-modified test
90ae31516 last modified jumbo
d1085f9e9 fixed typos in docs. thanks @cyberty.
a8cad73ed updated docs to reflect recent changes.
1d7626f42 cosocket: feature: now cosocket:send() method supports lua tables of string fragments which can save unnecessary string concatenation operations on the lua land that are usually quite expensive.
907f825a4 cosocket: fixed bugs in debugging logs.
5a3e31777 updated docs to reflect recent changes.
1e8f8e5f5 Merge branch 'dict_flags'
8d576f2ce use uint32_t as the type of shdict user flags.
c8967e5a6 match new error message
9ef0b86d6 do not return flags if not set for backwards compatibility
24177e8ed expect nil
de5e7bf19 user flag test
edc9633d9 Add user flags
170c5484e updated docs to reflect recent changes.
ef46b7f33 cosocket: documented the in-pool connection monitoring feature requested by @ldmiao.
653d1ec1f bumped the version number in docs.
750b92809 cosocket: reverted casual changes to the developer build script in the last commit.
1cec50410 cosocket: bugfix: fixed -Werror=unused-but-set-variable warnings from gcc 4.6.
07329405e cosocket: bugfix: when the object returned from ngx.req.socket() is used across the request boundary, segfault would occur; so now we protect the downstream cosocket object from being used outside the current request lifetime.
72f7fb5b0 cosocket: documented the ngx.req.socket() function.
0b99b3505 cosocket: documented the sock:receiveuntil method.
44459f5dd cosocket: documented most of the cosocket API.
c6f165e39 cosocket: added a (passing) test for keepalive unix domain sockets.
bc4baee25 Merge branch 'cosocket'
204ce2b3d updated docs for the v0.4.1 release.
9e30acfec cosocket: fixed compilation failures without --with-debug: misuse of the ngx_log_debugN macros.
7848542c8 cosocket: added a test case for extremely small buffers when calling sock:receiveuntil.
a6183a1a0 minor tweaks in tests.
8d7cc5fba cosocket: optimized the chainlink and buf recycle logic for the subrequest API and cosocket API.
ba7a62fbb cosocket: bugfix: the request cleanup handler could access the (invalid) upstream userdata after Lua GC frees it. also fixed the lua table initialization for ngx._tcp_meta.
3bb79438c cosocket: feature: implemented "timeout" and "size" arguments to the setkeepalive() method to override the config settings via the directives lua_socket_keepalive_timeout and lua_socket_pool_size.
2bb7ba793 cosocket: check zero connection pool size.
d65eeee42 cosocket: feature: "lua_socket_keepalive_timeout 0" now means unlimited connection idle time.
ce5b54349 cosocket: added tests for the default lua_socket_pool_size value (30).
fa07de06c cosocket: feature: added config directive lua_socket_pool_size to control the connection pool size (in terms of number of connections) per host-port pair.
bc8a9097d cosocket: added debugging output for keepalive timeout values.
154fce40d Merge remote-tracking branch 'origin/master' into cosocket
fb3d82db9 Merge branch 'master' into cosocket
f1269407d cosocket: bugfix: we did not reset c->read->handler and c->write->handler for connections got from the connection pool which could lead to segfaults; feature: new config directive lua_socket_keepalive_timeout to specify the max idle time for connections in the pool.
a95e02faa bugfix: ngx_http_lua_header_filter_init was called with an argument which actually accepts none. this could cause compilation errors at least with gcc 4.3.4 as reported in github issue #80. thanks bigplum (Simon).
9d5e827c7 cosocket: call ngx_close_connection() directly instead of introducing ngx_http_lua_socket_keepalive_close(); also added a (passing) test case for premature close of upstream sockets for idle connections in the pool.
dcd633f97 cosocket: fixed connection pool cleanup logic and added support for max idle timeout.
5b2a977b3 cosocket: initial prototype for the builtin connection pool support via the new cosocket method "sock:setkeepalive()". also always reset u->length and u->rest for the "sock:receive()" method.
e60a94814 cosocket: did a minor optimization for receiveuntil patterns no longer than 2 bytes.
7a4cbfb4a cosocket: bugfix: fixed a minor inconsistency in the reading iterator returned from sock:receiveuntil when the "size" argument is specified. also added some (passing) tests for a true multipart parser.
54a6f750d cosocket: use 8.8.8.8 as the default TEST_NGINX_RESOLVER env value in the test suite.
4cecc53e3 cosocket fixed a typo in ngx_http_lua_socket_read: we should use r->headers_in.content_length_in instead of r->content_length_n.
9a7a12a46 cosocket: fixed lua table entry count in table initialization.
bc93b61f7 cosocket: minor coding style fixes.
83d972e38 cosocket: bugfix: request sockets reading should honour the Content-Length request header (if any).
7bd0fdbeb cosocket: feature: ngx.req.socket() works.
9c461bf15 fixed lua table initial entry count; also added initial skeleton for ngx.req.socket() but not working yet.
9e4abfdcd minor test fixes.
2f20b7acd cosocket: added support for the "size" argument to the reading iterator returned by the sock:receiveuntil().
51b793007 cosocket: introduced a minor optimization that we could save the first two elements in the cp->recovering array.
38c4fa074 cosocket: added a lot more tests for sock:receiveuntil.
b045cfae4 cosocket: bugfix: use the luaL_addchar macro to simplify the state machine logic.
d8548e4a4 cosocket: decreased memory usage for unambiguous boundary patterns in sock:receiveuntil().
9a673b787 added support for ambiguous boundary patterns.
19b071c3e feature: first cut on the socket:receiveuntil(pattern) method. ambiguous boundary patterns and the "size" parameter to the reading iterator are not implemented yet.
92e0e6ef0 added (passing) test cases for cosocket send timeout settings.
75a52b465 RecvUntil.pm: fixed Makefile.
30a17916c checked in a perl prototype for the receiveuntil method implementation.
17ee6b60c updated .gitignore.
884ae49bf feature: implemented method settimeout() for ngx.socket.tcp() objects.
7962a9fb1 Various fixes in cosocket
b1b92000b fixed test index.
a2859d4fe fixed test index.
735355c98 Merge branch 'master' into cosocket
6e8c4aba5 renamed .t files.
30cf86dd6 merged master to cosocket.
dc37474df bugfix: fixed all the warnings from the clang static analyzer.
fb84d6fe0 adjusted the tests a bit.
733d26d16 bugfix: ngx.exit, ngx.redirect, ngx.exec, and ngx.set_uri(uri, true) could return (they should never return as per the documentation). this bug had appeared in v0.3.1rc4. thanks @cyberty for reporting it.
b166210bc added change log for v0.4.0 and also documented the way to confirm that pcre jit is actually enabled.
bc9142cb3 allow use of the DDEBUG macro from the outside (via the "-D DDEBUG=1" cc opton).
7bdd8505b updated README.
37c4880eb docs: massive wording improvement from Nginx User.
e43eab96a now we state that ngx.re API requires pcre 8.21+ for its regex JIT support in the docs.
805f6a24a updated docs to reflect recent changes.
11ddbdf9f added debug logging when ngx.req.get_headers() hits header count limit.
d40fcc669 added debug log when ngx.req.get_uri_args and ngx.req.get_post_args hit max args limit.
8e8517c64 updated valgrind.suppress a bit.
85f876ec1 bugfix: hash table collision attacks were possible in ngx.req.get_headers() and now it only parses at most 100 headers (can be controlled by the C macro NGX_HTT_LUA_MAX_HEADERS. ngx.req.get_headers() now also takes an optional argument that can be used to specify a custom header count limit (defaul to 100). one can disable the header count limit altogether by feeding ngx.req.get_headers() with a zero value argument.
0ece0793e added more tests for max_args argument.
3a2b80b05 tweaked the timeout settings for two test cases.
75876b67c bugfix: ngx.req.get_uri_args and ngx.req.get_post_args now only parse up to 100 arguments by default. but one can specify the optional argument to these two methods to specify a custom maximum number of args. thanks Tzury Bar Yochay for reporting this.
2b18629c2 bugfix: removing builtin headers in huge request headers with 20+ entries could result in data loss. thanks Chris Dumoulin for the patch.
f9efd3288 bugfix: ngx_lua could not compile with nginx 1.1.12+. thanks deltay for reporting it in github issue #76.
b0f158232 fixed the test cases regarding invalid escape sequences for LuaJIT 2.0.0 beta9.
81b9bbb51 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
6f9a1f9b7 now we use pcre 8.21 jit build in the developer build script.
33844f1b8 fixed a test case in t/057-flush-timeout.t on FreeBSD.
f6ea32e0e removed --with-cc=gcc46 from util/build2.sh.
4f0d035cd updated docs to reflect recent changes. thanks Nginx User.
78014b647 bugfix: request header value strings must be null terminated and was possible to introduce memory invalid reads in the past. thanks Maxim Dounin.
66d35ae23 cosocket: fixed the lua-redis test case a little.
a5e501045 cosocket: fixed ngx_log_debugN for non-debugging builds. also added a passing test case for running Daniele Alessandri's lua-redis library by emulating LuaSocket via ngx.socket :)
166a71112 cosocket: we now allow string-typed size argument for sock:receive(). also added a (passing) test case for running Neil Richardson's lua-memcached library by mocking LuaSocket with ngx.socket :)
74738a721 cosocket: minor coding style fixes.
976d3e1fd cosocket: implemented the ngx.socket.connect() shortcut.
7ec21aeea cosocket: fix buffer recycling logic for the "receive" method; also added "buffer too small" error handling.
66f4d22e1 cosocket: fixed receive(n) to only return exactly n bytes of data as per LuaSocket's behavior. also made receive() return the 3rd value for the partial result when error occurs, just like LuaSocket.
aeaddfe41 cosocket: implemented the number-typed pattern parameter for the "receive" method as per the LuaSocket TCP API.
592a53446 cosocket: fixed resolver error handling for cached negative results.
3ca2a900e cosocket: implemented the "*l" and "*a" pattern argument for the receive() method as per the LuaSocket TCP API.
072456997 cosocket: fixed resolver error handling a bit.
ecb161cf0 Merge remote-tracking branch 'origin/master' into cosocket
f63c91437 Merge branch 'master' into cosocket
83a1e64a4 cosocket: added a (passing) test case for resolver timeout handling.
f79766317 cosocket: fixed bugs in resolver failure handling.
9b21eb38d cosocket: various coding style fixes.
5353b5bd3 cosocket: various fixes in the unix domain socket support.
33fcd577b bugfix: ngx.var.VARIABLE might evaluate to nil even if there is a valid value because the nginx variable value's valid flag might not be initialized properly. this bad had appeared in v0.3.1rc40.
4e4fe381c cosocket: fixed timeout handing in the connect() method.
6da957c93 now we return the errstr "closed" when manipulating a closed socket object, just like LuaSocket.
202336c40 better socket errstr handling.
c0e379575 added a (passing) case to test the "connection refused" error.
1810fb0bc eagerly free u->buffer in ngx_http_lua_socket_finalize.
32b1a5899 cosocket: now we support unix domain socket address for the "connect" method; also improved the error messages.
4b65f824c first cut on the nginx builtin nonblocking resolver support for ngx.socket.tcp().
eea55f590 implemented the socket:close() method.
978c9779b bugfix: socket:receive() will ignore all the CR char in the inputs, just like LuaSocket.
1afdd5265 turned off ddebug and also fixed source lines exceeding 80 cols.
6c0edbd84 fixed a serious bug in socket:receive(). the test case is passing for multiple receive calls.
fa1d4b5f1 completed the first cut on the socket:receive() method. the first test case is now passing, but sock:receive() is still buggy.
37d7fd457 now we use dummy handler as the read/write event handler wherever possible (a complete fix would require deleting and adding read/write events for level triggered event models).
563e14b1a ngx.socket.tcp()'s send method is mostly working now :D
c6113b309 added new directives lua_socket_connect_timeout, lua_socket_send_timeout, and lua_socket_read_timeout. only really implemented the first one ;)
04e3122de minor fixes in socket:connect().
220af136e socket:connect() kinda works.
37cc4a24a updated valgrind.suppress further for Valgrind SGCheck.
709d62db3 updated valgrind.suppress further for Valgrind SGCheck.
f0faa955e Merge branch 'master' into cosocket
4fc7a965c updated valgrind.suppress for Valgrind SGCheck.
9161a993b bugfix: more_set_input_headers did not handle the Accept-Encoding request headers properly. thanks 天街夜色.
29e8b41e9 bugfix: there were various places where we did not check the pointer returned by the memory allocator.
b35bcb2d6 updated README and README.markdown.
e9de829c9 docs: updated docs to reflect recent changes. thanks Nginx User.
b1d8d6227 bugfix: ngx.flush(true) could not be used before I/O calls like ngx.location.capture. this bug had appeared in v0.3.1rc34.
9e811fbbb more work done on the cosocket scaffold.
0e1770ac4 initial scaffold for ngx.socket.tcp(). also did minor optimization for the "ngx" table and the metatable for "ngx.shard.DICT" objects.
2c6a22a29 fixed some small bugs in the ngx.socket.tcp test case.
a44b8ce96 added a test case for the ngx.socket.tcp API. not passing yet.
8153df5c6 bugfix: ngx.var.VARIABLE evalues to nil when the nginx variable is purely invalid.
ea24c93c8 documented ngx.HTTP_GATEWAY_TIMEOUT and also included edits from Nginx User.
f88d229ce added a test for ngx.HTTP_GATEWAY_TIMEOUT.
a3bc3fcee added constant ngx.HTTP_GATEWAY_TIMEOUT (504) per Fry-kun in github issue #73.
9cbf7c376 docs: massive documentation improvements. thanks Nginx User.
7a4617ff8 fixed two spots of gcc 4.6 warnings.
c9f5e028b enable the default -O in the developer build script.
a635ab8be bugfix: use of the ngx.re API might lead to errors like "pcre_compile() failed: failed to get memory" due to incorrect pcre_malloc and pcre_free handling. thanks Vittly for reporting this in github issue #72.
745b47fd2 more fixes in 057-flush-timeout.t
34ee97908 fixed the flush-timeout test script.
bd1da870a bugfix: fixed ngx_log_debugN which fails to compile without --with-debug. thanks @ldmiao for reporting it.
47d977391 checked in the tests for the bug regarding connection timeout error checking fixed in the previous commit.
06fd57947 bugfix: now we check timed out downstream connections in our wev handler.
28ae78f0e updated docs to reflect recent changes.
09ccd15b5 feature: added "wait" boolean argument to ngx.flush() to support synchronous flushing; ngx.flush(true) will not return until all the data has been flushed into the system send buffer or the send timeout has expired.
db85756a0 fixed gcc 4.6 compilation warnings by removing some dead code.
6b8c2d8a2 more docs love.
462633481 updated the docs to reflect recent changes. thanks Nginx User for polishing the documentation a lot.
c598e718c feature: added new API ngx.update_time which calls ngx_time_update in the Nginx core.
79a19650a reformatted the tests.
2a134b179 omitted unnecessary checks in our lua hooks.
11617ee1e Merge remote-tracking branch 'origin/master' into ngx-now
1e7bd81f5 fixed the test case for ngx.now
08318e606 add missing test file for ngx.now
d6ae4883b feature: added "ngx.now" for get time with msec(float)
5fcb1a7b8 updated docs to reflect recent changes.
806a99a3f feature: added opions "copy_all_vars" and "vars" to ngx.location.capture and ngx.location.capture_multi. thanks Marcus Clyne for the patch; also fixed a bad regression in ngx.location.capture_multi when the request option table is specified.
c43d510fb updated docs to reflect recent changes. thanks Nginx User.
881a0ae60 fixed a gcc 4.6 warning.
3e0c15ace reverted build2.sh.
4db4603b1 fixed a gcc compilation warning for pcre < 8.20.
99f45c46c now we check if pcre jit indeed works by scanning error.log in the related tests.
951103f3b tested the "d" and "j" regex options for DFA and JIT modes for ngx.re.gsub.
5c2a86cb3 now "j" and "d" regex options are confirmed to work with ngx.re.sub().
c444de8e4 ngx.re: now we disable jit automatically when in dfa mode.
85fb303ff bugfix: ngx.re.gmatch may free the pcre study data too early when the "j" option is specified to enable pcre jit, which might cause crashes.
5a729fca9 coding style fixes.
85a74e068 fixed pcre pool management in the cleanup handler.
df000b92d feature: ensured that the "j" (JIT) option for ngx.re.gmatch works properly.
8f28c7f0a turned off ddebug.
f360e6903 feature: implemented "d" and "j" regex options for ngx.re.match to enable PCRE DFA mode and JIT mode, respectively. thanks @姜大炮. the support of these two new options in ngx.re.gmatch, ngx.re.sub, and ngx.re.gsub is currently broken and needs fixes in future commits.
457280136 massive documentation improvements. thanks Nginx User.
09fc7c73e tweaked drdrxp's hmac-sha1 patch a bit and also added a test case for it.
fd47016fa Merge remote-tracking branch 'drmingdrmer/hmac' into hmac
6dd6f02e0 updated valgrind.suppress a bit.
5beba3733 add ngx.hmac_sha1
a5dc446cd tweaked the developer script a bit.
efd374014 bugfix: Cache-Control header modification might introduce empty value headers when using with the standard ngx_headers module.
ae29491dd added one more passing test.
fa5cafdcf updated docs to reflect recent changes.
64a2b730a renamed ngx.req.encode_args to ngx.encode_args.
1259fbc81 fixed various issues in shrimp's commits for ngx.encode_query_args. also renamed ngx.encode_query_args to ngx.encode_args.
131f13d6b Merge branch 'master' into args
82c566aae confirmed that we work with nginx 1.0.9.
860199f99 updated docs to reflect recent changes.
30a2e898e minor tweaks.
b92cbf456 ngx.req.encode_query_args is now supporting args value to be lua table
f0942d7a3 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module into args
c3a6737b7 add encode_query_args function into ngx.req
e5c62d084 added one line of comment.
dc49eb206 feature: added "ctx" option to ngx.location.capture: you can now specify a custom Lua table to pass to the subrequest as its "ngx.ctx". thanks @hugozhu.
9942742eb made tests more stable.
4d92cb158 fixed compatibility with nginx 0.8.54. thanks 郭颖.
74755eb0e bugfix: ndk.set_var.DIRECTIVE had a memory issue and may pass empty argument values to the directive being called. thanks dannynoonan.
1eb73d67c updated docs to reflect recent changes.
edde16355 now incr returns the new numerical value as its first return value.
d01adf7d7 now we still enable --with-debug in our developer build script.
259524953 fixed compilation warnings without --with-debug for gcc 4.6.0.
a9842859b fixed another spot of -Werror=unused-but-set-variable warning issued by gcc 4.6.0.
9656a97f0 fixed one spot of -Werror=unused-but-set-variable warning issued by gcc 4.6.0.
24da18171 feature: implemented new methods "add", "replace", and "delete" for ngx.shared.DICT. also made the "set" method return 3 values: "success", "err", and "forcible".
a935e6fdb enable the ngx.shared API in set_by_lua* and header_filter_by_lua* too ;)
9c26604bf documented the shared dictionary API.
d4224b979 no longer set too many worker connections in t/030-uri-args.t.
d7c8be39c fixed test cases for 32-bit systems.
e6f600275 reindexed the tests.
8d31d75cc shared_dict set: now we try harder when failing to allocate new entry by forcily removing up to 30 least recently used entries.
aad4815f7 shared_dict: now we use uint8_t for value type and uint32_t for value_len.
4518fcf71 implemented shared_dict set nil, which effectively removes the key from the dict.
b9d28596d now we support 0 expiration time to denote infinite expiration time in shared_dict set. and it is default to 0 when the set method does not take an "expire" argument.
f32e5ed8f added more tests for various error cases and LRU.
192ec1e9d bugfix: shared dict get: we should not unlock the mutex too soon. thanks drdrxp.
2549ab48e added more (passing) tests for the shared dict API.
f5a4f7243 the shared_dict get and set are now complete and usable :D
b71a0b52a resolved conflicts while merging the "master" branch to "shm".
5973268d3 updated docs and turned off ddebug.
d3e601fc9 added tests for setting ngx.var.VAR to nil values.
3638fd09c bugfix: no longer free request body buffers that are not allocated by ourselves.
61b9d83fe now we allow setting ngx.var.VARIABLE to nil.
a79cc7500 added a small test case.
b25d06b32 improved the README file's formatting.
58d6bc91e fixed reading size_t as an off_t in ngx.req.set_body_data() which may lead to memory issues on 32-bit systems.
0a8a11b99 put the debug log outputs to the right place.
739825a7c no longer set the NGINX_ALLOW_REQUEST_BODY_UPDATING macro in developer build script.
f03ac7ca3 fixed -Wset-but-not-used warning issues caught by gcc 4.6.0.
0cb010bb3 bugfix: lua_need_request_body should not skip requests with methods other than POST and PUT. thanks Nginx User.
8eef13e10 updated docs to reflect recent changes regarding the request body API.
5cef7124f no longer use the NGINX_ALLOW_REQUEST_BODY_UPDATING macro and r->content_length_n. now calling ngx.req.read_body() after ngx.req.discard_body() is a no-op.
ad0300696 fixed compatibility with standard nginx.
5c36f6e8c now we complete the work for ngx.req.set_body_file(), ngx.req.set_body_data(), and ngx.req.discard_body().
893f7e72a now we also override Content-Length for ngx.req.set_body_data().
2fbea05b9 initial cut on the ngx.req.set_body_file() API.
ea81bb2f0 implemented new function ngx.req.set_body_data() to override the current request body with in-memory data.
1122cbd49 fixed a test cause because Test::Nginx fixed a bug in its Content-Length handling.
a0a9fb49a documented the new APIs: ngx.req.read_body(), ngx.req.discard_body(), ngx.req.get_body_data(), and ngx.req.get_body_file(); also improved the coding style and the test suite a bit.
569e3511c added (passing) tests for ngx.location.capture + ngx.redirect under http pipelining.
982cb581a refactored the code for access_by_lua and access_by_lua_file to reduce code duplication.
2c9a564a4 refactored the code for rewrite_by_lua and rewrite_by_lua_file to reduce code duplication.
b6c7dd053 bugfix: fixed hanging issues when using ngx.exec() within rewrite_by_lua and access_by_lua. thanks Nginx User for reporting it.
b0474ca75 implemented new function ngx.req.get_body_file().
aefb1c490 implemented new method ngx.req.get_body_data.
38c832593 implemented ngx.req.discard_body() function to let user lua code to discard request body.
18f30a16a now we use ngx_http_block_reading instead of ngx_http_empty_request handler or read event handler.
0f18d9936 implemented ngx.req.read_body() which does synchronous non-blocking request body reading in full buffered mode.
b45910b44 minor code refactoring.
b298984e0 fixed compilation failures when --with-debug is turned off.
6c1c1666b now we prohibit use of true jump argument in ngx.req.set_uri() in contexts other than rewrite_by_lua and rewrite_by_lua_file. a lua exception will be thrown if the context is incorrect.
6ff491bd1 now we change the ngx.req.set_uri() API a bit by changing the optional argument "break_cycle" to "jump". so now it will not trigger location jump by default (because "jump" argument is false by default) and in case "jump" is given true, the function will re-search locations and jump to the new location and never return.
6be7dad62 added more complex samples to the docs for ngx.req.set_uri().
89dcc5b8d documented the new APIs ngx.req.set_uri() and ngx.req.set_uri_args(). thanks Vladimir Protasov (utros) and Nginx User for suggesting this feature in github issue #62 and the nginx mailing list, respectively.
f72eb473c documented that rewrite phase Lua code will be skipped if location re-lookup is triggered by the standard ngx_rewrite module's rewrite directive. thanks Nginx User.
95faaaa2d now we skip rewrite phase lua handlers altogether if ngx_rewrite's rewrite directive issue a location re-lookup by changing uris (but not including rewrite ... break).
a2d115e65 added more (passing) tests for ngx.req.set_uri and ngx.req.set_uri_args.
2df39a9e1 now we implemented ngx.req.set_uri() and ngx.req.set_uri_args() to emulate ngx_rewrite's rewrite directive (without redirect or permanent modifiers).
0bb889956 updated docs to reflect recent changes.
75f960b06 added constant ngx.HTTP_METHOD_NOT_IMPLEMENTED. thanks Nginx User.
3c4b1ff31 added one more (passing) test case.
c5fbee750 now we explicitly clear all the modules' contexts before calling ngx_http_named_location.
0457ff206 more treatment of the previous fix.
8f8496419 fixed the download page links in docs.
e5b8c8f46 bugfix: calling ngx.exec() to jump to a named location did not clear the context object of ngx_lua properly and might cause evil problems. thanks Nginx User.
4c7176876 turned off the master mode.
d5e164208 the first test case is passing!
b77bf67fc first cut on the shared dict feature.
65e475965 updated docs to state that we work with nginx 1.0.8 and 1.1.5.
05fbec643 updated developer build script a bit.
0ebffdfb4 no longer set header hash to 1. use ngx_hash instead :)
c3acd88c2 minor style fixes.
8b586da4f fixed regression in the last commit: we should hash the header key, not value.
32efa828b we should not set header->hash to 1, we should use ngx_hash_key_lc to generate it.
4ad6d40e0 updated .gitignore.
bb2539bb5 now we properly support setting the Cache-Control response header via the ngx.header.HEADER interface.
eac237f88 fixed a test case for HTTP 1.0 streaming output.
3cbf39f3a now for HTTP 1.0 requests, we disable the automatic full buffering mode if the user sets the Content-Length response header before sending out the headers. this allows streamming output for HTTP 1.0 requests if the content length can be calculated beforehand. thanks 李子义.
752be5db1 use lua_Number instead of lua_Integer for crc32 functions' return values because 32-bit signed integers are too short for the crc32 digest.
0727d20dd documented the ngx.crc32_short and ngx.crc32_long methods.
9e043c690 exposes the CRC32 API of the Nginx core to the Lua land, in the form of the ngx.crc32_short and ngx.crc32_long methods. thanks @Lance.
6800229f0 documented the new feature that ngx.exec accepts a Lua table as its "args" argument value.
fffdb9317 turned off ddebug.
2b625542d now ngx.exec() supports lua table as the second "args" argument value. thanks sexybabes.
60a8b4a61 documented the new ngx.headers_sent API.
47bee750d implemented the ngx.headers_sent API to check if response headers are sent (by ngx_lua). thanks @hugozhu.
ab61a0331 renamed ngx_http_lua_patch.[ch] to ngx_http_lua_pcrefix.[ch].
319800188 even more refactoring of the lua hooks.
8a1367756 more refactoring of the lua hooks.
2684f5b07 massive refactoring of the lua hooks.
87f360c9f fixed doc formatting issues.
f5c7c9d1d updated docs from wiki.
88b551d3d now we also return Last-Modified for the subrequest response object. thanks @cyberty and sexybabes.
259d378dd refactored ngx_http_lua_wev_handler a bit to make it smaller.
cd53678b3 minor refactoring of the various lua hooks.
7a5016e6b fixed an issue in ngx.redirect, ngx.exit, and ngx.exec: these function calls would be intercepted by Lua pcall/xpcall because they used lua exceptions. now they use lua yield just as ngx.location.capture. thanks @hugozhu for reporting this.
f147ba4e9 rewording the doc for ngx.exit a bit.
ac24af7f0 documented the way to output error pages with custom dynamic bodies in Lua. thanks rik1083.
6c7e74fb6 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
0e2b7993b enlarged a timeout setting for one of our test cases.
71993f12a documented the reading ngx.header.HEADER feature.
bdf56a9da * fixed a bug when setting a multi-value response header to a single   value (via writing to ngx.header.HEADER): the single value will be   repeated on each old value. * added support for multi-values of reading ngx.header.HEADER. * added more tests for reading non-existent response headers.
b0c96e306 simplified the ngx.header.HEADER reading logic. but multi-value headers are still not supported yet.
577de863d implemented reading response headers: VALUE = ngx.header.KEY.
1a3b82be8 do not use ngx_flag_t in internal implementation. we use unsigned for boolean values consistently.
71fba5afb updated the documentation from wiki.nginx.org.
8dc5c9bb1 fixed a bug when the both the main request and the subrequst are POST requests with a body: we should not forward the main request's Content-Length headers to the user subrequests. thanks 朱峰.
dd0d4d096 releng work for v0.3.0.
7e997bbbd added header_filter_by_lua test for config merge
9255687ef added test for overriding header_filter_by_lua config
8924e72f1 fixed bug, header_filter_by_lua didn't worked in server or http config
69da13b5d added more debugging outputs to the capture filters.
5a14de4a4 updated valgrind.suppress for archlinux.
864bf0274 removed those ugly lua_package_cpath from the exit.t test files.
8ef144d5c now we use lua-cjson in our test suite instead of lua-yajl.
951420328 renamed 050-header-filter.t to 041-header-filter.t.
4bdd15489 fixed -Wunused-but-set-variable warnings issed by gcc 4.6.0.
97d6c28a2 fixed test plan in ndk.t.
eb666c15b marked nginx APIs available in the context of header_filter_by_lua* in the docs.
644b1da68 added more tests for header_filter_by_lua (confirmed that various APIs are properly injected).
138064090 added a (passing) test for header_filter_by_lua_file.
2b53d74b5 renamed the old filter.c to capturefilter.c.
e4d00091a only register our capture header/body filters when relavant directives are actually used in nginx.conf.
010297e8f Merge branch 'header_filter' of github.com:chaoslawful/lua-nginx-module into header_filter
13d8ffe6e now we initialize the ngx_http_lua_requires_header_filter in pre config handler.
7d01579b7 Merge branch 'header_filter' of github.com:chaoslawful/lua-nginx-module into header_filter
210b38348 added more test for header_filter_by_lua
e3ca6ee3a Merge branch 'header_filter' of github.com:chaoslawful/lua-nginx-module into header_filter
2a4a22d6f we will not register an access handler if nginx.conf does not use rewrite_by_lua* after HUP reload.
534dc1d9a we will not register a rewrite handler if nginx.conf does not use rewrite_by_lua* after HUP reload.
f6cd4f54b added test for capture and header_filter_by
16606038d fixed some coding style issues.
a7f05f3a5 cleaned up the API registration code.
da21df069 merged master into the header_filter branch.
d8b5cff81 Merge branch 'master' into header_filter
02d5ac66a refactored the Lua API injection code into groups.
0959786f1 added test for wrong lua code
4fa354eb2 Merge branch 'master' into header_filter
a5b756c4f rename file name for ngx_links script
66fdc880f we should set the ctx->headers_sent flag after we have actually called ngx_http_send_header. this should pave a way to the new header_filter_by_lua* directives.
c2cbbeac2 fixed issues for HEAD requests.
a1aae4b11 checked in util/build2.sh.
06edf2a0d checked in util/build2.sh
f6fa44f60 return NGX_ERROR after run lua failed in header_filter_by_lua
f415f8186 go on next header filter when error found in header_by_filter
89af70819 fixed filter chain bug
2b1788528 added header_filter_by_lua command
d41f205df updated docs in markdown and plain text accordingly.
0b733c4af explicitly documented the "ngx" and "ndk" standard packages introduced by this module, which are also the Nginx API exposed to the Lua land by ngx_lua. also documented the (new) ability to explicitly require them in the user Lua code.
4355225aa fixed a small formatting nit in the docs.
8e91a6a05 documented the new "o" regex option for the ngx.re.* API, as well as the new lua_regex_cache_max_entries directive.
cc12d56e7 now we add "ngx" and "ndk" table into package.loaded such that the user can write "local ngx = require 'ngx'" and "local ndk = require 'ndk'". thanks @Lance.
f291379d7 checked in t/040-gsub-o.t.
09afd869f fixed compilation errors while bulding nginx without --with-debug; splitted source lines exceeding 80 cols.
59eba8b24 implemented the "o" regex option for ngx.re.sub().
1f1b0f0f8 implemented the "o" option for ngx.re.gmatch, so as to cache compiled regexes.
108cca013 implemented lua_regex_cache_max_entries directive to control the upper limit of the global regex cache size. when the user lua code is exceeding the regex cache, it will revert to non-compile-once mode and print out a warning to error.log
5d887904c added debugging outputs by ngx_log_debugN for ngx.re.match.
e90a5a550 implemented the "o" regex option (i.e., the compiled-regex cache) for ngx.re.match().
2097cef56 Revert "bumped the version number."
de284ea91 bumped the version number.
6381eba76 splitted source lines exceeding 80 cols and also updated the docs from the wiki page.
75a9a0dbf Merge branch 'regex'
91f12efcf fixed a bug in the ngx.re regex API that look-behind assertions in PCRE regexes did not work properly.
3ef84e0f8 updated docs to reflect recent changes.
e92921609 now we enable ngx.re.* regex API in set_by_lua* too :)
9eda6ccc7 minor tweaks of the tests.
16aa083ca fixed < and > symbols in the markdown docs.
3ce0b7a24 updated links in the doc.
e0b45fe69 use HttpBlahModule instead of NginxHttpBlahModule in the doc.
7f09f235a renamed the wiki file.
39556de94 fixed issues found by gcc 4.6 -Wunused-but-set-variable warnings.
f3653cede fixed github issue #52: compile error with nginx 1.0.5 on Ubuntu natty.
188cd4103 documented the new ngx.re.gsub function.
9c6595514 splitted source lines exceeding 80 cols.
bd8e4a1fe implemented the ngx.re.gsub method.
2be93496f documented the optional "ctx" table argument to ngx.re.match.
53574fba9 added support for the ctx argument to ngx.re.match.
b73bb88a9 refactored the code a bit and introduced auxiliary function ngx_http_lua_ngx_re_parse_opts.
a713340e9 documented the new ngx.re.sub method.
6be0d9cea now we support function to be passed as the "replace" argument to ngx.re.sub().
4a497814c added support for anchored match modifer "a" to ngx.re.match, ngx.re.gmatch, and ngx.re.sub.
10609bced implemented ngx.re.sub(subj, regex, repl, opts?) method for PCRE regex subsitution. now a template scripting language is supported in the "repl" argument, for example, "$0: $1". "repl" does not support lua function yet.
14c0f0e0c refactored logging related APIs to a separate C compilation unit.
9d842d0f5 minor code refactoring.
d32ab9731 refactored subrequest related APIs to a separate C compilation unit.
da18e0b4c refactored code for NDK related APIs to a separate C compilation unit.
2c862bb01 checked in missing files.
a35f8213b refactored code for redirect related APIs to a separate C compilation unit.
799bd9dff refactored code for time related APIs to a separate C compilation unit.
a6c779c8a refactored code for echo related APIs to a separate C compilation unit.
ef08db33c refactored code for headers related APIs to a separate C compilation unit.
791ef6cd2 refactored the ngx.req.get_*_args API to a seperate C compilation unit.
e2560a43a refactored the ngx.ctx API to a seperate C compilation unit.
bd41801bc refactored the ngx.re API to a seperate C compilation unit.
cafd7842f documented the ngx.re.gmatch interface.
aa747edf6 fixed a memory bug in ngx.re.gmatch(); also added more tests.
8be276db7 first cut on the ngx.re.gmatch() implementation. the first test case is passing now :)
bf52ee08b documented the new ngx.re.match() API; fixed unmatched subpattern capturing (we should return nil instead of "" here); only enable ngx.re.match when PCRE is enabled in the nginx core.
8f021621f checked in the first version of the ngx.re.match() regex API implementation.
f4f4b6296 sync'd docs from the nginx wiki page.
dca8a24b7 made setting ngx.header.HEADER after sending out response headers throw out a Lua exception to help debugging issues like github issue #49. thanks Bill Donahue (ikhoyo).
24772d3f7 sync'd docs from the nginx wiki.
c2f3d0edc fixed special char escaping in internal cross links in README.markdown.
d3800ccf2 added internal cross-links to README.markdown.
982c664f5 fixed links in README.markdown.
fba615a89 added more hyper-links to docs.
ccec92f6c added hyper-links to NginxHttpBlahModule tags.
e6f3425f8 massive doc improvements.
94c51becf added two samples tiddlers on openresty.org to the See Also section in the doc.
9ca18712e fixed formatting issues in README.markdown.
89cdf6e7f updated README.markdown.
82cab4e24 updated docs from wiki.
507c10831 now we generate README.markdown from doc/manual.wiki.
3659ede68 more formatting improvements.
1d13a1ca2 try markdown links.
d49e3fe40 fixed more formatting issues.
fd0ef5bb1 more README formatting fixes.
dea32100c even more formatting fixes.
3048d74cd more formatting fixes.
356520354 more formatting fixes in the wiki doc.
d88e97af4 udpated docs.
05956d68e updated doc/manual.wiki accordingly.
2871af384 more README tweaks.
dce23b6c1 updated manual.wiki.
205506be9 more README love.
7a2ee2e9e massive README updates.
437229005 some cross-link love.
62b0e84d6 checked in doc/manual.wiki.
f3a628ab2 updated README.markdown to ease converting to wiki. also checked in doc/manual.wiki.
5d318deaf updated docs to reflect recent changes.
c43294e8b now ngx.ctx = {...} assignment is also supported.
fc44ddb7b fixed a typo in README found by 万珣新.
4b9345088 documented the ngx.ctx "magic table"; also checked in the tests for ngx.ctx.
f26d17a89 fixed a memory leak when setting ngx.ctx and later doing an ngx.exec() internal redirect.
cfa5eb772 added lots of ngx_log_debugN invocations; completed the first run of the ngx.ctx implementation (still buggy).
445c7309b minor edits in the tests.
302edda86 added tests for outputing lua tables.
988040915 now ngx.print/ngx.say allow (nested) array-like table arguments. the array elements in them will be sent piece by piece. this will avoid string concatenation for templating engines like ltp.
d9f68ec6a updated tests to reflect recent changes; also updated README to require identical values in client_max_body_size and client_body_buffer_size when turning lua_need_request_body on.
cf52bc17a renamed ngx.req.get_query_args to ngx.req.get_uri_args; the old ngx.req.get_query_args is now deprecated.
5b2eb9633 documented that lua_need_request_body is required to be turned on for ngx.req.get_post_args().
bd6e57214 documented the ngx.req.get_post_args() method in README.
8de549eab added tests for ngx.req.get_post_args().
f2ad70e1b implemented the ngx.req.get_post_args() method for Lua.
c8c75c35e fixed a bug in ngx.req.get_query_args(): args requiring unescaping could corrupt r->args buffer.
0e03a4414 updated docs to reflect recent changes in print() and ngx.log().
10aea81c8 now we also allow Lua booleans and nils in arguments to ngx.log() and print().
44182153f documented the ngx.req.get_query_args method. this new interface resolves github issue #15. thanks Bertrand Mansion (golgote).
5f0744c15 now we support multi-value keys in ngx.req.get_query_args().
2502bdcd0 now we allow boolean and nil values as args to ngx.print/ngx.say; also done the first cut on the ngx.req.get_query_args() API.
db34dab6b updated valgrind.suppress according to nginx 1.0.5.
52d265b02 reverted bad commits.
e31406fa1 worked-around the "stack overflow" issue while using luarocks.loader and disabling lua_code_cache, as described as github issue #27. thanks Patrick Crosby.
f2fbc1f24 worked-around the "stack overflow" issue while using luarocks.loader and disabling lua_code_cache, as described as github issue #27. thanks
d40eb065e worked-around the "stack overflow" issue while using luarocks.loader and disabling lua_code_cache, as described as github issue #27. thanks
281f7487f we should have returned NGX_DONE instead of NGX_DECLINED when waiting for more request body at rewrite and access phases. this should fix the "zero size buf" alert while combining lua_need_requesty_body on + access_by_lua/rewrite_by_lua + proxy_pass/fastcgi_pass. thanks 万珣新.
1cf8f4fa6 minor coding style fixes.
e06c869a0 fixed the support for macros LUA_DEFAULT_PATH and LUA_DEFAULT_CPATH: we get these custom paths work even when the config directives lua_package_path or lua_package_cpath are not used at all.
65f178f59 documented the ngx.parse_http_time() method. thanks James Hurst.
359281876 polished the implementation of ngx.cookie_time, ngx.http_time, and ngx.parse_http_time a bit: removed request object fetching code because we never use it and also added code to test NGX_ERROR returned by ngx_http_parse_time (we return nil in that case).
2fbc16dba Merge remote-tracking branch 'pintsized/master' into devel
243eb9e5b added support for user C macros LUA_DEFAULT_PATH and LUA_DEFAULT_CPATH. for now we can only define them in ngx_lua's config file because nginx configure's --with-cc-opt option hates values with double quotes in them. sigh.
2d285e983 Added ngx.parse_http_time()
dc3fa1cd1 Added ngx.parse_http_time()
a2eb4c6b9 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
0457c06c0 fixed an issue regarding defining global variables in C header files: we should have defined the global ngx_http_lua_exception in a single compilation unit. thanks @姜大炮.
9b65b6714 fixed the date in the Changes file.
96f72bd3d fixed a source line exceeding 80 cols.
8e7d37eb9 checked in the Changes file.
4dffb3cea removed the limitation that we cannot capture subrequests with internal redirects from the doc.
5cd3b677b documented setting nginx special variables $limit_rate/$args, and reading special variables $1, $2, $3, and etc.
31bcaa821 ensure that we can compile when pcre is disabled in the nginx build.
95528f511 Merge branch 'devel'
c808ce7c3 Merge branch 'devel2' into devel
7c835bde1 now we support ngx.var[1], ngx.var[2], and etc to refer to the nginx regex capturing variables \$1, \$2, and etc in Lua. this resolved github issue #43. thanks Tobia Conforto for reporting it.
a28d67ad0 minor test suite refactoring.
40e8a644f now we use the same value overriding mechanism as ngx_rewrite's set command for ngx.var.VAR = new_value. Assigning values to special variables like $limit_rate and $args should now work; also writing to built-in variables that are not changeable (like $arg_PARAMETER) will result in a 500 error page, as expected, now. thanks Richard Kearsley for reporting it.
3d1ec74e8 fixed the lua_code_cache off warning when the lua_code_cache is explicitly on. thanks Feng Xingguo.
9d4744574 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
9ff893ff8 applied the patch from cyberty to add ngx.http_time() function to expose the nginx core function ngx_http_time to the Lua land.
8e76765ae applied the patch from Feng Xinguo (@cyberty) to add ngx.http_time() function to expose the nginx core function ngx_http_time to the Lua land.
dcdcf87ca confirmed that we work with nginx 1.0.4.
ef3605b13 updated the ngx_openresty bundle link to openresty.org.
ae7b7b8d1 we should have used off_t consistently. mixing it with size_t can cause Bad Things. this should have fixed github issue #42.
f39821aaa fixed a formatter mismatch issue in ngx_http_echo_adjust_subrequest. thanks 王斌.
1fa2e121e added two passing tests for setting content-type response header with a charset.
bcb1f2c1c suppressed one more valgrind false-alarm for nginx 1.0.x.
c52525b3a now in the subrequest capturing processor, we worked around an issue in ngx_http_static_module that when it issues 301 redirect for directory access w/o a trailing slash, it does not inject r->headers_out.location into the r->headers_out.headers list. thanks moodydeath for reporting it in the discussion of github issue #41.
b9a84fc3a fixed a tiny bug in the subrequest + internal redirect fix: we should not override the current ctx completely, as mentioned in github issue #41.
6709d16c0 reindexed the tests.
a7c013667 added a test for internal redirects by the "index" directive.
c3b03fed2 fixed a bug in ngx.location.capture() and ngx.location.capture_multi() that we could not capture locations with internal redirections in them. thanks moodydeath for reporting it in github issue \#41.
1a58a2931 fixed redundant last chunk issue for ngx.exec() invocation at rewrite and access phases: we should quit the current core_run_phases cycle; this also fixed github issue #40: 2 Subrequest calls when using access_by_lua, ngx.exec and echo_location.
9c8b21969 Merge branch 'exit-fixes'
6c147f4e2 used longer timeout for access/exit.t
0f2c228ff updated the documentation for ngx.exit() in README.
7492a1ea6 fixed ngx.exit(status) where status >= 200 and status < 300 for access_by_lua*: it should quit the whole request altegother and skip all those subsequent phase handlers (if any).
15229c2d6 now exit(status) where status >= 200 and status < 300 will successfully quit the current request altogether if being used in rewrite_by_lua or rewrite_by_lua_file. thanks moodydeath for reporting this issue.
1ab26d015 repeat each test case twice in t/016-resp-header.t.
e4e299409 fixed github issue #39: setting differnt headers with common prefix might interfere with each other. thanks moodydeath.
43345dcbe documented that ngx.req.get_headers() and its friends only operate on the current request. it has no effect on the current request's subrequests. thanks moodydeath.
e8c9ea9e0 fixed GitHub issue #38: request headers did not forward to subrequests when the "method" or "body" option is explicitly specified by a non-nil value for ngx.location.capture(). thanks Richard Kearsley.
2081f73a5 fixed the link to ngx_openresty.
d0026ac6d added pointer to the ngx_openresty bundle in the Installation section.
ce83076c7 minor formatting.
0dca6659b minor formatting.
2e5d42024 fixed a bug in output header set; we should always set the header->hash to 1. thanks moodydeath for reporting it.
33f2decc4 confirmed that we work with nginx 1.0.2 as well.
75e67b6bb confirmed that we work with 1.0.1.
f337896d4 fixed a spot that triggers the "variable set but not used" warning issued by gcc 4.6.0.
670d12b5e splitted source code lines exceeding 80 cols.
6071175d7 suppressed the false alarms on nginx 1.0.1.
6cfe38e07 minor coding style fixes.
4ffeefec2 fixed test failures due to randomness involved in Lua table's pair order; the test suite is passing completely with LuaJIT2.0 now.
9739fccaa added support for multi-value request headers in ngx.req.get_headers().
23cad91f0 now we turn the ngx.req.header table into an ngx.req.get_headers() function; we also added ngx.req.set_header(name, value) and ngx.req.clear_header(name). thanks moodydeath.
7bba8bfec renamed the 016-headers.t to 016-header-out.t.
098838e5c minor code refactoring for the headers out stuffs.
cfa8109d9 minor coding style fixes.
35b4c8d86 implemented the ngx.req.header table interface for retrieving all the request headers for Lua. thanks moodydeath.
c230c16f5 no longer use request_eval and respones_eval sections in the tests because they are deprecated now in Test::Nginx.
08ac36810 marked features that require the ngx_devel_kit (NDK) module.
25ff9e40d Merge branch 'optional-ndk' of github.com:chaoslawful/lua-nginx-module into optional-ndk
28b3882d7 now we make ngx_devel_kit (NDK) optional. thanks Kirill A. Korinskiy.
1f8751d1c now we make ngx_devel_kit (NDK) optional. thanks XXX.
babcd9e22 documented that we work with nginx 1.0.0.
ff7f76976 updated build10.
a367a9e57 removed a duplicate definition of the ngx_str_set macro caught by ctags; also fixed a warning thrown by gcc -O3 on Mac OS X 10.6.
0e0b0fc26 also apply PCRE patch to set_by_lua* directives
a49c175e6 add patch to use PCRE related LUA extensions in ngx_lua
580279dd3 add warns about data sharing trick in readme
30170eff2 added a quick note regarding ngx.OK/ngx.DONE/ngx.AGAIN/ngx.ERROR. thanks wendal.
ce944e1f6 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
86d6b00f9 documented one known issue that ngx_lua cannot capture locations with internal redirections (either via error_page or ngx_echo's echo_exec directives or ngx_lua's ngx.exec()).
4ffe58d82 added more complex tests (using memcached) for the ngx.exec() after ngx.location.capture() bug; it is already passing.
271a7e184 now we change the way we process HTTP 1.0 requests by automatically buffering all the user outputs generated by ngx.print()/ngx.say() calls, which is much more natural than the old broken way.
bd6509047 fixed a regression in the previous ngx.exec() fix when using nginx 0.7.x and 0.8.x < 0.8.11.
241ba237b fixed the "ngx.exec() after ngx.location.capture() hanging" bug for rewrite_by_lua* and access_by_lua* as well. also added tests for these cases.
2431340d8 fixed the bug regarding use of ngx.exec() after ngx.location.capture(), which led to hang.
8a37e835b replace readlink cmd in order to make build.sh working under OSX
d6f7dd560 more README tweaks.
52f027bb0 fixed another typo in README.
f49621318 fixed a typo in README.
f7b3925bb emphasized that the data sharing is per-worker not per-server.
ae8c97c8c added a separate section "Data Sharing within an nginx worker.
7a0570480 fixed a typo.
d63963efb documented in details about data sharing and race conditions by means of required Lua user modules.
74ba36fea updated README to reflect the changes that we always add those extra linking options on darwin systems because it is too hard to tell if it is a x86_64 system or not.
c7907e031 added a test for the hanging bug regarding ngx.exec() used after ngx.location.capture().
a51a2a7ef Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
daad6fcef fixed a typo in the error messages.
6bb9a260c fix luajit linking opt on OSX
5a57432cb add missing module info for unit-test; remove unused code; update ndk dependency
98924adae documented the ngx.is_subrequest attribute and enabled ngx.status and ngx.is_subrequest in set_by_lua* as well.
03b3d311d applied a patch from moodydeath to introduce the "ngx.is_subrequest" attribute.
a32193bdc now we encourage use of the client_body_in_single_buffer directive instead of big client_body_buffer_size.
ccaf13216 updated the contexts each config directive can be used within.
4d4ba140f now we allow rewrite_by_lua(_file) and access_by_lua(_file) at server and http config levels.
0b08a6e65 updated valgrind.suppress.
e42cdc0f4 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
4781ccc5c set vv->no_cacheable too for ngx.var.foo = xxx.
28aa858eb Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
49788e19e fixed typo in config; added extra linking options needed by LuaJIT in 64bit OSX
1db066e64 emphasized in README that Mac 64-bit users have to edit the "config" file themselves when building with LuaJIT 2.0 (for now).
fde4b44e6 updated the Status section of README.
06c71b8cc minor tweaks of README.
48063d36a skip more false-alarms for valgrind when building nginx using -O3.
8bc6ec53b fixed the zero size alert caused by ngx.print("") in Lua.
4a7afc242 now we always allocate r->request_body for subrequests when the method option is specified for ngx.location.capture*. this prevents accidental inheritance of parent request's request body when client_body_buffer_size < client_max_body_size.
44fb57098 fixed indentation.
4de07de5d fixed a typo in README.
699c4abd8 added notes about variable number of subrequests for ngx.location.capture_multi to README. thanks Marcus Clyne.
0b39e1e25 optimized the buffer management process a bit for ngx.location.capture*: one the response body is a single buf chain, do not bother concatening it into a new buffer.
149fea4b4 states that we no longer require openssl in README.
0a6ecfe67 now we no longer explicitly require OpenSSL crypto, we now use ngx_md5.h exclusively, and no NDK_HASH pain any more.
6d4ab5ee1 fixed various minor coding style issues.
92520b0ce mentioned the "cosocket" mechanism in the Future Plan section.
19ad8e7a5 minor test adjust.
f408e32f7 now we report an error at config time when rewrite_by_lua* are used with nginx 0.8.42 ~ 0.8.53.
a6e80250b minor README tweaks.
f0b0540b8 updated the TODO, Known Issues, and Future Plan sections in README.
af1ebf104 fixed regressions while building with nginx 0.7.x and also confirmed that rewrite_by_lua* work with nginx 0.7.x.
63901b1fb added notes regarding cases when ngx.location.capture and ngx.location.capture_multi fail to capture subrequests' outputs.
972933203 now we recycle the chain links and associated bufs among subrequests issued by one or more ngx.location.capture_multi() calls within a single (parent) request.
4b9c29c6b we now free unused memory chunks more aggressively to reduce memory usage.
60a88383a added some tests for using ngx.location.capture_multi() at rewrite, access, and content phases at the same time and these tests are all passing :)
c8aeedc87 we now cancel the ctx->body field and use the parent request's ctx->bodies instead, thus saving some bytes per request.
ca4a24322 now we make ctx->waiting a counter and cancel the ctx->waitings array.
5aee1af16 we now post the parent request ourselves in the post_subrequest callback in some extreme condition that the current (sub)request is not active AND it has some weird postponed requests associated with it. this work-around makes those crazily complicated test cases for ngx.location.capture_multi() pass now.
a5819c8a7 no longer set the NGX_HTTP_SUBREQUEST_WAITED flag for subrequests.
71fa89025 minor optimizations: we only pass NULL chains down the output filter chain when we really need (that is, the current request is active *AND* there is postponed outputs in r->postponed).
4265dbdc2 minor optimizations in ngx.location.capture_multi() and also fixed a bug in its request options handling (we did not initialize the options properly for *every* request).
3ad08c9e3 updated the TODO list in README to reflect recent changes :)
ce540ead3 documented ngx.location.capture_multi() in README.
0048b1fbc the post subrequest callback may be called multiple times (due to finalizing in-active requests) and those useless left-over calls may cause segfaults while accessing parent requests' ctx struct. now we add checks to post_subrequest to prevent its main logic from running twice or more.
b6e2e5517 added more tests for ngx.location.capture_multi: 4 parallel subrequests are confirmed to work ;)
ef2dbff1f ngx.location.capture_multi(): now we actively switch the active request to the next (postponed) subrequest if the current request is still waiting for its subrequests.
079cb2aab added tests for ngx.location.capture_multi().
8b19dd8b1 implemented ngx.location.capture_multi().
4f8f26dae mentioned bad race conditions while reloading lua modules when the lua code cache is off.
2ed82042e minor config cleanup.
65b587c6e added notes for installation on Ubuntu/Debian/Fedora/RHEL/CentOS.
9303bdaf7 added a failing test that ngx.location.capture() cannot capture subrequests with internal redirects because ngx_http_internal_redirect() clears module ctx structs.
4f3607b93 now we skip those lua5.1 and luajit2.0's builtin packages while clearing package.loaded when lua_code_cache is off.
64c6b3497 when subrequest status is 0, assuming 200.
adf6c0099 added a test case to demonstrate how to kill timed out mysql queries and also confirmed that we also work with nginx 0.9.4.
6bf089878 added more test cases for phase postponing.
43513dddf added more docs for the Lua code cache.
7d9e04187 updated README to reflect recent changes regarding the lua code cache control.
e1522b1d9 added more test cases.
c201c8892 now we also pre-calculate cache keys for lua file paths that do not contain nginx variables.
d0de36b0a inlined lua code now calculates the digest key only once at config time, this will save some CPU cycles per request.
68b171b73 now we make use of the new ngx_http_complex_value_t struct and related utility functions provided by the nginx core for nginx variable handling in lua file paths.
8b30373df added more code-cache tests for set_by_lua_file.
7ea8bd5a4 fixed a typo in README.
4dceab188 documented the new "lua_code_cache" directive.
47ef132c0 now we forcibly flush "package.loaded" for each http request when lua_code_cache is off.
baaaabcc9 first cut on the "lua_code_cache off" directive. mostly working but reloading lua modules still needs some work.
7b30e2984 now ngx.log and those log level constants are available in the context of set_by_lua and set_by_lua_file.
92d7a4f71 minor test code cleanup.
7db7ae134 fixed a typo in README.
b626757ed fixed README's wording a bit.
c8f59c7fb Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
284c7f1b5 documented that subrequest issued by ngx.location.capture always inherit all the request headers of the parent request.
18293939a Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
ac1b3de7e updated todos
d2006cbfd fixed a typo: $LIB_LIB should be $LUA_LIB. thanks Vladislav Manchev.
de270bf8e fixed -lcrypto library search under /lib for Solaris. ngx_lua should build out of the box there.
5f6813866 No ONLY in exit.t
0fbf2c848 updated config to check openssl and -W,-E support on the fly.
f2541c2d5 minor edits.
ee1cb7dd6 added a more complicated sample for access_by_phase.
68069101e checked in auth.t.
96b9bbe63 removed unused debug options
84131c0fd resolved conflictions
45de0f0c0 add tests in subdirs into run_test script
a910ced9d fixed test cases for earlier versions of nginx.
1660f5731 updated test requirements
0745d1e93 modified doc to reflect *_file directives' change
c689ef514 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
4ba628259 allow using nginx vars in *_by_lua_file directives
44798330a added missing vim modeline
4d153cbae updated the Installation section.
ae257b0c2 added one more (passing) test case from Sirsiwal, Umesh
e9502dd23 now we no longer emit anything (even special bufs) after eof.
80bb55a3e updated the year list in the copyright notice.
92381c521 edited my names in README.
c62a7a523 removed a --- ONLY flag from the test suite.
57d1f80cf rewritten the HTTP 1.0 handling section in README. we can actually automatically generate a Content-Length header for HTTP 1.0 requests.
f2374de19 fixed a typo in README.
69527323a added a section in HTTP 1.0 outputs to README.
17bffb5c2 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
ed48b9303 fixed an issue regarding HTTP 1.0 outputs.
face45b54 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
e1da31636 fixed comment mark
44bbe7068 applied a modified version of neilljordan 's patch to add support for multi-value response headers returned from subrquests.
9a7c06c4a fixed a bug in rewrite_by_lua* and access_by_lua* regarding automatic response headers sending. thanks Roman Vasilyev.
c2ec0b3ab added a test for auth_request + ngx_access.
077ee1a4d documented that access_by_lua* also supports lua_need_request_body.
417e3a760 added a sample for mixing rewrite_by_lua_file, access_by_lua_file, and content_by_lua_file.
d2e6375c8 added more tests for access_by_lua.
3da14bc61 added t/024-access/*.t.
02f32dd21 added more sample configs to Synopsis section.
20e919d61 access_by_lua and access_by_lua_file are passing tests now.
2606b2f2f updated .gitignore.
51971a48f added compatibility notes regarding 0.9.x.
554524258 resolved conflicts
b0da782fb added typecasts to suppress clang warnings
0590c96d5 now we return NGX_DONE when ngx_http_read_client_request_body returns NGX_AGAIN in content_by_lua.
f5187bff3 specified which context a specific lua nginx API is available, like being available in rewrite_by_lua and content_by_lua.
77a036c5a documented that rewrite_by_lua will NOT work with nginx 0.8.41 ~ 0.8.53.
0d2001b02 massive code layout refactoring.
17d56682c moved the handler functions out of directive.[ch].
657bea5b2 moved t/024-mixed.t to t/023-rewrite/.
530be0965 checked in more tests for rewrite_by_lua.
2f2b1b666 fixed a bug regarding content handler reading request body.
3a25d1866 documented the current behavior of the "lua_need_request_body" directive.
2b53d0d52 re-implemented the "lua_need_request_body" directive. now it is both working for rewrite_by_lua and content_by_lua.
18df04491 now we postpone rewrite_by_lua to the end of the rewrite phase; also reset ctx in content_by_lua to avoid left-over ctx flags set by rewrite_by_lua to taint our content_by_lua handlers.
65ef4ca5e fixed compatibility issues with nginx 0.7.x but still rewrite_by_lua does not work with 0.7.x.
11050d43b rewite_by_lua tests.
f8f272aee sanity.t and subrequest.t for rewrite_by_lua* now passing.
9372747c5 rewrite_by_lua starts passing tests.
ac647f3e8 coding style fixes.
13dbf2ab3 first cut on rewrite_by_lua support, not there yet.
d66c01d39 updated ndk upstream location
fb58b876e updated ndk dep
3c1b63a4f Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
2d37ba51d now we use the 2-clause bsd license.
52a7f21c3 Add auto-discovery for FreeBSD.
bc1c2d63a added notes about using luajit under 64-bit darwin os; updated ndk depedency
113ba8b72 $ngx_found value cannot be accessed before auto/feature, because it carries-over result from the previous feature check.
9ed533cc0 Add autodiscovery support for Debian Lenny.
add96fcf0 added more tests for 500 in subrequests.
967557e8d more README tweaks.
18588a560 documented that you can only write to an nginx variable in Lua when you have predefined it outside at config time. also documented an interesting work-around for set_by_lua to return multiple values to multiple nginx variables at the same time.
d4e72a9c2 marked those lua interfaces only available in content_by_lua.
ae3ae2e7f renamed ngx.utc_time() to ngx.time(), and canceled the old ngx.time() functionality. also renamed ngx.strtime() to ngx.localtime(), and ngx.utc_strtime() to ngx.utctime().
a348f369b removed trailing spaces in README.
ec5a8bc61 more README tweaks.
561a72298 fixed an english wording error.
0e0f1e530 fixed ThinkPad spec in the Performance section.
93186ff6e minor README fixes.
055818238 fixed english wording in Known Issues.
d7693625b more README tweaks.
70bba9064 more README tweaks.
a7b79f070 states that subrequests are completely different from HTTP 301/302 redirection and internal redirection.
d88aa2b07 more README tweaks.
7415b527e more wording tweaks in README.
1fce2771f minor wording tweaks in README.
46642db58 explains how nginx subrequests work and what it can do.
e870cad23 documented the "args" option for ngx.location.capture().
bf7f4f76c implemented the "args" option for ngx.location.capture.
74f541f5b tweaked the docs for ngx.redirect().
32c3686a1 implemented, tested, and documented the new ngx.redirect(uri, status) method for Lua.
d98a14778 documented the share_all_vars option for ngx.location.capture in README.
d53fe2831 added a share_all_vars option to ngx.location.capture to resume the old behavior of sharing all variables among parent and sub requests.
06563fa52 now we do not share variables by default.
8eb0d8010 removed ngx.throw_error from the documentation.
82ff13ad1 more README love.
1c1b04550 implemented ngx.utc_strtime() and ngx.time().
cbc0ca96c further renamed ngx.utc_now to ngx.utc_time, and ngx.now to ngx.strnow per Piotr's suggestion.
fa9f606ce renamed ngx.time further to ngx.utc_now.
8a06613c7 documented that ngx.now() returns local time while ngx.time() returns GMT time.
ad2b41ff6 renamed ngx.get_today() to ngx.today(), ngx.get_now() to ngx.now(), and ngx.get_now_ts() to ngx.time().
9ecb1f073 minor formatting fixes in README.
f901a4064 documented ngx.get_today(), ngx.get_now(), ngx.get_now_ts(), and ngx.cookie_time(t) in README.
77d344d3d implemented ngx.cookie_time(timestamp) as per Igor A. Valcov.
a4b8f98d3 added a link to chaoslawful's wiki page for ngx_lua.
76507f452 minor README tweaks.
b41e7dd96 removed non-GET method support in ngx.location.capture from the TODO list in README.
1b87f64b0 documented the option arg for ngx.location.capture as well as the "method" and "body" options.
0e312b7b1 checked in the tests for POST/PUT/DELETE/HEAD subreqeusts issued by ngx.location.capture.
8e9a88981 implemented the method and body options for ngx.location.capture.
539cad599 fixed a typo in README.
6bf961e22 updated TODO section.
e4a02b350 now we escape all those chars escaped by FF3.5's encodeURIComponent in ngx.escape_uri.
9ea82353a style fixes.
102608046 fixed line number.
2cf4b0aa1 documented that nil args are allowed in print and ngx.log but not ngx.print nor ngx.say.
583f00758 no longer allow nil arguments in ngx.print nor ngx.say.
69dabae30 added ngx.location.capture_multi to the TODO list.
ee83dbf78 now we allow use of nil in print(), ngx.log(), ngx.print(), and ngx.say().
cb4e03208 more README tweaks.
fd45a1619 more README tweaks.
cca047e55 more README tweaks.
1223e88e7 minor README tweaks.
a88715d9f renamed "NginX" to "Nginx" in README because the former looks weird to me ;)
1de920040 improved wording a bit in README.
4383444b2 more comments on ngx.send_headers() in README.
e5bd77e86 documented ngx.encode_base64 and ngx.decode_base64.
b54c7568a renamed ngx.base64_encode and ngx.base64_decode to ngx.encode_base64 and ngx.decode_base64 for consistency.
47d397dd0 documented res.header where res is the retval of ngx.location.capture.
45220955a implemented the response headers support in ngx.location.capture.
435a0a3a5 documented that keys in ngx.header.HEADER will be matched case-insentively.
7af330114 added a failing test for $arg_v not defiled side-effect bug.
783dc72dd minor optimizations by specifying pre-allocated item count in lua_createtable.
e126d5664 improved the error message: "content_by_lua prematurely ended" => "content_by_lua aborted".
04876fcf0 now we make print in Lua use the ngx.NOTICE log level.
3c998b20d renamed ngx.throw_error to ngx.exit. the former is now deprecated.
78667e424 updated .gitignore.
ed3cda136 now we make "print" use the debug log level and the "lua print: " prefix.
1a2962311 confirmed that we work with 0.8.53.
96f6d4c60 now we cached the ndk.set_var.DIRECTIVE lua closure to eliminate config directive lookup at every call.
c76f755bb eliminate allocating "hv" on the heap to reduce runtime cost.
19c9415ad now we also escape "=" in ngx.escape_uri.
9fd1a9704 now we allow ngx.throw_error(0).
0927d6439 fixed typos in error messages.
855d522e1 avoid using newlines in closure factory wrapper code to ensure the line numbers in error messages are correct.
7c8c131af documented ndk.set_var.DIRECTIVE interface.
16d947f3a checked in 018-ndk.t for ndk.set_var.xxx testing.
cdc883239 added static for clarity.
abd0f29d2 minor style fixes in 006-escape.t.
25284b10c now we also escape / in ngx.escape_uri.
d92839afb implemented ndk.set_var.DIRECTIVE such that we can invoke directives of other nginx C modules directly from within Lua :D
d954160e3 implemented and documented and tested ngx.exec to named locations.
6fc54f5ef fixed a typo in README.
f33ac9d2e now we allow overriding multi-value headers.
10deafbf7 documented the multi-value header setting feature.
a1a32738b implemented multi-value header setting.
ce82ec28c states that ngx.exec never returns.
3811a28b8 documented how to clear a response header.
226a207df documented ngx.header.xxx, ngx.exec, and ngx.status in README.
acdc74c14 implemented ngx.exec for Lua.
53abbc08d removed C++ style line comments.
0fa54cef4 more style fixes.
0eebb17ba coding style fixes.
e6712e797 repeat_each(2) in 016-headers.t.
da9fa90a7 checked in the test file 016-headers.t
f5bac10fc implemented the ngx.header.foo API for Lua to set/add/clear response headers.
cea93b2f5 implemented 'ngx.status = xxx' and 'my_var = ngx.status' on the Lua land, which is just mapped to nginx core's r->headers_out.status
7dccc5a33 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
b04fff9f8 nginx core's ngx.escape_uri does not escape the plus sign (+), we now use our patched version of this function.
ff30f4436 merged marcus' modification; updated ndk depedency
c6837de02 Update ndk_md5_hash() to work with updated NDK
7aff45f2a force enabling NGX_OPENSSL_MD5 to solve weird complation issues.
f75abbaf8 turned off ddebug.
238c17c22 renamed 011-bugs.t to 014-bugs.t
5d0f7a8e8 tweaked kindy's patch for base64/md5_bin/get_today etc a bit. and pfree aggressively to prevent leaking
3348b1534 added: ngx.now() ngx.now_ts() ~ timestamp ngx.md5_bin(s) ngx.base64_encode(s) ngx.base64_decode(s)
0a6728d78 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
fadcc9f8b checked in t/011-bugs.t.
ed8abcc51 updated config; updated dependency
4eb5d5e43 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
18297b16c fixed ngx.quote_sql_str which should put the surrounding quotes.
5a77f7ce9 removed unused readme file
e3f677a14 removed skip tag for ngx_http_auth_request tests
387f4d5b2 modified build script; modified installation section of readme
712f1d15b complement the directive documents
dc9797ecc removed finished job: read request body
2b134cda5 added lua_need_request_body directive to force reading request body; modified tests prefix
253a647db fixed log level signess mismatch
71c41e926 fix readme typo
20c22c2f8 fix readme fmt
1baf7b647 fix readme fmt
6073e0ea2 removed todo file, move all contents into readme
6621e4806 modified todo fmt; add issues in readme
7e808f71b fix readme fmt
5cc5897fd fix readme fmt
96e6f4020 fix readme fmt
488d871c5 fix readme fmt
288ef90b0 fix readme fmt
8e93880bc modified readme fmt
d6d01dd89 format readme
c78ba3d7f added markdown format readme
cea679320 added new feature intro to README
403167a27 added notes to todo list
75b3362d5 * allow default path expanding in path/cpath and added tests * added revim script to automatically insert vim modeline to sources * added retab script to reexpand tabs for given files * format sources and tests
9f206095f remove ngx.log() from todo list
bd5c0f471 * added ngx.log() api and prime unit-tests * restored missing vim filetype in unit-tests
1b18a2188 updated todo list
eeea4fca2 Revert "xx"
cee9eb63a xx
eb1c7ea8d reindexed tests
fd819a18b updated dependency
e09ee9fd2 added ngx.get_today support
15327bb00 resolved conflict between the branches ngx_md5 and share_var.
208a5468e added tests of using ngx.md5 in set_by_lua
b2ad6af08 Merge branch 'share_var'
900e35104 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
5a563ab77 Flush data from memcached during tests initialization.
604e01e32 flush testing memcached before tests begins
d8bbb0d7f added testing dependency modules order notes in README
198184925 added a test of share variables in main request
bfdd68b57 see nil in ngx.md5 as a null string
eadf67ed5 removed explicitly testing dependencies, note them in README instead
1311727d7 added impl of ngx.log to todo list; updated dependencies
9c1b5d5b1 Remove missed skip_nginx block.
eb2381c90 Don't hide the fact that this test doesn't work with nginx-0.8.42+.
e1eabdcfe added a test of sharing variables
0568303bd added a test of sharing variables
361bc3acd Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
93ce856ea Disable DDEBUG and lower the number of repeats for content tests.
4c34ec535 turned off ddebug :P
f796a1aea Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
112f755d9 Fix missed lua_cpath.
d3525580d fixed a bug about null string in ngx.quote_sql_str
3ad40f2cf updated dependecies
2eda39777 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
52746dbfc added lua cmod path in CentOS to tests
b559b6c84 added ngx.md5 support
321d63ab2 share variables in subrequest
670f1057b added more tests.
2ae707c62 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
d6497f1d2 Make it work with the build farm.
c156cbd31 tags to spaces.
6075d86b1 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
1f9868185 Revert "some tabs to spaces."
c149e8668 Revert "share variables in subrequest"
a0ca0193f Revert "added ngx.md5 support"
5042c6e62 Revert "fixed unitialized pad and ngx_md5 return value type issues."
65e364339 fixed unitialized pad and ngx_md5 return value type issues.
88f35b179 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
f28dbe39e some tabs to spaces.
3d071fa82 added ngx.md5 ...
de24252a2 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
611c8568d added ngx.md5 support
dbb071344 added reported issues
5e8cf3d5d share variables in subrequest
afa444855 added test of using symbol $ in inline lua
82a2d6f7c updated dependencies
30df65d82 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
048c3682d committed my merge.
ad506f9df checked in more tests.
a18285ba8 added ngx.quote_sql_str
324cff234 added todo lists
c00573fbf fixed several problems in tests
189e56da5 * updated depdencies * added vm panic protection for content_by_lua directives * skipped not-accurate-enough test
9fea98919 enable that bug for ngx_lua.
202d948d7 updated dependencies
9566fd751 make the lua wev handler check r->done and ctx->cleanup.
547786f1c Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
00b94607f mentioned that our test suite requires th engx_auth_request module.
7832a117b resynced external dependencies
b9459f1cc documented how to build this module with LuaJIT 2.0 w/o patching config.
d934c912f added support for LUAJIT_LIB and LUAJIT_INC env in config. also croak when it fail to find lua/luajit when LUA_LIB or LUAJIT_LIB is set.
4d057e486 fixed more bad links due to github escaping.
ffb1f4326 fixed a link due to github escaping.
d353933d0 tweaked README more.
df79322ab tweaked README a bit more.
26d9dc4cd claims that we are already production ready :)
9f45d4da2 splitted lines that are too long :)
5e4dc3157 added a performance section to README.
c26249505 splitted long lines.
a2f5cbe21 documented the Nginx Lua API that we have already supported.
eb9d381a6 documented the lua_package_path and lua_package_cpath directives.
891dffa8f more ddebug info...
52d2f6cd9 fixed compatibility with nginx 0.8.36 and 0.7.66+.
a146d3082 added support for lua_package_path and lua_package_cpath directives as per Piotr Sikora's suggestion.
2540acd81 fixed a compilation error in luaL_error invocations.
5b94570cc use "return luaL_error(...)" instead of "return NGX_ERROR" in lua c functions.
16627e894 implemented ngx.escape_uri and ngx.unescape_uri in both set_by_lua* and content_by_lua*.
62e9a5460 even more ngx.HTTP_XXX constants.
514befedb more ngx.HTTP_XXX constants.
c09313d9e minor coding style fixes.
fac21194a splitted a long long line of code.
64dd62de2 fixed an memory issue in ngx.var.foo assignment: we should copy out the pointer returned by lua_tolstring.
b69e7b5e9 croak when setting non-existent nginx variables in Lua.
5ad33b74b added tests for setting nginx variables from within content_by_lua Lua code.
bba0946a7 direct assignment to nginx variables from within Lua code as in "ngx.var.some_var = 32" now works :D
9abf8f208 added support for reading nginx variables directly from within set_by_lua by means of ngx.var.foo.
70467b68a turned off ddebug.
a97c330a1 confirmed that we work with nginx 0.8.45.
41261ce76 emphasized that default_type is used to control the MIME-type of the response.
497f2b757 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
ea4c8b6ac tab to spaces in cache.c
2bdd9051a updated echo-nginx-module dependency
494856411 update test-nginx and ngx_devel_kit dependency
967f7dab9 repeat more times in the test suite.
6d4830396 refactored the ngx.var.xxx implementation and added a (passing) test case for content_by_lua + ngx_auth_request
ef259e7ce implemented ngx.throw_error interface.
4af58bae1 more tests for require.
5cf560bc6 restored valgrind.suppress file.
993590daf better error diagnostics.
8f764bf53 more tweaks.
1d33e8946 more tweaks.
5a50cfd9a indentation fixes.
fc2bba529 tab to spaces for directive.c
c6701d161 backported the fix for internal redirect from ngx_echo.
fef2069b7 fixed the digest calculation regression for lua loadbuffer.
98fd900d4 refactored the ngx.location.capture implementation a bit.
ac2520ba4 now we rename ngx.echo to ngx.print and also introduced ngx.say that append a newline automatically like Perl 6's say
9ecff4791 refactored the ngx.echo function implementation.
bbc5e44c9 massive code refactoring and cleanup.
bb3e73b1b include ngx_md5.h instead of explicit openssl/md5.h.
eed7de1e8 added more comments to the samples in README.
9198f867c added more samples to README.
bd4d6d51a added myself to the author list :)
87209af71 fixed typo nginx version macro...
ebcfcf4e1 fixed nginx version typo
221221dff * lift lua-nginx-module to the top of config modules * added conditional compilation for building under 0.7.x branch
624f83d78 updated README to claim that we require at least Lua 5.1.
b363ddf08 avoid using ndk whenever possible because prototype is missing on *BSD.
84bdafdc7 fixed a memory issue in ngx.echo: we should copy the lua string bytes.
0093e9e58 updated .gitignore.
e953ab595 checked in util/ngx-links to trim ngx_http_blah_blah_ prefix via symlinks.
b17746e54 renamed _by.[ch] to by.[ch].
8e09749fc added more tests
5a3078070 BIG DAY! ngx.location.capture passed the 1st test!
ec489c72e tab to spaces and also checks the case when ctx is failed to allocate.
02e15406c make request handling coroutines fully separated
c92a1a3ec added closure factory loading methods
a58172a27 added nginx var modification hook skeleton
777c2d881 updated test-nginx dependency
b0820ec2f added one more test case to 2-content.t.
41a3c3e7c fixed the merge conflicts.
d39f331ff added more test cases.
741b3cca0 added -E linker options to export lua symbols correctly, for external module usage
6e2513a8a removed unused variables
595e4e142 move all dependency modules into deps/ directory
ed0ab1881 added new test-nginx position
9c554bf5d changed test-nginx position
dfac35bc8 modified todos
452335df0 * fixed keep-alive hanging bug when using HTTP/1.0 protocol * added more documents about content_by_lua
dd9cf532e Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
61a1cbdfd add some comments
e5d22ad73 fixed errors in unit-tests
12181757a make ngx.flush() working
7d5753bf5 implemented basic content handler functions: * override print() to output error log * ngx.var[] table to fetch nginx variables * ngx.echo() to output in-memory contents
68cea2ca1 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
4102502ee reconstructed nginx request passing method for set_by_lua directives
f422e7525 tab to spaces in t/1-set.t.
2fbde3c9a Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
a6a1f9e83 declared that we are compatible with the latest nginx 0.8.40 and 0.7.66.
844bf3326 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
8fde5c1b6 removed old unit-tests
db5e0e123 recovered run_test util and added missing source files
2de7148a0 updated submodule test-nginx repository revision
f86b58725 various fixes.
0ef14aaf3 now we print the detailed error messages to error.log when lua_load fails.
9b3bdee1c added more files to ignore.
4f9535212 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
99e2b1418 improved util/build.sh using wget.
cc7659699 * modified code format, added vim modeline * extract lua env init code into individual functions * added some unit-tests for content_by_lua directives
b9d2655d2 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
94d56e379 added more tests
d4b754a8b added basic tests and reindex script
97dd3cdea restored nginx tarball fetching command
3a5c8c08d added .gitignore file
766ade8a1 changed submodule name
9dbc8e8a8 changed test directory name
deac6c109 changed test-nginx to submodule points to external repo
c6f98fb08 changed lua state storage position; added skeleton content_by_lua* entries
38b202cc7 added unistd.h before including md5.h
c990a63b7 fixes the feature test code.
9aba7a3c4 added -lm to ngx_feature_libs.
023579763 fixes the feature test code.
292ab8ab2 added support for env LUA_LIB and LUA_INC in config.
3154636c9 now we use openssl/md5.h
5e7c84bb8 removed done ones; added new ones
a5b477357 added .gitignore file
315f20b6b implemented code cache and primitive vm persistence
fc236d105 added todo
82619f35b added inline variable check to Lua script/file path; turn to standard Lua+Coco patch; modified log formatter char
539d5fe6a modified comment
f07f1fb83 added NGX_HTTP_LUA_ELLIPSIS macro to control if args are passing to script as default arguments (accessed through ellipsis operator ...)
66d737464 modifed readme
601633b09 modified readme contents
23d495b8a * split logic into multiple files and changed config file accordingly * added readme
81f809028 prim working version
d6a0d6c6a removed unused ddebug.h
924004558 init commit
REVERT: 11ab5315b Merge commit 'f583d996a108a58166fc986bf4227a3cea432a07' into dev
REVERT: f583d996a Squashed 'src/deps/src/luajit/' changes from 492cfdd0d8..aa038d2599
REVERT: f8429d6e4 Update LuaJIT to v2.1-20231021
REVERT: 576cb8197 Merge commit 'c473aa40807f32438ffe34bdfe07f8f0485a6aa4' into dev
REVERT: c473aa408 Squashed 'src/deps/src/lua-resty-openssl/' changes from b23c072a4..89195843c
REVERT: 456e6a33d Update lua-resty-openssl to v1.0.1
REVERT: 11c4fde61 Merge commit '805e5c9cee2a72af6b6297b2993109511b42d485' into dev
REVERT: 805e5c9ce Squashed 'src/deps/src/libmaxminddb/' changes from ac4d0d248..93a7e0e56
REVERT: afcf420ee Update libmaxminddb to v1.8.0
REVERT: 7aa6affe1 Merge commit 'e3f305a953ef5dbf6802090c7013f4c38d762449' into dev
REVERT: e3f305a95 Squashed 'src/deps/src/ngx_devel_kit/' changes from b4642d6ca..91e30eb05
REVERT: cba20187c Update Nginx devel kit to v0.3.3
REVERT: 10a58377b Fix multiple CVEs related to libpq * CVE-2023-5869 * CVE-2023-5868 * CVE-2023-5870
REVERT: 7c564e4cb Update pre-commit hooks to latest versions
REVERT: bff775f00 Fix issues with the Linux integration and external databases
REVERT: 71db00281 Merge pull request #759 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.161.0
REVERT: 940eecd06 deps/gha: bump ruby/setup-ruby from 1.160.0 to 1.161.0
REVERT: 42f7ef486 Update user interface demo image in README.md
REVERT: b2a56a82a Update BunkerWeb UI demo to use thumbnail image
REVERT: 0d0bad79b Update Python version in Dockerfiles
REVERT: b539a97ad Fix CVE CVE-2023-5678 in Dockerfiles
REVERT: 05da26f01 Update dependencies to latest versions
REVERT: e153c33aa Update maxminddb and other dependencies versions
REVERT: 8d024a099 Merge pull request #751 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.7.1
REVERT: ca6271c60 Merge pull request #750 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.160.0
REVERT: fbbec2f7f deps/gha: bump rickstaa/action-create-tag from 1.6.6 to 1.7.1
REVERT: 9c6f5289d deps/gha: bump ruby/setup-ruby from 1.159.0 to 1.160.0
REVERT: bcded8f7c Add refurb as a pre-commit-config hook and apply pre-commit-config
REVERT: 966a78da9 Update Git attributes to ignore text and end-of-line settings for vendored files
REVERT: f111124b3 Update dependencies versions
REVERT: d2b82b29d Fix CVEs CVE-2023-43787, CVE-2023-43785 and CVE-2023-43786
REVERT: dc5a7b8b2 Update mmdb files
REVERT: c32522ae2 Update Certbot module to version 2.7.4 + Update python deps hashes
REVERT: 54ead4e49 Merge pull request #744 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.6
REVERT: d83536969 deps/gha: bump rickstaa/action-create-tag from 1.6.4 to 1.6.6
REVERT: b79b6548b Merge pull request #741 from bunkerity/dependabot/github_actions/dev/hashicorp/setup-terraform-3.0.0
REVERT: b05b98185 docs - update plugins to 1.2
REVERT: e8803e346 cache linux test images, fix linux example of proxy protocol and add more logs to k8s tests
REVERT: 7565b2df5 Merge branch 'dev' into staging
REVERT: c817f45ab add ready checks to limit and redis core tests and fix wrong http port for behind reverse proxy linux test
REVERT: f9f616a66 Merge branch 'dev' into staging
REVERT: 4871185dc Update python deps and pin Flask-Login version
REVERT: cd773b6e8 add ready checks to reversecan and sessions tests
REVERT: 898ef2eff deps/gha: bump hashicorp/setup-terraform from 2.0.3 to 3.0.0
REVERT: fa628cb7d linux - add default API_LISTEN_IP
REVERT: 18d682b5a linux - add missing API_LISTEN_IP initial setting and perform only hot reload
REVERT: 4fbd974d2 tests - set trace verbosity for geckodriver logs
REVERT: a7c343369 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 7d69b9105 tests - fix missing geckodriver log file in ui tests
REVERT: 29d7d94b2 [#739] Fix potential issue when fetching docker instances in the web UI
REVERT: 84eb94720 tests - add geckodriver log file for ui tests
REVERT: 40e118a71 tests - add more logs to ui linux tests
REVERT: 0e3d8e59c tests - retry UI access in case of network exception
REVERT: 86875f486 tests - fix misc ready check when using https and add ready checks for linux ui
REVERT: d4a2ba5fc tests - add ready checks to customcert and misc
REVERT: 3020c5c8e tests - add ready check for customcert core test
REVERT: c1562bc89 Merge pull request #737 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.5
REVERT: 322cfd217 deps/gha: bump github/codeql-action from 2.22.4 to 2.22.5
REVERT: caf732be1 Merge pull request #736 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.159.0
REVERT: 667620b52 deps/gha: bump ruby/setup-ruby from 1.158.0 to 1.159.0
REVERT: fb21786b8 linux - fixing nginx service not disabled and fix another missing error log path in UI
REVERT: 5887b894f ui - fix wrong error path when starting nginx
REVERT: 4e820f6de linux - remove sudo command when reloading nginx
REVERT: 35d16233c ci/cd - ignore ready conf for db tests and fix linux path for ready conf
REVERT: 9775cd5bb ci/cd - fix missing string in /ready endpoint and add /ready endpoint to linux tests
REVERT: 274a8cdfb ci/cd - trying to fix race condition for core tests
REVERT: d73a5d0f4 Merge pull request #735 from bunkerity/dev
REVERT: ed0e156bc Update Werkzeug to version 3.0.1 in web UI
REVERT: 8ec9a7df4 Fix compatibility issue with Docker Compose v2 2.23.0 in examples and docs
REVERT: 72d856abe Update certbot to version 2.7.3 + regenerate hashes for db and scheduler
REVERT: ab76c458e Merge pull request #732 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.158.0
REVERT: 6edf97a0d deps/gha: bump ruby/setup-ruby from 1.157.0 to 1.158.0
REVERT: 58d6b8142 use cap in Linux and add openssf badge
REVERT: a83a74cfa Merge pull request #729 from bunkerity/dev
REVERT: 0975de123 [#717] Add a pool_recycle database engine arg to avoid losing connection with database
REVERT: 762092e5e Remove no longer necessary retrying module
REVERT: 8963cb4d1 Update python deps
REVERT: c2252503d Merge pull request #721 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.1
REVERT: 626f10b4c Merge pull request #722 from bunkerity/dependabot/github_actions/dev/actions/setup-node-4.0.0
REVERT: f2b9fc0f8 Merge pull request #724 from bunkerity/dependabot/docker/src/autoconf/dev/python-a5d1738
REVERT: c8eae49e5 deps/autoconf: bump python from `dc2e889` to `a5d1738` in /src/autoconf
REVERT: ab320794a Merge pull request #723 from bunkerity/dependabot/docker/src/ui/dev/python-a5d1738
REVERT: 572436f20 Merge pull request #720 from bunkerity/dependabot/docker/src/scheduler/dev/python-a5d1738
REVERT: 6f366450b deps/ui: bump python from `dc2e889` to `a5d1738` in /src/ui
REVERT: f6d2e205c deps/scheduler: bump python in /src/scheduler
REVERT: 50a60382a Fix CVE CVE-2023-5363
REVERT: 989c14ae7 Fix CVE CVE-2023-5363
REVERT: a847f7778 deps/gha: bump actions/setup-node from 3.8.1 to 4.0.0
REVERT: 8708ad70c deps/gha: bump ossf/scorecard-action from 2.3.0 to 2.3.1
REVERT: eeda7a18c Update python deps + add retrying module to db
REVERT: 5193d6cd1 Update docker images
REVERT: 09ee05083 Merge pull request #719 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.157.0
REVERT: 0afed0621 Merge pull request #718 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.4
REVERT: 8919592f5 deps/gha: bump ruby/setup-ruby from 1.156.0 to 1.157.0
REVERT: d253b4438 deps/gha: bump github/codeql-action from 2.22.3 to 2.22.4
REVERT: f798a9ef9 Merge pull request #715 from bunkerity/dev
REVERT: cd902eba3 prepare for 1.5.3 🚀
REVERT: 029217ff4 Fix update-version.sh script
REVERT: 10db67b87 Merge pull request #714 from bunkerity/dev
REVERT: c7543df86 Add an handler when the ui test is reaching an error page due to a connectionFailure
REVERT: 1f5a1beac [#645] Fix web UI not keeping the data when changing the sub server names + Fix custom cert when the server name have multiple domains
REVERT: ff1fc9280 [#712] Fix custom configuration changes not taking effect immediately
REVERT: 838dcb17c Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: b18dbddcd Merge pull request #713 from bunkerity/dependabot/pip/src/scheduler/dev/certbot-2.7.2
REVERT: ca6938dfe Update ConfigFiles to use the correct name regex in web UI
REVERT: 643ea7c21 deps/scheduler: bump certbot from 2.7.1 to 2.7.2 in /src/scheduler
REVERT: e41ce10e3 Merge pull request #711 from bunkerity/dev
REVERT: b265cbad5 ci/cd - trying to fix azure/kubectl action
REVERT: 7e3aad9f0 [#645] Fix impossible to edit the server_name of an already existing service if the primary one was unchanged in web UI
REVERT: 60d43d0ce Handle service creation and editing more elegantly in web UI
REVERT: 2df85b2c9 Updated python:3.12.0-alpine image's sha256
REVERT: 3a3255e7b Merge pull request #709 from bunkerity/staging
REVERT: 4c273fe84 Merge pull request #708 from bunkerity/dev
REVERT: 9964f42e6 Fix magento k8s tests
REVERT: b2cf8986f Tweak magento tests to use latest version back
REVERT: 7f219bea0 Fix CHANGELOG release date for v1.5.2
REVERT: b9f05ad16 Downgrade magento versions to working ones
REVERT: bd6065af8 Update python deps and pin urllib3 version to 1.26.18 + Update pre-commit-config to format requirements.in files as well + Apply pre-commit
REVERT: 619e5644f Remove pip caching when setting up python in workflows to avoid errors
REVERT: 3c3643021 Merge pull request #707 from bunkerity/dev
REVERT: 7598dbc54 Update python deps
REVERT: f3982367a Update dependabot script to add reviewers and tweak the schedule
REVERT: d4f65903e Update dependabot config file to include terraform and other python deps paths
REVERT: 38429efac Merge pull request #705 from bunkerity/dependabot/github_actions/dev/actions/checkout-4.1.1
REVERT: d92e9a07a Fix k8s terraform script
REVERT: 6738b9552 deps/gha: bump actions/checkout from 4.1.0 to 4.1.1
REVERT: 0da22f44b Update k8s terraform file and update scaleway terraform version
REVERT: d77f6a72c Fix README.md links and versions
REVERT: 7bf8be324 Try to fix magento k8s tests with static versioning
REVERT: b9c5d3277 Fix timeout in ui tests and access_page function
REVERT: b1b1ab868 Fix wrong values in helm chart values file for elasticsearch in k8s magento example
REVERT: 530b8a945 Fix allow empty values when saving a config in web UI
REVERT: 22552c5b8 [#694] Optimize certbot renew script to renew all domains in one command
REVERT: db0dd5dae [#694] Fix rare bug where database is locked
REVERT: f89456cd4 Merge pull request #699 from Crazy3lf/master
REVERT: 34d68e8b7 Update regex for email
REVERT: 476d86706 Fix magento k8s tests by removing elasticsearch
REVERT: 4a10ec8c3 Merge pull request #701 from bunkerity/dev
REVERT: c4b873e3f Fix /etc/bunkerweb dir missing in linux core tests
REVERT: bcaa8faa7 Replace deprecated `set-output` command with the new format
REVERT: 08944b901 Tweak test-core-linux to fix potential bugs
REVERT: 13be6a43c Add more logs when an url file is in cache and gets deleted
REVERT: 2737fe7ce Update python deps
REVERT: 2823fa2ab Update plugin.json
REVERT: 001246b38 Merge pull request #697 from bunkerity/ui
REVERT: 1a43380d2 Merge pull request #696 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.3
REVERT: 0b319d1aa Merge pull request #695 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.4
REVERT: 7a15f8a65 deps/gha: bump github/codeql-action from 2.22.1 to 2.22.3
REVERT: a4a413eec deps/gha: bump rickstaa/action-create-tag from 1.6.3 to 1.6.4
REVERT: 7e3dabc5f Update patch commands in deps.json to skip Reversed warning
REVERT: 29737209b Squashed 'src/deps/src/luajit/' changes from e598aeb74..492cfdd0d
REVERT: 8093c6161 Merge commit '29737209b138a1485d55c53acf1a6783b6e60167' into dev
REVERT: 85913d6b2 Update luajit to v2.1-20231006
REVERT: 15d3180b6 move disabled inp msg
REVERT: 522527f0a Merge pull request #690 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.156.0
REVERT: 85ef4e4de Merge pull request #691 from bunkerity/dev
REVERT: 46d8acf7b Update dummy-plugin to new standards
REVERT: 77bfe2697 Add StyLua and luacheck to precommit config file and apply it
REVERT: da2a1eaa5 deps/gha: bump ruby/setup-ruby from 1.155.0 to 1.156.0
REVERT: cd1f87b9a Update pre-commit config hooks version
REVERT: e25fab28b fix disabled msg behavior
REVERT: c125a9bdd Merge pull request #689 from bunkerity/dev
REVERT: 10fd431fb Tweak update python deps script to make it more elegant
REVERT: 309689185 Update pythons deps
REVERT: 799756176 Merge pull request #684 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.1
REVERT: a12e5ca89 Merge pull request #683 from bunkerity/dependabot/github_actions/dev/stefanzweifel/git-auto-commit-action-5.0.0
REVERT: 15ad3a625 Merge pull request #681 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.0
REVERT: c57d725f4 Merge pull request #680 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.155.0
REVERT: 95389260a Merge pull request #688 from bunkerity/dev
REVERT: 6e5dd5557 Fix CVE CVE-2023-44487
REVERT: 565f4e3f7 Merge pull request #687 from bunkerity/dev
REVERT: f39adcab5 Update CHANGELOG.md
REVERT: a3ec85b57 Fix often occurring error with ace script in web ui
REVERT: b063ac8a3 [#652] Fix error when deleting a service that have custom configs on web UI
REVERT: ff85f1c2b Update CHANGELOG.md
REVERT: 4a9fdba42 [#645] Fix errors when using a server name with multiple values in web UI
REVERT: 47a7e1680 Fix secure_scheme_headers shenanigans with web ui
REVERT: 453108da9 Update mmdb files
REVERT: 2cbb10b3a Revert "Test Aqua security vulnerabilities with BW"
REVERT: d4d9f8745 Test Aqua security vulnerabilities with BW
REVERT: 899484c38 deps/gha: bump github/codeql-action from 2.21.9 to 2.22.1
REVERT: d461f3745 deps/gha: bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0
REVERT: cd0ceb48b deps/gha: bump ossf/scorecard-action from 2.2.0 to 2.3.0
REVERT: dc92ae825 deps/gha: bump ruby/setup-ruby from 1.154.0 to 1.155.0
REVERT: f5fe685d4 Fix children classes of Test
REVERT: f4ce2c68f Fix bw api not returning the reason of bans
REVERT: d1a0f66c9 Merge pull request #677 from bunkerity/dev
REVERT: 6935d1cb8 Merge pull request #676 from bunkerity/dev
REVERT: 7ac66a6c6 Update python deps
REVERT: 2aa9f46ef Fix default values in whitelist job
REVERT: 8f456722e Augment delay in WebDriverWait in ui tests
REVERT: 8ae7b8f43 Fix redirect tests docker-compose file
REVERT: 9b4a9277d Add libpq as a dependency for the Database to be able to connect with postgres
REVERT: 172874d1c Fix redirect tests on docker
REVERT: a518f47b9 Update CHANGELOG.md
REVERT: 0cee41867 [#656] Fix ACME renewal fails on redirection enabled Service
REVERT: e956e03ba Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: c08fd07a6 Update linguist-vendored to add modsecurity files and non patch deps files
REVERT: 466c8e584 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 27d3ca1cd autoconf - fix wrong types for dynamic settings
REVERT: 410557009 Add .gitattributes to override linguist-vendored paths
REVERT: e7498279c Revert Docker image update for tests
REVERT: fe87486f9 Merge pull request #673 from bunkerity/dev
REVERT: c2db157bb Update python docker image to 3.12.0
REVERT: eb8088164 Tweak Dockerfiles to make the build nicer
REVERT: 202698f41 Fix python deps conflicts and update them
REVERT: 0eb18cb31 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: f12a01410 autoconf - update settings from db
REVERT: 628068e9a Lint files with prettier
REVERT: f3694f0cc Add prettier as a precommit hook
REVERT: b56cce63f Fix codespell typos in README.md
REVERT: 87ca17663 Fix typos raised by codespell
REVERT: eea5dd9b7 Add codespell precommit hook
REVERT: 8fbe69261 Fix mkdocs.yml file duplicate copyright key
REVERT: cf82e73e9 Fix swarm postgres ui integration example
REVERT: 6b2df3585 Tweak py file to respect flake8 rules
REVERT: 508c728b6 Tweak pre-commit config and pyproject.toml file + Add flake8 as linter in precommit config
REVERT: 75e8c8339 Update CHANGELOG.md
REVERT: 07676a3d0 Use hashes instead of versions in github workflows
REVERT: f0761eed2 Revert "Add fuzzing tests in CI/CD"
REVERT: 4babce974 Add fuzzing tests in CI/CD
REVERT: a263f1f4f Update cron for dev-update-mmdb
REVERT: 31a839968 Merge pull request #666 from bunkerity/dev
REVERT: d8b256167 Merge pull request #665 from bunkerity/dev
REVERT: 87d2f04eb Remove no longer necessary temp fix for Flask-login
REVERT: c006e5088 Update python deps + Update Flask-Login to include the compatibility with Flask 3.0.0
REVERT: df9bf1f56 Merge pull request #664 from bunkerity/dev
REVERT: 6b0e623e5 Update Dockerfiles to install pip and its deps before the project ones
REVERT: 85068bfee Add temp fix to support Werkzeug>=3.0.0 with Flask-login
REVERT: 5a7f9147f Update python deps and update script
REVERT: 358905770 Fix bunkerweb-ui.sh script with variables not being exported correctly
REVERT: 5ed595be6 Fix shellcheck tests failing
REVERT: e21e0c812 Add shellcheck and gitleaks to pre-commit-config + tweak excluded paths
REVERT: 1b7e1840c Fix blacklist core tests' requirements.txt file
REVERT: 1f90d3668 Add a pre-commit-config file and passed all checks
REVERT: f3fc69110 Fix typos in Dockerfile when installing python dependencies
REVERT: 073e8575e Updated Dockerfile, python deps and npm package to use pinned dependencies
REVERT: cd4d529d7 Merge pull request #660 from bunkerity/dev
REVERT: b4a320afa Made ui tests better
REVERT: 8ed656068 Small fixes on linux paths creating unnecessary folders
REVERT: 8fa7adb61 Small refactor on how the autoconf updates the config
REVERT: 4ec754143 Handle changes more elegantly with the scheduler
REVERT: 0f7df13df Optimize save_config script
REVERT: 48096d711 Optimize the way the UI handles services creation and edition
REVERT: c0816bb11 Fix potential cross-site scripting vulnerability in plugins.js in the UI
REVERT: 18e5f7bff Merge pull request #659 from bunkerity/dev
REVERT: ece5ce1cd Add HTML sanitization when injecting code in pages in the UI
REVERT: 4d5002674 Extract codeQL workflow to have a separate one + Add scorecards analysis workflow file + Add UI tests for the UI branch
REVERT: 1c71572f4 Update tsparticles in the UI + remove unused static files
REVERT: 685cb9809 Update README to fix a few links and add the security scorecard badge
REVERT: 65d0aa3a8 Merge pull request #658 from bunkerity/dev
REVERT: 6e2db5991 Add a sleep before changing from cache page to log page to avoid errors in ui tests
REVERT: 1db769c32 Remove bugged UI tests check in linux
REVERT: db99d1687 Update the condition that checks the integration in core tests
REVERT: 579c80357 Update UI starting script and ui tests script on linux
REVERT: b901d2971 Update python deps
REVERT: e23f931bd Replace gevent with gthread in UI for security reasons
REVERT: 15eef6ef5 Try to fix python deps issues with linux and try to have more logs in linux ui tests
REVERT: cc0167f42 Fix ui linux tests when waiting for the ui to be ready
REVERT: fd4c147b8 Update how the scripts wait for the UI to get ready before starting the tests
REVERT: 95afba879 Change how the ui tests waits for the ui to be ready
REVERT: ea5cb0db2 Try to fix ui linux test by adding more sleeps
REVERT: cb3250e4e Fix UI linux test (again)
REVERT: 153e9fecf Fix bunkerweb linux scripts
REVERT: 81b5e80da Try to fix deps permissions with linux ui tests (again)
REVERT: 6a162d725 Fix linux permissions with ui tests
REVERT: be5fe2830 Try to fix ui python deps in ui linux tests
REVERT: 380e609ab Change ui linux tests command into development mode
REVERT: 93006cf5c Fix Firefox installation in core and ui linux tests
REVERT: 39f17bce6 Try to fix permission issues with Linux and ui python deps
REVERT: 94c7c832e Fix permissions with python deps in ui linux tests
REVERT: 42be334e4 Fix permissions with ui tests on linux
REVERT: cad3012e6 Try to fix python dependencies error with test ui linux
REVERT: a04282d3f Fix test core redis with linux
REVERT: c757f5d49 Re generate requirements.txt file for the UI with python3.9
REVERT: 052e06022 Fix core and ui workflow file for staging tests
REVERT: e71b71146 Merge pull request #655 from bunkerity/dev
REVERT: b90da0f90 Add better health check in linux ui tests
REVERT: 5c1fafe51 Updated CHANGELOG.md
REVERT: c964d68f9 Add more tries when the dnsbl server isn't found
REVERT: 78a29e65e Tweak reversescan core test to avoid false negative
REVERT: 0e9f29cc5 Revert "Fix UI shenanigans with python deps"
REVERT: 70ab9740d Fix UI shenanigans with python deps
REVERT: 0303a8f7b Update staging workflow file to include core and ui linux tests
REVERT: 16d4c1133 Optimize the way errors are being checked in linux core tests
REVERT: 2ddc8cec7 Update dnsbl list regex to accept an empty one
REVERT: 6534a429a Fix looking for error in the wrong place in test code linux
REVERT: 25eb8de01 Try to fix a few shenanigans with linux core tests
REVERT: 2065d688f Fix ui tests with docker checking the wrong containers if healthy
REVERT: 87f84d438 Add a retry on nginx error in linux core tests
REVERT: 99b30af8e Fix reverse scan python script
REVERT: 1ff2aed68 Fix UI docker tests docker compose file
REVERT: 48bcb1198 Rearrange imports for blacklist init core test
REVERT: ae9450d0d Add whitelist and greylist linux core tests
REVERT: 9a17e92d6 Fix typos in dnsbl core test
REVERT: 2244f734f Add dnsbl linux test
REVERT: a29ac80e4 Add country linux tests
REVERT: cff5c7767 Fix sessions core test for linux
REVERT: 6ae6764f2 Fix blacklist core tests docker compose
REVERT: 27959e1aa Fix sessions permissions issues with python requirements
REVERT: 47e8f20f8 Fix CVE CVE-2023-38039
REVERT: 6283ce2dd Add linux tests for blacklist and bunkernet
REVERT: f3d6f860e Remove old cached files if urls are empty
REVERT: 61c8ef73b Fix permission issues with sessions core test with linux
REVERT: be25ae8e0 Fix failing linux core tests + add more logs when an error occur in ui tests
REVERT: 33e200f65 Fix UI using the wrong database when generating the new config
REVERT: 57374ecc2 Fix tests ui with linux
REVERT: 601f0fde6 Fix tests ui linux not starting the ui service
REVERT: fdb9a7c29 Fix errors linux tests permission issues
REVERT: df1205882 Fix tests ui linux executing the wrong file
REVERT: db404a62c Fix ui tests misconfiguration
REVERT: a0aced3e5 Fix tests ui linux workflow file
REVERT: e378be9a9 Fix typo in tests ui linux file name + add more logs in ui docker tests
REVERT: 432d1587c Add linux ui tests
REVERT: 2ad886178 Fix selfsigned job with cryptography not being found
REVERT: da4390b48 Fix python modules version conflict with web ui
REVERT: 7bd48203a Fix and update python deps
REVERT: ce2fa3d36 Fix a few core tests for linux
REVERT: bca36e296 Update self-signed job to regenerate the cert if the subject or the date has changed
REVERT: 06da40bf1 Added more linux core tests
REVERT: 84a27a3fc Fix DB core test with docker
REVERT: 9e3425182 Fix path issues with db core test init
REVERT: c90cd7399 Fix permission issues in tests core linux
REVERT: 91e5528a3 Fix already existing tests core linux
REVERT: aeee38ad3 Fix misc problems related to linux
REVERT: d97326656 Fix Database not clearing old services when not using multisite
REVERT: 8a6e14d8c Added linux tests to a few core plugins
REVERT: 0ece8fda0 Fix permission issues when starting BunkerWeb in antibot linux tests
REVERT: e93513224 ci/cd Try to fix permission problems with Firefox in test core linux
REVERT: 761c01af6 ci/cd Fix test core linux shenanigans with Firefox
REVERT: 0d9349611 ci/cd Try to fix errors with firefox in test core linux
REVERT: 094d5d5df ci/cd Fix a few things with test core linux + finish antibot linux core tests
REVERT: fdae4549c ci/cd Fix permission issues (again) with test core linux
REVERT: d59cf1835 ci/cd fix permissions issue in test core linux + fix shenanigans with antibot linux core tests
REVERT: 43b1a038f ci/cd clear out firefox before reinstalling it in test core linux
REVERT: d192fbb82 ci/cd Install Firefox manually in test core linux
REVERT: 0239ca64b ci/cd test core linux remove dns resolvers override
REVERT: 1dd1caeea ci/cd Fix Firefox installation for test core linux
REVERT: a0516f773 ci/cd Install firefox from apt instead of snap + fix antibot core tests for linux
REVERT: 480c680f1 ci/cd Fix timeout in geckodriver download for test core linux
REVERT: a94dab208 ci/cd fix retry job when downloading the geckodriver in test core linux
REVERT: d0a1aab15 ci/cd Fix perms issues (again) and optimize some things in test core linux
REVERT: dd0c4c93a ci/cd Install requirements and deps in test core linux
REVERT: 294402dbf ci/cd fix perms issues with test core linux
REVERT: cd35d35c2 ci/cd Fix perms in variables.env for test core linux
REVERT: 4cce8385c ci/cd fix write in /etc/hosts file in test core linux
REVERT: 990b6336e ci/cd Fix test core linux with dpkg versioning
REVERT: ccc5eb304 ci/cd Fix version error with ubuntu and test core linux
REVERT: 6a3839040 ci/cd Fix tee command not being ran as sudo in tests core linux
REVERT: 453cfc2dc ci/cd Fix BunkerWeb installation job with linux core tests
REVERT: 0b14f8a5d ci/cd Fix install command in linux core tests
REVERT: 624f4b5bb ci/cd Fix path of the .deb file
REVERT: 61bc8a3b1 ci/cd fix .deb fetching in Linux core tests
REVERT: fa91bf6c6 ci/cd change needs and logic in test core linux
REVERT: b54c7eb61 ci/cd test secret inherit for ubuntu private test image
REVERT: 30cba0a77 ci/cd fix dev.yml
REVERT: 80d56fcca ci/cd start working on linux core tests
REVERT: 69307fba6 Fix issues with GitHub rejecting the requests
REVERT: 7c5177bf4 [#643] Fix UI clearing configs folder at startup
REVERT: b5bd17d4d Merge pull request #641 from bunkerity/dev
REVERT: ad65e01a8 Update CHANGELOG.md
REVERT: 1259fb67d Merge pull request #634 from bunkerity/dependabot/github_actions/dev/docker/setup-buildx-action-3
REVERT: b9e752f12 Merge pull request #636 from bunkerity/dependabot/github_actions/dev/docker/login-action-3
REVERT: 278eb0c8a Merge pull request #635 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-5
REVERT: dec97c8c3 Merge pull request #637 from bunkerity/dependabot/github_actions/dev/docker/metadata-action-5
REVERT: 9222420b7 [#640] Fix shenanigans when executing docker compose restart
REVERT: 07fb7cf16 [#638] When renaming a service in the UI, migrate the custom configurations as well
REVERT: f83b2278d Fix versions conflict between greenlet and gevent with UI
REVERT: e51e17835 Update python deps
REVERT: 3c95971e3 Fix CVE CVE-2023-4863
REVERT: bb7ef35ae Merge commit '35d13d7a097dd094cdbe993f18f29de0b08f1f2b' into dev
REVERT: 35d13d7a0 Squashed 'src/deps/src/zlib/' changes from 04f42ceca..09155eaa2
REVERT: d96253878 Merge commit '4430cf47ddc1f3647b3bc129f46fed2d7a145f8c' into dev
REVERT: 4430cf47d Squashed 'src/deps/src/luasec/' changes from fddde111f..4c0628705
REVERT: 37a2343e2 Merge commit 'd8ee65aa70e9737330c8a83301fd66c7dc8a8d7a' into dev
REVERT: d8ee65aa7 Squashed 'src/deps/src/lua-resty-session/' changes from 8b5f8752f..5f2aed616
REVERT: 6752b3647 Merge commit 'd7bde18da2a8a81f2d5f256bc975b1fb5b546107' into dev
REVERT: d7bde18da Squashed 'src/deps/src/lua-ffi-zlib/' changes from 1fb69ca50..61e95cb43
REVERT: af902fc4e Merge commit 'e0a89a2fcd1d0dd4cc103fc054242e8e8b10b7bf' into dev
REVERT: e0a89a2fc Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..ccc2d9b53
REVERT: 5ec7eb53a Squashed 'src/deps/src/luajit/' changes from 04f33ff0..e598aeb7
REVERT: 26d3d6c6c Merge commit '5ec7eb53a1fa30beb59d3358f16716483787b02e' into dev
REVERT: 0aaede4d6 Update core deps
REVERT: 955c7e063 deps/gha: bump docker/metadata-action from 4 to 5
REVERT: 8ea823e06 deps/gha: bump docker/login-action from 2 to 3
REVERT: a6efa5205 deps/gha: bump docker/build-push-action from 4 to 5
REVERT: a6b30f6a6 deps/gha: bump docker/setup-buildx-action from 2 to 3
REVERT: 1144a7381 make logs optional in issues, change assignee for dependabot and edit sitemap URL of the doc
REVERT: c364e4666 ci/cd - disable redirect when pushing doc
REVERT: d4f38cc79 ci/cd - fix error when parsing ARM types
REVERT: b6d49865b ci/cd - get ARM type availability
REVERT: d0a8cc381 ci/cd - use volume id instead of index for arm instance
REVERT: 30c952e9e ci/cd - set boot volume for arm instance
REVERT: 2382fdd37 ci/cd - start arm server after creation
REVERT: 05ecf558c ci/cd - use latest scw cli version
REVERT: 2b7ce389b ci/cd - reflect changes on release tf from refactoring
REVERT: d5d7364b1 Merge pull request #632 from bunkerity/dev
REVERT: 3adbd8757 [#628] Fix scheduler generating the wrong configuration with Linux
REVERT: fd7950863 Merge pull request #631 from bunkerity/dev
REVERT: 3ae9636d5 Fix error with the CSP header override of the antibot
REVERT: f99349900 Merge pull request #630 from bunkerity/dev
REVERT: ea6ae5253 Update ANTIBOT_HCAPTCHA_SECRET setting's regex to support new format
REVERT: 5811dc549 Merge pull request #629 from bunkerity/dev
REVERT: 6404b701c Update changelog
REVERT: 2b5654ba3 Update coreruleset to version 3.3.5
REVERT: c948e449a [#622] Handle configs dir more nicely in Linux
REVERT: fb5a8dc4f [#622] Fix permissions with folders in linux integrations
REVERT: 5f19b3fda Merge pull request #627 from bunkerity/dev
REVERT: 2fce08b72 Upgrade issue templates
REVERT: 2ed6584dd Update python deps hashes
REVERT: d6a14b671 Merge pull request #626 from bunkerity/dev
REVERT: b3c398cb5 Remove jinja2 from requirements.txt as it creates conflicts
REVERT: 6334a3d63 Merge pull request #623 from bunkerity/dev
REVERT: 8ab4ea2e2 Update id of ui.conf rules to avoid conflicts
REVERT: 11664cc1d Fix wrong variable name in limit core tests
REVERT: 9535c0414 Fix shinanigans with both multiple and global settings not being stored correctly in datastore
REVERT: 8cafded89 Fix variables that are both multiple and multisite not being stored properly in datastore
REVERT: c6b2199dd prepare for 1.5.2 🚀
REVERT: c418acdcf Update CHANGELOG.md
REVERT: 9d0d72ba0 [#576] Add support for ModSecurity JSON LogFormat
REVERT: cbc625938 Update mmdb files
REVERT: f57fc5d3f Fix menu.html dark_mode attribute in UI
REVERT: c7e834a0d Update python deps
REVERT: 673ee921f Lint files
REVERT: 9fb8dfca4 Fix Scheduler running two times for no reason
REVERT: 4787400d7 [#615] Fix BunkerWeb not being able to start after a restart because of the /var/run/bunkerweb directory missing in Linux
REVERT: f59476c26 Merge pull request #621 from bunkerity/dev
REVERT: 4be53d0cb Merge pull request #620 from bunkerity/ui
REVERT: 55ba29cd5 Fix UI error when values are empty
REVERT: 947690af8 Fix UI workflow
REVERT: 5cdf0ecf4 Merge pull request #619 from bunkerity/ui
REVERT: d1dd1fbae Fix shinanigans with the /data volume in the doc
REVERT: 1b84c6202 [#613] Fix logs with web-ui and Linux
REVERT: a2e0f1fe6 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 639eed8d0 Deactivate BunkerNet on first start with linux
REVERT: 500c3564a ci/cd - perform staging tests again
REVERT: 448efc0ef Merge branch 'staging' into dev
REVERT: 1b660691d ci/cd - fix typos for docker/packages pushes
REVERT: e62b7c9d1 Remove unused js files in web-ui
REVERT: b87316d7c Merge pull request #617 from bunkerity/ui
REVERT: 4cff39f49 Merge pull request #616 from bunkerity/dev
REVERT: bceb28602 Lint files
REVERT: d9d6ed9bb Fix settings regex with web-ui
REVERT: 01be5baea Merge pull request #611 from bunkerity/dev
REVERT: 059afec43 Update rhel docker image
REVERT: e564d8407 Merge pull request #610 from bunkerity/dev
REVERT: 2c15b3746 Fix rhel typos "el" instead of "rhel"
REVERT: 6f26c42c8 Merge pull request #609 from bunkerity/dev
REVERT: c5059ab22 Update doc to include TLS as well as HTTPS in some sections
REVERT: a7a317b5b Merge pull request #487 from bunkerity/dependabot/github_actions/dev/scaleway/action-scw-c718eca1fcb9fec1fb1433752d61599c6a0ad2e9
REVERT: 0681cf2c9 Update actions/checkout to v4
REVERT: 3a02c0ca5 Add more delays in badbehavior core test
REVERT: 040d44714 Change SQLite config to avoid locking
REVERT: 07725356b Merge branch 'staging' into dev
REVERT: 6a995723c autoconf - fix changes check bug with same variable name
REVERT: 47bf7299a Lint py files
REVERT: 656c5008d scheduler - ignore changes on first loop
REVERT: c206daf9d add basic config lock between autoconf and scheduler + remove reverse-proxy tests for linux
REVERT: cf55ade15 ci/cd - various fixes for k8s tests
REVERT: d28432e5f Fix API_SERVER_NAME regex
REVERT: b5638aae1 ci/cd - move k8s login in staging-tests job
REVERT: 4450762b8 ci/cd - fix image name in k8s tests
REVERT: 6e1660cd0 autoconf - fix wrong config update
REVERT: cb4c99f45 ci/cd - fix docker tag command for linux tests
REVERT: 64d2ed91e ci/cd - fix secret key
REVERT: 0e2420cff ci/cd - add timeout for cleanup jobs
REVERT: fa165522e ci/cd - use same md for openssl commands
REVERT: b03680388 ci/cd - remove double untar for k8s tests
REVERT: bae27806b ci/cd - fix tf state upload/download again
REVERT: 11794da8c ci/cd - fix tf artefact command
REVERT: c52e54b81 ci/cd - fix tf files again
REVERT: e5c37a00a ci/cd - fix k8s tf
REVERT: 9a3c26bf6 Merge branch 'dev' into staging
REVERT: 56422bca4 Update python deps regex for UI
REVERT: ee47407df Merge pull request #606 from bunkerity/dev
REVERT: 936b1e88f Remove old CVE fixes for nginx image
REVERT: f9f5b6570 Remove old CVE fixes for python images
REVERT: 8e8e042c2 Testing CVE on bw
REVERT: 1676ebeb7 Test CVE on autoconf
REVERT: 637573e59 Update docker images and python deps
REVERT: c3a4847de Update startup and temp env in bash files
REVERT: 3db7904d4 ci/cd - fix wrong image tag for Linux test images
REVERT: 037e1ba56 docs - add ghcr.io
REVERT: d6aa6a9b0 ci/cd - staging improvements
REVERT: 9aba00673 Fix oddities with the scheduler and the Database
REVERT: f7d9af9d6 Fix potential infinite loop when waiting for a configuration from the autoconf
REVERT: 95c796c1e ci/cd - delete temp compose downgrade
REVERT: 423e3b4a3 ci/cd - log to ghcr before getting tests containers
REVERT: 511597b7e ci/cd - fix tests image names
REVERT: bb77dcedf ci/cd - edit username for ghcr auth
REVERT: 3d0f17808 ci/cd - add dummy username for ghcr auth
REVERT: 5a9836fec ci/cd - fix nested permissions
REVERT: e1edfe4a7 ci/cd - fix missing permissions in wf
REVERT: e81ab4ff9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 87b405340 ci/cd - use gh cache for docker cache and pushes to ghcr.io
REVERT: 45a81203e Update python deps
REVERT: 9feb66710 autoconf - force updating first configuration
REVERT: 3d13cf345 autoconf - only update data when needed and atomic changed metadata update
REVERT: 00cb6c1a8 tests - fix regex for geckodriver version
REVERT: 898ee7ec8 tests - tweak dpkg before installing BW
REVERT: 643b30f99 tests - ignore wrong testing version in deb packages
REVERT: 69e944d56 Revert "Fix LinuxTest package installation commands"
REVERT: 2b7f627d8 Merge pull request #602 from bunkerity/dev
REVERT: 82fb7b277 Fix LinuxTest package installation commands
REVERT: 1042e546b Merge pull request #601 from bunkerity/dev
REVERT: 6d1d464e1 Remove tries limit in wget commands (defaulting to 20 tries)
REVERT: b5de52ead Add more retries when testing the newly created service in ui tests
REVERT: 267522749 Merge pull request #599 from bunkerity/dev
REVERT: 4f82856b4 Update staging-create-infra to use a static version for monolithprojects.github_actions_runner == 1.18.1
REVERT: d670b409b Merge pull request #486 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-4
REVERT: 0b93916a3 Merge branch 'dev' into dependabot/github_actions/dev/docker/build-push-action-4
REVERT: 76408cf04 Merge pull request #598 from bunkerity/dev
REVERT: f7cd7d9da Add dependency on tests-ui to not fail to push the testing image
REVERT: 8632dd324 Fix exit code for ui tests
REVERT: fbf0232d5 Update python deps
REVERT: 5b6f00dfc Revert "Remove unused imports in ui tests"
REVERT: 681def5f0 Remove unused imports in ui tests
REVERT: a844b235b Remove geckodriver.log
REVERT: 73e31ca62 Add wget to fix error with tests
REVERT: d82136f04 Fix UI tests not exiting if container fails to start
REVERT: 55fd17790 Fix wget command when downloading the geckodriver sometimes fails
REVERT: d8c95869e Fix database with multisite variables
REVERT: f24802b21 ci/cd - perform staging tests again
REVERT: 758fc13c3 ci/cd - replace version string for testing release
REVERT: cd825cd34 ci/cd - fix wrong VERSION path for testing release
REVERT: c03b1bb20 ci/cd - update VERSION file for testing release
REVERT: a5e50d0f7 ci/cd - fix linux package name for staging
REVERT: 1a57e0a20 ci/cd - remove linux arm64 packages pushes
REVERT: de568f335 ci/cd - temp disable staging tests
REVERT: 244b91247 ci/cd - fix syntax error in push-github wf
REVERT: 08ce31bb0 ci/cd - prepare for testing releases
REVERT: 7f47ac18c Fix plugins errors when reloading with a select and upgrade check
REVERT: b6b87fcb0 Update python deps
REVERT: 8bada2a02 Update update-version script and bw version in after-remove scripts
REVERT: b8778de08 use nightly tag for docker-socket-proxy
REVERT: b42b732d7 Merge branch 'staging' into dev
REVERT: fc1c81ce2 linux - add python3 dev dependency when building packages
REVERT: 76d36f3b9 v1.5.1 release
REVERT: 63355bb88 tests - increase radarr delay (again)
REVERT: 0ecf47876 Merge pull request #592 from bunkerity/staging
REVERT: 59dfb728f Fix DNS_RESOLVERS regex to be more open
REVERT: 47c560dd3 Merge pull request #591 from bunkerity/dev
REVERT: ff1e6cc28 k8s - use same namespace as ingress for services
REVERT: 81c2c3187 Fix config synchronization in scheduler + Remove MULTISITE variables being fetched when MULTISITE is set to no
REVERT: 7f3f3ac7e Add delay to radarr automatic tests
REVERT: 58d69ec20 Merge pull request #590 from bunkerity/dev
REVERT: 012bc3b43 Merge pull request #589 from bunkerity/staging
REVERT: 600ea7e16 Update python deps
REVERT: 18ee15971 lint python files
REVERT: eee26b5d7 tests - add delay for reverse-proxy-singlesite
REVERT: c00157ef3 fix wrong instances when using docker mode and add delay to docker-configs tests
REVERT: 6047a4335 set default value for ports in bw entrypoint, fix core db tests and fix missing PYTHONPATH for certbot job
REVERT: ee2aeda13 tests - add static delay for linux tests and fix core db tests
REVERT: bb6fd3073 linux - force kill nginx if graceful one doesn't work
REVERT: 6e6c08a71 ui - various edits
REVERT: 5df2a74ca improved LE certificates checks and fix missing full SERVER_NAME when MULTISITE=no
REVERT: 843c02370 tests - fix wrong command in linux tests
REVERT: 8f7833413 linux - fix letsencryt not working and fix permissions on /etc/bunkerweb/configs for tests
REVERT: 0ccd75781 linux - add missing pip to rhel
REVERT: adbed77f7 linux - install pip the official way
REVERT: ef7a6ac42 linux - fix fedora dockerfile
REVERT: 31ca183b1 Merge branch 'dev' into staging
REVERT: a763879c1 doc - update settings
REVERT: 03ba91e96 autoconf - fix deadlock with k8s
REVERT: 38ab5ea21 redirect - custom status code
REVERT: ee5397df5 bw - add HTTP and HTTPS port to temp config
REVERT: 9efd7a5a5 sessions - fix infinite loop when session checks fail
REVERT: 784ce643f db - disable connection pooling for one shot tasks
REVERT: f3081e3c3 scheduler - fix parent setter call
REVERT: 26a1ef689 Update mmdb files
REVERT: e2fe947cb ci/cd - fix tests UI not showing logs
REVERT: bf9cd367d fix missing Strict-Transport-Policy header, fix X-Forwarded-Prefix with regex URLs and print logs when UI tests failed
REVERT: 26f2852e5 scheduler - fix typo in fstring
REVERT: e93b2f65f cache dev container images, fix CVE-2023-35945 and force scheduler to reload when instances change
REVERT: f3ba16be9 add instances changes check to scheduler and auto push dev container images
REVERT: d9394567e add missing ctx arg in core plugins, always add X-Forwarded-Prefix header and add doc about timezone in containers
REVERT: d59b305f1 fix concepts image in doc, revert clientcache update and refactor headers
REVERT: ad45bbb4d Update python deps and fix error with PyYAML compilation
REVERT: db03aa9c7 Merge pull request #565 from bunkerity/dev
REVERT: bb14be820 Update python deps updater
REVERT: bedcf0c17 Fix bug with newer version of PyYAML by downgrading
REVERT: 68e9b057d Merge pull request #564 from bunkerity/dev
REVERT: 810340a49 [#559] Fix typos for custom-cert's settings in docs and examples
REVERT: a4db7c294 Fix CVE CVE-2023-2975
REVERT: 758901dfc Fix CVE CVE-2023-2975
REVERT: 9216becb5 Update python deps
REVERT: db413cc03 Merge pull request #555 from bunkerity/dev
REVERT: a4f4dfe4e remove unused imports in save_config.py
REVERT: 0d554a5f5 Update SERVER_NAME regex to be more open
REVERT: c11b44285 Merge pull request #554 from bunkerity/dev
REVERT: 25af02e4a FIx prevent the `DATABASE_URI` setting from being saved inside the database
REVERT: 9eec9e26c [#552] Fix scheduler not changing databases on linux
REVERT: 845364b2b Update log paths for linux based integrations
REVERT: 3dac0aef0 tests - temp fix for compose network errors
REVERT: 08f9e5f20 Fix bad behavior core tests by adding a custom subnet to the bw-docker network
REVERT: fccb25bee Add automatic bw-docker network removal between each try
REVERT: d6407b818 Fix db core tests by making the network bw-docker entirely external
REVERT: 1cf281ef8 Update core tests to be even more verbose
REVERT: 3a714b9a3 Update core tests to be more verbose
REVERT: 864619542 Fix core db tests (again)
REVERT: be46f7a8d Optimize db core tests
REVERT: 559039dfd Lint .conf files that contains lua code + remove useless comments
REVERT: aa0769dde Merge pull request #549 from bunkerity/dev
REVERT: ae6ccfcff Apply patch to luajit-geoip
REVERT: ed234fd63 Apply post_install script to lua-resty-openssl
REVERT: 09ae6da55 Apply patch to lua-resty-ipmatcher
REVERT: b516ca2ea Apply patch to lua-ffi-zlib
REVERT: 1e7f92af8 Apply patches to Modsecurity-nginx
REVERT: 008dc09a6 Stop checking return code of post_install scripts in init_deps.sh
REVERT: fcd230192 Fix init_deps.sh
REVERT: f3809bc69 Add -R to pull commands in init_deps.sh
REVERT: 96586d4a6 Apply post_install script to Modsecurity
REVERT: a75b90f52 Squashed 'src/deps/src/modsecurity/' changes from bbccedbdd..205dac0e8
REVERT: 948182ffd Merge commit 'a75b90f525b90bd74c090702034e02fdd6250e0e' into dev
REVERT: 544b4040e Add post_install scripts to init_deps.sh and update install.sh
REVERT: 6e146e2a5 Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..bbccedbdd
REVERT: 847ff5a3d Merge commit '6e146e2a54cb29eb0ac1bc9d65766fe90d30fa4f' into dev
REVERT: bbccedbdd Change tags into hashes in deps.json
REVERT: 14d69fa59 Update mmdb files
REVERT: d5e358b72 Merge pull request #548 from bunkerity/dev
REVERT: e0055328a Fix add missing deps for core db tests
REVERT: c93d5a2fc Fix CVE CVE-2023-3316
REVERT: 5631e2737 Merge pull request #547 from bunkerity/subtrees
REVERT: 3505c0d18 Remove clone.sh file
REVERT: 7b566b885 Squashed 'src/deps/src/zlib/' content from commit 04f42ceca
REVERT: ffd310031 Merge commit '7b566b885e99301b243c5f61360e65238035e048' as 'src/deps/src/zlib'
REVERT: 45dca7b44 Merge commit '2ab324a69f219b4051b2e77d211ee1a7fb1462b5' as 'src/deps/src/stream-lua-nginx-module'
REVERT: 2ab324a69 Squashed 'src/deps/src/stream-lua-nginx-module/' content from commit 309198abf
REVERT: f85f86e46 Merge commit 'c1073460677ba8aa2e325a1c57c3db1458f9fde5' as 'src/deps/src/luasocket'
REVERT: c10734606 Squashed 'src/deps/src/luasocket/' content from commit 95b7efa9d
REVERT: a7d4cc5bb Squashed 'src/deps/src/luasec/' content from commit fddde111f
REVERT: bd600e0d0 Merge commit 'a7d4cc5bbaabf8683b3b5cc1f42f9bd145cf1aa8' as 'src/deps/src/luasec'
REVERT: d15662693 Merge commit '2d86912af87048b94c2921a60b3a8a5a0953e132' as 'src/deps/src/lualogging'
REVERT: 2d86912af Squashed 'src/deps/src/lualogging/' content from commit 465c99478
REVERT: 1fb404757 Merge commit 'f3ceeb73a958e774b1e2fa55d2607cdd3eb419ca' as 'src/deps/src/luajit-geoip'
REVERT: f3ceeb73a Squashed 'src/deps/src/luajit-geoip/' content from commit fde33e045
REVERT: f81788c00 Merge commit '2678b91586e9183b47327fbb0f11ad23020f195f' as 'src/deps/src/lua-resty-upload'
REVERT: 2678b9158 Squashed 'src/deps/src/lua-resty-upload/' content from commit 03704aee4
REVERT: 2d06f2d7a Merge commit 'bc06cd71b8896c6e7a1aac4610c9c3f878956238' as 'src/deps/src/lua-resty-template'
REVERT: bc06cd71b Squashed 'src/deps/src/lua-resty-template/' content from commit c08c6bc9e
REVERT: a6379356e Merge commit '3038a0b027f09090e1cd8f101d2ee8c52c383070' as 'src/deps/src/lua-resty-string'
REVERT: 3038a0b02 Squashed 'src/deps/src/lua-resty-string/' content from commit b192878f6
REVERT: fdf0050a9 Merge commit 'ee5198ba2810e33e08ff987ede5abe10fc74f6e3' as 'src/deps/src/lua-resty-signal'
REVERT: ee5198ba2 Squashed 'src/deps/src/lua-resty-signal/' content from commit d07163e8c
REVERT: a3cd342f3 Squashed 'src/deps/src/lua-resty-session/' content from commit 8b5f8752f
REVERT: 6f8ff3f12 Merge commit 'a3cd342f3e1fffd7b16b83a24e03bb9ed501b319' as 'src/deps/src/lua-resty-session'
REVERT: 2f1cde097 Merge commit 'eca8662cfe981f66ab92b53bbf83af65da02b2b7' as 'src/deps/src/lua-resty-redis'
REVERT: eca8662cf Squashed 'src/deps/src/lua-resty-redis/' content from commit d7c25f1b3
REVERT: 0b94df087 Merge commit 'e59161ec204c7a95e4751b1c0e9a6bead7fcab39' as 'src/deps/src/lua-resty-random'
REVERT: e59161ec2 Squashed 'src/deps/src/lua-resty-random/' content from commit 17b604f7f
REVERT: a28005988 Squashed 'src/deps/src/lua-resty-openssl/' content from commit b23c072a4
REVERT: 38fdd39d0 Merge commit 'a2800598825bb5a03b577cca2874ff1cfae863f4' as 'src/deps/src/lua-resty-openssl'
REVERT: c2fa53ca1 Merge commit '31bf774f63b8b46a3c7b53028853036fff6fa0b8' as 'src/deps/src/lua-resty-mlcache'
REVERT: 31bf774f6 Squashed 'src/deps/src/lua-resty-mlcache/' content from commit f140f5666
REVERT: 7b2273aeb Merge commit 'c82b0bdd27762d2d4a9901a187506d2e5abd74f5' as 'src/deps/src/lua-resty-lrucache'
REVERT: c82b0bdd2 Squashed 'src/deps/src/lua-resty-lrucache/' content from commit a79615ec9
REVERT: 3dc8cc87c Merge commit '746a6e16d027ab3bddfc610c987e5d61ab9b69d0' as 'src/deps/src/lua-resty-lock'
REVERT: 746a6e16d Squashed 'src/deps/src/lua-resty-lock/' content from commit 9dc550e56
REVERT: 62e740a0b Merge commit '19515d9b26f2f4886ca117b91384509087f0ff3a' as 'src/deps/src/lua-resty-ipmatcher'
REVERT: 19515d9b2 Squashed 'src/deps/src/lua-resty-ipmatcher/' content from commit 7fbb618f7
REVERT: e566b98af Merge commit '7160fd94e3dc22299ee3c9f8b0e71a5e2c1bb501' as 'src/deps/src/lua-resty-http'
REVERT: 7160fd94e Squashed 'src/deps/src/lua-resty-http/' content from commit 4ab4269cf
REVERT: cdd42bf25 Merge commit '1a7d4e58be28238599df3f5c15c56380c3e99732' as 'src/deps/src/lua-resty-env'
REVERT: 1a7d4e58b Squashed 'src/deps/src/lua-resty-env/' content from commit adb294def
REVERT: 49db9c24d Merge commit '0f4a0cb0ef514bee6b810f6d6cf982c5ef0abfca' as 'src/deps/src/lua-resty-dns'
REVERT: 0f4a0cb0e Squashed 'src/deps/src/lua-resty-dns/' content from commit 869d2fbb0
REVERT: fe76b6830 Merge commit 'fd02afef8ec1ceb8a816dc202d05c6ece9887d31' as 'src/deps/src/lua-resty-core'
REVERT: fd02afef8 Squashed 'src/deps/src/lua-resty-core/' content from commit 31fae862a
REVERT: 29d135bdb Merge commit '36023392a6e3c8fb6aebb46140db759e61da220e' as 'src/deps/src/lua-nginx-module'
REVERT: 36023392a Squashed 'src/deps/src/lua-nginx-module/' content from commit c47084b5d
REVERT: b01aa0b15 Merge commit '32485e2860c2ea31fcef5b575f446c7a3036a550' as 'src/deps/src/lua-gd'
REVERT: 32485e286 Squashed 'src/deps/src/lua-gd/' content from commit 2ce8e478a
REVERT: c46cd666a Squashed 'src/deps/src/lua-ffi-zlib/' content from commit 1fb69ca50
REVERT: 909841ea6 Merge commit 'c46cd666ab76bad7bd05c6261d692cda5b380f32' as 'src/deps/src/lua-ffi-zlib'
REVERT: 47ee3884f Merge commit '4f9b885a2e8b7a10653653fee3bb91cf5102b0ef' as 'src/deps/src/lua-cjson'
REVERT: 4f9b885a2 Squashed 'src/deps/src/lua-cjson/' content from commit 881accc8f
REVERT: bb450ac96 Squashed 'src/deps/src/libmaxminddb/' content from commit ac4d0d248
REVERT: e13868c63 Merge commit 'bb450ac96595432625ac34de8f7f42b3d06a5b30' as 'src/deps/src/libmaxminddb'
REVERT: 772e05d37 Merge commit '4a7228d2dcb7fe62526016b90a7c497fb6531e76' as 'src/deps/src/libinjection'
REVERT: 4a7228d2d Squashed 'src/deps/src/libinjection/' content from commit 49904c42a
REVERT: 209d4a461 Merge commit 'ae8d8b233d52cbfdee68bd3ba21713149f5659c8' as 'src/deps/src/lbase64'
REVERT: ae8d8b233 Squashed 'src/deps/src/lbase64/' content from commit c261320ed
REVERT: 992710650 Merge commit '1d1739b4eaa274c25c52b8ceb79ebdc717633ec0' as 'src/deps/src/headers-more-nginx-module'
REVERT: 1d1739b4e Squashed 'src/deps/src/headers-more-nginx-module/' content from commit bea1be3bb
REVERT: e43880b08 Squashed 'src/deps/src/ngx_devel_kit/' content from commit b4642d6ca
REVERT: a09d5eb2c Merge commit 'e43880b08395df25663560da3d8154226a167a77' as 'src/deps/src/ngx_devel_kit'
REVERT: 8973eb029 Merge commit '26773844e7bd57df1216bd74360a62ec2dc976e3' as 'src/deps/src/nginx_cookie_flag_module'
REVERT: 26773844e Squashed 'src/deps/src/nginx_cookie_flag_module/' content from commit 4e48acf13
REVERT: 79d1b4459 Merge commit '22e69251d9b5cd2611abf77ef7352abfa4d409d7' as 'src/deps/src/ngx_brotli'
REVERT: 22e69251d Squashed 'src/deps/src/ngx_brotli/' content from commit 6e975bcb0
REVERT: 4cd57ab8f Merge commit 'b99663928782619ef854b4bf10a2bf7450d75266' as 'src/deps/src/nginx'
REVERT: b99663928 Squashed 'src/deps/src/nginx/' content from commit 84cd72177
REVERT: d7f25398a Merge commit 'a676d333fda890838d8fc4766720cc3f1d4c5389' as 'src/deps/src/modsecurity-nginx'
REVERT: a676d333f Squashed 'src/deps/src/modsecurity-nginx/' content from commit d59e4ad12
REVERT: 7e8f4adc3 Squashed 'src/deps/src/modsecurity/' content from commit 205dac0e8
REVERT: 999fb6b8e Merge commit '7e8f4adc3b2b2a655640c73198fb920a5e8441d5' as 'src/deps/src/modsecurity'
REVERT: 6c0468f62 Squashed 'src/deps/src/luajit/' content from commit 04f33ff0
REVERT: 6d05b14eb Merge commit '6c0468f62b1120497a6fd0d21101dc41f29e7397' as 'src/deps/src/luajit'
REVERT: 1141afd20 Fix install.sh for nginx dynamic modules
REVERT: 97406bff4 Add libinjection deps back
REVERT: a58ad9b50 Remove duplicate lua-ffi-zlib in deps
REVERT: 831ae129c Make init_deps.sh executable
REVERT: 451648fa7 Remove old deps temporarily except lua
REVERT: 185d75076 Update how the deps are initialized
REVERT: 6a048e68f Update how the deps are managed
REVERT: 129e8f7e0 Merge pull request #546 from bunkerity/dev
REVERT: 265123835 Update python deps
REVERT: b0bc9a1bf Update the documentation
REVERT: 2f7ed064f docs - Fix typo in webhook link in plugins.md
REVERT: 7d6116163 Merge pull request #544 from bunkerity/dev
REVERT: deed39a1f Update lua-resty-openssl to version 0.8.23
REVERT: dd295729b Add deps project submodules
REVERT: b27f38349 Update lua-resty-session to version 4.0.4 and remove lua-pack deps as it's no longer needed
REVERT: aeca252d9 Bump lua-resty-core version to 0.1.27 and lua-nginx-module version to 0.10.25
REVERT: 1ec21261c Revert "Init work with submodules"
REVERT: 718a9305d Revert "Fix .gitmodules file"
REVERT: a253f4a59 Revert "Remove old folders that are now submodules"
REVERT: 2e1e9a08c Revert "Initialize submodules"
REVERT: e2f1aba3c Revert "Add other projects to submodules"
REVERT: d9a98c6fa Revert "Update commit SHA for submodule libinjection"
REVERT: 5ed3ba1d5 Revert "Fix path resolution for modules and remove nginx submodule"
REVERT: b529d8525 Revert "Update checkout part of workflow to include submodules"
REVERT: 43783edb9 Revert "Add nginx as a submodule"
REVERT: 8417ed132 Add nginx as a submodule
REVERT: ded0ec66d Merge pull request #542 from bunkerity/dev
REVERT: 6cbbd0d56 Update timeout for wordpress tests to 120 seconds
REVERT: d687b228e Fix PERMISSIONS_POLICY authorizing self and links to be aside without spaces
REVERT: bcc9fdef9 [#533] Fix SERVER_NAME regex to limit domains' size individually instead of the whole setting's value
REVERT: 524a140d2 [#534] [#504] Update ALLOWED_METHODS regex to accept more methods
REVERT: a197e20d2 [#531] Fix typo in documentation about SSL
REVERT: 252a5831b Merge pull request #541 from bunkerity/dev
REVERT: 07ed136af Update setup-kubernetes of wordpress example
REVERT: 2eb73d15a Merge pull request #537 from bunkerity/dev
REVERT: 30fec8a14 Remove python submodule, will add it back in the next major
REVERT: 4b4e0f8b3 Update checkout part of workflow to include submodules
REVERT: c2cfd4dd9 Remove checkout from dev.yml
REVERT: 642da402b Fix dev workflow
REVERT: 4bb6d40a5 Update dev workflow to checkout the code and submodules first
REVERT: 3bcdd9ca2 Merge pull request #536 from bunkerity/submodules
REVERT: 28d59221b Fix path resolution for modules and remove nginx submodule
REVERT: c8e25bcde Update commit SHA for submodule libinjection
REVERT: e1a5782a3 Update how the dependencies are being cleaned up
REVERT: 68bea47ed Add other projects to submodules
REVERT: 2cd5c7f45 Initialize submodules
REVERT: d7d3e2429 Remove old folders that are now submodules
REVERT: a74727891 Fix .gitmodules file
REVERT: b5fffc1f3 Init work with submodules
REVERT: 8c4c99e65 Merge pull request #530 from bunkerity/dev
REVERT: ddc337394 Update log location for nginx and letsencrypt
REVERT: 1c362d078 Remove the deletion of let's encrypt lib and log folders after the job is finished
REVERT: 95c9bad8e Remove unused enums in database model
REVERT: 7a972274f Add database schema to concepts.md in the docs
REVERT: 561499536 Revert "Update README.md links to use local branch files"
REVERT: 4536e328e Update README.md links to use local branch files
REVERT: 89070cfb7 Merge pull request #529 from bunkerity/ui
REVERT: d6942a46e Update where the scheduler copies its config
REVERT: 8a98da898 Merge pull request #528 from bunkerity/ui
REVERT: 26f831cb4 Merge branch 'dev' into ui
REVERT: 81f3914fc Merge pull request #527 from bunkerity/dev
REVERT: 162198bb9 Update db core tests to ignore the added value for env custom configs
REVERT: 7a524b43e Revert back to 30 seconds of sleep in tests ui after creating a custom config
REVERT: b007916d6 Optimize the scheduler and gen even more (we love threads)
REVERT: 0661916ff Update ui tests to wait more after creating a custom config
REVERT: 2105dc0f3 Update core db tests to use the right hash for plugins_page files
REVERT: 823119821 Fix rare error when hashing dictionaries in the scheduler
REVERT: 1e62626ac Fix KeyError in scheduler
REVERT: 57eaedd8e Merge pull request #526 from bunkerity/dev
REVERT: 4d984f623 Update CHANGELOG
REVERT: d0fd6884c Fix shinanigans with the custom configs and plugins jobs
REVERT: 8e6de2bdf Augment authelia timeout
REVERT: 3565dd7b3 Update CHANGELOG.md
REVERT: 145df1df4 Merge pull request #525 from bunkerity/dev
REVERT: df1359e87 Add possibility to download lists and plugins from a file path + Update python deps + Plugins now support tar and tar.gz as well
REVERT: b756b2d7d Lint py files
REVERT: f57b6dad1 fix cursor gap on ace editor
REVERT: 91c33f1d4 Merge branch 'dev' into ui
REVERT: ed2a54d16 Merge pull request #524 from bunkerity/dev
REVERT: 3e871efed Update python deps
REVERT: d27edab35 Merge pull request #523 from bunkerity/dev
REVERT: 9982ec36d Remove useless import
REVERT: 80033642c Add reverse proxy headers back
REVERT: 0836d4ee9 Merge pull request #522 from bunkerity/dev
REVERT: 2a2b7b6f5 Merge pull request #521 from bunkerity/staging
REVERT: 78236abe8 Check Aqua Security
REVERT: c5ff63a40 Fix CVE CVE-2023-3138
REVERT: 78ef5c482 Fix problems when creating custom configs or plugins and removing them completely
REVERT: 2c190ee96 add writeable /var/run/bunkerweb directory to hardened example
REVERT: 94867d0d6 letsencrypt - use same job name when retrieving data from db
REVERT: 9e00b9dd1 letsencrypt - use same job_name for both new and renew jobs
REVERT: 9adb209a8 lua - fix missing multisite variables in LRU
REVERT: fdd3367a6 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: dcf156135 prepare for 1.5.1 🚀
REVERT: 4023e6dc6 road to v1.5.1
REVERT: af9e125c8 linux - merge change for debian packager
REVERT: ab6025ec9 linux - fix missing zope modules
REVERT: 7e221eb89 debian working
REVERT: f1435f231 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: b14dba775 bw - fix multiple variables not loaded in LUA
REVERT: 81bb9ede1 Removing python 3.11 from linux
REVERT: 7e66c577f Removing python 3.11 in linux
REVERT: 236572f58 ui - remove python 3.11 import for Linux integrations
REVERT: 73060e42a Fix limit core tests
REVERT: df0c03cef Fix UI wrong import
REVERT: 5d7ef69c9 Update limit core tests to avoid false negative
REVERT: 855ae8936 Update limit core tests to avoid false positive
REVERT: 16a1916db Remove useless imports in lua code + lint
REVERT: 605e237fd Remove 404 from Bad behavior status codes
REVERT: fc8d76f33 Rollback on hcaptcha passive feature
REVERT: c08e8d151 Update settings.md
REVERT: 44097cad0 Move the COEP, COOP and CORP headers to Cors plugin and change default values
REVERT: 3446e5f9b Upgrade antibot to add a custom CSP on each pages + update plugins order
REVERT: 70f227feb Fix error with multisite variables when requesting default server
REVERT: f81b0bb4d Fix multisite variables not being added in helpers
REVERT: 978697500 Fix has_variable method of utils
REVERT: 5b0b183a4 Remove no longer needed decode for plugin order from datastore
REVERT: a2759e377 Add small tweaks on the datastore
REVERT: b6d879257 Fix how we fetch plugins_order in the default server
REVERT: 94964a910 Update how we handle custom configs
REVERT: 6a1ff499c Fix Lets'encrypt plugin api and internal API
REVERT: 179a7aa34 Fix lua sessions with antibot
REVERT: a1385fe9b fix ctx usage in reverse proxy + remove useless log in limit
REVERT: 23f9f14a4 Remove old CVEs fixes from Dockerfile
REVERT: f77150bc2 Test Aqua Security CVEs
REVERT: ec48e6601 Fix return value when no plugins have been found in api.lua
REVERT: 6ab48d9dd Update python image to tag 3.11.4-alpine
REVERT: ce24a0482 apply changes to current core
REVERT: 02d940393 perf - ctx caching and per worker LRU for readonly variables
REVERT: a7069bd60 Update UI to stop using env variables but werkzeug middleware + Send X-Forwarded-Prefix headers to UI service
REVERT: c39dd78ae Update cors plugin tests
REVERT: 3b459b0e2 Fix shinanigans with API (again)
REVERT: 718310312 Fix shinanigans with the API
REVERT: 5deeacc3d Fix letsencrypt jobs
REVERT: c18f743d4 Fix PosixPath in jobs
REVERT: 85a53278e Add a charset to cors Content-Type header
REVERT: e01c14f11 Add Cross-Origin-*-Policy headers management and default values
REVERT: 0b3c1a8a0 Update KEEP_UPSTREAM_HEADERS setting's default value
REVERT: 95f673c1d Update doc about headers
REVERT: cee7672b5 Update settings.md in the doc
REVERT: d5ea95da9 Increase load-balancer example test timeout
REVERT: 39e6821a4 Lint lua code
REVERT: 64aa12b70 Update python deps
REVERT: c392a0b5f Update mmdb files
REVERT: f93dd34f6 Extend KEEP_UPSTREAM_HEADERS setting to clientcache and reverseproxy core plugins
REVERT: a23d189d3 Merge pull request #516 from bunkerity/dev
REVERT: df47ba0e9 Merge pull request #515 from bunkerity/dev
REVERT: 0ca7de1de Add CVEs fixes back
REVERT: 84fcfb726 Test Aqua Security 2
REVERT: c20bd05d3 Test Aqua Security
REVERT: c85a4183d Fix Strict-Transport-Security not being sent
REVERT: 654172f43 Update headers core plugin lua code
REVERT: afe6da4cf Automatically add Content-Security-Policy header to response headers in the UI
REVERT: 5c7cd38b5 Edit headers core plugins to use lua Code + Add new setting KEEP_UPSTREAM_HEADERS
REVERT: 299a0b5c2 Remove apk update at beginning of each Dockerfile
REVERT: 6cc20efe7 Update bad behavior test BAD_BEHAVIOR_COUNT_TIME to 30 seconds
REVERT: e2a3bfb10 Bad behavior core tests change the ban time to 60 seconds
REVERT: 4bbddf797 Merge pull request #509 from bunkerity/dev
REVERT: 1eeefead9 Core tests sleep between each request
REVERT: 9829ef752 Update UI to automatically set SCRIPT_NAME and ABSOLUTE_URI
REVERT: b27958a19 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 410a64810 core - patch modsec to use access phase instead of preaccess
REVERT: f7d986d6a Change the way linux starts and the scheduler
REVERT: 95d4f0f87 Small tweaks on core jobs
REVERT: 4f324231d Fix tmp variables path (again)
REVERT: dc18f9884 Edit start.sh
REVERT: 3b36965f4 Fix tmp_variables_path in scheduler
REVERT: ccc051e78 Fix /var/run/bunkerweb in fpm args
REVERT: 8b2517cdf Remove ui cache download test - to much unstable
REVERT: d1138855e Fix gunicorn config for Docker and Linux
REVERT: 0c8bc97fa Fix UI on Linux not using the right user
REVERT: a68fb0c06 Refactor to make more sens and avoid specific errors
REVERT: fff21746a Correcting: Dockerfile-ubuntu End of statement block Jinja
REVERT: 3ab4a59b6 Update debian Dockerfiles to avoid updating apt packages only once
REVERT: 760ec3b3b Add /var/run/bunkerweb removal script when uninstalling BunkerWeb
REVERT: be459d240 Update pid files paths to /var/run/bunkerweb
REVERT: 8b697d87d Fix Scheduler errors with the internal apis
REVERT: 89a3c8b0b Update bunkerweb-ui file according to the new gunicorn usage
REVERT: 5e237d0d0 Update gunicorn to use a config file as well + Fix headers error + Small fixes
REVERT: a424d59b1 Add apk update at the beginning of each Dockerfile
REVERT: 1d14db7e1 Update custom cert job to not duplicate certs if the cert is global
REVERT: 7efb82a7e Update python deps
REVERT: e920cba43 Fix CVE CVE-2023-2650
REVERT: 413b75b04 Fix customcert plugin to accept multisite certs as well
REVERT: 87a9545d9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: c53394845 various fixes
REVERT: aca0d6da4 Small refactor on the ApiCaller and the Scheduler
REVERT: 1bd40a877 Removing vmware support in doc
REVERT: 612333d2a Merge pull request #508 from bunkerity/dev
REVERT: 474ecbb41 Fix typo in phases list in plugin.lua
REVERT: 5fa21b3c8 Fix CVE CVE-2023-29491
REVERT: 16a459bf7 Lint antibot html files
REVERT: fd06a1e71 Add Turnstile antibot
REVERT: d5e64320c Fix small typo in misc.lua
REVERT: 4d6d95037 Merge pull request #507 from bunkerity/dev
REVERT: b60657e21 Merge pull request #506 from gin-gitaxias/patch-3
REVERT: 1f2c973a3 Fix docker-compose file for custom cert job
REVERT: b314f4349 Update integrations to add LOG_LEVEL=warning env variable to docker proxy
REVERT: 0edfb2db3 Update example to add a LOG_LEVEL=warning to the docker proxy
REVERT: 83413aef2 Remove open ports from core tests docker compose files
REVERT: 334be4346 Fix custom-cert core plugin
REVERT: 953128be6 Update scheduler changes check to reduce CPU usage
REVERT: bb7dcda48 Refactor paths resolutions for core plugins
REVERT: 108827952 whitelist - remove unused IPs of duckduckgo crawler
REVERT: 665b110c6 [#504] Fix ALLOWED_METHODS regex
REVERT: 5a2aa20bc Update plugins.md
REVERT: 168dfc439 Refactor paths resolutions for UI + optimizations on the plugin upload
REVERT: 6e80c7b8d Fix variable being ignored instead of saved inside the database when the value is empty
REVERT: 8dad7a0b7 Starting work on paths resolution refactor
REVERT: b5a78c3aa Test Acqua Security vulns (2)
REVERT: ed6bee69c Test Acqua Security vulns
REVERT: 3dba058b4 Fix custom configs not being cleared out once created
REVERT: d9b093dab Fix plugin example in documentation
REVERT: 162f1d978 Merge pull request #502 from bunkerity/ui
REVERT: 1f2fa95e7 Remove useless line in the head.html file + lint HTML files
REVERT: 1cd356781 Add multiple plugin upload in one compressed folder support for the UI
REVERT: 29673f918 fix font
REVERT: 180493616 Fix CVE CVE-2023-1999
REVERT: 7fe7a997f Merge pull request #501 from bunkerity/ui
REVERT: 5b75894d4 Fix UI latest version checking & Fix conditions in quick settings for services
REVERT: 1f6b3d59a Merge pull request #500 from bunkerity/dev
REVERT: 548630e3e Update python deps
REVERT: aa299f085 Update plugin update and add to get only the necessary keys
REVERT: f0126b6d6 Fix update-check job
REVERT: 8585007bc deps/gha: bump scaleway/action-scw
REVERT: a7535c300 docs - fix yt preview in readme
REVERT: 340b4a492 change arm server flavor
REVERT: e7ea3952b ui - add missing dep for docker/x86
REVERT: a586b5b6b deps/gha: bump docker/build-push-action from 3 to 4
REVERT: 3b7d8b6c1 Merge branch 'staging' into dev
REVERT: 6666a25fc edit version, update images on docs and fix bug in Linux script
REVERT: f84af3402 Add error ignoring when using the rmtree function
REVERT: 0b082bdab Add handling of stderr being None in the scheduler
REVERT: 1f2b550f6 ci/cd - fix swarm examples and init work on release workflow
REVERT: d5fcc6969 Merge branch 'dev' into staging
REVERT: eda275589 Merge pull request #485 from bunkerity/dev
REVERT: 7506768c4 Merge branch 'ui' into dev
REVERT: be3d40f18 Fix CLIENT_CACHE_CONTROL setting's regex to also work with JS
REVERT: 41059fb28 Merge pull request #484 from Hado-K3n/patch-16
REVERT: 88f85b282 Merge branch 'dev' into patch-16
REVERT: e5e031b6b Merge pull request #483 from Hado-K3n/patch-15
REVERT: 2dbadbd29 Merge pull request #482 from Hado-K3n/patch-14
REVERT: 95c7b5410 Merge pull request #481 from Hado-K3n/patch-13
REVERT: 00739a5ab Merge pull request #480 from Hado-K3n/patch-12
REVERT: a9f4be475 Merge pull request #479 from Hado-K3n/patch-11
REVERT: f85f73678 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: f1efe06e9 ci/cd - fix /opt/actions-runner perms for self-hosted runners
REVERT: ad71be460 login now use local font
REVERT: dcb800d2b Update k8s.postgres.ui.yml
REVERT: 5a7f7f3c6 Update k8s.postgres.yml
REVERT: e1f60127e Update k8s.postgres.ui.yml
REVERT: 7553ffb63 fix client_cache_control regex
REVERT: 9324648f2 Update k8s.mysql.yml
REVERT: eafe006a6 Update k8s.mysql.ui.yml
REVERT: 62a8ec975 Update k8s.mysql.ui.yml
REVERT: dfcaba9ad Merge pull request #478 from bunkerity/dev
REVERT: 737b999cd Set CLIENT_CACHE_CONTROL setting's regex
REVERT: 9339af44c Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 78f7570e1 core - Fix bwcli condition when checking bans
REVERT: 40e30ed44 use shared redis connection pool in cachestore when we can
REVERT: d6ca98ed1 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 10a4cefd0 update lua-resty-openssl deps and replace nginx -s calls with signals
REVERT: 97723185b core - Add bwcli tests
REVERT: ab3b3ea8f ui-tests - update waiting time after creating a custom conf
REVERT: 5adec84d5 fix redis not contacted in subsequent phases and reflect changes on stream configs
REVERT: 1624c4e76 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: eea6d32cd share common objects during the phase and add threading to DNSBL and reverse scan
REVERT: 99f8f69fa Merge pull request #477 from bunkerity/ui
REVERT: 9b58b397c Fix ui tests (again)
REVERT: ace88d865 Fix plugins fetching for the UI
REVERT: 69b35636e Fix UI tests (once again)
REVERT: 5dfe35b7b Update how the plugins are being fetched by the UI
REVERT: b75690fdf Change the way python deps are installed
REVERT: b19ebbe6a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: c0c646aae Merge pull request #476 from bunkerity/dev
REVERT: edd6e2ded improved session management and add IP/UA checks
REVERT: c7ca5a822 Fix Database overriding services_settings if a global_value is set
REVERT: e1883a04b Merge pull request #475 from bunkerity/dev
REVERT: af19cc226 core - Add redis tests
REVERT: 0087ae583 Update python deps
REVERT: 8133c134e core - Fix db tests by removing "order" key check
REVERT: f725d0fe6 Update keys name in datastore
REVERT: 05c478e83 Edit COOKIE_FLAGS regex
REVERT: b5aaf6266 add forward reverse DNS to whitelist, disable redis in cachestore when sockets are not enabled, fix typo in cachestore and improve dns/rdns caching
REVERT: 8a8dd6fb7 db - remove order from plugin model
REVERT: 93c766e56 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 179beea4d improved core plugin execution order
REVERT: 1d126e1d0 core - fix cors tests with the preflight request
REVERT: dbb884099 core - Update allowed_methods test method to GET
REVERT: 62cb85453 core - Remove cert verification when testing allowed methods in misc tests
REVERT: 04919e8a0 Fix multiple CVEs
REVERT: b32f31891 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 4962f786b fix wrong env parsing in init phase, bypass modsec/crs when method is not allowed, refactor ALLOWED_METHODS and improve error page management
REVERT: 10bdf551a core - Add misc tests
REVERT: 7158e7e9a core - Optimize cors tests
REVERT: 3f51f59bc Add check when plugins are configured + Add Semaphore to accelerate jobs execution + Code optimization
REVERT: 4c4fa44fb ci/cd - fix core/cors tests
REVERT: 84d43c84d Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: b58798746 Update mmdb download to check the checksum at start
REVERT: a9be973d5 use PCRE regex instead of LUA pattern and edit cors doc
REVERT: 4378f18cc fix typo in bunkernet.lua, add missing Origin header in cors tests and fix allow origin expected value
REVERT: 7d84e03a1 fix header plugin phase not called for internal request (fixes CORS), fix bunkernet init_worker bug where ngx.ctx.bw is not available, add CORS_DENY_REQUEST setting and edit values for core/cors tests
REVERT: 838662141 Lint Lua code
REVERT: 36fdec105 core - fix sessions tests
REVERT: ab54b18e0 core - fix reverse scan cache retrieval
REVERT: 9c6ca6a86 cors - various improvements
REVERT: 991f7ff8d Fix tests core reverse scan wasn't using the image
REVERT: 9c77f77fa Fix test core DB
REVERT: 9ee74aef4 Add up back when retrying to up the stack + remove useless print
REVERT: 7bf4c11bc When docker up fails in core tests retry one time
REVERT: 82aadfa38 Update core db tests to add the settings.json file and optimizations
REVERT: 2a78d2c05 ci/cd - perform all core tests even if one failed
REVERT: e3fc55be9 deps - add missing hash for python dep async-timeout
REVERT: 5f668aeca ci/cd - fix syntax error in test core wf
REVERT: e5e336c4f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 9a2e37984 ci/cd core tests and antibot refactoring
REVERT: 2ac77ee49 Fix deps not being synced
REVERT: 394f5fe4b Move back to images in the whitelist tests
REVERT: b06210bdf Remove unused files in tests core
REVERT: e6bb9fb55 Add tests for core plugins
REVERT: 29f020f15 Update python deps
REVERT: 051923b6f fix deprecated external network in compose files, various fixes in the documentation and add ipv6 to doc
REVERT: 2e1296d9a show useful info in BW logs after startup/reload and reduce container images size
REVERT: a686562f1 performance - cache empty rdns results
REVERT: e36c743c7 performance - cache dns responses
REVERT: 75f3d6490 init IPv6 support, add missing healthcheck script in UI and purge local cache on init
REVERT: a258612e4 add global data on settings filter
REVERT: bc3ea0ed3 change select method check
REVERT: ab71c484e add global condition for disabled state
REVERT: 5c415afa1 various fixes - ttl on /bans api, dnsbl undercover bug, greylist, whitelist and wrong path in realip job
REVERT: 5c50f57f1 Revert "regular inp and multiple global=true are enabled"
REVERT: 9ceaaa874 regular inp and multiple global=true are enabled
REVERT: 3dde3ac0a Fix no longer save SERVER_NAME when MULTISITE is set to "no"
REVERT: c01b493c9 Increase compression level of tar files being saved in the database
REVERT: 4f4a8b508 Fix default global values being added to database when MULTISITE is set to "no"
REVERT: 408806718 Add external plugins being updated at the start of the scheduler
REVERT: 402ff16c8 Add "global" key to settings when fetching methods as well
REVERT: dcdb43cf0 Merge pull request #473 from bunkerity/dev
REVERT: ca8c56aaa Remove unused function in UI src.Config
REVERT: 905946463 Fix scheduler restarting for no reason when having an external database
REVERT: 8a308b1a8 Fix database not providing the right SERVER_NAME setting value
REVERT: cf26d7aa2 Fix database saving default values to global_values when multisite was set to "no"
REVERT: 8bb6f63fa Merge pull request #472 from bunkerity/dev
REVERT: 64789276a Update python deps
REVERT: 30194f959 Fix Access-Control-Allow-Credentials not being set to the right value when deactivated
REVERT: 50ee37db0 cors - refactoring
REVERT: b8d89fe79 Fix customcert plugin
REVERT: 63f4e44c6 Fix CORS when sending an OPTIONS request
REVERT: ac2e4dd64 Merge branch 'staging' into dev
REVERT: e14475de4 ci/cd - fix missing version in linux package name
REVERT: 136f68cd3 ci/cd - fix typo in beta wf
REVERT: d83730cf7 ci/cd - fix linux package name in upload/download steps
REVERT: ae042854f Fix blacklist download jobs where ignore urls were not being downloaded
REVERT: 86053d3dc Update RDNS regex in jobs files
REVERT: b2e26fc8f Revert "Revert "Update RDNS regex""
REVERT: 48354fb26 Revert "Update RDNS regex"
REVERT: a544f18e2 Update update-check job to add stars so that the end of line shows
REVERT: c6f304b37 Update RDNS regex
REVERT: 14ca85cdb ci/cd - fix package.sh name in linux build wf
REVERT: dc1cb6a6f ci/cd - fix scp command in linux build wf
REVERT: 73acbe085 ci/cd - fix typo in linux build wf
REVERT: 45c90527c ci/cd - fix linux package generation when arch is ARM
REVERT: f4590749d linux - fix arch in rhel package image
REVERT: 141f5a1d5 ci/cd - fix typo in beta wf (again)
REVERT: 6e82fde8a ci/cd - fix typo in beta wf
REVERT: 00ba46ebf prepare for 1.5.0-beta update
REVERT: 9a1c09c56 Merge branch 'staging' into beta
REVERT: df787c75d linux - add pcre dep to fedora package
REVERT: 93e567bb6 linux - fix fedora deps name and add architecture to fpm config
REVERT: 8b6d788c2 ci/cd - fix bitnami chart values
REVERT: 541b64698 increase drupal delay time for tests, fix tmp dir not created for realip-download job and fix has_*_variable check when multisite is yes
REVERT: 59324526c speedup build process for python deps and fix default env value for autoconf/k8s
REVERT: a58e5c60c deps - upgrade python dependencies
REVERT: 27b1dddb0 linux - pin pip version
REVERT: fd056102d fix centos repo command in rhel dockerfiles and fix delete infras order for staging wf
REVERT: fb0373343 ci/cd - use single quote in linux build wf
REVERT: 43cbc79c7 ci/cd - move ARM_* to secrets in linux build wf
REVERT: 7592e5a84 ci/cd - fix typo in staging.yml
REVERT: 39ace8175 fix load-balancer example and add server_name to cache keys when required
REVERT: 48d7e72e5 Merge branch 'dev' into ui
REVERT: 66921b007 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 819ad60a4 fix hcaptcha antibot and refactor ci/cd for staging
REVERT: 20913808c Add .mypy_cache to .gitignore file
REVERT: a086ff690 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: a286e7bd3 fix wrong container in autoconf/k8s, init work on linux arm and ci/cd refactoring
REVERT: 5a233ff90 Fix Database model types
REVERT: 18b3d7148 Update db model to use SmallIntegers
REVERT: b36cd924f Add `bw_` prefix to database table names
REVERT: 63ce1afcd Handle errors more gently when API requests fails
REVERT: d4934cfee Remove test-ui service in the main docker compose file as it's been extracted
REVERT: 500d58e50 Separate the compose file back
REVERT: 21dc67b68 Update test.sh for ui-tests an the compose file
REVERT: 75d2be7db Update tests-ui to fix them
REVERT: 041b7f71e Update ui-tests to make a valid password
REVERT: 1245b8b01 Update regex in ui + Add regex module to requirements
REVERT: 913e9a2c2 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 97dc6540e ci/cd - fix typo in dev wf
REVERT: b75ba601b Merge branch 'staging' into dev
REVERT: 573fe8fee Change UI admin password check to a regex
REVERT: 51514df57 Remove not needed file in linux scripts
REVERT: 9ff64426b Fix ui tests with the external plugins
REVERT: 74fe9d5c1 Lint jobs py files
REVERT: 97b362bb1 Fix let's encrypt error when deactivated
REVERT: 964d31893 Fix wrong attribute value when checking for external plugins
REVERT: 914686e78 Fix often occurring bug when testing the web UI
REVERT: 58db1352f Revert "Fix often occurring bug when testing UI"
REVERT: 987af951d Fix often occurring bug when testing UI
REVERT: 1c74c5d8d ci/cd - refactoring
REVERT: 1cc9f5773 prepare for v1.5.0-beta fixes
REVERT: ac94e5072 fix double .conf suffix in custom conf, migrate /etc/letsencrypt to /var/cache/letsencrypt, fix bunkernet jobs and lua code and fix reload for jobs
REVERT: 773874154 move /etc/letsencrypt to /var/cache/bunkerweb/letsencrypt (wip)
REVERT: 75ca603b7 WIP - fix bunkernet and missing reload for scheduled jobs
REVERT: 027605452 Fix bunkernet initial message when checking connection + add TODO
REVERT: bddfb58a0 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: c7ab00208 Merge pull request #462 from bunkerity/testmmdb
REVERT: ef551846b ci/cd Update mmdb - Let only the schedule and change branch to push on
REVERT: f41c096ec Merge branch 'testmmdb' of https://github.com/bunkerity/bunkerweb into testmmdb
REVERT: a7b7c2031 ci/cd Update mmdb - Add check for curl commands
REVERT: fb5529566 Monthly mmdb update
REVERT: 0afb250b9 ci/cd mmdb update - Changed branch to push on
REVERT: 019a927b0 ci/cd remove secret required for auto mmdb update
REVERT: 283a63f16 ci/cd try fixing workflow auto download mmdb
REVERT: 42707ad46 ci/cd test mmdb update
REVERT: cd57eb423 ci/cd - fix automatic push of doc
REVERT: 01fbacf0f ci/cd - fix pdf path for draft release + fix missing git fetch before deploying doc
REVERT: d693d065f ci/cd - allow to update release tag, add PDF to release and fix multiline CHANGELOG in release
REVERT: aa2ada0a0 ci/cd - update git user/mail for push doc wf
REVERT: a47d7df40 ci/cd - execute apt install as root for doc to pdf workflow
REVERT: c4093a2d7 ci/cd - increase ARM node storage
REVERT: 01e599493 ci/cd - concurrent builds for ARM + fix version string for RPM packages
REVERT: aaa070165 linux - fix VERSION path in package script
REVERT: 0b93c6e10 ci/cd - add more cores to ARM instance
REVERT: 88db3fa34 ci/cd - fix build rhel var
REVERT: 5c01bd3f7 ci/cd - various fixes for push workflows
REVERT: 604d4c1a0 Merge pull request #459 from bunkerity/dev
REVERT: bed6d742f Decrease the compression level when sending configs to BunkerWeb
REVERT: 57cb6e9c4 Update python deps
REVERT: 0d1580cff Small code refactor of the jobs and the scheduler's function that generates configs
REVERT: 766ca0e9c Merge pull request #458 from bunkerity/dev
REVERT: 0ab07678d Merge pull request #457 from bunkerity/ui
REVERT: 5412e6d24 fix logs checkbox
REVERT: ba7422218 ci/cd - fix push workflows
REVERT: fda2948e0 ci/cd - fix typo in push docker wf
REVERT: 59e5b1d54 ci/cd - fix push workflows
REVERT: 7ca7d7847 Merge branch 'beta' of github.com:bunkerity/bunkerweb into beta
REVERT: 939545644 add missing postgresql-dev build deps for ARM images
REVERT: 0b5746aba ci/cd - add missing inputs for build arm
REVERT: 94dc501c1 ci/cd - remove load image in buildkit for ARM archs because of docker limitation
REVERT: 8ffaa7cf7 ci/cd - force shutdown when deleting ARM node
REVERT: 6e99e7a98 cicd - fix docker buildx arm driver
REVERT: 2eef2b8bb ci/cd - fix variable share for ARM (again)
REVERT: 406c686e4 ci/cd - fix variable share for ARM
REVERT: 6cecc70c3 ci/cd - fix ssh command for ARM builder
REVERT: 2f992baab Lint py files with black
REVERT: 7befd927d Update python deps
REVERT: a4ae0d517 Update cached mmdb files
REVERT: c3d0d7ca7 Add workflow that automatically update cached mmdb files
REVERT: d4ceb7c10 Remove dev comments for ui tests
REVERT: b37c86e62 Fix ui tests problem with the logs page
REVERT: a7b07c959 Fix wrong condition when fetching the logs on Docker
REVERT: 3b237ed3c Fix UI tests
REVERT: a55a0df5d ci/cd - remove useless condition in create ARM workflow
REVERT: ae33ca52e ci/cd - fix wait-on variable
REVERT: 8867eb23b ci/cd - fix wrong json keys from scw api
REVERT: 1b79e291e ci/cd - various fixes for arm build
REVERT: 98ce5041d ci/cd - use fixed sha1 commit for scw action in rm arm workflow
REVERT: 66d7216dc ci/cd - fix typo in create arm workflow
REVERT: 45fa4d1c2 ci/cd - ignore /root/.cargo dir for security checks, use fixed sha1 commit for scw actions and add missing deps for ui/arm
REVERT: 9cd13990e ci/cd - pass ARM ID as secret
REVERT: 266383abb ci/cd - dynamic arm build node
REVERT: 4e0d2fce5 add missing dependencies when prebuilt crypto package is not present
REVERT: 823c09195 ci/cd - add missing var for ARM builds
REVERT: e71dc132e ci/cd - fix typo in container build workflow
REVERT: 0db5f7cf0 ci/cd - fix typo in beta workflow
REVERT: 4bfc5b693 ci/cd - fix wrong cache name in container build workflow
REVERT: 93d0a991a ci/cd - fix typo in push doc workflow
REVERT: 1c178ed75 ci/cd - fix version output for beta/release workflows
REVERT: ab7e1f624 ci/cd - add missing runs-on in beta/release workflows
REVERT: 0f499c9d3 ci/cd - fix typo in push packagecloud workflow
REVERT: d0f6d59f6 road to v1.5.0-beta 🚀
REVERT: 408662869 ci/cd - fix typo in doc-to-pdf
REVERT: 312757594 ci/cd - fix typo in beta/release (again)
REVERT: 11f86ea75 ci/cd - fix typo in beta/release
REVERT: ad1606742 use proper links in docs, automatic doc push and add pdf to releases
REVERT: 08e1d157d Fix ui-tests by removing no longer present checks
REVERT: c8908695b Remove unnecessary prints
REVERT: 641a27f5e ci/cd - remove useless needs for ui branch
REVERT: 468407081 ci/cd - fix typo in staging workflow
REVERT: 6784bd691 ci/cd - fix wrong condition for container-build workflow
REVERT: ef1897de8 ci/cd - add missing needs to tests-ui staging
REVERT: 9815f22d7 ci/cd fix typo in container-build workflow
REVERT: 65c6e48e9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 14a4db8bd use current_bw_version for docs, add automatic tests to ui branch and fix letsencrypt permissions for linux
REVERT: f6b8d23fb Fix ui tests by editing the attributes name to the new ones
REVERT: 58fd04430 ci/cd - fix typo in staging.yml
REVERT: 54a17c775 init work on CI/CD for generic beta releases, remove useless autoconf examples and fix linux postinstall script
REVERT: 4f2c58bd7 temp disable authelia test for k8s and add missing folders for LE on Linux
REVERT: 5e4ce4579 various fixes
REVERT: fa67c5d7b ci/cd - fix missing arg for copytree
REVERT: 04db308c9 ci/cd - edit staging workflow
REVERT: 5d2045803 ci/cd - edit staging workflow
REVERT: e7717ba7f Merge branch 'ui' into dev
REVERT: bbaaad848 docs - last polish
REVERT: 0658230e2 enhance responsive
REVERT: f5c28b27d Merge branch 'ui' into dev
REVERT: 575312336 harmonize all titles dark color
REVERT: 2f336be77 enhance file manager and jobs svg
REVERT: 81a37a377 enhance actions btns
REVERT: c3119f04e docs - plugins
REVERT: ffa91933e docs - add YT demo
REVERT: 5741dce6d Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 7695a839f docs - web UI
REVERT: 5fe0e0bfd Merge pull request #454 from Hado-K3n/patch-7
REVERT: 8c71f7d27 Merge pull request #455 from Hado-K3n/patch-8
REVERT: 124378d7c Merge pull request #456 from Hado-K3n/patch-9
REVERT: c6a184d90 fix ui integrations and fix stream support in db
REVERT: d8b7db167 merge from ui
REVERT: ddd83a808 docs - add stream support info and plugin description to settings page
REVERT: 289b58567 docs - add stream support info on security tuning page
REVERT: 4dda54a11 enhance style
REVERT: 0ca473c69 fix style issue between load and page transition
REVERT: 1145b798f fix filter setting from custom selectors
REVERT: 63e7ccf13 better centering loading logo with text
REVERT: 001a63efc continue custom selectors + fix script + style
REVERT: 4144faa93 fix create service issue + remove stash
REVERT: 72bc9e4bb start creating custom selectors
REVERT: 98de3fc2f docs - quickstart
REVERT: f118f992f merge from ui
REVERT: 5285a2f4a force stash
REVERT: 1d354c9c6 docs - quickstart (wip)
REVERT: 55a7c8fee force stash
REVERT: 64a9fe4db fix checkbox + style issues + script duplicate
REVERT: a90d9e627 ui - fix default value for inputs
REVERT: 7e1efcbc6 Merge branch 'ui' into dev
REVERT: b5f0fe856 docks quickstart wip
REVERT: 01d8c65c9 remove hidden input checkbox + fix script
REVERT: b7f63450e add special method for mode
REVERT: bc47f1fa5 Merge branch 'ui' into dev
REVERT: 7089e8b4d fix checked state
REVERT: d4fd4c473 fix checkbox + template
REVERT: db5789fcb Merge branch 'ui' into dev
REVERT: ab20f83b2 Update k8s.postgres.ui.yml
REVERT: bbea8ba3f Update k8s.mysql.ui.yml
REVERT: 9a2005d1a Update k8s.mariadb.ui.yml
REVERT: 9512de630 docs - quickstart guide (wip)
REVERT: 956a7bd23 Merge pull request #453 from gin-gitaxias/patch-2
REVERT: f8c5543fd Update plugins.md
REVERT: 667bb3003 docs - quickstart guide (wip)
REVERT: 6b76596a8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 78c2e16ea add missing cluster config for ui/k8s and start quickstart guide doc
REVERT: 1e6cfe8b0 fix filter disabled issue + reset on modal open
REVERT: 574ecbd6b Lower the environnement variable for the mode
REVERT: aa3ce13a8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 6f39fce6d docs - integrations
REVERT: 92fc5d981 Remove ascii art showing in UI logs
REVERT: ae7e3ddd9 Fix how the ApiCaller is initialized for UI instances
REVERT: df94bc4af Merge pull request #452 from bunkerity/dev
REVERT: bf29fa2f9 Show how many plugins there are correctly in the home page
REVERT: 509bd21b0 Add log when deleting plugin
REVERT: 1530745a7 Merge pull request #451 from bunkerity/ui
REVERT: a87abf3ce update home dark mode + variable
REVERT: 8a5836dd9 add popup darkmode
REVERT: 3a4a6ee5f new service doesn't force method="default"
REVERT: 1321a76c0 update service submit name for new or edit action
REVERT: 53e145b91 show method involved in disabled setting on hover
REVERT: ceec21faa update web-ui INTERCEPTED_ERROR_CODES
REVERT: 63ba00180 Fix logic when saving a service in the UI
REVERT: 479f18b17 Merge pull request #450 from bunkerity/ui
REVERT: ab43bf84a Make it so the UI and the scheduler no longer run as root in Linux
REVERT: a7849a6e7 Fix mic mac with config files and UI
REVERT: 9009859aa Merge pull request #449 from gin-gitaxias/patch-1
REVERT: 0bf2116c4 docs - concepts
REVERT: 3616a9f20 Update security-tuning.md
REVERT: 435aae7cf docs - index and migrating
REVERT: c0e649d68 fix logs + select custom
REVERT: 1c3bbf1bc stream - add example and fix ssl support
REVERT: 37ebde363 fix logs and plugins dropdown + margin
REVERT: b64e55f75 Add bigger timeout to loading.html
REVERT: da4bb8dce Fix condition in helpers.lua
REVERT: ab509c270 Fix UI with Linux
REVERT: 6916a81c5 bunkerweb is now W3C friendly
REVERT: c7bc493e3 stream - fix various errors
REVERT: bc1dbe18a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: bd577cfb2 country fix (again) and init work on stream
REVERT: a829528c3 Add bwcli to scheduler and fix it for the autoconf
REVERT: 9d829ebca Finish updating bwcli
REVERT: 94b97a6bb Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 780c0c8c5 api - fix errors in calls and use ngx.ctx instead of ngx.var
REVERT: 5fb0be70a Merge pull request #447 from Hado-K3n/patch-6
REVERT: 6843902db Merge pull request #446 from Hado-K3n/patch-5
REVERT: 3419dca98 Update k8s.postgres.ui.yml
REVERT: 38c71cf94 Update k8s.mysql.ui.yml
REVERT: b7c260561 [WIP] Update bwcli
REVERT: 995ff250f Update python deps + add redis for the gen
REVERT: a04490b47 Replace unnecessary import
REVERT: 5112ed46e Merge pull request #445 from Hado-K3n/patch-4
REVERT: 8558785b1 Update k8s.mariadb.ui.yml
REVERT: 95e64d6c8 bw - fix black/grey/whitelist rdns check and country check
REVERT: 8ea94a2e4 Merge pull request #444 from bunkerity/dev
REVERT: 9f1405d69 Remove unnecessary {-raw-} in index.html when loading
REVERT: 9a2f7e9ab Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 93b471444 Add marging to antibot files hcaptcha and recaptcha
REVERT: 93c0cd437 Merge pull request #443 from bunkerity/ui
REVERT: e7d61a67c update antibot and default template
REVERT: 5d05eaeae Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: a77d233ec bw - add zlib dependency
REVERT: 9a69ca135 Merge pull request #442 from bunkerity/ui
REVERT: 823c12823 fix SERVER_NAME + fix delete form + enhance
REVERT: 52806afe7 Merge pull request #441 from bunkerity/dev
REVERT: 2ea726c22 Merge branch 'ui' into dev
REVERT: dffc770a9 fix and enhance
REVERT: 12f8b8197 bw - add missing lua-ffi-zlib dependency, fix syntax error for white/black/greylist, fix error for dnsbl and fix limit request not working in local mode
REVERT: 4871a2104 api - add missing ctx fill
REVERT: bcc5e6bb5 bw - add missing json decode in api and add missing require in country
REVERT: 83428d6cc bw - fix resolvers nil error when doing dns checks
REVERT: 7eefcb8f8 antibot - manage direct access to challenge page
REVERT: a372ffd52 fix invalid session error handling and remove debug log in whitelist
REVERT: e55912b34 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 5f9f1e54f load inline multisite values for white/black/grey list core
REVERT: 3b4882d82 Revert "Remove no longer present CVEs fix because these are already fix in the images"
REVERT: c2e0e5106 limit - use atomic script for redis case
REVERT: 4bc0771d9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: edf7e06e0 various redis fixes and display ready log
REVERT: a93d9a7d9 Remove no longer present CVEs fix because these are already fix in the images
REVERT: e4465d9a1 Fix jobs cache when a database is used
REVERT: c9af9457e Fix wrong condition when sending files
REVERT: 17a3d933b Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: a60b6f3ad bad behavior - fix 500 error and do not pass objects with another lifetime to timers
REVERT: c0e8e93ab Fix documentation mistakes when soft merging 1.4 into dev
REVERT: f1a868c66 Fix when the cache from jobs is saved into DB + sleep 5 seconds when waiting for the database for the UI
REVERT: d32102376 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 510938fc2 antibot - fix bugs related to session
REVERT: ed9605c10 Update python script that generates settings.md
REVERT: 3dabd42df Update python deps
REVERT: 834fbaf01 remove antibot back btn + update raw
REVERT: 95c231515 antibot - various fixes, not fully fixed yet
REVERT: 56028b087 update antibot / loading / default page
REVERT: 502d4fcc0 Add back the fact that we don't download the mmdb country if we don't blacklist or whitelist a country
REVERT: ccd56d3b6 change antibot and misc template style
REVERT: c949c0232 Update the security tuning's blacklist category according to the settings
REVERT: 671543e6e Add more ignored variables for missing setting name warning
REVERT: dbd5739ab Fix wrong setting names under `Custom certificate` category
REVERT: 5f26ebc69 Fix php-cookie-flags example
REVERT: bba26b548 Reorder core plugins to stop having the warning at startup
REVERT: db166c434 Add small fixes and lint to the error.html page
REVERT: 08f3d93ab Update jobs will now also check and save the cache in the db
REVERT: 63b1fb947 Fix CVE CVE-2023-1255
REVERT: d5b11b8bb Merge pull request #440 from Hado-K3n/patch-3
REVERT: 92744c091 Merge pull request #439 from Hado-K3n/patch-2
REVERT: d46337f60 Merge pull request #438 from Hado-K3n/patch-1
REVERT: 9b52a5c3c clusterstore - various bug fixes
REVERT: 3f9d606e1 Update k8s.postgres.ui.yml
REVERT: 7e2f53c8c Update k8s.msql.ui.yml
REVERT: 1f5d8bfab Update k8s.mariadb.ui.yml
REVERT: 7a7d83a75 various fixes for redis/clusterstore - still WIP
REVERT: a5e08e1c6 refactor of session management
REVERT: 0fdb108fe core - do not execute init() if BW is in loading state
REVERT: 00b50c162 various fixes for core plugins
REVERT: 4ba5d6659 use ngx.ctx to store common values
REVERT: 860cc1a92 Merge branch 'dev' into ui
REVERT: 881d3a00d fix git issue on windows
REVERT: 76a2ff656 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 28ef546a9 refactor - start to use ngx.ctx for per-request data
REVERT: ed495b99f Add CODE_OF_CONDUCT.md
REVERT: 0bd3e273b Update compression_level of sent tarfiles to 5 instead of 9
REVERT: 348ab7a1e Add feature that allow the copy of code blocks in markdown + Update copyright
REVERT: cf2938bf2 Update web-ui docs according to the next major version
REVERT: 79a46e2cf Update the logic behind the check for linux os
REVERT: 9a325c7a9 Add new check for integrations in BunkerNet job
REVERT: 707256076 Add now the scheduler will pass his own env as well to jobs
REVERT: 9578ace02 Remove not used INTEGRATION file in BunkerWeb container
REVERT: 8c919c676 Update links in the home page of the web UI
REVERT: ad64ce22e Remove no longer needed packages that were fixing old CVEs
REVERT: 29cb6fe16 fix header phase and fix error template
REVERT: d3d18e15a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: a83254bf2 fix wrong log in access
REVERT: 859343e18 Merge pull request #437 from bunkerity/dev
REVERT: 50829293c Merge branch 'ui' into dev
REVERT: 8e22b1f21 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 9849ce10c fix wrong error check on phases and add missing ttl for *list cache items
REVERT: 3b5c083fc Soft merge branch "1.4" into "dev" + changing versions
REVERT: 4d95e32f1 update error page
REVERT: 1da4b78f0 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 915b51c3b fix error pages for default http server
REVERT: 535f1a055 Merge pull request #436 from bunkerity/staging
REVERT: 0afe038aa WIP Ui
REVERT: 3b6c3815e fix default-server-http.conf
REVERT: b5fa473ae Merge branch 'refactor' into staging
REVERT: 2fddbd862 refactor - disable asn checks for non global IPs, use resty.template with antibot and various fixes
REVERT: 8d63e3974 refactor - fix various errors and add missing dependencies
REVERT: 23725d483 Update prod shields.io link in README.md
REVERT: 303f380c7 Update demo.gif file
REVERT: 3c375039e Optimization on the download of mmdb files
REVERT: a7773dae2 Update intro-overview.svg
REVERT: 5eb884fe9 Fix bug when showing cache files for services in the UI
REVERT: 3fac889ff Remove no longer used modsec rules for the UI
REVERT: c3106e70e Update README.md and edit the demo GIF + edit the .prettierignore file
REVERT: 928ed2d6c refactoring and road to nginx 1.24.0
REVERT: 34ab94640 Update python image in Dockerfiles + Add gevent to requirements for the UI
REVERT: aa96c8503 update css
REVERT: 649d29b05 change news base url
REVERT: 217d1aa50 enhance style + menu script
REVERT: e6ff51e20 Refactoring and Linting of py files and json
REVERT: 666b7a1ba refactor - blacklist, errors, greylist, letsencrypt and redis
REVERT: 496edb83a Adding thel documentation
REVERT: ee83cea7f Add ascii art showing randomly when starting
REVERT: 6d1914d62 Update python deps
REVERT: 648f15e42 Add new core plugin update-check
REVERT: 2075a5d4c refactor - badbehavior, blacklist, bunkernet, cache, cors, country and dnsbl
REVERT: 5dd52186b Fully adding vagrant in the doc
REVERT: 3a03f07f1 Changing vagrant integration
REVERT: 64997bae8 Adding vagrant integration
REVERT: 03ec271e2 refactor - improve clusterstore interface and automatically retrieve variables for plugins
REVERT: 29c57915c antibot inherit from plugin
REVERT: 840c29568 continue work on refactoring
REVERT: 1ec83f256 renamed session to sessions
REVERT: 8c2908157 save work
REVERT: afc0ac198 init work on refactoring
REVERT: 4cd3fc644 Merge pull request #434 from syrk4web/staging
REVERT: bfc872be2 change flash logic when login
REVERT: 049e9c1ea Update python deps
REVERT: bf9b94ebf Avoid Autoconf from running in root
REVERT: 92e698458 magento - fix docker example (again)
REVERT: a771bdb18 magento - fix docker example
REVERT: 7c21b3da2 deps - update lua-resty-session to v4.0.3
REVERT: d4fae4b57 session - add missing settings
REVERT: a85044220 init work on redis session
REVERT: 986f506e7 add missing API_WHITELIST_IP in mattermost and moodle examples
REVERT: 41e8f5c93 fix wrong init of counter in badbehavior and fix nextcloud/docker example
REVERT: 8e7205062 ci/cd - reduce dynamic subdomains for k8s tests because of annotation size limit of 63 chars
REVERT: 1bc42204d ci/cd - use dynamic random subdomains to bypass LE rate limit
REVERT: a1e44f6e4 Merge pull request #431 from gin-gitaxias/staging
REVERT: 7ccd3ef92 fix moodle/swarm example and disable reverse-proxy-websocket test
REVERT: 8b54073a7 fix missing backslashes in autoconf custom configs and add missing full reload after custom configs update
REVERT: 622f2eb2a autoconf - check if service exists before adding config
REVERT: 5d14813be fix typos after basic testing
REVERT: 9f7060564 autoconf - add missing import and fix double lock release
REVERT: 937cd10ee refactoring and various improvements
REVERT: 6af3b985a fix deadlock in autoconf/swarm and fix missing favicon in default and loading pages
REVERT: f6ed21b3b autoconf - fix global custom configs not supported in k8s/swarm mode
REVERT: eee03c4ae autoconf - fix variable typo in k8s watch
REVERT: ecf4e77b3 autoconf - fix deadlock in watch loop
REVERT: 0b71819d2 watch services for autoconf/k8s and support real IP in default http server
REVERT: d3d0136bf various redis fixes and improvements
REVERT: e80965ca9 lua - fix wrong variable name in access
REVERT: 220374db4 ci/cd - fix syntax error in jobs
REVERT: 9b8606d40 fix redis hostname for k8s files and only append tasks with a desired state of running for autoconf/swarm
REVERT: c843be074 reverse proxy - allow all chars for URL settings
REVERT: 6a65104e7 fix return value of clusterstore.connect and disable auth basic for LE challenges
REVERT: b429201ec add missing LUA import for clusterstore and fix prestashop docker example
REVERT: a9ce32c26 added a more precise scan response and modified .json like asked
REVERT: f4442b642 ci/cd - fix syntax error in k8s test class
REVERT: 1c3c0d63b ci/cd - fix missing k8s create infra job
REVERT: e8c6d04aa ci/cd - various fixes for k8s tests
REVERT: 1caa9a1e7 adding reverse-scan
REVERT: 5d41a5b98 Merge pull request #1 from gin-gitaxias/reverse-scan
REVERT: 77fb8c420 Add files via upload
REVERT: 1bb79b155 linux - add geoip deps to rhel rpm
REVERT: cf8644602 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: ea1394b04 ci/cd - add linux/rhel tests, fix docker/behind-reverse-proxy, fix missing stream module for linux/fedora and remove placement constraints for swarm
REVERT: 87bd26da0 Add threatmap to README
REVERT: b3eb64745 ci/cd - temp disable autoconf tests and add missing packages for linux/centos
REVERT: 202f21aab fix syntax error in ApiCaller
REVERT: 55a36f719 fix docker/joomla, fix autoconf/nextcloud and fix API calls for swarm tasks
REVERT: 1c3f094cd ci/cd - fix wrong yaml edit for swarm and append LE settings for k8s
REVERT: f07c0e66a ci/cd - various fixes
REVERT: e8ee460ef fix CVE-2023-0464 and CVE-2023-0465
REVERT: dd2c8cbcd Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: 2d11a1c72 fix nextcloud modsec rule id, fix k8s pvc definition and remove useless logs from linux/start.sh
REVERT: 4f334a577 Add sleep between BunkerNet registering and ping to the API to avoid being rate limited
REVERT: 283828e8f Fix Now support WebDAV methods in the ALLOWED_METHODS setting's regex
REVERT: e50c92250 various fixes
REVERT: b8b50b165 Remove check for messages after creating the service - tests-UI
REVERT: e88406b5d Fix ui tests with the new UI
REVERT: 922b32b2e Merge pull request #429 from syrk4web/staging
REVERT: 671db37f7 fix autoconf/cors, fix docker/wordpress, fix wrong image name for k8s/scheduler and upgrade tests instances for swarm/k8s
REVERT: be71b0781 format logs instance to avoid error
REVERT: 9e1876fea logs fix + checkbox fix
REVERT: 4d245f9fe change cache/download to jobs/download
REVERT: 6d16a766f fix service delete + change style
REVERT: 5e598e90c fix bw-data volume not reused between docker tests, fix wrong bw-data volume path for autoconf tests, add let's encrypt to autoconf tests and fix temp env not generated for linux
REVERT: dc8b7dbe7 fix form input
REVERT: bf22faddc remove php-cookie-flags from tests, use HTTP(S)_PORT for temp nginx on linux and fix wrong volume path for autoconf tests
REVERT: 6c6845a79 enhance some responsive + change api
REVERT: 461789aed ci/cd - fix BW CVEs and fix Linux restart
REVERT: 318228e59 change and fix service logic
REVERT: fa7c7ac91 ci/cd - add www volumes for autoconf
REVERT: f88eced33 Handle services settings sent to the UI better
REVERT: 357dc3e3a Merge pull request #428 from syrk4web/staging
REVERT: 283306a07 Remove CVEs fix, it's no longer needed for now
REVERT: 276a96c55 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: 19870f154 various fixes for linux and get ui tests exit code from container
REVERT: 2485a47b2 Update python deps
REVERT: bd88f9743 fix id rename error
REVERT: 82d8180d8 Merge branch 'staging' of https://github.com/syrk4web/bunkerweb into staging
REVERT: 41f43c46d fix multiple
REVERT: 0f632803f Merge branch 'staging' of https://github.com/syrk4web/bunkerweb into staging
REVERT: 53f480a66 enhance multiple logic + fix conflict
REVERT: 1cf4a5665 disable healthy checks for docker-poryx and dummy app in ui tests, add --no-reload-linux flag to generator and fix missing self arg in autoconf
REVERT: 041142a4f add healthchecks to ui and autoconf docker images
REVERT: 4f9748cc2 earlier init autoconf in DB, healthcheck for scheduler and fix syntax error in linux/start.sh
REVERT: 54813ecd4 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: d97b5e104 various fixes
REVERT: 8031c5060 Start handling disabled checkboxes + multiples
REVERT: 58ab870b2 increase cors/k8s/swarms timeout and fix tests/ui container names
REVERT: cceda705b update flash count on remove
REVERT: e91f3dc22 Add a log when database is ready in UI + Small refactor of the Configurator
REVERT: 1e9a55c24 Add small tweaks to the UI and scheduler Dockerfiles
REVERT: 7dc26dafa Fix disabled checkboxes no longer always have the value no with the UI
REVERT: 7dc25b3a5 fix redmine/docker example, remove double AUTOCONF_MODE in integrations, remove useless backslash in start.sh/linux, rename container for ui/tests
REVERT: 55d24a8d1 Change mmdb-country job to download the file only if needed
REVERT: 9e009f7be Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: 73b640bd3 fix cors/docker example, add missing AUTOCONF_MODE=yes to integrations YMLs, proper save_config for Linux and fix image name for UI tests
REVERT: 87bccaad6 Add `AUTOCONF_MODE` setting to scheduler in integrations examples
REVERT: d331131c0 increase timeout for php-multisite, add API_LISTEN_IP setting, edit default variables.env for Linux and add more logs for tests
REVERT: 578a1a8c8 Add more precise logs in the jobs plugins
REVERT: cb808c0ad Fix bunkernet-ip.list file not being created in case of an error (same as 1.4)
REVERT: c8d39ba6b Fix scheduler no longer running as root + Fix permission errors with downloaded plugins
REVERT: 4a67a5f56 Merge pull request #426 from syrk4web/staging
REVERT: 4dea680ac enhance style + some fix
REVERT: d81088272 Change the category if the user needs to log in in the UI
REVERT: e003b751d Fix when saving plugins with pages
REVERT: b829e4edf Fix false positive error with plugin page in web UI
REVERT: fc3ef3346 Add UI logs into console
REVERT: ce85bc6b8 Fix openssl no longer prints progression in the console
REVERT: 2e144bf46 Merge pull request #424 from syrk4web/staging
REVERT: defb2c333 Change the way the error page is rendered
REVERT: 2ae37ce8d Fix regex for ANTIBOT_HCAPTCHA_SITEKEY setting
REVERT: f335364fc Lint antibot.lua
REVERT: 16842fef1 Fix errors with missing % symbol + fix errors because of the symbol
REVERT: 5f5a5a890 Fix css in antibot html files
REVERT: ccde5c74f fix real ip jobs
REVERT: d3402ff3f change loading, error and test files
REVERT: a02218bc8 end examples refactoring
REVERT: 5845446b9 Revert "Fix errors regex, authorize same path for multiple errors"
REVERT: be0df4160 Fix errors regex, authorize same path for multiple errors
REVERT: 89812362a continue examples refactoring
REVERT: 5d214497b Fix don't try to add an instance when saving the configuration with the UI
REVERT: 808b7b220 Update jobs connect to the database only when needed
REVERT: aa0eff749 Fix regex in redis plugin that was breaking the UI + fix ui.conf missing comma + remove unused variables in templates
REVERT: 1ac434a5b Update python deps
REVERT: 9c22f1e97 Refactor the py files
REVERT: cfe5c6063 examples refactoring
REVERT: e37e6c346 Fix mixup of swarm and kubernetes when reading env variables + refactoring
REVERT: 0356250d9 Fix problem with the bunkerweb container and plugins
REVERT: 548d157fe Fix check if the Database is on read-only before trying to write
REVERT: 7c5aa4897 Update version string size to support new format
REVERT: 61b9517a8 Fix error when multiple jobs are trying to write in db at the same time
REVERT: 8c67d08ae Lint code
REVERT: 966f57cea init work on examples refactoring
REVERT: 0210ddd88 Add realip settings values to the initial BunkerWeb settings
REVERT: 6f29756dd ci/cd - pull only interesting images for UI tests
REVERT: 2b1dbb1d4 fix default cert path again and ignore pull errors for UI tests
REVERT: 74a11c2ed fix wrong cert/key path for default server
REVERT: b3769b6e3 fix missing then in blacklist.lua, disable site search in redis.init(), remove counter from reverse-proxy/stream config and fix ui tests compose pull
REVERT: c7d8b7dc1 update resty core and http lua to support latest version of stream lua and various fixes related to ci/cd
REVERT: a62ef9f54 add missing init-stream-lua.conf and various fixes for ci/cd
REVERT: 65611020d fix duplicate datastore http/stream, fix missing /var/www/html for linux and various fixes in tests
REVERT: b28668d68 ci/cd - revert back to old condition for pulling images
REVERT: 706305917 ci/cd - fix wrong autoconf local image name, add missing secrets for tests-ui, fix wrong IMAGE_TAG for tests-k8s and try to fix pcre issue on linux
REVERT: 2d440d26e ci/cd - add missing runs-on for reusable tests-ui
REVERT: 93945f391 ci/cd - add ui tests
REVERT: 5e31b6c4a fix CVE-2022-1304 for autoconf, add missing load_module for ngx_stream_lua_module.so and fix missing -lpcre in configure step
REVERT: 01fab4162 ci/cd - fix CVE-2022-1304 and wrong TEST_DOMAINS
REVERT: aa614b75a ci/cd - replace Test.py with latest one, fix yaml paths, print logs when k8s stack is not healthy and fix wrong linux docker image name
REVERT: 88a295517 ci/cd - fix log() call
REVERT: b95d1bc6d ci/cd - add missing log() and fix TYPE for linux tests
REVERT: 2604d9a56 ci/cd - trying a hack to support dynamic runs-on
REVERT: ed4d94529 ci/cd - trying to fix runs-on problem
REVERT: 53410e831 ci/cd - remove steps
REVERT: 609210021 ci/cd - inherit secrets for tests workflow
REVERT: a168f2bce ci/cd - fix rhel build and runs-on for tests
REVERT: 8bf211bc5 ci/cd - fix linux package generation (again)
REVERT: 9250faa52 ci/cd - fix linux package generation
REVERT: 139eaa2dd ci/cd - add missing scripts
REVERT: 7149a34cc ci/cd - add empty .trivyignore and rename redhat to rhel
REVERT: 5c5dbcfc7 ci/cd - fix type in push-packagecloud workflow
REVERT: e826c619f ci/cd - fix wrong quotes in delete-infra workflow
REVERT: b24cbf73d ci/cd - fix wrong quotes in tests workflow
REVERT: 99e27c430 ci/cd - add missing input in tests workflow
REVERT: ee0e608de ci/cd - fix negative conditions
REVERT: 10f9658f5 ci/cd - fix wrong jobs name in needs
REVERT: 27bac0382 ci/cd - trying to fix dynamic runs-on
REVERT: 97627cf83 ci/cd - pass runs-on to reusable workflows
REVERT: 8969b1e72 ci/cd - remove version from reusable workflows
REVERT: 8ca292fb3 ci/cd - change reusable workflow paths
REVERT: 8e73eb87c ci/cd - fix syntax errors
REVERT: 46e3078dd ci/cd - crash test incoming
REVERT: 95c5e2e47 ci/cd - move dynamic runs-on from reusable to staging workflow
REVERT: 131857a9b ci/cd - fix wrong indent in staging/delete-infra-*
REVERT: fc1cab1af ci/cd - remove subfolder and continue work on staging
REVERT: 25729fda7 ci/cd - init work
REVERT: bb2d868fa Refactor tests
REVERT: 5e3dadbfe Refactor ui
REVERT: 7fe168892 Refactor scheduler
REVERT: 36b5c372e Refactor Instance and remove unused method
REVERT: 596258559 Accept incoming changes for misc jobs
REVERT: c5a10aaa3 merge default-server-cert job
REVERT: 06acae405 rename *CUSTOM_HTTPS* to *CUSTOM_SSL* and continue work on stream support
REVERT: 6bf59b59a Refactor the plugins jobs
REVERT: 7a8a75901 Fix multiple CVEs (see comment) (finally)
REVERT: 10ec01e7b Fix wrong env var name in realip plugin
REVERT: 947ecf81f stream - add is_stream variable to check if we are in stream or http mode
REVERT: 4f4c8ebf0 init work on stream support
REVERT: 79036e975 add ngx_devel_kit and lua-resty-env deps, support set_by_lua hook for plugins and init work on whitelisting support with modsecurity
REVERT: c2402b118 fix duplicate root error when bw is starting, add modesec rule to core ui and init work on k8s/swarm integration files
REVERT: dbd052e9a Remove unnecessary import and use parent list of supported custom conf instead
REVERT: fb917960b Revert changes on the custom conf regex for the autoconf
REVERT: 26de0a233 Lint files
REVERT: 0faa34ac7 Add a regex to the setting REDIS_HOST
REVERT: 1d9459202 misc - add missing page.conf
REVERT: 1b113236a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 29b373148 misc - default pages for default server
REVERT: 6cb714be0 Start adding integrations examples
REVERT: 99b85ec8a Fix Apicaller error with swarm
REVERT: 37114ee2f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 902fe6ad0 bw - init work on redis
REVERT: 7bf034fc9 Fix being able to delete autoconf services from UI (shouldn't be)
REVERT: 916caf2d6 Merge (soft) 1.4 branch into dev branch
REVERT: f8e31f287 Update mattermost to use a static image
REVERT: 0f35c05ee Ignore multiple CVEs due to missing deps in python:3.11-alpine
REVERT: 846e26e41 Fix multiple CVEs (again)
REVERT: ebc7fbbce Fix multiple CVEs (see comment)
REVERT: f4081ebd3 Handle more errors with Bunkernet job
REVERT: 3b01b5144 Upgrade the way the jobs run_once are executed
REVERT: 8fa94d6a5 Edit DockerController regex to handle more custom confs and fix modsec conf mixing
REVERT: c92d4224f Update python deps + add cryptography for autoconf and MySQL
REVERT: 579975899 Fix checkbox not being sent when unchecked + double settings tab in UI
REVERT: 935805721 Fix CVE CVE-2023-22490 and CVE-2023-23946
REVERT: c671ccf7a Add unauthorized_handler to UI
REVERT: 5ac64758e Merge pull request #417 from syrk4web/dev
REVERT: fdd0da35d Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 34d12cd55 Fix file manager always use the database now + create log file for UI if not exists
REVERT: 47ccd9f04 Log events back in the UI
REVERT: 39b0f3f19 fix + show one mult group
REVERT: 7828c0225 add checkbox fallback + DL script
REVERT: e425eef9a Fix weird shinanigans when saving services config
REVERT: b75bc0344 Adjusting upgrade on file variables.env
REVERT: 79dabf763 Change the way bunkernet check on which instance type it is
REVERT: 3f462fb3b Optimize logger
REVERT: 84f3a894f Fix cache files not showing on UI
REVERT: 93933bde7 Fix custom conf MODSEC CRS being interpreted as MODSEC only
REVERT: c22bccc76 Correcting nginx version for debian installation
REVERT: 8bedc9ce6 Correcting doc
REVERT: 3a60b3463 Modifying doc for packagecloud problem
REVERT: 9efa21709 Correcting fedora packagecloud problem
REVERT: e3410058f Correcting Ubuntu/Debian
REVERT: 60ac00f5f fix inp value
REVERT: 6b13fbb84 change svg
REVERT: c89205016 Adding Rhel integration
REVERT: cb77a7010 change logs datepicker
REVERT: 8b0d8a9d3 remove log + fix service tab
REVERT: facb597ee fix float buttons
REVERT: 89930f1a3 Remove encoding from Database engine args
REVERT: 6122d59d8 Update python deps
REVERT: d3a02be59 Rhel cannot be supported yet
REVERT: a51aa27e4 Add some checks and solutions to rare syntax error
REVERT: ae8e65057 Fedora upgrade working Correcting backup during upgrade Database backuped TroubleShooting some errors with OS Centos working
REVERT: 77f41a059 Backuping old confs working
REVERT: 8fcba30ab Upgrade Debian/Ubuntu working
REVERT: 2e9a0c79e fix select hover style
REVERT: 64961e395 Remove unused imports
REVERT: b662d8453 Update python deps and remove oracledb
REVERT: e9d981a56 Fix checkbox being disabled every time
REVERT: 39418790a fix popover content
REVERT: 3d96fdb34 update dashboard
REVERT: 580f33e56 new file el is hidden on nav
REVERT: 4f6244e74 Lint code
REVERT: 1f2076756 Update Python deps
REVERT: dcf9e301e Fix UI not exiting correctly with gunicorn
REVERT: f1a28b01b Merge pull request #408 from syrk4web/dev
REVERT: 5739144e3 Fix bwcli /bans command
REVERT: df7bbb960 Update VERSION to 1.5.0
REVERT: dd0f56bb0 Add password type for settings
REVERT: d83d3aa3d Fedora working Modifying centos systemd Adding %postun to rpm Modifying postun deb Centos working
REVERT: b85e6ee6b Updating to Fedora 37
REVERT: ca0d88fcc Upgrading script: Ubuntu & Debian working
REVERT: 835f85d5d enhance input field style
REVERT: c4b5ddb95 Add setting to intercept specifics error codes
REVERT: 86c81a621 Merge pull request #407 from syrk4web/dev
REVERT: e6cb5b0b0 Made the UI independent + update job download plugins
REVERT: 0ce5f216d handle password inp
REVERT: 44ce5381c Fix CVEs
REVERT: 12b4cfa22 Merge pull request #406 from syrk4web/dev
REVERT: d7ee3ad66 fix file manager dropdown
REVERT: efbcfd0e2 Beginning of automation testing for linux packages
REVERT: 50b83790a Merge pull request #405 from syrk4web/dev
REVERT: bf1d19f33 remove prefix multiple input
REVERT: 4d49f2f4b Improving and correcting problems on packages
REVERT: f5d87849a Fix errors in the UI when a service have multiple domains
REVERT: d6d1dd1ce Merge pull request #403 from syrk4web/dev
REVERT: 0f5a73430 add condition for services
REVERT: a5256dd80 Fix IPv4/Ipv6 CIDR regex
REVERT: 591a20cd8 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: c56fccbf2 Adjustements to upgrade
REVERT: a3a5c1c74 Add ui tests requirements to the updated python deps
REVERT: b1c99e408 Add tests for the UI
REVERT: 65f2bf09b Remove the idea to store logs inside the database
REVERT: 7beb400b4 Fix stop gathering all the logs every time with the auto update
REVERT: ab163ce13 Fix services settings saves and plugins deletion
REVERT: 6932f3ded Add a new script to update python deps and update python deps
REVERT: d14372075 Fix tar error when sending /etc/nginx to BW
REVERT: 9edf789ab Update python deps
REVERT: 4b3b9b326 Merge pull request #397 from syrk4web/dev
REVERT: 557db479c refactorise logs script
REVERT: 13f1dadf5 Merge pull request #396 from syrk4web/dev
REVERT: adf96cadc remove useless files
REVERT: d2a634e7f plugins + global_config fix
REVERT: 1aaac2dcf Add regex for settings.json
REVERT: 871807b80 Add small fixes and tweaks
REVERT: 4c5172eda Correction of problems
REVERT: 331d58324 Fixing details
REVERT: e9c1b0cf8 Adjusting some details
REVERT: c220e5997 Linux UI fix
REVERT: 13fbbfb67 Update job database while locking the threads
REVERT: ea4ceae7b Fix isPage logic in menu (UI)
REVERT: 8ee0ec88f Remove test files in UI
REVERT: d81c52654 Lint ui files and change .prettierignore file
REVERT: 5cc80d2ba Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: a6295248c Merge pull request #394 from syrk4web/dev
REVERT: 38b59954a Lint yml files
REVERT: 146338de6 Refactor every .py file
REVERT: fcd8d8746 open another tab for doc
REVERT: 051192791 change style
REVERT: 9c80cdb32 add plugin page logic to menu
REVERT: 7689dac76 Filter CVEs fixes in Dockerfiles
REVERT: 0c8dfaaab Update bw and autoconf Dockerfiles for let's encrypt
REVERT: c5d3e77c1 Fix letsencrypt permission error and optimize the ownership commands in scheduler
REVERT: 8304116fd Send more variables to the home page front
REVERT: 4379e21ea Show dirs of every services even if they don't have a custom config
REVERT: 148d9d2d4 Remove user override in the job scheduler when executing jobs
REVERT: c6498eda7 Add new php-cookie-flags example
REVERT: f97e056ff Update jobs
REVERT: 13fe4b6ee Edit core plugins regex + make COOKIE_FLAGS multiple + edit DB model accordingly
REVERT: 2b2eadf44 Merge pull request #392 from syrk4web/dev
REVERT: 342fe956f change data creating new service
REVERT: bb7ca889c enhance darkmode + fix + factorisation
REVERT: cdc3cfc81 add toggle multiples + style
REVERT: 191c88238 Merge pull request #388 from syrk4web/dev
REVERT: dbe49bb8f Update intro image
REVERT: 7bdc46057 Change how the edit works in the config (UI)
REVERT: 364ef13b5 Fix error by calling a method on the wrong variable
REVERT: 1142ace55 Fix rare error with the jobs return code
REVERT: 477e87a2f news script + multiples groups
REVERT: a04f983a0 Merge pull request #385 from syrk4web/dev
REVERT: e5574fbdc change flash messages style
REVERT: b1ca47253 Small tweaks and handle services variables better
REVERT: 98bda4d1e Remove unused line in Templator
REVERT: 0b1be727f Optimized the storage in the Database
REVERT: 47526dc8a Merge pull request #384 from syrk4web/dev
REVERT: 00d3073b0 get custom method and check disabled state
REVERT: 02d10f619 Fix datepicker.js not being found because of the caps
REVERT: da634af4a Accelerate send_files method
REVERT: be0ee60cd handle stop signals with the web-ui
REVERT: 064f9eef9 Remove lines that will never be use in save_config
REVERT: ec15a4e88 Handle stop signals from Docker in the scheduler
REVERT: c49f50da2 Move BunkerWeb entrypoint to the correct dir
REVERT: 48bbb5e39 Merge pull request #382 from syrk4web/dev
REVERT: b944de9e8 change service multiple script
REVERT: 07ab3deb0 Remove unused lines in selfsigned job
REVERT: a4e863f09 Update authentik and migrate the example to the 1.5
REVERT: eeb810546 Migrate authelia example to the 1.5
REVERT: e2b2505d8 Fix saving config for multiple settings
REVERT: a0c2db7a0 Fix how the config is get from the database
REVERT: 4595295bd fix tab focus style + dark mode style
REVERT: 0bd6d5655 add flash script to login + enhance style
REVERT: 6f5aab11d fix footer padding
REVERT: 37380b977 fix get multiple settings only
REVERT: 3f6432f4b Merge pull request #381 from TheophileDiot/dev
REVERT: ff84656cd Update examples + add static versions
REVERT: 0e29d9f1f enhance and fix
REVERT: c195ffc86 Fix autoconf not working properly with the shared volume
REVERT: 291d64e29 Update community example + linting
REVERT: 4346322f7 fix services settings on modal open
REVERT: f2daf7368 Merge pull request #380 from TheophileDiot/dev
REVERT: ba9c16a5d Merge branch 'dev' into dev
REVERT: 0db1550f2 Changed the way jobs' cache files are downloaded
REVERT: fa54ebd49 Made a few tweaks + change the plugins for the services modals
REVERT: 0290f509e add plugin_name (change values)
REVERT: 77931b623 add plugin_name
REVERT: 6560ca086 test
REVERT: 0d0f1aa95 Merge pull request #378 from TheophileDiot/dev
REVERT: 03e98985e Migrate more examples and lint
REVERT: 016a8cd6d changes
REVERT: 5263be27d Change the way jobs are downloaded + folder created in configs
REVERT: 7813b51db Merge pull request #377 from TheophileDiot/dev
REVERT: c4bd535ac Add autogen back for docker and the autoconf
REVERT: 243c4ca78 Merge pull request #376 from TheophileDiot/dev
REVERT: e9687a5b1 Remove unnecessary comments
REVERT: 8537eea89 Merge pull request #375 from TheophileDiot/dev
REVERT: 3c9574dae Linux: Updating nginx to 1.22
REVERT: 9f84e02d8 refactoring services modal logic
REVERT: b105896b2 add rename form
REVERT: ff83b342d fix issues
REVERT: 8e31672ac Merge pull request #374 from TheophileDiot/dev
REVERT: b3d80d7a6 Generate requirements with python3.9 + use new resolver
REVERT: 6bbbe70ee Merge pull request #373 from TheophileDiot/dev
REVERT: e33bad4b9 Fix comments + updated passbolt to support the 1.5
REVERT: 37f21c5d4 Temporarily comment the post fetching
REVERT: 343d9d09e Show plugin pages even if there are none
REVERT: 0a4f0eb57 Fix error with jobs wrapper
REVERT: 1d4998356 Fix darkmode + Add new variables to pass to the front
REVERT: 547021e7b Fix job fetching for never ran jobs
REVERT: 0954e82f4 Fixes some bugs in the UI related to the plugins
REVERT: 3c5f6002d filter script + manage files + fix css + enhance
REVERT: e988aacf3 Merge pull request #371 from TheophileDiot/dev
REVERT: cce181a29 Update customcert job
REVERT: 9ba06b64d Update README
REVERT: 7f2eadacc Update python version for the scheduler and requirements
REVERT: 8d6c3d0b8 Fix db get_config
REVERT: cc748a048 enhance responsive + add loader
REVERT: 3bafe137d refactorisation
REVERT: e9dfb59f3 handle settings type multiple (fetch, add, remove) on services
REVERT: 8e5dda520 Changed the way the config is get from db
REVERT: 368122181 start multiple add and delete logic
REVERT: fee59a51e separate multiple from others inputs
REVERT: 50ba22914 upload plugins + jobs template + global enhance
REVERT: 94b0e6a0d Changes on the flashed messages
REVERT: 2e0a733cd Merge pull request #370 from TheophileDiot/dev
REVERT: 103e4a0ae Update modsec CRS to v3.3.4
REVERT: f0f9d7dcf Merge pull request #369 from TheophileDiot/dev
REVERT: 4dabe6dae Advancements in the examples migration to 1.5
REVERT: 115bfbdc1 Merge pull request #368 from TheophileDiot/dev
REVERT: 81ad9e9ac Update examples and add docker-proxy
REVERT: 82ab6c7c4 Revert "Remove unsafe deps in the requirements and install setuptools manually"
REVERT: b578823a1 Remove unsafe deps in the requirements and install setuptools manually
REVERT: 7fb61b5ef No longer dump the jobs to the front
REVERT: 37ece3de1 Merge pull request #367 from TheophileDiot/dev
REVERT: 719d779e0 Start updating the examples to the 1.5
REVERT: 2889b2638 Merge pull request #366 from TheophileDiot/dev
REVERT: 3c3bb7f20 Fix the way we fetch the config from the database (with suffixes)
REVERT: f0d0dac91 Add the variables back instead of the "_" so it doesn't create an error
REVERT: 62ab9944c Fix scheduler errors with sqlite in autoconf
REVERT: 739190051 Make the bunkernet not run in a thread to avoid errors
REVERT: 840ef8cf8 Fix typo in selfsigned job
REVERT: 5a95e6703 Edit the way the UI updates the config
REVERT: 34b5aba1c Merge pull request #364 from TheophileDiot/dev
REVERT: b7f60dbdc Update deps and requirements
REVERT: a0634b573 Merge pull request #363 from TheophileDiot/dev
REVERT: c0efdf9c0 Replace /usr/sbin/nginx with nginx
REVERT: db35e575e Rename variables so they make more sens
REVERT: b22cc44d8 Change the way jobs are sent from the database
REVERT: 4e96e57e0 Make certbot compatible with 1.5
REVERT: aaeda5300 Change the jobs logic + add support for arm
REVERT: 657722922 enhance templates
REVERT: 844b06e28 Fix how the jobs are sent to the front
REVERT: 3a0727b5c login template done
REVERT: 0f5756cfb enhance logs + prepare jinja variables
REVERT: 08e7c2104 plugins done + add name to settings
REVERT: 6b5d6e07e Revert changes on the check_settings function
REVERT: 3ccc12d78 add dropdown + responsive
REVERT: 3ed3fbe99 Autotonf now update the instances too
REVERT: e56f96d04 Update database model + Save instances to database + add the option to add logs into the database
REVERT: c87c3637d start plugins template
REVERT: 3a5d14952 Made few tweaks with the home page + remove useless functions
REVERT: 55e76b280 Fix path for dropzone's scripts
REVERT: 64d261acc Change the way logs are parsed
REVERT: f13455d11 send timestamp with ms
REVERT: 7aac0c352 fix ms
REVERT: fb2e41c11 logs params
REVERT: 2967ed98c fix fetch
REVERT: 4f9b2120e test
REVERT: f1e614fae change ternary operator for fetch
REVERT: fa5719db7 fetch logs + liveUpdate filter
REVERT: 2a2f2f1e9 Fix scheduler error
REVERT: 208716722 Merge pull request #361 from TheophileDiot/dev
REVERT: fa98003f2 Thread the jobs run_once
REVERT: 89e8839bb Optimize the regex for the core lists
REVERT: 51c5836ae change logs script/template + continue jobs
REVERT: f61b4428b Merge pull request #360 from TheophileDiot/1.5
REVERT: a96771881 Change the logs date format + start editing the logs endpoint
REVERT: d30adf670 Changing rhel
REVERT: bf19cfe3d Migrating Linux to 1.5. Still some details to adjust to be perfect
REVERT: 0cd6ed1af When downloading new plugins, update the database properly + update job every time now
REVERT: 8f75af3d6 edit the .dockerignore
REVERT: 4f4beeef9 Create the database variable even when passing the variables, just in case
REVERT: 7347fe9bc update jobs only once
REVERT: b509ce16e Copy the files after installing the requirements
REVERT: 64601ebf5 Remove useless warnings
REVERT: c9238f993 Merge custom configs generation to avoid repetition
REVERT: 192c6755c Update db for the jobs that are ran only once
REVERT: c14765c6c Change the way jobs are sent and how we update external plugins
REVERT: 888bedd51 Change how jobs are send from the database
REVERT: babb1c72c Revert "indentation"
REVERT: 44c74f9be Revert "indentation"
REVERT: 984b6c5f0 ci/cd - speedup codeql by ignoring some folders not containing python files
REVERT: 355c947a4 start jobs template + enhance menu
REVERT: 272de0b8b ci/cd - fix codeql config path
REVERT: d9fc713c4 ci/cd - move codeql config to file
REVERT: c2503d63d ci/cd - add codeql
REVERT: b098478bd enhance service + darkmode script
REVERT: fa1739439 ci/cd - init work on dependabot
REVERT: 82df3f17f ci/cd - init work
REVERT: f02adf300 indentation
REVERT: c1031cb2c indentation
REVERT: e8581ecb4 enhance news/menu/base + logs scripts
REVERT: eb99d00da Revert "enhance news, menu + end logs scripts"
REVERT: a7d3d0452 enhance news, menu + end logs scripts
REVERT: c7556a39a Merge pull request #358 from TheophileDiot/1.5
REVERT: e02e9c9ec Edit how plugins work with the UI
REVERT: f1d7add73 Merge pull request #357 from TheophileDiot/1.5
REVERT: 1252d1651 Add the jobs feature and add the link when using sqlite
REVERT: 2154c7f54 Update database default DATABASE_URI
REVERT: 7957f63b8 Merge pull request #356 from TheophileDiot/1.5
REVERT: 73668b476 Optimize plugin gathering
REVERT: b3cfc1f01 Remove unnecessary lines and add plugins_errors endpoint
REVERT: b57e50db2 Send needed settings with the services in ui
REVERT: a0e66ab30 Change Database default path for the sqlite file
REVERT: fdd393826 add ui work in progress
REVERT: 6b9a6a7e3 Merge branch '1.5' of https://github.com/TheophileDiot/bunkerweb into 1.5
REVERT: 277e37bce Revert "add ui"
REVERT: 05d4b77bb Merge branch '1.5' of https://github.com/TheophileDiot/bunkerweb into 1.5
REVERT: e7e43e64d Add dark_mode to ui
REVERT: d40a93cb7 Revert "add ui"
REVERT: d102f027f add ui
REVERT: b70d97671 add ui
REVERT: 7db7aee7c Merge pull request #355 from TheophileDiot/1.5
REVERT: 70844ca60 Fix database with autoconf
REVERT: 1a7d8978b Merge pull request #353 from TheophileDiot/1.5
REVERT: 93c74154a fix fedora python deps bug
REVERT: f2eabc0df fix centos python dep bug
REVERT: d199f124b remove exits in ingress controller
REVERT: 3ec15eb4b Update the docs from dev
REVERT: 5a8f81256 Merge branch 'dev' (softly)
REVERT: d214352b7 Merge pull request #352 from TheophileDiot/1.5
REVERT: 891757dab Add support for arm + change scheduler python version
REVERT: 8dd377562 Merge pull request #351 from TheophileDiot/1.5
REVERT: 630cf8b88 Change the way services are sent to the UI
REVERT: b0c09b4de Merge pull request #350 from TheophileDiot/1.5
REVERT: fa655e6f0 Remove no longer used install.sh and uninstall.sh
REVERT: c8fbcbeae Merge pull request #349 from TheophileDiot/1.5
REVERT: 32101c3dc Move UI deps, Make the DB compatible with PostgreSQL, MySQL and Oracle
REVERT: 035eed8f6 ui - add custom PYTHONPATH in Dockerfile
REVERT: 2a3e24bd2 Merge pull request #348 from TheophileDiot/1.5
REVERT: 3984c4b0d Separate deps and change prettierignore file and pyproject
REVERT: 47afdc88e Merge pull request #347 from TheophileDiot/1.5
REVERT: 01bb6f5e6 Stop converting the files content to base64 when sending them to front
REVERT: c35874797 Return dumps of settings instead of the dict
REVERT: a8f27ccb1 Merge pull request #346 from TheophileDiot/1.5
REVERT: edce79936 Update the structure and the paths
REVERT: 04578aab3 Changing path Linux folder
REVERT: 5ae714fc7 Merge pull request #344 from TheophileDiot/1.5
REVERT: f65a4cdd6 SMall tweaks on the UI + edit the ConfigFiles edits
REVERT: 06aa73fcf Merge pull request #343 from TheophileDiot/1.5
REVERT: 0811aad7f Edit scheduler and change DB
REVERT: 858f6e00f Change python version
REVERT: b279d0240 Fix BunkerWeb gen on start
REVERT: ef7fa5b4f Merge pull request #342 from TheophileDiot/1.5
REVERT: 11bcd9824 Merge branch '1.5' into 1.5
REVERT: bacef768c Add integration manually in bunkerweb
REVERT: 5ec179aff The UI get the custom configs from the database
REVERT: 0e6a5f3f9 Merge pull request #341 from TheophileDiot/1.5
REVERT: eec00ba2b Update the Database and make it easier to gen
REVERT: 479b556fb Merge pull request #340 from TheophileDiot/1.5
REVERT: 375776e7d Fix UI path_to_dict with the cache files
REVERT: df62fd410 Merge pull request #339 from TheophileDiot/1.5
REVERT: 1f58d0c51 Edit dockerfiles
REVERT: 6c07f9967 Merge pull request #338 from TheophileDiot/1.5
REVERT: 069b45f37 Add some tweaks
REVERT: 850530cd0 Merge pull request #337 from TheophileDiot/1.5
REVERT: 01b414552 Make the Database support every feature + updates
REVERT: a12d013fc Merge pull request #334 from TheophileDiot/1.5
REVERT: 5f8353c11 Adapt everything so that the UI can work with every integration (some more tests are needed)
REVERT: fe8962592 Merge pull request #333 from TheophileDiot/1.5
REVERT: 66fb266f8 Centralize Database and optimize requests
REVERT: 7a03ed33f Update pip in Dockerfiles every time
REVERT: b09c05d3b Update BunkerWeb deps
REVERT: 9c02d5f9e Merge pull request #330 from TheophileDiot/1.5
REVERT: 7d743e198 Update the database and the core plugins accordingly
REVERT: ce6f01cf0 Merge pull request #329 from TheophileDiot/1.5
REVERT: 9140dc324 Optimize Database connection and ApiCaller
REVERT: 81307c82c Merge pull request #328 from TheophileDiot/1.5
REVERT: 0edef7c52 Use Python 3.11 where we can
REVERT: fe774e000 temp nginx is dead, long live to the IS_LOADING setting
REVERT: 0bf402fd7 Merge pull request #327 from TheophileDiot/1.5
REVERT: 48242b9a3 Get all config with generator
REVERT: 0b73ea856 Merge pull request #326 from TheophileDiot/1.5
REVERT: 09378458d db.get_config() get entire config and doesn't filter anymore
REVERT: 100849023 Merge pull request #325 from TheophileDiot/1.5
REVERT: 8b54762fc Fix db init with autoconf
REVERT: cfaeb1013 Merge pull request #324 from TheophileDiot/1.5
REVERT: 7e53bfe55 Fix gen for Docker integration
REVERT: 54530d535 Merge pull request #323 from TheophileDiot/1.5
REVERT: 79eea0e99 Linting + starting to migrate bunkerweb to the 1.5
REVERT: 316b84ad3 Merge pull request #318 from TheophileDiot/Feature-specific-order-for-plugins
REVERT: ba56c9f55 Merge pull request #317 from TheophileDiot/Fix-scheduler-error-reload-nginx-linux
REVERT: a8f79e58f Merge pull request #303 from TheophileDiot/Fix-custom-conf-disappearing
REVERT: b2a7e053b Merge pull request #314 from TheophileDiot/Feature-blacklist-ignore
REVERT: 96e656273 fix indent
REVERT: 01cecf14e Merge pull request #313 from TheophileDiot/Feature-max-client-size-edit-modsec
REVERT: 873ccad9b Add MODSECURITY_SEC_RULE_ENGINE and MODSECURITY_SEC_AUDIT_LOG_PARTS (#292)
REVERT: 97bf473e1 deps - add update checker for deps (#293)
REVERT: 5af2fb778 Complex example using autoconf (#271)
REVERT: bd4c94e83 Add specific order for core plugins and check them
REVERT: a96a8a8c2 Fix incorrect message while reloading nginx + more details on error
REVERT: 446ff93a4 Add ignore blacklist feature
REVERT: 5fdcc9e58 add g/G to the available file measurement units
REVERT: d207aa4bf Variable MAX_CLIENT_SIZE change the SecRequestBodyLimit value
REVERT: 57ad9d7ee Fix old custom configs where never deleted
REVERT: 7860aeab9 Merge pull request #312 from TheophileDiot/dev
REVERT: cac220023 Fix small typo in autoconf integration
REVERT: 5d9dc88cc Merge pull request #307 from TheophileDiot/Restrict-access-IP-NET
REVERT: 40863f28a Merge branch 'dev' into Restrict-access-IP-NET
REVERT: 67d514b53 Merge branch 'master' into dev
REVERT: 51e96416d Merge pull request #304 from TheophileDiot/Fix-Endless-loading-after-update-service
REVERT: ace1dfca2 Merge pull request #308 from TheophileDiot/Fix-doc
REVERT: b9e5badd9 Fix last typos
REVERT: a9865f850 Fix typo in plugins.md
REVERT: e3d0120a0 Fix minor typos in the doc
REVERT: 9214bb939 Merge pull request #309 from TheophileDiot/Fix-flask-dev
REVERT: 80c1b225b Replace flask development server with gunicorn
REVERT: de0954fac Fix typos in the docs
REVERT: 27b4ff330 Add the greylisting feature
REVERT: 06f65ffe2 Change the exposed port to 7000
REVERT: b0a887a15 Fix errors and warnings when editing a service
REVERT: 803ff8cb5 Fix CUSTOM_CONF_SERVER_HTTP disappearing after 60 minutes (autoconf)
REVERT: 94ce249d7 [#290] Fix typos in docs
REVERT: 478e98018 ci/cd - temp disable k8s test
REVERT: 8f44e108b ci/cd - add docker system prune
REVERT: 72caf907a ci/cd - temp disable swarm tests
REVERT: 01acb1cf3 ci/cd - temp disable nextcloud/swarm
REVERT: fc3c7892d ci/cd - add missing prepare for prod tests
REVERT: 2a04a5642 ci/cd - update ruby version for CentOS builder
REVERT: 6afdb298f lua - fix pcall for asn/country mmdb lookup
REVERT: 04019a617 tests - fix nextcloud/swarm
REVERT: 34649bf33 docs - add Ansible to README
REVERT: 469a5343e ci/cd - remove old linux packages before building
REVERT: 4244399eb road to v1.4.3 🚀
REVERT: 66029a316 tests - edit prod workflow
REVERT: d0c245ba8 tests - fix bug when testing if a swarm stack is healthy
REVERT: 5633d5ff5 tests - remove mongo-express/swarm
REVERT: 61d57b4eb tests - fix mongo-express/swarm
REVERT: 76f035e21 fix wrong DENY_HTTP_STATUS setting in docs, fix autoconf ghost/prestashop tests and some UI warns/errors
REVERT: b35dbdffc tests - fix ghost/docker
REVERT: 7e226301d tests - fix prestashop/docker
REVERT: 8f273a929 ci/cd - fix missing comment chars
REVERT: 45f4e06ac road to v1.4.3
REVERT: 7fe58ddd5 tests - disable systemd start limit
REVERT: 561e64a89 tests - road to debian
REVERT: 29933fdeb tests - add unzip package to linux container
REVERT: 7915da6df docker - fix CVE-2022-3209
REVERT: d8f6c2756 tests - fix configs perms for linux
REVERT: cb56e7d04 tests - add chown for custom linux configs
REVERT: e84734314 tests - fix linux/drupal (again)
REVERT: 4caae414d tests - fix linux/drupal
REVERT: 8a23b96bf tests - disable linux/moodle
REVERT: a4fd701d5 tests - temp disable linux/proxy-protocol
REVERT: 39ed524f0 tests - add missing variables.env for moodle/linux
REVERT: d0e3f3ae2 tests - call cleanup-linux.sh
REVERT: b0fa57b05 tests - replace restart with stop+start for linux tests
REVERT: ec1136085 tests - print logs when setup_test fails
REVERT: 3be348ebe tests - add haproxy cleanup for linux tests
REVERT: 884ca0f6d tests - add missing variables.env files for linux
REVERT: e4321629f tests - road to linux tests 🚀
REVERT: c277a33e9 tests - add missing which command for fedora
REVERT: 512c60c51 tests - add some debug info when linux/setup fail
REVERT: e64cc29a8 tests - create /run/php folder for rpm linux distros
REVERT: 42d29743b linux - fix 755 perm on /opt/bunkerweb
REVERT: 505d5c2ae tests - fix behind-reverse-proxy/linux
REVERT: 70992a0b5 tests - fix haproxy logging again
REVERT: 7e5465c59 tests - fix haproxy logging again
REVERT: f5606b693 tests - fix haproxy directive
REVERT: 265742cd9 tests - haproxy add logs
REVERT: 0580662cc linux - copy current variables.env to make temp one
REVERT: 8e15e2a40 linux - set /opt/bunkerweb permissions to 755
REVERT: 17801caeb temp disable arm
REVERT: 552588adf temp disable arm
REVERT: 5849c66e6 tests - fix www.conf
REVERT: 052dc2346 tests - increase php logs verbosity for linux tests
REVERT: 331c7e954 tests - add debug log file for PHP
REVERT: f71ad0f65 php - fix fastcgi_params path
REVERT: 34c648830 trying to fix PHP bug in Linux
REVERT: 5c99a4b0e refactor linux/start.sh and fix tests/cors www copy
REVERT: eb6f0d673 tests - fix purging wrong folder for linux tests
REVERT: 6ea38b1f7 bunkernet - fix wrong import in register job
REVERT: b5c07dda0 tests - add cleanup for linux tests
REVERT: 17b6b0fdc tests - fix PHP www.conf for Linux
REVERT: 512ed7200 tests - add cors/linux
REVERT: d8071e4c4 tests - install php-fpm
REVERT: 790fa37ae tests - fix behind-reverse-proxy/linux
REVERT: 6005a8f73 tests - fix behind-reverse-proxy/linux again and again
REVERT: 09f56a1c6 tests - fix behind-reverse-proxy/linux again
REVERT: 0c4d2edf1 tests - fix behind-reverse-proxy/linux
REVERT: d53c54d4b tests - add behind-reverse-proxy/linux
REVERT: 093d426bc better management of registration with BunkerNet and fix syntax error in LinuxTest
REVERT: 3762c3874 tests - copy variables.env for Linux tests
REVERT: 55525abf1 tests - fix mattermost/k8s
REVERT: 23f8ec957 UI - fix container CVEs
REVERT: a38ca5138 docker - dont generate config if already present
REVERT: e92938f00 autoconf - fix container CVEs
REVERT: c2ad79a79 Docker - fix CVE-2022-37434
REVERT: 8eefb4bf5 examples - fix mattermost/k8s
REVERT: 6d1ef606f examples - fix nextcloud/k8s
REVERT: 95c4ce723 enable bad behavior on default server and various k8s fixes
REVERT: e295b020e tests - increase redmine timeout and add pvc cleanups
REVERT: 1e499db50 examples - fix gogs/k8s
REVERT: a64276136 disable bad behavior if client is whitelisted and fix redmine/reverse-proxy-multisite examples
REVERT: 115d517c7 tests - add delays
REVERT: 7c1474cd8 examples - fix moodle/k8s port number
REVERT: 305870cc2 examples - edit moodle/k8s port number
REVERT: 3df0f8505 tests - add delay to moodle
REVERT: 897528b73 tests - fix magento/k8s again
REVERT: 4f4c446f7 examples - fix magento/k8s again
REVERT: 69848dccc examples - fix magento/k8s
REVERT: 0516f0a83 tests - assign bunkerweb-controller to srv1
REVERT: 41524a9e3 tests - force pv
REVERT: 0d44b098f tests - fix prestashop URL
REVERT: 0e315dc5f tests - edit prestashopHost value
REVERT: 5741391de tests - change k8s service type of prestashop to clusterip
REVERT: 6adff9ceb tests - increase timeout and remove pvc for prestashop/k8s
REVERT: 97a2caf06 tests - fix Kubernetes missing variable assign
REVERT: 865f4f1b5 tests - fix prestashop/kubernetes
REVERT: e8305b0b6 tests - fix missing prestashop/kubernetes.yml
REVERT: 840b875f7 docs - edit plugins page
REVERT: 978bbe9ca examples - fix missing configs subfolder in nextcloud/bw-data
REVERT: 502c9f2fe examples - fix radarr/swarm
REVERT: 1c4f8bf55 tests - automatic volumes prune for swarm tests
REVERT: b6e2ad22a tests - fix joomla/swarm
REVERT: 216686fc8 tests - add delay parameter
REVERT: d648b1fbe tests - increase magento timeout
REVERT: d3b725294 tests - wait until swarm services are running
REVERT: a48200bc0 examples - fix reverse-proxy-singlesite/swarm
REVERT: b429dd804 tests - increase timeout for swarm healthy check
REVERT: 0440c61d0 examples - fix gogs/swarm
REVERT: ae36b9899 docs - quick edit on PHP
REVERT: 9a83fadd8 examples - fix gogs/setup.swarm.sh permissions
REVERT: 09141f204 examples - fix magento/swarm
REVERT: edf5421bf examples - fix permissions for magento/setup-swarm.sh
REVERT: c67564c7c tests - increase timeout when doing requests
REVERT: b07637009 examples - fix mongo-express/swarm
REVERT: ec35b0a54 examples - fix mattermost/autoconf
REVERT: 95e3022eb examples - fix autoconf/reverse-proxy-singlesite
REVERT: d63538fd5 examples - fix wordpress custom conf variable name for docker/autoconf
REVERT: e01b24072 tests - ignore error when replacing patterns in files (binary files)
REVERT: 217924fe4 examples - fix reverse-proxy-singlesite regex
REVERT: bb6d02e0f examples - escape dollars in reverse-proxy-singlesite compose files
REVERT: 5c42fb58d tests - fix reverse-proxy-singlesite
REVERT: 2f8c5a1e9 examples - fix host for reverse-proxy-multisite
REVERT: af866e825 edit docs/integrations for ansible and fix examples/mongo-express compose file
REVERT: e90d4cc7e tests - fix json for reverse-proxy-multisite
REVERT: 70ac3c01b tests - fix missing arg no_copy_container
REVERT: 07a962466 tests - inline configs for docker/autoconf
REVERT: 87c57c67c tests - refactoring on the road, still needs some work
REVERT: 8fb03a317 tests - on the road of refactoring
REVERT: dc8570ca8 tests - add status type
REVERT: 151378570 tests - refactor mattermost example
REVERT: 4e7d795ea tests - support custom cleanup-kubernetes.sh script and refactor some k8s tests with helm charts
REVERT: cc9d228ab update compose version to 3.3 for swarm examples so config directive is supported
REVERT: 181957147 remove trailing space in DockerController and add missing bunkerweb prefix for autoconf-configs example
REVERT: 324feb593 autoconf - fix missing configs update for DockerController
REVERT: 22398d567 cors - fix typos in autoconf.yml
REVERT: 5119c8da7 gogs - missing setting for autoconf
REVERT: 0fca93e3e tests - sleep 30s between autoconf tests
REVERT: 17e14f4d5 tests - fix wildcard with sudo
REVERT: 3a46d318e tests - remove only content of subfolders
REVERT: 4eff0c3f9 tests - fix behind reverse proxy url
REVERT: bf58a17b8 gogs - add setup-docker
REVERT: 08d8bc880 tests - remove whole subfolders in bw-data
REVERT: b38f7c54e tests - add kubernetes-configs and fix missing s in urls
REVERT: 06f7fb096 tests - fix docker-configs (again)
REVERT: b7101eb47 tests - fix docker-configs
REVERT: a08b51bd0 tests - fix gogs expected string
REVERT: b2bcfb8c7 tests - fix hardened expected string
REVERT: d3014b42f examples - refactoring in progress
REVERT: 7eae49719 tests - prevent default rate limit
REVERT: be21b3933 tests - fix sudo cp again
REVERT: 7bb881aa3 tests - fix rename
REVERT: a607bd67c tests - replace python cp with sudo cp
REVERT: 6d06a32cc tests - list example_data as root
REVERT: c5526ef2f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 75b2ae868 tests - fix example_data path for docker
REVERT: 72965e230 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 201e2cf0f Correction logs Linux
REVERT: 203397444 tests - init cors and fix example_data path for autoconf
REVERT: d8c8ceab3 tests - fix LinuxTest setup and init work on integrating examples with the new test system
REVERT: c02d888b3 examples - rename setup scripts for drupal
REVERT: 9a9f9ebf3 examples - fix linux-setup.sh for drupal
REVERT: 6e381ee02 tests - disable copying bw-data files for k8s and swarm tests
REVERT: 0ee09d47d tests - force removing directories with AutoconfTest
REVERT: da2f6cb4f tests - force removing directories with DockerTest
REVERT: d1d2e51a3 cleanup tests directory and init tests refactoring for drupal
REVERT: c14b08faa examples - edit authelia configuration.yml file for Linux integration
REVERT: 80fee58e4 bunkernet - add default api server in jobs
REVERT: 37690a7a4 configs - enable default server if TEMP_NGINX is set
REVERT: b3fdd109a linux - fix wrong variables.env path when running jobs once
REVERT: 193449512 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: f5ede7897 examples - fix authelia variables.env
REVERT: 767a7ab31 Adjustements doc Ansible/Linux
REVERT: 81b370366 wait until Linux test container is initialized and fix variables.env for authelia
REVERT: 44fbf0315 authelia - extract tarball to tmp
REVERT: 02db54ce0 examples - follow redirect when downloading authelia for linux
REVERT: 14d61854e add sudo to linux dependencies and curl to linux test images
REVERT: 6f35561fa tests - fix cp and end_fun for LinuxTest
REVERT: 2505bc015 tests - add linux to authelia kinds
REVERT: b1df38374 tests - temp enable docker
REVERT: 410212b15 tests - run docker cp in a shell
REVERT: f2ac7bca7 tests - fix typo in LinuxTest
REVERT: a0948923e tests - copy local files for Linux tests
REVERT: 458ebe07f tests - dynamically find deb/rpm name
REVERT: 2205043e7 tests - fix LinuxTest.docker_exec()
REVERT: d370f1b05 tests - add missing chmod import to LinuxTest
REVERT: bf6dd93aa tests - replace rmdir with rmtree for LinuxTest
REVERT: 773517311 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 850a8057c ignore CVE-2022-30065 until we have a fix
REVERT: e6271ccd6 Final proofreading FPM
REVERT: f0ddb8328 docker - fix CVE-2022-30065 for autoconf
REVERT: f260bcf23 Small adjustements
REVERT: fa319ec10 tests - fix argv len check
REVERT: 029406453 tests - fix typo in LinuxTest
REVERT: f47ab0adc tests - integrated LinuxTest
REVERT: eca010231 FPM Linux/Ansible Doc
REVERT: 4d61e96e4 tests - LinuxTest on the road
REVERT: c9c730346 tests - fix linux.sh
REVERT: 58a82ddcd tests - copy Linux packages to local directory
REVERT: 8062d043c tests - fix Linux dockerfile path
REVERT: 0a09f8a75 fix CVE-2022-29458
REVERT: bb425bc36 tests - init work on Linux tests
REVERT: aa729daeb examples - remove double $ from kubernetes authelia
REVERT: 7edd55544 fix k8s example for authelia and ignore error code when doing debug_fail for k8s tests
REVERT: 0fd77a809 examples - fix typo in kubernetes authelia
REVERT: 720f36f47 tests - init kubernetes refactoring
REVERT: ea98b453d tests - use unique domains for swarm tests
REVERT: 4bd0129e4 tests - also edit root domain
REVERT: 6e47b2991 tests - add sleep in the end of SwarmTest.init()
REVERT: abc500a4d tests - fix domains for SwarmTest
REVERT: 378047794 examples - fix authelia swarm compose version
REVERT: 4a5e50005 fix typo in SwarmTest and fix authelia swarm example
REVERT: 3b73c50c3 tests - ignore docker stack ps return code
REVERT: ba6fddb56 tests - init swarm refactoring
REVERT: 9ecd2bd98 examples - add missing network aliases to authelia autoconf
REVERT: 7bbf77b7a fix authelia autoconf example and debug fail before cleaning tests
REVERT: f02fe1ed9 tests - remove only subdirectory on new tests and add cleanup when test failed
REVERT: 0383cadd6 tests - fix compose filename for autoconf tests
REVERT: aeba0ba72 tests - add missing AutoconfTest object
REVERT: 67608a463 tests - add missing decode
REVERT: 8b3b1291c tests - from replace/rename functions to class method
REVERT: 1c5c81d2c tests - add missing import
REVERT: fa2d52d80 tests - remove useless log and return boolean from Test.end
REVERT: 68bf5ef85 tests - remove wrong cleanup call
REVERT: 424b37bec tests - change permissions as root
REVERT: 2780ee190 tests - add debug_fail function
REVERT: 07b0bb38d docker - fix CVE-2022-29187 for ui and autoconf
REVERT: b47c2696e docker - fix CVE-2022-29187
REVERT: fdb8ca3ca tests - replace internal _log with logger.log
REVERT: eb59a9377 tests - init refactoring for autoconf
REVERT: 2e0542dbb tests - ignore case when performing test
REVERT: 0a996bf12 tests - replace match with search
REVERT: 48a6ba632 tests - fix rm command
REVERT: 991ddb9eb tests - remove file as root
REVERT: 1e1d7d7f1 tests - replace variable typo in get request
REVERT: ebc94f515 tests - add missing char when replacing Docker volumes
REVERT: e4f6017d6 tests - replace example domains with test domains
REVERT: dfc5f2e79 tests - export runner env
REVERT: c07f85a42 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: ab57be657 tests - fix missing copytree import and self parameter
REVERT: 5f79aea4b fpm single/multiple docker&autoconf
REVERT: cc760a646 tests - fix datetime import again
REVERT: db2c35cb3 tests - fix datetime import
REVERT: 28f1b4f73 tests - rename variable
REVERT: e1183a0d4 fix tests.json for authelia and exit when test exception occurs
REVERT: 16573a397 tests - do not run as root
REVERT: de8cee491 tests - add missing imports
REVERT: 56afbd457 tests - run as root
REVERT: 590ad46cd tests - fix missing chmod import and Test.init log call
REVERT: 8d580bc16 tests - fix missing Test import
REVERT: a91fc7307 tests - fix indent and isfile import
REVERT: 773a37d45 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: b64af8526 tests - DockerTest on the road
REVERT: 0d3e1e2a1 Update the plugins docs
REVERT: 85217b57c Fix a typo in the plugin page in the docs
REVERT: ba75154d0 Add url_for function to custom plugins templates
REVERT: c055ec7ec Fix duplication in plugins
REVERT: 2c4efe9d0 Add Plugin Pages feature
REVERT: 795dfc077 Add static map files
REVERT: 8b4b3f3b0 ansible docs
REVERT: 2e4758e94 tests - DockerTest improvement
REVERT: c155227ec tests - init work on refactoring
REVERT: dde185141 tests - increase timeout for magento
REVERT: e62523d1d lua - use pcall with mmdb functions
REVERT: 658ab7504 docs - add ansible diagram
REVERT: 8d6397a6b Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: f5c86cc4e examples - add cors example
REVERT: 8760110fb Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: cc4f0b26a Quickstart Ansible and integration
REVERT: 7b769361a cors - init work on core plugin for CORS
REVERT: 97e607110 linux - rename bunkerweb-ui.env to ui.env
REVERT: c3ee7929b docs - change target of the web UI demo link to blank
REVERT: 969a1e5d7 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 5bf59c85d docs - replace web UI gif with YT video
REVERT: 430f665cd Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 5be21f9bf Adding www folder
REVERT: afdd4de5a fix regex checks with *_CUSTOM_CONF_* setting, add doc about DENY_STATUS_CODE
REVERT: 5586b3733 misc - add DENY_HTTP_STATUS setting (403 or 444)
REVERT: 90e58f261 fix ui.env path for Linux integration and add docs for autoconf with rootless docker
REVERT: a00607af2 docs - add instructions for podman
REVERT: e880b7d59 docs - add infos about Docker in rootless mode
REVERT: fc925ccb1 edit docs typo for UI and variable typo in autoconf
REVERT: 571422131 ui - fix CVE-2022-2097
REVERT: 287e763e0 autoconf - fix CVE-2022-2097
REVERT: 89f81140a container - fix CVE-2022-2097 (again)
REVERT: a5c98f709 container - fix CVE-2022-2097
REVERT: 429214727 tests - fix data folder permissions (again)
REVERT: 6b1c5a93e tests - fix data folder permissions
REVERT: fb85d1d2d autoconf - fix typo in variable
REVERT: fdcbc8d36 custom conf - fix wrong path with multisite configs
REVERT: b2bb93bcf examples - fix docker-configs again
REVERT: 2b59086f6 examples - fix docker-configs
REVERT: e09d4901e containers - fix regex for *^CUSTOM_CONF_*
REVERT: 3594618e4 examples - fix typo in docker-configs (again)
REVERT: e44311281 examples - fix typo in docker-configs
REVERT: 738e3b6e1 containers - use python hack to get env var values from string
REVERT: 5ac80a135 containers - replace compgen command with a python hack because compgen -e do not display var with dots
REVERT: 8f258486e fix multiple CVE with curl/libcurl and add autoconf/docker CUSTOM_CONF configs examples
REVERT: 2dc18a794 autoconf - support both configs from files and autoconf
REVERT: e0a700506 autoconf - init support of custom variables using labels
REVERT: 385b7c413 docs - add docs for custom config using labels
REVERT: e25babe3d custom conf - docker
REVERT: a5457a164 custom conf - init setting support
REVERT: 0a1e8be71 examples - add missing setup.sh for mattermost
REVERT: 70c60f2a9 tests - add mattermost and radarr
REVERT: f2dfb0172 examples - edit mattermost and add radarr
REVERT: 1a8eef2c8 fix autoconf import for IngressController and init work on mattermost example
REVERT: cb106a112 autoconf - fix indent in IngressController
REVERT: 492648eeb autoconf - fix 410 exceptions (k8s)
REVERT: 1425ad0b4 docs - update settings list
REVERT: f7290b2c7 v1.4.2 release
REVERT: c0a8a356c linux - include bwcli in /usr/local/bin
REVERT: 40007b086 add slack to official plugins and init work on EXTERNAL_PLUGIN_URLS setting
REVERT: 6478512e4 scheduler - only send /data folder if apis are present
REVERT: 7aa6852d3 autoconf - fix missing scheduler in autoconf mode and missing apis list
REVERT: 7bba81b16 autoconf - fix wrong variable name for environment
REVERT: 5cb61380d autoconf - add missing call to ConfigCaller constructor
REVERT: b2758cea7 autoconf - init work on _get_static_services method
REVERT: a18d77aee autoconf - init work on static server configs as env var
REVERT: 4a699ef6c fix missing local Linux images import in ci/cd, and fix bug related to jobs in Linux integration
REVERT: 5690a58ab fix IFS checking permissions
REVERT: e55928a37 fix bwcli commands when using Linux integration
REVERT: 0f2388b1f fix permissions check when file has space in the name
REVERT: 2b43a9cbf Merge branch 'dev' of https://github.com/bunkerity/bunkerized-nginx into dev
REVERT: 5ecf39ee0 Fix web-ui example with X-Script-Name
REVERT: ad091493c examples - add various certbot-dns examples
REVERT: a65606c36 examples - add certbot-dns-ovh
REVERT: cd0d70b8f cache dev Linux images in ci/cd and disable site config generation for autoconf/swarm/k8s
REVERT: e21a35017 plugins - support log_default() hook, same as log() but for default server
REVERT: c563731e8 autoconf - fix overwrite configs file when using Docker autoconf
REVERT: 3c417d2ff linux - fix fedora NGINX version in Dockerfile, fix missing arg when building DEB/RPM and force NGINX version DEB deps
REVERT: 970082f92 linux - force NGINX version in RPM deps
REVERT: 4a2504c3b reflect ci/cd changes to dev
REVERT: fd0c7b1e5 ci/cd - add automatic build for Linux images
REVERT: 1e6d62ce7 fix packagecloud yank name
REVERT: 1a4e21481 docs - edit supported architectures for prebuilt Docker images
REVERT: bcaca6f03 v1.4.1 release
REVERT: 424214fd5 add changelog and add missing s in authentik url
REVERT: 82b42d5b9 Merge pull request #259 from Brawdunoir/master
REVERT: db4e2cf26 update linux docs, minor fix in ingress example and update default value for bunkernet job
REVERT: 0ef82619b temp disable automatic tests for authentik and test automatic arm build on dedicated hardware
REVERT: f2655e331 remove arm build again, fix proxy_*_timeout directives and add authelia example
REVERT: d51ae1c1b Remove USE_ before authbasic plugin settings
REVERT: cd0438b8c support REVERSE_PROXY_*_TIMEOUT settings, remove useless push in CI/CD and try to build arm on GH runners
REVERT: f9a042526 add docs about compiling BW from source on Linux, add docs about packages pinning on Linux and fix regex for REVERSE_PROXY_AUTH_REQUEST and REVERSE_PROXY_AUTH_REQUEST_SIGNIN_URL
REVERT: 15ac64b05 let's encrypt - fix bug when AUTOCONF_MODE=yes
REVERT: e0f8895e9 init support for auth_request and add authentik example
REVERT: e85229835 don't send local IP to BunkerNet on default server, fix certbot new when MULTISITE=no and fix unknown reason in get_reason
REVERT: 972a284ef docker - drop support for prebuilt arm images
REVERT: 5258d8e58 docs - edit linux install procedure
REVERT: acb4bea97 reflect CI/CD changes for master pushes
REVERT: 42067e864 GHA - temp disable armv7 build until we have a fix for cryptography dependency
REVERT: 217bddabf GHA - different caches for armv7 and armv8 images
REVERT: c5fba1367 fix GHA typos
REVERT: 1b21f9eac fix UI tag in GHA jobs
REVERT: 389e05094 fix links in docs and change cache location for GHA jobs
REVERT: 05a89c303 fix registry URL in GHA jobs
REVERT: a0ed8a27e add debug flag to GHA buildx steps
REVERT: d0ac5e305 update GHA actions version
REVERT: b16f8f11a update GHA actions version
REVERT: a23ed06e6 fix typo in GHA jobs
REVERT: 6b9be078b refactoring of GHA jobs
REVERT: 8e198ed82 linux - fix documentation link in systemd unit files
REVERT: c3b527afe actions - fix RPMs path
REVERT: 972e5471d actions - fix linux deb/rpm generation
REVERT: b246c6d7e fix wrong branch name in actions and image name for linux tests
REVERT: b78fd5542 fix freetype CVE
REVERT: 945241339 actions - rename main branch to master
REVERT: 1af2264fa temp stop push to private repo
REVERT: 6f28708c1 docs - add missing setting
REVERT: a9f886804 bunkerweb 1.4.0
REVERT: 3a078326c Merge pull request #199 from Myzel394/patch-1
REVERT: d43b82b75 remote API - only do action if 403
REVERT: 3850cacb9 prepare for v1.3.2
REVERT: c00c7f46a lua - verify certs when doing HTTPS requests
REVERT: 163af4a49 prepare for v1.3.2
REVERT: 98e85eb99 docs - update security tuning sections : distributed blacklist and request limit
REVERT: 2e63bb025 docs - reflect kubernetes/swarm changes into the doc
REVERT: 6546a0edb disable country ban if IP is local, update default values of PERMISSIONS_POLICY and FEATURE_POLICY, upgrade archlinux packages before testing
REVERT: ab0038174 ui - fix ROOT_FOLDER bug in serve-files.conf
REVERT: 9f7097de0 request limit - fix some LUA code
REVERT: 24d6337a5 limit req - multiple url support
REVERT: bfb5319c1 limit req - add burst and delay parameters
REVERT: 4c77a1482 use annotations as env var in Ingress definition, fix cidr parsing for reserved ips, fix missing empty when job is external, fix ping check for remote api and init work hour/day support for request limit
REVERT: 4e45fa387 integrations - acme without shared folder when using k8s/swarm
REVERT: a9a26b82d fixed typo
REVERT: 00d91dcaa jobs - move certbot hooks to python
REVERT: 650ad7ea4 integrations - fix missing acme folder when using Swarm or Kubernetes
REVERT: 7045c0c2b jobs - fix encoding error on CentOS
REVERT: f0f432487 remote API - ban IP from distributed DB
REVERT: fdc02be05 remote API - basic send of bad IPs
REVERT: fb799765a jobs - fix str/bytes hell
REVERT: d53f02b5b api - client side (untested)
REVERT: 7b9722fac jobs - add remote API
REVERT: 31ed4ff83 centos - update ca-certificates in install script
REVERT: bc5f3ee88 fix CVEs and add init to Debian test image
REVERT: a6b21aae8 fix typo in settings.json, bump Debian to bullseyes, init support of Arch Linux
REVERT: 64aa9c253 init work remote API
REVERT: 5d94cc8f4 docs - init changes about storageless
REVERT: e7ee21cbb antibot - fix path for templates and data
REVERT: a0f8cbdac antibot - fix LUA typo in recaptcha mode
REVERT: 178d7a684 Merge pull request #182 from Nakinox/patch-2
REVERT: ca81535bb swarm/k8s - less storage, more API
REVERT: 062fa3e78 integration - continue work on storageless config for k8s and swarm
REVERT: 95f2d2af9 Update docker-compose.yml
REVERT: e55dff812 api - init work on storageless configuration
REVERT: f0f1c79d4 v1.3.1 release
REVERT: 3d2f5e238 conf - add REVERSE_PROXY_KEEPALIVE
REVERT: b079c99fb Merge branch 'patch-15' of github.com:thelittlefireman/bunkerized-nginx into keepalive
REVERT: 2e403c6eb config - add CUSTOM_HEADER
REVERT: f75a05584 config - add REVERSE_PROXY_BUFFERING
REVERT: 148edf681 tests - add github token to trivy scanner
REVERT: a19d8aa04 Merge pull request #180 from vepito/vepito-patch-1
REVERT: 480cff86b Merge pull request #179 from thelittlefireman/patch-16
REVERT: 35df3423d missing blank line
REVERT: 29f4069de switch the use cases
REVERT: 72e438459 Fix typo related to non-HTTP configuration
REVERT: a4a264773 jobs - fix docker reload and only do cron jobs when necessary
REVERT: 892e53369 Missmatch in docs with modsec folder
REVERT: a05614160 deps - use ModSecurity v3.0.4 instead of v3.0.5 to avoid memory leak
REVERT: 0772a9ba8 docs - edit badge version
REVERT: 33e0ffd5b Merge branch 'master' into dev
REVERT: 4cb3e089e linux - git SHA1 commit in install.sh
REVERT: 8808f161c docs - dev to master links and VERSION upgrade
REVERT: 1c60ec980 tests - fix volume wait with linux tests
REVERT: b13ff3456 add REDIRECT_TO_REQUEST_URI variable and edit environment variables docs
REVERT: 58f2926e9 docs - various examples fixes
REVERT: 9de628f3e Missing proxy_set_header for keep alive
REVERT: 6cc1abc89 Allow keep alive connection when ws is off
REVERT: a824e1568 linux - rename cron
REVERT: fd52bb7c8 linux - fix cron jobs
REVERT: 0938b20eb UI - use sudo for Linux integration
REVERT: b948e08bd UI - use systemctl on Linux
REVERT: fde14d162 linux - fix unknown scheme error and do nginx reload as root in UI
REVERT: 8a4eb3f2a remove .site files (gen), uninstall remove folder at the end (linux) and run jobs when reloading local instances (UI)
REVERT: 2a0b84074 ui - fix bug when Docker is used but Swarm is disabled, add jobs from API /reload and fix docker-compose doc
REVERT: aec22d1a8 ui - edit docs and fix CSRF
REVERT: 028fc61b4 docs - add dns_resolvers and permissions to Linux
REVERT: a903960b4 docs - fix missing subfolder in Linux quickstart guide
REVERT: a28f06f08 linux - run temp nginx to solve let's encrypt challenges
REVERT: 6c8bc6b34 tests - fix Linux systemd bug when writing to /tmp folder
REVERT: 2b3b4a5c3 linux - systemd support
REVERT: 57e4247ea linux - systemd unit file
REVERT: f9d4e9089 docs - edit k8s php service port and append suffix to hosts
REVERT: 4f024ec56 docs - add DNS_RESOLVERS for k8s integration
REVERT: bc46fc3d4 append suffix to ingress hosts
REVERT: 0be1da18a remove old conf before generation, dynamic DNS for PHP and reverse proxy and swarm fixes in quickstart guide
REVERT: 3cedc0ae1 quickstart guide fixes
REVERT: f1d5c07cc autoconf - various kubernetes fixes
REVERT: c9a6b6c27 autoconf - fixed infinite lock
REVERT: b199464a7 various bug fixes related to Swarm integration
REVERT: 4a9d64d9d add favicon to web UI and fix some tech docs
REVERT: 31536a3fe linux - reload as root
REVERT: 7b47c7304 examples - minor fixes in architecture images
REVERT: 83e7ce9cd examples - polishing before next release
REVERT: 0ad5159a3 docs - add changelog for next version
REVERT: 6240d8e28 ui - read variables.env when Linux is used
REVERT: 2f80f64dd docs - last polish
REVERT: e98da9b63 docs polishing and fix install.sh gpg --verify
REVERT: d9f770696 docs - web UI
REVERT: 75f299978 docs - special folders
REVERT: ef34b2cec docs quickstart / multisite
REVERT: 9b9110214 docs - quickstart guide / php
REVERT: 9e2a8070e docs - quickstart guide / reverse proxy
REVERT: 733136ac1 docs - init quickstart
REVERT: fa172ce5a docs - linux integration
REVERT: f6a9184ae docs - k8s integration
REVERT: d37dc2b62 docs - swarm integration
REVERT: f7c115edf docs - add autoconf doc to Docker section
REVERT: dfbb09136 docs - init integrations/Docker
REVERT: 8e4a65fec fix global.env generation and add web UI gif to README
REVERT: 0573ba7b5 ui - centering things without breaking sticky navbar and menu
REVERT: bcd421de0 ui - various bug fixes more or less related to UI
REVERT: 2ec28c79c docs - fix README toc
REVERT: fec60a4b1 ui - minor styling fixes
REVERT: dd7d1a2c7 ui - fix example, subpath behind reverse proxy and add socket proxy rights for swarm
REVERT: 0c1883472 docs - edit kubernetes overview image and add configuration section on the readme
REVERT: 4e6eab794 docs - fix wrong swarm image
REVERT: b23135b66 docs - add docker and kubernetes images
REVERT: ace9be397 docs - add autoconf and swarm images
REVERT: 8958e5107 docs - add overview image
REVERT: b2cfc15c2 security - add security policy
REVERT: 94bef079a examples - add architecture images
REVERT: 50266c228 examples - add the last missing README.md stubs
REVERT: 22e2fe869 examples improvement - added some README.md stubs
REVERT: 55186bbef examples improvement - hardened, joomla, kubernetes, load-balancer and moodle
REVERT: d8286ced7 examples improvement - certbot cloudflare and wildcard, clamav, crowdsec, ghost and gogs
REVERT: 44de2253d examples improvement - traefik alternative, autoconf reverse proxy and basic website
REVERT: 6d73fbded examples - update authelia and autoconf-php
REVERT: b6809266a autoconf - let's encrypt support for ingress controller
REVERT: 4e178b474 autoconf - basic ingress controller support for kubernetes
REVERT: 021147f9d autoconf - fix wait and redis
REVERT: 5a26d06c8 autoconf - fix infinite lock and honor DOCKER_HOST env var
REVERT: bc01427de ignore CVE-2021-36159 and redirect job logs as root when using autoconf
REVERT: 652614f41 autoconf - use DNS for Swarm instances discovery
REVERT: 24d9cce82 autoconf - various bug fixes in Swarm mode
REVERT: f866ef632 autoconf - minor fixes, prepare Swarm testing
REVERT: 1a32e7c02 autoconf - various bug fixes with DockerController
REVERT: 7180378d0 autoconf - init Config refactoring
REVERT: 6e66571fb various cleaning
REVERT: f44e41ced jobs - lock and reload management
REVERT: 26db144df autoconf refactoring and fix CVE-2021-36159
REVERT: a68ad53c3 autoconf - controller classes
REVERT: 01bba1d3f autoconf - init refactoring before k8s integration
REVERT: 059707443 k8s - init work on parsing ingress rules, helpers to setup on k8s, basic examples
REVERT: bc3c17a2f examples - init k8s example
REVERT: 556836b49 autoconf - init annotations parser for k8s
REVERT: 22612f175 minor edit on Linux tests and init work on k8s API
REVERT: 50c279617 jobs - improved log and reload management
REVERT: ef8969e2c certbot - add USE_LETS_ENCRYPT_STAGING=yes/no env var for using staging or production servers of let's encrypt
REVERT: 0dc2a5ec2 edit visibility of Job members and integration of a generic checker for nginx
REVERT: 9a207dfdc fix missing import in generator, expand networks to ips in jobs and init work on a generic checker with shared dict and redis support
REVERT: a60fbbb5b hotfix - fix CVE-2021-33560
REVERT: a1b9010d9 pull v1.2.8 fixes when applicable
REVERT: 3178545c2 v1.2.8 release
REVERT: 36b8760d4 resolve bugs on the stable version
REVERT: 8bb6676f5 settings - fix PHP_* again
REVERT: 4234f82c0 settings - edit EMAIL_LETS_ENCRYPT regex
REVERT: b99fb27df fix missing parameter when calling reload in autoconf and edit REMOTE_PHP_PATH regex
REVERT: 876fcd181 conf - add WORKER_PROCESSES
REVERT: 26dc79615 jobs - fix line edit
REVERT: 280d18986 jobs - avoid reload when not necessary
REVERT: 5f845680f jobs - edit referrers and user-agents data and init work on autoconf integration
REVERT: d12369c90 jobs - various bugs fixed and old files removed
REVERT: 366e39f59 jobs - SelfSignedCert, runner and reloader
REVERT: 71741b2d3 jobs - cache management
REVERT: 2fca4cd01 jobs - logging and error management
REVERT: fccf14627 jobs - python stubs
REVERT: b3684efaf jobs - init work on refactoring
REVERT: 82548378a crowdsec - move as external plugin
REVERT: b926b0db6 examples - use example.com instead of website.com
REVERT: 6713f56ec linux - fix centos install
REVERT: 2b923c05c compile and install LUA 5.1.5 to /opt/bunkerized-nginx/deps and introduced REDIRECT_TO feature
REVERT: 71cf3cf5c use local sources when building Docker image, add LOCAL_PHP and LOCAL_PHP_REMOTE to settings.json and fix pip bug related to removed working directory
REVERT: 8e3dbf1c7 fixed some fedora bugs, support LOCAL_PHP and LOCAL_PHP_PATH and sample variables.env
REVERT: 49ada6a8c linux - init work on fedora support
REVERT: 947e86f7c linux - uninstall script
REVERT: a12561a85 remove useless nginx-keys folder and add lua_package_cpath to http conf
REVERT: 6b19bd026 deps - add cjson LUA files to deps folder
REVERT: 6738b28b9 deps - move dependencies to dedicated /opt/bunkerized-nginx/deps folder to avoid messing with the system
REVERT: 010c0fd6d rename gen/requirements.py to requirements.txt, add git/bash to Docker deps and fix typos in README
REVERT: ecf30a71f deps - init work on single install script
REVERT: ffc4fc950 deps - manual compile/install of libmaxmind and upgrade lua-resty-core
REVERT: b9955699b Merge pull request #152 from thelittlefireman/patch-11
REVERT: 860fd1ace Upgrade desps
REVERT: eb5d13fb8 Upgrade lua-nginx module to 0.10.20
REVERT: ca41987cd Upgrade corerules to 3.3.0 & modsecurity to 3.0.5
REVERT: 3af1b397f UI - digging bugs from services, still some work to do
REVERT: 72a09eac6 UI - add CSRF protection
REVERT: 0d3f7d392 UI - admin authentication and bootstrap update
REVERT: 6be082e0a UI - init work on admin account
REVERT: 4947796c9 UI - fix instances bugs
REVERT: ba197dfa4 UI - bind gunicorn to 127.0.0.1/0.0.0.0:5000
REVERT: 4dd1ff847 UI - copy from helpers, systemd service and instances page update
REVERT: f771ec43f ui - init Instances class to support Linux and API for Docker/Swarm
REVERT: e241b0c93 logs - move everything from /var/log to /var/log/nginx
REVERT: d03a1a6e3 linux - add jobs.log
REVERT: 2c9c9fb62 linux - run master process as root
REVERT: deb28c599 autoconf - fix folders
REVERT: 2ea7331da jobs - disable post-jobs when SWARM_MODE=yes on SIGHUP
REVERT: 92ee40819 whitelist - fix /.well-known/acme-challenge whitelist for let's encrypt
REVERT: 2ccfb26e8 docker - fix CVE-2021-33560
REVERT: 70f9f8417 templates - add missing new line when necessary
REVERT: c4aef1d60 authelia - choose portal or auth basic mode
REVERT: a385183d8 authelia - various fixes
REVERT: cec47f3a7 body injection feature and add authelia to documentation
REVERT: c894c8370 authelia - add variables to settings.json
REVERT: f73b088f7 authelia - initial work
REVERT: 130c6752d Merge pull request #148 from aFresquetIntech/dev
REVERT: f97ea6785 Create .env
REVERT: 850429986 Correction
REVERT: 4a8da40cf reverse-proxy-zammad
REVERT: 0114c7b09 examples - edit basic PHP
REVERT: bebe89afb linux - edit path for default errors, ignore comments in variables.env, install/prepare certbot
REVERT: b2cceb608 linux - fix centos
REVERT: 37f5e4ed7 linux - fixed debian/ubuntu but still some work needed on centos
REVERT: 98568a57c linux - fix /var/log and typo in daemon directive
REVERT: 499192287 linux - fix daemon directive and rights on /etc/nginx
REVERT: bcb8acc36 linux - add RX permissions to /opt
REVERT: a9279053a linux - add executable right to gen/main.py
REVERT: 60057a17e linux - fix tests docker cp and pass single -c argument to su
REVERT: d0366fcc0 linux - started work on bunkerized-nginx command
REVERT: b448d91ca actions - fix centos test and docker image name when pushing
REVERT: e309ce6fd docker - fix permissions on /opt
REVERT: 37090dc66 actions - fix manifest error with buildx and load
REVERT: 6bb6facd8 add load: true when autobuilding images and move from /bin/sh to /bin/bash
REVERT: a1fcbd4b8 fix actions and configure
REVERT: 09a2a4f9e github actions refactoring
REVERT: 1e02368e8 linux/docker - common /opt/bunkerized-nginx folder
REVERT: bbb5134a3 fix configure arguments and CRS include
REVERT: b0f93fb84 fix Dockerfile again
REVERT: c892f037d fix Dockerfile
REVERT: 731c0f61d linux - init work on installer
REVERT: 93543d396 Linux - use the same dependencies script for Docker
REVERT: 5ec9e6ab4 linux - CentOS 7 install
REVERT: cc0d0af8d linux - ubuntu installer
REVERT: 43d2097d1 linux - nginx install on Debian
REVERT: f880e5e2a linux - continued work on install helpers for Debian
REVERT: 9636013f5 linux - started work on installer
REVERT: 15bdb076c hotfix - fix docs get_git_branch
REVERT: d62c4f466 v1.2.7 release
REVERT: ad52ef326 autoconf - prevent race condition by checking health state
REVERT: 3bd3b6fd7 Merge pull request #145 from thelittlefireman/patch-10
REVERT: e41acc20c Upgrade ModSecurity-nginx to v1.0.2
REVERT: 3c721dc2a add HEALTHCHECK to Dockerfile and append 10.0.0.0/8 to DNSBL whitelist
REVERT: 491d879fe jobs - cleaning the mess when using autoconf without swarm mode
REVERT: 52534510e fix bug when AUTO_LETS_ENCRYPT=yes and certbot can't resolve challenges
REVERT: 2c7337576 jobs - fix syntax error
REVERT: 9e4961ccb docs - rename sitemap to bypass rtd rewrite
REVERT: 01857d8ac gen - display the reason when ignoring a variable
REVERT: ab9f9e0a4 jobs - fix jobs when MULTISITE=yes
REVERT: 29dc64ca3 actions - add Docker cache to speedup auto build on the dev branch
REVERT: b5cd4e037 docker - build and push images from GitHub actions because of future DockerHub restrictions on autobuild
REVERT: 16101144c self-signed cert - fix bugs
REVERT: 95510e6e1 settings - add underscore to CUSTOM_HTTPS_CERT/KEY regex
REVERT: dd5890e76 geoip - fix bug when using GeoIP
REVERT: c3a437fa8 docs - rename the sitemap to avoid conflicts ?
REVERT: 518ddd323 docs - custom robots.txt
REVERT: 177a82ee6 docs - automated sitemap.yml
REVERT: 39db7b368 v1.2.6 release
REVERT: 9442e5914 jobs - fix jobs in Swarm mode
REVERT: fcc6b3b5e various bug fixes related to Swarm
REVERT: 678ad70b0 docs, various fixes and certbot-cloudflare example
REVERT: e8f5db0b2 docs - add plugins system
REVERT: 8295f6aeb plugins - clamav example
REVERT: 388fc1a0e plugins - started basic plugin system
REVERT: 62217a321 add contributing guidelines and license
REVERT: 53e433b1a readme - replace some badges
REVERT: f640157b1 Merge pull request #138 from bunkerity/feature-request-template
REVERT: d646f3e5b Update issue templates
REVERT: 4b31d005e crowdsec and generator fixes
REVERT: d2135c19c docs - road to v1.2.6
REVERT: 8cda1baf7 fix web ui multiple variables and add default error pages
REVERT: 445032406 dnsbl - disable checks when IP is local
REVERT: 74fb01536 web UI - init work on using docker-socket-proxy
REVERT: ee178de6a web ui - mostly finished templating integration (needs some testing)
REVERT: 7323525b6 ui - show only multisite vars for settings
REVERT: 82e47f147 ui - Dockerfile fixes and missing get_config function
REVERT: 2db967ad1 templating - road to web ui
REVERT: 1d96620ae templating - init integration into web ui
REVERT: 99c259bf1 templating - prepare integration into ui
REVERT: c7b81cfc1 various bug fixes related to HTTPS
REVERT: dfce0c06d autoconf - fixing various bug when SWARM_MODE=yes
REVERT: 0f8e56a66 templating - fixing bugs with autoconf
REVERT: f950abdc2 templating - started integration into autoconf
REVERT: 4a73ae819 various bug fixes on templates and nginx update to 1.20.1
REVERT: e2f02ee91 templating - prepare integration for autoconf
REVERT: a991b262e remove ClamAV because of GPL and started work on read-only filesystem
REVERT: a8bc17e83 templating - started integration into docker image
REVERT: ec19f9308 templating - added missing features in site templates
REVERT: 23aa05300 templating - auth basic support
REVERT: 289ad106c templating - multisite support
REVERT: bbc5bbc9e templating - fix some site templates
REVERT: 633a07686 templating - init work on site templates
REVERT: 996c45df4 templating - init work on global templates
REVERT: 801530baf templating - road to full jinja2 templates
REVERT: c65dda391 templating - init work on templating with jinja2
REVERT: ea891969c templating - updated settings.json with global settings
REVERT: 698ae17c4 templating - init work on generic settings management
REVERT: 664563284 antibot - basic pow with javascript
REVERT: 16e5ede13 antibot - custom templates
REVERT: 8260746fe logs/lua - add logger tool
REVERT: de560490d fix LUA array variables and add LOG_LEVEL to the troubleshooting section
REVERT: 96db3a450 log - add LOG_LEVEL variable
REVERT: 73543f4b0 hardening - add no-new-privileges
REVERT: d9bb97be5 lua - move global vars from lua to site config (untested)
REVERT: 863283d09 started work on moving variables from .lua to nginx
REVERT: 600484b16 crowdsec - fix bugs and update example
REVERT: 7c6a13c54 examples - improve nextcloud example so it works with webdav clients
REVERT: b3bb4ec40 remove unnecessary dependencies and update doc about certificate bundle
REVERT: 69f465720 examples - fix typo BAD_BEHAVIOR_STATUS_CODES
REVERT: d02985d21 check permissions for missing volumes and add comment about permissions on examples
REVERT: b0ca85ff7 v1.2.5 - performance improvement
REVERT: 2f115c444 Merge pull request #131 from bunkerity/issue-templates
REVERT: 7f15741ea Update issue templates
REVERT: 288b8eb85 docs improvement + road to v1.2.5
REVERT: 61c08fb97 docs - troubleshooting
REVERT: 01ef47a66 docs - security tuning improvement
REVERT: 71515a910 doc - volumes list
REVERT: a33d0658c docs - road to a beautiful documentation
REVERT: 0b3ff6a9f bad behavior - move from fail2ban to pure lua
REVERT: eb2d0d330 performance - rsyslog and fail2ban removing
REVERT: 5bcbb3863 doc - official document started
REVERT: ca660b250 init work on official doc
REVERT: 3a34436cd add AquaeAtrae example for ROOT_SITE_SUBFOLDER
REVERT: b1d03cd11 performance - move bad user-agents and referrers checks from nginx to LUA with caching
REVERT: 42c3fb874 add sandbox allow-downloads to the default value of CONTENT_SECURITY_POLICY
REVERT: f1c043604 add missing backslash in the quickstart guide and update autoconf examples with the depends_on directive
REVERT: fd61df205 performance - move external blacklists checks from nginx to LUA
REVERT: 009d6fb5a choose connection and nofile numbers, increase error_log level to get modsecurity rules, add MODSECURITY_SEC_AUDIT_ENGINE var
REVERT: ba4185a42 jobs - fix automatic reload
REVERT: 70976d0fb fix user-agent not blocking and add documentation on bundle when USE_CUSTOM_HTTPS=yes
REVERT: 062a39c63 integrate AquaeAtrae work - add ROOT_SITE_SUBFOLDER
REVERT: 83841b290 jobs - edit adren work on external blacklists
REVERT: 10dc58cb6 Merge pull request #126 from adren/patch-6
REVERT: 668754686 Merge pull request #125 from adren/patch-5
REVERT: 84b1933f6 Merge pull request #124 from adren/patch-4
REVERT: 15f6d0a32 Merge pull request #123 from adren/patch-3
REVERT: e628361a8 Merge pull request #122 from adren/patch-1
REVERT: f8d71e067 improved way to generate user-agent file
REVERT: 02ae3b6bd change IFS before subshell
REVERT: 2fb0e7c47 deduplicate list of user-agents
REVERT: 9adcc2f1a more optimized way to generate map referrer file
REVERT: 7b98db4d1 improve the generation of blocking file (abusers)
REVERT: ddb2b8591 improve generation of block file (Tor exit nodes)
REVERT: da1a460a6 huge improvement to generate blocking file
REVERT: 07be62684 hotfix - fix API in autoconf swarm mode
REVERT: 3bb164395 hotfix - move API_WHITELIST_IP edit to lua.sh
REVERT: bc2568a17 v1.2.4 - nginx 1.20.0 support
REVERT: 5ec74880d update README for v1.2.4
REVERT: f84fd7c9a fix permissions issues for autoconf and fix volume for ghost example
REVERT: 6521d7a27 fix client cache so it works in combination with reverse proxy and examples update
REVERT: 813607fbc improve crowdsec example and disable modsec logging when not necessary
REVERT: 843644f80 log - replace some WARN tags from LUA logs with NOTICE to avoid confusion
REVERT: 19fa0eb25 log - print modsec_audit.log to make debugging easier
REVERT: b4df28722 log - send logs to remote syslog server
REVERT: 5ce41edc0 api - whitelist IP/network for API
REVERT: a3cfb50b4 example - fix certbot wildcard
REVERT: 25494acac example - wildcard certificate with certbot
REVERT: a98dae1fb fix CVE-2021-20205 and examples update
REVERT: 1a7abab57 nginx 1.20.0 support
REVERT: 42b7a57f0 fix autoconf bug when removing config with multiple server name and increase default LIMIT_CONN_MAX for average website with HTTP2
REVERT: 02f9fbe5f autoconf - fix certbot bug when multiple server_name for one service
REVERT: 69fe06677 autoconf - fix bug when multiple server_name for one service
REVERT: 74417abc9 fixing bugs - run as GID 101 instead of 0, different permissions checks in swarm mode and disable including server confs in swarm mode
REVERT: ba7524a41 fixed LUA bug
REVERT: b55aafb99 finding the LUA bug
REVERT: deeb7a76a Merge pull request #117 from thelittlefireman/patch-9
REVERT: ee8aaa4e7 fix lua crash 2
REVERT: 605d59a45 Fix lua mistake
REVERT: b85c991b6 bug fixes - /usr/local/lib/lua rights and syntax error in site-config
REVERT: 0d3658adf REVERSE_PROXY_HEADERS - use proxy_set_header instead of more_set_headers
REVERT: 0b22209c9 documentation - userns remap feature
REVERT: e44a1f3e1 added the uri to limit_req_zone key to limit bruteforce attack on a specific resource instead of the whole service
REVERT: aa614f82f print error when permissions are wrong on common volumes
REVERT: c03d410b0 refactored whitelisting of user-agents
REVERT: e190167bf CIDR support with whitelist/blacklist IP
REVERT: 31e72dce1 fix /usr/local/lib/lua rights and multiple server_name support with autoconf
REVERT: b8105fc55 feature - whitelist URI
REVERT: e73c10fd8 crowdsec - fix permissions on /usr/local/lib/lua and on /var/log files
REVERT: a122a259c minor fix on AutoConf logs and auto disable etag with reverse proxy
REVERT: 7c4894d3b autoconf - fix remove event, generate config from nginx vars, more logs
REVERT: 533c2a103 fix sed script when writing site env
REVERT: 5611d544d remove reference to USE_PHP
REVERT: 397182f18 add link to twitter account
REVERT: c5c5fb17b v1.2.3 - swarm support
REVERT: 017a7780f README update, default cron update and new parameters to ui
REVERT: 34d9db7a8 web ui - bug fixes
REVERT: 361c66ca6 fixed bugs with MULTISITE variables and swarm example
REVERT: afc667885 road to v1.2.3 - fixing bugs
REVERT: c40fb3317 road to swarm - automatic reload after jobs
REVERT: 93ad3c0b5 road to swarm - let's encrypt fix
REVERT: ceed90488 road to swarm - still some mess to fix
REVERT: b8027d2ba Merge pull request #102 from thelittlefireman/proxy_custom_headers
REVERT: 8d03a14a6 Merge pull request #103 from thelittlefireman/fix_truncated_3
REVERT: d16f4517a Enhancement add custom proxy headers #97
REVERT: 89ca91b3f Fix truncated variables (last commit)
REVERT: 6a714e2ec road to swarm - fix race condition on initial configuration
REVERT: 0d3da0353 prepare /www directory, fix log socket path and whitelist acme challenges path
REVERT: 33163f65b init work on disabling root processes
REVERT: a2543384c road to swarm - add openssl to autoconf, fix api_uri in LUA, fix file rights
REVERT: 3591715f2 road to swarm - fixing things
REVERT: 95f7ca5b2 road to swarm support - needs a lot of testing
REVERT: 816fa47cb introducing SWARM_MODE env var
REVERT: 7756c2df3 Merge pull request #98 from mromanelli9/fix/readme
REVERT: 7509ec2f2 basic API to be used in swarm mode
REVERT: 6e93575e1 remove ALLOWALL from X_FRAME_OPTIONS options
REVERT: ba4c97755 remove old anchor
REVERT: 781e4c8cb autoconf little work on swarm support
REVERT: e04c783d1 autoconf - init work on swarm mode
REVERT: e12b656bd Merge branch 'patch-7' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: cae05447d custom crontab values
REVERT: 4b58e2265 Merge branch 'patch-5' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: 6b56e21a0 Merge branch 'whitelist_ua' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: 544a09e8d Update lua-cs-bouncer
REVERT: 8386dd4a2 custom config outside server block
REVERT: f052a2516 Merge branch 'pre_server_confs' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: 43750f553 Merge pull request #73 from thelittlefireman/patch-4
REVERT: 9142afdb5 Merge pull request #72 from thelittlefireman/patch-3
REVERT: 66c4fed79 Fix env variable with space are truncated 2
REVERT: f41846e9d Fix env variable with space are truncated
REVERT: 92cc705b9 Reduce memory usage : set cron tasks at different hours.
REVERT: 47fb3a05b Upgrade crowdsecurity/lua-cs-bouncer
REVERT: 5940f402c improve default tls security
REVERT: d9ca275d5 Add before `server {}` config.
REVERT: 8353bd9c8 Allow to add a whitelist by site on user-agent
REVERT: d902e2f29 Add last missing reverse proxy header
REVERT: 1a8b8043c Add LIMIT_CONN var to server.conf
REVERT: 65120a7e9 Add USE_CONN_LIMIT info to Readme.md
REVERT: b093a4755 Add default values for LIMIT_CONN
REVERT: 73dbf03c9 add USE_LIMIT_CONN zone to global config
REVERT: 6ee746236 Add USE_LIMIT_CONN to site-config
REVERT: fa935eb6e edit nginx.conf to add limit_conn
REVERT: cf231e13c Add limit-conn.conf
REVERT: d5d699252 v1.2.2 - web UI (beta)
REVERT: 50f95420b README update - road to v1.2.2
REVERT: dc382c3e0 various fixes - autoconf process order, multisite config and examples
REVERT: 0026328f2 edit default FAIL2BAN_IGNOREIP subnets
REVERT: 9023ab5ae Merge pull request #67 from thelittlefireman/patch-2
REVERT: 124474ad6 Edit README.md to add FAIL2BAN_IGNOREIP
REVERT: eac9c8f51 Prepare FAIL2BAN_IGNOREIP to avoid self blocking
REVERT: 1ee490de6 Prepare FAIL2BAN_IGNOREIP to avoid self blocking
REVERT: 825e6a747 crowdsec v1 integrated
REVERT: 09a984c86 started crowdsec v1 integration
REVERT: fd7afa17b fix missing ';' in include
REVERT: b9b7fdfcc Merge pull request #63 from thelittlefireman/patch-1
REVERT: 58e1d66bc UI - minor alert css fix
REVERT: 7026643f8 UI - fix missing MULTISITE env var when managing services
REVERT: 06f688fe9 fixed stop and reload operations
REVERT: c65b78b1c UI - instances/services backend update (needs testing)
REVERT: f9b9b9546 UI - introduced multiple config parameters (like reverse proxy) in frontend
REVERT: b5fe6335c UI - instances backend started
REVERT: 951f3957f UI - default service values
REVERT: 0f520b891 UI - services backend started
REVERT: 569ad75c4 UI - config.json refactoring
REVERT: bd7b6af66 UI - load config template from json
REVERT: 459bb8ea1 UI services modals and default CSP update (fix new tab links)
REVERT: 208b5acb3 UI - minor services list improvement
REVERT: 59b2fed41 UI - basic services list
REVERT: a4871a915 Add missing proxy headers
REVERT: 026783f01 Fix missing reverse proxy headers
REVERT: 811585345 Fix missing proxy headers on site-config.sh
REVERT: c5f283b00 UI - minor front update
REVERT: 03ce7a648 fix modsec double inclusion when MULTISITE=yes
REVERT: 3f7e2c54b JOBS - fixed some job script and right temp nginx reload
REVERT: bb0f46d8a JOBS - fix job_log
REVERT: c5b32dfc4 fix CVE-2020-1971 again
REVERT: 9a4f96ad1 fix CVE-2020-1971
REVERT: f258426f5 JOBS - fallback to old conf in case reload failed
REVERT: 119e96361 JOBS - be more verbose about jobs failure/success
REVERT: 373988670 Merge pull request #54 from thelittlefireman/patch-4
REVERT: 2a956f2cd Fix #52
REVERT: 15a37a868 UI - minor UI improvement
REVERT: 3a3d52790 UI - basic read fixes
REVERT: e6b5f460c UI - basic read from docker API
REVERT: 002e3ed2b security tests for autoconf and ui
REVERT: 7b55acbe8 web UI example and CVE-2020-8231 fix again
REVERT: 559b7835d ui - automated build
REVERT: 4ea01bd93 print some logs when blocking bots
REVERT: a73891a3b fix CVE-2020-8231
REVERT: 26199f52c remove additional / in modsecurity include
REVERT: 5c3f94a84 edit reverse proxy var name in README
REVERT: 043fcdc13 autoconf - automated build
REVERT: b86ded3d1 autoconf - multi arch Dockerfile
REVERT: 92569679b dynamic reload of nginx by sending SIGHUP
REVERT: 15e74e486 more work on standalone autoconf
REVERT: fd0a6412d init work on standalone autoconf
REVERT: 419fdfc86 fix auth basic when MULTISITE=yes
REVERT: 0bc1f652b v1.2.1 - autoconf feature (beta)
REVERT: 6c7461e29 integrate thelittlefireman work
REVERT: d01bc5e01 Merge branch 'patch-1' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: 75c69c810 last fixes before next release ?
REVERT: e26b8482a Add missing EMAIL_LETS_ENCRYPT parameter
REVERT: f618c73e6 road to v1.2.1
REVERT: 78c1e5c67 examples - same domains for internal tests
REVERT: 481e10d3e reverse proxy - websocket example
REVERT: aae2a7198 autoconf - php example
REVERT: f3bf04e39 dirty fix to disable default server when MULTISITE=yes
REVERT: 36cbb927c autoconf - various fixes
REVERT: 95153dbc5 moved UA, referrer and country check after whitelist and blacklist check
REVERT: 26947179a moved UA and referrer check to LUA
REVERT: 88f27bfeb autoconf - reverse proxy example and pass default vars
REVERT: 3cc1615c4 fix user-agent script
REVERT: 8bacf722a Merge branch 'fix/variable-naming' of https://github.com/mromanelli9/bunkerized-nginx into dev
REVERT: 2bfc4b41f first work on automatic configuration
REVERT: 587d4a92e incorrect variable naming
REVERT: c311d0c82 add crawler-detecter bad UA
REVERT: 0d03f49eb websocket support with reverse proxy
REVERT: 2112c306a custom log format
REVERT: 8f9dcc5ab last fix ?
REVERT: 2fe05d3fd fixing scripts again and again
REVERT: db04c0345 fix referrers again
REVERT: ed8bd902b fix referrers script
REVERT: 3a7aa5d9c block bad referrers
REVERT: 9ec9de6ca multiple lets encrypt certificates when MULTISITE=yes
REVERT: 791342cbe fix LUA DNS code when answers is nil
REVERT: 2f23671c3 fail2ban fix when MULTISITE=yes
REVERT: e350a717f fix default DNS_RESOLVERS
REVERT: e818acb0d prestashop example
REVERT: b92f74ed9 dirty fix for CVE-2020-28928
REVERT: 9688e6650 check all vulnerabilities with trivy
REVERT: 700dfc018 v1.2.0 release
REVERT: 42e4298b5 readme update - v1.2.0 changes
REVERT: 813b42cfa php and nextcloud examples fix
REVERT: 58fcf0a72 added Permissions-Policy header
REVERT: 587918380 custom headers to remove
REVERT: 203259688 automatic trivy scan
REVERT: eaf817d57 php config and examples fixes
REVERT: dd7768c85 whitelist/blacklist country at LUA level to avoid SEO issues
REVERT: fe1d724c9 country whitelist/blacklist
REVERT: 0635eb368 various bug fixes
REVERT: fbf81c94b cached blacklists data
REVERT: ed451877a examples update and multiple REVERSE_PROXY_* on single site
REVERT: 0f18e9c55 reverse proxy support via env vars
REVERT: 8f7cb5318 proxy caching support
REVERT: 60fbbc101 move some http directives to server
REVERT: 0f0593456 various fixes
REVERT: 8cdc155ac multisite examples and certbot renew fix
REVERT: 1abe1da89 brotli support
REVERT: f18c054b4 gzip support
REVERT: 4dea1975e client caching
REVERT: c2b05c463 fix BLOCK_COUNTRY bug and add support for ModSecurity custom confs when multisite=yes
REVERT: 2da51d92a multisite - bug fixes
REVERT: bd7997497 autotest through github actions
REVERT: e89e34a84 auto test fix
REVERT: ff02878dd auto test setup
REVERT: 44b016be9 road to multi server block support
REVERT: 36c4f3e06 v1.1.2 - CrowdSec integration and custom ports
REVERT: 798f6c726 examples - nextcloud fix and tomcat
REVERT: 761c14a0b custom HTTP and HTTPS ports
REVERT: 4a07eca69 crowdsec integration
REVERT: e1274a608 passbolt example
REVERT: 3ec81cd84 Fix broken line in README
REVERT: 95752ff0c v1.1.1 - TLS 1.2 support
REVERT: 8623510f8 https fix
REVERT: 95a76b11f peterkimzz integration and dhparam
REVERT: b0e4740a7 [New Features] - Added "HTTPS_PROTOCOLS" environment value to enable to customize TLS version. default value is "TLSv1.3". (because TLSv1.2 sometimes needed) - READMD.md
REVERT: e84360857 README update - v1.1.0
REVERT: 2f6866789 logrotate copytruncate
REVERT: 1d63838ee examples - fix port number
REVERT: e4bdd4af5 examples - nextcloud fix and moodle
REVERT: 2c33463af renamed logrotate script
REVERT: 9ff210bed wordpress and nextcloud examples
REVERT: 0b7301886 install CRS by tag in compile.sh
REVERT: e1356e3eb logrotate.conf update and some cleanup
REVERT: 34a0da444 logging fix again
REVERT: 022a653eb display fail2ban.log and logging bug fix
REVERT: 4c11a9125 automatic docker tags with VERSION
REVERT: 88b52478c automatic Secure flag on cookies
REVERT: ce82e22db remove integrated PHP
REVERT: 397415211 antibot - check IP with sessions and recaptcha
REVERT: 68d798855 tor hidden service example
REVERT: 16eab0f63 README update
REVERT: 6a22f7711 load balancer example
REVERT: 222426854 Merge pull request #13 from FacundoAcevedo/patch-1
REVERT: d63c57985 Fix typo in the link in the TOC
REVERT: e19a7c693 run master nginx process as non-root user
REVERT: 7a8795883 dockerfile fix - compile
REVERT: 01095bd72 gpg fix and secure git clone
REVERT: 0e6729c62 check GPG signature of nginx sources
REVERT: 040b6a223 Merge branch 'patch-1' of https://github.com/fabianmoronzirfas/bunkerized-nginx into dev
REVERT: 5f62120e4 fix(typo): add missing »find«
REVERT: e8503b9cc ARM build fix
REVERT: 676571e4a use nginx:stable-alpine as base image
REVERT: 34254a09e examples and DNS_RESOLVERS fix
REVERT: 81cff3648 readme update
REVERT: e166b1fea awesome gif resized
REVERT: f08bba8cc awesome gif
REVERT: ccf439228 session secret fix
REVERT: c1d44387b basic antibot feature through recaptcha v3
REVERT: 135126e3f readme fix
REVERT: ac251b0f6 Merge branch 'master' of https://github.com/ZILosoft/bunkerized-nginx into dev
REVERT: ac242c977 Update README.md
REVERT: 2909b7989 basic antibot feature through captcha
REVERT: 446ee3761 basic antibot using javascript
REVERT: 6e1c43c4c basic antibot feature through cookie
REVERT: 652d8ac97 fixed typo in manifest
REVERT: de1952b5f README - toc update and title fix
REVERT: 16a458db2 README improvement
REVERT: f27d80e0d various fixes and lua logging
REVERT: fc3d911ff improved blacklist/whitelist/dnsbl with lua
REVERT: ef7d842ff arm64v8 auto build and master manifest
REVERT: 0e5704983 manifest for automated builds
REVERT: aaef37007 improved logging with rsyslog
REVERT: 6e3c2ddcc integrated ajarmoszuk work
REVERT: 919b418d5 Added the ability to self generate SSL certificates
REVERT: fb1a0182e Added the ability to see Real IPs if Nginx is running under another proxy (such as Traefik).
REVERT: 2e0a8307d i386 fix again
REVERT: 181003efe i386 fix
REVERT: fca7bb075 automatic builds
REVERT: 764038d40 README update
REVERT: f4c43a214 block proxies and abusers
REVERT: 3a9afa47b Merge pull request #5 from ajarmoszuk/patch-1
REVERT: 2c12df3b9 update default req_limit values
REVERT: 2f967a9f4 Update entrypoint.sh
REVERT: eba5f6280 req limit
REVERT: 44155b5d6 dnsbl ipairs fix
REVERT: 829c1c697 some fixes and README update
REVERT: f3721a50d sitewide auth basic
REVERT: b56e4e765 dnsbl feature
REVERT: 1654e913a lua support
REVERT: 3e5ca583c remote PHP-FPM support
REVERT: bcd17dbea automatic geoip update
REVERT: 14ec9f3e6 logrotate and compile fixes
REVERT: 5b5e6e33a awesome logo
REVERT: 1aa1dcf50 logrotate support
REVERT: f30a06d94 syslog integration and fail2ban improvement
REVERT: cd19841ec readme - details about modsec include order
REVERT: 94b29a6ca fixed some include orders
REVERT: bf605ce59 custom root folder and little fixes
REVERT: b14b09ad5 default CSP update
REVERT: 4f5e5f013 readme improve
REVERT: 76bd069f2 php POST max size and custom HTTPS cert
REVERT: 1d6ab7275 http basic auth fix
REVERT: 472ec31cd readme fix
REVERT: caa415e12 http basic auth
REVERT: 8561d47be create a customized image
REVERT: 4bede275f fix typo
REVERT: efcf93710 inspectFile fix
REVERT: ccaaa8b57 readme fix
REVERT: b83111ad1 realip, minor fixes and README
REVERT: a2be2e8ae improved README : format, modsec, fail2ban and clamav
REVERT: 48a0036d2 updated readme
REVERT: bf0bef289 clamav support
REVERT: 193070b14 fail2ban support
REVERT: 716e54e59 custom http/server confs and better modsec customization
REVERT: 43403f69e disable default server
REVERT: 69ac95b29 block country and various fixes
REVERT: ecf2de8b7 multiple let's encrypt domains
REVERT: 8427564f4 user-agents escape fix
REVERT: c56bde4f0 fix certbot-renew.sh syntax
REVERT: 834afa132 http to https redirect
REVERT: d5f8c7647 custom modules and write access
REVERT: 5bcdb0219 f**k markup ?
REVERT: 3233f3b76 fix readme
REVERT: 62eda8173 improved README
REVERT: 09e6b50e5 custom conf
REVERT: 5d16f6a8f fix README
REVERT: 1b5f6deb2 cookie flags and maxmind update
REVERT: ea1dbc617 updated readme
REVERT: 0b703ea55 content security policy
REVERT: 1e642e2f1 initial readme
REVERT: e90060ce6 initial work
REVERT: 70f849fbb Initial commit

git-subtree-dir: src/deps/src/lua-nginx-module
git-subtree-split: c47084b5d719ce507d2419d8660f39544a9d1fea
2023-11-17 10:22:23 +00:00
Théophile Diot e1c67363e5
Merge commit 'c7f7669a8cbbcf7f7ce0fc2a294bd7e316522236' into dev 2023-11-17 10:21:56 +00:00
Théophile Diot c7f7669a8c Squashed 'src/deps/src/headers-more-nginx-module/' changes from 576cb8197..bea1be3bb
bea1be3bb doc: Fix typo. (#97)
d502e4199 bugfix: nginx crash when accessing uninitialized pointer.
91eb0db9e bugfix: update handling of multiple headers changed in nginx 1.23.0.
e536bc595 bugfix: fixed build error with nginx >= 1.23.0
00be83f1d doc: update the description of nginx compatibility. (#131)
a4a068660 travis-ci: upgrade dist of travis-ci to ubuntu bionic. (#124)
f85af9649 travis-ci: bumped the NGINX core to 1.19.9, remove clang compiler mode from travis to save credits. (#121)
d6d7ebab3 travis-ci: bumped the NGINX core to 1.19.3. (#114)
af8160e01 doc: we now work with nginx 1.17.x (up to 1.17.8 at least).
743a4bb1a travis-ci: bumped the NGINX core to 1.17.8.
552e216a0 travis-ci: switched to OpenResty's fork of LuaJIT.
7255ae95d travis-ci: bumped the NGINX core to 1.17.4.
380e994d3 doc: updated the nginx compatibility list.
ab40f3446 travis: bumped the nginx core version to 1.17.1.
d3a920ad3 travis: clone the lua-resty-core and lua-resty-lrucache repositories.
085fbbc28 travis: bumped the nginx core version to 1.15.8.
f1fadb9e2 tests: t/input-cookie.t: fixed a failing test case with our newest version of ngx_http_lua's LuaJIT alert log.
a9f7c7e86 tests: added a passing test for overriding Cache-Control header created by proxy module.
55fbdaba9 doc: bumped version to 0.33.
f389f1178 tests: added new valgrind false positives in the latest nginx core.
79ac9547b tests: valgrind.suppress: removed too aggressive suppressions in nginx mem pools and luajit lj_str_new.
a799a97ba tests: minor tweaks in valgrind.suppress.
d63cf91ed tests: removed extra file-trailing newlines.
4512b82a8 feature: add wildcard match support for more_clear_input_headers.
7b0762aba doc: adjusted the doc for the use of wildcards in header names. thanks Dejiang Zhu for the report.
809668963 doc: updated copyright notice.
732874a0f travis-ci: several improvements and tweaks.
491df7f8d doc: fixed more_clear_input_headers usage examples.
5aa76052d doc: bumped version to 0.32.
04916fbc4 tests: skipped the newly added test case that cannot run in check leak test mode.
30fb25901 bugfix: more_set_input_headers: skips setting multi-value headers for bad requests to avoid segfaults.
84241e444 doc: bumped version to 0.31.
2054d9261 doc: typo fixes.
72c81c922 skipped check leak mode for two test cases using malformed requests.
fbab58696 doc: claims that we work with 1.10.x since it is essentially the same as 1.9.x.
4fccc2a19 bugfix: fixed a typo in an error message.
0a5bad907 bugfix: when the nginx core does not properly initialize r->headers_in.headers (due to 400 bad requests and etc), more_set_input_headers might lead to crashes. thanks Marcin Teodorczyk for the report.
7fc33974d doc: fixed the release year.
4cb061b57 travis-ci: use "prove -r t" to run the test suite and test against nginx 1.10.0 instead of 1.8.1.
cf016595f various coding style fixes.
4612cb62d Merge branch 'master' of github.com:openresty/headers-more-nginx-module
63b8039d7 doc: release 0.30 and compatibility with nginx cores as far as 1.9.15.
b120f866e Merge pull request #52 from chipitsine/master
182d12a19 fixed "exit 0" on failed build
981a6914a feature: initial travis-ci support.
f5559ec57 doc: documented the dynamic module support in this module.
cabd03a86 doc: typo fix.
2f93b9a31 feature: now this module can be compiled as a dynamic module with ./configure --add-dynamic-module=PATH in NGINX 1.9.11+. thanks Sjir Bagmeijer for the original patch in #44.
cc19196c7 minor test tweaks.
e77178fd2 config: some refactoring.
443753c53 doc: ngx_openresty -> OpenResty.
f14b3667c doc: stated that we are compatible with nginx cores as far as 1.9.7.
88f797a5c bumped version to 0.29.
e8822662b bugfix: changing the built-in header X-Forwarded-For via more_set_input_headers or more_clear_input_headersmight not take effect in some parts of the nginx core (like $proxy_add_x_forwarded_for).
bbaa39fd9 added a .gitattributes file to correct GitHub's language tag.
51dcf0901 doc: bumped version to 0.28.
473fc9d8e bugfix: fixed errors and warnings with C compilers without variadic macro support.
a744defdf removed the useless code snippet enabled by the unused NGX_HTTP_HEADERS macro. it also triggered a compilation error. thanks Vadim A. Misbakh-Soloviov for the report in #39.
c8b4b0a95 updated docs to reflect recent changes.
5031112c0 tests: fixed the test plan in input.t.
42d8019f0 bugfix: setting (builtin) request headers Upgrade, Accept, Accept-Language, Depth, Destination, Overwrite, and Date might not take effect in standard nginx modules like ngx_http_proxy, ngx_http_headers, and ngx_http_dav.
bc48417d8 bugfix: when the response header Content-Type contains params like "; charset=utf-8", the -t MIME-List options did not work as expected at all. thanks Joseph Bartels for the report in #38.
4648e827e doc: we no longer sync from the nginx wiki site.
d0e1a7408 util/build.sh: removed $LUAJIT_LIB and /usr/local/lib from the RPATH list.
f6a745a16 bugfix: clearing input headers If-Unmodified-Since, If-Match, and If-None-Match did not clear the builtin "shortcut" fields in ngx_http_headers_in_t which might confuse other nginx modules like ngx_http_not_modified_filter_module. The first header gets "shortcuts" fields since nginx 0.9.2 while the latter two since nginx 1.3.3.
4b20caa63 tests: disabled the test cases exercising multiple http {} blocks since this undocumented feature has been disabled since nginx 1.9.3.
ccaede889 doc: bumped version to 0.26.
fdf4eabef minor coding style fixes.
d20bf26a8 fixed compilation failures with nginx 1.7.11+ configured with --with-threads.
a7f81f20b updated doc to reflect recent changes.
02fd3778a style: fixed the coding style of labels.
b4f9e524a optimize: removed the unused C function ngx_http_headers_more_rm_header. thanks Markus Linnala for the catch in #28.
2a33f3d01 doc: made it clear that more_set_headers always override existing headers with the same name.
95d8178b0 suppressed a valgrind false positive in libdl.
0c6e05d31 updated docs to reflect recent changes.
61af6c9ee doc: documented the limitation that we cannot remove the "Connection" response header with this module. thanks Michael Orlando for bringing this up in #22.
6e9dd00bb added the missing bit in commit 40414ca1. thanks Edwin Cleton for the report.
6d4d619b3 minor coding style fix.
40414ca1f fixed a warning from the Microsoft C compiler. thanks Edwin Cleton for the report.
4b718e786 various coding style fixes.
7a6fd1136 doc: bumped version to 0.24 and claims that we work with nginx 1.4.4.
fe2a70ea5 updated valgrind.suppress for i386.
540c6770f bugfix: more_set_input_headers did not completely override the existing request header with multiple values. thanks Aviram Cohen for the report.
bb9271843 doc: minor markdown formatting tweaks.
b66e2ef1b removed the plain text README file.
ad3d8d622 bumped version to 0.23.
35f8faf54 doc: added syntax highlighting to the code samples.
9c4b6ee1d minor coding style fixes.
1caf5cc41 bugfix: removing request headers might lead to memory corruptions.
566cebf00 minor coding style fixes.
6f06b3720 doc: markdown: added a "table of contents" seciton and lots of "Back to TOC" links.
5f1425508 docs: eliminated links to the nginx wiki wherever possible.
211760978 bugfix: more_set_input_headers might overwrite the value of the $host variable with bad values.
5a70b6b46 bugfix: more_set_headers and more_clear_headers might now work when multiple http {} blocks were used in nginx.conf.
3bc9f941b bugfix: eliminated use of C global variables during configuration phase.
035a5f3d3 updated docs to reflect recent changes.
6d19a3980 fixed the test plan in sanity.t.
31d0e78b7 bumped version to 0.22.
3392914d2 added a (passing) test for setting response headers for HTTP 0.9 requests.
625c550aa updated .gitignore a bit.
147c2737b bugfix: segfaults would happen in more_set_input_headers and more_clear_input_headers when processing HTTP 0.9 requests. thanks Bin Wang for the report in #14.
26f96fb41 bugfix: we did not properly initialize the location response header field in commit b21333e2d. this is a further fix for issue #7.
00ee3cfcf massive coding style fixes.
b21333e2d bugfix: segfault might happen when using more_set_headers or more_clear_headers in the case that the nginx core initiated a 301 redirect. this issue was caused by an optimization in the nginx core where ngx_http_core_find_config_phase, for example, does not fully initialize the "Location" response header after creating the header. thanks Brian Akins for the original report in #7 and Vladimir Protasov for the insight in chaoslawful/lua-nginx-module#260.
ec05b8981 updated docs to reflect recent changes.
be5ea9a6d bugfix: segmentation fault might happen in nginx 1.4.x when using more_set_input_headers on the Cookie request headers because recent versions of nginx no longer always initialize r->headers_in.cookies.
0df17d017 bumped version to 0.20.
376b7bc23 massive coding style fixes in ngx_http_headers_more_headers_in.c.
e9f060d50 added test cases for the recent fixes in the Cookie request header handling.
2da1aaa9f fixed places where we should return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR; also fixed a clang warning.
a45243e2f bugfix: modifying the Cookie request headers via more_set_input_headers/more_clear_input_headers did not update the Nginx internal data structure, r->headers_in.cookies, at the same time, which might cause issues when reading variables $cookie_COOKIE, for example.
e9b817509 bugfix: modifying the Via request header via more_set_input_headers/more_clear_input_headers did not update the special internal field in the Nginx core, "r->headers_in.via", when the ngx_gzip_filter module is enabled.
c7feaa395 bugfix: modifying the X-Real-IP request header via more_set_input_headers/more_clear_input_headers did not update the special internal field in the Nginx core, "r->headers_in.x_real_ip", when the ngx_realip module is enabled.
27c2137c6 bugfix: modifying the Connection request header via more_set_input_headers/more_clear_input_headers did not update the special internal flags in the Nginx core, "r->headers_in.connection_type" and "r->headers_in.keep_alive_n".
95ed9ce74 bugfix: modifying the User-Agent request header via more_set_input_headers/more_clear_input_headers did not update those special internal flags in the Nginx core, like "r->headers_in.msie6" and "r->headers_in.opera".
22ed8a414 updated docs to reflect recent changes.
9ba50727f updated tests to reflect recent changes in ngx_echo regarding the $echo_client_request_headers variable (commit agentzh/echo-nginx-module@2adcf59ec5.
27bcbd290 updated docs to reflect recent changes.
5f9684bbd updated .gitignore a bit.
d658a2f90 bugfix: more_clear_input_headers would result in memory invalid reads when removing the 21st request headers. thanks Umesh Sirsiwal for reporting this issue as chaoslawful/lua-nginx-module#176.
0f6132327 removed the sendmsg/ngx_channel valgrind suppression rules.
07702cf8b updated valgrind.suppress for valgrind 3.8.0.
bdb1068b6 updated docs to fix my English name. also fixed an issue in the sample code in docs that Transfer-Encoding cannot be cleared. thanks koukou73gr.
658698495 updated docs to reflect recent changes.
3147c8b4f updated .gitignore.
278ba7d20 bugfix: fixed a set-but-not-read warning from the clang static analyzer.
05a862b33 fixed compatibility with nginx 0.7.65. thanks Banping for reporting this.
b7c8cfcd3 updated docs to reflect recent changes.
2f5f6601a updated .gitignore.
4ea0a75ad bugfix: more_clear_input_headers did not remove all the instances for the builtin headers or custom headers. bugfix: more_clear_input_headers might accidentally remove request headers that are not specified at all and leave the specified headers with just empty header values when removing multiple built-in headers. thanks Matthieu Tourne for reporting the issues.
de80b7972 added a (passing) test for rewrite + more_set_input_headers.
81c8750f1 updated valgrind.suppress for linux i386.
cf7e2d587 updated valgrind.suppress for the "hup reload" + valgrind/memcheck testing mode.
33a82ed11 updated valgrind.suppress and .gitignore.
aa2ae0f8b updated valgrind.suppress.
4b4bfca98 updated valgrind.suppress.
34e238921 updated valgrind.suppress.
358052601 allow use of the DDEBUG macro from the outside (via the "-D DDEBUG=1" cc opton).
de77fd22c updated docs to reflect recent changes.
719ffa26a reindexed the test cases.
5f082e564 Merge branch 'master' of github.com:agentzh/headers-more-nginx-module
006ecab22 bugfix: removing builtin headers in huge request headers with 20+ entries could result in data loss. thanks Chris Dumoulin for the patch in github issue #6.
4f911f68d updated valgrind.suppress for gcc 4.6.
87595f744 optimized the previous commit for padding header value strings with '\0'.
7a719b8ae bugfix: the more_set_input_headers directive might cause invalid memory reads because nginx request header values must be null terminated. thanks Maxim Dounin.
ffdda4535 bugfix: more_set_input_headers did not handle the Accept-Encoding request headers properly. thanks 天街夜色.
6cd7ae83c bugfix: Cache-Control header modification might introduce empty value headers when using with the standard ngx_headers module.
55ad2f48e fixed the download page links in docs.
be6a17e76 updated docs to state that we work with nginx 1.0.8 and 1.1.5.
f7cb29e24 fixed setting Cache-Control response headers. we should properly prepare the r->cache_control array as well.
5de933dc4 we should not set header->hash with ngx_hash_key_lc, not simply to 1.
b3c6230a3 use Test::Nginx::Socket instead of Test::Nginx::LWP.
ff219e96e fixed a bug when setting a multi-value response header to a single value: the single value will be repeated on each old value.
379085532 confirmed that we work with nginx 1.0.6.
9057b0991 fixed on-demand hander/filter registration trick for HUP.
936a555d6 fixed the "<" and ">" symbols in the markdown doc.
5d484ecc7 updated links in docs.
8b78aec44 renamed the wiki file.
264e523fa added internal cross links to README.markdown.
e6c635856 added more hyper-links to README.markdown.
61db52f55 removed unused utilities.
12ccabb15 fixed source lines exceeding 80 cols; checked README.markdown.
78286ca0d confirmed that we work with nginx 1.0.5.
137855d9d release v0.15.
5fac22379 now more_set_headers supports overriding charset in Content-Type. thanks ML.
2c629dee0 fixed an issue in more_clear_headers: we should remove all the instances of the headers specified, not only the first occurrence. thanks 李杨.
b1c4273ae back-ported a bugfix from ngx_lua: in output header set, we should always set the header->hash to 1. thanks moodydeath for reporting it.
6a12aa524 confirmed that we work with nginx 1.0.2.
ef15b439f minor updates.
b27e5d92a minor coding style fixes.
28c62d1d2 added more tests for Accept-Ranges and also fixed a bug when clearing this header. thanks Bo Blangstrup.
7bba2a12b fixed the links to the test suite.
2cbbc15d6 updated the documentation to reflect recent changes.
3641ccfd5 updated .gitignore.
fb2d8935d now we postpone the rewrite phase handler only once rather than on every main request previously. this will save some CPU cycles on every request.
d732166eb removed the bundled Test::Nginx module from our repos; also raised test/t to the toplevel directory.
19e17f08b fixed two spots where we did not check against null pointers when allocating memory.
592845e90 now we use the 2-clause bsd license.
8bd248f0d updated README from the wiki page.
df422fe8a minor tweaks of coding style and .gitignore.
c808e71eb renamed the source file names a bit.
c5b6141b4 minor coding style tweaks.
b4abf2bbf Merge branch 'master' of github.com:agentzh/headers-more-nginx-module
80bcb021b Update Test::Nginx.
442f86638 updated Test::Nginx.
8447e58c5 updated Test::Nginx.
780408eff Use build farm's default server port in tests.
27735dd30 Update Test::Nginx.
9508330b0 releng work for 0.13.
7c6b53e24 fixed a bug in rewrite phase postponing algorithm which may cause eval {...} running after "if". thanks Liseen Wan (xunxin).
7d2db6fa0 enabled the no-pool-nginx patch in our build.sh script for nginx 0.8.41.
b14033607 added a test case for adding a header with an empty variable as its value (from Piotr Sikora).
435fee6d3 updated readme to reflect recent changes.
079fa9507 fixed a vim typo...
e64e736af we should explicitly clear r->headers_out.content_type_lowcase or it will defeat the gzip filter module.
55cbcab47 added tests for issue 3 ("breaks mime types") on GitHub but cannot reproduce the issue with nginx 0.7.66 nor nginx 0.8.40.
b8c872152 updated docs for v0.11.
87e6e7318 fixed the variables-in-Range-header issue reported by Alexander Vetrin.
2afd97b48 use the name "ngx_headers_more" to help SEO.
ae532d8d9 updated docs for v0.10.
aaf5fce53 removed input headers physically from the r->headers_in.headers list because ngx_proxy does not honor h->hash.
793158dcf removed some debugging code.
c68a095c4 now we can completely erase any output headers (both custom and builtin ones).
75b1bfa5d updated README to reflect recent changes.
00c986fde minor style tweaks in the .t files.
c47b63790 fixed a memory initialization issue for more_set_input_headers -r, we should always initialize hv.replace even when replace == 0. thanks valgrind++ :D
1b93def22 implemented wildcard header clear
3a67ad830 work around the links in README.
126fce84c updated Test::Nginx.
5cd9a384f documented the -r option.
0b16d5c3f Merge branch 'dobe-r'
0febdfca7 added -r flag to more_set_input_headers
7da6665da updated .gitignore.
d0f2bb40e sync'd the test scaffold with Test::Nginx 0.08 on CPAN.
fb5ebd568 use ngx_null_string whenever possible.
348da493f sync'd Test::Nginx to 0.07.
4629b7f8e some coding style tweaks.
a127664fc added t/bug.t
db9913e9c updated docs to reflect recent changes.
fc18a5cec fixed the more_clear_headers directive for builtin headers like "Server" and "Last-Modified" by always inserting an empty header when absent. Thanks Sebastiaan Deckers for reporting it.
753e74c66 sync'd Test::Nginx 0.05.
985eeb0b7 updated the test scaffold to Test::Nginx 0.04.
dd3ec52a2 updated test scaffold.
e427600d2 git ignore reindex.
1792f2d93 releng work for v0.06.
f901cecf9 confirmed that we also work in subrequests in t/subrequest.t.
1cc21a715 now the input header handler runs at the *end* of the rewrite phase.
b154fdb6b now we free empty headers and types array structs eagerly.
1a2d9c6f9 updated the test scaffold.
05e0fd6c0 sync'd the docs with the wiki page and confirmed that it works with the new nginx 0.8.28 release.
219e6dd05 added a test for rewriting the input Content-Length header using the rewrite module's set directive.
d5af63059 sync'd with the wiki page.
628923157 added the wiki page as the main doc.
bce15002d added a (passing) test for mixed input/output setters.
8288003cc more docs.
3391d9d71 fixed variables in more_set_input_headers by registering the handler in the "access phase".
e2a7a9630 added new directives more_set_input_headers and more_clear_input_headers.
83bf8ed38 now we require at least 0.7.44 due to the use of ngx_http_complex_value_t.
ad8b0e5ea releng for v0.03.
b93bd9b1f fixed the uninitialized s/t bug in parse_statuses and parse_types. also added a (failing) test for the input header directives.
219d75425 first big refactoring in order to introduce input header support.
91cf5b797 refactored the structs into the header.
993e75b20 more README tweaks.
6023eac18 tested against the latest 0.8.27 and 0.7.64.
1da2c8721 added more docs to README.
8483f9a62 removed explicit clear header handlers.
ade7573ba now we support variables in new headers' values.
742097fdc fixed a typo in README.
c131b08ed 0.7.21 is the minimum nginx version requirement.
5e86ea379 more docs and more love.
934fe6677 updated README.
c6af9971e this module is now usable.
0593d3b42 added tests for the Charset header.
6fdb040be more tests and more fixes.
51c432883 fixed Content-Type.
ba695a3c0 fixed various bugs and all tests are passing now.
b3b524553 fixed a bug where I carelessly used r->headers_in for r->headers_out. the test is passing now.
229898621 added a simple test which is failing atm :P
5af162eb9 things are complete now but we haven't tested anything yet :P
bb0a53ca0 it finally compiles :)
af379a735 implemented parsers for the -t and -s options in the config directives.
148554637 added usage to README.
8b0498a95 added README.
8876cec82 initial checkin
REVERT: 576cb8197 Merge commit 'c473aa40807f32438ffe34bdfe07f8f0485a6aa4' into dev
REVERT: c473aa408 Squashed 'src/deps/src/lua-resty-openssl/' changes from b23c072a4..89195843c
REVERT: 456e6a33d Update lua-resty-openssl to v1.0.1
REVERT: 11c4fde61 Merge commit '805e5c9cee2a72af6b6297b2993109511b42d485' into dev
REVERT: 805e5c9ce Squashed 'src/deps/src/libmaxminddb/' changes from ac4d0d248..93a7e0e56
REVERT: afcf420ee Update libmaxminddb to v1.8.0
REVERT: 7aa6affe1 Merge commit 'e3f305a953ef5dbf6802090c7013f4c38d762449' into dev
REVERT: e3f305a95 Squashed 'src/deps/src/ngx_devel_kit/' changes from b4642d6ca..91e30eb05
REVERT: cba20187c Update Nginx devel kit to v0.3.3
REVERT: 10a58377b Fix multiple CVEs related to libpq * CVE-2023-5869 * CVE-2023-5868 * CVE-2023-5870
REVERT: 7c564e4cb Update pre-commit hooks to latest versions
REVERT: bff775f00 Fix issues with the Linux integration and external databases
REVERT: 71db00281 Merge pull request #759 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.161.0
REVERT: 940eecd06 deps/gha: bump ruby/setup-ruby from 1.160.0 to 1.161.0
REVERT: 42f7ef486 Update user interface demo image in README.md
REVERT: b2a56a82a Update BunkerWeb UI demo to use thumbnail image
REVERT: 0d0bad79b Update Python version in Dockerfiles
REVERT: b539a97ad Fix CVE CVE-2023-5678 in Dockerfiles
REVERT: 05da26f01 Update dependencies to latest versions
REVERT: e153c33aa Update maxminddb and other dependencies versions
REVERT: 8d024a099 Merge pull request #751 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.7.1
REVERT: ca6271c60 Merge pull request #750 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.160.0
REVERT: fbbec2f7f deps/gha: bump rickstaa/action-create-tag from 1.6.6 to 1.7.1
REVERT: 9c6f5289d deps/gha: bump ruby/setup-ruby from 1.159.0 to 1.160.0
REVERT: bcded8f7c Add refurb as a pre-commit-config hook and apply pre-commit-config
REVERT: 966a78da9 Update Git attributes to ignore text and end-of-line settings for vendored files
REVERT: f111124b3 Update dependencies versions
REVERT: d2b82b29d Fix CVEs CVE-2023-43787, CVE-2023-43785 and CVE-2023-43786
REVERT: dc5a7b8b2 Update mmdb files
REVERT: c32522ae2 Update Certbot module to version 2.7.4 + Update python deps hashes
REVERT: 54ead4e49 Merge pull request #744 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.6
REVERT: d83536969 deps/gha: bump rickstaa/action-create-tag from 1.6.4 to 1.6.6
REVERT: b79b6548b Merge pull request #741 from bunkerity/dependabot/github_actions/dev/hashicorp/setup-terraform-3.0.0
REVERT: b05b98185 docs - update plugins to 1.2
REVERT: e8803e346 cache linux test images, fix linux example of proxy protocol and add more logs to k8s tests
REVERT: 7565b2df5 Merge branch 'dev' into staging
REVERT: c817f45ab add ready checks to limit and redis core tests and fix wrong http port for behind reverse proxy linux test
REVERT: f9f616a66 Merge branch 'dev' into staging
REVERT: 4871185dc Update python deps and pin Flask-Login version
REVERT: cd773b6e8 add ready checks to reversecan and sessions tests
REVERT: 898ef2eff deps/gha: bump hashicorp/setup-terraform from 2.0.3 to 3.0.0
REVERT: fa628cb7d linux - add default API_LISTEN_IP
REVERT: 18d682b5a linux - add missing API_LISTEN_IP initial setting and perform only hot reload
REVERT: 4fbd974d2 tests - set trace verbosity for geckodriver logs
REVERT: a7c343369 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 7d69b9105 tests - fix missing geckodriver log file in ui tests
REVERT: 29d7d94b2 [#739] Fix potential issue when fetching docker instances in the web UI
REVERT: 84eb94720 tests - add geckodriver log file for ui tests
REVERT: 40e118a71 tests - add more logs to ui linux tests
REVERT: 0e3d8e59c tests - retry UI access in case of network exception
REVERT: 86875f486 tests - fix misc ready check when using https and add ready checks for linux ui
REVERT: d4a2ba5fc tests - add ready checks to customcert and misc
REVERT: 3020c5c8e tests - add ready check for customcert core test
REVERT: c1562bc89 Merge pull request #737 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.5
REVERT: 322cfd217 deps/gha: bump github/codeql-action from 2.22.4 to 2.22.5
REVERT: caf732be1 Merge pull request #736 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.159.0
REVERT: 667620b52 deps/gha: bump ruby/setup-ruby from 1.158.0 to 1.159.0
REVERT: fb21786b8 linux - fixing nginx service not disabled and fix another missing error log path in UI
REVERT: 5887b894f ui - fix wrong error path when starting nginx
REVERT: 4e820f6de linux - remove sudo command when reloading nginx
REVERT: 35d16233c ci/cd - ignore ready conf for db tests and fix linux path for ready conf
REVERT: 9775cd5bb ci/cd - fix missing string in /ready endpoint and add /ready endpoint to linux tests
REVERT: 274a8cdfb ci/cd - trying to fix race condition for core tests
REVERT: d73a5d0f4 Merge pull request #735 from bunkerity/dev
REVERT: ed0e156bc Update Werkzeug to version 3.0.1 in web UI
REVERT: 8ec9a7df4 Fix compatibility issue with Docker Compose v2 2.23.0 in examples and docs
REVERT: 72d856abe Update certbot to version 2.7.3 + regenerate hashes for db and scheduler
REVERT: ab76c458e Merge pull request #732 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.158.0
REVERT: 6edf97a0d deps/gha: bump ruby/setup-ruby from 1.157.0 to 1.158.0
REVERT: 58d6b8142 use cap in Linux and add openssf badge
REVERT: a83a74cfa Merge pull request #729 from bunkerity/dev
REVERT: 0975de123 [#717] Add a pool_recycle database engine arg to avoid losing connection with database
REVERT: 762092e5e Remove no longer necessary retrying module
REVERT: 8963cb4d1 Update python deps
REVERT: c2252503d Merge pull request #721 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.1
REVERT: 626f10b4c Merge pull request #722 from bunkerity/dependabot/github_actions/dev/actions/setup-node-4.0.0
REVERT: f2b9fc0f8 Merge pull request #724 from bunkerity/dependabot/docker/src/autoconf/dev/python-a5d1738
REVERT: c8eae49e5 deps/autoconf: bump python from `dc2e889` to `a5d1738` in /src/autoconf
REVERT: ab320794a Merge pull request #723 from bunkerity/dependabot/docker/src/ui/dev/python-a5d1738
REVERT: 572436f20 Merge pull request #720 from bunkerity/dependabot/docker/src/scheduler/dev/python-a5d1738
REVERT: 6f366450b deps/ui: bump python from `dc2e889` to `a5d1738` in /src/ui
REVERT: f6d2e205c deps/scheduler: bump python in /src/scheduler
REVERT: 50a60382a Fix CVE CVE-2023-5363
REVERT: 989c14ae7 Fix CVE CVE-2023-5363
REVERT: a847f7778 deps/gha: bump actions/setup-node from 3.8.1 to 4.0.0
REVERT: 8708ad70c deps/gha: bump ossf/scorecard-action from 2.3.0 to 2.3.1
REVERT: eeda7a18c Update python deps + add retrying module to db
REVERT: 5193d6cd1 Update docker images
REVERT: 09ee05083 Merge pull request #719 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.157.0
REVERT: 0afed0621 Merge pull request #718 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.4
REVERT: 8919592f5 deps/gha: bump ruby/setup-ruby from 1.156.0 to 1.157.0
REVERT: d253b4438 deps/gha: bump github/codeql-action from 2.22.3 to 2.22.4
REVERT: f798a9ef9 Merge pull request #715 from bunkerity/dev
REVERT: cd902eba3 prepare for 1.5.3 🚀
REVERT: 029217ff4 Fix update-version.sh script
REVERT: 10db67b87 Merge pull request #714 from bunkerity/dev
REVERT: c7543df86 Add an handler when the ui test is reaching an error page due to a connectionFailure
REVERT: 1f5a1beac [#645] Fix web UI not keeping the data when changing the sub server names + Fix custom cert when the server name have multiple domains
REVERT: ff1fc9280 [#712] Fix custom configuration changes not taking effect immediately
REVERT: 838dcb17c Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: b18dbddcd Merge pull request #713 from bunkerity/dependabot/pip/src/scheduler/dev/certbot-2.7.2
REVERT: ca6938dfe Update ConfigFiles to use the correct name regex in web UI
REVERT: 643ea7c21 deps/scheduler: bump certbot from 2.7.1 to 2.7.2 in /src/scheduler
REVERT: e41ce10e3 Merge pull request #711 from bunkerity/dev
REVERT: b265cbad5 ci/cd - trying to fix azure/kubectl action
REVERT: 7e3aad9f0 [#645] Fix impossible to edit the server_name of an already existing service if the primary one was unchanged in web UI
REVERT: 60d43d0ce Handle service creation and editing more elegantly in web UI
REVERT: 2df85b2c9 Updated python:3.12.0-alpine image's sha256
REVERT: 3a3255e7b Merge pull request #709 from bunkerity/staging
REVERT: 4c273fe84 Merge pull request #708 from bunkerity/dev
REVERT: 9964f42e6 Fix magento k8s tests
REVERT: b2cf8986f Tweak magento tests to use latest version back
REVERT: 7f219bea0 Fix CHANGELOG release date for v1.5.2
REVERT: b9f05ad16 Downgrade magento versions to working ones
REVERT: bd6065af8 Update python deps and pin urllib3 version to 1.26.18 + Update pre-commit-config to format requirements.in files as well + Apply pre-commit
REVERT: 619e5644f Remove pip caching when setting up python in workflows to avoid errors
REVERT: 3c3643021 Merge pull request #707 from bunkerity/dev
REVERT: 7598dbc54 Update python deps
REVERT: f3982367a Update dependabot script to add reviewers and tweak the schedule
REVERT: d4f65903e Update dependabot config file to include terraform and other python deps paths
REVERT: 38429efac Merge pull request #705 from bunkerity/dependabot/github_actions/dev/actions/checkout-4.1.1
REVERT: d92e9a07a Fix k8s terraform script
REVERT: 6738b9552 deps/gha: bump actions/checkout from 4.1.0 to 4.1.1
REVERT: 0da22f44b Update k8s terraform file and update scaleway terraform version
REVERT: d77f6a72c Fix README.md links and versions
REVERT: 7bf8be324 Try to fix magento k8s tests with static versioning
REVERT: b9c5d3277 Fix timeout in ui tests and access_page function
REVERT: b1b1ab868 Fix wrong values in helm chart values file for elasticsearch in k8s magento example
REVERT: 530b8a945 Fix allow empty values when saving a config in web UI
REVERT: 22552c5b8 [#694] Optimize certbot renew script to renew all domains in one command
REVERT: db0dd5dae [#694] Fix rare bug where database is locked
REVERT: f89456cd4 Merge pull request #699 from Crazy3lf/master
REVERT: 34d68e8b7 Update regex for email
REVERT: 476d86706 Fix magento k8s tests by removing elasticsearch
REVERT: 4a10ec8c3 Merge pull request #701 from bunkerity/dev
REVERT: c4b873e3f Fix /etc/bunkerweb dir missing in linux core tests
REVERT: bcaa8faa7 Replace deprecated `set-output` command with the new format
REVERT: 08944b901 Tweak test-core-linux to fix potential bugs
REVERT: 13be6a43c Add more logs when an url file is in cache and gets deleted
REVERT: 2737fe7ce Update python deps
REVERT: 2823fa2ab Update plugin.json
REVERT: 001246b38 Merge pull request #697 from bunkerity/ui
REVERT: 1a43380d2 Merge pull request #696 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.3
REVERT: 0b319d1aa Merge pull request #695 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.4
REVERT: 7a15f8a65 deps/gha: bump github/codeql-action from 2.22.1 to 2.22.3
REVERT: a4a413eec deps/gha: bump rickstaa/action-create-tag from 1.6.3 to 1.6.4
REVERT: 7e3dabc5f Update patch commands in deps.json to skip Reversed warning
REVERT: 8093c6161 Merge commit '29737209b138a1485d55c53acf1a6783b6e60167' into dev
REVERT: 29737209b Squashed 'src/deps/src/luajit/' changes from e598aeb74..492cfdd0d
REVERT: 85913d6b2 Update luajit to v2.1-20231006
REVERT: 15d3180b6 move disabled inp msg
REVERT: 522527f0a Merge pull request #690 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.156.0
REVERT: 85ef4e4de Merge pull request #691 from bunkerity/dev
REVERT: 46d8acf7b Update dummy-plugin to new standards
REVERT: 77bfe2697 Add StyLua and luacheck to precommit config file and apply it
REVERT: da2a1eaa5 deps/gha: bump ruby/setup-ruby from 1.155.0 to 1.156.0
REVERT: cd1f87b9a Update pre-commit config hooks version
REVERT: e25fab28b fix disabled msg behavior
REVERT: c125a9bdd Merge pull request #689 from bunkerity/dev
REVERT: 10fd431fb Tweak update python deps script to make it more elegant
REVERT: 309689185 Update pythons deps
REVERT: 799756176 Merge pull request #684 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.1
REVERT: a12e5ca89 Merge pull request #683 from bunkerity/dependabot/github_actions/dev/stefanzweifel/git-auto-commit-action-5.0.0
REVERT: 15ad3a625 Merge pull request #681 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.0
REVERT: c57d725f4 Merge pull request #680 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.155.0
REVERT: 95389260a Merge pull request #688 from bunkerity/dev
REVERT: 6e5dd5557 Fix CVE CVE-2023-44487
REVERT: 565f4e3f7 Merge pull request #687 from bunkerity/dev
REVERT: f39adcab5 Update CHANGELOG.md
REVERT: a3ec85b57 Fix often occurring error with ace script in web ui
REVERT: b063ac8a3 [#652] Fix error when deleting a service that have custom configs on web UI
REVERT: ff85f1c2b Update CHANGELOG.md
REVERT: 4a9fdba42 [#645] Fix errors when using a server name with multiple values in web UI
REVERT: 47a7e1680 Fix secure_scheme_headers shenanigans with web ui
REVERT: 453108da9 Update mmdb files
REVERT: 2cbb10b3a Revert "Test Aqua security vulnerabilities with BW"
REVERT: d4d9f8745 Test Aqua security vulnerabilities with BW
REVERT: 899484c38 deps/gha: bump github/codeql-action from 2.21.9 to 2.22.1
REVERT: d461f3745 deps/gha: bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0
REVERT: cd0ceb48b deps/gha: bump ossf/scorecard-action from 2.2.0 to 2.3.0
REVERT: dc92ae825 deps/gha: bump ruby/setup-ruby from 1.154.0 to 1.155.0
REVERT: f5fe685d4 Fix children classes of Test
REVERT: f4ce2c68f Fix bw api not returning the reason of bans
REVERT: d1a0f66c9 Merge pull request #677 from bunkerity/dev
REVERT: 6935d1cb8 Merge pull request #676 from bunkerity/dev
REVERT: 7ac66a6c6 Update python deps
REVERT: 2aa9f46ef Fix default values in whitelist job
REVERT: 8f456722e Augment delay in WebDriverWait in ui tests
REVERT: 8ae7b8f43 Fix redirect tests docker-compose file
REVERT: 9b4a9277d Add libpq as a dependency for the Database to be able to connect with postgres
REVERT: 172874d1c Fix redirect tests on docker
REVERT: a518f47b9 Update CHANGELOG.md
REVERT: 0cee41867 [#656] Fix ACME renewal fails on redirection enabled Service
REVERT: e956e03ba Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: c08fd07a6 Update linguist-vendored to add modsecurity files and non patch deps files
REVERT: 466c8e584 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 27d3ca1cd autoconf - fix wrong types for dynamic settings
REVERT: 410557009 Add .gitattributes to override linguist-vendored paths
REVERT: e7498279c Revert Docker image update for tests
REVERT: fe87486f9 Merge pull request #673 from bunkerity/dev
REVERT: c2db157bb Update python docker image to 3.12.0
REVERT: eb8088164 Tweak Dockerfiles to make the build nicer
REVERT: 202698f41 Fix python deps conflicts and update them
REVERT: 0eb18cb31 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: f12a01410 autoconf - update settings from db
REVERT: 628068e9a Lint files with prettier
REVERT: f3694f0cc Add prettier as a precommit hook
REVERT: b56cce63f Fix codespell typos in README.md
REVERT: 87ca17663 Fix typos raised by codespell
REVERT: eea5dd9b7 Add codespell precommit hook
REVERT: 8fbe69261 Fix mkdocs.yml file duplicate copyright key
REVERT: cf82e73e9 Fix swarm postgres ui integration example
REVERT: 6b2df3585 Tweak py file to respect flake8 rules
REVERT: 508c728b6 Tweak pre-commit config and pyproject.toml file + Add flake8 as linter in precommit config
REVERT: 75e8c8339 Update CHANGELOG.md
REVERT: 07676a3d0 Use hashes instead of versions in github workflows
REVERT: f0761eed2 Revert "Add fuzzing tests in CI/CD"
REVERT: 4babce974 Add fuzzing tests in CI/CD
REVERT: a263f1f4f Update cron for dev-update-mmdb
REVERT: 31a839968 Merge pull request #666 from bunkerity/dev
REVERT: d8b256167 Merge pull request #665 from bunkerity/dev
REVERT: 87d2f04eb Remove no longer necessary temp fix for Flask-login
REVERT: c006e5088 Update python deps + Update Flask-Login to include the compatibility with Flask 3.0.0
REVERT: df9bf1f56 Merge pull request #664 from bunkerity/dev
REVERT: 6b0e623e5 Update Dockerfiles to install pip and its deps before the project ones
REVERT: 85068bfee Add temp fix to support Werkzeug>=3.0.0 with Flask-login
REVERT: 5a7f9147f Update python deps and update script
REVERT: 358905770 Fix bunkerweb-ui.sh script with variables not being exported correctly
REVERT: 5ed595be6 Fix shellcheck tests failing
REVERT: e21e0c812 Add shellcheck and gitleaks to pre-commit-config + tweak excluded paths
REVERT: 1b7e1840c Fix blacklist core tests' requirements.txt file
REVERT: 1f90d3668 Add a pre-commit-config file and passed all checks
REVERT: f3fc69110 Fix typos in Dockerfile when installing python dependencies
REVERT: 073e8575e Updated Dockerfile, python deps and npm package to use pinned dependencies
REVERT: cd4d529d7 Merge pull request #660 from bunkerity/dev
REVERT: b4a320afa Made ui tests better
REVERT: 8ed656068 Small fixes on linux paths creating unnecessary folders
REVERT: 8fa7adb61 Small refactor on how the autoconf updates the config
REVERT: 4ec754143 Handle changes more elegantly with the scheduler
REVERT: 0f7df13df Optimize save_config script
REVERT: 48096d711 Optimize the way the UI handles services creation and edition
REVERT: c0816bb11 Fix potential cross-site scripting vulnerability in plugins.js in the UI
REVERT: 18e5f7bff Merge pull request #659 from bunkerity/dev
REVERT: ece5ce1cd Add HTML sanitization when injecting code in pages in the UI
REVERT: 4d5002674 Extract codeQL workflow to have a separate one + Add scorecards analysis workflow file + Add UI tests for the UI branch
REVERT: 1c71572f4 Update tsparticles in the UI + remove unused static files
REVERT: 685cb9809 Update README to fix a few links and add the security scorecard badge
REVERT: 65d0aa3a8 Merge pull request #658 from bunkerity/dev
REVERT: 6e2db5991 Add a sleep before changing from cache page to log page to avoid errors in ui tests
REVERT: 1db769c32 Remove bugged UI tests check in linux
REVERT: db99d1687 Update the condition that checks the integration in core tests
REVERT: 579c80357 Update UI starting script and ui tests script on linux
REVERT: b901d2971 Update python deps
REVERT: e23f931bd Replace gevent with gthread in UI for security reasons
REVERT: 15eef6ef5 Try to fix python deps issues with linux and try to have more logs in linux ui tests
REVERT: cc0167f42 Fix ui linux tests when waiting for the ui to be ready
REVERT: fd4c147b8 Update how the scripts wait for the UI to get ready before starting the tests
REVERT: 95afba879 Change how the ui tests waits for the ui to be ready
REVERT: ea5cb0db2 Try to fix ui linux test by adding more sleeps
REVERT: cb3250e4e Fix UI linux test (again)
REVERT: 153e9fecf Fix bunkerweb linux scripts
REVERT: 81b5e80da Try to fix deps permissions with linux ui tests (again)
REVERT: 6a162d725 Fix linux permissions with ui tests
REVERT: be5fe2830 Try to fix ui python deps in ui linux tests
REVERT: 380e609ab Change ui linux tests command into development mode
REVERT: 93006cf5c Fix Firefox installation in core and ui linux tests
REVERT: 39f17bce6 Try to fix permission issues with Linux and ui python deps
REVERT: 94c7c832e Fix permissions with python deps in ui linux tests
REVERT: 42be334e4 Fix permissions with ui tests on linux
REVERT: cad3012e6 Try to fix python dependencies error with test ui linux
REVERT: a04282d3f Fix test core redis with linux
REVERT: c757f5d49 Re generate requirements.txt file for the UI with python3.9
REVERT: 052e06022 Fix core and ui workflow file for staging tests
REVERT: e71b71146 Merge pull request #655 from bunkerity/dev
REVERT: b90da0f90 Add better health check in linux ui tests
REVERT: 5c1fafe51 Updated CHANGELOG.md
REVERT: c964d68f9 Add more tries when the dnsbl server isn't found
REVERT: 78a29e65e Tweak reversescan core test to avoid false negative
REVERT: 0e9f29cc5 Revert "Fix UI shenanigans with python deps"
REVERT: 70ab9740d Fix UI shenanigans with python deps
REVERT: 0303a8f7b Update staging workflow file to include core and ui linux tests
REVERT: 16d4c1133 Optimize the way errors are being checked in linux core tests
REVERT: 2ddc8cec7 Update dnsbl list regex to accept an empty one
REVERT: 6534a429a Fix looking for error in the wrong place in test code linux
REVERT: 25eb8de01 Try to fix a few shenanigans with linux core tests
REVERT: 2065d688f Fix ui tests with docker checking the wrong containers if healthy
REVERT: 87f84d438 Add a retry on nginx error in linux core tests
REVERT: 99b30af8e Fix reverse scan python script
REVERT: 1ff2aed68 Fix UI docker tests docker compose file
REVERT: 48bcb1198 Rearrange imports for blacklist init core test
REVERT: ae9450d0d Add whitelist and greylist linux core tests
REVERT: 9a17e92d6 Fix typos in dnsbl core test
REVERT: 2244f734f Add dnsbl linux test
REVERT: a29ac80e4 Add country linux tests
REVERT: cff5c7767 Fix sessions core test for linux
REVERT: 6ae6764f2 Fix blacklist core tests docker compose
REVERT: 27959e1aa Fix sessions permissions issues with python requirements
REVERT: 47e8f20f8 Fix CVE CVE-2023-38039
REVERT: 6283ce2dd Add linux tests for blacklist and bunkernet
REVERT: f3d6f860e Remove old cached files if urls are empty
REVERT: 61c8ef73b Fix permission issues with sessions core test with linux
REVERT: be25ae8e0 Fix failing linux core tests + add more logs when an error occur in ui tests
REVERT: 33e200f65 Fix UI using the wrong database when generating the new config
REVERT: 57374ecc2 Fix tests ui with linux
REVERT: 601f0fde6 Fix tests ui linux not starting the ui service
REVERT: fdb9a7c29 Fix errors linux tests permission issues
REVERT: df1205882 Fix tests ui linux executing the wrong file
REVERT: db404a62c Fix ui tests misconfiguration
REVERT: a0aced3e5 Fix tests ui linux workflow file
REVERT: e378be9a9 Fix typo in tests ui linux file name + add more logs in ui docker tests
REVERT: 432d1587c Add linux ui tests
REVERT: 2ad886178 Fix selfsigned job with cryptography not being found
REVERT: da4390b48 Fix python modules version conflict with web ui
REVERT: 7bd48203a Fix and update python deps
REVERT: ce2fa3d36 Fix a few core tests for linux
REVERT: bca36e296 Update self-signed job to regenerate the cert if the subject or the date has changed
REVERT: 06da40bf1 Added more linux core tests
REVERT: 84a27a3fc Fix DB core test with docker
REVERT: 9e3425182 Fix path issues with db core test init
REVERT: c90cd7399 Fix permission issues in tests core linux
REVERT: 91e5528a3 Fix already existing tests core linux
REVERT: aeee38ad3 Fix misc problems related to linux
REVERT: d97326656 Fix Database not clearing old services when not using multisite
REVERT: 8a6e14d8c Added linux tests to a few core plugins
REVERT: 0ece8fda0 Fix permission issues when starting BunkerWeb in antibot linux tests
REVERT: e93513224 ci/cd Try to fix permission problems with Firefox in test core linux
REVERT: 761c01af6 ci/cd Fix test core linux shenanigans with Firefox
REVERT: 0d9349611 ci/cd Try to fix errors with firefox in test core linux
REVERT: 094d5d5df ci/cd Fix a few things with test core linux + finish antibot linux core tests
REVERT: fdae4549c ci/cd Fix permission issues (again) with test core linux
REVERT: d59cf1835 ci/cd fix permissions issue in test core linux + fix shenanigans with antibot linux core tests
REVERT: 43b1a038f ci/cd clear out firefox before reinstalling it in test core linux
REVERT: d192fbb82 ci/cd Install Firefox manually in test core linux
REVERT: 0239ca64b ci/cd test core linux remove dns resolvers override
REVERT: 1dd1caeea ci/cd Fix Firefox installation for test core linux
REVERT: a0516f773 ci/cd Install firefox from apt instead of snap + fix antibot core tests for linux
REVERT: 480c680f1 ci/cd Fix timeout in geckodriver download for test core linux
REVERT: a94dab208 ci/cd fix retry job when downloading the geckodriver in test core linux
REVERT: d0a1aab15 ci/cd Fix perms issues (again) and optimize some things in test core linux
REVERT: dd0c4c93a ci/cd Install requirements and deps in test core linux
REVERT: 294402dbf ci/cd fix perms issues with test core linux
REVERT: cd35d35c2 ci/cd Fix perms in variables.env for test core linux
REVERT: 4cce8385c ci/cd fix write in /etc/hosts file in test core linux
REVERT: 990b6336e ci/cd Fix test core linux with dpkg versioning
REVERT: ccc5eb304 ci/cd Fix version error with ubuntu and test core linux
REVERT: 6a3839040 ci/cd Fix tee command not being ran as sudo in tests core linux
REVERT: 453cfc2dc ci/cd Fix BunkerWeb installation job with linux core tests
REVERT: 0b14f8a5d ci/cd Fix install command in linux core tests
REVERT: 624f4b5bb ci/cd Fix path of the .deb file
REVERT: 61bc8a3b1 ci/cd fix .deb fetching in Linux core tests
REVERT: fa91bf6c6 ci/cd change needs and logic in test core linux
REVERT: b54c7eb61 ci/cd test secret inherit for ubuntu private test image
REVERT: 30cba0a77 ci/cd fix dev.yml
REVERT: 80d56fcca ci/cd start working on linux core tests
REVERT: 69307fba6 Fix issues with GitHub rejecting the requests
REVERT: 7c5177bf4 [#643] Fix UI clearing configs folder at startup
REVERT: b5bd17d4d Merge pull request #641 from bunkerity/dev
REVERT: ad65e01a8 Update CHANGELOG.md
REVERT: 1259fb67d Merge pull request #634 from bunkerity/dependabot/github_actions/dev/docker/setup-buildx-action-3
REVERT: b9e752f12 Merge pull request #636 from bunkerity/dependabot/github_actions/dev/docker/login-action-3
REVERT: 278eb0c8a Merge pull request #635 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-5
REVERT: dec97c8c3 Merge pull request #637 from bunkerity/dependabot/github_actions/dev/docker/metadata-action-5
REVERT: 9222420b7 [#640] Fix shenanigans when executing docker compose restart
REVERT: 07fb7cf16 [#638] When renaming a service in the UI, migrate the custom configurations as well
REVERT: f83b2278d Fix versions conflict between greenlet and gevent with UI
REVERT: e51e17835 Update python deps
REVERT: 3c95971e3 Fix CVE CVE-2023-4863
REVERT: bb7ef35ae Merge commit '35d13d7a097dd094cdbe993f18f29de0b08f1f2b' into dev
REVERT: 35d13d7a0 Squashed 'src/deps/src/zlib/' changes from 04f42ceca..09155eaa2
REVERT: d96253878 Merge commit '4430cf47ddc1f3647b3bc129f46fed2d7a145f8c' into dev
REVERT: 4430cf47d Squashed 'src/deps/src/luasec/' changes from fddde111f..4c0628705
REVERT: 37a2343e2 Merge commit 'd8ee65aa70e9737330c8a83301fd66c7dc8a8d7a' into dev
REVERT: d8ee65aa7 Squashed 'src/deps/src/lua-resty-session/' changes from 8b5f8752f..5f2aed616
REVERT: 6752b3647 Merge commit 'd7bde18da2a8a81f2d5f256bc975b1fb5b546107' into dev
REVERT: d7bde18da Squashed 'src/deps/src/lua-ffi-zlib/' changes from 1fb69ca50..61e95cb43
REVERT: af902fc4e Merge commit 'e0a89a2fcd1d0dd4cc103fc054242e8e8b10b7bf' into dev
REVERT: e0a89a2fc Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..ccc2d9b53
REVERT: 5ec7eb53a Squashed 'src/deps/src/luajit/' changes from 04f33ff0..e598aeb7
REVERT: 26d3d6c6c Merge commit '5ec7eb53a1fa30beb59d3358f16716483787b02e' into dev
REVERT: 0aaede4d6 Update core deps
REVERT: 955c7e063 deps/gha: bump docker/metadata-action from 4 to 5
REVERT: 8ea823e06 deps/gha: bump docker/login-action from 2 to 3
REVERT: a6efa5205 deps/gha: bump docker/build-push-action from 4 to 5
REVERT: a6b30f6a6 deps/gha: bump docker/setup-buildx-action from 2 to 3
REVERT: 1144a7381 make logs optional in issues, change assignee for dependabot and edit sitemap URL of the doc
REVERT: c364e4666 ci/cd - disable redirect when pushing doc
REVERT: d4f38cc79 ci/cd - fix error when parsing ARM types
REVERT: b6d49865b ci/cd - get ARM type availability
REVERT: d0a8cc381 ci/cd - use volume id instead of index for arm instance
REVERT: 30c952e9e ci/cd - set boot volume for arm instance
REVERT: 2382fdd37 ci/cd - start arm server after creation
REVERT: 05ecf558c ci/cd - use latest scw cli version
REVERT: 2b7ce389b ci/cd - reflect changes on release tf from refactoring
REVERT: d5d7364b1 Merge pull request #632 from bunkerity/dev
REVERT: 3adbd8757 [#628] Fix scheduler generating the wrong configuration with Linux
REVERT: fd7950863 Merge pull request #631 from bunkerity/dev
REVERT: 3ae9636d5 Fix error with the CSP header override of the antibot
REVERT: f99349900 Merge pull request #630 from bunkerity/dev
REVERT: ea6ae5253 Update ANTIBOT_HCAPTCHA_SECRET setting's regex to support new format
REVERT: 5811dc549 Merge pull request #629 from bunkerity/dev
REVERT: 6404b701c Update changelog
REVERT: 2b5654ba3 Update coreruleset to version 3.3.5
REVERT: c948e449a [#622] Handle configs dir more nicely in Linux
REVERT: fb5a8dc4f [#622] Fix permissions with folders in linux integrations
REVERT: 5f19b3fda Merge pull request #627 from bunkerity/dev
REVERT: 2fce08b72 Upgrade issue templates
REVERT: 2ed6584dd Update python deps hashes
REVERT: d6a14b671 Merge pull request #626 from bunkerity/dev
REVERT: b3c398cb5 Remove jinja2 from requirements.txt as it creates conflicts
REVERT: 6334a3d63 Merge pull request #623 from bunkerity/dev
REVERT: 8ab4ea2e2 Update id of ui.conf rules to avoid conflicts
REVERT: 11664cc1d Fix wrong variable name in limit core tests
REVERT: 9535c0414 Fix shinanigans with both multiple and global settings not being stored correctly in datastore
REVERT: 8cafded89 Fix variables that are both multiple and multisite not being stored properly in datastore
REVERT: c6b2199dd prepare for 1.5.2 🚀
REVERT: c418acdcf Update CHANGELOG.md
REVERT: 9d0d72ba0 [#576] Add support for ModSecurity JSON LogFormat
REVERT: cbc625938 Update mmdb files
REVERT: f57fc5d3f Fix menu.html dark_mode attribute in UI
REVERT: c7e834a0d Update python deps
REVERT: 673ee921f Lint files
REVERT: 9fb8dfca4 Fix Scheduler running two times for no reason
REVERT: 4787400d7 [#615] Fix BunkerWeb not being able to start after a restart because of the /var/run/bunkerweb directory missing in Linux
REVERT: f59476c26 Merge pull request #621 from bunkerity/dev
REVERT: 4be53d0cb Merge pull request #620 from bunkerity/ui
REVERT: 55ba29cd5 Fix UI error when values are empty
REVERT: 947690af8 Fix UI workflow
REVERT: 5cdf0ecf4 Merge pull request #619 from bunkerity/ui
REVERT: d1dd1fbae Fix shinanigans with the /data volume in the doc
REVERT: 1b84c6202 [#613] Fix logs with web-ui and Linux
REVERT: a2e0f1fe6 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 639eed8d0 Deactivate BunkerNet on first start with linux
REVERT: 500c3564a ci/cd - perform staging tests again
REVERT: 448efc0ef Merge branch 'staging' into dev
REVERT: 1b660691d ci/cd - fix typos for docker/packages pushes
REVERT: e62b7c9d1 Remove unused js files in web-ui
REVERT: b87316d7c Merge pull request #617 from bunkerity/ui
REVERT: 4cff39f49 Merge pull request #616 from bunkerity/dev
REVERT: bceb28602 Lint files
REVERT: d9d6ed9bb Fix settings regex with web-ui
REVERT: 01be5baea Merge pull request #611 from bunkerity/dev
REVERT: 059afec43 Update rhel docker image
REVERT: e564d8407 Merge pull request #610 from bunkerity/dev
REVERT: 2c15b3746 Fix rhel typos "el" instead of "rhel"
REVERT: 6f26c42c8 Merge pull request #609 from bunkerity/dev
REVERT: c5059ab22 Update doc to include TLS as well as HTTPS in some sections
REVERT: a7a317b5b Merge pull request #487 from bunkerity/dependabot/github_actions/dev/scaleway/action-scw-c718eca1fcb9fec1fb1433752d61599c6a0ad2e9
REVERT: 0681cf2c9 Update actions/checkout to v4
REVERT: 3a02c0ca5 Add more delays in badbehavior core test
REVERT: 040d44714 Change SQLite config to avoid locking
REVERT: 07725356b Merge branch 'staging' into dev
REVERT: 6a995723c autoconf - fix changes check bug with same variable name
REVERT: 47bf7299a Lint py files
REVERT: 656c5008d scheduler - ignore changes on first loop
REVERT: c206daf9d add basic config lock between autoconf and scheduler + remove reverse-proxy tests for linux
REVERT: cf55ade15 ci/cd - various fixes for k8s tests
REVERT: d28432e5f Fix API_SERVER_NAME regex
REVERT: b5638aae1 ci/cd - move k8s login in staging-tests job
REVERT: 4450762b8 ci/cd - fix image name in k8s tests
REVERT: 6e1660cd0 autoconf - fix wrong config update
REVERT: cb4c99f45 ci/cd - fix docker tag command for linux tests
REVERT: 64d2ed91e ci/cd - fix secret key
REVERT: 0e2420cff ci/cd - add timeout for cleanup jobs
REVERT: fa165522e ci/cd - use same md for openssl commands
REVERT: b03680388 ci/cd - remove double untar for k8s tests
REVERT: bae27806b ci/cd - fix tf state upload/download again
REVERT: 11794da8c ci/cd - fix tf artefact command
REVERT: c52e54b81 ci/cd - fix tf files again
REVERT: e5c37a00a ci/cd - fix k8s tf
REVERT: 9a3c26bf6 Merge branch 'dev' into staging
REVERT: 56422bca4 Update python deps regex for UI
REVERT: ee47407df Merge pull request #606 from bunkerity/dev
REVERT: 936b1e88f Remove old CVE fixes for nginx image
REVERT: f9f5b6570 Remove old CVE fixes for python images
REVERT: 8e8e042c2 Testing CVE on bw
REVERT: 1676ebeb7 Test CVE on autoconf
REVERT: 637573e59 Update docker images and python deps
REVERT: c3a4847de Update startup and temp env in bash files
REVERT: 3db7904d4 ci/cd - fix wrong image tag for Linux test images
REVERT: 037e1ba56 docs - add ghcr.io
REVERT: d6aa6a9b0 ci/cd - staging improvements
REVERT: 9aba00673 Fix oddities with the scheduler and the Database
REVERT: f7d9af9d6 Fix potential infinite loop when waiting for a configuration from the autoconf
REVERT: 95c796c1e ci/cd - delete temp compose downgrade
REVERT: 423e3b4a3 ci/cd - log to ghcr before getting tests containers
REVERT: 511597b7e ci/cd - fix tests image names
REVERT: bb77dcedf ci/cd - edit username for ghcr auth
REVERT: 3d0f17808 ci/cd - add dummy username for ghcr auth
REVERT: 5a9836fec ci/cd - fix nested permissions
REVERT: e1edfe4a7 ci/cd - fix missing permissions in wf
REVERT: e81ab4ff9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 87b405340 ci/cd - use gh cache for docker cache and pushes to ghcr.io
REVERT: 45a81203e Update python deps
REVERT: 9feb66710 autoconf - force updating first configuration
REVERT: 3d13cf345 autoconf - only update data when needed and atomic changed metadata update
REVERT: 00cb6c1a8 tests - fix regex for geckodriver version
REVERT: 898ee7ec8 tests - tweak dpkg before installing BW
REVERT: 643b30f99 tests - ignore wrong testing version in deb packages
REVERT: 69e944d56 Revert "Fix LinuxTest package installation commands"
REVERT: 2b7f627d8 Merge pull request #602 from bunkerity/dev
REVERT: 82fb7b277 Fix LinuxTest package installation commands
REVERT: 1042e546b Merge pull request #601 from bunkerity/dev
REVERT: 6d1d464e1 Remove tries limit in wget commands (defaulting to 20 tries)
REVERT: b5de52ead Add more retries when testing the newly created service in ui tests
REVERT: 267522749 Merge pull request #599 from bunkerity/dev
REVERT: 4f82856b4 Update staging-create-infra to use a static version for monolithprojects.github_actions_runner == 1.18.1
REVERT: d670b409b Merge pull request #486 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-4
REVERT: 0b93916a3 Merge branch 'dev' into dependabot/github_actions/dev/docker/build-push-action-4
REVERT: 76408cf04 Merge pull request #598 from bunkerity/dev
REVERT: f7cd7d9da Add dependency on tests-ui to not fail to push the testing image
REVERT: 8632dd324 Fix exit code for ui tests
REVERT: fbf0232d5 Update python deps
REVERT: 5b6f00dfc Revert "Remove unused imports in ui tests"
REVERT: 681def5f0 Remove unused imports in ui tests
REVERT: a844b235b Remove geckodriver.log
REVERT: 73e31ca62 Add wget to fix error with tests
REVERT: d82136f04 Fix UI tests not exiting if container fails to start
REVERT: 55fd17790 Fix wget command when downloading the geckodriver sometimes fails
REVERT: d8c95869e Fix database with multisite variables
REVERT: f24802b21 ci/cd - perform staging tests again
REVERT: 758fc13c3 ci/cd - replace version string for testing release
REVERT: cd825cd34 ci/cd - fix wrong VERSION path for testing release
REVERT: c03b1bb20 ci/cd - update VERSION file for testing release
REVERT: a5e50d0f7 ci/cd - fix linux package name for staging
REVERT: 1a57e0a20 ci/cd - remove linux arm64 packages pushes
REVERT: de568f335 ci/cd - temp disable staging tests
REVERT: 244b91247 ci/cd - fix syntax error in push-github wf
REVERT: 08ce31bb0 ci/cd - prepare for testing releases
REVERT: 7f47ac18c Fix plugins errors when reloading with a select and upgrade check
REVERT: b6b87fcb0 Update python deps
REVERT: 8bada2a02 Update update-version script and bw version in after-remove scripts
REVERT: b8778de08 use nightly tag for docker-socket-proxy
REVERT: b42b732d7 Merge branch 'staging' into dev
REVERT: fc1c81ce2 linux - add python3 dev dependency when building packages
REVERT: 76d36f3b9 v1.5.1 release
REVERT: 63355bb88 tests - increase radarr delay (again)
REVERT: 0ecf47876 Merge pull request #592 from bunkerity/staging
REVERT: 59dfb728f Fix DNS_RESOLVERS regex to be more open
REVERT: 47c560dd3 Merge pull request #591 from bunkerity/dev
REVERT: ff1e6cc28 k8s - use same namespace as ingress for services
REVERT: 81c2c3187 Fix config synchronization in scheduler + Remove MULTISITE variables being fetched when MULTISITE is set to no
REVERT: 7f3f3ac7e Add delay to radarr automatic tests
REVERT: 58d69ec20 Merge pull request #590 from bunkerity/dev
REVERT: 012bc3b43 Merge pull request #589 from bunkerity/staging
REVERT: 600ea7e16 Update python deps
REVERT: 18ee15971 lint python files
REVERT: eee26b5d7 tests - add delay for reverse-proxy-singlesite
REVERT: c00157ef3 fix wrong instances when using docker mode and add delay to docker-configs tests
REVERT: 6047a4335 set default value for ports in bw entrypoint, fix core db tests and fix missing PYTHONPATH for certbot job
REVERT: ee2aeda13 tests - add static delay for linux tests and fix core db tests
REVERT: bb6fd3073 linux - force kill nginx if graceful one doesn't work
REVERT: 6e6c08a71 ui - various edits
REVERT: 5df2a74ca improved LE certificates checks and fix missing full SERVER_NAME when MULTISITE=no
REVERT: 843c02370 tests - fix wrong command in linux tests
REVERT: 8f7833413 linux - fix letsencryt not working and fix permissions on /etc/bunkerweb/configs for tests
REVERT: 0ccd75781 linux - add missing pip to rhel
REVERT: adbed77f7 linux - install pip the official way
REVERT: ef7a6ac42 linux - fix fedora dockerfile
REVERT: 31ca183b1 Merge branch 'dev' into staging
REVERT: a763879c1 doc - update settings
REVERT: 03ba91e96 autoconf - fix deadlock with k8s
REVERT: 38ab5ea21 redirect - custom status code
REVERT: ee5397df5 bw - add HTTP and HTTPS port to temp config
REVERT: 9efd7a5a5 sessions - fix infinite loop when session checks fail
REVERT: 784ce643f db - disable connection pooling for one shot tasks
REVERT: f3081e3c3 scheduler - fix parent setter call
REVERT: 26a1ef689 Update mmdb files
REVERT: e2fe947cb ci/cd - fix tests UI not showing logs
REVERT: bf9cd367d fix missing Strict-Transport-Policy header, fix X-Forwarded-Prefix with regex URLs and print logs when UI tests failed
REVERT: 26f2852e5 scheduler - fix typo in fstring
REVERT: e93b2f65f cache dev container images, fix CVE-2023-35945 and force scheduler to reload when instances change
REVERT: f3ba16be9 add instances changes check to scheduler and auto push dev container images
REVERT: d9394567e add missing ctx arg in core plugins, always add X-Forwarded-Prefix header and add doc about timezone in containers
REVERT: d59b305f1 fix concepts image in doc, revert clientcache update and refactor headers
REVERT: ad45bbb4d Update python deps and fix error with PyYAML compilation
REVERT: db03aa9c7 Merge pull request #565 from bunkerity/dev
REVERT: bb14be820 Update python deps updater
REVERT: bedcf0c17 Fix bug with newer version of PyYAML by downgrading
REVERT: 68e9b057d Merge pull request #564 from bunkerity/dev
REVERT: 810340a49 [#559] Fix typos for custom-cert's settings in docs and examples
REVERT: a4db7c294 Fix CVE CVE-2023-2975
REVERT: 758901dfc Fix CVE CVE-2023-2975
REVERT: 9216becb5 Update python deps
REVERT: db413cc03 Merge pull request #555 from bunkerity/dev
REVERT: a4f4dfe4e remove unused imports in save_config.py
REVERT: 0d554a5f5 Update SERVER_NAME regex to be more open
REVERT: c11b44285 Merge pull request #554 from bunkerity/dev
REVERT: 25af02e4a FIx prevent the `DATABASE_URI` setting from being saved inside the database
REVERT: 9eec9e26c [#552] Fix scheduler not changing databases on linux
REVERT: 845364b2b Update log paths for linux based integrations
REVERT: 3dac0aef0 tests - temp fix for compose network errors
REVERT: 08f9e5f20 Fix bad behavior core tests by adding a custom subnet to the bw-docker network
REVERT: fccb25bee Add automatic bw-docker network removal between each try
REVERT: d6407b818 Fix db core tests by making the network bw-docker entirely external
REVERT: 1cf281ef8 Update core tests to be even more verbose
REVERT: 3a714b9a3 Update core tests to be more verbose
REVERT: 864619542 Fix core db tests (again)
REVERT: be46f7a8d Optimize db core tests
REVERT: 559039dfd Lint .conf files that contains lua code + remove useless comments
REVERT: aa0769dde Merge pull request #549 from bunkerity/dev
REVERT: ae6ccfcff Apply patch to luajit-geoip
REVERT: ed234fd63 Apply post_install script to lua-resty-openssl
REVERT: 09ae6da55 Apply patch to lua-resty-ipmatcher
REVERT: b516ca2ea Apply patch to lua-ffi-zlib
REVERT: 1e7f92af8 Apply patches to Modsecurity-nginx
REVERT: 008dc09a6 Stop checking return code of post_install scripts in init_deps.sh
REVERT: fcd230192 Fix init_deps.sh
REVERT: f3809bc69 Add -R to pull commands in init_deps.sh
REVERT: 96586d4a6 Apply post_install script to Modsecurity
REVERT: a75b90f52 Squashed 'src/deps/src/modsecurity/' changes from bbccedbdd..205dac0e8
REVERT: 948182ffd Merge commit 'a75b90f525b90bd74c090702034e02fdd6250e0e' into dev
REVERT: 544b4040e Add post_install scripts to init_deps.sh and update install.sh
REVERT: 6e146e2a5 Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..bbccedbdd
REVERT: 847ff5a3d Merge commit '6e146e2a54cb29eb0ac1bc9d65766fe90d30fa4f' into dev
REVERT: bbccedbdd Change tags into hashes in deps.json
REVERT: 14d69fa59 Update mmdb files
REVERT: d5e358b72 Merge pull request #548 from bunkerity/dev
REVERT: e0055328a Fix add missing deps for core db tests
REVERT: c93d5a2fc Fix CVE CVE-2023-3316
REVERT: 5631e2737 Merge pull request #547 from bunkerity/subtrees
REVERT: 3505c0d18 Remove clone.sh file
REVERT: 7b566b885 Squashed 'src/deps/src/zlib/' content from commit 04f42ceca
REVERT: ffd310031 Merge commit '7b566b885e99301b243c5f61360e65238035e048' as 'src/deps/src/zlib'
REVERT: 45dca7b44 Merge commit '2ab324a69f219b4051b2e77d211ee1a7fb1462b5' as 'src/deps/src/stream-lua-nginx-module'
REVERT: 2ab324a69 Squashed 'src/deps/src/stream-lua-nginx-module/' content from commit 309198abf
REVERT: f85f86e46 Merge commit 'c1073460677ba8aa2e325a1c57c3db1458f9fde5' as 'src/deps/src/luasocket'
REVERT: c10734606 Squashed 'src/deps/src/luasocket/' content from commit 95b7efa9d
REVERT: a7d4cc5bb Squashed 'src/deps/src/luasec/' content from commit fddde111f
REVERT: bd600e0d0 Merge commit 'a7d4cc5bbaabf8683b3b5cc1f42f9bd145cf1aa8' as 'src/deps/src/luasec'
REVERT: d15662693 Merge commit '2d86912af87048b94c2921a60b3a8a5a0953e132' as 'src/deps/src/lualogging'
REVERT: 2d86912af Squashed 'src/deps/src/lualogging/' content from commit 465c99478
REVERT: 1fb404757 Merge commit 'f3ceeb73a958e774b1e2fa55d2607cdd3eb419ca' as 'src/deps/src/luajit-geoip'
REVERT: f3ceeb73a Squashed 'src/deps/src/luajit-geoip/' content from commit fde33e045
REVERT: f81788c00 Merge commit '2678b91586e9183b47327fbb0f11ad23020f195f' as 'src/deps/src/lua-resty-upload'
REVERT: 2678b9158 Squashed 'src/deps/src/lua-resty-upload/' content from commit 03704aee4
REVERT: 2d06f2d7a Merge commit 'bc06cd71b8896c6e7a1aac4610c9c3f878956238' as 'src/deps/src/lua-resty-template'
REVERT: bc06cd71b Squashed 'src/deps/src/lua-resty-template/' content from commit c08c6bc9e
REVERT: a6379356e Merge commit '3038a0b027f09090e1cd8f101d2ee8c52c383070' as 'src/deps/src/lua-resty-string'
REVERT: 3038a0b02 Squashed 'src/deps/src/lua-resty-string/' content from commit b192878f6
REVERT: fdf0050a9 Merge commit 'ee5198ba2810e33e08ff987ede5abe10fc74f6e3' as 'src/deps/src/lua-resty-signal'
REVERT: ee5198ba2 Squashed 'src/deps/src/lua-resty-signal/' content from commit d07163e8c
REVERT: a3cd342f3 Squashed 'src/deps/src/lua-resty-session/' content from commit 8b5f8752f
REVERT: 6f8ff3f12 Merge commit 'a3cd342f3e1fffd7b16b83a24e03bb9ed501b319' as 'src/deps/src/lua-resty-session'
REVERT: 2f1cde097 Merge commit 'eca8662cfe981f66ab92b53bbf83af65da02b2b7' as 'src/deps/src/lua-resty-redis'
REVERT: eca8662cf Squashed 'src/deps/src/lua-resty-redis/' content from commit d7c25f1b3
REVERT: 0b94df087 Merge commit 'e59161ec204c7a95e4751b1c0e9a6bead7fcab39' as 'src/deps/src/lua-resty-random'
REVERT: e59161ec2 Squashed 'src/deps/src/lua-resty-random/' content from commit 17b604f7f
REVERT: a28005988 Squashed 'src/deps/src/lua-resty-openssl/' content from commit b23c072a4
REVERT: 38fdd39d0 Merge commit 'a2800598825bb5a03b577cca2874ff1cfae863f4' as 'src/deps/src/lua-resty-openssl'
REVERT: c2fa53ca1 Merge commit '31bf774f63b8b46a3c7b53028853036fff6fa0b8' as 'src/deps/src/lua-resty-mlcache'
REVERT: 31bf774f6 Squashed 'src/deps/src/lua-resty-mlcache/' content from commit f140f5666
REVERT: 7b2273aeb Merge commit 'c82b0bdd27762d2d4a9901a187506d2e5abd74f5' as 'src/deps/src/lua-resty-lrucache'
REVERT: c82b0bdd2 Squashed 'src/deps/src/lua-resty-lrucache/' content from commit a79615ec9
REVERT: 3dc8cc87c Merge commit '746a6e16d027ab3bddfc610c987e5d61ab9b69d0' as 'src/deps/src/lua-resty-lock'
REVERT: 746a6e16d Squashed 'src/deps/src/lua-resty-lock/' content from commit 9dc550e56
REVERT: 62e740a0b Merge commit '19515d9b26f2f4886ca117b91384509087f0ff3a' as 'src/deps/src/lua-resty-ipmatcher'
REVERT: 19515d9b2 Squashed 'src/deps/src/lua-resty-ipmatcher/' content from commit 7fbb618f7
REVERT: e566b98af Merge commit '7160fd94e3dc22299ee3c9f8b0e71a5e2c1bb501' as 'src/deps/src/lua-resty-http'
REVERT: 7160fd94e Squashed 'src/deps/src/lua-resty-http/' content from commit 4ab4269cf
REVERT: cdd42bf25 Merge commit '1a7d4e58be28238599df3f5c15c56380c3e99732' as 'src/deps/src/lua-resty-env'
REVERT: 1a7d4e58b Squashed 'src/deps/src/lua-resty-env/' content from commit adb294def
REVERT: 49db9c24d Merge commit '0f4a0cb0ef514bee6b810f6d6cf982c5ef0abfca' as 'src/deps/src/lua-resty-dns'
REVERT: 0f4a0cb0e Squashed 'src/deps/src/lua-resty-dns/' content from commit 869d2fbb0
REVERT: fe76b6830 Merge commit 'fd02afef8ec1ceb8a816dc202d05c6ece9887d31' as 'src/deps/src/lua-resty-core'
REVERT: fd02afef8 Squashed 'src/deps/src/lua-resty-core/' content from commit 31fae862a
REVERT: 29d135bdb Merge commit '36023392a6e3c8fb6aebb46140db759e61da220e' as 'src/deps/src/lua-nginx-module'
REVERT: 36023392a Squashed 'src/deps/src/lua-nginx-module/' content from commit c47084b5d
REVERT: b01aa0b15 Merge commit '32485e2860c2ea31fcef5b575f446c7a3036a550' as 'src/deps/src/lua-gd'
REVERT: 32485e286 Squashed 'src/deps/src/lua-gd/' content from commit 2ce8e478a
REVERT: c46cd666a Squashed 'src/deps/src/lua-ffi-zlib/' content from commit 1fb69ca50
REVERT: 909841ea6 Merge commit 'c46cd666ab76bad7bd05c6261d692cda5b380f32' as 'src/deps/src/lua-ffi-zlib'
REVERT: 47ee3884f Merge commit '4f9b885a2e8b7a10653653fee3bb91cf5102b0ef' as 'src/deps/src/lua-cjson'
REVERT: 4f9b885a2 Squashed 'src/deps/src/lua-cjson/' content from commit 881accc8f
REVERT: bb450ac96 Squashed 'src/deps/src/libmaxminddb/' content from commit ac4d0d248
REVERT: e13868c63 Merge commit 'bb450ac96595432625ac34de8f7f42b3d06a5b30' as 'src/deps/src/libmaxminddb'
REVERT: 772e05d37 Merge commit '4a7228d2dcb7fe62526016b90a7c497fb6531e76' as 'src/deps/src/libinjection'
REVERT: 4a7228d2d Squashed 'src/deps/src/libinjection/' content from commit 49904c42a
REVERT: 209d4a461 Merge commit 'ae8d8b233d52cbfdee68bd3ba21713149f5659c8' as 'src/deps/src/lbase64'
REVERT: ae8d8b233 Squashed 'src/deps/src/lbase64/' content from commit c261320ed
REVERT: 992710650 Merge commit '1d1739b4eaa274c25c52b8ceb79ebdc717633ec0' as 'src/deps/src/headers-more-nginx-module'
REVERT: 1d1739b4e Squashed 'src/deps/src/headers-more-nginx-module/' content from commit bea1be3bb
REVERT: e43880b08 Squashed 'src/deps/src/ngx_devel_kit/' content from commit b4642d6ca
REVERT: a09d5eb2c Merge commit 'e43880b08395df25663560da3d8154226a167a77' as 'src/deps/src/ngx_devel_kit'
REVERT: 8973eb029 Merge commit '26773844e7bd57df1216bd74360a62ec2dc976e3' as 'src/deps/src/nginx_cookie_flag_module'
REVERT: 26773844e Squashed 'src/deps/src/nginx_cookie_flag_module/' content from commit 4e48acf13
REVERT: 79d1b4459 Merge commit '22e69251d9b5cd2611abf77ef7352abfa4d409d7' as 'src/deps/src/ngx_brotli'
REVERT: 22e69251d Squashed 'src/deps/src/ngx_brotli/' content from commit 6e975bcb0
REVERT: 4cd57ab8f Merge commit 'b99663928782619ef854b4bf10a2bf7450d75266' as 'src/deps/src/nginx'
REVERT: b99663928 Squashed 'src/deps/src/nginx/' content from commit 84cd72177
REVERT: d7f25398a Merge commit 'a676d333fda890838d8fc4766720cc3f1d4c5389' as 'src/deps/src/modsecurity-nginx'
REVERT: a676d333f Squashed 'src/deps/src/modsecurity-nginx/' content from commit d59e4ad12
REVERT: 7e8f4adc3 Squashed 'src/deps/src/modsecurity/' content from commit 205dac0e8
REVERT: 999fb6b8e Merge commit '7e8f4adc3b2b2a655640c73198fb920a5e8441d5' as 'src/deps/src/modsecurity'
REVERT: 6c0468f62 Squashed 'src/deps/src/luajit/' content from commit 04f33ff0
REVERT: 6d05b14eb Merge commit '6c0468f62b1120497a6fd0d21101dc41f29e7397' as 'src/deps/src/luajit'
REVERT: 1141afd20 Fix install.sh for nginx dynamic modules
REVERT: 97406bff4 Add libinjection deps back
REVERT: a58ad9b50 Remove duplicate lua-ffi-zlib in deps
REVERT: 831ae129c Make init_deps.sh executable
REVERT: 451648fa7 Remove old deps temporarily except lua
REVERT: 185d75076 Update how the deps are initialized
REVERT: 6a048e68f Update how the deps are managed
REVERT: 129e8f7e0 Merge pull request #546 from bunkerity/dev
REVERT: 265123835 Update python deps
REVERT: b0bc9a1bf Update the documentation
REVERT: 2f7ed064f docs - Fix typo in webhook link in plugins.md
REVERT: 7d6116163 Merge pull request #544 from bunkerity/dev
REVERT: deed39a1f Update lua-resty-openssl to version 0.8.23
REVERT: dd295729b Add deps project submodules
REVERT: b27f38349 Update lua-resty-session to version 4.0.4 and remove lua-pack deps as it's no longer needed
REVERT: aeca252d9 Bump lua-resty-core version to 0.1.27 and lua-nginx-module version to 0.10.25
REVERT: 1ec21261c Revert "Init work with submodules"
REVERT: 718a9305d Revert "Fix .gitmodules file"
REVERT: a253f4a59 Revert "Remove old folders that are now submodules"
REVERT: 2e1e9a08c Revert "Initialize submodules"
REVERT: e2f1aba3c Revert "Add other projects to submodules"
REVERT: d9a98c6fa Revert "Update commit SHA for submodule libinjection"
REVERT: 5ed3ba1d5 Revert "Fix path resolution for modules and remove nginx submodule"
REVERT: b529d8525 Revert "Update checkout part of workflow to include submodules"
REVERT: 43783edb9 Revert "Add nginx as a submodule"
REVERT: 8417ed132 Add nginx as a submodule
REVERT: ded0ec66d Merge pull request #542 from bunkerity/dev
REVERT: 6cbbd0d56 Update timeout for wordpress tests to 120 seconds
REVERT: d687b228e Fix PERMISSIONS_POLICY authorizing self and links to be aside without spaces
REVERT: bcc9fdef9 [#533] Fix SERVER_NAME regex to limit domains' size individually instead of the whole setting's value
REVERT: 524a140d2 [#534] [#504] Update ALLOWED_METHODS regex to accept more methods
REVERT: a197e20d2 [#531] Fix typo in documentation about SSL
REVERT: 252a5831b Merge pull request #541 from bunkerity/dev
REVERT: 07ed136af Update setup-kubernetes of wordpress example
REVERT: 2eb73d15a Merge pull request #537 from bunkerity/dev
REVERT: 30fec8a14 Remove python submodule, will add it back in the next major
REVERT: 4b4e0f8b3 Update checkout part of workflow to include submodules
REVERT: c2cfd4dd9 Remove checkout from dev.yml
REVERT: 642da402b Fix dev workflow
REVERT: 4bb6d40a5 Update dev workflow to checkout the code and submodules first
REVERT: 3bcdd9ca2 Merge pull request #536 from bunkerity/submodules
REVERT: 28d59221b Fix path resolution for modules and remove nginx submodule
REVERT: c8e25bcde Update commit SHA for submodule libinjection
REVERT: e1a5782a3 Update how the dependencies are being cleaned up
REVERT: 68bea47ed Add other projects to submodules
REVERT: 2cd5c7f45 Initialize submodules
REVERT: d7d3e2429 Remove old folders that are now submodules
REVERT: a74727891 Fix .gitmodules file
REVERT: b5fffc1f3 Init work with submodules
REVERT: 8c4c99e65 Merge pull request #530 from bunkerity/dev
REVERT: ddc337394 Update log location for nginx and letsencrypt
REVERT: 1c362d078 Remove the deletion of let's encrypt lib and log folders after the job is finished
REVERT: 95c9bad8e Remove unused enums in database model
REVERT: 7a972274f Add database schema to concepts.md in the docs
REVERT: 561499536 Revert "Update README.md links to use local branch files"
REVERT: 4536e328e Update README.md links to use local branch files
REVERT: 89070cfb7 Merge pull request #529 from bunkerity/ui
REVERT: d6942a46e Update where the scheduler copies its config
REVERT: 8a98da898 Merge pull request #528 from bunkerity/ui
REVERT: 26f831cb4 Merge branch 'dev' into ui
REVERT: 81f3914fc Merge pull request #527 from bunkerity/dev
REVERT: 162198bb9 Update db core tests to ignore the added value for env custom configs
REVERT: 7a524b43e Revert back to 30 seconds of sleep in tests ui after creating a custom config
REVERT: b007916d6 Optimize the scheduler and gen even more (we love threads)
REVERT: 0661916ff Update ui tests to wait more after creating a custom config
REVERT: 2105dc0f3 Update core db tests to use the right hash for plugins_page files
REVERT: 823119821 Fix rare error when hashing dictionaries in the scheduler
REVERT: 1e62626ac Fix KeyError in scheduler
REVERT: 57eaedd8e Merge pull request #526 from bunkerity/dev
REVERT: 4d984f623 Update CHANGELOG
REVERT: d0fd6884c Fix shinanigans with the custom configs and plugins jobs
REVERT: 8e6de2bdf Augment authelia timeout
REVERT: 3565dd7b3 Update CHANGELOG.md
REVERT: 145df1df4 Merge pull request #525 from bunkerity/dev
REVERT: df1359e87 Add possibility to download lists and plugins from a file path + Update python deps + Plugins now support tar and tar.gz as well
REVERT: b756b2d7d Lint py files
REVERT: f57b6dad1 fix cursor gap on ace editor
REVERT: 91c33f1d4 Merge branch 'dev' into ui
REVERT: ed2a54d16 Merge pull request #524 from bunkerity/dev
REVERT: 3e871efed Update python deps
REVERT: d27edab35 Merge pull request #523 from bunkerity/dev
REVERT: 9982ec36d Remove useless import
REVERT: 80033642c Add reverse proxy headers back
REVERT: 0836d4ee9 Merge pull request #522 from bunkerity/dev
REVERT: 2a2b7b6f5 Merge pull request #521 from bunkerity/staging
REVERT: 78236abe8 Check Aqua Security
REVERT: c5ff63a40 Fix CVE CVE-2023-3138
REVERT: 78ef5c482 Fix problems when creating custom configs or plugins and removing them completely
REVERT: 2c190ee96 add writeable /var/run/bunkerweb directory to hardened example
REVERT: 94867d0d6 letsencrypt - use same job name when retrieving data from db
REVERT: 9e00b9dd1 letsencrypt - use same job_name for both new and renew jobs
REVERT: 9adb209a8 lua - fix missing multisite variables in LRU
REVERT: fdd3367a6 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: dcf156135 prepare for 1.5.1 🚀
REVERT: 4023e6dc6 road to v1.5.1
REVERT: af9e125c8 linux - merge change for debian packager
REVERT: ab6025ec9 linux - fix missing zope modules
REVERT: 7e221eb89 debian working
REVERT: f1435f231 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: b14dba775 bw - fix multiple variables not loaded in LUA
REVERT: 81bb9ede1 Removing python 3.11 from linux
REVERT: 7e66c577f Removing python 3.11 in linux
REVERT: 236572f58 ui - remove python 3.11 import for Linux integrations
REVERT: 73060e42a Fix limit core tests
REVERT: df0c03cef Fix UI wrong import
REVERT: 5d7ef69c9 Update limit core tests to avoid false negative
REVERT: 855ae8936 Update limit core tests to avoid false positive
REVERT: 16a1916db Remove useless imports in lua code + lint
REVERT: 605e237fd Remove 404 from Bad behavior status codes
REVERT: fc8d76f33 Rollback on hcaptcha passive feature
REVERT: c08e8d151 Update settings.md
REVERT: 44097cad0 Move the COEP, COOP and CORP headers to Cors plugin and change default values
REVERT: 3446e5f9b Upgrade antibot to add a custom CSP on each pages + update plugins order
REVERT: 70f227feb Fix error with multisite variables when requesting default server
REVERT: f81b0bb4d Fix multisite variables not being added in helpers
REVERT: 978697500 Fix has_variable method of utils
REVERT: 5b0b183a4 Remove no longer needed decode for plugin order from datastore
REVERT: a2759e377 Add small tweaks on the datastore
REVERT: b6d879257 Fix how we fetch plugins_order in the default server
REVERT: 94964a910 Update how we handle custom configs
REVERT: 6a1ff499c Fix Lets'encrypt plugin api and internal API
REVERT: 179a7aa34 Fix lua sessions with antibot
REVERT: a1385fe9b fix ctx usage in reverse proxy + remove useless log in limit
REVERT: 23f9f14a4 Remove old CVEs fixes from Dockerfile
REVERT: f77150bc2 Test Aqua Security CVEs
REVERT: ec48e6601 Fix return value when no plugins have been found in api.lua
REVERT: 6ab48d9dd Update python image to tag 3.11.4-alpine
REVERT: ce24a0482 apply changes to current core
REVERT: 02d940393 perf - ctx caching and per worker LRU for readonly variables
REVERT: a7069bd60 Update UI to stop using env variables but werkzeug middleware + Send X-Forwarded-Prefix headers to UI service
REVERT: c39dd78ae Update cors plugin tests
REVERT: 3b459b0e2 Fix shinanigans with API (again)
REVERT: 718310312 Fix shinanigans with the API
REVERT: 5deeacc3d Fix letsencrypt jobs
REVERT: c18f743d4 Fix PosixPath in jobs
REVERT: 85a53278e Add a charset to cors Content-Type header
REVERT: e01c14f11 Add Cross-Origin-*-Policy headers management and default values
REVERT: 0b3c1a8a0 Update KEEP_UPSTREAM_HEADERS setting's default value
REVERT: 95f673c1d Update doc about headers
REVERT: cee7672b5 Update settings.md in the doc
REVERT: d5ea95da9 Increase load-balancer example test timeout
REVERT: 39e6821a4 Lint lua code
REVERT: 64aa12b70 Update python deps
REVERT: c392a0b5f Update mmdb files
REVERT: f93dd34f6 Extend KEEP_UPSTREAM_HEADERS setting to clientcache and reverseproxy core plugins
REVERT: a23d189d3 Merge pull request #516 from bunkerity/dev
REVERT: df47ba0e9 Merge pull request #515 from bunkerity/dev
REVERT: 0ca7de1de Add CVEs fixes back
REVERT: 84fcfb726 Test Aqua Security 2
REVERT: c20bd05d3 Test Aqua Security
REVERT: c85a4183d Fix Strict-Transport-Security not being sent
REVERT: 654172f43 Update headers core plugin lua code
REVERT: afe6da4cf Automatically add Content-Security-Policy header to response headers in the UI
REVERT: 5c7cd38b5 Edit headers core plugins to use lua Code + Add new setting KEEP_UPSTREAM_HEADERS
REVERT: 299a0b5c2 Remove apk update at beginning of each Dockerfile
REVERT: 6cc20efe7 Update bad behavior test BAD_BEHAVIOR_COUNT_TIME to 30 seconds
REVERT: e2a3bfb10 Bad behavior core tests change the ban time to 60 seconds
REVERT: 4bbddf797 Merge pull request #509 from bunkerity/dev
REVERT: 1eeefead9 Core tests sleep between each request
REVERT: 9829ef752 Update UI to automatically set SCRIPT_NAME and ABSOLUTE_URI
REVERT: b27958a19 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 410a64810 core - patch modsec to use access phase instead of preaccess
REVERT: f7d986d6a Change the way linux starts and the scheduler
REVERT: 95d4f0f87 Small tweaks on core jobs
REVERT: 4f324231d Fix tmp variables path (again)
REVERT: dc18f9884 Edit start.sh
REVERT: 3b36965f4 Fix tmp_variables_path in scheduler
REVERT: ccc051e78 Fix /var/run/bunkerweb in fpm args
REVERT: 8b2517cdf Remove ui cache download test - to much unstable
REVERT: d1138855e Fix gunicorn config for Docker and Linux
REVERT: 0c8bc97fa Fix UI on Linux not using the right user
REVERT: a68fb0c06 Refactor to make more sens and avoid specific errors
REVERT: fff21746a Correcting: Dockerfile-ubuntu End of statement block Jinja
REVERT: 3ab4a59b6 Update debian Dockerfiles to avoid updating apt packages only once
REVERT: 760ec3b3b Add /var/run/bunkerweb removal script when uninstalling BunkerWeb
REVERT: be459d240 Update pid files paths to /var/run/bunkerweb
REVERT: 8b697d87d Fix Scheduler errors with the internal apis
REVERT: 89a3c8b0b Update bunkerweb-ui file according to the new gunicorn usage
REVERT: 5e237d0d0 Update gunicorn to use a config file as well + Fix headers error + Small fixes
REVERT: a424d59b1 Add apk update at the beginning of each Dockerfile
REVERT: 1d14db7e1 Update custom cert job to not duplicate certs if the cert is global
REVERT: 7efb82a7e Update python deps
REVERT: e920cba43 Fix CVE CVE-2023-2650
REVERT: 413b75b04 Fix customcert plugin to accept multisite certs as well
REVERT: 87a9545d9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: c53394845 various fixes
REVERT: aca0d6da4 Small refactor on the ApiCaller and the Scheduler
REVERT: 1bd40a877 Removing vmware support in doc
REVERT: 612333d2a Merge pull request #508 from bunkerity/dev
REVERT: 474ecbb41 Fix typo in phases list in plugin.lua
REVERT: 5fa21b3c8 Fix CVE CVE-2023-29491
REVERT: 16a459bf7 Lint antibot html files
REVERT: fd06a1e71 Add Turnstile antibot
REVERT: d5e64320c Fix small typo in misc.lua
REVERT: 4d6d95037 Merge pull request #507 from bunkerity/dev
REVERT: b60657e21 Merge pull request #506 from gin-gitaxias/patch-3
REVERT: 1f2c973a3 Fix docker-compose file for custom cert job
REVERT: b314f4349 Update integrations to add LOG_LEVEL=warning env variable to docker proxy
REVERT: 0edfb2db3 Update example to add a LOG_LEVEL=warning to the docker proxy
REVERT: 83413aef2 Remove open ports from core tests docker compose files
REVERT: 334be4346 Fix custom-cert core plugin
REVERT: 953128be6 Update scheduler changes check to reduce CPU usage
REVERT: bb7dcda48 Refactor paths resolutions for core plugins
REVERT: 108827952 whitelist - remove unused IPs of duckduckgo crawler
REVERT: 665b110c6 [#504] Fix ALLOWED_METHODS regex
REVERT: 5a2aa20bc Update plugins.md
REVERT: 168dfc439 Refactor paths resolutions for UI + optimizations on the plugin upload
REVERT: 6e80c7b8d Fix variable being ignored instead of saved inside the database when the value is empty
REVERT: 8dad7a0b7 Starting work on paths resolution refactor
REVERT: b5a78c3aa Test Acqua Security vulns (2)
REVERT: ed6bee69c Test Acqua Security vulns
REVERT: 3dba058b4 Fix custom configs not being cleared out once created
REVERT: d9b093dab Fix plugin example in documentation
REVERT: 162f1d978 Merge pull request #502 from bunkerity/ui
REVERT: 1f2fa95e7 Remove useless line in the head.html file + lint HTML files
REVERT: 1cd356781 Add multiple plugin upload in one compressed folder support for the UI
REVERT: 29673f918 fix font
REVERT: 180493616 Fix CVE CVE-2023-1999
REVERT: 7fe7a997f Merge pull request #501 from bunkerity/ui
REVERT: 5b75894d4 Fix UI latest version checking & Fix conditions in quick settings for services
REVERT: 1f6b3d59a Merge pull request #500 from bunkerity/dev
REVERT: 548630e3e Update python deps
REVERT: aa299f085 Update plugin update and add to get only the necessary keys
REVERT: f0126b6d6 Fix update-check job
REVERT: 8585007bc deps/gha: bump scaleway/action-scw
REVERT: a7535c300 docs - fix yt preview in readme
REVERT: 340b4a492 change arm server flavor
REVERT: e7ea3952b ui - add missing dep for docker/x86
REVERT: a586b5b6b deps/gha: bump docker/build-push-action from 3 to 4
REVERT: 3b7d8b6c1 Merge branch 'staging' into dev
REVERT: 6666a25fc edit version, update images on docs and fix bug in Linux script
REVERT: f84af3402 Add error ignoring when using the rmtree function
REVERT: 0b082bdab Add handling of stderr being None in the scheduler
REVERT: 1f2b550f6 ci/cd - fix swarm examples and init work on release workflow
REVERT: d5fcc6969 Merge branch 'dev' into staging
REVERT: eda275589 Merge pull request #485 from bunkerity/dev
REVERT: 7506768c4 Merge branch 'ui' into dev
REVERT: be3d40f18 Fix CLIENT_CACHE_CONTROL setting's regex to also work with JS
REVERT: 41059fb28 Merge pull request #484 from Hado-K3n/patch-16
REVERT: 88f85b282 Merge branch 'dev' into patch-16
REVERT: e5e031b6b Merge pull request #483 from Hado-K3n/patch-15
REVERT: 2dbadbd29 Merge pull request #482 from Hado-K3n/patch-14
REVERT: 95c7b5410 Merge pull request #481 from Hado-K3n/patch-13
REVERT: 00739a5ab Merge pull request #480 from Hado-K3n/patch-12
REVERT: a9f4be475 Merge pull request #479 from Hado-K3n/patch-11
REVERT: f85f73678 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: f1efe06e9 ci/cd - fix /opt/actions-runner perms for self-hosted runners
REVERT: ad71be460 login now use local font
REVERT: dcb800d2b Update k8s.postgres.ui.yml
REVERT: 5a7f7f3c6 Update k8s.postgres.yml
REVERT: e1f60127e Update k8s.postgres.ui.yml
REVERT: 7553ffb63 fix client_cache_control regex
REVERT: 9324648f2 Update k8s.mysql.yml
REVERT: eafe006a6 Update k8s.mysql.ui.yml
REVERT: 62a8ec975 Update k8s.mysql.ui.yml
REVERT: dfcaba9ad Merge pull request #478 from bunkerity/dev
REVERT: 737b999cd Set CLIENT_CACHE_CONTROL setting's regex
REVERT: 9339af44c Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 78f7570e1 core - Fix bwcli condition when checking bans
REVERT: 40e30ed44 use shared redis connection pool in cachestore when we can
REVERT: d6ca98ed1 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 10a4cefd0 update lua-resty-openssl deps and replace nginx -s calls with signals
REVERT: 97723185b core - Add bwcli tests
REVERT: ab3b3ea8f ui-tests - update waiting time after creating a custom conf
REVERT: 5adec84d5 fix redis not contacted in subsequent phases and reflect changes on stream configs
REVERT: 1624c4e76 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: eea6d32cd share common objects during the phase and add threading to DNSBL and reverse scan
REVERT: 99f8f69fa Merge pull request #477 from bunkerity/ui
REVERT: 9b58b397c Fix ui tests (again)
REVERT: ace88d865 Fix plugins fetching for the UI
REVERT: 69b35636e Fix UI tests (once again)
REVERT: 5dfe35b7b Update how the plugins are being fetched by the UI
REVERT: b75690fdf Change the way python deps are installed
REVERT: b19ebbe6a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: c0c646aae Merge pull request #476 from bunkerity/dev
REVERT: edd6e2ded improved session management and add IP/UA checks
REVERT: c7ca5a822 Fix Database overriding services_settings if a global_value is set
REVERT: e1883a04b Merge pull request #475 from bunkerity/dev
REVERT: af19cc226 core - Add redis tests
REVERT: 0087ae583 Update python deps
REVERT: 8133c134e core - Fix db tests by removing "order" key check
REVERT: f725d0fe6 Update keys name in datastore
REVERT: 05c478e83 Edit COOKIE_FLAGS regex
REVERT: b5aaf6266 add forward reverse DNS to whitelist, disable redis in cachestore when sockets are not enabled, fix typo in cachestore and improve dns/rdns caching
REVERT: 8a8dd6fb7 db - remove order from plugin model
REVERT: 93c766e56 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 179beea4d improved core plugin execution order
REVERT: 1d126e1d0 core - fix cors tests with the preflight request
REVERT: dbb884099 core - Update allowed_methods test method to GET
REVERT: 62cb85453 core - Remove cert verification when testing allowed methods in misc tests
REVERT: 04919e8a0 Fix multiple CVEs
REVERT: b32f31891 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 4962f786b fix wrong env parsing in init phase, bypass modsec/crs when method is not allowed, refactor ALLOWED_METHODS and improve error page management
REVERT: 10bdf551a core - Add misc tests
REVERT: 7158e7e9a core - Optimize cors tests
REVERT: 3f51f59bc Add check when plugins are configured + Add Semaphore to accelerate jobs execution + Code optimization
REVERT: 4c4fa44fb ci/cd - fix core/cors tests
REVERT: 84d43c84d Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: b58798746 Update mmdb download to check the checksum at start
REVERT: a9be973d5 use PCRE regex instead of LUA pattern and edit cors doc
REVERT: 4378f18cc fix typo in bunkernet.lua, add missing Origin header in cors tests and fix allow origin expected value
REVERT: 7d84e03a1 fix header plugin phase not called for internal request (fixes CORS), fix bunkernet init_worker bug where ngx.ctx.bw is not available, add CORS_DENY_REQUEST setting and edit values for core/cors tests
REVERT: 838662141 Lint Lua code
REVERT: 36fdec105 core - fix sessions tests
REVERT: ab54b18e0 core - fix reverse scan cache retrieval
REVERT: 9c6ca6a86 cors - various improvements
REVERT: 991f7ff8d Fix tests core reverse scan wasn't using the image
REVERT: 9c77f77fa Fix test core DB
REVERT: 9ee74aef4 Add up back when retrying to up the stack + remove useless print
REVERT: 7bf4c11bc When docker up fails in core tests retry one time
REVERT: 82aadfa38 Update core db tests to add the settings.json file and optimizations
REVERT: 2a78d2c05 ci/cd - perform all core tests even if one failed
REVERT: e3fc55be9 deps - add missing hash for python dep async-timeout
REVERT: 5f668aeca ci/cd - fix syntax error in test core wf
REVERT: e5e336c4f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 9a2e37984 ci/cd core tests and antibot refactoring
REVERT: 2ac77ee49 Fix deps not being synced
REVERT: 394f5fe4b Move back to images in the whitelist tests
REVERT: b06210bdf Remove unused files in tests core
REVERT: e6bb9fb55 Add tests for core plugins
REVERT: 29f020f15 Update python deps
REVERT: 051923b6f fix deprecated external network in compose files, various fixes in the documentation and add ipv6 to doc
REVERT: 2e1296d9a show useful info in BW logs after startup/reload and reduce container images size
REVERT: a686562f1 performance - cache empty rdns results
REVERT: e36c743c7 performance - cache dns responses
REVERT: 75f3d6490 init IPv6 support, add missing healthcheck script in UI and purge local cache on init
REVERT: a258612e4 add global data on settings filter
REVERT: bc3ea0ed3 change select method check
REVERT: ab71c484e add global condition for disabled state
REVERT: 5c415afa1 various fixes - ttl on /bans api, dnsbl undercover bug, greylist, whitelist and wrong path in realip job
REVERT: 5c50f57f1 Revert "regular inp and multiple global=true are enabled"
REVERT: 9ceaaa874 regular inp and multiple global=true are enabled
REVERT: 3dde3ac0a Fix no longer save SERVER_NAME when MULTISITE is set to "no"
REVERT: c01b493c9 Increase compression level of tar files being saved in the database
REVERT: 4f4a8b508 Fix default global values being added to database when MULTISITE is set to "no"
REVERT: 408806718 Add external plugins being updated at the start of the scheduler
REVERT: 402ff16c8 Add "global" key to settings when fetching methods as well
REVERT: dcdb43cf0 Merge pull request #473 from bunkerity/dev
REVERT: ca8c56aaa Remove unused function in UI src.Config
REVERT: 905946463 Fix scheduler restarting for no reason when having an external database
REVERT: 8a308b1a8 Fix database not providing the right SERVER_NAME setting value
REVERT: cf26d7aa2 Fix database saving default values to global_values when multisite was set to "no"
REVERT: 8bb6f63fa Merge pull request #472 from bunkerity/dev
REVERT: 64789276a Update python deps
REVERT: 30194f959 Fix Access-Control-Allow-Credentials not being set to the right value when deactivated
REVERT: 50ee37db0 cors - refactoring
REVERT: b8d89fe79 Fix customcert plugin
REVERT: 63f4e44c6 Fix CORS when sending an OPTIONS request
REVERT: ac2e4dd64 Merge branch 'staging' into dev
REVERT: e14475de4 ci/cd - fix missing version in linux package name
REVERT: 136f68cd3 ci/cd - fix typo in beta wf
REVERT: d83730cf7 ci/cd - fix linux package name in upload/download steps
REVERT: ae042854f Fix blacklist download jobs where ignore urls were not being downloaded
REVERT: 86053d3dc Update RDNS regex in jobs files
REVERT: b2e26fc8f Revert "Revert "Update RDNS regex""
REVERT: 48354fb26 Revert "Update RDNS regex"
REVERT: a544f18e2 Update update-check job to add stars so that the end of line shows
REVERT: c6f304b37 Update RDNS regex
REVERT: 14ca85cdb ci/cd - fix package.sh name in linux build wf
REVERT: dc1cb6a6f ci/cd - fix scp command in linux build wf
REVERT: 73acbe085 ci/cd - fix typo in linux build wf
REVERT: 45c90527c ci/cd - fix linux package generation when arch is ARM
REVERT: f4590749d linux - fix arch in rhel package image
REVERT: 141f5a1d5 ci/cd - fix typo in beta wf (again)
REVERT: 6e82fde8a ci/cd - fix typo in beta wf
REVERT: 00ba46ebf prepare for 1.5.0-beta update
REVERT: 9a1c09c56 Merge branch 'staging' into beta
REVERT: df787c75d linux - add pcre dep to fedora package
REVERT: 93e567bb6 linux - fix fedora deps name and add architecture to fpm config
REVERT: 8b6d788c2 ci/cd - fix bitnami chart values
REVERT: 541b64698 increase drupal delay time for tests, fix tmp dir not created for realip-download job and fix has_*_variable check when multisite is yes
REVERT: 59324526c speedup build process for python deps and fix default env value for autoconf/k8s
REVERT: a58e5c60c deps - upgrade python dependencies
REVERT: 27b1dddb0 linux - pin pip version
REVERT: fd056102d fix centos repo command in rhel dockerfiles and fix delete infras order for staging wf
REVERT: fb0373343 ci/cd - use single quote in linux build wf
REVERT: 43cbc79c7 ci/cd - move ARM_* to secrets in linux build wf
REVERT: 7592e5a84 ci/cd - fix typo in staging.yml
REVERT: 39ace8175 fix load-balancer example and add server_name to cache keys when required
REVERT: 48d7e72e5 Merge branch 'dev' into ui
REVERT: 66921b007 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 819ad60a4 fix hcaptcha antibot and refactor ci/cd for staging
REVERT: 20913808c Add .mypy_cache to .gitignore file
REVERT: a086ff690 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: a286e7bd3 fix wrong container in autoconf/k8s, init work on linux arm and ci/cd refactoring
REVERT: 5a233ff90 Fix Database model types
REVERT: 18b3d7148 Update db model to use SmallIntegers
REVERT: b36cd924f Add `bw_` prefix to database table names
REVERT: 63ce1afcd Handle errors more gently when API requests fails
REVERT: d4934cfee Remove test-ui service in the main docker compose file as it's been extracted
REVERT: 500d58e50 Separate the compose file back
REVERT: 21dc67b68 Update test.sh for ui-tests an the compose file
REVERT: 75d2be7db Update tests-ui to fix them
REVERT: 041b7f71e Update ui-tests to make a valid password
REVERT: 1245b8b01 Update regex in ui + Add regex module to requirements
REVERT: 913e9a2c2 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 97dc6540e ci/cd - fix typo in dev wf
REVERT: b75ba601b Merge branch 'staging' into dev
REVERT: 573fe8fee Change UI admin password check to a regex
REVERT: 51514df57 Remove not needed file in linux scripts
REVERT: 9ff64426b Fix ui tests with the external plugins
REVERT: 74fe9d5c1 Lint jobs py files
REVERT: 97b362bb1 Fix let's encrypt error when deactivated
REVERT: 964d31893 Fix wrong attribute value when checking for external plugins
REVERT: 914686e78 Fix often occurring bug when testing the web UI
REVERT: 58db1352f Revert "Fix often occurring bug when testing UI"
REVERT: 987af951d Fix often occurring bug when testing UI
REVERT: 1c74c5d8d ci/cd - refactoring
REVERT: 1cc9f5773 prepare for v1.5.0-beta fixes
REVERT: ac94e5072 fix double .conf suffix in custom conf, migrate /etc/letsencrypt to /var/cache/letsencrypt, fix bunkernet jobs and lua code and fix reload for jobs
REVERT: 773874154 move /etc/letsencrypt to /var/cache/bunkerweb/letsencrypt (wip)
REVERT: 75ca603b7 WIP - fix bunkernet and missing reload for scheduled jobs
REVERT: 027605452 Fix bunkernet initial message when checking connection + add TODO
REVERT: bddfb58a0 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: c7ab00208 Merge pull request #462 from bunkerity/testmmdb
REVERT: ef551846b ci/cd Update mmdb - Let only the schedule and change branch to push on
REVERT: f41c096ec Merge branch 'testmmdb' of https://github.com/bunkerity/bunkerweb into testmmdb
REVERT: a7b7c2031 ci/cd Update mmdb - Add check for curl commands
REVERT: fb5529566 Monthly mmdb update
REVERT: 0afb250b9 ci/cd mmdb update - Changed branch to push on
REVERT: 019a927b0 ci/cd remove secret required for auto mmdb update
REVERT: 283a63f16 ci/cd try fixing workflow auto download mmdb
REVERT: 42707ad46 ci/cd test mmdb update
REVERT: cd57eb423 ci/cd - fix automatic push of doc
REVERT: 01fbacf0f ci/cd - fix pdf path for draft release + fix missing git fetch before deploying doc
REVERT: d693d065f ci/cd - allow to update release tag, add PDF to release and fix multiline CHANGELOG in release
REVERT: aa2ada0a0 ci/cd - update git user/mail for push doc wf
REVERT: a47d7df40 ci/cd - execute apt install as root for doc to pdf workflow
REVERT: c4093a2d7 ci/cd - increase ARM node storage
REVERT: 01e599493 ci/cd - concurrent builds for ARM + fix version string for RPM packages
REVERT: aaa070165 linux - fix VERSION path in package script
REVERT: 0b93c6e10 ci/cd - add more cores to ARM instance
REVERT: 88db3fa34 ci/cd - fix build rhel var
REVERT: 5c01bd3f7 ci/cd - various fixes for push workflows
REVERT: 604d4c1a0 Merge pull request #459 from bunkerity/dev
REVERT: bed6d742f Decrease the compression level when sending configs to BunkerWeb
REVERT: 57cb6e9c4 Update python deps
REVERT: 0d1580cff Small code refactor of the jobs and the scheduler's function that generates configs
REVERT: 766ca0e9c Merge pull request #458 from bunkerity/dev
REVERT: 0ab07678d Merge pull request #457 from bunkerity/ui
REVERT: 5412e6d24 fix logs checkbox
REVERT: ba7422218 ci/cd - fix push workflows
REVERT: fda2948e0 ci/cd - fix typo in push docker wf
REVERT: 59e5b1d54 ci/cd - fix push workflows
REVERT: 7ca7d7847 Merge branch 'beta' of github.com:bunkerity/bunkerweb into beta
REVERT: 939545644 add missing postgresql-dev build deps for ARM images
REVERT: 0b5746aba ci/cd - add missing inputs for build arm
REVERT: 94dc501c1 ci/cd - remove load image in buildkit for ARM archs because of docker limitation
REVERT: 8ffaa7cf7 ci/cd - force shutdown when deleting ARM node
REVERT: 6e99e7a98 cicd - fix docker buildx arm driver
REVERT: 2eef2b8bb ci/cd - fix variable share for ARM (again)
REVERT: 406c686e4 ci/cd - fix variable share for ARM
REVERT: 6cecc70c3 ci/cd - fix ssh command for ARM builder
REVERT: 2f992baab Lint py files with black
REVERT: 7befd927d Update python deps
REVERT: a4ae0d517 Update cached mmdb files
REVERT: c3d0d7ca7 Add workflow that automatically update cached mmdb files
REVERT: d4ceb7c10 Remove dev comments for ui tests
REVERT: b37c86e62 Fix ui tests problem with the logs page
REVERT: a7b07c959 Fix wrong condition when fetching the logs on Docker
REVERT: 3b237ed3c Fix UI tests
REVERT: a55a0df5d ci/cd - remove useless condition in create ARM workflow
REVERT: ae33ca52e ci/cd - fix wait-on variable
REVERT: 8867eb23b ci/cd - fix wrong json keys from scw api
REVERT: 1b79e291e ci/cd - various fixes for arm build
REVERT: 98ce5041d ci/cd - use fixed sha1 commit for scw action in rm arm workflow
REVERT: 66d7216dc ci/cd - fix typo in create arm workflow
REVERT: 45fa4d1c2 ci/cd - ignore /root/.cargo dir for security checks, use fixed sha1 commit for scw actions and add missing deps for ui/arm
REVERT: 9cd13990e ci/cd - pass ARM ID as secret
REVERT: 266383abb ci/cd - dynamic arm build node
REVERT: 4e0d2fce5 add missing dependencies when prebuilt crypto package is not present
REVERT: 823c09195 ci/cd - add missing var for ARM builds
REVERT: e71dc132e ci/cd - fix typo in container build workflow
REVERT: 0db5f7cf0 ci/cd - fix typo in beta workflow
REVERT: 4bfc5b693 ci/cd - fix wrong cache name in container build workflow
REVERT: 93d0a991a ci/cd - fix typo in push doc workflow
REVERT: 1c178ed75 ci/cd - fix version output for beta/release workflows
REVERT: ab7e1f624 ci/cd - add missing runs-on in beta/release workflows
REVERT: 0f499c9d3 ci/cd - fix typo in push packagecloud workflow
REVERT: d0f6d59f6 road to v1.5.0-beta 🚀
REVERT: 408662869 ci/cd - fix typo in doc-to-pdf
REVERT: 312757594 ci/cd - fix typo in beta/release (again)
REVERT: 11f86ea75 ci/cd - fix typo in beta/release
REVERT: ad1606742 use proper links in docs, automatic doc push and add pdf to releases
REVERT: 08e1d157d Fix ui-tests by removing no longer present checks
REVERT: c8908695b Remove unnecessary prints
REVERT: 641a27f5e ci/cd - remove useless needs for ui branch
REVERT: 468407081 ci/cd - fix typo in staging workflow
REVERT: 6784bd691 ci/cd - fix wrong condition for container-build workflow
REVERT: ef1897de8 ci/cd - add missing needs to tests-ui staging
REVERT: 9815f22d7 ci/cd fix typo in container-build workflow
REVERT: 65c6e48e9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 14a4db8bd use current_bw_version for docs, add automatic tests to ui branch and fix letsencrypt permissions for linux
REVERT: f6b8d23fb Fix ui tests by editing the attributes name to the new ones
REVERT: 58fd04430 ci/cd - fix typo in staging.yml
REVERT: 54a17c775 init work on CI/CD for generic beta releases, remove useless autoconf examples and fix linux postinstall script
REVERT: 4f2c58bd7 temp disable authelia test for k8s and add missing folders for LE on Linux
REVERT: 5e4ce4579 various fixes
REVERT: fa67c5d7b ci/cd - fix missing arg for copytree
REVERT: 04db308c9 ci/cd - edit staging workflow
REVERT: 5d2045803 ci/cd - edit staging workflow
REVERT: e7717ba7f Merge branch 'ui' into dev
REVERT: bbaaad848 docs - last polish
REVERT: 0658230e2 enhance responsive
REVERT: f5c28b27d Merge branch 'ui' into dev
REVERT: 575312336 harmonize all titles dark color
REVERT: 2f336be77 enhance file manager and jobs svg
REVERT: 81a37a377 enhance actions btns
REVERT: c3119f04e docs - plugins
REVERT: ffa91933e docs - add YT demo
REVERT: 5741dce6d Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 7695a839f docs - web UI
REVERT: 5fe0e0bfd Merge pull request #454 from Hado-K3n/patch-7
REVERT: 8c71f7d27 Merge pull request #455 from Hado-K3n/patch-8
REVERT: 124378d7c Merge pull request #456 from Hado-K3n/patch-9
REVERT: c6a184d90 fix ui integrations and fix stream support in db
REVERT: d8b7db167 merge from ui
REVERT: ddd83a808 docs - add stream support info and plugin description to settings page
REVERT: 289b58567 docs - add stream support info on security tuning page
REVERT: 4dda54a11 enhance style
REVERT: 0ca473c69 fix style issue between load and page transition
REVERT: 1145b798f fix filter setting from custom selectors
REVERT: 63e7ccf13 better centering loading logo with text
REVERT: 001a63efc continue custom selectors + fix script + style
REVERT: 4144faa93 fix create service issue + remove stash
REVERT: 72bc9e4bb start creating custom selectors
REVERT: 98de3fc2f docs - quickstart
REVERT: f118f992f merge from ui
REVERT: 5285a2f4a force stash
REVERT: 1d354c9c6 docs - quickstart (wip)
REVERT: 55a7c8fee force stash
REVERT: 64a9fe4db fix checkbox + style issues + script duplicate
REVERT: a90d9e627 ui - fix default value for inputs
REVERT: 7e1efcbc6 Merge branch 'ui' into dev
REVERT: b5f0fe856 docks quickstart wip
REVERT: 01d8c65c9 remove hidden input checkbox + fix script
REVERT: b7f63450e add special method for mode
REVERT: bc47f1fa5 Merge branch 'ui' into dev
REVERT: 7089e8b4d fix checked state
REVERT: d4fd4c473 fix checkbox + template
REVERT: db5789fcb Merge branch 'ui' into dev
REVERT: ab20f83b2 Update k8s.postgres.ui.yml
REVERT: bbea8ba3f Update k8s.mysql.ui.yml
REVERT: 9a2005d1a Update k8s.mariadb.ui.yml
REVERT: 9512de630 docs - quickstart guide (wip)
REVERT: 956a7bd23 Merge pull request #453 from gin-gitaxias/patch-2
REVERT: f8c5543fd Update plugins.md
REVERT: 667bb3003 docs - quickstart guide (wip)
REVERT: 6b76596a8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 78c2e16ea add missing cluster config for ui/k8s and start quickstart guide doc
REVERT: 1e6cfe8b0 fix filter disabled issue + reset on modal open
REVERT: 574ecbd6b Lower the environnement variable for the mode
REVERT: aa3ce13a8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 6f39fce6d docs - integrations
REVERT: 92fc5d981 Remove ascii art showing in UI logs
REVERT: ae7e3ddd9 Fix how the ApiCaller is initialized for UI instances
REVERT: df94bc4af Merge pull request #452 from bunkerity/dev
REVERT: bf29fa2f9 Show how many plugins there are correctly in the home page
REVERT: 509bd21b0 Add log when deleting plugin
REVERT: 1530745a7 Merge pull request #451 from bunkerity/ui
REVERT: a87abf3ce update home dark mode + variable
REVERT: 8a5836dd9 add popup darkmode
REVERT: 3a4a6ee5f new service doesn't force method="default"
REVERT: 1321a76c0 update service submit name for new or edit action
REVERT: 53e145b91 show method involved in disabled setting on hover
REVERT: ceec21faa update web-ui INTERCEPTED_ERROR_CODES
REVERT: 63ba00180 Fix logic when saving a service in the UI
REVERT: 479f18b17 Merge pull request #450 from bunkerity/ui
REVERT: ab43bf84a Make it so the UI and the scheduler no longer run as root in Linux
REVERT: a7849a6e7 Fix mic mac with config files and UI
REVERT: 9009859aa Merge pull request #449 from gin-gitaxias/patch-1
REVERT: 0bf2116c4 docs - concepts
REVERT: 3616a9f20 Update security-tuning.md
REVERT: 435aae7cf docs - index and migrating
REVERT: c0e649d68 fix logs + select custom
REVERT: 1c3bbf1bc stream - add example and fix ssl support
REVERT: 37ebde363 fix logs and plugins dropdown + margin
REVERT: b64e55f75 Add bigger timeout to loading.html
REVERT: da4bb8dce Fix condition in helpers.lua
REVERT: ab509c270 Fix UI with Linux
REVERT: 6916a81c5 bunkerweb is now W3C friendly
REVERT: c7bc493e3 stream - fix various errors
REVERT: bc1dbe18a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: bd577cfb2 country fix (again) and init work on stream
REVERT: a829528c3 Add bwcli to scheduler and fix it for the autoconf
REVERT: 9d829ebca Finish updating bwcli
REVERT: 94b97a6bb Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 780c0c8c5 api - fix errors in calls and use ngx.ctx instead of ngx.var
REVERT: 5fb0be70a Merge pull request #447 from Hado-K3n/patch-6
REVERT: 6843902db Merge pull request #446 from Hado-K3n/patch-5
REVERT: 3419dca98 Update k8s.postgres.ui.yml
REVERT: 38c71cf94 Update k8s.mysql.ui.yml
REVERT: b7c260561 [WIP] Update bwcli
REVERT: 995ff250f Update python deps + add redis for the gen
REVERT: a04490b47 Replace unnecessary import
REVERT: 5112ed46e Merge pull request #445 from Hado-K3n/patch-4
REVERT: 8558785b1 Update k8s.mariadb.ui.yml
REVERT: 95e64d6c8 bw - fix black/grey/whitelist rdns check and country check
REVERT: 8ea94a2e4 Merge pull request #444 from bunkerity/dev
REVERT: 9f1405d69 Remove unnecessary {-raw-} in index.html when loading
REVERT: 9a2f7e9ab Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 93b471444 Add marging to antibot files hcaptcha and recaptcha
REVERT: 93c0cd437 Merge pull request #443 from bunkerity/ui
REVERT: e7d61a67c update antibot and default template
REVERT: 5d05eaeae Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: a77d233ec bw - add zlib dependency
REVERT: 9a69ca135 Merge pull request #442 from bunkerity/ui
REVERT: 823c12823 fix SERVER_NAME + fix delete form + enhance
REVERT: 52806afe7 Merge pull request #441 from bunkerity/dev
REVERT: 2ea726c22 Merge branch 'ui' into dev
REVERT: dffc770a9 fix and enhance
REVERT: 12f8b8197 bw - add missing lua-ffi-zlib dependency, fix syntax error for white/black/greylist, fix error for dnsbl and fix limit request not working in local mode
REVERT: 4871a2104 api - add missing ctx fill
REVERT: bcc5e6bb5 bw - add missing json decode in api and add missing require in country
REVERT: 83428d6cc bw - fix resolvers nil error when doing dns checks
REVERT: 7eefcb8f8 antibot - manage direct access to challenge page
REVERT: a372ffd52 fix invalid session error handling and remove debug log in whitelist
REVERT: e55912b34 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 5f9f1e54f load inline multisite values for white/black/grey list core
REVERT: 3b4882d82 Revert "Remove no longer present CVEs fix because these are already fix in the images"
REVERT: c2e0e5106 limit - use atomic script for redis case
REVERT: 4bc0771d9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: edf7e06e0 various redis fixes and display ready log
REVERT: a93d9a7d9 Remove no longer present CVEs fix because these are already fix in the images
REVERT: e4465d9a1 Fix jobs cache when a database is used
REVERT: c9af9457e Fix wrong condition when sending files
REVERT: 17a3d933b Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: a60b6f3ad bad behavior - fix 500 error and do not pass objects with another lifetime to timers
REVERT: c0e8e93ab Fix documentation mistakes when soft merging 1.4 into dev
REVERT: f1a868c66 Fix when the cache from jobs is saved into DB + sleep 5 seconds when waiting for the database for the UI
REVERT: d32102376 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 510938fc2 antibot - fix bugs related to session
REVERT: ed9605c10 Update python script that generates settings.md
REVERT: 3dabd42df Update python deps
REVERT: 834fbaf01 remove antibot back btn + update raw
REVERT: 95c231515 antibot - various fixes, not fully fixed yet
REVERT: 56028b087 update antibot / loading / default page
REVERT: 502d4fcc0 Add back the fact that we don't download the mmdb country if we don't blacklist or whitelist a country
REVERT: ccd56d3b6 change antibot and misc template style
REVERT: c949c0232 Update the security tuning's blacklist category according to the settings
REVERT: 671543e6e Add more ignored variables for missing setting name warning
REVERT: dbd5739ab Fix wrong setting names under `Custom certificate` category
REVERT: 5f26ebc69 Fix php-cookie-flags example
REVERT: bba26b548 Reorder core plugins to stop having the warning at startup
REVERT: db166c434 Add small fixes and lint to the error.html page
REVERT: 08f3d93ab Update jobs will now also check and save the cache in the db
REVERT: 63b1fb947 Fix CVE CVE-2023-1255
REVERT: d5b11b8bb Merge pull request #440 from Hado-K3n/patch-3
REVERT: 92744c091 Merge pull request #439 from Hado-K3n/patch-2
REVERT: d46337f60 Merge pull request #438 from Hado-K3n/patch-1
REVERT: 9b52a5c3c clusterstore - various bug fixes
REVERT: 3f9d606e1 Update k8s.postgres.ui.yml
REVERT: 7e2f53c8c Update k8s.msql.ui.yml
REVERT: 1f5d8bfab Update k8s.mariadb.ui.yml
REVERT: 7a7d83a75 various fixes for redis/clusterstore - still WIP
REVERT: a5e08e1c6 refactor of session management
REVERT: 0fdb108fe core - do not execute init() if BW is in loading state
REVERT: 00b50c162 various fixes for core plugins
REVERT: 4ba5d6659 use ngx.ctx to store common values
REVERT: 860cc1a92 Merge branch 'dev' into ui
REVERT: 881d3a00d fix git issue on windows
REVERT: 76a2ff656 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 28ef546a9 refactor - start to use ngx.ctx for per-request data
REVERT: ed495b99f Add CODE_OF_CONDUCT.md
REVERT: 0bd3e273b Update compression_level of sent tarfiles to 5 instead of 9
REVERT: 348ab7a1e Add feature that allow the copy of code blocks in markdown + Update copyright
REVERT: cf2938bf2 Update web-ui docs according to the next major version
REVERT: 79a46e2cf Update the logic behind the check for linux os
REVERT: 9a325c7a9 Add new check for integrations in BunkerNet job
REVERT: 707256076 Add now the scheduler will pass his own env as well to jobs
REVERT: 9578ace02 Remove not used INTEGRATION file in BunkerWeb container
REVERT: 8c919c676 Update links in the home page of the web UI
REVERT: ad64ce22e Remove no longer needed packages that were fixing old CVEs
REVERT: 29cb6fe16 fix header phase and fix error template
REVERT: d3d18e15a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: a83254bf2 fix wrong log in access
REVERT: 859343e18 Merge pull request #437 from bunkerity/dev
REVERT: 50829293c Merge branch 'ui' into dev
REVERT: 8e22b1f21 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 9849ce10c fix wrong error check on phases and add missing ttl for *list cache items
REVERT: 3b5c083fc Soft merge branch "1.4" into "dev" + changing versions
REVERT: 4d95e32f1 update error page
REVERT: 1da4b78f0 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 915b51c3b fix error pages for default http server
REVERT: 535f1a055 Merge pull request #436 from bunkerity/staging
REVERT: 0afe038aa WIP Ui
REVERT: 3b6c3815e fix default-server-http.conf
REVERT: b5fa473ae Merge branch 'refactor' into staging
REVERT: 2fddbd862 refactor - disable asn checks for non global IPs, use resty.template with antibot and various fixes
REVERT: 8d63e3974 refactor - fix various errors and add missing dependencies
REVERT: 23725d483 Update prod shields.io link in README.md
REVERT: 303f380c7 Update demo.gif file
REVERT: 3c375039e Optimization on the download of mmdb files
REVERT: a7773dae2 Update intro-overview.svg
REVERT: 5eb884fe9 Fix bug when showing cache files for services in the UI
REVERT: 3fac889ff Remove no longer used modsec rules for the UI
REVERT: c3106e70e Update README.md and edit the demo GIF + edit the .prettierignore file
REVERT: 928ed2d6c refactoring and road to nginx 1.24.0
REVERT: 34ab94640 Update python image in Dockerfiles + Add gevent to requirements for the UI
REVERT: aa96c8503 update css
REVERT: 649d29b05 change news base url
REVERT: 217d1aa50 enhance style + menu script
REVERT: e6ff51e20 Refactoring and Linting of py files and json
REVERT: 666b7a1ba refactor - blacklist, errors, greylist, letsencrypt and redis
REVERT: 496edb83a Adding thel documentation
REVERT: ee83cea7f Add ascii art showing randomly when starting
REVERT: 6d1914d62 Update python deps
REVERT: 648f15e42 Add new core plugin update-check
REVERT: 2075a5d4c refactor - badbehavior, blacklist, bunkernet, cache, cors, country and dnsbl
REVERT: 5dd52186b Fully adding vagrant in the doc
REVERT: 3a03f07f1 Changing vagrant integration
REVERT: 64997bae8 Adding vagrant integration
REVERT: 03ec271e2 refactor - improve clusterstore interface and automatically retrieve variables for plugins
REVERT: 29c57915c antibot inherit from plugin
REVERT: 840c29568 continue work on refactoring
REVERT: 1ec83f256 renamed session to sessions
REVERT: 8c2908157 save work
REVERT: afc0ac198 init work on refactoring
REVERT: 4cd3fc644 Merge pull request #434 from syrk4web/staging
REVERT: bfc872be2 change flash logic when login
REVERT: 049e9c1ea Update python deps
REVERT: bf9b94ebf Avoid Autoconf from running in root
REVERT: 92e698458 magento - fix docker example (again)
REVERT: a771bdb18 magento - fix docker example
REVERT: 7c21b3da2 deps - update lua-resty-session to v4.0.3
REVERT: d4fae4b57 session - add missing settings
REVERT: a85044220 init work on redis session
REVERT: 986f506e7 add missing API_WHITELIST_IP in mattermost and moodle examples
REVERT: 41e8f5c93 fix wrong init of counter in badbehavior and fix nextcloud/docker example
REVERT: 8e7205062 ci/cd - reduce dynamic subdomains for k8s tests because of annotation size limit of 63 chars
REVERT: 1bc42204d ci/cd - use dynamic random subdomains to bypass LE rate limit
REVERT: a1e44f6e4 Merge pull request #431 from gin-gitaxias/staging
REVERT: 7ccd3ef92 fix moodle/swarm example and disable reverse-proxy-websocket test
REVERT: 8b54073a7 fix missing backslashes in autoconf custom configs and add missing full reload after custom configs update
REVERT: 622f2eb2a autoconf - check if service exists before adding config
REVERT: 5d14813be fix typos after basic testing
REVERT: 9f7060564 autoconf - add missing import and fix double lock release
REVERT: 937cd10ee refactoring and various improvements
REVERT: 6af3b985a fix deadlock in autoconf/swarm and fix missing favicon in default and loading pages
REVERT: f6ed21b3b autoconf - fix global custom configs not supported in k8s/swarm mode
REVERT: eee03c4ae autoconf - fix variable typo in k8s watch
REVERT: ecf4e77b3 autoconf - fix deadlock in watch loop
REVERT: 0b71819d2 watch services for autoconf/k8s and support real IP in default http server
REVERT: d3d0136bf various redis fixes and improvements
REVERT: e80965ca9 lua - fix wrong variable name in access
REVERT: 220374db4 ci/cd - fix syntax error in jobs
REVERT: 9b8606d40 fix redis hostname for k8s files and only append tasks with a desired state of running for autoconf/swarm
REVERT: c843be074 reverse proxy - allow all chars for URL settings
REVERT: 6a65104e7 fix return value of clusterstore.connect and disable auth basic for LE challenges
REVERT: b429201ec add missing LUA import for clusterstore and fix prestashop docker example
REVERT: a9ce32c26 added a more precise scan response and modified .json like asked
REVERT: f4442b642 ci/cd - fix syntax error in k8s test class
REVERT: 1c3c0d63b ci/cd - fix missing k8s create infra job
REVERT: e8c6d04aa ci/cd - various fixes for k8s tests
REVERT: 1caa9a1e7 adding reverse-scan
REVERT: 5d41a5b98 Merge pull request #1 from gin-gitaxias/reverse-scan
REVERT: 77fb8c420 Add files via upload
REVERT: 1bb79b155 linux - add geoip deps to rhel rpm
REVERT: cf8644602 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: ea1394b04 ci/cd - add linux/rhel tests, fix docker/behind-reverse-proxy, fix missing stream module for linux/fedora and remove placement constraints for swarm
REVERT: 87bd26da0 Add threatmap to README
REVERT: b3eb64745 ci/cd - temp disable autoconf tests and add missing packages for linux/centos
REVERT: 202f21aab fix syntax error in ApiCaller
REVERT: 55a36f719 fix docker/joomla, fix autoconf/nextcloud and fix API calls for swarm tasks
REVERT: 1c3f094cd ci/cd - fix wrong yaml edit for swarm and append LE settings for k8s
REVERT: f07c0e66a ci/cd - various fixes
REVERT: e8ee460ef fix CVE-2023-0464 and CVE-2023-0465
REVERT: dd2c8cbcd Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: 2d11a1c72 fix nextcloud modsec rule id, fix k8s pvc definition and remove useless logs from linux/start.sh
REVERT: 4f334a577 Add sleep between BunkerNet registering and ping to the API to avoid being rate limited
REVERT: 283828e8f Fix Now support WebDAV methods in the ALLOWED_METHODS setting's regex
REVERT: e50c92250 various fixes
REVERT: b8b50b165 Remove check for messages after creating the service - tests-UI
REVERT: e88406b5d Fix ui tests with the new UI
REVERT: 922b32b2e Merge pull request #429 from syrk4web/staging
REVERT: 671db37f7 fix autoconf/cors, fix docker/wordpress, fix wrong image name for k8s/scheduler and upgrade tests instances for swarm/k8s
REVERT: be71b0781 format logs instance to avoid error
REVERT: 9e1876fea logs fix + checkbox fix
REVERT: 4d245f9fe change cache/download to jobs/download
REVERT: 6d16a766f fix service delete + change style
REVERT: 5e598e90c fix bw-data volume not reused between docker tests, fix wrong bw-data volume path for autoconf tests, add let's encrypt to autoconf tests and fix temp env not generated for linux
REVERT: dc8b7dbe7 fix form input
REVERT: bf22faddc remove php-cookie-flags from tests, use HTTP(S)_PORT for temp nginx on linux and fix wrong volume path for autoconf tests
REVERT: 6c6845a79 enhance some responsive + change api
REVERT: 461789aed ci/cd - fix BW CVEs and fix Linux restart
REVERT: 318228e59 change and fix service logic
REVERT: fa7c7ac91 ci/cd - add www volumes for autoconf
REVERT: f88eced33 Handle services settings sent to the UI better
REVERT: 357dc3e3a Merge pull request #428 from syrk4web/staging
REVERT: 283306a07 Remove CVEs fix, it's no longer needed for now
REVERT: 276a96c55 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: 19870f154 various fixes for linux and get ui tests exit code from container
REVERT: 2485a47b2 Update python deps
REVERT: bd88f9743 fix id rename error
REVERT: 82d8180d8 Merge branch 'staging' of https://github.com/syrk4web/bunkerweb into staging
REVERT: 41f43c46d fix multiple
REVERT: 0f632803f Merge branch 'staging' of https://github.com/syrk4web/bunkerweb into staging
REVERT: 53f480a66 enhance multiple logic + fix conflict
REVERT: 1cf4a5665 disable healthy checks for docker-poryx and dummy app in ui tests, add --no-reload-linux flag to generator and fix missing self arg in autoconf
REVERT: 041142a4f add healthchecks to ui and autoconf docker images
REVERT: 4f9748cc2 earlier init autoconf in DB, healthcheck for scheduler and fix syntax error in linux/start.sh
REVERT: 54813ecd4 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: d97b5e104 various fixes
REVERT: 8031c5060 Start handling disabled checkboxes + multiples
REVERT: 58ab870b2 increase cors/k8s/swarms timeout and fix tests/ui container names
REVERT: cceda705b update flash count on remove
REVERT: e91f3dc22 Add a log when database is ready in UI + Small refactor of the Configurator
REVERT: 1e9a55c24 Add small tweaks to the UI and scheduler Dockerfiles
REVERT: 7dc26dafa Fix disabled checkboxes no longer always have the value no with the UI
REVERT: 7dc25b3a5 fix redmine/docker example, remove double AUTOCONF_MODE in integrations, remove useless backslash in start.sh/linux, rename container for ui/tests
REVERT: 55d24a8d1 Change mmdb-country job to download the file only if needed
REVERT: 9e009f7be Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
REVERT: 73b640bd3 fix cors/docker example, add missing AUTOCONF_MODE=yes to integrations YMLs, proper save_config for Linux and fix image name for UI tests
REVERT: 87bccaad6 Add `AUTOCONF_MODE` setting to scheduler in integrations examples
REVERT: d331131c0 increase timeout for php-multisite, add API_LISTEN_IP setting, edit default variables.env for Linux and add more logs for tests
REVERT: 578a1a8c8 Add more precise logs in the jobs plugins
REVERT: cb808c0ad Fix bunkernet-ip.list file not being created in case of an error (same as 1.4)
REVERT: c8d39ba6b Fix scheduler no longer running as root + Fix permission errors with downloaded plugins
REVERT: 4a67a5f56 Merge pull request #426 from syrk4web/staging
REVERT: 4dea680ac enhance style + some fix
REVERT: d81088272 Change the category if the user needs to log in in the UI
REVERT: e003b751d Fix when saving plugins with pages
REVERT: b829e4edf Fix false positive error with plugin page in web UI
REVERT: fc3ef3346 Add UI logs into console
REVERT: ce85bc6b8 Fix openssl no longer prints progression in the console
REVERT: 2e144bf46 Merge pull request #424 from syrk4web/staging
REVERT: defb2c333 Change the way the error page is rendered
REVERT: 2ae37ce8d Fix regex for ANTIBOT_HCAPTCHA_SITEKEY setting
REVERT: f335364fc Lint antibot.lua
REVERT: 16842fef1 Fix errors with missing % symbol + fix errors because of the symbol
REVERT: 5f5a5a890 Fix css in antibot html files
REVERT: ccde5c74f fix real ip jobs
REVERT: d3402ff3f change loading, error and test files
REVERT: a02218bc8 end examples refactoring
REVERT: 5845446b9 Revert "Fix errors regex, authorize same path for multiple errors"
REVERT: be0df4160 Fix errors regex, authorize same path for multiple errors
REVERT: 89812362a continue examples refactoring
REVERT: 5d214497b Fix don't try to add an instance when saving the configuration with the UI
REVERT: 808b7b220 Update jobs connect to the database only when needed
REVERT: aa0eff749 Fix regex in redis plugin that was breaking the UI + fix ui.conf missing comma + remove unused variables in templates
REVERT: 1ac434a5b Update python deps
REVERT: 9c22f1e97 Refactor the py files
REVERT: cfe5c6063 examples refactoring
REVERT: e37e6c346 Fix mixup of swarm and kubernetes when reading env variables + refactoring
REVERT: 0356250d9 Fix problem with the bunkerweb container and plugins
REVERT: 548d157fe Fix check if the Database is on read-only before trying to write
REVERT: 7c5aa4897 Update version string size to support new format
REVERT: 61b9517a8 Fix error when multiple jobs are trying to write in db at the same time
REVERT: 8c67d08ae Lint code
REVERT: 966f57cea init work on examples refactoring
REVERT: 0210ddd88 Add realip settings values to the initial BunkerWeb settings
REVERT: 6f29756dd ci/cd - pull only interesting images for UI tests
REVERT: 2b1dbb1d4 fix default cert path again and ignore pull errors for UI tests
REVERT: 74a11c2ed fix wrong cert/key path for default server
REVERT: b3769b6e3 fix missing then in blacklist.lua, disable site search in redis.init(), remove counter from reverse-proxy/stream config and fix ui tests compose pull
REVERT: c7d8b7dc1 update resty core and http lua to support latest version of stream lua and various fixes related to ci/cd
REVERT: a62ef9f54 add missing init-stream-lua.conf and various fixes for ci/cd
REVERT: 65611020d fix duplicate datastore http/stream, fix missing /var/www/html for linux and various fixes in tests
REVERT: b28668d68 ci/cd - revert back to old condition for pulling images
REVERT: 706305917 ci/cd - fix wrong autoconf local image name, add missing secrets for tests-ui, fix wrong IMAGE_TAG for tests-k8s and try to fix pcre issue on linux
REVERT: 2d440d26e ci/cd - add missing runs-on for reusable tests-ui
REVERT: 93945f391 ci/cd - add ui tests
REVERT: 5e31b6c4a fix CVE-2022-1304 for autoconf, add missing load_module for ngx_stream_lua_module.so and fix missing -lpcre in configure step
REVERT: 01fab4162 ci/cd - fix CVE-2022-1304 and wrong TEST_DOMAINS
REVERT: aa614b75a ci/cd - replace Test.py with latest one, fix yaml paths, print logs when k8s stack is not healthy and fix wrong linux docker image name
REVERT: 88a295517 ci/cd - fix log() call
REVERT: b95d1bc6d ci/cd - add missing log() and fix TYPE for linux tests
REVERT: 2604d9a56 ci/cd - trying a hack to support dynamic runs-on
REVERT: ed4d94529 ci/cd - trying to fix runs-on problem
REVERT: 53410e831 ci/cd - remove steps
REVERT: 609210021 ci/cd - inherit secrets for tests workflow
REVERT: a168f2bce ci/cd - fix rhel build and runs-on for tests
REVERT: 8bf211bc5 ci/cd - fix linux package generation (again)
REVERT: 9250faa52 ci/cd - fix linux package generation
REVERT: 139eaa2dd ci/cd - add missing scripts
REVERT: 7149a34cc ci/cd - add empty .trivyignore and rename redhat to rhel
REVERT: 5c5dbcfc7 ci/cd - fix type in push-packagecloud workflow
REVERT: e826c619f ci/cd - fix wrong quotes in delete-infra workflow
REVERT: b24cbf73d ci/cd - fix wrong quotes in tests workflow
REVERT: 99e27c430 ci/cd - add missing input in tests workflow
REVERT: ee0e608de ci/cd - fix negative conditions
REVERT: 10f9658f5 ci/cd - fix wrong jobs name in needs
REVERT: 27bac0382 ci/cd - trying to fix dynamic runs-on
REVERT: 97627cf83 ci/cd - pass runs-on to reusable workflows
REVERT: 8969b1e72 ci/cd - remove version from reusable workflows
REVERT: 8ca292fb3 ci/cd - change reusable workflow paths
REVERT: 8e73eb87c ci/cd - fix syntax errors
REVERT: 46e3078dd ci/cd - crash test incoming
REVERT: 95c5e2e47 ci/cd - move dynamic runs-on from reusable to staging workflow
REVERT: 131857a9b ci/cd - fix wrong indent in staging/delete-infra-*
REVERT: fc1cab1af ci/cd - remove subfolder and continue work on staging
REVERT: 25729fda7 ci/cd - init work
REVERT: bb2d868fa Refactor tests
REVERT: 5e3dadbfe Refactor ui
REVERT: 7fe168892 Refactor scheduler
REVERT: 36b5c372e Refactor Instance and remove unused method
REVERT: 596258559 Accept incoming changes for misc jobs
REVERT: c5a10aaa3 merge default-server-cert job
REVERT: 06acae405 rename *CUSTOM_HTTPS* to *CUSTOM_SSL* and continue work on stream support
REVERT: 6bf59b59a Refactor the plugins jobs
REVERT: 7a8a75901 Fix multiple CVEs (see comment) (finally)
REVERT: 10ec01e7b Fix wrong env var name in realip plugin
REVERT: 947ecf81f stream - add is_stream variable to check if we are in stream or http mode
REVERT: 4f4c8ebf0 init work on stream support
REVERT: 79036e975 add ngx_devel_kit and lua-resty-env deps, support set_by_lua hook for plugins and init work on whitelisting support with modsecurity
REVERT: c2402b118 fix duplicate root error when bw is starting, add modesec rule to core ui and init work on k8s/swarm integration files
REVERT: dbd052e9a Remove unnecessary import and use parent list of supported custom conf instead
REVERT: fb917960b Revert changes on the custom conf regex for the autoconf
REVERT: 26de0a233 Lint files
REVERT: 0faa34ac7 Add a regex to the setting REDIS_HOST
REVERT: 1d9459202 misc - add missing page.conf
REVERT: 1b113236a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 29b373148 misc - default pages for default server
REVERT: 6cb714be0 Start adding integrations examples
REVERT: 99b85ec8a Fix Apicaller error with swarm
REVERT: 37114ee2f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 902fe6ad0 bw - init work on redis
REVERT: 7bf034fc9 Fix being able to delete autoconf services from UI (shouldn't be)
REVERT: 916caf2d6 Merge (soft) 1.4 branch into dev branch
REVERT: f8e31f287 Update mattermost to use a static image
REVERT: 0f35c05ee Ignore multiple CVEs due to missing deps in python:3.11-alpine
REVERT: 846e26e41 Fix multiple CVEs (again)
REVERT: ebc7fbbce Fix multiple CVEs (see comment)
REVERT: f4081ebd3 Handle more errors with Bunkernet job
REVERT: 3b01b5144 Upgrade the way the jobs run_once are executed
REVERT: 8fa94d6a5 Edit DockerController regex to handle more custom confs and fix modsec conf mixing
REVERT: c92d4224f Update python deps + add cryptography for autoconf and MySQL
REVERT: 579975899 Fix checkbox not being sent when unchecked + double settings tab in UI
REVERT: 935805721 Fix CVE CVE-2023-22490 and CVE-2023-23946
REVERT: c671ccf7a Add unauthorized_handler to UI
REVERT: 5ac64758e Merge pull request #417 from syrk4web/dev
REVERT: fdd0da35d Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 34d12cd55 Fix file manager always use the database now + create log file for UI if not exists
REVERT: 47ccd9f04 Log events back in the UI
REVERT: 39b0f3f19 fix + show one mult group
REVERT: 7828c0225 add checkbox fallback + DL script
REVERT: e425eef9a Fix weird shinanigans when saving services config
REVERT: b75bc0344 Adjusting upgrade on file variables.env
REVERT: 79dabf763 Change the way bunkernet check on which instance type it is
REVERT: 3f462fb3b Optimize logger
REVERT: 84f3a894f Fix cache files not showing on UI
REVERT: 93933bde7 Fix custom conf MODSEC CRS being interpreted as MODSEC only
REVERT: c22bccc76 Correcting nginx version for debian installation
REVERT: 8bedc9ce6 Correcting doc
REVERT: 3a60b3463 Modifying doc for packagecloud problem
REVERT: 9efa21709 Correcting fedora packagecloud problem
REVERT: e3410058f Correcting Ubuntu/Debian
REVERT: 60ac00f5f fix inp value
REVERT: 6b13fbb84 change svg
REVERT: c89205016 Adding Rhel integration
REVERT: cb77a7010 change logs datepicker
REVERT: 8b0d8a9d3 remove log + fix service tab
REVERT: facb597ee fix float buttons
REVERT: 89930f1a3 Remove encoding from Database engine args
REVERT: 6122d59d8 Update python deps
REVERT: d3a02be59 Rhel cannot be supported yet
REVERT: a51aa27e4 Add some checks and solutions to rare syntax error
REVERT: ae8e65057 Fedora upgrade working Correcting backup during upgrade Database backuped TroubleShooting some errors with OS Centos working
REVERT: 77f41a059 Backuping old confs working
REVERT: 8fcba30ab Upgrade Debian/Ubuntu working
REVERT: 2e9a0c79e fix select hover style
REVERT: 64961e395 Remove unused imports
REVERT: b662d8453 Update python deps and remove oracledb
REVERT: e9d981a56 Fix checkbox being disabled every time
REVERT: 39418790a fix popover content
REVERT: 3d96fdb34 update dashboard
REVERT: 580f33e56 new file el is hidden on nav
REVERT: 4f6244e74 Lint code
REVERT: 1f2076756 Update Python deps
REVERT: dcf9e301e Fix UI not exiting correctly with gunicorn
REVERT: f1a28b01b Merge pull request #408 from syrk4web/dev
REVERT: 5739144e3 Fix bwcli /bans command
REVERT: df7bbb960 Update VERSION to 1.5.0
REVERT: dd0f56bb0 Add password type for settings
REVERT: d83d3aa3d Fedora working Modifying centos systemd Adding %postun to rpm Modifying postun deb Centos working
REVERT: b85e6ee6b Updating to Fedora 37
REVERT: ca0d88fcc Upgrading script: Ubuntu & Debian working
REVERT: 835f85d5d enhance input field style
REVERT: c4b5ddb95 Add setting to intercept specifics error codes
REVERT: 86c81a621 Merge pull request #407 from syrk4web/dev
REVERT: e6cb5b0b0 Made the UI independent + update job download plugins
REVERT: 0ce5f216d handle password inp
REVERT: 44ce5381c Fix CVEs
REVERT: 12b4cfa22 Merge pull request #406 from syrk4web/dev
REVERT: d7ee3ad66 fix file manager dropdown
REVERT: efbcfd0e2 Beginning of automation testing for linux packages
REVERT: 50b83790a Merge pull request #405 from syrk4web/dev
REVERT: bf1d19f33 remove prefix multiple input
REVERT: 4d49f2f4b Improving and correcting problems on packages
REVERT: f5d87849a Fix errors in the UI when a service have multiple domains
REVERT: d6d1dd1ce Merge pull request #403 from syrk4web/dev
REVERT: 0f5a73430 add condition for services
REVERT: a5256dd80 Fix IPv4/Ipv6 CIDR regex
REVERT: 591a20cd8 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: c56fccbf2 Adjustements to upgrade
REVERT: a3a5c1c74 Add ui tests requirements to the updated python deps
REVERT: b1c99e408 Add tests for the UI
REVERT: 65f2bf09b Remove the idea to store logs inside the database
REVERT: 7beb400b4 Fix stop gathering all the logs every time with the auto update
REVERT: ab163ce13 Fix services settings saves and plugins deletion
REVERT: 6932f3ded Add a new script to update python deps and update python deps
REVERT: d14372075 Fix tar error when sending /etc/nginx to BW
REVERT: 9edf789ab Update python deps
REVERT: 4b3b9b326 Merge pull request #397 from syrk4web/dev
REVERT: 557db479c refactorise logs script
REVERT: 13f1dadf5 Merge pull request #396 from syrk4web/dev
REVERT: adf96cadc remove useless files
REVERT: d2a634e7f plugins + global_config fix
REVERT: 1aaac2dcf Add regex for settings.json
REVERT: 871807b80 Add small fixes and tweaks
REVERT: 4c5172eda Correction of problems
REVERT: 331d58324 Fixing details
REVERT: e9c1b0cf8 Adjusting some details
REVERT: c220e5997 Linux UI fix
REVERT: 13fbbfb67 Update job database while locking the threads
REVERT: ea4ceae7b Fix isPage logic in menu (UI)
REVERT: 8ee0ec88f Remove test files in UI
REVERT: d81c52654 Lint ui files and change .prettierignore file
REVERT: 5cc80d2ba Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: a6295248c Merge pull request #394 from syrk4web/dev
REVERT: 38b59954a Lint yml files
REVERT: 146338de6 Refactor every .py file
REVERT: fcd8d8746 open another tab for doc
REVERT: 051192791 change style
REVERT: 9c80cdb32 add plugin page logic to menu
REVERT: 7689dac76 Filter CVEs fixes in Dockerfiles
REVERT: 0c8dfaaab Update bw and autoconf Dockerfiles for let's encrypt
REVERT: c5d3e77c1 Fix letsencrypt permission error and optimize the ownership commands in scheduler
REVERT: 8304116fd Send more variables to the home page front
REVERT: 4379e21ea Show dirs of every services even if they don't have a custom config
REVERT: 148d9d2d4 Remove user override in the job scheduler when executing jobs
REVERT: c6498eda7 Add new php-cookie-flags example
REVERT: f97e056ff Update jobs
REVERT: 13fe4b6ee Edit core plugins regex + make COOKIE_FLAGS multiple + edit DB model accordingly
REVERT: 2b2eadf44 Merge pull request #392 from syrk4web/dev
REVERT: 342fe956f change data creating new service
REVERT: bb7ca889c enhance darkmode + fix + factorisation
REVERT: cdc3cfc81 add toggle multiples + style
REVERT: 191c88238 Merge pull request #388 from syrk4web/dev
REVERT: dbe49bb8f Update intro image
REVERT: 7bdc46057 Change how the edit works in the config (UI)
REVERT: 364ef13b5 Fix error by calling a method on the wrong variable
REVERT: 1142ace55 Fix rare error with the jobs return code
REVERT: 477e87a2f news script + multiples groups
REVERT: a04f983a0 Merge pull request #385 from syrk4web/dev
REVERT: e5574fbdc change flash messages style
REVERT: b1ca47253 Small tweaks and handle services variables better
REVERT: 98bda4d1e Remove unused line in Templator
REVERT: 0b1be727f Optimized the storage in the Database
REVERT: 47526dc8a Merge pull request #384 from syrk4web/dev
REVERT: 00d3073b0 get custom method and check disabled state
REVERT: 02d10f619 Fix datepicker.js not being found because of the caps
REVERT: da634af4a Accelerate send_files method
REVERT: be0ee60cd handle stop signals with the web-ui
REVERT: 064f9eef9 Remove lines that will never be use in save_config
REVERT: ec15a4e88 Handle stop signals from Docker in the scheduler
REVERT: c49f50da2 Move BunkerWeb entrypoint to the correct dir
REVERT: 48bbb5e39 Merge pull request #382 from syrk4web/dev
REVERT: b944de9e8 change service multiple script
REVERT: 07ab3deb0 Remove unused lines in selfsigned job
REVERT: a4e863f09 Update authentik and migrate the example to the 1.5
REVERT: eeb810546 Migrate authelia example to the 1.5
REVERT: e2b2505d8 Fix saving config for multiple settings
REVERT: a0c2db7a0 Fix how the config is get from the database
REVERT: 4595295bd fix tab focus style + dark mode style
REVERT: 0bd6d5655 add flash script to login + enhance style
REVERT: 6f5aab11d fix footer padding
REVERT: 37380b977 fix get multiple settings only
REVERT: 3f6432f4b Merge pull request #381 from TheophileDiot/dev
REVERT: ff84656cd Update examples + add static versions
REVERT: 0e29d9f1f enhance and fix
REVERT: c195ffc86 Fix autoconf not working properly with the shared volume
REVERT: 291d64e29 Update community example + linting
REVERT: 4346322f7 fix services settings on modal open
REVERT: f2daf7368 Merge pull request #380 from TheophileDiot/dev
REVERT: ba9c16a5d Merge branch 'dev' into dev
REVERT: 0db1550f2 Changed the way jobs' cache files are downloaded
REVERT: fa54ebd49 Made a few tweaks + change the plugins for the services modals
REVERT: 0290f509e add plugin_name (change values)
REVERT: 77931b623 add plugin_name
REVERT: 6560ca086 test
REVERT: 0d0f1aa95 Merge pull request #378 from TheophileDiot/dev
REVERT: 03e98985e Migrate more examples and lint
REVERT: 016a8cd6d changes
REVERT: 5263be27d Change the way jobs are downloaded + folder created in configs
REVERT: 7813b51db Merge pull request #377 from TheophileDiot/dev
REVERT: c4bd535ac Add autogen back for docker and the autoconf
REVERT: 243c4ca78 Merge pull request #376 from TheophileDiot/dev
REVERT: e9687a5b1 Remove unnecessary comments
REVERT: 8537eea89 Merge pull request #375 from TheophileDiot/dev
REVERT: 3c9574dae Linux: Updating nginx to 1.22
REVERT: 9f84e02d8 refactoring services modal logic
REVERT: b105896b2 add rename form
REVERT: ff83b342d fix issues
REVERT: 8e31672ac Merge pull request #374 from TheophileDiot/dev
REVERT: b3d80d7a6 Generate requirements with python3.9 + use new resolver
REVERT: 6bbbe70ee Merge pull request #373 from TheophileDiot/dev
REVERT: e33bad4b9 Fix comments + updated passbolt to support the 1.5
REVERT: 37f21c5d4 Temporarily comment the post fetching
REVERT: 343d9d09e Show plugin pages even if there are none
REVERT: 0a4f0eb57 Fix error with jobs wrapper
REVERT: 1d4998356 Fix darkmode + Add new variables to pass to the front
REVERT: 547021e7b Fix job fetching for never ran jobs
REVERT: 0954e82f4 Fixes some bugs in the UI related to the plugins
REVERT: 3c5f6002d filter script + manage files + fix css + enhance
REVERT: e988aacf3 Merge pull request #371 from TheophileDiot/dev
REVERT: cce181a29 Update customcert job
REVERT: 9ba06b64d Update README
REVERT: 7f2eadacc Update python version for the scheduler and requirements
REVERT: 8d6c3d0b8 Fix db get_config
REVERT: cc748a048 enhance responsive + add loader
REVERT: 3bafe137d refactorisation
REVERT: e9dfb59f3 handle settings type multiple (fetch, add, remove) on services
REVERT: 8e5dda520 Changed the way the config is get from db
REVERT: 368122181 start multiple add and delete logic
REVERT: fee59a51e separate multiple from others inputs
REVERT: 50ba22914 upload plugins + jobs template + global enhance
REVERT: 94b0e6a0d Changes on the flashed messages
REVERT: 2e0a733cd Merge pull request #370 from TheophileDiot/dev
REVERT: 103e4a0ae Update modsec CRS to v3.3.4
REVERT: f0f9d7dcf Merge pull request #369 from TheophileDiot/dev
REVERT: 4dabe6dae Advancements in the examples migration to 1.5
REVERT: 115bfbdc1 Merge pull request #368 from TheophileDiot/dev
REVERT: 81ad9e9ac Update examples and add docker-proxy
REVERT: 82ab6c7c4 Revert "Remove unsafe deps in the requirements and install setuptools manually"
REVERT: b578823a1 Remove unsafe deps in the requirements and install setuptools manually
REVERT: 7fb61b5ef No longer dump the jobs to the front
REVERT: 37ece3de1 Merge pull request #367 from TheophileDiot/dev
REVERT: 719d779e0 Start updating the examples to the 1.5
REVERT: 2889b2638 Merge pull request #366 from TheophileDiot/dev
REVERT: 3c3bb7f20 Fix the way we fetch the config from the database (with suffixes)
REVERT: f0d0dac91 Add the variables back instead of the "_" so it doesn't create an error
REVERT: 62ab9944c Fix scheduler errors with sqlite in autoconf
REVERT: 739190051 Make the bunkernet not run in a thread to avoid errors
REVERT: 840ef8cf8 Fix typo in selfsigned job
REVERT: 5a95e6703 Edit the way the UI updates the config
REVERT: 34b5aba1c Merge pull request #364 from TheophileDiot/dev
REVERT: b7f60dbdc Update deps and requirements
REVERT: a0634b573 Merge pull request #363 from TheophileDiot/dev
REVERT: c0efdf9c0 Replace /usr/sbin/nginx with nginx
REVERT: db35e575e Rename variables so they make more sens
REVERT: b22cc44d8 Change the way jobs are sent from the database
REVERT: 4e96e57e0 Make certbot compatible with 1.5
REVERT: aaeda5300 Change the jobs logic + add support for arm
REVERT: 657722922 enhance templates
REVERT: 844b06e28 Fix how the jobs are sent to the front
REVERT: 3a0727b5c login template done
REVERT: 0f5756cfb enhance logs + prepare jinja variables
REVERT: 08e7c2104 plugins done + add name to settings
REVERT: 6b5d6e07e Revert changes on the check_settings function
REVERT: 3ccc12d78 add dropdown + responsive
REVERT: 3ed3fbe99 Autotonf now update the instances too
REVERT: e56f96d04 Update database model + Save instances to database + add the option to add logs into the database
REVERT: c87c3637d start plugins template
REVERT: 3a5d14952 Made few tweaks with the home page + remove useless functions
REVERT: 55e76b280 Fix path for dropzone's scripts
REVERT: 64d261acc Change the way logs are parsed
REVERT: f13455d11 send timestamp with ms
REVERT: 7aac0c352 fix ms
REVERT: fb2e41c11 logs params
REVERT: 2967ed98c fix fetch
REVERT: 4f9b2120e test
REVERT: f1e614fae change ternary operator for fetch
REVERT: fa5719db7 fetch logs + liveUpdate filter
REVERT: 2a2f2f1e9 Fix scheduler error
REVERT: 208716722 Merge pull request #361 from TheophileDiot/dev
REVERT: fa98003f2 Thread the jobs run_once
REVERT: 89e8839bb Optimize the regex for the core lists
REVERT: 51c5836ae change logs script/template + continue jobs
REVERT: f61b4428b Merge pull request #360 from TheophileDiot/1.5
REVERT: a96771881 Change the logs date format + start editing the logs endpoint
REVERT: d30adf670 Changing rhel
REVERT: bf19cfe3d Migrating Linux to 1.5. Still some details to adjust to be perfect
REVERT: 0cd6ed1af When downloading new plugins, update the database properly + update job every time now
REVERT: 8f75af3d6 edit the .dockerignore
REVERT: 4f4beeef9 Create the database variable even when passing the variables, just in case
REVERT: 7347fe9bc update jobs only once
REVERT: b509ce16e Copy the files after installing the requirements
REVERT: 64601ebf5 Remove useless warnings
REVERT: c9238f993 Merge custom configs generation to avoid repetition
REVERT: 192c6755c Update db for the jobs that are ran only once
REVERT: c14765c6c Change the way jobs are sent and how we update external plugins
REVERT: 888bedd51 Change how jobs are send from the database
REVERT: babb1c72c Revert "indentation"
REVERT: 44c74f9be Revert "indentation"
REVERT: 984b6c5f0 ci/cd - speedup codeql by ignoring some folders not containing python files
REVERT: 355c947a4 start jobs template + enhance menu
REVERT: 272de0b8b ci/cd - fix codeql config path
REVERT: d9fc713c4 ci/cd - move codeql config to file
REVERT: c2503d63d ci/cd - add codeql
REVERT: b098478bd enhance service + darkmode script
REVERT: fa1739439 ci/cd - init work on dependabot
REVERT: 82df3f17f ci/cd - init work
REVERT: f02adf300 indentation
REVERT: c1031cb2c indentation
REVERT: e8581ecb4 enhance news/menu/base + logs scripts
REVERT: eb99d00da Revert "enhance news, menu + end logs scripts"
REVERT: a7d3d0452 enhance news, menu + end logs scripts
REVERT: c7556a39a Merge pull request #358 from TheophileDiot/1.5
REVERT: e02e9c9ec Edit how plugins work with the UI
REVERT: f1d7add73 Merge pull request #357 from TheophileDiot/1.5
REVERT: 1252d1651 Add the jobs feature and add the link when using sqlite
REVERT: 2154c7f54 Update database default DATABASE_URI
REVERT: 7957f63b8 Merge pull request #356 from TheophileDiot/1.5
REVERT: 73668b476 Optimize plugin gathering
REVERT: b3cfc1f01 Remove unnecessary lines and add plugins_errors endpoint
REVERT: b57e50db2 Send needed settings with the services in ui
REVERT: a0e66ab30 Change Database default path for the sqlite file
REVERT: fdd393826 add ui work in progress
REVERT: 6b9a6a7e3 Merge branch '1.5' of https://github.com/TheophileDiot/bunkerweb into 1.5
REVERT: 277e37bce Revert "add ui"
REVERT: 05d4b77bb Merge branch '1.5' of https://github.com/TheophileDiot/bunkerweb into 1.5
REVERT: e7e43e64d Add dark_mode to ui
REVERT: d40a93cb7 Revert "add ui"
REVERT: d102f027f add ui
REVERT: b70d97671 add ui
REVERT: 7db7aee7c Merge pull request #355 from TheophileDiot/1.5
REVERT: 70844ca60 Fix database with autoconf
REVERT: 1a7d8978b Merge pull request #353 from TheophileDiot/1.5
REVERT: 93c74154a fix fedora python deps bug
REVERT: f2eabc0df fix centos python dep bug
REVERT: d199f124b remove exits in ingress controller
REVERT: 3ec15eb4b Update the docs from dev
REVERT: 5a8f81256 Merge branch 'dev' (softly)
REVERT: d214352b7 Merge pull request #352 from TheophileDiot/1.5
REVERT: 891757dab Add support for arm + change scheduler python version
REVERT: 8dd377562 Merge pull request #351 from TheophileDiot/1.5
REVERT: 630cf8b88 Change the way services are sent to the UI
REVERT: b0c09b4de Merge pull request #350 from TheophileDiot/1.5
REVERT: fa655e6f0 Remove no longer used install.sh and uninstall.sh
REVERT: c8fbcbeae Merge pull request #349 from TheophileDiot/1.5
REVERT: 32101c3dc Move UI deps, Make the DB compatible with PostgreSQL, MySQL and Oracle
REVERT: 035eed8f6 ui - add custom PYTHONPATH in Dockerfile
REVERT: 2a3e24bd2 Merge pull request #348 from TheophileDiot/1.5
REVERT: 3984c4b0d Separate deps and change prettierignore file and pyproject
REVERT: 47afdc88e Merge pull request #347 from TheophileDiot/1.5
REVERT: 01bb6f5e6 Stop converting the files content to base64 when sending them to front
REVERT: c35874797 Return dumps of settings instead of the dict
REVERT: a8f27ccb1 Merge pull request #346 from TheophileDiot/1.5
REVERT: edce79936 Update the structure and the paths
REVERT: 04578aab3 Changing path Linux folder
REVERT: 5ae714fc7 Merge pull request #344 from TheophileDiot/1.5
REVERT: f65a4cdd6 SMall tweaks on the UI + edit the ConfigFiles edits
REVERT: 06aa73fcf Merge pull request #343 from TheophileDiot/1.5
REVERT: 0811aad7f Edit scheduler and change DB
REVERT: 858f6e00f Change python version
REVERT: b279d0240 Fix BunkerWeb gen on start
REVERT: ef7fa5b4f Merge pull request #342 from TheophileDiot/1.5
REVERT: 11bcd9824 Merge branch '1.5' into 1.5
REVERT: bacef768c Add integration manually in bunkerweb
REVERT: 5ec179aff The UI get the custom configs from the database
REVERT: 0e6a5f3f9 Merge pull request #341 from TheophileDiot/1.5
REVERT: eec00ba2b Update the Database and make it easier to gen
REVERT: 479b556fb Merge pull request #340 from TheophileDiot/1.5
REVERT: 375776e7d Fix UI path_to_dict with the cache files
REVERT: df62fd410 Merge pull request #339 from TheophileDiot/1.5
REVERT: 1f58d0c51 Edit dockerfiles
REVERT: 6c07f9967 Merge pull request #338 from TheophileDiot/1.5
REVERT: 069b45f37 Add some tweaks
REVERT: 850530cd0 Merge pull request #337 from TheophileDiot/1.5
REVERT: 01b414552 Make the Database support every feature + updates
REVERT: a12d013fc Merge pull request #334 from TheophileDiot/1.5
REVERT: 5f8353c11 Adapt everything so that the UI can work with every integration (some more tests are needed)
REVERT: fe8962592 Merge pull request #333 from TheophileDiot/1.5
REVERT: 66fb266f8 Centralize Database and optimize requests
REVERT: 7a03ed33f Update pip in Dockerfiles every time
REVERT: b09c05d3b Update BunkerWeb deps
REVERT: 9c02d5f9e Merge pull request #330 from TheophileDiot/1.5
REVERT: 7d743e198 Update the database and the core plugins accordingly
REVERT: ce6f01cf0 Merge pull request #329 from TheophileDiot/1.5
REVERT: 9140dc324 Optimize Database connection and ApiCaller
REVERT: 81307c82c Merge pull request #328 from TheophileDiot/1.5
REVERT: 0edef7c52 Use Python 3.11 where we can
REVERT: fe774e000 temp nginx is dead, long live to the IS_LOADING setting
REVERT: 0bf402fd7 Merge pull request #327 from TheophileDiot/1.5
REVERT: 48242b9a3 Get all config with generator
REVERT: 0b73ea856 Merge pull request #326 from TheophileDiot/1.5
REVERT: 09378458d db.get_config() get entire config and doesn't filter anymore
REVERT: 100849023 Merge pull request #325 from TheophileDiot/1.5
REVERT: 8b54762fc Fix db init with autoconf
REVERT: cfaeb1013 Merge pull request #324 from TheophileDiot/1.5
REVERT: 7e53bfe55 Fix gen for Docker integration
REVERT: 54530d535 Merge pull request #323 from TheophileDiot/1.5
REVERT: 79eea0e99 Linting + starting to migrate bunkerweb to the 1.5
REVERT: 316b84ad3 Merge pull request #318 from TheophileDiot/Feature-specific-order-for-plugins
REVERT: ba56c9f55 Merge pull request #317 from TheophileDiot/Fix-scheduler-error-reload-nginx-linux
REVERT: a8f79e58f Merge pull request #303 from TheophileDiot/Fix-custom-conf-disappearing
REVERT: b2a7e053b Merge pull request #314 from TheophileDiot/Feature-blacklist-ignore
REVERT: 96e656273 fix indent
REVERT: 01cecf14e Merge pull request #313 from TheophileDiot/Feature-max-client-size-edit-modsec
REVERT: 873ccad9b Add MODSECURITY_SEC_RULE_ENGINE and MODSECURITY_SEC_AUDIT_LOG_PARTS (#292)
REVERT: 97bf473e1 deps - add update checker for deps (#293)
REVERT: 5af2fb778 Complex example using autoconf (#271)
REVERT: bd4c94e83 Add specific order for core plugins and check them
REVERT: a96a8a8c2 Fix incorrect message while reloading nginx + more details on error
REVERT: 446ff93a4 Add ignore blacklist feature
REVERT: 5fdcc9e58 add g/G to the available file measurement units
REVERT: d207aa4bf Variable MAX_CLIENT_SIZE change the SecRequestBodyLimit value
REVERT: 57ad9d7ee Fix old custom configs where never deleted
REVERT: 7860aeab9 Merge pull request #312 from TheophileDiot/dev
REVERT: cac220023 Fix small typo in autoconf integration
REVERT: 5d9dc88cc Merge pull request #307 from TheophileDiot/Restrict-access-IP-NET
REVERT: 40863f28a Merge branch 'dev' into Restrict-access-IP-NET
REVERT: 67d514b53 Merge branch 'master' into dev
REVERT: 51e96416d Merge pull request #304 from TheophileDiot/Fix-Endless-loading-after-update-service
REVERT: ace1dfca2 Merge pull request #308 from TheophileDiot/Fix-doc
REVERT: b9e5badd9 Fix last typos
REVERT: a9865f850 Fix typo in plugins.md
REVERT: e3d0120a0 Fix minor typos in the doc
REVERT: 9214bb939 Merge pull request #309 from TheophileDiot/Fix-flask-dev
REVERT: 80c1b225b Replace flask development server with gunicorn
REVERT: de0954fac Fix typos in the docs
REVERT: 27b4ff330 Add the greylisting feature
REVERT: 06f65ffe2 Change the exposed port to 7000
REVERT: b0a887a15 Fix errors and warnings when editing a service
REVERT: 803ff8cb5 Fix CUSTOM_CONF_SERVER_HTTP disappearing after 60 minutes (autoconf)
REVERT: 94ce249d7 [#290] Fix typos in docs
REVERT: 478e98018 ci/cd - temp disable k8s test
REVERT: 8f44e108b ci/cd - add docker system prune
REVERT: 72caf907a ci/cd - temp disable swarm tests
REVERT: 01acb1cf3 ci/cd - temp disable nextcloud/swarm
REVERT: fc3c7892d ci/cd - add missing prepare for prod tests
REVERT: 2a04a5642 ci/cd - update ruby version for CentOS builder
REVERT: 6afdb298f lua - fix pcall for asn/country mmdb lookup
REVERT: 04019a617 tests - fix nextcloud/swarm
REVERT: 34649bf33 docs - add Ansible to README
REVERT: 469a5343e ci/cd - remove old linux packages before building
REVERT: 4244399eb road to v1.4.3 🚀
REVERT: 66029a316 tests - edit prod workflow
REVERT: d0c245ba8 tests - fix bug when testing if a swarm stack is healthy
REVERT: 5633d5ff5 tests - remove mongo-express/swarm
REVERT: 61d57b4eb tests - fix mongo-express/swarm
REVERT: 76f035e21 fix wrong DENY_HTTP_STATUS setting in docs, fix autoconf ghost/prestashop tests and some UI warns/errors
REVERT: b35dbdffc tests - fix ghost/docker
REVERT: 7e226301d tests - fix prestashop/docker
REVERT: 8f273a929 ci/cd - fix missing comment chars
REVERT: 45f4e06ac road to v1.4.3
REVERT: 7fe58ddd5 tests - disable systemd start limit
REVERT: 561e64a89 tests - road to debian
REVERT: 29933fdeb tests - add unzip package to linux container
REVERT: 7915da6df docker - fix CVE-2022-3209
REVERT: d8f6c2756 tests - fix configs perms for linux
REVERT: cb56e7d04 tests - add chown for custom linux configs
REVERT: e84734314 tests - fix linux/drupal (again)
REVERT: 4caae414d tests - fix linux/drupal
REVERT: 8a23b96bf tests - disable linux/moodle
REVERT: a4fd701d5 tests - temp disable linux/proxy-protocol
REVERT: 39ed524f0 tests - add missing variables.env for moodle/linux
REVERT: d0e3f3ae2 tests - call cleanup-linux.sh
REVERT: b0fa57b05 tests - replace restart with stop+start for linux tests
REVERT: ec1136085 tests - print logs when setup_test fails
REVERT: 3be348ebe tests - add haproxy cleanup for linux tests
REVERT: 884ca0f6d tests - add missing variables.env files for linux
REVERT: e4321629f tests - road to linux tests 🚀
REVERT: c277a33e9 tests - add missing which command for fedora
REVERT: 512c60c51 tests - add some debug info when linux/setup fail
REVERT: e64cc29a8 tests - create /run/php folder for rpm linux distros
REVERT: 42d29743b linux - fix 755 perm on /opt/bunkerweb
REVERT: 505d5c2ae tests - fix behind-reverse-proxy/linux
REVERT: 70992a0b5 tests - fix haproxy logging again
REVERT: 7e5465c59 tests - fix haproxy logging again
REVERT: f5606b693 tests - fix haproxy directive
REVERT: 265742cd9 tests - haproxy add logs
REVERT: 0580662cc linux - copy current variables.env to make temp one
REVERT: 8e15e2a40 linux - set /opt/bunkerweb permissions to 755
REVERT: 17801caeb temp disable arm
REVERT: 552588adf temp disable arm
REVERT: 5849c66e6 tests - fix www.conf
REVERT: 052dc2346 tests - increase php logs verbosity for linux tests
REVERT: 331c7e954 tests - add debug log file for PHP
REVERT: f71ad0f65 php - fix fastcgi_params path
REVERT: 34c648830 trying to fix PHP bug in Linux
REVERT: 5c99a4b0e refactor linux/start.sh and fix tests/cors www copy
REVERT: eb6f0d673 tests - fix purging wrong folder for linux tests
REVERT: 6ea38b1f7 bunkernet - fix wrong import in register job
REVERT: b5c07dda0 tests - add cleanup for linux tests
REVERT: 17b6b0fdc tests - fix PHP www.conf for Linux
REVERT: 512ed7200 tests - add cors/linux
REVERT: d8071e4c4 tests - install php-fpm
REVERT: 790fa37ae tests - fix behind-reverse-proxy/linux
REVERT: 6005a8f73 tests - fix behind-reverse-proxy/linux again and again
REVERT: 09f56a1c6 tests - fix behind-reverse-proxy/linux again
REVERT: 0c4d2edf1 tests - fix behind-reverse-proxy/linux
REVERT: d53c54d4b tests - add behind-reverse-proxy/linux
REVERT: 093d426bc better management of registration with BunkerNet and fix syntax error in LinuxTest
REVERT: 3762c3874 tests - copy variables.env for Linux tests
REVERT: 55525abf1 tests - fix mattermost/k8s
REVERT: 23f8ec957 UI - fix container CVEs
REVERT: a38ca5138 docker - dont generate config if already present
REVERT: e92938f00 autoconf - fix container CVEs
REVERT: c2ad79a79 Docker - fix CVE-2022-37434
REVERT: 8eefb4bf5 examples - fix mattermost/k8s
REVERT: 6d1ef606f examples - fix nextcloud/k8s
REVERT: 95c4ce723 enable bad behavior on default server and various k8s fixes
REVERT: e295b020e tests - increase redmine timeout and add pvc cleanups
REVERT: 1e499db50 examples - fix gogs/k8s
REVERT: a64276136 disable bad behavior if client is whitelisted and fix redmine/reverse-proxy-multisite examples
REVERT: 115d517c7 tests - add delays
REVERT: 7c1474cd8 examples - fix moodle/k8s port number
REVERT: 305870cc2 examples - edit moodle/k8s port number
REVERT: 3df0f8505 tests - add delay to moodle
REVERT: 897528b73 tests - fix magento/k8s again
REVERT: 4f4c446f7 examples - fix magento/k8s again
REVERT: 69848dccc examples - fix magento/k8s
REVERT: 0516f0a83 tests - assign bunkerweb-controller to srv1
REVERT: 41524a9e3 tests - force pv
REVERT: 0d44b098f tests - fix prestashop URL
REVERT: 0e315dc5f tests - edit prestashopHost value
REVERT: 5741391de tests - change k8s service type of prestashop to clusterip
REVERT: 6adff9ceb tests - increase timeout and remove pvc for prestashop/k8s
REVERT: 97a2caf06 tests - fix Kubernetes missing variable assign
REVERT: 865f4f1b5 tests - fix prestashop/kubernetes
REVERT: e8305b0b6 tests - fix missing prestashop/kubernetes.yml
REVERT: 840b875f7 docs - edit plugins page
REVERT: 978bbe9ca examples - fix missing configs subfolder in nextcloud/bw-data
REVERT: 502c9f2fe examples - fix radarr/swarm
REVERT: 1c4f8bf55 tests - automatic volumes prune for swarm tests
REVERT: b6e2ad22a tests - fix joomla/swarm
REVERT: 216686fc8 tests - add delay parameter
REVERT: d648b1fbe tests - increase magento timeout
REVERT: d3b725294 tests - wait until swarm services are running
REVERT: a48200bc0 examples - fix reverse-proxy-singlesite/swarm
REVERT: b429dd804 tests - increase timeout for swarm healthy check
REVERT: 0440c61d0 examples - fix gogs/swarm
REVERT: ae36b9899 docs - quick edit on PHP
REVERT: 9a83fadd8 examples - fix gogs/setup.swarm.sh permissions
REVERT: 09141f204 examples - fix magento/swarm
REVERT: edf5421bf examples - fix permissions for magento/setup-swarm.sh
REVERT: c67564c7c tests - increase timeout when doing requests
REVERT: b07637009 examples - fix mongo-express/swarm
REVERT: ec35b0a54 examples - fix mattermost/autoconf
REVERT: 95e3022eb examples - fix autoconf/reverse-proxy-singlesite
REVERT: d63538fd5 examples - fix wordpress custom conf variable name for docker/autoconf
REVERT: e01b24072 tests - ignore error when replacing patterns in files (binary files)
REVERT: 217924fe4 examples - fix reverse-proxy-singlesite regex
REVERT: bb6d02e0f examples - escape dollars in reverse-proxy-singlesite compose files
REVERT: 5c42fb58d tests - fix reverse-proxy-singlesite
REVERT: 2f8c5a1e9 examples - fix host for reverse-proxy-multisite
REVERT: af866e825 edit docs/integrations for ansible and fix examples/mongo-express compose file
REVERT: e90d4cc7e tests - fix json for reverse-proxy-multisite
REVERT: 70ac3c01b tests - fix missing arg no_copy_container
REVERT: 07a962466 tests - inline configs for docker/autoconf
REVERT: 87c57c67c tests - refactoring on the road, still needs some work
REVERT: 8fb03a317 tests - on the road of refactoring
REVERT: dc8570ca8 tests - add status type
REVERT: 151378570 tests - refactor mattermost example
REVERT: 4e7d795ea tests - support custom cleanup-kubernetes.sh script and refactor some k8s tests with helm charts
REVERT: cc9d228ab update compose version to 3.3 for swarm examples so config directive is supported
REVERT: 181957147 remove trailing space in DockerController and add missing bunkerweb prefix for autoconf-configs example
REVERT: 324feb593 autoconf - fix missing configs update for DockerController
REVERT: 22398d567 cors - fix typos in autoconf.yml
REVERT: 5119c8da7 gogs - missing setting for autoconf
REVERT: 0fca93e3e tests - sleep 30s between autoconf tests
REVERT: 17e14f4d5 tests - fix wildcard with sudo
REVERT: 3a46d318e tests - remove only content of subfolders
REVERT: 4eff0c3f9 tests - fix behind reverse proxy url
REVERT: bf58a17b8 gogs - add setup-docker
REVERT: 08d8bc880 tests - remove whole subfolders in bw-data
REVERT: b38f7c54e tests - add kubernetes-configs and fix missing s in urls
REVERT: 06f7fb096 tests - fix docker-configs (again)
REVERT: b7101eb47 tests - fix docker-configs
REVERT: a08b51bd0 tests - fix gogs expected string
REVERT: b2bcfb8c7 tests - fix hardened expected string
REVERT: d3014b42f examples - refactoring in progress
REVERT: 7eae49719 tests - prevent default rate limit
REVERT: be21b3933 tests - fix sudo cp again
REVERT: 7bb881aa3 tests - fix rename
REVERT: a607bd67c tests - replace python cp with sudo cp
REVERT: 6d06a32cc tests - list example_data as root
REVERT: c5526ef2f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 75b2ae868 tests - fix example_data path for docker
REVERT: 72965e230 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 201e2cf0f Correction logs Linux
REVERT: 203397444 tests - init cors and fix example_data path for autoconf
REVERT: d8c8ceab3 tests - fix LinuxTest setup and init work on integrating examples with the new test system
REVERT: c02d888b3 examples - rename setup scripts for drupal
REVERT: 9a9f9ebf3 examples - fix linux-setup.sh for drupal
REVERT: 6e381ee02 tests - disable copying bw-data files for k8s and swarm tests
REVERT: 0ee09d47d tests - force removing directories with AutoconfTest
REVERT: da2f6cb4f tests - force removing directories with DockerTest
REVERT: d1d2e51a3 cleanup tests directory and init tests refactoring for drupal
REVERT: c14b08faa examples - edit authelia configuration.yml file for Linux integration
REVERT: 80fee58e4 bunkernet - add default api server in jobs
REVERT: 37690a7a4 configs - enable default server if TEMP_NGINX is set
REVERT: b3fdd109a linux - fix wrong variables.env path when running jobs once
REVERT: 193449512 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: f5ede7897 examples - fix authelia variables.env
REVERT: 767a7ab31 Adjustements doc Ansible/Linux
REVERT: 81b370366 wait until Linux test container is initialized and fix variables.env for authelia
REVERT: 44fbf0315 authelia - extract tarball to tmp
REVERT: 02db54ce0 examples - follow redirect when downloading authelia for linux
REVERT: 14d61854e add sudo to linux dependencies and curl to linux test images
REVERT: 6f35561fa tests - fix cp and end_fun for LinuxTest
REVERT: 2505bc015 tests - add linux to authelia kinds
REVERT: b1df38374 tests - temp enable docker
REVERT: 410212b15 tests - run docker cp in a shell
REVERT: f2ac7bca7 tests - fix typo in LinuxTest
REVERT: a0948923e tests - copy local files for Linux tests
REVERT: 458ebe07f tests - dynamically find deb/rpm name
REVERT: 2205043e7 tests - fix LinuxTest.docker_exec()
REVERT: d370f1b05 tests - add missing chmod import to LinuxTest
REVERT: bf6dd93aa tests - replace rmdir with rmtree for LinuxTest
REVERT: 773517311 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 850a8057c ignore CVE-2022-30065 until we have a fix
REVERT: e6271ccd6 Final proofreading FPM
REVERT: f0ddb8328 docker - fix CVE-2022-30065 for autoconf
REVERT: f260bcf23 Small adjustements
REVERT: fa319ec10 tests - fix argv len check
REVERT: 029406453 tests - fix typo in LinuxTest
REVERT: f47ab0adc tests - integrated LinuxTest
REVERT: eca010231 FPM Linux/Ansible Doc
REVERT: 4d61e96e4 tests - LinuxTest on the road
REVERT: c9c730346 tests - fix linux.sh
REVERT: 58a82ddcd tests - copy Linux packages to local directory
REVERT: 8062d043c tests - fix Linux dockerfile path
REVERT: 0a09f8a75 fix CVE-2022-29458
REVERT: bb425bc36 tests - init work on Linux tests
REVERT: aa729daeb examples - remove double $ from kubernetes authelia
REVERT: 7edd55544 fix k8s example for authelia and ignore error code when doing debug_fail for k8s tests
REVERT: 0fd77a809 examples - fix typo in kubernetes authelia
REVERT: 720f36f47 tests - init kubernetes refactoring
REVERT: ea98b453d tests - use unique domains for swarm tests
REVERT: 4bd0129e4 tests - also edit root domain
REVERT: 6e47b2991 tests - add sleep in the end of SwarmTest.init()
REVERT: abc500a4d tests - fix domains for SwarmTest
REVERT: 378047794 examples - fix authelia swarm compose version
REVERT: 4a5e50005 fix typo in SwarmTest and fix authelia swarm example
REVERT: 3b73c50c3 tests - ignore docker stack ps return code
REVERT: ba6fddb56 tests - init swarm refactoring
REVERT: 9ecd2bd98 examples - add missing network aliases to authelia autoconf
REVERT: 7bbf77b7a fix authelia autoconf example and debug fail before cleaning tests
REVERT: f02fe1ed9 tests - remove only subdirectory on new tests and add cleanup when test failed
REVERT: 0383cadd6 tests - fix compose filename for autoconf tests
REVERT: aeba0ba72 tests - add missing AutoconfTest object
REVERT: 67608a463 tests - add missing decode
REVERT: 8b3b1291c tests - from replace/rename functions to class method
REVERT: 1c5c81d2c tests - add missing import
REVERT: fa2d52d80 tests - remove useless log and return boolean from Test.end
REVERT: 68bf5ef85 tests - remove wrong cleanup call
REVERT: 424b37bec tests - change permissions as root
REVERT: 2780ee190 tests - add debug_fail function
REVERT: 07b0bb38d docker - fix CVE-2022-29187 for ui and autoconf
REVERT: b47c2696e docker - fix CVE-2022-29187
REVERT: fdb8ca3ca tests - replace internal _log with logger.log
REVERT: eb59a9377 tests - init refactoring for autoconf
REVERT: 2e0542dbb tests - ignore case when performing test
REVERT: 0a996bf12 tests - replace match with search
REVERT: 48a6ba632 tests - fix rm command
REVERT: 991ddb9eb tests - remove file as root
REVERT: 1e1d7d7f1 tests - replace variable typo in get request
REVERT: ebc94f515 tests - add missing char when replacing Docker volumes
REVERT: e4f6017d6 tests - replace example domains with test domains
REVERT: dfc5f2e79 tests - export runner env
REVERT: c07f85a42 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: ab57be657 tests - fix missing copytree import and self parameter
REVERT: 5f79aea4b fpm single/multiple docker&autoconf
REVERT: cc760a646 tests - fix datetime import again
REVERT: db2c35cb3 tests - fix datetime import
REVERT: 28f1b4f73 tests - rename variable
REVERT: e1183a0d4 fix tests.json for authelia and exit when test exception occurs
REVERT: 16573a397 tests - do not run as root
REVERT: de8cee491 tests - add missing imports
REVERT: 56afbd457 tests - run as root
REVERT: 590ad46cd tests - fix missing chmod import and Test.init log call
REVERT: 8d580bc16 tests - fix missing Test import
REVERT: a91fc7307 tests - fix indent and isfile import
REVERT: 773a37d45 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: b64af8526 tests - DockerTest on the road
REVERT: 0d3e1e2a1 Update the plugins docs
REVERT: 85217b57c Fix a typo in the plugin page in the docs
REVERT: ba75154d0 Add url_for function to custom plugins templates
REVERT: c055ec7ec Fix duplication in plugins
REVERT: 2c4efe9d0 Add Plugin Pages feature
REVERT: 795dfc077 Add static map files
REVERT: 8b4b3f3b0 ansible docs
REVERT: 2e4758e94 tests - DockerTest improvement
REVERT: c155227ec tests - init work on refactoring
REVERT: dde185141 tests - increase timeout for magento
REVERT: e62523d1d lua - use pcall with mmdb functions
REVERT: 658ab7504 docs - add ansible diagram
REVERT: 8d6397a6b Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: f5c86cc4e examples - add cors example
REVERT: 8760110fb Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: cc4f0b26a Quickstart Ansible and integration
REVERT: 7b769361a cors - init work on core plugin for CORS
REVERT: 97e607110 linux - rename bunkerweb-ui.env to ui.env
REVERT: c3ee7929b docs - change target of the web UI demo link to blank
REVERT: 969a1e5d7 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
REVERT: 5bf59c85d docs - replace web UI gif with YT video
REVERT: 430f665cd Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
REVERT: 5be21f9bf Adding www folder
REVERT: afdd4de5a fix regex checks with *_CUSTOM_CONF_* setting, add doc about DENY_STATUS_CODE
REVERT: 5586b3733 misc - add DENY_HTTP_STATUS setting (403 or 444)
REVERT: 90e58f261 fix ui.env path for Linux integration and add docs for autoconf with rootless docker
REVERT: a00607af2 docs - add instructions for podman
REVERT: e880b7d59 docs - add infos about Docker in rootless mode
REVERT: fc925ccb1 edit docs typo for UI and variable typo in autoconf
REVERT: 571422131 ui - fix CVE-2022-2097
REVERT: 287e763e0 autoconf - fix CVE-2022-2097
REVERT: 89f81140a container - fix CVE-2022-2097 (again)
REVERT: a5c98f709 container - fix CVE-2022-2097
REVERT: 429214727 tests - fix data folder permissions (again)
REVERT: 6b1c5a93e tests - fix data folder permissions
REVERT: fb85d1d2d autoconf - fix typo in variable
REVERT: fdcbc8d36 custom conf - fix wrong path with multisite configs
REVERT: b2bb93bcf examples - fix docker-configs again
REVERT: 2b59086f6 examples - fix docker-configs
REVERT: e09d4901e containers - fix regex for *^CUSTOM_CONF_*
REVERT: 3594618e4 examples - fix typo in docker-configs (again)
REVERT: e44311281 examples - fix typo in docker-configs
REVERT: 738e3b6e1 containers - use python hack to get env var values from string
REVERT: 5ac80a135 containers - replace compgen command with a python hack because compgen -e do not display var with dots
REVERT: 8f258486e fix multiple CVE with curl/libcurl and add autoconf/docker CUSTOM_CONF configs examples
REVERT: 2dc18a794 autoconf - support both configs from files and autoconf
REVERT: e0a700506 autoconf - init support of custom variables using labels
REVERT: 385b7c413 docs - add docs for custom config using labels
REVERT: e25babe3d custom conf - docker
REVERT: a5457a164 custom conf - init setting support
REVERT: 0a1e8be71 examples - add missing setup.sh for mattermost
REVERT: 70c60f2a9 tests - add mattermost and radarr
REVERT: f2dfb0172 examples - edit mattermost and add radarr
REVERT: 1a8eef2c8 fix autoconf import for IngressController and init work on mattermost example
REVERT: cb106a112 autoconf - fix indent in IngressController
REVERT: 492648eeb autoconf - fix 410 exceptions (k8s)
REVERT: 1425ad0b4 docs - update settings list
REVERT: f7290b2c7 v1.4.2 release
REVERT: c0a8a356c linux - include bwcli in /usr/local/bin
REVERT: 40007b086 add slack to official plugins and init work on EXTERNAL_PLUGIN_URLS setting
REVERT: 6478512e4 scheduler - only send /data folder if apis are present
REVERT: 7aa6852d3 autoconf - fix missing scheduler in autoconf mode and missing apis list
REVERT: 7bba81b16 autoconf - fix wrong variable name for environment
REVERT: 5cb61380d autoconf - add missing call to ConfigCaller constructor
REVERT: b2758cea7 autoconf - init work on _get_static_services method
REVERT: a18d77aee autoconf - init work on static server configs as env var
REVERT: 4a699ef6c fix missing local Linux images import in ci/cd, and fix bug related to jobs in Linux integration
REVERT: 5690a58ab fix IFS checking permissions
REVERT: e55928a37 fix bwcli commands when using Linux integration
REVERT: 0f2388b1f fix permissions check when file has space in the name
REVERT: 2b43a9cbf Merge branch 'dev' of https://github.com/bunkerity/bunkerized-nginx into dev
REVERT: 5ecf39ee0 Fix web-ui example with X-Script-Name
REVERT: ad091493c examples - add various certbot-dns examples
REVERT: a65606c36 examples - add certbot-dns-ovh
REVERT: cd0d70b8f cache dev Linux images in ci/cd and disable site config generation for autoconf/swarm/k8s
REVERT: e21a35017 plugins - support log_default() hook, same as log() but for default server
REVERT: c563731e8 autoconf - fix overwrite configs file when using Docker autoconf
REVERT: 3c417d2ff linux - fix fedora NGINX version in Dockerfile, fix missing arg when building DEB/RPM and force NGINX version DEB deps
REVERT: 970082f92 linux - force NGINX version in RPM deps
REVERT: 4a2504c3b reflect ci/cd changes to dev
REVERT: fd0c7b1e5 ci/cd - add automatic build for Linux images
REVERT: 1e6d62ce7 fix packagecloud yank name
REVERT: 1a4e21481 docs - edit supported architectures for prebuilt Docker images
REVERT: bcaca6f03 v1.4.1 release
REVERT: 424214fd5 add changelog and add missing s in authentik url
REVERT: 82b42d5b9 Merge pull request #259 from Brawdunoir/master
REVERT: db4e2cf26 update linux docs, minor fix in ingress example and update default value for bunkernet job
REVERT: 0ef82619b temp disable automatic tests for authentik and test automatic arm build on dedicated hardware
REVERT: f2655e331 remove arm build again, fix proxy_*_timeout directives and add authelia example
REVERT: d51ae1c1b Remove USE_ before authbasic plugin settings
REVERT: cd0438b8c support REVERSE_PROXY_*_TIMEOUT settings, remove useless push in CI/CD and try to build arm on GH runners
REVERT: f9a042526 add docs about compiling BW from source on Linux, add docs about packages pinning on Linux and fix regex for REVERSE_PROXY_AUTH_REQUEST and REVERSE_PROXY_AUTH_REQUEST_SIGNIN_URL
REVERT: 15ac64b05 let's encrypt - fix bug when AUTOCONF_MODE=yes
REVERT: e0f8895e9 init support for auth_request and add authentik example
REVERT: e85229835 don't send local IP to BunkerNet on default server, fix certbot new when MULTISITE=no and fix unknown reason in get_reason
REVERT: 972a284ef docker - drop support for prebuilt arm images
REVERT: 5258d8e58 docs - edit linux install procedure
REVERT: acb4bea97 reflect CI/CD changes for master pushes
REVERT: 42067e864 GHA - temp disable armv7 build until we have a fix for cryptography dependency
REVERT: 217bddabf GHA - different caches for armv7 and armv8 images
REVERT: c5fba1367 fix GHA typos
REVERT: 1b21f9eac fix UI tag in GHA jobs
REVERT: 389e05094 fix links in docs and change cache location for GHA jobs
REVERT: 05a89c303 fix registry URL in GHA jobs
REVERT: a0ed8a27e add debug flag to GHA buildx steps
REVERT: d0ac5e305 update GHA actions version
REVERT: b16f8f11a update GHA actions version
REVERT: a23ed06e6 fix typo in GHA jobs
REVERT: 6b9be078b refactoring of GHA jobs
REVERT: 8e198ed82 linux - fix documentation link in systemd unit files
REVERT: c3b527afe actions - fix RPMs path
REVERT: 972e5471d actions - fix linux deb/rpm generation
REVERT: b246c6d7e fix wrong branch name in actions and image name for linux tests
REVERT: b78fd5542 fix freetype CVE
REVERT: 945241339 actions - rename main branch to master
REVERT: 1af2264fa temp stop push to private repo
REVERT: 6f28708c1 docs - add missing setting
REVERT: a9f886804 bunkerweb 1.4.0
REVERT: 3a078326c Merge pull request #199 from Myzel394/patch-1
REVERT: d43b82b75 remote API - only do action if 403
REVERT: 3850cacb9 prepare for v1.3.2
REVERT: c00c7f46a lua - verify certs when doing HTTPS requests
REVERT: 163af4a49 prepare for v1.3.2
REVERT: 98e85eb99 docs - update security tuning sections : distributed blacklist and request limit
REVERT: 2e63bb025 docs - reflect kubernetes/swarm changes into the doc
REVERT: 6546a0edb disable country ban if IP is local, update default values of PERMISSIONS_POLICY and FEATURE_POLICY, upgrade archlinux packages before testing
REVERT: ab0038174 ui - fix ROOT_FOLDER bug in serve-files.conf
REVERT: 9f7097de0 request limit - fix some LUA code
REVERT: 24d6337a5 limit req - multiple url support
REVERT: bfb5319c1 limit req - add burst and delay parameters
REVERT: 4c77a1482 use annotations as env var in Ingress definition, fix cidr parsing for reserved ips, fix missing empty when job is external, fix ping check for remote api and init work hour/day support for request limit
REVERT: 4e45fa387 integrations - acme without shared folder when using k8s/swarm
REVERT: a9a26b82d fixed typo
REVERT: 00d91dcaa jobs - move certbot hooks to python
REVERT: 650ad7ea4 integrations - fix missing acme folder when using Swarm or Kubernetes
REVERT: 7045c0c2b jobs - fix encoding error on CentOS
REVERT: f0f432487 remote API - ban IP from distributed DB
REVERT: fdc02be05 remote API - basic send of bad IPs
REVERT: fb799765a jobs - fix str/bytes hell
REVERT: d53f02b5b api - client side (untested)
REVERT: 7b9722fac jobs - add remote API
REVERT: 31ed4ff83 centos - update ca-certificates in install script
REVERT: bc5f3ee88 fix CVEs and add init to Debian test image
REVERT: a6b21aae8 fix typo in settings.json, bump Debian to bullseyes, init support of Arch Linux
REVERT: 64aa9c253 init work remote API
REVERT: 5d94cc8f4 docs - init changes about storageless
REVERT: e7ee21cbb antibot - fix path for templates and data
REVERT: a0f8cbdac antibot - fix LUA typo in recaptcha mode
REVERT: 178d7a684 Merge pull request #182 from Nakinox/patch-2
REVERT: ca81535bb swarm/k8s - less storage, more API
REVERT: 062fa3e78 integration - continue work on storageless config for k8s and swarm
REVERT: 95f2d2af9 Update docker-compose.yml
REVERT: e55dff812 api - init work on storageless configuration
REVERT: f0f1c79d4 v1.3.1 release
REVERT: 3d2f5e238 conf - add REVERSE_PROXY_KEEPALIVE
REVERT: b079c99fb Merge branch 'patch-15' of github.com:thelittlefireman/bunkerized-nginx into keepalive
REVERT: 2e403c6eb config - add CUSTOM_HEADER
REVERT: f75a05584 config - add REVERSE_PROXY_BUFFERING
REVERT: 148edf681 tests - add github token to trivy scanner
REVERT: a19d8aa04 Merge pull request #180 from vepito/vepito-patch-1
REVERT: 480cff86b Merge pull request #179 from thelittlefireman/patch-16
REVERT: 35df3423d missing blank line
REVERT: 29f4069de switch the use cases
REVERT: 72e438459 Fix typo related to non-HTTP configuration
REVERT: a4a264773 jobs - fix docker reload and only do cron jobs when necessary
REVERT: 892e53369 Missmatch in docs with modsec folder
REVERT: a05614160 deps - use ModSecurity v3.0.4 instead of v3.0.5 to avoid memory leak
REVERT: 0772a9ba8 docs - edit badge version
REVERT: 33e0ffd5b Merge branch 'master' into dev
REVERT: 4cb3e089e linux - git SHA1 commit in install.sh
REVERT: 8808f161c docs - dev to master links and VERSION upgrade
REVERT: 1c60ec980 tests - fix volume wait with linux tests
REVERT: b13ff3456 add REDIRECT_TO_REQUEST_URI variable and edit environment variables docs
REVERT: 58f2926e9 docs - various examples fixes
REVERT: 9de628f3e Missing proxy_set_header for keep alive
REVERT: 6cc1abc89 Allow keep alive connection when ws is off
REVERT: a824e1568 linux - rename cron
REVERT: fd52bb7c8 linux - fix cron jobs
REVERT: 0938b20eb UI - use sudo for Linux integration
REVERT: b948e08bd UI - use systemctl on Linux
REVERT: fde14d162 linux - fix unknown scheme error and do nginx reload as root in UI
REVERT: 8a4eb3f2a remove .site files (gen), uninstall remove folder at the end (linux) and run jobs when reloading local instances (UI)
REVERT: 2a0b84074 ui - fix bug when Docker is used but Swarm is disabled, add jobs from API /reload and fix docker-compose doc
REVERT: aec22d1a8 ui - edit docs and fix CSRF
REVERT: 028fc61b4 docs - add dns_resolvers and permissions to Linux
REVERT: a903960b4 docs - fix missing subfolder in Linux quickstart guide
REVERT: a28f06f08 linux - run temp nginx to solve let's encrypt challenges
REVERT: 6c8bc6b34 tests - fix Linux systemd bug when writing to /tmp folder
REVERT: 2b3b4a5c3 linux - systemd support
REVERT: 57e4247ea linux - systemd unit file
REVERT: f9d4e9089 docs - edit k8s php service port and append suffix to hosts
REVERT: 4f024ec56 docs - add DNS_RESOLVERS for k8s integration
REVERT: bc46fc3d4 append suffix to ingress hosts
REVERT: 0be1da18a remove old conf before generation, dynamic DNS for PHP and reverse proxy and swarm fixes in quickstart guide
REVERT: 3cedc0ae1 quickstart guide fixes
REVERT: f1d5c07cc autoconf - various kubernetes fixes
REVERT: c9a6b6c27 autoconf - fixed infinite lock
REVERT: b199464a7 various bug fixes related to Swarm integration
REVERT: 4a9d64d9d add favicon to web UI and fix some tech docs
REVERT: 31536a3fe linux - reload as root
REVERT: 7b47c7304 examples - minor fixes in architecture images
REVERT: 83e7ce9cd examples - polishing before next release
REVERT: 0ad5159a3 docs - add changelog for next version
REVERT: 6240d8e28 ui - read variables.env when Linux is used
REVERT: 2f80f64dd docs - last polish
REVERT: e98da9b63 docs polishing and fix install.sh gpg --verify
REVERT: d9f770696 docs - web UI
REVERT: 75f299978 docs - special folders
REVERT: ef34b2cec docs quickstart / multisite
REVERT: 9b9110214 docs - quickstart guide / php
REVERT: 9e2a8070e docs - quickstart guide / reverse proxy
REVERT: 733136ac1 docs - init quickstart
REVERT: fa172ce5a docs - linux integration
REVERT: f6a9184ae docs - k8s integration
REVERT: d37dc2b62 docs - swarm integration
REVERT: f7c115edf docs - add autoconf doc to Docker section
REVERT: dfbb09136 docs - init integrations/Docker
REVERT: 8e4a65fec fix global.env generation and add web UI gif to README
REVERT: 0573ba7b5 ui - centering things without breaking sticky navbar and menu
REVERT: bcd421de0 ui - various bug fixes more or less related to UI
REVERT: 2ec28c79c docs - fix README toc
REVERT: fec60a4b1 ui - minor styling fixes
REVERT: dd7d1a2c7 ui - fix example, subpath behind reverse proxy and add socket proxy rights for swarm
REVERT: 0c1883472 docs - edit kubernetes overview image and add configuration section on the readme
REVERT: 4e6eab794 docs - fix wrong swarm image
REVERT: b23135b66 docs - add docker and kubernetes images
REVERT: ace9be397 docs - add autoconf and swarm images
REVERT: 8958e5107 docs - add overview image
REVERT: b2cfc15c2 security - add security policy
REVERT: 94bef079a examples - add architecture images
REVERT: 50266c228 examples - add the last missing README.md stubs
REVERT: 22e2fe869 examples improvement - added some README.md stubs
REVERT: 55186bbef examples improvement - hardened, joomla, kubernetes, load-balancer and moodle
REVERT: d8286ced7 examples improvement - certbot cloudflare and wildcard, clamav, crowdsec, ghost and gogs
REVERT: 44de2253d examples improvement - traefik alternative, autoconf reverse proxy and basic website
REVERT: 6d73fbded examples - update authelia and autoconf-php
REVERT: b6809266a autoconf - let's encrypt support for ingress controller
REVERT: 4e178b474 autoconf - basic ingress controller support for kubernetes
REVERT: 021147f9d autoconf - fix wait and redis
REVERT: 5a26d06c8 autoconf - fix infinite lock and honor DOCKER_HOST env var
REVERT: bc01427de ignore CVE-2021-36159 and redirect job logs as root when using autoconf
REVERT: 652614f41 autoconf - use DNS for Swarm instances discovery
REVERT: 24d9cce82 autoconf - various bug fixes in Swarm mode
REVERT: f866ef632 autoconf - minor fixes, prepare Swarm testing
REVERT: 1a32e7c02 autoconf - various bug fixes with DockerController
REVERT: 7180378d0 autoconf - init Config refactoring
REVERT: 6e66571fb various cleaning
REVERT: f44e41ced jobs - lock and reload management
REVERT: 26db144df autoconf refactoring and fix CVE-2021-36159
REVERT: a68ad53c3 autoconf - controller classes
REVERT: 01bba1d3f autoconf - init refactoring before k8s integration
REVERT: 059707443 k8s - init work on parsing ingress rules, helpers to setup on k8s, basic examples
REVERT: bc3c17a2f examples - init k8s example
REVERT: 556836b49 autoconf - init annotations parser for k8s
REVERT: 22612f175 minor edit on Linux tests and init work on k8s API
REVERT: 50c279617 jobs - improved log and reload management
REVERT: ef8969e2c certbot - add USE_LETS_ENCRYPT_STAGING=yes/no env var for using staging or production servers of let's encrypt
REVERT: 0dc2a5ec2 edit visibility of Job members and integration of a generic checker for nginx
REVERT: 9a207dfdc fix missing import in generator, expand networks to ips in jobs and init work on a generic checker with shared dict and redis support
REVERT: a60fbbb5b hotfix - fix CVE-2021-33560
REVERT: a1b9010d9 pull v1.2.8 fixes when applicable
REVERT: 3178545c2 v1.2.8 release
REVERT: 36b8760d4 resolve bugs on the stable version
REVERT: 8bb6676f5 settings - fix PHP_* again
REVERT: 4234f82c0 settings - edit EMAIL_LETS_ENCRYPT regex
REVERT: b99fb27df fix missing parameter when calling reload in autoconf and edit REMOTE_PHP_PATH regex
REVERT: 876fcd181 conf - add WORKER_PROCESSES
REVERT: 26dc79615 jobs - fix line edit
REVERT: 280d18986 jobs - avoid reload when not necessary
REVERT: 5f845680f jobs - edit referrers and user-agents data and init work on autoconf integration
REVERT: d12369c90 jobs - various bugs fixed and old files removed
REVERT: 366e39f59 jobs - SelfSignedCert, runner and reloader
REVERT: 71741b2d3 jobs - cache management
REVERT: 2fca4cd01 jobs - logging and error management
REVERT: fccf14627 jobs - python stubs
REVERT: b3684efaf jobs - init work on refactoring
REVERT: 82548378a crowdsec - move as external plugin
REVERT: b926b0db6 examples - use example.com instead of website.com
REVERT: 6713f56ec linux - fix centos install
REVERT: 2b923c05c compile and install LUA 5.1.5 to /opt/bunkerized-nginx/deps and introduced REDIRECT_TO feature
REVERT: 71cf3cf5c use local sources when building Docker image, add LOCAL_PHP and LOCAL_PHP_REMOTE to settings.json and fix pip bug related to removed working directory
REVERT: 8e3dbf1c7 fixed some fedora bugs, support LOCAL_PHP and LOCAL_PHP_PATH and sample variables.env
REVERT: 49ada6a8c linux - init work on fedora support
REVERT: 947e86f7c linux - uninstall script
REVERT: a12561a85 remove useless nginx-keys folder and add lua_package_cpath to http conf
REVERT: 6b19bd026 deps - add cjson LUA files to deps folder
REVERT: 6738b28b9 deps - move dependencies to dedicated /opt/bunkerized-nginx/deps folder to avoid messing with the system
REVERT: 010c0fd6d rename gen/requirements.py to requirements.txt, add git/bash to Docker deps and fix typos in README
REVERT: ecf30a71f deps - init work on single install script
REVERT: ffc4fc950 deps - manual compile/install of libmaxmind and upgrade lua-resty-core
REVERT: b9955699b Merge pull request #152 from thelittlefireman/patch-11
REVERT: 860fd1ace Upgrade desps
REVERT: eb5d13fb8 Upgrade lua-nginx module to 0.10.20
REVERT: ca41987cd Upgrade corerules to 3.3.0 & modsecurity to 3.0.5
REVERT: 3af1b397f UI - digging bugs from services, still some work to do
REVERT: 72a09eac6 UI - add CSRF protection
REVERT: 0d3f7d392 UI - admin authentication and bootstrap update
REVERT: 6be082e0a UI - init work on admin account
REVERT: 4947796c9 UI - fix instances bugs
REVERT: ba197dfa4 UI - bind gunicorn to 127.0.0.1/0.0.0.0:5000
REVERT: 4dd1ff847 UI - copy from helpers, systemd service and instances page update
REVERT: f771ec43f ui - init Instances class to support Linux and API for Docker/Swarm
REVERT: e241b0c93 logs - move everything from /var/log to /var/log/nginx
REVERT: d03a1a6e3 linux - add jobs.log
REVERT: 2c9c9fb62 linux - run master process as root
REVERT: deb28c599 autoconf - fix folders
REVERT: 2ea7331da jobs - disable post-jobs when SWARM_MODE=yes on SIGHUP
REVERT: 92ee40819 whitelist - fix /.well-known/acme-challenge whitelist for let's encrypt
REVERT: 2ccfb26e8 docker - fix CVE-2021-33560
REVERT: 70f9f8417 templates - add missing new line when necessary
REVERT: c4aef1d60 authelia - choose portal or auth basic mode
REVERT: a385183d8 authelia - various fixes
REVERT: cec47f3a7 body injection feature and add authelia to documentation
REVERT: c894c8370 authelia - add variables to settings.json
REVERT: f73b088f7 authelia - initial work
REVERT: 130c6752d Merge pull request #148 from aFresquetIntech/dev
REVERT: f97ea6785 Create .env
REVERT: 850429986 Correction
REVERT: 4a8da40cf reverse-proxy-zammad
REVERT: 0114c7b09 examples - edit basic PHP
REVERT: bebe89afb linux - edit path for default errors, ignore comments in variables.env, install/prepare certbot
REVERT: b2cceb608 linux - fix centos
REVERT: 37f5e4ed7 linux - fixed debian/ubuntu but still some work needed on centos
REVERT: 98568a57c linux - fix /var/log and typo in daemon directive
REVERT: 499192287 linux - fix daemon directive and rights on /etc/nginx
REVERT: bcb8acc36 linux - add RX permissions to /opt
REVERT: a9279053a linux - add executable right to gen/main.py
REVERT: 60057a17e linux - fix tests docker cp and pass single -c argument to su
REVERT: d0366fcc0 linux - started work on bunkerized-nginx command
REVERT: b448d91ca actions - fix centos test and docker image name when pushing
REVERT: e309ce6fd docker - fix permissions on /opt
REVERT: 37090dc66 actions - fix manifest error with buildx and load
REVERT: 6bb6facd8 add load: true when autobuilding images and move from /bin/sh to /bin/bash
REVERT: a1fcbd4b8 fix actions and configure
REVERT: 09a2a4f9e github actions refactoring
REVERT: 1e02368e8 linux/docker - common /opt/bunkerized-nginx folder
REVERT: bbb5134a3 fix configure arguments and CRS include
REVERT: b0f93fb84 fix Dockerfile again
REVERT: c892f037d fix Dockerfile
REVERT: 731c0f61d linux - init work on installer
REVERT: 93543d396 Linux - use the same dependencies script for Docker
REVERT: 5ec9e6ab4 linux - CentOS 7 install
REVERT: cc0d0af8d linux - ubuntu installer
REVERT: 43d2097d1 linux - nginx install on Debian
REVERT: f880e5e2a linux - continued work on install helpers for Debian
REVERT: 9636013f5 linux - started work on installer
REVERT: 15bdb076c hotfix - fix docs get_git_branch
REVERT: d62c4f466 v1.2.7 release
REVERT: ad52ef326 autoconf - prevent race condition by checking health state
REVERT: 3bd3b6fd7 Merge pull request #145 from thelittlefireman/patch-10
REVERT: e41acc20c Upgrade ModSecurity-nginx to v1.0.2
REVERT: 3c721dc2a add HEALTHCHECK to Dockerfile and append 10.0.0.0/8 to DNSBL whitelist
REVERT: 491d879fe jobs - cleaning the mess when using autoconf without swarm mode
REVERT: 52534510e fix bug when AUTO_LETS_ENCRYPT=yes and certbot can't resolve challenges
REVERT: 2c7337576 jobs - fix syntax error
REVERT: 9e4961ccb docs - rename sitemap to bypass rtd rewrite
REVERT: 01857d8ac gen - display the reason when ignoring a variable
REVERT: ab9f9e0a4 jobs - fix jobs when MULTISITE=yes
REVERT: 29dc64ca3 actions - add Docker cache to speedup auto build on the dev branch
REVERT: b5cd4e037 docker - build and push images from GitHub actions because of future DockerHub restrictions on autobuild
REVERT: 16101144c self-signed cert - fix bugs
REVERT: 95510e6e1 settings - add underscore to CUSTOM_HTTPS_CERT/KEY regex
REVERT: dd5890e76 geoip - fix bug when using GeoIP
REVERT: c3a437fa8 docs - rename the sitemap to avoid conflicts ?
REVERT: 518ddd323 docs - custom robots.txt
REVERT: 177a82ee6 docs - automated sitemap.yml
REVERT: 39db7b368 v1.2.6 release
REVERT: 9442e5914 jobs - fix jobs in Swarm mode
REVERT: fcc6b3b5e various bug fixes related to Swarm
REVERT: 678ad70b0 docs, various fixes and certbot-cloudflare example
REVERT: e8f5db0b2 docs - add plugins system
REVERT: 8295f6aeb plugins - clamav example
REVERT: 388fc1a0e plugins - started basic plugin system
REVERT: 62217a321 add contributing guidelines and license
REVERT: 53e433b1a readme - replace some badges
REVERT: f640157b1 Merge pull request #138 from bunkerity/feature-request-template
REVERT: d646f3e5b Update issue templates
REVERT: 4b31d005e crowdsec and generator fixes
REVERT: d2135c19c docs - road to v1.2.6
REVERT: 8cda1baf7 fix web ui multiple variables and add default error pages
REVERT: 445032406 dnsbl - disable checks when IP is local
REVERT: 74fb01536 web UI - init work on using docker-socket-proxy
REVERT: ee178de6a web ui - mostly finished templating integration (needs some testing)
REVERT: 7323525b6 ui - show only multisite vars for settings
REVERT: 82e47f147 ui - Dockerfile fixes and missing get_config function
REVERT: 2db967ad1 templating - road to web ui
REVERT: 1d96620ae templating - init integration into web ui
REVERT: 99c259bf1 templating - prepare integration into ui
REVERT: c7b81cfc1 various bug fixes related to HTTPS
REVERT: dfce0c06d autoconf - fixing various bug when SWARM_MODE=yes
REVERT: 0f8e56a66 templating - fixing bugs with autoconf
REVERT: f950abdc2 templating - started integration into autoconf
REVERT: 4a73ae819 various bug fixes on templates and nginx update to 1.20.1
REVERT: e2f02ee91 templating - prepare integration for autoconf
REVERT: a991b262e remove ClamAV because of GPL and started work on read-only filesystem
REVERT: a8bc17e83 templating - started integration into docker image
REVERT: ec19f9308 templating - added missing features in site templates
REVERT: 23aa05300 templating - auth basic support
REVERT: 289ad106c templating - multisite support
REVERT: bbc5bbc9e templating - fix some site templates
REVERT: 633a07686 templating - init work on site templates
REVERT: 996c45df4 templating - init work on global templates
REVERT: 801530baf templating - road to full jinja2 templates
REVERT: c65dda391 templating - init work on templating with jinja2
REVERT: ea891969c templating - updated settings.json with global settings
REVERT: 698ae17c4 templating - init work on generic settings management
REVERT: 664563284 antibot - basic pow with javascript
REVERT: 16e5ede13 antibot - custom templates
REVERT: 8260746fe logs/lua - add logger tool
REVERT: de560490d fix LUA array variables and add LOG_LEVEL to the troubleshooting section
REVERT: 96db3a450 log - add LOG_LEVEL variable
REVERT: 73543f4b0 hardening - add no-new-privileges
REVERT: d9bb97be5 lua - move global vars from lua to site config (untested)
REVERT: 863283d09 started work on moving variables from .lua to nginx
REVERT: 600484b16 crowdsec - fix bugs and update example
REVERT: 7c6a13c54 examples - improve nextcloud example so it works with webdav clients
REVERT: b3bb4ec40 remove unnecessary dependencies and update doc about certificate bundle
REVERT: 69f465720 examples - fix typo BAD_BEHAVIOR_STATUS_CODES
REVERT: d02985d21 check permissions for missing volumes and add comment about permissions on examples
REVERT: b0ca85ff7 v1.2.5 - performance improvement
REVERT: 2f115c444 Merge pull request #131 from bunkerity/issue-templates
REVERT: 7f15741ea Update issue templates
REVERT: 288b8eb85 docs improvement + road to v1.2.5
REVERT: 61c08fb97 docs - troubleshooting
REVERT: 01ef47a66 docs - security tuning improvement
REVERT: 71515a910 doc - volumes list
REVERT: a33d0658c docs - road to a beautiful documentation
REVERT: 0b3ff6a9f bad behavior - move from fail2ban to pure lua
REVERT: eb2d0d330 performance - rsyslog and fail2ban removing
REVERT: 5bcbb3863 doc - official document started
REVERT: ca660b250 init work on official doc
REVERT: 3a34436cd add AquaeAtrae example for ROOT_SITE_SUBFOLDER
REVERT: b1d03cd11 performance - move bad user-agents and referrers checks from nginx to LUA with caching
REVERT: 42c3fb874 add sandbox allow-downloads to the default value of CONTENT_SECURITY_POLICY
REVERT: f1c043604 add missing backslash in the quickstart guide and update autoconf examples with the depends_on directive
REVERT: fd61df205 performance - move external blacklists checks from nginx to LUA
REVERT: 009d6fb5a choose connection and nofile numbers, increase error_log level to get modsecurity rules, add MODSECURITY_SEC_AUDIT_ENGINE var
REVERT: ba4185a42 jobs - fix automatic reload
REVERT: 70976d0fb fix user-agent not blocking and add documentation on bundle when USE_CUSTOM_HTTPS=yes
REVERT: 062a39c63 integrate AquaeAtrae work - add ROOT_SITE_SUBFOLDER
REVERT: 83841b290 jobs - edit adren work on external blacklists
REVERT: 10dc58cb6 Merge pull request #126 from adren/patch-6
REVERT: 668754686 Merge pull request #125 from adren/patch-5
REVERT: 84b1933f6 Merge pull request #124 from adren/patch-4
REVERT: 15f6d0a32 Merge pull request #123 from adren/patch-3
REVERT: e628361a8 Merge pull request #122 from adren/patch-1
REVERT: f8d71e067 improved way to generate user-agent file
REVERT: 02ae3b6bd change IFS before subshell
REVERT: 2fb0e7c47 deduplicate list of user-agents
REVERT: 9adcc2f1a more optimized way to generate map referrer file
REVERT: 7b98db4d1 improve the generation of blocking file (abusers)
REVERT: ddb2b8591 improve generation of block file (Tor exit nodes)
REVERT: da1a460a6 huge improvement to generate blocking file
REVERT: 07be62684 hotfix - fix API in autoconf swarm mode
REVERT: 3bb164395 hotfix - move API_WHITELIST_IP edit to lua.sh
REVERT: bc2568a17 v1.2.4 - nginx 1.20.0 support
REVERT: 5ec74880d update README for v1.2.4
REVERT: f84fd7c9a fix permissions issues for autoconf and fix volume for ghost example
REVERT: 6521d7a27 fix client cache so it works in combination with reverse proxy and examples update
REVERT: 813607fbc improve crowdsec example and disable modsec logging when not necessary
REVERT: 843644f80 log - replace some WARN tags from LUA logs with NOTICE to avoid confusion
REVERT: 19fa0eb25 log - print modsec_audit.log to make debugging easier
REVERT: b4df28722 log - send logs to remote syslog server
REVERT: 5ce41edc0 api - whitelist IP/network for API
REVERT: a3cfb50b4 example - fix certbot wildcard
REVERT: 25494acac example - wildcard certificate with certbot
REVERT: a98dae1fb fix CVE-2021-20205 and examples update
REVERT: 1a7abab57 nginx 1.20.0 support
REVERT: 42b7a57f0 fix autoconf bug when removing config with multiple server name and increase default LIMIT_CONN_MAX for average website with HTTP2
REVERT: 02f9fbe5f autoconf - fix certbot bug when multiple server_name for one service
REVERT: 69fe06677 autoconf - fix bug when multiple server_name for one service
REVERT: 74417abc9 fixing bugs - run as GID 101 instead of 0, different permissions checks in swarm mode and disable including server confs in swarm mode
REVERT: ba7524a41 fixed LUA bug
REVERT: b55aafb99 finding the LUA bug
REVERT: deeb7a76a Merge pull request #117 from thelittlefireman/patch-9
REVERT: ee8aaa4e7 fix lua crash 2
REVERT: 605d59a45 Fix lua mistake
REVERT: b85c991b6 bug fixes - /usr/local/lib/lua rights and syntax error in site-config
REVERT: 0d3658adf REVERSE_PROXY_HEADERS - use proxy_set_header instead of more_set_headers
REVERT: 0b22209c9 documentation - userns remap feature
REVERT: e44a1f3e1 added the uri to limit_req_zone key to limit bruteforce attack on a specific resource instead of the whole service
REVERT: aa614f82f print error when permissions are wrong on common volumes
REVERT: c03d410b0 refactored whitelisting of user-agents
REVERT: e190167bf CIDR support with whitelist/blacklist IP
REVERT: 31e72dce1 fix /usr/local/lib/lua rights and multiple server_name support with autoconf
REVERT: b8105fc55 feature - whitelist URI
REVERT: e73c10fd8 crowdsec - fix permissions on /usr/local/lib/lua and on /var/log files
REVERT: a122a259c minor fix on AutoConf logs and auto disable etag with reverse proxy
REVERT: 7c4894d3b autoconf - fix remove event, generate config from nginx vars, more logs
REVERT: 533c2a103 fix sed script when writing site env
REVERT: 5611d544d remove reference to USE_PHP
REVERT: 397182f18 add link to twitter account
REVERT: c5c5fb17b v1.2.3 - swarm support
REVERT: 017a7780f README update, default cron update and new parameters to ui
REVERT: 34d9db7a8 web ui - bug fixes
REVERT: 361c66ca6 fixed bugs with MULTISITE variables and swarm example
REVERT: afc667885 road to v1.2.3 - fixing bugs
REVERT: c40fb3317 road to swarm - automatic reload after jobs
REVERT: 93ad3c0b5 road to swarm - let's encrypt fix
REVERT: ceed90488 road to swarm - still some mess to fix
REVERT: b8027d2ba Merge pull request #102 from thelittlefireman/proxy_custom_headers
REVERT: 8d03a14a6 Merge pull request #103 from thelittlefireman/fix_truncated_3
REVERT: d16f4517a Enhancement add custom proxy headers #97
REVERT: 89ca91b3f Fix truncated variables (last commit)
REVERT: 6a714e2ec road to swarm - fix race condition on initial configuration
REVERT: 0d3da0353 prepare /www directory, fix log socket path and whitelist acme challenges path
REVERT: 33163f65b init work on disabling root processes
REVERT: a2543384c road to swarm - add openssl to autoconf, fix api_uri in LUA, fix file rights
REVERT: 3591715f2 road to swarm - fixing things
REVERT: 95f7ca5b2 road to swarm support - needs a lot of testing
REVERT: 816fa47cb introducing SWARM_MODE env var
REVERT: 7756c2df3 Merge pull request #98 from mromanelli9/fix/readme
REVERT: 7509ec2f2 basic API to be used in swarm mode
REVERT: 6e93575e1 remove ALLOWALL from X_FRAME_OPTIONS options
REVERT: ba4c97755 remove old anchor
REVERT: 781e4c8cb autoconf little work on swarm support
REVERT: e04c783d1 autoconf - init work on swarm mode
REVERT: e12b656bd Merge branch 'patch-7' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: cae05447d custom crontab values
REVERT: 4b58e2265 Merge branch 'patch-5' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: 6b56e21a0 Merge branch 'whitelist_ua' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: 544a09e8d Update lua-cs-bouncer
REVERT: 8386dd4a2 custom config outside server block
REVERT: f052a2516 Merge branch 'pre_server_confs' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: 43750f553 Merge pull request #73 from thelittlefireman/patch-4
REVERT: 9142afdb5 Merge pull request #72 from thelittlefireman/patch-3
REVERT: 66c4fed79 Fix env variable with space are truncated 2
REVERT: f41846e9d Fix env variable with space are truncated
REVERT: 92cc705b9 Reduce memory usage : set cron tasks at different hours.
REVERT: 47fb3a05b Upgrade crowdsecurity/lua-cs-bouncer
REVERT: 5940f402c improve default tls security
REVERT: d9ca275d5 Add before `server {}` config.
REVERT: 8353bd9c8 Allow to add a whitelist by site on user-agent
REVERT: d902e2f29 Add last missing reverse proxy header
REVERT: 1a8b8043c Add LIMIT_CONN var to server.conf
REVERT: 65120a7e9 Add USE_CONN_LIMIT info to Readme.md
REVERT: b093a4755 Add default values for LIMIT_CONN
REVERT: 73dbf03c9 add USE_LIMIT_CONN zone to global config
REVERT: 6ee746236 Add USE_LIMIT_CONN to site-config
REVERT: fa935eb6e edit nginx.conf to add limit_conn
REVERT: cf231e13c Add limit-conn.conf
REVERT: d5d699252 v1.2.2 - web UI (beta)
REVERT: 50f95420b README update - road to v1.2.2
REVERT: dc382c3e0 various fixes - autoconf process order, multisite config and examples
REVERT: 0026328f2 edit default FAIL2BAN_IGNOREIP subnets
REVERT: 9023ab5ae Merge pull request #67 from thelittlefireman/patch-2
REVERT: 124474ad6 Edit README.md to add FAIL2BAN_IGNOREIP
REVERT: eac9c8f51 Prepare FAIL2BAN_IGNOREIP to avoid self blocking
REVERT: 1ee490de6 Prepare FAIL2BAN_IGNOREIP to avoid self blocking
REVERT: 825e6a747 crowdsec v1 integrated
REVERT: 09a984c86 started crowdsec v1 integration
REVERT: fd7afa17b fix missing ';' in include
REVERT: b9b7fdfcc Merge pull request #63 from thelittlefireman/patch-1
REVERT: 58e1d66bc UI - minor alert css fix
REVERT: 7026643f8 UI - fix missing MULTISITE env var when managing services
REVERT: 06f688fe9 fixed stop and reload operations
REVERT: c65b78b1c UI - instances/services backend update (needs testing)
REVERT: f9b9b9546 UI - introduced multiple config parameters (like reverse proxy) in frontend
REVERT: b5fe6335c UI - instances backend started
REVERT: 951f3957f UI - default service values
REVERT: 0f520b891 UI - services backend started
REVERT: 569ad75c4 UI - config.json refactoring
REVERT: bd7b6af66 UI - load config template from json
REVERT: 459bb8ea1 UI services modals and default CSP update (fix new tab links)
REVERT: 208b5acb3 UI - minor services list improvement
REVERT: 59b2fed41 UI - basic services list
REVERT: a4871a915 Add missing proxy headers
REVERT: 026783f01 Fix missing reverse proxy headers
REVERT: 811585345 Fix missing proxy headers on site-config.sh
REVERT: c5f283b00 UI - minor front update
REVERT: 03ce7a648 fix modsec double inclusion when MULTISITE=yes
REVERT: 3f7e2c54b JOBS - fixed some job script and right temp nginx reload
REVERT: bb0f46d8a JOBS - fix job_log
REVERT: c5b32dfc4 fix CVE-2020-1971 again
REVERT: 9a4f96ad1 fix CVE-2020-1971
REVERT: f258426f5 JOBS - fallback to old conf in case reload failed
REVERT: 119e96361 JOBS - be more verbose about jobs failure/success
REVERT: 373988670 Merge pull request #54 from thelittlefireman/patch-4
REVERT: 2a956f2cd Fix #52
REVERT: 15a37a868 UI - minor UI improvement
REVERT: 3a3d52790 UI - basic read fixes
REVERT: e6b5f460c UI - basic read from docker API
REVERT: 002e3ed2b security tests for autoconf and ui
REVERT: 7b55acbe8 web UI example and CVE-2020-8231 fix again
REVERT: 559b7835d ui - automated build
REVERT: 4ea01bd93 print some logs when blocking bots
REVERT: a73891a3b fix CVE-2020-8231
REVERT: 26199f52c remove additional / in modsecurity include
REVERT: 5c3f94a84 edit reverse proxy var name in README
REVERT: 043fcdc13 autoconf - automated build
REVERT: b86ded3d1 autoconf - multi arch Dockerfile
REVERT: 92569679b dynamic reload of nginx by sending SIGHUP
REVERT: 15e74e486 more work on standalone autoconf
REVERT: fd0a6412d init work on standalone autoconf
REVERT: 419fdfc86 fix auth basic when MULTISITE=yes
REVERT: 0bc1f652b v1.2.1 - autoconf feature (beta)
REVERT: 6c7461e29 integrate thelittlefireman work
REVERT: d01bc5e01 Merge branch 'patch-1' of https://github.com/thelittlefireman/bunkerized-nginx into dev
REVERT: 75c69c810 last fixes before next release ?
REVERT: e26b8482a Add missing EMAIL_LETS_ENCRYPT parameter
REVERT: f618c73e6 road to v1.2.1
REVERT: 78c1e5c67 examples - same domains for internal tests
REVERT: 481e10d3e reverse proxy - websocket example
REVERT: aae2a7198 autoconf - php example
REVERT: f3bf04e39 dirty fix to disable default server when MULTISITE=yes
REVERT: 36cbb927c autoconf - various fixes
REVERT: 95153dbc5 moved UA, referrer and country check after whitelist and blacklist check
REVERT: 26947179a moved UA and referrer check to LUA
REVERT: 88f27bfeb autoconf - reverse proxy example and pass default vars
REVERT: 3cc1615c4 fix user-agent script
REVERT: 8bacf722a Merge branch 'fix/variable-naming' of https://github.com/mromanelli9/bunkerized-nginx into dev
REVERT: 2bfc4b41f first work on automatic configuration
REVERT: 587d4a92e incorrect variable naming
REVERT: c311d0c82 add crawler-detecter bad UA
REVERT: 0d03f49eb websocket support with reverse proxy
REVERT: 2112c306a custom log format
REVERT: 8f9dcc5ab last fix ?
REVERT: 2fe05d3fd fixing scripts again and again
REVERT: db04c0345 fix referrers again
REVERT: ed8bd902b fix referrers script
REVERT: 3a7aa5d9c block bad referrers
REVERT: 9ec9de6ca multiple lets encrypt certificates when MULTISITE=yes
REVERT: 791342cbe fix LUA DNS code when answers is nil
REVERT: 2f23671c3 fail2ban fix when MULTISITE=yes
REVERT: e350a717f fix default DNS_RESOLVERS
REVERT: e818acb0d prestashop example
REVERT: b92f74ed9 dirty fix for CVE-2020-28928
REVERT: 9688e6650 check all vulnerabilities with trivy
REVERT: 700dfc018 v1.2.0 release
REVERT: 42e4298b5 readme update - v1.2.0 changes
REVERT: 813b42cfa php and nextcloud examples fix
REVERT: 58fcf0a72 added Permissions-Policy header
REVERT: 587918380 custom headers to remove
REVERT: 203259688 automatic trivy scan
REVERT: eaf817d57 php config and examples fixes
REVERT: dd7768c85 whitelist/blacklist country at LUA level to avoid SEO issues
REVERT: fe1d724c9 country whitelist/blacklist
REVERT: 0635eb368 various bug fixes
REVERT: fbf81c94b cached blacklists data
REVERT: ed451877a examples update and multiple REVERSE_PROXY_* on single site
REVERT: 0f18e9c55 reverse proxy support via env vars
REVERT: 8f7cb5318 proxy caching support
REVERT: 60fbbc101 move some http directives to server
REVERT: 0f0593456 various fixes
REVERT: 8cdc155ac multisite examples and certbot renew fix
REVERT: 1abe1da89 brotli support
REVERT: f18c054b4 gzip support
REVERT: 4dea1975e client caching
REVERT: c2b05c463 fix BLOCK_COUNTRY bug and add support for ModSecurity custom confs when multisite=yes
REVERT: 2da51d92a multisite - bug fixes
REVERT: bd7997497 autotest through github actions
REVERT: e89e34a84 auto test fix
REVERT: ff02878dd auto test setup
REVERT: 44b016be9 road to multi server block support
REVERT: 36c4f3e06 v1.1.2 - CrowdSec integration and custom ports
REVERT: 798f6c726 examples - nextcloud fix and tomcat
REVERT: 761c14a0b custom HTTP and HTTPS ports
REVERT: 4a07eca69 crowdsec integration
REVERT: e1274a608 passbolt example
REVERT: 3ec81cd84 Fix broken line in README
REVERT: 95752ff0c v1.1.1 - TLS 1.2 support
REVERT: 8623510f8 https fix
REVERT: 95a76b11f peterkimzz integration and dhparam
REVERT: b0e4740a7 [New Features] - Added "HTTPS_PROTOCOLS" environment value to enable to customize TLS version. default value is "TLSv1.3". (because TLSv1.2 sometimes needed) - READMD.md
REVERT: e84360857 README update - v1.1.0
REVERT: 2f6866789 logrotate copytruncate
REVERT: 1d63838ee examples - fix port number
REVERT: e4bdd4af5 examples - nextcloud fix and moodle
REVERT: 2c33463af renamed logrotate script
REVERT: 9ff210bed wordpress and nextcloud examples
REVERT: 0b7301886 install CRS by tag in compile.sh
REVERT: e1356e3eb logrotate.conf update and some cleanup
REVERT: 34a0da444 logging fix again
REVERT: 022a653eb display fail2ban.log and logging bug fix
REVERT: 4c11a9125 automatic docker tags with VERSION
REVERT: 88b52478c automatic Secure flag on cookies
REVERT: ce82e22db remove integrated PHP
REVERT: 397415211 antibot - check IP with sessions and recaptcha
REVERT: 68d798855 tor hidden service example
REVERT: 16eab0f63 README update
REVERT: 6a22f7711 load balancer example
REVERT: 222426854 Merge pull request #13 from FacundoAcevedo/patch-1
REVERT: d63c57985 Fix typo in the link in the TOC
REVERT: e19a7c693 run master nginx process as non-root user
REVERT: 7a8795883 dockerfile fix - compile
REVERT: 01095bd72 gpg fix and secure git clone
REVERT: 0e6729c62 check GPG signature of nginx sources
REVERT: 040b6a223 Merge branch 'patch-1' of https://github.com/fabianmoronzirfas/bunkerized-nginx into dev
REVERT: 5f62120e4 fix(typo): add missing »find«
REVERT: e8503b9cc ARM build fix
REVERT: 676571e4a use nginx:stable-alpine as base image
REVERT: 34254a09e examples and DNS_RESOLVERS fix
REVERT: 81cff3648 readme update
REVERT: e166b1fea awesome gif resized
REVERT: f08bba8cc awesome gif
REVERT: ccf439228 session secret fix
REVERT: c1d44387b basic antibot feature through recaptcha v3
REVERT: 135126e3f readme fix
REVERT: ac251b0f6 Merge branch 'master' of https://github.com/ZILosoft/bunkerized-nginx into dev
REVERT: ac242c977 Update README.md
REVERT: 2909b7989 basic antibot feature through captcha
REVERT: 446ee3761 basic antibot using javascript
REVERT: 6e1c43c4c basic antibot feature through cookie
REVERT: 652d8ac97 fixed typo in manifest
REVERT: de1952b5f README - toc update and title fix
REVERT: 16a458db2 README improvement
REVERT: f27d80e0d various fixes and lua logging
REVERT: fc3d911ff improved blacklist/whitelist/dnsbl with lua
REVERT: ef7d842ff arm64v8 auto build and master manifest
REVERT: 0e5704983 manifest for automated builds
REVERT: aaef37007 improved logging with rsyslog
REVERT: 6e3c2ddcc integrated ajarmoszuk work
REVERT: 919b418d5 Added the ability to self generate SSL certificates
REVERT: fb1a0182e Added the ability to see Real IPs if Nginx is running under another proxy (such as Traefik).
REVERT: 2e0a8307d i386 fix again
REVERT: 181003efe i386 fix
REVERT: fca7bb075 automatic builds
REVERT: 764038d40 README update
REVERT: f4c43a214 block proxies and abusers
REVERT: 3a9afa47b Merge pull request #5 from ajarmoszuk/patch-1
REVERT: 2c12df3b9 update default req_limit values
REVERT: 2f967a9f4 Update entrypoint.sh
REVERT: eba5f6280 req limit
REVERT: 44155b5d6 dnsbl ipairs fix
REVERT: 829c1c697 some fixes and README update
REVERT: f3721a50d sitewide auth basic
REVERT: b56e4e765 dnsbl feature
REVERT: 1654e913a lua support
REVERT: 3e5ca583c remote PHP-FPM support
REVERT: bcd17dbea automatic geoip update
REVERT: 14ec9f3e6 logrotate and compile fixes
REVERT: 5b5e6e33a awesome logo
REVERT: 1aa1dcf50 logrotate support
REVERT: f30a06d94 syslog integration and fail2ban improvement
REVERT: cd19841ec readme - details about modsec include order
REVERT: 94b29a6ca fixed some include orders
REVERT: bf605ce59 custom root folder and little fixes
REVERT: b14b09ad5 default CSP update
REVERT: 4f5e5f013 readme improve
REVERT: 76bd069f2 php POST max size and custom HTTPS cert
REVERT: 1d6ab7275 http basic auth fix
REVERT: 472ec31cd readme fix
REVERT: caa415e12 http basic auth
REVERT: 8561d47be create a customized image
REVERT: 4bede275f fix typo
REVERT: efcf93710 inspectFile fix
REVERT: ccaaa8b57 readme fix
REVERT: b83111ad1 realip, minor fixes and README
REVERT: a2be2e8ae improved README : format, modsec, fail2ban and clamav
REVERT: 48a0036d2 updated readme
REVERT: bf0bef289 clamav support
REVERT: 193070b14 fail2ban support
REVERT: 716e54e59 custom http/server confs and better modsec customization
REVERT: 43403f69e disable default server
REVERT: 69ac95b29 block country and various fixes
REVERT: ecf2de8b7 multiple let's encrypt domains
REVERT: 8427564f4 user-agents escape fix
REVERT: c56bde4f0 fix certbot-renew.sh syntax
REVERT: 834afa132 http to https redirect
REVERT: d5f8c7647 custom modules and write access
REVERT: 5bcdb0219 f**k markup ?
REVERT: 3233f3b76 fix readme
REVERT: 62eda8173 improved README
REVERT: 09e6b50e5 custom conf
REVERT: 5d16f6a8f fix README
REVERT: 1b5f6deb2 cookie flags and maxmind update
REVERT: ea1dbc617 updated readme
REVERT: 0b703ea55 content security policy
REVERT: 1e642e2f1 initial readme
REVERT: e90060ce6 initial work
REVERT: 70f849fbb Initial commit

git-subtree-dir: src/deps/src/headers-more-nginx-module
git-subtree-split: bea1be3bbf6af28f6aa8cf0c01c07ee1637e2bd0
2023-11-17 10:21:56 +00:00
Théophile Diot 8da04e022c
Merge commit '6ed1ec58b1acdc1acb00e840df89311812ee8422' into dev 2023-11-17 10:21:23 +00:00
Théophile Diot 6ed1ec58b1 Squashed 'src/deps/src/luajit/' changes from aa038d259..4182d6bf3
4182d6bf3 Merge branch 'v2.1' into v2.1-agentzh
43d0a1915 Fix last commit.
536cf8a27 Merge branch 'master' into v2.1
644723649 x86/x64: Don't fuse loads across IR_NEWREF.
113a168b7 Improve last commit.
45c88b796 x86/x64: Don't fuse loads across table.clear.
6807e60af Merge branch 'master' into v2.1
d854d00ce x86/x64: Add more red zone checks to assembler backend.
7c9671a04 Merge branch 'master' into v2.1
a4c164043 Add stack check to pcall/xpcall.
69bbbf773 Merge branch 'master' into v2.1
65c849390 Invalidate SCEV entry when returning to lower frame.
b94fbfbee Merge branch 'master' into v2.1
433d7e8d8 FFI: Fix pragma push stack limit check and throw on overflow.
ce2cd6173 ARM64: Fix disassembly of ldp/stp offsets.
07b3cd3cf Check for upvalue state transition in IR_UREFO.
0afa1676b Merge branch 'master' into v2.1
d133d67c8 x64: Properly fix __call metamethod return dispatch.
f2e955dae Windows/x86: _BitScan*64 are only available on 64 bit archs.
e826d0c10 Add 'cc' file type for saving bytecode.
4eb47df60 FFI/Windows: Fix type declaration for int64_t and uint64_t.
7269b0213 Merge branch 'master' into v2.1
db944b2b5 FFI: Fix dangling reference to CType in carith_checkarg().
656ecbcf8 DynASM/ARM64: Support ldp/stp of q registers.
d2a5487fd ARM64: Use ADR and ADRP to form constants.
14866a682 ARM64: Fix disassembly of U12 loads.
c5b075eb3 ARM64: Unify constant register handling in interpreter.
9cc8bbb7a ARM: Fix register hint for FFI calls with FP results.
1e93951b2 ARM64: Fix register hint for FFI calls with FP results.
007e4dce1 ARM64: Restore fp before sp in C stack unwinders.

git-subtree-dir: src/deps/src/luajit
git-subtree-split: 4182d6bf37e9f8d1cb5d6e83b1db66de84b95101
2023-11-17 10:21:23 +00:00
Théophile Diot dab004604d
Update LuaJIT to version v2.1-20231117 2023-11-17 10:21:15 +00:00
Théophile Diot e5e7db36e8
Merge pull request #763 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.7
deps/gha: bump github/codeql-action from 2.22.6 to 2.22.7
2023-11-17 10:20:17 +00:00
Jordan Blasenhauer 984a3de5cb add setup template 2023-11-17 10:03:35 +01:00
Jordan Blasenhauer f36d2d0c93 Merge branch 'dev' into ui 2023-11-17 09:30:34 +01:00
dependabot[bot] bc99797854
deps/gha: bump github/codeql-action from 2.22.6 to 2.22.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.6 to 2.22.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](689fdc5193...66b90a5db1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 17:39:49 +00:00
Théophile Diot a1695cf3bf
Merge pull request #762 from bunkerity/dev
Merge branch "dev" into branch "staging"
2023-11-16 17:39:40 +00:00
Théophile Diot 69a570bca7
Merge pull request #760 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.6
deps/gha: bump github/codeql-action from 2.22.5 to 2.22.6
2023-11-16 17:38:46 +00:00
Théophile Diot e66b7b79b5
Remove urllib3[socks] from requirements.in files ...
Update Dockerfiles to fix errors when installing deps
2023-11-16 17:28:19 +00:00
Théophile Diot de41738786
Merge commit '5d2b6eef6e0c83bc3e1b14e48233e423f2f8c37d' into dev 2023-11-16 17:00:13 +00:00
Théophile Diot 5d2b6eef6e Squashed 'src/deps/src/lua-nginx-module/' changes from c47084b5d7..11ab5315b0
11ab5315b0 Merge commit 'f583d996a108a58166fc986bf4227a3cea432a07' into dev
f583d996a1 Squashed 'src/deps/src/luajit/' changes from 492cfdd0d8..aa038d2599
f8429d6e43 Update LuaJIT to v2.1-20231021
576cb81979 Merge commit 'c473aa40807f32438ffe34bdfe07f8f0485a6aa4' into dev
c473aa4080 Squashed 'src/deps/src/lua-resty-openssl/' changes from b23c072a4..89195843c
456e6a33db Update lua-resty-openssl to v1.0.1
11c4fde616 Merge commit '805e5c9cee2a72af6b6297b2993109511b42d485' into dev
805e5c9cee Squashed 'src/deps/src/libmaxminddb/' changes from ac4d0d248..93a7e0e56
afcf420ee4 Update libmaxminddb to v1.8.0
7aa6affe10 Merge commit 'e3f305a953ef5dbf6802090c7013f4c38d762449' into dev
e3f305a953 Squashed 'src/deps/src/ngx_devel_kit/' changes from b4642d6ca..91e30eb05
cba20187c9 Update Nginx devel kit to v0.3.3
10a58377b8 Fix multiple CVEs related to libpq * CVE-2023-5869 * CVE-2023-5868 * CVE-2023-5870
7c564e4cb0 Update pre-commit hooks to latest versions
bff775f006 Fix issues with the Linux integration and external databases
71db00281d Merge pull request #759 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.161.0
940eecd062 deps/gha: bump ruby/setup-ruby from 1.160.0 to 1.161.0
42f7ef4862 Update user interface demo image in README.md
b2a56a82a4 Update BunkerWeb UI demo to use thumbnail image
0d0bad79bc Update Python version in Dockerfiles
b539a97ad9 Fix CVE CVE-2023-5678 in Dockerfiles
05da26f010 Update dependencies to latest versions
e153c33aaa Update maxminddb and other dependencies versions
8d024a0996 Merge pull request #751 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.7.1
ca6271c60a Merge pull request #750 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.160.0
fbbec2f7f7 deps/gha: bump rickstaa/action-create-tag from 1.6.6 to 1.7.1
9c6f5289d1 deps/gha: bump ruby/setup-ruby from 1.159.0 to 1.160.0
bcded8f7ce Add refurb as a pre-commit-config hook and apply pre-commit-config
966a78da9e Update Git attributes to ignore text and end-of-line settings for vendored files
f111124b34 Update dependencies versions
d2b82b29d2 Fix CVEs CVE-2023-43787, CVE-2023-43785 and CVE-2023-43786
dc5a7b8b2a Update mmdb files
c32522ae29 Update Certbot module to version 2.7.4 + Update python deps hashes
54ead4e49c Merge pull request #744 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.6
d835369699 deps/gha: bump rickstaa/action-create-tag from 1.6.4 to 1.6.6
b79b6548b3 Merge pull request #741 from bunkerity/dependabot/github_actions/dev/hashicorp/setup-terraform-3.0.0
b05b981858 docs - update plugins to 1.2
e8803e346f cache linux test images, fix linux example of proxy protocol and add more logs to k8s tests
7565b2df58 Merge branch 'dev' into staging
c817f45abd add ready checks to limit and redis core tests and fix wrong http port for behind reverse proxy linux test
f9f616a66f Merge branch 'dev' into staging
4871185dc0 Update python deps and pin Flask-Login version
cd773b6e80 add ready checks to reversecan and sessions tests
898ef2eff0 deps/gha: bump hashicorp/setup-terraform from 2.0.3 to 3.0.0
fa628cb7d6 linux - add default API_LISTEN_IP
18d682b5a6 linux - add missing API_LISTEN_IP initial setting and perform only hot reload
4fbd974d2f tests - set trace verbosity for geckodriver logs
a7c343369d Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
7d69b91056 tests - fix missing geckodriver log file in ui tests
29d7d94b2c [#739] Fix potential issue when fetching docker instances in the web UI
84eb947206 tests - add geckodriver log file for ui tests
40e118a712 tests - add more logs to ui linux tests
0e3d8e59cc tests - retry UI access in case of network exception
86875f4863 tests - fix misc ready check when using https and add ready checks for linux ui
d4a2ba5fc8 tests - add ready checks to customcert and misc
3020c5c8e5 tests - add ready check for customcert core test
c1562bc896 Merge pull request #737 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.5
322cfd2179 deps/gha: bump github/codeql-action from 2.22.4 to 2.22.5
caf732be1d Merge pull request #736 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.159.0
667620b521 deps/gha: bump ruby/setup-ruby from 1.158.0 to 1.159.0
fb21786b8c linux - fixing nginx service not disabled and fix another missing error log path in UI
5887b894f0 ui - fix wrong error path when starting nginx
4e820f6de2 linux - remove sudo command when reloading nginx
35d16233cd ci/cd - ignore ready conf for db tests and fix linux path for ready conf
9775cd5bbd ci/cd - fix missing string in /ready endpoint and add /ready endpoint to linux tests
274a8cdfb9 ci/cd - trying to fix race condition for core tests
d73a5d0f45 Merge pull request #735 from bunkerity/dev
ed0e156bcb Update Werkzeug to version 3.0.1 in web UI
8ec9a7df40 Fix compatibility issue with Docker Compose v2 2.23.0 in examples and docs
72d856abe1 Update certbot to version 2.7.3 + regenerate hashes for db and scheduler
ab76c458ef Merge pull request #732 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.158.0
6edf97a0d7 deps/gha: bump ruby/setup-ruby from 1.157.0 to 1.158.0
58d6b81423 use cap in Linux and add openssf badge
a83a74cfad Merge pull request #729 from bunkerity/dev
0975de1238 [#717] Add a pool_recycle database engine arg to avoid losing connection with database
762092e5e9 Remove no longer necessary retrying module
8963cb4d18 Update python deps
c2252503d0 Merge pull request #721 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.1
626f10b4c1 Merge pull request #722 from bunkerity/dependabot/github_actions/dev/actions/setup-node-4.0.0
f2b9fc0f8f Merge pull request #724 from bunkerity/dependabot/docker/src/autoconf/dev/python-a5d1738
c8eae49e5b deps/autoconf: bump python from `dc2e889` to `a5d1738` in /src/autoconf
ab320794ad Merge pull request #723 from bunkerity/dependabot/docker/src/ui/dev/python-a5d1738
572436f208 Merge pull request #720 from bunkerity/dependabot/docker/src/scheduler/dev/python-a5d1738
6f366450bc deps/ui: bump python from `dc2e889` to `a5d1738` in /src/ui
f6d2e205cf deps/scheduler: bump python in /src/scheduler
50a60382a1 Fix CVE CVE-2023-5363
989c14ae73 Fix CVE CVE-2023-5363
a847f77782 deps/gha: bump actions/setup-node from 3.8.1 to 4.0.0
8708ad70c3 deps/gha: bump ossf/scorecard-action from 2.3.0 to 2.3.1
eeda7a18c3 Update python deps + add retrying module to db
5193d6cd19 Update docker images
09ee050833 Merge pull request #719 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.157.0
0afed0621c Merge pull request #718 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.4
8919592f54 deps/gha: bump ruby/setup-ruby from 1.156.0 to 1.157.0
d253b4438f deps/gha: bump github/codeql-action from 2.22.3 to 2.22.4
f798a9ef9a Merge pull request #715 from bunkerity/dev
cd902eba30 prepare for 1.5.3 🚀
029217ff4a Fix update-version.sh script
10db67b871 Merge pull request #714 from bunkerity/dev
c7543df86a Add an handler when the ui test is reaching an error page due to a connectionFailure
1f5a1beac0 [#645] Fix web UI not keeping the data when changing the sub server names + Fix custom cert when the server name have multiple domains
ff1fc9280b [#712] Fix custom configuration changes not taking effect immediately
838dcb17c0 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
b18dbddcdf Merge pull request #713 from bunkerity/dependabot/pip/src/scheduler/dev/certbot-2.7.2
ca6938dfe4 Update ConfigFiles to use the correct name regex in web UI
643ea7c214 deps/scheduler: bump certbot from 2.7.1 to 2.7.2 in /src/scheduler
e41ce10e35 Merge pull request #711 from bunkerity/dev
b265cbad54 ci/cd - trying to fix azure/kubectl action
7e3aad9f09 [#645] Fix impossible to edit the server_name of an already existing service if the primary one was unchanged in web UI
60d43d0ce0 Handle service creation and editing more elegantly in web UI
2df85b2c93 Updated python:3.12.0-alpine image's sha256
3a3255e7b8 Merge pull request #709 from bunkerity/staging
4c273fe849 Merge pull request #708 from bunkerity/dev
9964f42e66 Fix magento k8s tests
b2cf8986f5 Tweak magento tests to use latest version back
7f219bea07 Fix CHANGELOG release date for v1.5.2
b9f05ad165 Downgrade magento versions to working ones
bd6065af86 Update python deps and pin urllib3 version to 1.26.18 + Update pre-commit-config to format requirements.in files as well + Apply pre-commit
619e5644f0 Remove pip caching when setting up python in workflows to avoid errors
3c36430212 Merge pull request #707 from bunkerity/dev
7598dbc54b Update python deps
f3982367a6 Update dependabot script to add reviewers and tweak the schedule
d4f65903e7 Update dependabot config file to include terraform and other python deps paths
38429efac9 Merge pull request #705 from bunkerity/dependabot/github_actions/dev/actions/checkout-4.1.1
d92e9a07a8 Fix k8s terraform script
6738b95524 deps/gha: bump actions/checkout from 4.1.0 to 4.1.1
0da22f44b0 Update k8s terraform file and update scaleway terraform version
d77f6a72c2 Fix README.md links and versions
7bf8be3246 Try to fix magento k8s tests with static versioning
b9c5d32778 Fix timeout in ui tests and access_page function
b1b1ab8680 Fix wrong values in helm chart values file for elasticsearch in k8s magento example
530b8a945d Fix allow empty values when saving a config in web UI
22552c5b85 [#694] Optimize certbot renew script to renew all domains in one command
db0dd5daee [#694] Fix rare bug where database is locked
f89456cd4f Merge pull request #699 from Crazy3lf/master
34d68e8b7c Update regex for email
476d867067 Fix magento k8s tests by removing elasticsearch
4a10ec8c30 Merge pull request #701 from bunkerity/dev
c4b873e3f2 Fix /etc/bunkerweb dir missing in linux core tests
bcaa8faa7b Replace deprecated `set-output` command with the new format
08944b901c Tweak test-core-linux to fix potential bugs
13be6a43c9 Add more logs when an url file is in cache and gets deleted
2737fe7ce2 Update python deps
2823fa2abb Update plugin.json
001246b38f Merge pull request #697 from bunkerity/ui
1a43380d2e Merge pull request #696 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.3
0b319d1aa1 Merge pull request #695 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.4
7a15f8a654 deps/gha: bump github/codeql-action from 2.22.1 to 2.22.3
a4a413eece deps/gha: bump rickstaa/action-create-tag from 1.6.3 to 1.6.4
7e3dabc5fd Update patch commands in deps.json to skip Reversed warning
29737209b1 Squashed 'src/deps/src/luajit/' changes from e598aeb74..492cfdd0d
8093c61613 Merge commit '29737209b138a1485d55c53acf1a6783b6e60167' into dev
85913d6b26 Update luajit to v2.1-20231006
15d3180b64 move disabled inp msg
522527f0a8 Merge pull request #690 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.156.0
85ef4e4dea Merge pull request #691 from bunkerity/dev
46d8acf7b4 Update dummy-plugin to new standards
77bfe2697f Add StyLua and luacheck to precommit config file and apply it
da2a1eaa5a deps/gha: bump ruby/setup-ruby from 1.155.0 to 1.156.0
cd1f87b9a2 Update pre-commit config hooks version
e25fab28b8 fix disabled msg behavior
c125a9bdd2 Merge pull request #689 from bunkerity/dev
10fd431fbb Tweak update python deps script to make it more elegant
309689185e Update pythons deps
7997561766 Merge pull request #684 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.1
a12e5ca893 Merge pull request #683 from bunkerity/dependabot/github_actions/dev/stefanzweifel/git-auto-commit-action-5.0.0
15ad3a6250 Merge pull request #681 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.0
c57d725f44 Merge pull request #680 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.155.0
95389260a6 Merge pull request #688 from bunkerity/dev
6e5dd55573 Fix CVE CVE-2023-44487
565f4e3f7c Merge pull request #687 from bunkerity/dev
f39adcab5b Update CHANGELOG.md
a3ec85b576 Fix often occurring error with ace script in web ui
b063ac8a32 [#652] Fix error when deleting a service that have custom configs on web UI
ff85f1c2bb Update CHANGELOG.md
4a9fdba42d [#645] Fix errors when using a server name with multiple values in web UI
47a7e16800 Fix secure_scheme_headers shenanigans with web ui
453108da94 Update mmdb files
2cbb10b3a3 Revert "Test Aqua security vulnerabilities with BW"
d4d9f87451 Test Aqua security vulnerabilities with BW
899484c381 deps/gha: bump github/codeql-action from 2.21.9 to 2.22.1
d461f3745b deps/gha: bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0
cd0ceb48bb deps/gha: bump ossf/scorecard-action from 2.2.0 to 2.3.0
dc92ae825d deps/gha: bump ruby/setup-ruby from 1.154.0 to 1.155.0
f5fe685d42 Fix children classes of Test
f4ce2c68f2 Fix bw api not returning the reason of bans
d1a0f66c98 Merge pull request #677 from bunkerity/dev
6935d1cb84 Merge pull request #676 from bunkerity/dev
7ac66a6c65 Update python deps
2aa9f46ef4 Fix default values in whitelist job
8f456722e0 Augment delay in WebDriverWait in ui tests
8ae7b8f43b Fix redirect tests docker-compose file
9b4a9277da Add libpq as a dependency for the Database to be able to connect with postgres
172874d1c3 Fix redirect tests on docker
a518f47b92 Update CHANGELOG.md
0cee41867f [#656] Fix ACME renewal fails on redirection enabled Service
e956e03ba0 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
c08fd07a6b Update linguist-vendored to add modsecurity files and non patch deps files
466c8e584c Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
27d3ca1cdf autoconf - fix wrong types for dynamic settings
410557009a Add .gitattributes to override linguist-vendored paths
e7498279cd Revert Docker image update for tests
fe87486f97 Merge pull request #673 from bunkerity/dev
c2db157bb5 Update python docker image to 3.12.0
eb8088164b Tweak Dockerfiles to make the build nicer
202698f41f Fix python deps conflicts and update them
0eb18cb31e Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
f12a014104 autoconf - update settings from db
628068e9ae Lint files with prettier
f3694f0cc4 Add prettier as a precommit hook
b56cce63f7 Fix codespell typos in README.md
87ca176633 Fix typos raised by codespell
eea5dd9b75 Add codespell precommit hook
8fbe692618 Fix mkdocs.yml file duplicate copyright key
cf82e73e97 Fix swarm postgres ui integration example
6b2df35858 Tweak py file to respect flake8 rules
508c728b65 Tweak pre-commit config and pyproject.toml file + Add flake8 as linter in precommit config
75e8c83397 Update CHANGELOG.md
07676a3d0a Use hashes instead of versions in github workflows
f0761eed2c Revert "Add fuzzing tests in CI/CD"
4babce9749 Add fuzzing tests in CI/CD
a263f1f4f1 Update cron for dev-update-mmdb
31a8399688 Merge pull request #666 from bunkerity/dev
d8b2561675 Merge pull request #665 from bunkerity/dev
87d2f04eb8 Remove no longer necessary temp fix for Flask-login
c006e5088d Update python deps + Update Flask-Login to include the compatibility with Flask 3.0.0
df9bf1f561 Merge pull request #664 from bunkerity/dev
6b0e623e59 Update Dockerfiles to install pip and its deps before the project ones
85068bfeea Add temp fix to support Werkzeug>=3.0.0 with Flask-login
5a7f9147fa Update python deps and update script
3589057703 Fix bunkerweb-ui.sh script with variables not being exported correctly
5ed595be68 Fix shellcheck tests failing
e21e0c812b Add shellcheck and gitleaks to pre-commit-config + tweak excluded paths
1b7e1840cd Fix blacklist core tests' requirements.txt file
1f90d3668c Add a pre-commit-config file and passed all checks
f3fc69110e Fix typos in Dockerfile when installing python dependencies
073e8575e2 Updated Dockerfile, python deps and npm package to use pinned dependencies
cd4d529d7e Merge pull request #660 from bunkerity/dev
b4a320afaa Made ui tests better
8ed656068f Small fixes on linux paths creating unnecessary folders
8fa7adb615 Small refactor on how the autoconf updates the config
4ec754143a Handle changes more elegantly with the scheduler
0f7df13df3 Optimize save_config script
48096d711c Optimize the way the UI handles services creation and edition
c0816bb119 Fix potential cross-site scripting vulnerability in plugins.js in the UI
18e5f7bff6 Merge pull request #659 from bunkerity/dev
ece5ce1cdf Add HTML sanitization when injecting code in pages in the UI
4d50026744 Extract codeQL workflow to have a separate one + Add scorecards analysis workflow file + Add UI tests for the UI branch
1c71572f44 Update tsparticles in the UI + remove unused static files
685cb9809d Update README to fix a few links and add the security scorecard badge
65d0aa3a8a Merge pull request #658 from bunkerity/dev
6e2db59919 Add a sleep before changing from cache page to log page to avoid errors in ui tests
1db769c321 Remove bugged UI tests check in linux
db99d16874 Update the condition that checks the integration in core tests
579c80357f Update UI starting script and ui tests script on linux
b901d29710 Update python deps
e23f931bd6 Replace gevent with gthread in UI for security reasons
15eef6ef57 Try to fix python deps issues with linux and try to have more logs in linux ui tests
cc0167f427 Fix ui linux tests when waiting for the ui to be ready
fd4c147b89 Update how the scripts wait for the UI to get ready before starting the tests
95afba8792 Change how the ui tests waits for the ui to be ready
ea5cb0db2d Try to fix ui linux test by adding more sleeps
cb3250e4e7 Fix UI linux test (again)
153e9fecf1 Fix bunkerweb linux scripts
81b5e80da6 Try to fix deps permissions with linux ui tests (again)
6a162d7250 Fix linux permissions with ui tests
be5fe2830e Try to fix ui python deps in ui linux tests
380e609abd Change ui linux tests command into development mode
93006cf5ce Fix Firefox installation in core and ui linux tests
39f17bce60 Try to fix permission issues with Linux and ui python deps
94c7c832e6 Fix permissions with python deps in ui linux tests
42be334e40 Fix permissions with ui tests on linux
cad3012e6d Try to fix python dependencies error with test ui linux
a04282d3f8 Fix test core redis with linux
c757f5d49d Re generate requirements.txt file for the UI with python3.9
052e060222 Fix core and ui workflow file for staging tests
e71b711466 Merge pull request #655 from bunkerity/dev
b90da0f909 Add better health check in linux ui tests
5c1fafe518 Updated CHANGELOG.md
c964d68f99 Add more tries when the dnsbl server isn't found
78a29e65ea Tweak reversescan core test to avoid false negative
0e9f29cc52 Revert "Fix UI shenanigans with python deps"
70ab9740d9 Fix UI shenanigans with python deps
0303a8f7b9 Update staging workflow file to include core and ui linux tests
16d4c1133b Optimize the way errors are being checked in linux core tests
2ddc8cec72 Update dnsbl list regex to accept an empty one
6534a429af Fix looking for error in the wrong place in test code linux
25eb8de01e Try to fix a few shenanigans with linux core tests
2065d688f1 Fix ui tests with docker checking the wrong containers if healthy
87f84d438e Add a retry on nginx error in linux core tests
99b30af8ea Fix reverse scan python script
1ff2aed68c Fix UI docker tests docker compose file
48bcb11983 Rearrange imports for blacklist init core test
ae9450d0dc Add whitelist and greylist linux core tests
9a17e92d62 Fix typos in dnsbl core test
2244f734fa Add dnsbl linux test
a29ac80e4b Add country linux tests
cff5c77679 Fix sessions core test for linux
6ae6764f27 Fix blacklist core tests docker compose
27959e1aa9 Fix sessions permissions issues with python requirements
47e8f20f83 Fix CVE CVE-2023-38039
6283ce2dd7 Add linux tests for blacklist and bunkernet
f3d6f860e0 Remove old cached files if urls are empty
61c8ef73b0 Fix permission issues with sessions core test with linux
be25ae8e05 Fix failing linux core tests + add more logs when an error occur in ui tests
33e200f652 Fix UI using the wrong database when generating the new config
57374ecc2f Fix tests ui with linux
601f0fde62 Fix tests ui linux not starting the ui service
fdb9a7c294 Fix errors linux tests permission issues
df12058824 Fix tests ui linux executing the wrong file
db404a62c3 Fix ui tests misconfiguration
a0aced3e53 Fix tests ui linux workflow file
e378be9a92 Fix typo in tests ui linux file name + add more logs in ui docker tests
432d1587c7 Add linux ui tests
2ad8861788 Fix selfsigned job with cryptography not being found
da4390b488 Fix python modules version conflict with web ui
7bd48203aa Fix and update python deps
ce2fa3d360 Fix a few core tests for linux
bca36e2966 Update self-signed job to regenerate the cert if the subject or the date has changed
06da40bf13 Added more linux core tests
84a27a3fc3 Fix DB core test with docker
9e34251824 Fix path issues with db core test init
c90cd7399a Fix permission issues in tests core linux
91e5528a3f Fix already existing tests core linux
aeee38ad32 Fix misc problems related to linux
d97326656d Fix Database not clearing old services when not using multisite
8a6e14d8c8 Added linux tests to a few core plugins
0ece8fda00 Fix permission issues when starting BunkerWeb in antibot linux tests
e935132242 ci/cd Try to fix permission problems with Firefox in test core linux
761c01af6e ci/cd Fix test core linux shenanigans with Firefox
0d9349611e ci/cd Try to fix errors with firefox in test core linux
094d5d5dfe ci/cd Fix a few things with test core linux + finish antibot linux core tests
fdae4549ce ci/cd Fix permission issues (again) with test core linux
d59cf1835d ci/cd fix permissions issue in test core linux + fix shenanigans with antibot linux core tests
43b1a038f9 ci/cd clear out firefox before reinstalling it in test core linux
d192fbb829 ci/cd Install Firefox manually in test core linux
0239ca64b4 ci/cd test core linux remove dns resolvers override
1dd1caeea4 ci/cd Fix Firefox installation for test core linux
a0516f773f ci/cd Install firefox from apt instead of snap + fix antibot core tests for linux
480c680f19 ci/cd Fix timeout in geckodriver download for test core linux
a94dab2087 ci/cd fix retry job when downloading the geckodriver in test core linux
d0a1aab15c ci/cd Fix perms issues (again) and optimize some things in test core linux
dd0c4c93a6 ci/cd Install requirements and deps in test core linux
294402dbf2 ci/cd fix perms issues with test core linux
cd35d35c25 ci/cd Fix perms in variables.env for test core linux
4cce8385c5 ci/cd fix write in /etc/hosts file in test core linux
990b6336e2 ci/cd Fix test core linux with dpkg versioning
ccc5eb304a ci/cd Fix version error with ubuntu and test core linux
6a38390404 ci/cd Fix tee command not being ran as sudo in tests core linux
453cfc2dcc ci/cd Fix BunkerWeb installation job with linux core tests
0b14f8a5d0 ci/cd Fix install command in linux core tests
624f4b5bb5 ci/cd Fix path of the .deb file
61bc8a3b10 ci/cd fix .deb fetching in Linux core tests
fa91bf6c60 ci/cd change needs and logic in test core linux
b54c7eb61a ci/cd test secret inherit for ubuntu private test image
30cba0a77d ci/cd fix dev.yml
80d56fcca6 ci/cd start working on linux core tests
69307fba6f Fix issues with GitHub rejecting the requests
7c5177bf43 [#643] Fix UI clearing configs folder at startup
b5bd17d4da Merge pull request #641 from bunkerity/dev
ad65e01a87 Update CHANGELOG.md
1259fb67d9 Merge pull request #634 from bunkerity/dependabot/github_actions/dev/docker/setup-buildx-action-3
b9e752f12f Merge pull request #636 from bunkerity/dependabot/github_actions/dev/docker/login-action-3
278eb0c8a4 Merge pull request #635 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-5
dec97c8c3b Merge pull request #637 from bunkerity/dependabot/github_actions/dev/docker/metadata-action-5
9222420b7a [#640] Fix shenanigans when executing docker compose restart
07fb7cf164 [#638] When renaming a service in the UI, migrate the custom configurations as well
f83b2278d0 Fix versions conflict between greenlet and gevent with UI
e51e178357 Update python deps
3c95971e3e Fix CVE CVE-2023-4863
bb7ef35aeb Merge commit '35d13d7a097dd094cdbe993f18f29de0b08f1f2b' into dev
35d13d7a09 Squashed 'src/deps/src/zlib/' changes from 04f42ceca..09155eaa2
d962538784 Merge commit '4430cf47ddc1f3647b3bc129f46fed2d7a145f8c' into dev
4430cf47dd Squashed 'src/deps/src/luasec/' changes from fddde111f..4c0628705
37a2343e24 Merge commit 'd8ee65aa70e9737330c8a83301fd66c7dc8a8d7a' into dev
d8ee65aa70 Squashed 'src/deps/src/lua-resty-session/' changes from 8b5f8752f..5f2aed616
6752b36471 Merge commit 'd7bde18da2a8a81f2d5f256bc975b1fb5b546107' into dev
d7bde18da2 Squashed 'src/deps/src/lua-ffi-zlib/' changes from 1fb69ca50..61e95cb43
af902fc4ec Merge commit 'e0a89a2fcd1d0dd4cc103fc054242e8e8b10b7bf' into dev
e0a89a2fcd Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..ccc2d9b53
5ec7eb53a1 Squashed 'src/deps/src/luajit/' changes from 04f33ff0..e598aeb7
26d3d6c6ce Merge commit '5ec7eb53a1fa30beb59d3358f16716483787b02e' into dev
0aaede4d61 Update core deps
955c7e0630 deps/gha: bump docker/metadata-action from 4 to 5
8ea823e061 deps/gha: bump docker/login-action from 2 to 3
a6efa52051 deps/gha: bump docker/build-push-action from 4 to 5
a6b30f6a6b deps/gha: bump docker/setup-buildx-action from 2 to 3
1144a73813 make logs optional in issues, change assignee for dependabot and edit sitemap URL of the doc
c364e46663 ci/cd - disable redirect when pushing doc
d4f38cc795 ci/cd - fix error when parsing ARM types
b6d49865b7 ci/cd - get ARM type availability
d0a8cc3818 ci/cd - use volume id instead of index for arm instance
30c952e9e4 ci/cd - set boot volume for arm instance
2382fdd377 ci/cd - start arm server after creation
05ecf558cb ci/cd - use latest scw cli version
2b7ce389b7 ci/cd - reflect changes on release tf from refactoring
d5d7364b1c Merge pull request #632 from bunkerity/dev
3adbd8757e [#628] Fix scheduler generating the wrong configuration with Linux
fd79508633 Merge pull request #631 from bunkerity/dev
3ae9636d5a Fix error with the CSP header override of the antibot
f993499007 Merge pull request #630 from bunkerity/dev
ea6ae52539 Update ANTIBOT_HCAPTCHA_SECRET setting's regex to support new format
5811dc549c Merge pull request #629 from bunkerity/dev
6404b701c0 Update changelog
2b5654ba3b Update coreruleset to version 3.3.5
c948e449a0 [#622] Handle configs dir more nicely in Linux
fb5a8dc4fb [#622] Fix permissions with folders in linux integrations
5f19b3fdab Merge pull request #627 from bunkerity/dev
2fce08b727 Upgrade issue templates
2ed6584dd7 Update python deps hashes
d6a14b6716 Merge pull request #626 from bunkerity/dev
b3c398cb56 Remove jinja2 from requirements.txt as it creates conflicts
6334a3d638 Merge pull request #623 from bunkerity/dev
8ab4ea2e26 Update id of ui.conf rules to avoid conflicts
11664cc1d8 Fix wrong variable name in limit core tests
9535c04142 Fix shinanigans with both multiple and global settings not being stored correctly in datastore
8cafded894 Fix variables that are both multiple and multisite not being stored properly in datastore
c6b2199dd3 prepare for 1.5.2 🚀
c418acdcfa Update CHANGELOG.md
9d0d72ba02 [#576] Add support for ModSecurity JSON LogFormat
cbc6259386 Update mmdb files
f57fc5d3f6 Fix menu.html dark_mode attribute in UI
c7e834a0dc Update python deps
673ee921f6 Lint files
9fb8dfca45 Fix Scheduler running two times for no reason
4787400d74 [#615] Fix BunkerWeb not being able to start after a restart because of the /var/run/bunkerweb directory missing in Linux
f59476c26d Merge pull request #621 from bunkerity/dev
4be53d0cbe Merge pull request #620 from bunkerity/ui
55ba29cd54 Fix UI error when values are empty
947690af8f Fix UI workflow
5cdf0ecf44 Merge pull request #619 from bunkerity/ui
d1dd1fbae7 Fix shinanigans with the /data volume in the doc
1b84c62024 [#613] Fix logs with web-ui and Linux
a2e0f1fe66 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
639eed8d05 Deactivate BunkerNet on first start with linux
500c3564a2 ci/cd - perform staging tests again
448efc0ef0 Merge branch 'staging' into dev
1b660691d5 ci/cd - fix typos for docker/packages pushes
e62b7c9d19 Remove unused js files in web-ui
b87316d7c4 Merge pull request #617 from bunkerity/ui
4cff39f490 Merge pull request #616 from bunkerity/dev
bceb286026 Lint files
d9d6ed9bb0 Fix settings regex with web-ui
01be5baea5 Merge pull request #611 from bunkerity/dev
059afec430 Update rhel docker image
e564d84079 Merge pull request #610 from bunkerity/dev
2c15b37461 Fix rhel typos "el" instead of "rhel"
6f26c42c89 Merge pull request #609 from bunkerity/dev
c5059ab220 Update doc to include TLS as well as HTTPS in some sections
a7a317b5bf Merge pull request #487 from bunkerity/dependabot/github_actions/dev/scaleway/action-scw-c718eca1fcb9fec1fb1433752d61599c6a0ad2e9
0681cf2c9b Update actions/checkout to v4
3a02c0ca5c Add more delays in badbehavior core test
040d447145 Change SQLite config to avoid locking
07725356b6 Merge branch 'staging' into dev
6a995723c0 autoconf - fix changes check bug with same variable name
47bf7299a1 Lint py files
656c5008de scheduler - ignore changes on first loop
c206daf9dd add basic config lock between autoconf and scheduler + remove reverse-proxy tests for linux
cf55ade15d ci/cd - various fixes for k8s tests
d28432e5f2 Fix API_SERVER_NAME regex
b5638aae19 ci/cd - move k8s login in staging-tests job
4450762b8c ci/cd - fix image name in k8s tests
6e1660cd00 autoconf - fix wrong config update
cb4c99f456 ci/cd - fix docker tag command for linux tests
64d2ed91ec ci/cd - fix secret key
0e2420cfff ci/cd - add timeout for cleanup jobs
fa165522e5 ci/cd - use same md for openssl commands
b036803884 ci/cd - remove double untar for k8s tests
bae27806b2 ci/cd - fix tf state upload/download again
11794da8c4 ci/cd - fix tf artefact command
c52e54b812 ci/cd - fix tf files again
e5c37a00ac ci/cd - fix k8s tf
9a3c26bf65 Merge branch 'dev' into staging
56422bca46 Update python deps regex for UI
ee47407dfe Merge pull request #606 from bunkerity/dev
936b1e88f0 Remove old CVE fixes for nginx image
f9f5b6570d Remove old CVE fixes for python images
8e8e042c25 Testing CVE on bw
1676ebeb7e Test CVE on autoconf
637573e591 Update docker images and python deps
c3a4847de5 Update startup and temp env in bash files
3db7904d41 ci/cd - fix wrong image tag for Linux test images
037e1ba566 docs - add ghcr.io
d6aa6a9b09 ci/cd - staging improvements
9aba006738 Fix oddities with the scheduler and the Database
f7d9af9d69 Fix potential infinite loop when waiting for a configuration from the autoconf
95c796c1ee ci/cd - delete temp compose downgrade
423e3b4a39 ci/cd - log to ghcr before getting tests containers
511597b7e0 ci/cd - fix tests image names
bb77dcedf5 ci/cd - edit username for ghcr auth
3d0f17808c ci/cd - add dummy username for ghcr auth
5a9836fec5 ci/cd - fix nested permissions
e1edfe4a7f ci/cd - fix missing permissions in wf
e81ab4ff9b Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
87b4053402 ci/cd - use gh cache for docker cache and pushes to ghcr.io
45a81203ed Update python deps
9feb66710b autoconf - force updating first configuration
3d13cf345e autoconf - only update data when needed and atomic changed metadata update
00cb6c1a8b tests - fix regex for geckodriver version
898ee7ec87 tests - tweak dpkg before installing BW
643b30f993 tests - ignore wrong testing version in deb packages
69e944d56a Revert "Fix LinuxTest package installation commands"
2b7f627d86 Merge pull request #602 from bunkerity/dev
82fb7b277d Fix LinuxTest package installation commands
1042e546b6 Merge pull request #601 from bunkerity/dev
6d1d464e16 Remove tries limit in wget commands (defaulting to 20 tries)
b5de52ead9 Add more retries when testing the newly created service in ui tests
2675227499 Merge pull request #599 from bunkerity/dev
4f82856b48 Update staging-create-infra to use a static version for monolithprojects.github_actions_runner == 1.18.1
d670b409bf Merge pull request #486 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-4
0b93916a37 Merge branch 'dev' into dependabot/github_actions/dev/docker/build-push-action-4
76408cf04d Merge pull request #598 from bunkerity/dev
f7cd7d9daf Add dependency on tests-ui to not fail to push the testing image
8632dd3244 Fix exit code for ui tests
fbf0232d52 Update python deps
5b6f00dfc6 Revert "Remove unused imports in ui tests"
681def5f02 Remove unused imports in ui tests
a844b235b9 Remove geckodriver.log
73e31ca625 Add wget to fix error with tests
d82136f040 Fix UI tests not exiting if container fails to start
55fd177901 Fix wget command when downloading the geckodriver sometimes fails
d8c95869e8 Fix database with multisite variables
f24802b211 ci/cd - perform staging tests again
758fc13c3d ci/cd - replace version string for testing release
cd825cd341 ci/cd - fix wrong VERSION path for testing release
c03b1bb20b ci/cd - update VERSION file for testing release
a5e50d0f74 ci/cd - fix linux package name for staging
1a57e0a202 ci/cd - remove linux arm64 packages pushes
de568f335f ci/cd - temp disable staging tests
244b912476 ci/cd - fix syntax error in push-github wf
08ce31bb0f ci/cd - prepare for testing releases
7f47ac18c0 Fix plugins errors when reloading with a select and upgrade check
b6b87fcb03 Update python deps
8bada2a02d Update update-version script and bw version in after-remove scripts
b8778de08b use nightly tag for docker-socket-proxy
b42b732d74 Merge branch 'staging' into dev
fc1c81ce20 linux - add python3 dev dependency when building packages
76d36f3b91 v1.5.1 release
63355bb887 tests - increase radarr delay (again)
0ecf478761 Merge pull request #592 from bunkerity/staging
59dfb728ff Fix DNS_RESOLVERS regex to be more open
47c560dd30 Merge pull request #591 from bunkerity/dev
ff1e6cc28c k8s - use same namespace as ingress for services
81c2c3187c Fix config synchronization in scheduler + Remove MULTISITE variables being fetched when MULTISITE is set to no
7f3f3ac7e3 Add delay to radarr automatic tests
58d69ec20c Merge pull request #590 from bunkerity/dev
012bc3b43d Merge pull request #589 from bunkerity/staging
600ea7e168 Update python deps
18ee159711 lint python files
eee26b5d72 tests - add delay for reverse-proxy-singlesite
c00157ef32 fix wrong instances when using docker mode and add delay to docker-configs tests
6047a43358 set default value for ports in bw entrypoint, fix core db tests and fix missing PYTHONPATH for certbot job
ee2aeda13a tests - add static delay for linux tests and fix core db tests
bb6fd30739 linux - force kill nginx if graceful one doesn't work
6e6c08a716 ui - various edits
5df2a74caf improved LE certificates checks and fix missing full SERVER_NAME when MULTISITE=no
843c023707 tests - fix wrong command in linux tests
8f7833413b linux - fix letsencryt not working and fix permissions on /etc/bunkerweb/configs for tests
0ccd757817 linux - add missing pip to rhel
adbed77f74 linux - install pip the official way
ef7a6ac421 linux - fix fedora dockerfile
31ca183b1e Merge branch 'dev' into staging
a763879c1d doc - update settings
03ba91e968 autoconf - fix deadlock with k8s
38ab5ea21a redirect - custom status code
ee5397df55 bw - add HTTP and HTTPS port to temp config
9efd7a5a5f sessions - fix infinite loop when session checks fail
784ce643f0 db - disable connection pooling for one shot tasks
f3081e3c34 scheduler - fix parent setter call
26a1ef6898 Update mmdb files
e2fe947cb4 ci/cd - fix tests UI not showing logs
bf9cd367d0 fix missing Strict-Transport-Policy header, fix X-Forwarded-Prefix with regex URLs and print logs when UI tests failed
26f2852e54 scheduler - fix typo in fstring
e93b2f65ff cache dev container images, fix CVE-2023-35945 and force scheduler to reload when instances change
f3ba16be9d add instances changes check to scheduler and auto push dev container images
d9394567ef add missing ctx arg in core plugins, always add X-Forwarded-Prefix header and add doc about timezone in containers
d59b305f1e fix concepts image in doc, revert clientcache update and refactor headers
ad45bbb4d7 Update python deps and fix error with PyYAML compilation
db03aa9c79 Merge pull request #565 from bunkerity/dev
bb14be8202 Update python deps updater
bedcf0c17c Fix bug with newer version of PyYAML by downgrading
68e9b057d4 Merge pull request #564 from bunkerity/dev
810340a493 [#559] Fix typos for custom-cert's settings in docs and examples
a4db7c2942 Fix CVE CVE-2023-2975
758901dfc3 Fix CVE CVE-2023-2975
9216becb56 Update python deps
db413cc032 Merge pull request #555 from bunkerity/dev
a4f4dfe4e6 remove unused imports in save_config.py
0d554a5f5d Update SERVER_NAME regex to be more open
c11b44285b Merge pull request #554 from bunkerity/dev
25af02e4a4 FIx prevent the `DATABASE_URI` setting from being saved inside the database
9eec9e26c9 [#552] Fix scheduler not changing databases on linux
845364b2b6 Update log paths for linux based integrations
3dac0aef0e tests - temp fix for compose network errors
08f9e5f20a Fix bad behavior core tests by adding a custom subnet to the bw-docker network
fccb25bee6 Add automatic bw-docker network removal between each try
d6407b8186 Fix db core tests by making the network bw-docker entirely external
1cf281ef83 Update core tests to be even more verbose
3a714b9a3f Update core tests to be more verbose
864619542c Fix core db tests (again)
be46f7a8d8 Optimize db core tests
559039dfd1 Lint .conf files that contains lua code + remove useless comments
aa0769dde7 Merge pull request #549 from bunkerity/dev
ae6ccfcffc Apply patch to luajit-geoip
ed234fd63f Apply post_install script to lua-resty-openssl
09ae6da557 Apply patch to lua-resty-ipmatcher
b516ca2ea2 Apply patch to lua-ffi-zlib
1e7f92af80 Apply patches to Modsecurity-nginx
008dc09a60 Stop checking return code of post_install scripts in init_deps.sh
fcd230192f Fix init_deps.sh
f3809bc698 Add -R to pull commands in init_deps.sh
96586d4a68 Apply post_install script to Modsecurity
a75b90f525 Squashed 'src/deps/src/modsecurity/' changes from bbccedbdd..205dac0e8
948182ffd4 Merge commit 'a75b90f525b90bd74c090702034e02fdd6250e0e' into dev
544b4040e0 Add post_install scripts to init_deps.sh and update install.sh
6e146e2a54 Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..bbccedbdd
847ff5a3da Merge commit '6e146e2a54cb29eb0ac1bc9d65766fe90d30fa4f' into dev
bbccedbdd5 Change tags into hashes in deps.json
14d69fa594 Update mmdb files
d5e358b72c Merge pull request #548 from bunkerity/dev
e0055328af Fix add missing deps for core db tests
c93d5a2fcd Fix CVE CVE-2023-3316
5631e27378 Merge pull request #547 from bunkerity/subtrees
3505c0d18f Remove clone.sh file
7b566b885e Squashed 'src/deps/src/zlib/' content from commit 04f42ceca
ffd3100317 Merge commit '7b566b885e99301b243c5f61360e65238035e048' as 'src/deps/src/zlib'
45dca7b445 Merge commit '2ab324a69f219b4051b2e77d211ee1a7fb1462b5' as 'src/deps/src/stream-lua-nginx-module'
2ab324a69f Squashed 'src/deps/src/stream-lua-nginx-module/' content from commit 309198abf
f85f86e46c Merge commit 'c1073460677ba8aa2e325a1c57c3db1458f9fde5' as 'src/deps/src/luasocket'
c107346067 Squashed 'src/deps/src/luasocket/' content from commit 95b7efa9d
a7d4cc5bba Squashed 'src/deps/src/luasec/' content from commit fddde111f
bd600e0d0c Merge commit 'a7d4cc5bbaabf8683b3b5cc1f42f9bd145cf1aa8' as 'src/deps/src/luasec'
d156626938 Merge commit '2d86912af87048b94c2921a60b3a8a5a0953e132' as 'src/deps/src/lualogging'
2d86912af8 Squashed 'src/deps/src/lualogging/' content from commit 465c99478
1fb404757d Merge commit 'f3ceeb73a958e774b1e2fa55d2607cdd3eb419ca' as 'src/deps/src/luajit-geoip'
f3ceeb73a9 Squashed 'src/deps/src/luajit-geoip/' content from commit fde33e045
f81788c00c Merge commit '2678b91586e9183b47327fbb0f11ad23020f195f' as 'src/deps/src/lua-resty-upload'
2678b91586 Squashed 'src/deps/src/lua-resty-upload/' content from commit 03704aee4
2d06f2d7ab Merge commit 'bc06cd71b8896c6e7a1aac4610c9c3f878956238' as 'src/deps/src/lua-resty-template'
bc06cd71b8 Squashed 'src/deps/src/lua-resty-template/' content from commit c08c6bc9e
a6379356ea Merge commit '3038a0b027f09090e1cd8f101d2ee8c52c383070' as 'src/deps/src/lua-resty-string'
3038a0b027 Squashed 'src/deps/src/lua-resty-string/' content from commit b192878f6
fdf0050a91 Merge commit 'ee5198ba2810e33e08ff987ede5abe10fc74f6e3' as 'src/deps/src/lua-resty-signal'
ee5198ba28 Squashed 'src/deps/src/lua-resty-signal/' content from commit d07163e8c
a3cd342f3e Squashed 'src/deps/src/lua-resty-session/' content from commit 8b5f8752f
6f8ff3f12e Merge commit 'a3cd342f3e1fffd7b16b83a24e03bb9ed501b319' as 'src/deps/src/lua-resty-session'
2f1cde0978 Merge commit 'eca8662cfe981f66ab92b53bbf83af65da02b2b7' as 'src/deps/src/lua-resty-redis'
eca8662cfe Squashed 'src/deps/src/lua-resty-redis/' content from commit d7c25f1b3
0b94df0879 Merge commit 'e59161ec204c7a95e4751b1c0e9a6bead7fcab39' as 'src/deps/src/lua-resty-random'
e59161ec20 Squashed 'src/deps/src/lua-resty-random/' content from commit 17b604f7f
a280059882 Squashed 'src/deps/src/lua-resty-openssl/' content from commit b23c072a4
38fdd39d00 Merge commit 'a2800598825bb5a03b577cca2874ff1cfae863f4' as 'src/deps/src/lua-resty-openssl'
c2fa53ca17 Merge commit '31bf774f63b8b46a3c7b53028853036fff6fa0b8' as 'src/deps/src/lua-resty-mlcache'
31bf774f63 Squashed 'src/deps/src/lua-resty-mlcache/' content from commit f140f5666
7b2273aeb8 Merge commit 'c82b0bdd27762d2d4a9901a187506d2e5abd74f5' as 'src/deps/src/lua-resty-lrucache'
c82b0bdd27 Squashed 'src/deps/src/lua-resty-lrucache/' content from commit a79615ec9
3dc8cc87ca Merge commit '746a6e16d027ab3bddfc610c987e5d61ab9b69d0' as 'src/deps/src/lua-resty-lock'
746a6e16d0 Squashed 'src/deps/src/lua-resty-lock/' content from commit 9dc550e56
62e740a0bb Merge commit '19515d9b26f2f4886ca117b91384509087f0ff3a' as 'src/deps/src/lua-resty-ipmatcher'
19515d9b26 Squashed 'src/deps/src/lua-resty-ipmatcher/' content from commit 7fbb618f7
e566b98afc Merge commit '7160fd94e3dc22299ee3c9f8b0e71a5e2c1bb501' as 'src/deps/src/lua-resty-http'
7160fd94e3 Squashed 'src/deps/src/lua-resty-http/' content from commit 4ab4269cf
cdd42bf250 Merge commit '1a7d4e58be28238599df3f5c15c56380c3e99732' as 'src/deps/src/lua-resty-env'
1a7d4e58be Squashed 'src/deps/src/lua-resty-env/' content from commit adb294def
49db9c24d6 Merge commit '0f4a0cb0ef514bee6b810f6d6cf982c5ef0abfca' as 'src/deps/src/lua-resty-dns'
0f4a0cb0ef Squashed 'src/deps/src/lua-resty-dns/' content from commit 869d2fbb0
fe76b6830a Merge commit 'fd02afef8ec1ceb8a816dc202d05c6ece9887d31' as 'src/deps/src/lua-resty-core'
fd02afef8e Squashed 'src/deps/src/lua-resty-core/' content from commit 31fae862a
29d135bdbc Merge commit '36023392a6e3c8fb6aebb46140db759e61da220e' as 'src/deps/src/lua-nginx-module'
36023392a6 Squashed 'src/deps/src/lua-nginx-module/' content from commit c47084b5d
b01aa0b15f Merge commit '32485e2860c2ea31fcef5b575f446c7a3036a550' as 'src/deps/src/lua-gd'
32485e2860 Squashed 'src/deps/src/lua-gd/' content from commit 2ce8e478a
c46cd666ab Squashed 'src/deps/src/lua-ffi-zlib/' content from commit 1fb69ca50
909841ea63 Merge commit 'c46cd666ab76bad7bd05c6261d692cda5b380f32' as 'src/deps/src/lua-ffi-zlib'
47ee3884fb Merge commit '4f9b885a2e8b7a10653653fee3bb91cf5102b0ef' as 'src/deps/src/lua-cjson'
4f9b885a2e Squashed 'src/deps/src/lua-cjson/' content from commit 881accc8f
bb450ac965 Squashed 'src/deps/src/libmaxminddb/' content from commit ac4d0d248
e13868c63b Merge commit 'bb450ac96595432625ac34de8f7f42b3d06a5b30' as 'src/deps/src/libmaxminddb'
772e05d372 Merge commit '4a7228d2dcb7fe62526016b90a7c497fb6531e76' as 'src/deps/src/libinjection'
4a7228d2dc Squashed 'src/deps/src/libinjection/' content from commit 49904c42a
209d4a461b Merge commit 'ae8d8b233d52cbfdee68bd3ba21713149f5659c8' as 'src/deps/src/lbase64'
ae8d8b233d Squashed 'src/deps/src/lbase64/' content from commit c261320ed
9927106501 Merge commit '1d1739b4eaa274c25c52b8ceb79ebdc717633ec0' as 'src/deps/src/headers-more-nginx-module'
1d1739b4ea Squashed 'src/deps/src/headers-more-nginx-module/' content from commit bea1be3bb
e43880b083 Squashed 'src/deps/src/ngx_devel_kit/' content from commit b4642d6ca
a09d5eb2cb Merge commit 'e43880b08395df25663560da3d8154226a167a77' as 'src/deps/src/ngx_devel_kit'
8973eb0290 Merge commit '26773844e7bd57df1216bd74360a62ec2dc976e3' as 'src/deps/src/nginx_cookie_flag_module'
26773844e7 Squashed 'src/deps/src/nginx_cookie_flag_module/' content from commit 4e48acf13
79d1b44594 Merge commit '22e69251d9b5cd2611abf77ef7352abfa4d409d7' as 'src/deps/src/ngx_brotli'
22e69251d9 Squashed 'src/deps/src/ngx_brotli/' content from commit 6e975bcb0
4cd57ab8f2 Merge commit 'b99663928782619ef854b4bf10a2bf7450d75266' as 'src/deps/src/nginx'
b996639287 Squashed 'src/deps/src/nginx/' content from commit 84cd72177
d7f25398aa Merge commit 'a676d333fda890838d8fc4766720cc3f1d4c5389' as 'src/deps/src/modsecurity-nginx'
a676d333fd Squashed 'src/deps/src/modsecurity-nginx/' content from commit d59e4ad12
7e8f4adc3b Squashed 'src/deps/src/modsecurity/' content from commit 205dac0e8
999fb6b8ed Merge commit '7e8f4adc3b2b2a655640c73198fb920a5e8441d5' as 'src/deps/src/modsecurity'
6c0468f62b Squashed 'src/deps/src/luajit/' content from commit 04f33ff0
6d05b14eb5 Merge commit '6c0468f62b1120497a6fd0d21101dc41f29e7397' as 'src/deps/src/luajit'
1141afd203 Fix install.sh for nginx dynamic modules
97406bff4d Add libinjection deps back
a58ad9b506 Remove duplicate lua-ffi-zlib in deps
831ae129c4 Make init_deps.sh executable
451648fa71 Remove old deps temporarily except lua
185d75076b Update how the deps are initialized
6a048e68fc Update how the deps are managed
129e8f7e01 Merge pull request #546 from bunkerity/dev
265123835f Update python deps
b0bc9a1bf4 Update the documentation
2f7ed064fc docs - Fix typo in webhook link in plugins.md
7d6116163c Merge pull request #544 from bunkerity/dev
deed39a1fb Update lua-resty-openssl to version 0.8.23
dd295729bb Add deps project submodules
b27f38349b Update lua-resty-session to version 4.0.4 and remove lua-pack deps as it's no longer needed
aeca252d9d Bump lua-resty-core version to 0.1.27 and lua-nginx-module version to 0.10.25
1ec21261c4 Revert "Init work with submodules"
718a9305d8 Revert "Fix .gitmodules file"
a253f4a59c Revert "Remove old folders that are now submodules"
2e1e9a08cb Revert "Initialize submodules"
e2f1aba3cc Revert "Add other projects to submodules"
d9a98c6fa9 Revert "Update commit SHA for submodule libinjection"
5ed3ba1d50 Revert "Fix path resolution for modules and remove nginx submodule"
b529d85255 Revert "Update checkout part of workflow to include submodules"
43783edb9d Revert "Add nginx as a submodule"
8417ed1324 Add nginx as a submodule
ded0ec66de Merge pull request #542 from bunkerity/dev
6cbbd0d562 Update timeout for wordpress tests to 120 seconds
d687b228e2 Fix PERMISSIONS_POLICY authorizing self and links to be aside without spaces
bcc9fdef90 [#533] Fix SERVER_NAME regex to limit domains' size individually instead of the whole setting's value
524a140d24 [#534] [#504] Update ALLOWED_METHODS regex to accept more methods
a197e20d26 [#531] Fix typo in documentation about SSL
252a5831bf Merge pull request #541 from bunkerity/dev
07ed136afa Update setup-kubernetes of wordpress example
2eb73d15a1 Merge pull request #537 from bunkerity/dev
30fec8a142 Remove python submodule, will add it back in the next major
4b4e0f8b3b Update checkout part of workflow to include submodules
c2cfd4dd9f Remove checkout from dev.yml
642da402bc Fix dev workflow
4bb6d40a53 Update dev workflow to checkout the code and submodules first
3bcdd9ca24 Merge pull request #536 from bunkerity/submodules
28d59221b4 Fix path resolution for modules and remove nginx submodule
c8e25bcde0 Update commit SHA for submodule libinjection
e1a5782a3e Update how the dependencies are being cleaned up
68bea47edd Add other projects to submodules
2cd5c7f451 Initialize submodules
d7d3e24297 Remove old folders that are now submodules
a747278910 Fix .gitmodules file
b5fffc1f38 Init work with submodules
8c4c99e65d Merge pull request #530 from bunkerity/dev
ddc337394d Update log location for nginx and letsencrypt
1c362d0783 Remove the deletion of let's encrypt lib and log folders after the job is finished
95c9bad8e3 Remove unused enums in database model
7a972274f1 Add database schema to concepts.md in the docs
5614995364 Revert "Update README.md links to use local branch files"
4536e328e1 Update README.md links to use local branch files
89070cfb7d Merge pull request #529 from bunkerity/ui
d6942a46e7 Update where the scheduler copies its config
8a98da898b Merge pull request #528 from bunkerity/ui
26f831cb4d Merge branch 'dev' into ui
81f3914fc8 Merge pull request #527 from bunkerity/dev
162198bb93 Update db core tests to ignore the added value for env custom configs
7a524b43e6 Revert back to 30 seconds of sleep in tests ui after creating a custom config
b007916d6f Optimize the scheduler and gen even more (we love threads)
0661916ffc Update ui tests to wait more after creating a custom config
2105dc0f32 Update core db tests to use the right hash for plugins_page files
8231198219 Fix rare error when hashing dictionaries in the scheduler
1e62626ac0 Fix KeyError in scheduler
57eaedd8e9 Merge pull request #526 from bunkerity/dev
4d984f6237 Update CHANGELOG
d0fd6884ce Fix shinanigans with the custom configs and plugins jobs
8e6de2bdf2 Augment authelia timeout
3565dd7b37 Update CHANGELOG.md
145df1df4f Merge pull request #525 from bunkerity/dev
df1359e877 Add possibility to download lists and plugins from a file path + Update python deps + Plugins now support tar and tar.gz as well
b756b2d7d0 Lint py files
f57b6dad13 fix cursor gap on ace editor
91c33f1d43 Merge branch 'dev' into ui
ed2a54d166 Merge pull request #524 from bunkerity/dev
3e871efed8 Update python deps
d27edab351 Merge pull request #523 from bunkerity/dev
9982ec36d4 Remove useless import
80033642ce Add reverse proxy headers back
0836d4ee9f Merge pull request #522 from bunkerity/dev
2a2b7b6f5e Merge pull request #521 from bunkerity/staging
78236abe83 Check Aqua Security
c5ff63a40c Fix CVE CVE-2023-3138
78ef5c4827 Fix problems when creating custom configs or plugins and removing them completely
2c190ee969 add writeable /var/run/bunkerweb directory to hardened example
94867d0d63 letsencrypt - use same job name when retrieving data from db
9e00b9dd13 letsencrypt - use same job_name for both new and renew jobs
9adb209a81 lua - fix missing multisite variables in LRU
fdd3367a65 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
dcf1561358 prepare for 1.5.1 🚀
4023e6dc69 road to v1.5.1
af9e125c86 linux - merge change for debian packager
ab6025ec91 linux - fix missing zope modules
7e221eb890 debian working
f1435f2312 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
b14dba7752 bw - fix multiple variables not loaded in LUA
81bb9ede14 Removing python 3.11 from linux
7e66c577f8 Removing python 3.11 in linux
236572f581 ui - remove python 3.11 import for Linux integrations
73060e42a1 Fix limit core tests
df0c03cef1 Fix UI wrong import
5d7ef69c9d Update limit core tests to avoid false negative
855ae89363 Update limit core tests to avoid false positive
16a1916dbb Remove useless imports in lua code + lint
605e237fd5 Remove 404 from Bad behavior status codes
fc8d76f33d Rollback on hcaptcha passive feature
c08e8d151a Update settings.md
44097cad09 Move the COEP, COOP and CORP headers to Cors plugin and change default values
3446e5f9b1 Upgrade antibot to add a custom CSP on each pages + update plugins order
70f227feb3 Fix error with multisite variables when requesting default server
f81b0bb4da Fix multisite variables not being added in helpers
9786975004 Fix has_variable method of utils
5b0b183a4d Remove no longer needed decode for plugin order from datastore
a2759e3771 Add small tweaks on the datastore
b6d8792575 Fix how we fetch plugins_order in the default server
94964a910a Update how we handle custom configs
6a1ff499c1 Fix Lets'encrypt plugin api and internal API
179a7aa34a Fix lua sessions with antibot
a1385fe9b3 fix ctx usage in reverse proxy + remove useless log in limit
23f9f14a46 Remove old CVEs fixes from Dockerfile
f77150bc26 Test Aqua Security CVEs
ec48e66011 Fix return value when no plugins have been found in api.lua
6ab48d9dd2 Update python image to tag 3.11.4-alpine
ce24a0482a apply changes to current core
02d9403937 perf - ctx caching and per worker LRU for readonly variables
a7069bd605 Update UI to stop using env variables but werkzeug middleware + Send X-Forwarded-Prefix headers to UI service
c39dd78aec Update cors plugin tests
3b459b0e20 Fix shinanigans with API (again)
718310312a Fix shinanigans with the API
5deeacc3d4 Fix letsencrypt jobs
c18f743d44 Fix PosixPath in jobs
85a53278e1 Add a charset to cors Content-Type header
e01c14f11f Add Cross-Origin-*-Policy headers management and default values
0b3c1a8a04 Update KEEP_UPSTREAM_HEADERS setting's default value
95f673c1d4 Update doc about headers
cee7672b55 Update settings.md in the doc
d5ea95da92 Increase load-balancer example test timeout
39e6821a4c Lint lua code
64aa12b70b Update python deps
c392a0b5f0 Update mmdb files
f93dd34f67 Extend KEEP_UPSTREAM_HEADERS setting to clientcache and reverseproxy core plugins
a23d189d3d Merge pull request #516 from bunkerity/dev
df47ba0e98 Merge pull request #515 from bunkerity/dev
0ca7de1de1 Add CVEs fixes back
84fcfb726d Test Aqua Security 2
c20bd05d35 Test Aqua Security
c85a4183d8 Fix Strict-Transport-Security not being sent
654172f436 Update headers core plugin lua code
afe6da4cf5 Automatically add Content-Security-Policy header to response headers in the UI
5c7cd38b51 Edit headers core plugins to use lua Code + Add new setting KEEP_UPSTREAM_HEADERS
299a0b5c25 Remove apk update at beginning of each Dockerfile
6cc20efe72 Update bad behavior test BAD_BEHAVIOR_COUNT_TIME to 30 seconds
e2a3bfb106 Bad behavior core tests change the ban time to 60 seconds
4bbddf7975 Merge pull request #509 from bunkerity/dev
1eeefead95 Core tests sleep between each request
9829ef7525 Update UI to automatically set SCRIPT_NAME and ABSOLUTE_URI
b27958a19c Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
410a64810b core - patch modsec to use access phase instead of preaccess
f7d986d6a5 Change the way linux starts and the scheduler
95d4f0f87c Small tweaks on core jobs
4f324231d2 Fix tmp variables path (again)
dc18f98846 Edit start.sh
3b36965f4a Fix tmp_variables_path in scheduler
ccc051e783 Fix /var/run/bunkerweb in fpm args
8b2517cdf0 Remove ui cache download test - to much unstable
d1138855ee Fix gunicorn config for Docker and Linux
0c8bc97fae Fix UI on Linux not using the right user
a68fb0c06a Refactor to make more sens and avoid specific errors
fff21746a9 Correcting: Dockerfile-ubuntu End of statement block Jinja
3ab4a59b6e Update debian Dockerfiles to avoid updating apt packages only once
760ec3b3b6 Add /var/run/bunkerweb removal script when uninstalling BunkerWeb
be459d240e Update pid files paths to /var/run/bunkerweb
8b697d87d1 Fix Scheduler errors with the internal apis
89a3c8b0b6 Update bunkerweb-ui file according to the new gunicorn usage
5e237d0d03 Update gunicorn to use a config file as well + Fix headers error + Small fixes
a424d59b1b Add apk update at the beginning of each Dockerfile
1d14db7e18 Update custom cert job to not duplicate certs if the cert is global
7efb82a7ee Update python deps
e920cba432 Fix CVE CVE-2023-2650
413b75b046 Fix customcert plugin to accept multisite certs as well
87a9545d9a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
c533948452 various fixes
aca0d6da48 Small refactor on the ApiCaller and the Scheduler
1bd40a877a Removing vmware support in doc
612333d2ad Merge pull request #508 from bunkerity/dev
474ecbb41e Fix typo in phases list in plugin.lua
5fa21b3c89 Fix CVE CVE-2023-29491
16a459bf75 Lint antibot html files
fd06a1e715 Add Turnstile antibot
d5e64320c4 Fix small typo in misc.lua
4d6d95037a Merge pull request #507 from bunkerity/dev
b60657e21f Merge pull request #506 from gin-gitaxias/patch-3
1f2c973a3b Fix docker-compose file for custom cert job
b314f4349c Update integrations to add LOG_LEVEL=warning env variable to docker proxy
0edfb2db35 Update example to add a LOG_LEVEL=warning to the docker proxy
83413aef2b Remove open ports from core tests docker compose files
334be43462 Fix custom-cert core plugin
953128be6e Update scheduler changes check to reduce CPU usage
bb7dcda48d Refactor paths resolutions for core plugins
1088279524 whitelist - remove unused IPs of duckduckgo crawler
665b110c63 [#504] Fix ALLOWED_METHODS regex
5a2aa20bcd Update plugins.md
168dfc4390 Refactor paths resolutions for UI + optimizations on the plugin upload
6e80c7b8de Fix variable being ignored instead of saved inside the database when the value is empty
8dad7a0b79 Starting work on paths resolution refactor
b5a78c3aaa Test Acqua Security vulns (2)
ed6bee69c7 Test Acqua Security vulns
3dba058b45 Fix custom configs not being cleared out once created
d9b093dab5 Fix plugin example in documentation
162f1d978a Merge pull request #502 from bunkerity/ui
1f2fa95e77 Remove useless line in the head.html file + lint HTML files
1cd3567814 Add multiple plugin upload in one compressed folder support for the UI
29673f9182 fix font
1804936161 Fix CVE CVE-2023-1999
7fe7a997fd Merge pull request #501 from bunkerity/ui
5b75894d40 Fix UI latest version checking & Fix conditions in quick settings for services
1f6b3d59a1 Merge pull request #500 from bunkerity/dev
548630e3e9 Update python deps
aa299f0859 Update plugin update and add to get only the necessary keys
f0126b6d6e Fix update-check job
8585007bcb deps/gha: bump scaleway/action-scw
a7535c300a docs - fix yt preview in readme
340b4a4929 change arm server flavor
e7ea3952b6 ui - add missing dep for docker/x86
a586b5b6be deps/gha: bump docker/build-push-action from 3 to 4
3b7d8b6c11 Merge branch 'staging' into dev
6666a25fcc edit version, update images on docs and fix bug in Linux script
f84af34025 Add error ignoring when using the rmtree function
0b082bdab7 Add handling of stderr being None in the scheduler
1f2b550f60 ci/cd - fix swarm examples and init work on release workflow
d5fcc69694 Merge branch 'dev' into staging
eda275589d Merge pull request #485 from bunkerity/dev
7506768c4a Merge branch 'ui' into dev
be3d40f18a Fix CLIENT_CACHE_CONTROL setting's regex to also work with JS
41059fb282 Merge pull request #484 from Hado-K3n/patch-16
88f85b282c Merge branch 'dev' into patch-16
e5e031b6b7 Merge pull request #483 from Hado-K3n/patch-15
2dbadbd29f Merge pull request #482 from Hado-K3n/patch-14
95c7b54109 Merge pull request #481 from Hado-K3n/patch-13
00739a5ab6 Merge pull request #480 from Hado-K3n/patch-12
a9f4be475e Merge pull request #479 from Hado-K3n/patch-11
f85f736785 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
f1efe06e99 ci/cd - fix /opt/actions-runner perms for self-hosted runners
ad71be4608 login now use local font
dcb800d2b8 Update k8s.postgres.ui.yml
5a7f7f3c67 Update k8s.postgres.yml
e1f60127e2 Update k8s.postgres.ui.yml
7553ffb632 fix client_cache_control regex
9324648f21 Update k8s.mysql.yml
eafe006a6e Update k8s.mysql.ui.yml
62a8ec9758 Update k8s.mysql.ui.yml
dfcaba9ad2 Merge pull request #478 from bunkerity/dev
737b999cde Set CLIENT_CACHE_CONTROL setting's regex
9339af44c9 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
78f7570e16 core - Fix bwcli condition when checking bans
40e30ed441 use shared redis connection pool in cachestore when we can
d6ca98ed15 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
10a4cefd00 update lua-resty-openssl deps and replace nginx -s calls with signals
97723185ba core - Add bwcli tests
ab3b3ea8fd ui-tests - update waiting time after creating a custom conf
5adec84d5a fix redis not contacted in subsequent phases and reflect changes on stream configs
1624c4e766 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
eea6d32cd3 share common objects during the phase and add threading to DNSBL and reverse scan
99f8f69fa5 Merge pull request #477 from bunkerity/ui
9b58b397c9 Fix ui tests (again)
ace88d865d Fix plugins fetching for the UI
69b35636e3 Fix UI tests (once again)
5dfe35b7bc Update how the plugins are being fetched by the UI
b75690fdf0 Change the way python deps are installed
b19ebbe6a8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
c0c646aae5 Merge pull request #476 from bunkerity/dev
edd6e2ded5 improved session management and add IP/UA checks
c7ca5a822f Fix Database overriding services_settings if a global_value is set
e1883a04be Merge pull request #475 from bunkerity/dev
af19cc226d core - Add redis tests
0087ae5832 Update python deps
8133c134e0 core - Fix db tests by removing "order" key check
f725d0fe63 Update keys name in datastore
05c478e834 Edit COOKIE_FLAGS regex
b5aaf62662 add forward reverse DNS to whitelist, disable redis in cachestore when sockets are not enabled, fix typo in cachestore and improve dns/rdns caching
8a8dd6fb7a db - remove order from plugin model
93c766e564 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
179beea4d7 improved core plugin execution order
1d126e1d0e core - fix cors tests with the preflight request
dbb8840992 core - Update allowed_methods test method to GET
62cb85453a core - Remove cert verification when testing allowed methods in misc tests
04919e8a08 Fix multiple CVEs
b32f318919 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
4962f786ba fix wrong env parsing in init phase, bypass modsec/crs when method is not allowed, refactor ALLOWED_METHODS and improve error page management
10bdf551aa core - Add misc tests
7158e7e9a1 core - Optimize cors tests
3f51f59bcb Add check when plugins are configured + Add Semaphore to accelerate jobs execution + Code optimization
4c4fa44fbc ci/cd - fix core/cors tests
84d43c84d2 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
b58798746d Update mmdb download to check the checksum at start
a9be973d5f use PCRE regex instead of LUA pattern and edit cors doc
4378f18cc8 fix typo in bunkernet.lua, add missing Origin header in cors tests and fix allow origin expected value
7d84e03a15 fix header plugin phase not called for internal request (fixes CORS), fix bunkernet init_worker bug where ngx.ctx.bw is not available, add CORS_DENY_REQUEST setting and edit values for core/cors tests
8386621419 Lint Lua code
36fdec1058 core - fix sessions tests
ab54b18e05 core - fix reverse scan cache retrieval
9c6ca6a860 cors - various improvements
991f7ff8d0 Fix tests core reverse scan wasn't using the image
9c77f77fa7 Fix test core DB
9ee74aef4f Add up back when retrying to up the stack + remove useless print
7bf4c11bc5 When docker up fails in core tests retry one time
82aadfa38c Update core db tests to add the settings.json file and optimizations
2a78d2c057 ci/cd - perform all core tests even if one failed
e3fc55be9f deps - add missing hash for python dep async-timeout
5f668aecaa ci/cd - fix syntax error in test core wf
e5e336c4f3 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
9a2e37984d ci/cd core tests and antibot refactoring
2ac77ee497 Fix deps not being synced
394f5fe4bd Move back to images in the whitelist tests
b06210bdfb Remove unused files in tests core
e6bb9fb55f Add tests for core plugins
29f020f15e Update python deps
051923b6ff fix deprecated external network in compose files, various fixes in the documentation and add ipv6 to doc
2e1296d9ae show useful info in BW logs after startup/reload and reduce container images size
a686562f18 performance - cache empty rdns results
e36c743c70 performance - cache dns responses
75f3d6490a init IPv6 support, add missing healthcheck script in UI and purge local cache on init
a258612e43 add global data on settings filter
bc3ea0ed35 change select method check
ab71c484ea add global condition for disabled state
5c415afa18 various fixes - ttl on /bans api, dnsbl undercover bug, greylist, whitelist and wrong path in realip job
5c50f57f1c Revert "regular inp and multiple global=true are enabled"
9ceaaa8746 regular inp and multiple global=true are enabled
3dde3ac0aa Fix no longer save SERVER_NAME when MULTISITE is set to "no"
c01b493c99 Increase compression level of tar files being saved in the database
4f4a8b5081 Fix default global values being added to database when MULTISITE is set to "no"
4088067186 Add external plugins being updated at the start of the scheduler
402ff16c82 Add "global" key to settings when fetching methods as well
dcdb43cf05 Merge pull request #473 from bunkerity/dev
ca8c56aaa0 Remove unused function in UI src.Config
905946463d Fix scheduler restarting for no reason when having an external database
8a308b1a88 Fix database not providing the right SERVER_NAME setting value
cf26d7aa22 Fix database saving default values to global_values when multisite was set to "no"
8bb6f63fa7 Merge pull request #472 from bunkerity/dev
64789276ac Update python deps
30194f9599 Fix Access-Control-Allow-Credentials not being set to the right value when deactivated
50ee37db0a cors - refactoring
b8d89fe79a Fix customcert plugin
63f4e44c61 Fix CORS when sending an OPTIONS request
ac2e4dd645 Merge branch 'staging' into dev
e14475de4a ci/cd - fix missing version in linux package name
136f68cd3b ci/cd - fix typo in beta wf
d83730cf75 ci/cd - fix linux package name in upload/download steps
ae042854f0 Fix blacklist download jobs where ignore urls were not being downloaded
86053d3dc5 Update RDNS regex in jobs files
b2e26fc8fc Revert "Revert "Update RDNS regex""
48354fb269 Revert "Update RDNS regex"
a544f18e26 Update update-check job to add stars so that the end of line shows
c6f304b371 Update RDNS regex
14ca85cdb6 ci/cd - fix package.sh name in linux build wf
dc1cb6a6fa ci/cd - fix scp command in linux build wf
73acbe0852 ci/cd - fix typo in linux build wf
45c90527c4 ci/cd - fix linux package generation when arch is ARM
f4590749d7 linux - fix arch in rhel package image
141f5a1d5b ci/cd - fix typo in beta wf (again)
6e82fde8a1 ci/cd - fix typo in beta wf
00ba46ebf0 prepare for 1.5.0-beta update
9a1c09c564 Merge branch 'staging' into beta
df787c75dc linux - add pcre dep to fedora package
93e567bb65 linux - fix fedora deps name and add architecture to fpm config
8b6d788c2e ci/cd - fix bitnami chart values
541b646980 increase drupal delay time for tests, fix tmp dir not created for realip-download job and fix has_*_variable check when multisite is yes
59324526cf speedup build process for python deps and fix default env value for autoconf/k8s
a58e5c60c0 deps - upgrade python dependencies
27b1dddb0d linux - pin pip version
fd056102d4 fix centos repo command in rhel dockerfiles and fix delete infras order for staging wf
fb03733433 ci/cd - use single quote in linux build wf
43cbc79c75 ci/cd - move ARM_* to secrets in linux build wf
7592e5a84f ci/cd - fix typo in staging.yml
39ace81755 fix load-balancer example and add server_name to cache keys when required
48d7e72e54 Merge branch 'dev' into ui
66921b0075 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
819ad60a48 fix hcaptcha antibot and refactor ci/cd for staging
20913808c5 Add .mypy_cache to .gitignore file
a086ff6909 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
a286e7bd32 fix wrong container in autoconf/k8s, init work on linux arm and ci/cd refactoring
5a233ff908 Fix Database model types
18b3d7148a Update db model to use SmallIntegers
b36cd924fa Add `bw_` prefix to database table names
63ce1afcdd Handle errors more gently when API requests fails
d4934cfee5 Remove test-ui service in the main docker compose file as it's been extracted
500d58e508 Separate the compose file back
21dc67b68d Update test.sh for ui-tests an the compose file
75d2be7db7 Update tests-ui to fix them
041b7f71e5 Update ui-tests to make a valid password
1245b8b01c Update regex in ui + Add regex module to requirements
913e9a2c2a Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
97dc6540eb ci/cd - fix typo in dev wf
b75ba601b5 Merge branch 'staging' into dev
573fe8fee2 Change UI admin password check to a regex
51514df570 Remove not needed file in linux scripts
9ff64426b7 Fix ui tests with the external plugins
74fe9d5c16 Lint jobs py files
97b362bb17 Fix let's encrypt error when deactivated
964d318939 Fix wrong attribute value when checking for external plugins
914686e78e Fix often occurring bug when testing the web UI
58db1352fa Revert "Fix often occurring bug when testing UI"
987af951d8 Fix often occurring bug when testing UI
1c74c5d8d5 ci/cd - refactoring
1cc9f57739 prepare for v1.5.0-beta fixes
ac94e5072a fix double .conf suffix in custom conf, migrate /etc/letsencrypt to /var/cache/letsencrypt, fix bunkernet jobs and lua code and fix reload for jobs
773874154d move /etc/letsencrypt to /var/cache/bunkerweb/letsencrypt (wip)
75ca603b7d WIP - fix bunkernet and missing reload for scheduled jobs
0276054522 Fix bunkernet initial message when checking connection + add TODO
bddfb58a0d Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
c7ab002082 Merge pull request #462 from bunkerity/testmmdb
ef551846b9 ci/cd Update mmdb - Let only the schedule and change branch to push on
f41c096ec5 Merge branch 'testmmdb' of https://github.com/bunkerity/bunkerweb into testmmdb
a7b7c2031d ci/cd Update mmdb - Add check for curl commands
fb55295663 Monthly mmdb update
0afb250b91 ci/cd mmdb update - Changed branch to push on
019a927b06 ci/cd remove secret required for auto mmdb update
283a63f160 ci/cd try fixing workflow auto download mmdb
42707ad46a ci/cd test mmdb update
cd57eb423e ci/cd - fix automatic push of doc
01fbacf0ff ci/cd - fix pdf path for draft release + fix missing git fetch before deploying doc
d693d065f8 ci/cd - allow to update release tag, add PDF to release and fix multiline CHANGELOG in release
aa2ada0a00 ci/cd - update git user/mail for push doc wf
a47d7df401 ci/cd - execute apt install as root for doc to pdf workflow
c4093a2d7b ci/cd - increase ARM node storage
01e5994936 ci/cd - concurrent builds for ARM + fix version string for RPM packages
aaa0701659 linux - fix VERSION path in package script
0b93c6e10f ci/cd - add more cores to ARM instance
88db3fa344 ci/cd - fix build rhel var
5c01bd3f74 ci/cd - various fixes for push workflows
604d4c1a0c Merge pull request #459 from bunkerity/dev
bed6d742f0 Decrease the compression level when sending configs to BunkerWeb
57cb6e9c44 Update python deps
0d1580cffd Small code refactor of the jobs and the scheduler's function that generates configs
766ca0e9ce Merge pull request #458 from bunkerity/dev
0ab07678d3 Merge pull request #457 from bunkerity/ui
5412e6d240 fix logs checkbox
ba7422218d ci/cd - fix push workflows
fda2948e0e ci/cd - fix typo in push docker wf
59e5b1d54f ci/cd - fix push workflows
7ca7d78470 Merge branch 'beta' of github.com:bunkerity/bunkerweb into beta
9395456440 add missing postgresql-dev build deps for ARM images
0b5746aba3 ci/cd - add missing inputs for build arm
94dc501c17 ci/cd - remove load image in buildkit for ARM archs because of docker limitation
8ffaa7cf79 ci/cd - force shutdown when deleting ARM node
6e99e7a981 cicd - fix docker buildx arm driver
2eef2b8bb7 ci/cd - fix variable share for ARM (again)
406c686e4f ci/cd - fix variable share for ARM
6cecc70c32 ci/cd - fix ssh command for ARM builder
2f992baab3 Lint py files with black
7befd927d7 Update python deps
a4ae0d5178 Update cached mmdb files
c3d0d7ca70 Add workflow that automatically update cached mmdb files
d4ceb7c106 Remove dev comments for ui tests
b37c86e620 Fix ui tests problem with the logs page
a7b07c9599 Fix wrong condition when fetching the logs on Docker
3b237ed3cc Fix UI tests
a55a0df5de ci/cd - remove useless condition in create ARM workflow
ae33ca52ed ci/cd - fix wait-on variable
8867eb23be ci/cd - fix wrong json keys from scw api
1b79e291eb ci/cd - various fixes for arm build
98ce5041d2 ci/cd - use fixed sha1 commit for scw action in rm arm workflow
66d7216dc3 ci/cd - fix typo in create arm workflow
45fa4d1c26 ci/cd - ignore /root/.cargo dir for security checks, use fixed sha1 commit for scw actions and add missing deps for ui/arm
9cd13990e3 ci/cd - pass ARM ID as secret
266383abb1 ci/cd - dynamic arm build node
4e0d2fce5f add missing dependencies when prebuilt crypto package is not present
823c09195a ci/cd - add missing var for ARM builds
e71dc132ec ci/cd - fix typo in container build workflow
0db5f7cf0f ci/cd - fix typo in beta workflow
4bfc5b693f ci/cd - fix wrong cache name in container build workflow
93d0a991a9 ci/cd - fix typo in push doc workflow
1c178ed75c ci/cd - fix version output for beta/release workflows
ab7e1f6244 ci/cd - add missing runs-on in beta/release workflows
0f499c9d37 ci/cd - fix typo in push packagecloud workflow
d0f6d59f6f road to v1.5.0-beta 🚀
4086628697 ci/cd - fix typo in doc-to-pdf
312757594c ci/cd - fix typo in beta/release (again)
11f86ea754 ci/cd - fix typo in beta/release
ad16067420 use proper links in docs, automatic doc push and add pdf to releases
08e1d157d7 Fix ui-tests by removing no longer present checks
c8908695be Remove unnecessary prints
641a27f5ec ci/cd - remove useless needs for ui branch
4684070818 ci/cd - fix typo in staging workflow
6784bd6914 ci/cd - fix wrong condition for container-build workflow
ef1897de82 ci/cd - add missing needs to tests-ui staging
9815f22d72 ci/cd fix typo in container-build workflow
65c6e48e94 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
14a4db8bdb use current_bw_version for docs, add automatic tests to ui branch and fix letsencrypt permissions for linux
f6b8d23fba Fix ui tests by editing the attributes name to the new ones
58fd04430e ci/cd - fix typo in staging.yml
54a17c7752 init work on CI/CD for generic beta releases, remove useless autoconf examples and fix linux postinstall script
4f2c58bd7c temp disable authelia test for k8s and add missing folders for LE on Linux
5e4ce45793 various fixes
fa67c5d7ba ci/cd - fix missing arg for copytree
04db308c93 ci/cd - edit staging workflow
5d2045803c ci/cd - edit staging workflow
e7717ba7f9 Merge branch 'ui' into dev
bbaaad8487 docs - last polish
0658230e26 enhance responsive
f5c28b27df Merge branch 'ui' into dev
5753123368 harmonize all titles dark color
2f336be770 enhance file manager and jobs svg
81a37a3778 enhance actions btns
c3119f04ee docs - plugins
ffa91933e2 docs - add YT demo
5741dce6d3 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
7695a839f0 docs - web UI
5fe0e0bfda Merge pull request #454 from Hado-K3n/patch-7
8c71f7d278 Merge pull request #455 from Hado-K3n/patch-8
124378d7c9 Merge pull request #456 from Hado-K3n/patch-9
c6a184d90a fix ui integrations and fix stream support in db
d8b7db167e merge from ui
ddd83a8089 docs - add stream support info and plugin description to settings page
289b58567b docs - add stream support info on security tuning page
4dda54a118 enhance style
0ca473c690 fix style issue between load and page transition
1145b798f0 fix filter setting from custom selectors
63e7ccf132 better centering loading logo with text
001a63efc3 continue custom selectors + fix script + style
4144faa93b fix create service issue + remove stash
72bc9e4bb6 start creating custom selectors
98de3fc2fc docs - quickstart
f118f992f6 merge from ui
5285a2f4a1 force stash
1d354c9c6b docs - quickstart (wip)
55a7c8fee8 force stash
64a9fe4dba fix checkbox + style issues + script duplicate
a90d9e6273 ui - fix default value for inputs
7e1efcbc66 Merge branch 'ui' into dev
b5f0fe856e docks quickstart wip
01d8c65c96 remove hidden input checkbox + fix script
b7f63450ed add special method for mode
bc47f1fa5e Merge branch 'ui' into dev
7089e8b4d2 fix checked state
d4fd4c4733 fix checkbox + template
db5789fcb4 Merge branch 'ui' into dev
ab20f83b22 Update k8s.postgres.ui.yml
bbea8ba3fc Update k8s.mysql.ui.yml
9a2005d1a8 Update k8s.mariadb.ui.yml
9512de630c docs - quickstart guide (wip)
956a7bd234 Merge pull request #453 from gin-gitaxias/patch-2
f8c5543fd5 Update plugins.md
667bb30036 docs - quickstart guide (wip)
6b76596a88 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
78c2e16ead add missing cluster config for ui/k8s and start quickstart guide doc
1e6cfe8b0e fix filter disabled issue + reset on modal open
574ecbd6b3 Lower the environnement variable for the mode
aa3ce13a81 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
6f39fce6d6 docs - integrations
92fc5d981f Remove ascii art showing in UI logs
ae7e3ddd9f Fix how the ApiCaller is initialized for UI instances
df94bc4af7 Merge pull request #452 from bunkerity/dev
bf29fa2f92 Show how many plugins there are correctly in the home page
509bd21b06 Add log when deleting plugin
1530745a7e Merge pull request #451 from bunkerity/ui
a87abf3ce5 update home dark mode + variable
8a5836dd95 add popup darkmode
3a4a6ee5f2 new service doesn't force method="default"
1321a76c0c update service submit name for new or edit action
53e145b919 show method involved in disabled setting on hover
ceec21faa3 update web-ui INTERCEPTED_ERROR_CODES
63ba001805 Fix logic when saving a service in the UI
479f18b175 Merge pull request #450 from bunkerity/ui
ab43bf84a1 Make it so the UI and the scheduler no longer run as root in Linux
a7849a6e7a Fix mic mac with config files and UI
9009859aa7 Merge pull request #449 from gin-gitaxias/patch-1
0bf2116c44 docs - concepts
3616a9f202 Update security-tuning.md
435aae7cf1 docs - index and migrating
c0e649d680 fix logs + select custom
1c3bbf1bc3 stream - add example and fix ssl support
37ebde3635 fix logs and plugins dropdown + margin
b64e55f75a Add bigger timeout to loading.html
da4bb8dce6 Fix condition in helpers.lua
ab509c2705 Fix UI with Linux
6916a81c5d bunkerweb is now W3C friendly
c7bc493e35 stream - fix various errors
bc1dbe18a8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
bd577cfb2e country fix (again) and init work on stream
a829528c3f Add bwcli to scheduler and fix it for the autoconf
9d829ebca1 Finish updating bwcli
94b97a6bb9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
780c0c8c53 api - fix errors in calls and use ngx.ctx instead of ngx.var
5fb0be70ae Merge pull request #447 from Hado-K3n/patch-6
6843902db4 Merge pull request #446 from Hado-K3n/patch-5
3419dca980 Update k8s.postgres.ui.yml
38c71cf942 Update k8s.mysql.ui.yml
b7c260561d [WIP] Update bwcli
995ff250ff Update python deps + add redis for the gen
a04490b473 Replace unnecessary import
5112ed46e1 Merge pull request #445 from Hado-K3n/patch-4
8558785b17 Update k8s.mariadb.ui.yml
95e64d6c87 bw - fix black/grey/whitelist rdns check and country check
8ea94a2e4d Merge pull request #444 from bunkerity/dev
9f1405d69e Remove unnecessary {-raw-} in index.html when loading
9a2f7e9ab5 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
93b4714447 Add marging to antibot files hcaptcha and recaptcha
93c0cd437c Merge pull request #443 from bunkerity/ui
e7d61a67ce update antibot and default template
5d05eaeae8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
a77d233eca bw - add zlib dependency
9a69ca135b Merge pull request #442 from bunkerity/ui
823c128233 fix SERVER_NAME + fix delete form + enhance
52806afe73 Merge pull request #441 from bunkerity/dev
2ea726c222 Merge branch 'ui' into dev
dffc770a99 fix and enhance
12f8b8197e bw - add missing lua-ffi-zlib dependency, fix syntax error for white/black/greylist, fix error for dnsbl and fix limit request not working in local mode
4871a21040 api - add missing ctx fill
bcc5e6bb50 bw - add missing json decode in api and add missing require in country
83428d6ccf bw - fix resolvers nil error when doing dns checks
7eefcb8f8d antibot - manage direct access to challenge page
a372ffd521 fix invalid session error handling and remove debug log in whitelist
e55912b34d Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
5f9f1e54f8 load inline multisite values for white/black/grey list core
3b4882d82b Revert "Remove no longer present CVEs fix because these are already fix in the images"
c2e0e51067 limit - use atomic script for redis case
4bc0771d95 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
edf7e06e07 various redis fixes and display ready log
a93d9a7d94 Remove no longer present CVEs fix because these are already fix in the images
e4465d9a12 Fix jobs cache when a database is used
c9af9457e4 Fix wrong condition when sending files
17a3d933b3 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
a60b6f3ada bad behavior - fix 500 error and do not pass objects with another lifetime to timers
c0e8e93aba Fix documentation mistakes when soft merging 1.4 into dev
f1a868c66b Fix when the cache from jobs is saved into DB + sleep 5 seconds when waiting for the database for the UI
d32102376f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
510938fc23 antibot - fix bugs related to session
ed9605c103 Update python script that generates settings.md
3dabd42dfc Update python deps
834fbaf01d remove antibot back btn + update raw
95c231515e antibot - various fixes, not fully fixed yet
56028b087e update antibot / loading / default page
502d4fcc08 Add back the fact that we don't download the mmdb country if we don't blacklist or whitelist a country
ccd56d3b68 change antibot and misc template style
c949c02328 Update the security tuning's blacklist category according to the settings
671543e6e9 Add more ignored variables for missing setting name warning
dbd5739abd Fix wrong setting names under `Custom certificate` category
5f26ebc695 Fix php-cookie-flags example
bba26b5486 Reorder core plugins to stop having the warning at startup
db166c434b Add small fixes and lint to the error.html page
08f3d93ab5 Update jobs will now also check and save the cache in the db
63b1fb947a Fix CVE CVE-2023-1255
d5b11b8bb1 Merge pull request #440 from Hado-K3n/patch-3
92744c0913 Merge pull request #439 from Hado-K3n/patch-2
d46337f606 Merge pull request #438 from Hado-K3n/patch-1
9b52a5c3c5 clusterstore - various bug fixes
3f9d606e17 Update k8s.postgres.ui.yml
7e2f53c8c3 Update k8s.msql.ui.yml
1f5d8bfab4 Update k8s.mariadb.ui.yml
7a7d83a754 various fixes for redis/clusterstore - still WIP
a5e08e1c67 refactor of session management
0fdb108fe9 core - do not execute init() if BW is in loading state
00b50c1629 various fixes for core plugins
4ba5d66598 use ngx.ctx to store common values
860cc1a924 Merge branch 'dev' into ui
881d3a00d5 fix git issue on windows
76a2ff6563 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
28ef546a9a refactor - start to use ngx.ctx for per-request data
ed495b99ff Add CODE_OF_CONDUCT.md
0bd3e273b7 Update compression_level of sent tarfiles to 5 instead of 9
348ab7a1e2 Add feature that allow the copy of code blocks in markdown + Update copyright
cf2938bf2e Update web-ui docs according to the next major version
79a46e2cf6 Update the logic behind the check for linux os
9a325c7a9a Add new check for integrations in BunkerNet job
707256076a Add now the scheduler will pass his own env as well to jobs
9578ace026 Remove not used INTEGRATION file in BunkerWeb container
8c919c6768 Update links in the home page of the web UI
ad64ce22e9 Remove no longer needed packages that were fixing old CVEs
29cb6fe161 fix header phase and fix error template
d3d18e15a6 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
a83254bf20 fix wrong log in access
859343e185 Merge pull request #437 from bunkerity/dev
50829293c7 Merge branch 'ui' into dev
8e22b1f219 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
9849ce10ce fix wrong error check on phases and add missing ttl for *list cache items
3b5c083fc7 Soft merge branch "1.4" into "dev" + changing versions
4d95e32f18 update error page
1da4b78f0f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
915b51c3b9 fix error pages for default http server
535f1a0552 Merge pull request #436 from bunkerity/staging
0afe038aa5 WIP Ui
3b6c3815eb fix default-server-http.conf
b5fa473ae3 Merge branch 'refactor' into staging
2fddbd8627 refactor - disable asn checks for non global IPs, use resty.template with antibot and various fixes
8d63e39740 refactor - fix various errors and add missing dependencies
23725d4831 Update prod shields.io link in README.md
303f380c76 Update demo.gif file
3c375039e9 Optimization on the download of mmdb files
a7773dae2f Update intro-overview.svg
5eb884fe9a Fix bug when showing cache files for services in the UI
3fac889ff2 Remove no longer used modsec rules for the UI
c3106e70e3 Update README.md and edit the demo GIF + edit the .prettierignore file
928ed2d6ce refactoring and road to nginx 1.24.0
34ab94640f Update python image in Dockerfiles + Add gevent to requirements for the UI
aa96c8503f update css
649d29b056 change news base url
217d1aa502 enhance style + menu script
e6ff51e200 Refactoring and Linting of py files and json
666b7a1bac refactor - blacklist, errors, greylist, letsencrypt and redis
496edb83ac Adding thel documentation
ee83cea7ff Add ascii art showing randomly when starting
6d1914d62d Update python deps
648f15e42c Add new core plugin update-check
2075a5d4c2 refactor - badbehavior, blacklist, bunkernet, cache, cors, country and dnsbl
5dd52186ba Fully adding vagrant in the doc
3a03f07f19 Changing vagrant integration
64997bae8c Adding vagrant integration
03ec271e21 refactor - improve clusterstore interface and automatically retrieve variables for plugins
29c57915cb antibot inherit from plugin
840c295684 continue work on refactoring
1ec83f256d renamed session to sessions
8c29081577 save work
afc0ac1988 init work on refactoring
4cd3fc6447 Merge pull request #434 from syrk4web/staging
bfc872be27 change flash logic when login
049e9c1ea6 Update python deps
bf9b94ebf8 Avoid Autoconf from running in root
92e6984581 magento - fix docker example (again)
a771bdb187 magento - fix docker example
7c21b3da2a deps - update lua-resty-session to v4.0.3
d4fae4b57b session - add missing settings
a850442203 init work on redis session
986f506e7d add missing API_WHITELIST_IP in mattermost and moodle examples
41e8f5c937 fix wrong init of counter in badbehavior and fix nextcloud/docker example
8e72050625 ci/cd - reduce dynamic subdomains for k8s tests because of annotation size limit of 63 chars
1bc42204d9 ci/cd - use dynamic random subdomains to bypass LE rate limit
a1e44f6e4b Merge pull request #431 from gin-gitaxias/staging
7ccd3ef926 fix moodle/swarm example and disable reverse-proxy-websocket test
8b54073a7e fix missing backslashes in autoconf custom configs and add missing full reload after custom configs update
622f2eb2ac autoconf - check if service exists before adding config
5d14813be4 fix typos after basic testing
9f70605643 autoconf - add missing import and fix double lock release
937cd10eeb refactoring and various improvements
6af3b985a0 fix deadlock in autoconf/swarm and fix missing favicon in default and loading pages
f6ed21b3b7 autoconf - fix global custom configs not supported in k8s/swarm mode
eee03c4ae1 autoconf - fix variable typo in k8s watch
ecf4e77b32 autoconf - fix deadlock in watch loop
0b71819d22 watch services for autoconf/k8s and support real IP in default http server
d3d0136bf5 various redis fixes and improvements
e80965ca9a lua - fix wrong variable name in access
220374db4b ci/cd - fix syntax error in jobs
9b8606d40e fix redis hostname for k8s files and only append tasks with a desired state of running for autoconf/swarm
c843be074c reverse proxy - allow all chars for URL settings
6a65104e7f fix return value of clusterstore.connect and disable auth basic for LE challenges
b429201ecc add missing LUA import for clusterstore and fix prestashop docker example
a9ce32c262 added a more precise scan response and modified .json like asked
f4442b6428 ci/cd - fix syntax error in k8s test class
1c3c0d63b7 ci/cd - fix missing k8s create infra job
e8c6d04aa6 ci/cd - various fixes for k8s tests
1caa9a1e7d adding reverse-scan
5d41a5b985 Merge pull request #1 from gin-gitaxias/reverse-scan
77fb8c420b Add files via upload
1bb79b155b linux - add geoip deps to rhel rpm
cf86446020 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
ea1394b044 ci/cd - add linux/rhel tests, fix docker/behind-reverse-proxy, fix missing stream module for linux/fedora and remove placement constraints for swarm
87bd26da0d Add threatmap to README
b3eb647459 ci/cd - temp disable autoconf tests and add missing packages for linux/centos
202f21aab8 fix syntax error in ApiCaller
55a36f7190 fix docker/joomla, fix autoconf/nextcloud and fix API calls for swarm tasks
1c3f094cd9 ci/cd - fix wrong yaml edit for swarm and append LE settings for k8s
f07c0e66a3 ci/cd - various fixes
e8ee460efc fix CVE-2023-0464 and CVE-2023-0465
dd2c8cbcd1 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
2d11a1c728 fix nextcloud modsec rule id, fix k8s pvc definition and remove useless logs from linux/start.sh
4f334a577a Add sleep between BunkerNet registering and ping to the API to avoid being rate limited
283828e8f7 Fix Now support WebDAV methods in the ALLOWED_METHODS setting's regex
e50c92250b various fixes
b8b50b165c Remove check for messages after creating the service - tests-UI
e88406b5d2 Fix ui tests with the new UI
922b32b2ee Merge pull request #429 from syrk4web/staging
671db37f73 fix autoconf/cors, fix docker/wordpress, fix wrong image name for k8s/scheduler and upgrade tests instances for swarm/k8s
be71b0781d format logs instance to avoid error
9e1876fea0 logs fix + checkbox fix
4d245f9fef change cache/download to jobs/download
6d16a766fe fix service delete + change style
5e598e90c9 fix bw-data volume not reused between docker tests, fix wrong bw-data volume path for autoconf tests, add let's encrypt to autoconf tests and fix temp env not generated for linux
dc8b7dbe7e fix form input
bf22faddc6 remove php-cookie-flags from tests, use HTTP(S)_PORT for temp nginx on linux and fix wrong volume path for autoconf tests
6c6845a794 enhance some responsive + change api
461789aed6 ci/cd - fix BW CVEs and fix Linux restart
318228e592 change and fix service logic
fa7c7ac91f ci/cd - add www volumes for autoconf
f88eced330 Handle services settings sent to the UI better
357dc3e3a4 Merge pull request #428 from syrk4web/staging
283306a07a Remove CVEs fix, it's no longer needed for now
276a96c55d Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
19870f154c various fixes for linux and get ui tests exit code from container
2485a47b20 Update python deps
bd88f9743b fix id rename error
82d8180d8e Merge branch 'staging' of https://github.com/syrk4web/bunkerweb into staging
41f43c46dc fix multiple
0f632803ff Merge branch 'staging' of https://github.com/syrk4web/bunkerweb into staging
53f480a66e enhance multiple logic + fix conflict
1cf4a5665d disable healthy checks for docker-poryx and dummy app in ui tests, add --no-reload-linux flag to generator and fix missing self arg in autoconf
041142a4f3 add healthchecks to ui and autoconf docker images
4f9748cc2e earlier init autoconf in DB, healthcheck for scheduler and fix syntax error in linux/start.sh
54813ecd4d Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
d97b5e1047 various fixes
8031c5060f Start handling disabled checkboxes + multiples
58ab870b2d increase cors/k8s/swarms timeout and fix tests/ui container names
cceda705b5 update flash count on remove
e91f3dc226 Add a log when database is ready in UI + Small refactor of the Configurator
1e9a55c240 Add small tweaks to the UI and scheduler Dockerfiles
7dc26dafae Fix disabled checkboxes no longer always have the value no with the UI
7dc25b3a52 fix redmine/docker example, remove double AUTOCONF_MODE in integrations, remove useless backslash in start.sh/linux, rename container for ui/tests
55d24a8d14 Change mmdb-country job to download the file only if needed
9e009f7bee Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
73b640bd3b fix cors/docker example, add missing AUTOCONF_MODE=yes to integrations YMLs, proper save_config for Linux and fix image name for UI tests
87bccaad6f Add `AUTOCONF_MODE` setting to scheduler in integrations examples
d331131c09 increase timeout for php-multisite, add API_LISTEN_IP setting, edit default variables.env for Linux and add more logs for tests
578a1a8c8b Add more precise logs in the jobs plugins
cb808c0ad1 Fix bunkernet-ip.list file not being created in case of an error (same as 1.4)
c8d39ba6b5 Fix scheduler no longer running as root + Fix permission errors with downloaded plugins
4a67a5f56e Merge pull request #426 from syrk4web/staging
4dea680acc enhance style + some fix
d810882720 Change the category if the user needs to log in in the UI
e003b751dd Fix when saving plugins with pages
b829e4edf1 Fix false positive error with plugin page in web UI
fc3ef33466 Add UI logs into console
ce85bc6b8f Fix openssl no longer prints progression in the console
2e144bf46e Merge pull request #424 from syrk4web/staging
defb2c3336 Change the way the error page is rendered
2ae37ce8d8 Fix regex for ANTIBOT_HCAPTCHA_SITEKEY setting
f335364fc6 Lint antibot.lua
16842fef10 Fix errors with missing % symbol + fix errors because of the symbol
5f5a5a8905 Fix css in antibot html files
ccde5c74f1 fix real ip jobs
d3402ff3ff change loading, error and test files
a02218bc83 end examples refactoring
5845446b9f Revert "Fix errors regex, authorize same path for multiple errors"
be0df41609 Fix errors regex, authorize same path for multiple errors
89812362a1 continue examples refactoring
5d214497ba Fix don't try to add an instance when saving the configuration with the UI
808b7b2206 Update jobs connect to the database only when needed
aa0eff7491 Fix regex in redis plugin that was breaking the UI + fix ui.conf missing comma + remove unused variables in templates
1ac434a5bc Update python deps
9c22f1e971 Refactor the py files
cfe5c6063a examples refactoring
e37e6c3460 Fix mixup of swarm and kubernetes when reading env variables + refactoring
0356250d9d Fix problem with the bunkerweb container and plugins
548d157fe3 Fix check if the Database is on read-only before trying to write
7c5aa48978 Update version string size to support new format
61b9517a87 Fix error when multiple jobs are trying to write in db at the same time
8c67d08aee Lint code
966f57ceaa init work on examples refactoring
0210ddd886 Add realip settings values to the initial BunkerWeb settings
6f29756dd7 ci/cd - pull only interesting images for UI tests
2b1dbb1d46 fix default cert path again and ignore pull errors for UI tests
74a11c2ed8 fix wrong cert/key path for default server
b3769b6e3f fix missing then in blacklist.lua, disable site search in redis.init(), remove counter from reverse-proxy/stream config and fix ui tests compose pull
c7d8b7dc18 update resty core and http lua to support latest version of stream lua and various fixes related to ci/cd
a62ef9f543 add missing init-stream-lua.conf and various fixes for ci/cd
65611020d8 fix duplicate datastore http/stream, fix missing /var/www/html for linux and various fixes in tests
b28668d68a ci/cd - revert back to old condition for pulling images
706305917a ci/cd - fix wrong autoconf local image name, add missing secrets for tests-ui, fix wrong IMAGE_TAG for tests-k8s and try to fix pcre issue on linux
2d440d26e1 ci/cd - add missing runs-on for reusable tests-ui
93945f391f ci/cd - add ui tests
5e31b6c4ae fix CVE-2022-1304 for autoconf, add missing load_module for ngx_stream_lua_module.so and fix missing -lpcre in configure step
01fab41620 ci/cd - fix CVE-2022-1304 and wrong TEST_DOMAINS
aa614b75ad ci/cd - replace Test.py with latest one, fix yaml paths, print logs when k8s stack is not healthy and fix wrong linux docker image name
88a2955173 ci/cd - fix log() call
b95d1bc6d5 ci/cd - add missing log() and fix TYPE for linux tests
2604d9a563 ci/cd - trying a hack to support dynamic runs-on
ed4d945293 ci/cd - trying to fix runs-on problem
53410e831b ci/cd - remove steps
609210021d ci/cd - inherit secrets for tests workflow
a168f2bceb ci/cd - fix rhel build and runs-on for tests
8bf211bc53 ci/cd - fix linux package generation (again)
9250faa524 ci/cd - fix linux package generation
139eaa2dd1 ci/cd - add missing scripts
7149a34cc5 ci/cd - add empty .trivyignore and rename redhat to rhel
5c5dbcfc72 ci/cd - fix type in push-packagecloud workflow
e826c619f8 ci/cd - fix wrong quotes in delete-infra workflow
b24cbf73da ci/cd - fix wrong quotes in tests workflow
99e27c4300 ci/cd - add missing input in tests workflow
ee0e608de7 ci/cd - fix negative conditions
10f9658f56 ci/cd - fix wrong jobs name in needs
27bac0382f ci/cd - trying to fix dynamic runs-on
97627cf836 ci/cd - pass runs-on to reusable workflows
8969b1e726 ci/cd - remove version from reusable workflows
8ca292fb36 ci/cd - change reusable workflow paths
8e73eb87cf ci/cd - fix syntax errors
46e3078dd9 ci/cd - crash test incoming
95c5e2e47f ci/cd - move dynamic runs-on from reusable to staging workflow
131857a9b3 ci/cd - fix wrong indent in staging/delete-infra-*
fc1cab1af4 ci/cd - remove subfolder and continue work on staging
25729fda74 ci/cd - init work
bb2d868fa9 Refactor tests
5e3dadbfe3 Refactor ui
7fe168892c Refactor scheduler
36b5c372ed Refactor Instance and remove unused method
596258559c Accept incoming changes for misc jobs
c5a10aaa3c merge default-server-cert job
06acae4057 rename *CUSTOM_HTTPS* to *CUSTOM_SSL* and continue work on stream support
6bf59b59a2 Refactor the plugins jobs
7a8a75901f Fix multiple CVEs (see comment) (finally)
10ec01e7b0 Fix wrong env var name in realip plugin
947ecf81f1 stream - add is_stream variable to check if we are in stream or http mode
4f4c8ebf08 init work on stream support
79036e9751 add ngx_devel_kit and lua-resty-env deps, support set_by_lua hook for plugins and init work on whitelisting support with modsecurity
c2402b118f fix duplicate root error when bw is starting, add modesec rule to core ui and init work on k8s/swarm integration files
dbd052e9a8 Remove unnecessary import and use parent list of supported custom conf instead
fb917960bc Revert changes on the custom conf regex for the autoconf
26de0a233a Lint files
0faa34ac7b Add a regex to the setting REDIS_HOST
1d9459202d misc - add missing page.conf
1b113236a0 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
29b3731487 misc - default pages for default server
6cb714be03 Start adding integrations examples
99b85ec8a9 Fix Apicaller error with swarm
37114ee2f6 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
902fe6ad07 bw - init work on redis
7bf034fc9f Fix being able to delete autoconf services from UI (shouldn't be)
916caf2d6a Merge (soft) 1.4 branch into dev branch
f8e31f2878 Update mattermost to use a static image
0f35c05eee Ignore multiple CVEs due to missing deps in python:3.11-alpine
846e26e410 Fix multiple CVEs (again)
ebc7fbbcee Fix multiple CVEs (see comment)
f4081ebd3b Handle more errors with Bunkernet job
3b01b51445 Upgrade the way the jobs run_once are executed
8fa94d6a52 Edit DockerController regex to handle more custom confs and fix modsec conf mixing
c92d4224f2 Update python deps + add cryptography for autoconf and MySQL
5799758993 Fix checkbox not being sent when unchecked + double settings tab in UI
9358057211 Fix CVE CVE-2023-22490 and CVE-2023-23946
c671ccf7a2 Add unauthorized_handler to UI
5ac64758e3 Merge pull request #417 from syrk4web/dev
fdd0da35d5 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
34d12cd552 Fix file manager always use the database now + create log file for UI if not exists
47ccd9f047 Log events back in the UI
39b0f3f195 fix + show one mult group
7828c0225a add checkbox fallback + DL script
e425eef9a5 Fix weird shinanigans when saving services config
b75bc0344b Adjusting upgrade on file variables.env
79dabf7638 Change the way bunkernet check on which instance type it is
3f462fb3b3 Optimize logger
84f3a894fe Fix cache files not showing on UI
93933bde72 Fix custom conf MODSEC CRS being interpreted as MODSEC only
c22bccc763 Correcting nginx version for debian installation
8bedc9ce67 Correcting doc
3a60b34638 Modifying doc for packagecloud problem
9efa217090 Correcting fedora packagecloud problem
e3410058fb Correcting Ubuntu/Debian
60ac00f5fb fix inp value
6b13fbb844 change svg
c892050162 Adding Rhel integration
cb77a70106 change logs datepicker
8b0d8a9d3d remove log + fix service tab
facb597ee6 fix float buttons
89930f1a34 Remove encoding from Database engine args
6122d59d82 Update python deps
d3a02be59b Rhel cannot be supported yet
a51aa27e47 Add some checks and solutions to rare syntax error
ae8e65057b Fedora upgrade working Correcting backup during upgrade Database backuped TroubleShooting some errors with OS Centos working
77f41a0591 Backuping old confs working
8fcba30ab0 Upgrade Debian/Ubuntu working
2e9a0c79e6 fix select hover style
64961e3955 Remove unused imports
b662d8453b Update python deps and remove oracledb
e9d981a56e Fix checkbox being disabled every time
39418790a7 fix popover content
3d96fdb344 update dashboard
580f33e56c new file el is hidden on nav
4f6244e749 Lint code
1f20767565 Update Python deps
dcf9e301e4 Fix UI not exiting correctly with gunicorn
f1a28b01b7 Merge pull request #408 from syrk4web/dev
5739144e3d Fix bwcli /bans command
df7bbb9606 Update VERSION to 1.5.0
dd0f56bb0c Add password type for settings
d83d3aa3d9 Fedora working Modifying centos systemd Adding %postun to rpm Modifying postun deb Centos working
b85e6ee6b8 Updating to Fedora 37
ca0d88fcc7 Upgrading script: Ubuntu & Debian working
835f85d5d8 enhance input field style
c4b5ddb950 Add setting to intercept specifics error codes
86c81a6218 Merge pull request #407 from syrk4web/dev
e6cb5b0b09 Made the UI independent + update job download plugins
0ce5f216de handle password inp
44ce5381c2 Fix CVEs
12b4cfa226 Merge pull request #406 from syrk4web/dev
d7ee3ad667 fix file manager dropdown
efbcfd0e2c Beginning of automation testing for linux packages
50b83790a5 Merge pull request #405 from syrk4web/dev
bf1d19f33d remove prefix multiple input
4d49f2f4b6 Improving and correcting problems on packages
f5d87849a9 Fix errors in the UI when a service have multiple domains
d6d1dd1cef Merge pull request #403 from syrk4web/dev
0f5a734300 add condition for services
a5256dd80d Fix IPv4/Ipv6 CIDR regex
591a20cd86 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
c56fccbf20 Adjustements to upgrade
a3a5c1c740 Add ui tests requirements to the updated python deps
b1c99e4088 Add tests for the UI
65f2bf09b4 Remove the idea to store logs inside the database
7beb400b47 Fix stop gathering all the logs every time with the auto update
ab163ce134 Fix services settings saves and plugins deletion
6932f3dedb Add a new script to update python deps and update python deps
d143720750 Fix tar error when sending /etc/nginx to BW
9edf789ab8 Update python deps
4b3b9b3268 Merge pull request #397 from syrk4web/dev
557db479c9 refactorise logs script
13f1dadf5f Merge pull request #396 from syrk4web/dev
adf96cadc5 remove useless files
d2a634e7f7 plugins + global_config fix
1aaac2dcf3 Add regex for settings.json
871807b809 Add small fixes and tweaks
4c5172eda6 Correction of problems
331d58324e Fixing details
e9c1b0cf8c Adjusting some details
c220e5997c Linux UI fix
13fbbfb67e Update job database while locking the threads
ea4ceae7b3 Fix isPage logic in menu (UI)
8ee0ec88f9 Remove test files in UI
d81c526540 Lint ui files and change .prettierignore file
5cc80d2ba8 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
a6295248c8 Merge pull request #394 from syrk4web/dev
38b59954a3 Lint yml files
146338de63 Refactor every .py file
fcd8d8746a open another tab for doc
051192791f change style
9c80cdb321 add plugin page logic to menu
7689dac76d Filter CVEs fixes in Dockerfiles
0c8dfaaab1 Update bw and autoconf Dockerfiles for let's encrypt
c5d3e77c17 Fix letsencrypt permission error and optimize the ownership commands in scheduler
8304116fdd Send more variables to the home page front
4379e21ea5 Show dirs of every services even if they don't have a custom config
148d9d2d4d Remove user override in the job scheduler when executing jobs
c6498eda7e Add new php-cookie-flags example
f97e056ff2 Update jobs
13fe4b6eef Edit core plugins regex + make COOKIE_FLAGS multiple + edit DB model accordingly
2b2eadf441 Merge pull request #392 from syrk4web/dev
342fe956f7 change data creating new service
bb7ca889ce enhance darkmode + fix + factorisation
cdc3cfc81d add toggle multiples + style
191c88238c Merge pull request #388 from syrk4web/dev
dbe49bb8f4 Update intro image
7bdc46057b Change how the edit works in the config (UI)
364ef13b52 Fix error by calling a method on the wrong variable
1142ace55a Fix rare error with the jobs return code
477e87a2f4 news script + multiples groups
a04f983a09 Merge pull request #385 from syrk4web/dev
e5574fbdc6 change flash messages style
b1ca472537 Small tweaks and handle services variables better
98bda4d1e6 Remove unused line in Templator
0b1be727f5 Optimized the storage in the Database
47526dc8a0 Merge pull request #384 from syrk4web/dev
00d3073b08 get custom method and check disabled state
02d10f619a Fix datepicker.js not being found because of the caps
da634af4a3 Accelerate send_files method
be0ee60cdd handle stop signals with the web-ui
064f9eef94 Remove lines that will never be use in save_config
ec15a4e88a Handle stop signals from Docker in the scheduler
c49f50da2a Move BunkerWeb entrypoint to the correct dir
48bbb5e39b Merge pull request #382 from syrk4web/dev
b944de9e88 change service multiple script
07ab3deb03 Remove unused lines in selfsigned job
a4e863f09c Update authentik and migrate the example to the 1.5
eeb810546a Migrate authelia example to the 1.5
e2b2505d83 Fix saving config for multiple settings
a0c2db7a09 Fix how the config is get from the database
4595295bd8 fix tab focus style + dark mode style
0bd6d56551 add flash script to login + enhance style
6f5aab11d4 fix footer padding
37380b977e fix get multiple settings only
3f6432f4b7 Merge pull request #381 from TheophileDiot/dev
ff84656cd6 Update examples + add static versions
0e29d9f1f7 enhance and fix
c195ffc864 Fix autoconf not working properly with the shared volume
291d64e29d Update community example + linting
4346322f74 fix services settings on modal open
f2daf7368e Merge pull request #380 from TheophileDiot/dev
ba9c16a5d7 Merge branch 'dev' into dev
0db1550f2f Changed the way jobs' cache files are downloaded
fa54ebd491 Made a few tweaks + change the plugins for the services modals
0290f509e0 add plugin_name (change values)
77931b623f add plugin_name
6560ca0869 test
0d0f1aa95d Merge pull request #378 from TheophileDiot/dev
03e98985ea Migrate more examples and lint
016a8cd6d7 changes
5263be27d5 Change the way jobs are downloaded + folder created in configs
7813b51db4 Merge pull request #377 from TheophileDiot/dev
c4bd535acc Add autogen back for docker and the autoconf
243c4ca78d Merge pull request #376 from TheophileDiot/dev
e9687a5b13 Remove unnecessary comments
8537eea89d Merge pull request #375 from TheophileDiot/dev
3c9574dae7 Linux: Updating nginx to 1.22
9f84e02d8e refactoring services modal logic
b105896b28 add rename form
ff83b342de fix issues
8e31672ac5 Merge pull request #374 from TheophileDiot/dev
b3d80d7a66 Generate requirements with python3.9 + use new resolver
6bbbe70eea Merge pull request #373 from TheophileDiot/dev
e33bad4b9a Fix comments + updated passbolt to support the 1.5
37f21c5d41 Temporarily comment the post fetching
343d9d09e8 Show plugin pages even if there are none
0a4f0eb57d Fix error with jobs wrapper
1d4998356d Fix darkmode + Add new variables to pass to the front
547021e7b0 Fix job fetching for never ran jobs
0954e82f48 Fixes some bugs in the UI related to the plugins
3c5f6002d6 filter script + manage files + fix css + enhance
e988aacf38 Merge pull request #371 from TheophileDiot/dev
cce181a295 Update customcert job
9ba06b64d5 Update README
7f2eadacc9 Update python version for the scheduler and requirements
8d6c3d0b85 Fix db get_config
cc748a0480 enhance responsive + add loader
3bafe137d2 refactorisation
e9dfb59f31 handle settings type multiple (fetch, add, remove) on services
8e5dda5209 Changed the way the config is get from db
368122181a start multiple add and delete logic
fee59a51e9 separate multiple from others inputs
50ba229146 upload plugins + jobs template + global enhance
94b0e6a0d5 Changes on the flashed messages
2e0a733cdc Merge pull request #370 from TheophileDiot/dev
103e4a0ae9 Update modsec CRS to v3.3.4
f0f9d7dcf3 Merge pull request #369 from TheophileDiot/dev
4dabe6dae6 Advancements in the examples migration to 1.5
115bfbdc13 Merge pull request #368 from TheophileDiot/dev
81ad9e9ac0 Update examples and add docker-proxy
82ab6c7c43 Revert "Remove unsafe deps in the requirements and install setuptools manually"
b578823a19 Remove unsafe deps in the requirements and install setuptools manually
7fb61b5ef1 No longer dump the jobs to the front
37ece3de10 Merge pull request #367 from TheophileDiot/dev
719d779e01 Start updating the examples to the 1.5
2889b2638f Merge pull request #366 from TheophileDiot/dev
3c3bb7f200 Fix the way we fetch the config from the database (with suffixes)
f0d0dac914 Add the variables back instead of the "_" so it doesn't create an error
62ab9944cc Fix scheduler errors with sqlite in autoconf
7391900513 Make the bunkernet not run in a thread to avoid errors
840ef8cf89 Fix typo in selfsigned job
5a95e67030 Edit the way the UI updates the config
34b5aba1cb Merge pull request #364 from TheophileDiot/dev
b7f60dbdc7 Update deps and requirements
a0634b5736 Merge pull request #363 from TheophileDiot/dev
c0efdf9c00 Replace /usr/sbin/nginx with nginx
db35e575e3 Rename variables so they make more sens
b22cc44d82 Change the way jobs are sent from the database
4e96e57e05 Make certbot compatible with 1.5
aaeda53002 Change the jobs logic + add support for arm
6577229226 enhance templates
844b06e286 Fix how the jobs are sent to the front
3a0727b5cd login template done
0f5756cfb4 enhance logs + prepare jinja variables
08e7c2104b plugins done + add name to settings
6b5d6e07ee Revert changes on the check_settings function
3ccc12d789 add dropdown + responsive
3ed3fbe991 Autotonf now update the instances too
e56f96d04b Update database model + Save instances to database + add the option to add logs into the database
c87c3637db start plugins template
3a5d14952d Made few tweaks with the home page + remove useless functions
55e76b2803 Fix path for dropzone's scripts
64d261acc0 Change the way logs are parsed
f13455d11b send timestamp with ms
7aac0c352e fix ms
fb2e41c11e logs params
2967ed98cd fix fetch
4f9b2120e0 test
f1e614fae6 change ternary operator for fetch
fa5719db7f fetch logs + liveUpdate filter
2a2f2f1e9b Fix scheduler error
2087167228 Merge pull request #361 from TheophileDiot/dev
fa98003f22 Thread the jobs run_once
89e8839bbb Optimize the regex for the core lists
51c5836ae1 change logs script/template + continue jobs
f61b4428b5 Merge pull request #360 from TheophileDiot/1.5
a96771881e Change the logs date format + start editing the logs endpoint
d30adf6709 Changing rhel
bf19cfe3db Migrating Linux to 1.5. Still some details to adjust to be perfect
0cd6ed1af2 When downloading new plugins, update the database properly + update job every time now
8f75af3d60 edit the .dockerignore
4f4beeef99 Create the database variable even when passing the variables, just in case
7347fe9bc8 update jobs only once
b509ce16e3 Copy the files after installing the requirements
64601ebf58 Remove useless warnings
c9238f9930 Merge custom configs generation to avoid repetition
192c6755c3 Update db for the jobs that are ran only once
c14765c6c6 Change the way jobs are sent and how we update external plugins
888bedd510 Change how jobs are send from the database
babb1c72cd Revert "indentation"
44c74f9be4 Revert "indentation"
984b6c5f05 ci/cd - speedup codeql by ignoring some folders not containing python files
355c947a4a start jobs template + enhance menu
272de0b8be ci/cd - fix codeql config path
d9fc713c4d ci/cd - move codeql config to file
c2503d63d3 ci/cd - add codeql
b098478bdd enhance service + darkmode script
fa1739439d ci/cd - init work on dependabot
82df3f17f7 ci/cd - init work
f02adf3001 indentation
c1031cb2c6 indentation
e8581ecb48 enhance news/menu/base + logs scripts
eb99d00daa Revert "enhance news, menu + end logs scripts"
a7d3d04522 enhance news, menu + end logs scripts
c7556a39af Merge pull request #358 from TheophileDiot/1.5
e02e9c9ec5 Edit how plugins work with the UI
f1d7add739 Merge pull request #357 from TheophileDiot/1.5
1252d1651e Add the jobs feature and add the link when using sqlite
2154c7f544 Update database default DATABASE_URI
7957f63b80 Merge pull request #356 from TheophileDiot/1.5
73668b476f Optimize plugin gathering
b3cfc1f01c Remove unnecessary lines and add plugins_errors endpoint
b57e50db2d Send needed settings with the services in ui
a0e66ab30e Change Database default path for the sqlite file
fdd393826f add ui work in progress
6b9a6a7e3f Merge branch '1.5' of https://github.com/TheophileDiot/bunkerweb into 1.5
277e37bce4 Revert "add ui"
05d4b77bbd Merge branch '1.5' of https://github.com/TheophileDiot/bunkerweb into 1.5
e7e43e64dd Add dark_mode to ui
d40a93cb72 Revert "add ui"
d102f027f2 add ui
b70d976719 add ui
7db7aee7c2 Merge pull request #355 from TheophileDiot/1.5
70844ca604 Fix database with autoconf
1a7d8978b1 Merge pull request #353 from TheophileDiot/1.5
93c74154ab fix fedora python deps bug
f2eabc0df6 fix centos python dep bug
d199f124b8 remove exits in ingress controller
3ec15eb4b0 Update the docs from dev
5a8f812560 Merge branch 'dev' (softly)
d214352b7b Merge pull request #352 from TheophileDiot/1.5
891757dab5 Add support for arm + change scheduler python version
8dd377562f Merge pull request #351 from TheophileDiot/1.5
630cf8b885 Change the way services are sent to the UI
b0c09b4def Merge pull request #350 from TheophileDiot/1.5
fa655e6f06 Remove no longer used install.sh and uninstall.sh
c8fbcbeaea Merge pull request #349 from TheophileDiot/1.5
32101c3dc7 Move UI deps, Make the DB compatible with PostgreSQL, MySQL and Oracle
035eed8f6c ui - add custom PYTHONPATH in Dockerfile
2a3e24bd28 Merge pull request #348 from TheophileDiot/1.5
3984c4b0da Separate deps and change prettierignore file and pyproject
47afdc88e1 Merge pull request #347 from TheophileDiot/1.5
01bb6f5e65 Stop converting the files content to base64 when sending them to front
c358747973 Return dumps of settings instead of the dict
a8f27ccb1c Merge pull request #346 from TheophileDiot/1.5
edce79936a Update the structure and the paths
04578aab3f Changing path Linux folder
5ae714fc70 Merge pull request #344 from TheophileDiot/1.5
f65a4cdd65 SMall tweaks on the UI + edit the ConfigFiles edits
06aa73fcfe Merge pull request #343 from TheophileDiot/1.5
0811aad7f5 Edit scheduler and change DB
858f6e00f4 Change python version
b279d02403 Fix BunkerWeb gen on start
ef7fa5b4f5 Merge pull request #342 from TheophileDiot/1.5
11bcd98243 Merge branch '1.5' into 1.5
bacef768c7 Add integration manually in bunkerweb
5ec179affd The UI get the custom configs from the database
0e6a5f3f96 Merge pull request #341 from TheophileDiot/1.5
eec00ba2bf Update the Database and make it easier to gen
479b556fb5 Merge pull request #340 from TheophileDiot/1.5
375776e7de Fix UI path_to_dict with the cache files
df62fd410b Merge pull request #339 from TheophileDiot/1.5
1f58d0c517 Edit dockerfiles
6c07f99674 Merge pull request #338 from TheophileDiot/1.5
069b45f37b Add some tweaks
850530cd0e Merge pull request #337 from TheophileDiot/1.5
01b4145524 Make the Database support every feature + updates
a12d013fc3 Merge pull request #334 from TheophileDiot/1.5
5f8353c114 Adapt everything so that the UI can work with every integration (some more tests are needed)
fe89625921 Merge pull request #333 from TheophileDiot/1.5
66fb266f8e Centralize Database and optimize requests
7a03ed33f1 Update pip in Dockerfiles every time
b09c05d3ba Update BunkerWeb deps
9c02d5f9e7 Merge pull request #330 from TheophileDiot/1.5
7d743e1981 Update the database and the core plugins accordingly
ce6f01cf03 Merge pull request #329 from TheophileDiot/1.5
9140dc3244 Optimize Database connection and ApiCaller
81307c82c2 Merge pull request #328 from TheophileDiot/1.5
0edef7c520 Use Python 3.11 where we can
fe774e0009 temp nginx is dead, long live to the IS_LOADING setting
0bf402fd7a Merge pull request #327 from TheophileDiot/1.5
48242b9a3c Get all config with generator
0b73ea856c Merge pull request #326 from TheophileDiot/1.5
09378458dd db.get_config() get entire config and doesn't filter anymore
1008490234 Merge pull request #325 from TheophileDiot/1.5
8b54762fc3 Fix db init with autoconf
cfaeb10133 Merge pull request #324 from TheophileDiot/1.5
7e53bfe553 Fix gen for Docker integration
54530d535d Merge pull request #323 from TheophileDiot/1.5
79eea0e998 Linting + starting to migrate bunkerweb to the 1.5
316b84ad3f Merge pull request #318 from TheophileDiot/Feature-specific-order-for-plugins
ba56c9f55c Merge pull request #317 from TheophileDiot/Fix-scheduler-error-reload-nginx-linux
a8f79e58f3 Merge pull request #303 from TheophileDiot/Fix-custom-conf-disappearing
b2a7e053bb Merge pull request #314 from TheophileDiot/Feature-blacklist-ignore
96e6562732 fix indent
01cecf14e5 Merge pull request #313 from TheophileDiot/Feature-max-client-size-edit-modsec
873ccad9b2 Add MODSECURITY_SEC_RULE_ENGINE and MODSECURITY_SEC_AUDIT_LOG_PARTS (#292)
97bf473e1a deps - add update checker for deps (#293)
5af2fb7783 Complex example using autoconf (#271)
bd4c94e834 Add specific order for core plugins and check them
a96a8a8c2f Fix incorrect message while reloading nginx + more details on error
446ff93a49 Add ignore blacklist feature
5fdcc9e583 add g/G to the available file measurement units
d207aa4bf5 Variable MAX_CLIENT_SIZE change the SecRequestBodyLimit value
57ad9d7ee0 Fix old custom configs where never deleted
7860aeab94 Merge pull request #312 from TheophileDiot/dev
cac220023e Fix small typo in autoconf integration
5d9dc88cc5 Merge pull request #307 from TheophileDiot/Restrict-access-IP-NET
40863f28a5 Merge branch 'dev' into Restrict-access-IP-NET
67d514b53b Merge branch 'master' into dev
51e96416d9 Merge pull request #304 from TheophileDiot/Fix-Endless-loading-after-update-service
ace1dfca25 Merge pull request #308 from TheophileDiot/Fix-doc
b9e5badd94 Fix last typos
a9865f8502 Fix typo in plugins.md
e3d0120a0c Fix minor typos in the doc
9214bb9392 Merge pull request #309 from TheophileDiot/Fix-flask-dev
80c1b225bd Replace flask development server with gunicorn
de0954fac3 Fix typos in the docs
27b4ff330c Add the greylisting feature
06f65ffe27 Change the exposed port to 7000
b0a887a155 Fix errors and warnings when editing a service
803ff8cb56 Fix CUSTOM_CONF_SERVER_HTTP disappearing after 60 minutes (autoconf)
94ce249d74 [#290] Fix typos in docs
478e980189 ci/cd - temp disable k8s test
8f44e108bb ci/cd - add docker system prune
72caf907a0 ci/cd - temp disable swarm tests
01acb1cf30 ci/cd - temp disable nextcloud/swarm
fc3c7892da ci/cd - add missing prepare for prod tests
2a04a56428 ci/cd - update ruby version for CentOS builder
6afdb298fa lua - fix pcall for asn/country mmdb lookup
04019a617a tests - fix nextcloud/swarm
34649bf33a docs - add Ansible to README
469a5343ec ci/cd - remove old linux packages before building
4244399eb1 road to v1.4.3 🚀
66029a316c tests - edit prod workflow
d0c245ba83 tests - fix bug when testing if a swarm stack is healthy
5633d5ff5f tests - remove mongo-express/swarm
61d57b4ebb tests - fix mongo-express/swarm
76f035e21d fix wrong DENY_HTTP_STATUS setting in docs, fix autoconf ghost/prestashop tests and some UI warns/errors
b35dbdffc0 tests - fix ghost/docker
7e226301d4 tests - fix prestashop/docker
8f273a929d ci/cd - fix missing comment chars
45f4e06ace road to v1.4.3
7fe58ddd57 tests - disable systemd start limit
561e64a890 tests - road to debian
29933fdebb tests - add unzip package to linux container
7915da6dfb docker - fix CVE-2022-3209
d8f6c27560 tests - fix configs perms for linux
cb56e7d04a tests - add chown for custom linux configs
e847343143 tests - fix linux/drupal (again)
4caae414d5 tests - fix linux/drupal
8a23b96bf5 tests - disable linux/moodle
a4fd701d5d tests - temp disable linux/proxy-protocol
39ed524f02 tests - add missing variables.env for moodle/linux
d0e3f3ae26 tests - call cleanup-linux.sh
b0fa57b056 tests - replace restart with stop+start for linux tests
ec11360853 tests - print logs when setup_test fails
3be348ebe8 tests - add haproxy cleanup for linux tests
884ca0f6d0 tests - add missing variables.env files for linux
e4321629f1 tests - road to linux tests 🚀
c277a33e9c tests - add missing which command for fedora
512c60c519 tests - add some debug info when linux/setup fail
e64cc29a8c tests - create /run/php folder for rpm linux distros
42d29743b3 linux - fix 755 perm on /opt/bunkerweb
505d5c2ae4 tests - fix behind-reverse-proxy/linux
70992a0b50 tests - fix haproxy logging again
7e5465c595 tests - fix haproxy logging again
f5606b6933 tests - fix haproxy directive
265742cd94 tests - haproxy add logs
0580662cc8 linux - copy current variables.env to make temp one
8e15e2a400 linux - set /opt/bunkerweb permissions to 755
17801caebd temp disable arm
552588adf1 temp disable arm
5849c66e66 tests - fix www.conf
052dc23466 tests - increase php logs verbosity for linux tests
331c7e9545 tests - add debug log file for PHP
f71ad0f656 php - fix fastcgi_params path
34c648830b trying to fix PHP bug in Linux
5c99a4b0e2 refactor linux/start.sh and fix tests/cors www copy
eb6f0d6737 tests - fix purging wrong folder for linux tests
6ea38b1f77 bunkernet - fix wrong import in register job
b5c07dda01 tests - add cleanup for linux tests
17b6b0fdc8 tests - fix PHP www.conf for Linux
512ed7200d tests - add cors/linux
d8071e4c43 tests - install php-fpm
790fa37aeb tests - fix behind-reverse-proxy/linux
6005a8f73b tests - fix behind-reverse-proxy/linux again and again
09f56a1c6e tests - fix behind-reverse-proxy/linux again
0c4d2edf12 tests - fix behind-reverse-proxy/linux
d53c54d4b8 tests - add behind-reverse-proxy/linux
093d426bc9 better management of registration with BunkerNet and fix syntax error in LinuxTest
3762c38741 tests - copy variables.env for Linux tests
55525abf15 tests - fix mattermost/k8s
23f8ec9571 UI - fix container CVEs
a38ca51380 docker - dont generate config if already present
e92938f004 autoconf - fix container CVEs
c2ad79a792 Docker - fix CVE-2022-37434
8eefb4bf53 examples - fix mattermost/k8s
6d1ef606f7 examples - fix nextcloud/k8s
95c4ce723d enable bad behavior on default server and various k8s fixes
e295b020e4 tests - increase redmine timeout and add pvc cleanups
1e499db505 examples - fix gogs/k8s
a642761366 disable bad behavior if client is whitelisted and fix redmine/reverse-proxy-multisite examples
115d517c71 tests - add delays
7c1474cd89 examples - fix moodle/k8s port number
305870cc22 examples - edit moodle/k8s port number
3df0f8505b tests - add delay to moodle
897528b730 tests - fix magento/k8s again
4f4c446f7b examples - fix magento/k8s again
69848dccc9 examples - fix magento/k8s
0516f0a839 tests - assign bunkerweb-controller to srv1
41524a9e3d tests - force pv
0d44b098f4 tests - fix prestashop URL
0e315dc5fc tests - edit prestashopHost value
5741391de6 tests - change k8s service type of prestashop to clusterip
6adff9cebd tests - increase timeout and remove pvc for prestashop/k8s
97a2caf06e tests - fix Kubernetes missing variable assign
865f4f1b56 tests - fix prestashop/kubernetes
e8305b0b65 tests - fix missing prestashop/kubernetes.yml
840b875f70 docs - edit plugins page
978bbe9ca1 examples - fix missing configs subfolder in nextcloud/bw-data
502c9f2fe9 examples - fix radarr/swarm
1c4f8bf55c tests - automatic volumes prune for swarm tests
b6e2ad22a6 tests - fix joomla/swarm
216686fc8c tests - add delay parameter
d648b1fbea tests - increase magento timeout
d3b725294f tests - wait until swarm services are running
a48200bc02 examples - fix reverse-proxy-singlesite/swarm
b429dd8043 tests - increase timeout for swarm healthy check
0440c61d0c examples - fix gogs/swarm
ae36b98992 docs - quick edit on PHP
9a83fadd82 examples - fix gogs/setup.swarm.sh permissions
09141f2047 examples - fix magento/swarm
edf5421bf6 examples - fix permissions for magento/setup-swarm.sh
c67564c7c8 tests - increase timeout when doing requests
b076370090 examples - fix mongo-express/swarm
ec35b0a547 examples - fix mattermost/autoconf
95e3022eba examples - fix autoconf/reverse-proxy-singlesite
d63538fd58 examples - fix wordpress custom conf variable name for docker/autoconf
e01b240723 tests - ignore error when replacing patterns in files (binary files)
217924fe46 examples - fix reverse-proxy-singlesite regex
bb6d02e0f6 examples - escape dollars in reverse-proxy-singlesite compose files
5c42fb58d7 tests - fix reverse-proxy-singlesite
2f8c5a1e9f examples - fix host for reverse-proxy-multisite
af866e8256 edit docs/integrations for ansible and fix examples/mongo-express compose file
e90d4cc7e2 tests - fix json for reverse-proxy-multisite
70ac3c01b3 tests - fix missing arg no_copy_container
07a962466b tests - inline configs for docker/autoconf
87c57c67c7 tests - refactoring on the road, still needs some work
8fb03a3171 tests - on the road of refactoring
dc8570ca87 tests - add status type
1513785705 tests - refactor mattermost example
4e7d795ea6 tests - support custom cleanup-kubernetes.sh script and refactor some k8s tests with helm charts
cc9d228abd update compose version to 3.3 for swarm examples so config directive is supported
1819571473 remove trailing space in DockerController and add missing bunkerweb prefix for autoconf-configs example
324feb593d autoconf - fix missing configs update for DockerController
22398d5678 cors - fix typos in autoconf.yml
5119c8da7c gogs - missing setting for autoconf
0fca93e3e8 tests - sleep 30s between autoconf tests
17e14f4d53 tests - fix wildcard with sudo
3a46d318ee tests - remove only content of subfolders
4eff0c3f9d tests - fix behind reverse proxy url
bf58a17b8a gogs - add setup-docker
08d8bc8804 tests - remove whole subfolders in bw-data
b38f7c54e6 tests - add kubernetes-configs and fix missing s in urls
06f7fb096e tests - fix docker-configs (again)
b7101eb475 tests - fix docker-configs
a08b51bd03 tests - fix gogs expected string
b2bcfb8c7f tests - fix hardened expected string
d3014b42f7 examples - refactoring in progress
7eae497194 tests - prevent default rate limit
be21b3933a tests - fix sudo cp again
7bb881aa39 tests - fix rename
a607bd67cb tests - replace python cp with sudo cp
6d06a32cc9 tests - list example_data as root
c5526ef2fd Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
75b2ae868b tests - fix example_data path for docker
72965e230e Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
201e2cf0f3 Correction logs Linux
2033974442 tests - init cors and fix example_data path for autoconf
d8c8ceab36 tests - fix LinuxTest setup and init work on integrating examples with the new test system
c02d888b32 examples - rename setup scripts for drupal
9a9f9ebf36 examples - fix linux-setup.sh for drupal
6e381ee028 tests - disable copying bw-data files for k8s and swarm tests
0ee09d47da tests - force removing directories with AutoconfTest
da2f6cb4f4 tests - force removing directories with DockerTest
d1d2e51a31 cleanup tests directory and init tests refactoring for drupal
c14b08faa7 examples - edit authelia configuration.yml file for Linux integration
80fee58e47 bunkernet - add default api server in jobs
37690a7a4c configs - enable default server if TEMP_NGINX is set
b3fdd109a8 linux - fix wrong variables.env path when running jobs once
193449512a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
f5ede78974 examples - fix authelia variables.env
767a7ab315 Adjustements doc Ansible/Linux
81b3703660 wait until Linux test container is initialized and fix variables.env for authelia
44fbf03158 authelia - extract tarball to tmp
02db54ce0d examples - follow redirect when downloading authelia for linux
14d61854e5 add sudo to linux dependencies and curl to linux test images
6f35561fae tests - fix cp and end_fun for LinuxTest
2505bc015f tests - add linux to authelia kinds
b1df38374f tests - temp enable docker
410212b158 tests - run docker cp in a shell
f2ac7bca74 tests - fix typo in LinuxTest
a0948923ec tests - copy local files for Linux tests
458ebe07ff tests - dynamically find deb/rpm name
2205043e75 tests - fix LinuxTest.docker_exec()
d370f1b053 tests - add missing chmod import to LinuxTest
bf6dd93aa7 tests - replace rmdir with rmtree for LinuxTest
773517311e Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
850a8057cf ignore CVE-2022-30065 until we have a fix
e6271ccd63 Final proofreading FPM
f0ddb8328e docker - fix CVE-2022-30065 for autoconf
f260bcf23c Small adjustements
fa319ec101 tests - fix argv len check
0294064532 tests - fix typo in LinuxTest
f47ab0adc5 tests - integrated LinuxTest
eca010231c FPM Linux/Ansible Doc
4d61e96e47 tests - LinuxTest on the road
c9c7303460 tests - fix linux.sh
58a82ddcd6 tests - copy Linux packages to local directory
8062d043c1 tests - fix Linux dockerfile path
0a09f8a750 fix CVE-2022-29458
bb425bc361 tests - init work on Linux tests
aa729daebb examples - remove double $ from kubernetes authelia
7edd55544f fix k8s example for authelia and ignore error code when doing debug_fail for k8s tests
0fd77a8092 examples - fix typo in kubernetes authelia
720f36f473 tests - init kubernetes refactoring
ea98b453d1 tests - use unique domains for swarm tests
4bd0129e46 tests - also edit root domain
6e47b29919 tests - add sleep in the end of SwarmTest.init()
abc500a4d4 tests - fix domains for SwarmTest
3780477940 examples - fix authelia swarm compose version
4a5e50005b fix typo in SwarmTest and fix authelia swarm example
3b73c50c32 tests - ignore docker stack ps return code
ba6fddb56a tests - init swarm refactoring
9ecd2bd98d examples - add missing network aliases to authelia autoconf
7bbf77b7a5 fix authelia autoconf example and debug fail before cleaning tests
f02fe1ed91 tests - remove only subdirectory on new tests and add cleanup when test failed
0383cadd69 tests - fix compose filename for autoconf tests
aeba0ba72c tests - add missing AutoconfTest object
67608a463a tests - add missing decode
8b3b1291cc tests - from replace/rename functions to class method
1c5c81d2cd tests - add missing import
fa2d52d80f tests - remove useless log and return boolean from Test.end
68bf5ef850 tests - remove wrong cleanup call
424b37bec9 tests - change permissions as root
2780ee190d tests - add debug_fail function
07b0bb38dd docker - fix CVE-2022-29187 for ui and autoconf
b47c2696ee docker - fix CVE-2022-29187
fdb8ca3cad tests - replace internal _log with logger.log
eb59a9377d tests - init refactoring for autoconf
2e0542dbb0 tests - ignore case when performing test
0a996bf123 tests - replace match with search
48a6ba6328 tests - fix rm command
991ddb9eb9 tests - remove file as root
1e1d7d7f14 tests - replace variable typo in get request
ebc94f515e tests - add missing char when replacing Docker volumes
e4f6017d64 tests - replace example domains with test domains
dfc5f2e79e tests - export runner env
c07f85a424 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
ab57be6570 tests - fix missing copytree import and self parameter
5f79aea4bb fpm single/multiple docker&autoconf
cc760a646b tests - fix datetime import again
db2c35cb3f tests - fix datetime import
28f1b4f734 tests - rename variable
e1183a0d4c fix tests.json for authelia and exit when test exception occurs
16573a397e tests - do not run as root
de8cee491a tests - add missing imports
56afbd4577 tests - run as root
590ad46cd8 tests - fix missing chmod import and Test.init log call
8d580bc165 tests - fix missing Test import
a91fc73072 tests - fix indent and isfile import
773a37d456 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
b64af85262 tests - DockerTest on the road
0d3e1e2a13 Update the plugins docs
85217b57c3 Fix a typo in the plugin page in the docs
ba75154d07 Add url_for function to custom plugins templates
c055ec7ec3 Fix duplication in plugins
2c4efe9d0e Add Plugin Pages feature
795dfc0778 Add static map files
8b4b3f3b04 ansible docs
2e4758e948 tests - DockerTest improvement
c155227ec6 tests - init work on refactoring
dde1851416 tests - increase timeout for magento
e62523d1dc lua - use pcall with mmdb functions
658ab75049 docs - add ansible diagram
8d6397a6ba Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
f5c86cc4e2 examples - add cors example
8760110fba Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
cc4f0b26a1 Quickstart Ansible and integration
7b769361af cors - init work on core plugin for CORS
97e607110c linux - rename bunkerweb-ui.env to ui.env
c3ee7929be docs - change target of the web UI demo link to blank
969a1e5d70 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
5bf59c85d5 docs - replace web UI gif with YT video
430f665cdc Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
5be21f9bf8 Adding www folder
afdd4de5a4 fix regex checks with *_CUSTOM_CONF_* setting, add doc about DENY_STATUS_CODE
5586b3733b misc - add DENY_HTTP_STATUS setting (403 or 444)
90e58f2612 fix ui.env path for Linux integration and add docs for autoconf with rootless docker
a00607af2e docs - add instructions for podman
e880b7d598 docs - add infos about Docker in rootless mode
fc925ccb11 edit docs typo for UI and variable typo in autoconf
5714221319 ui - fix CVE-2022-2097
287e763e0d autoconf - fix CVE-2022-2097
89f81140ae container - fix CVE-2022-2097 (again)
a5c98f7099 container - fix CVE-2022-2097
429214727b tests - fix data folder permissions (again)
6b1c5a93e1 tests - fix data folder permissions
fb85d1d2d1 autoconf - fix typo in variable
fdcbc8d361 custom conf - fix wrong path with multisite configs
b2bb93bcf8 examples - fix docker-configs again
2b59086f66 examples - fix docker-configs
e09d4901ea containers - fix regex for *^CUSTOM_CONF_*
3594618e4c examples - fix typo in docker-configs (again)
e443112819 examples - fix typo in docker-configs
738e3b6e1a containers - use python hack to get env var values from string
5ac80a135c containers - replace compgen command with a python hack because compgen -e do not display var with dots
8f258486ef fix multiple CVE with curl/libcurl and add autoconf/docker CUSTOM_CONF configs examples
2dc18a7942 autoconf - support both configs from files and autoconf
e0a7005062 autoconf - init support of custom variables using labels
385b7c4134 docs - add docs for custom config using labels
e25babe3d2 custom conf - docker
a5457a164c custom conf - init setting support
0a1e8be71f examples - add missing setup.sh for mattermost
70c60f2a9b tests - add mattermost and radarr
f2dfb01724 examples - edit mattermost and add radarr
1a8eef2c85 fix autoconf import for IngressController and init work on mattermost example
cb106a112e autoconf - fix indent in IngressController
492648eeb2 autoconf - fix 410 exceptions (k8s)
1425ad0b42 docs - update settings list
f7290b2c79 v1.4.2 release
c0a8a356c2 linux - include bwcli in /usr/local/bin
40007b0866 add slack to official plugins and init work on EXTERNAL_PLUGIN_URLS setting
6478512e48 scheduler - only send /data folder if apis are present
7aa6852d3c autoconf - fix missing scheduler in autoconf mode and missing apis list
7bba81b16b autoconf - fix wrong variable name for environment
5cb61380d7 autoconf - add missing call to ConfigCaller constructor
b2758cea76 autoconf - init work on _get_static_services method
a18d77aeee autoconf - init work on static server configs as env var
4a699ef6c6 fix missing local Linux images import in ci/cd, and fix bug related to jobs in Linux integration
5690a58ab9 fix IFS checking permissions
e55928a37b fix bwcli commands when using Linux integration
0f2388b1f2 fix permissions check when file has space in the name
2b43a9cbf5 Merge branch 'dev' of https://github.com/bunkerity/bunkerized-nginx into dev
5ecf39ee02 Fix web-ui example with X-Script-Name
ad091493c3 examples - add various certbot-dns examples
a65606c369 examples - add certbot-dns-ovh
cd0d70b8f6 cache dev Linux images in ci/cd and disable site config generation for autoconf/swarm/k8s
e21a35017a plugins - support log_default() hook, same as log() but for default server
c563731e86 autoconf - fix overwrite configs file when using Docker autoconf
3c417d2ff0 linux - fix fedora NGINX version in Dockerfile, fix missing arg when building DEB/RPM and force NGINX version DEB deps
970082f92e linux - force NGINX version in RPM deps
4a2504c3b8 reflect ci/cd changes to dev
fd0c7b1e53 ci/cd - add automatic build for Linux images
1e6d62ce79 fix packagecloud yank name
1a4e21481e docs - edit supported architectures for prebuilt Docker images
bcaca6f034 v1.4.1 release
424214fd56 add changelog and add missing s in authentik url
82b42d5b9c Merge pull request #259 from Brawdunoir/master
db4e2cf266 update linux docs, minor fix in ingress example and update default value for bunkernet job
0ef82619b8 temp disable automatic tests for authentik and test automatic arm build on dedicated hardware
f2655e331d remove arm build again, fix proxy_*_timeout directives and add authelia example
d51ae1c1b9 Remove USE_ before authbasic plugin settings
cd0438b8ce support REVERSE_PROXY_*_TIMEOUT settings, remove useless push in CI/CD and try to build arm on GH runners
f9a042526e add docs about compiling BW from source on Linux, add docs about packages pinning on Linux and fix regex for REVERSE_PROXY_AUTH_REQUEST and REVERSE_PROXY_AUTH_REQUEST_SIGNIN_URL
15ac64b05f let's encrypt - fix bug when AUTOCONF_MODE=yes
e0f8895e9a init support for auth_request and add authentik example
e852298352 don't send local IP to BunkerNet on default server, fix certbot new when MULTISITE=no and fix unknown reason in get_reason
972a284efd docker - drop support for prebuilt arm images
5258d8e58f docs - edit linux install procedure
acb4bea97d reflect CI/CD changes for master pushes
42067e864a GHA - temp disable armv7 build until we have a fix for cryptography dependency
217bddabfd GHA - different caches for armv7 and armv8 images
c5fba13674 fix GHA typos
1b21f9eac3 fix UI tag in GHA jobs
389e050943 fix links in docs and change cache location for GHA jobs
05a89c3037 fix registry URL in GHA jobs
a0ed8a27e9 add debug flag to GHA buildx steps
d0ac5e3059 update GHA actions version
b16f8f11ad update GHA actions version
a23ed06e66 fix typo in GHA jobs
6b9be078b8 refactoring of GHA jobs
8e198ed82e linux - fix documentation link in systemd unit files
c3b527afe8 actions - fix RPMs path
972e5471d1 actions - fix linux deb/rpm generation
b246c6d7e2 fix wrong branch name in actions and image name for linux tests
b78fd55427 fix freetype CVE
945241339a actions - rename main branch to master
1af2264fab temp stop push to private repo
6f28708c10 docs - add missing setting
a9f886804a bunkerweb 1.4.0
3a078326c5 Merge pull request #199 from Myzel394/patch-1
d43b82b757 remote API - only do action if 403
3850cacb9c prepare for v1.3.2
c00c7f46a0 lua - verify certs when doing HTTPS requests
163af4a49d prepare for v1.3.2
98e85eb99f docs - update security tuning sections : distributed blacklist and request limit
2e63bb0256 docs - reflect kubernetes/swarm changes into the doc
6546a0edb7 disable country ban if IP is local, update default values of PERMISSIONS_POLICY and FEATURE_POLICY, upgrade archlinux packages before testing
ab00381746 ui - fix ROOT_FOLDER bug in serve-files.conf
9f7097de0d request limit - fix some LUA code
24d6337a57 limit req - multiple url support
bfb5319c16 limit req - add burst and delay parameters
4c77a14825 use annotations as env var in Ingress definition, fix cidr parsing for reserved ips, fix missing empty when job is external, fix ping check for remote api and init work hour/day support for request limit
4e45fa3874 integrations - acme without shared folder when using k8s/swarm
a9a26b82d9 fixed typo
00d91dcaaa jobs - move certbot hooks to python
650ad7ea49 integrations - fix missing acme folder when using Swarm or Kubernetes
7045c0c2b6 jobs - fix encoding error on CentOS
f0f432487b remote API - ban IP from distributed DB
fdc02be051 remote API - basic send of bad IPs
fb799765a4 jobs - fix str/bytes hell
d53f02b5b3 api - client side (untested)
7b9722fac4 jobs - add remote API
31ed4ff834 centos - update ca-certificates in install script
bc5f3ee88e fix CVEs and add init to Debian test image
a6b21aae8c fix typo in settings.json, bump Debian to bullseyes, init support of Arch Linux
64aa9c2530 init work remote API
5d94cc8f43 docs - init changes about storageless
e7ee21cbb5 antibot - fix path for templates and data
a0f8cbdac1 antibot - fix LUA typo in recaptcha mode
178d7a6849 Merge pull request #182 from Nakinox/patch-2
ca81535bb3 swarm/k8s - less storage, more API
062fa3e78a integration - continue work on storageless config for k8s and swarm
95f2d2af9c Update docker-compose.yml
e55dff8128 api - init work on storageless configuration
f0f1c79d40 v1.3.1 release
3d2f5e2389 conf - add REVERSE_PROXY_KEEPALIVE
b079c99fb9 Merge branch 'patch-15' of github.com:thelittlefireman/bunkerized-nginx into keepalive
2e403c6ebc config - add CUSTOM_HEADER
f75a05584e config - add REVERSE_PROXY_BUFFERING
148edf6814 tests - add github token to trivy scanner
a19d8aa041 Merge pull request #180 from vepito/vepito-patch-1
480cff86bc Merge pull request #179 from thelittlefireman/patch-16
35df3423d0 missing blank line
29f4069de7 switch the use cases
72e4384596 Fix typo related to non-HTTP configuration
a4a2647737 jobs - fix docker reload and only do cron jobs when necessary
892e533694 Missmatch in docs with modsec folder
a056141609 deps - use ModSecurity v3.0.4 instead of v3.0.5 to avoid memory leak
0772a9ba8e docs - edit badge version
33e0ffd5b1 Merge branch 'master' into dev
4cb3e089e3 linux - git SHA1 commit in install.sh
8808f161c5 docs - dev to master links and VERSION upgrade
1c60ec9804 tests - fix volume wait with linux tests
b13ff34569 add REDIRECT_TO_REQUEST_URI variable and edit environment variables docs
58f2926e95 docs - various examples fixes
9de628f3eb Missing proxy_set_header for keep alive
6cc1abc893 Allow keep alive connection when ws is off
a824e15684 linux - rename cron
fd52bb7c8d linux - fix cron jobs
0938b20eb8 UI - use sudo for Linux integration
b948e08bd5 UI - use systemctl on Linux
fde14d1621 linux - fix unknown scheme error and do nginx reload as root in UI
8a4eb3f2a3 remove .site files (gen), uninstall remove folder at the end (linux) and run jobs when reloading local instances (UI)
2a0b84074a ui - fix bug when Docker is used but Swarm is disabled, add jobs from API /reload and fix docker-compose doc
aec22d1a81 ui - edit docs and fix CSRF
028fc61b4f docs - add dns_resolvers and permissions to Linux
a903960b4c docs - fix missing subfolder in Linux quickstart guide
a28f06f08f linux - run temp nginx to solve let's encrypt challenges
6c8bc6b349 tests - fix Linux systemd bug when writing to /tmp folder
2b3b4a5c3f linux - systemd support
57e4247eab linux - systemd unit file
f9d4e90894 docs - edit k8s php service port and append suffix to hosts
4f024ec566 docs - add DNS_RESOLVERS for k8s integration
bc46fc3d4c append suffix to ingress hosts
0be1da18a6 remove old conf before generation, dynamic DNS for PHP and reverse proxy and swarm fixes in quickstart guide
3cedc0ae13 quickstart guide fixes
f1d5c07cc1 autoconf - various kubernetes fixes
c9a6b6c27d autoconf - fixed infinite lock
b199464a73 various bug fixes related to Swarm integration
4a9d64d9d9 add favicon to web UI and fix some tech docs
31536a3fe2 linux - reload as root
7b47c7304f examples - minor fixes in architecture images
83e7ce9cde examples - polishing before next release
0ad5159a33 docs - add changelog for next version
6240d8e28d ui - read variables.env when Linux is used
2f80f64dd5 docs - last polish
e98da9b637 docs polishing and fix install.sh gpg --verify
d9f7706969 docs - web UI
75f299978c docs - special folders
ef34b2cec1 docs quickstart / multisite
9b9110214a docs - quickstart guide / php
9e2a8070e4 docs - quickstart guide / reverse proxy
733136ac1a docs - init quickstart
fa172ce5a9 docs - linux integration
f6a9184ae9 docs - k8s integration
d37dc2b629 docs - swarm integration
f7c115edff docs - add autoconf doc to Docker section
dfbb091361 docs - init integrations/Docker
8e4a65feca fix global.env generation and add web UI gif to README
0573ba7b5a ui - centering things without breaking sticky navbar and menu
bcd421de09 ui - various bug fixes more or less related to UI
2ec28c79cb docs - fix README toc
fec60a4b14 ui - minor styling fixes
dd7d1a2c78 ui - fix example, subpath behind reverse proxy and add socket proxy rights for swarm
0c1883472d docs - edit kubernetes overview image and add configuration section on the readme
4e6eab794d docs - fix wrong swarm image
b23135b663 docs - add docker and kubernetes images
ace9be3979 docs - add autoconf and swarm images
8958e5107c docs - add overview image
b2cfc15c2a security - add security policy
94bef079a8 examples - add architecture images
50266c2285 examples - add the last missing README.md stubs
22e2fe869f examples improvement - added some README.md stubs
55186bbef5 examples improvement - hardened, joomla, kubernetes, load-balancer and moodle
d8286ced7c examples improvement - certbot cloudflare and wildcard, clamav, crowdsec, ghost and gogs
44de2253d2 examples improvement - traefik alternative, autoconf reverse proxy and basic website
6d73fbdedb examples - update authelia and autoconf-php
b6809266af autoconf - let's encrypt support for ingress controller
4e178b474c autoconf - basic ingress controller support for kubernetes
021147f9d9 autoconf - fix wait and redis
5a26d06c87 autoconf - fix infinite lock and honor DOCKER_HOST env var
bc01427def ignore CVE-2021-36159 and redirect job logs as root when using autoconf
652614f41b autoconf - use DNS for Swarm instances discovery
24d9cce82f autoconf - various bug fixes in Swarm mode
f866ef6325 autoconf - minor fixes, prepare Swarm testing
1a32e7c02c autoconf - various bug fixes with DockerController
7180378d0c autoconf - init Config refactoring
6e66571fb9 various cleaning
f44e41cede jobs - lock and reload management
26db144df4 autoconf refactoring and fix CVE-2021-36159
a68ad53c3f autoconf - controller classes
01bba1d3f6 autoconf - init refactoring before k8s integration
0597074438 k8s - init work on parsing ingress rules, helpers to setup on k8s, basic examples
bc3c17a2f0 examples - init k8s example
556836b499 autoconf - init annotations parser for k8s
22612f1757 minor edit on Linux tests and init work on k8s API
50c279617b jobs - improved log and reload management
ef8969e2cf certbot - add USE_LETS_ENCRYPT_STAGING=yes/no env var for using staging or production servers of let's encrypt
0dc2a5ec25 edit visibility of Job members and integration of a generic checker for nginx
9a207dfdc5 fix missing import in generator, expand networks to ips in jobs and init work on a generic checker with shared dict and redis support
a60fbbb5b3 hotfix - fix CVE-2021-33560
a1b9010d9e pull v1.2.8 fixes when applicable
3178545c2f v1.2.8 release
36b8760d4d resolve bugs on the stable version
8bb6676f58 settings - fix PHP_* again
4234f82c01 settings - edit EMAIL_LETS_ENCRYPT regex
b99fb27df5 fix missing parameter when calling reload in autoconf and edit REMOTE_PHP_PATH regex
876fcd1814 conf - add WORKER_PROCESSES
26dc796155 jobs - fix line edit
280d189864 jobs - avoid reload when not necessary
5f845680ff jobs - edit referrers and user-agents data and init work on autoconf integration
d12369c900 jobs - various bugs fixed and old files removed
366e39f591 jobs - SelfSignedCert, runner and reloader
71741b2d34 jobs - cache management
2fca4cd014 jobs - logging and error management
fccf14627f jobs - python stubs
b3684efaf6 jobs - init work on refactoring
82548378ae crowdsec - move as external plugin
b926b0db62 examples - use example.com instead of website.com
6713f56ec1 linux - fix centos install
2b923c05c1 compile and install LUA 5.1.5 to /opt/bunkerized-nginx/deps and introduced REDIRECT_TO feature
71cf3cf5c1 use local sources when building Docker image, add LOCAL_PHP and LOCAL_PHP_REMOTE to settings.json and fix pip bug related to removed working directory
8e3dbf1c70 fixed some fedora bugs, support LOCAL_PHP and LOCAL_PHP_PATH and sample variables.env
49ada6a8c5 linux - init work on fedora support
947e86f7c3 linux - uninstall script
a12561a85b remove useless nginx-keys folder and add lua_package_cpath to http conf
6b19bd0264 deps - add cjson LUA files to deps folder
6738b28b99 deps - move dependencies to dedicated /opt/bunkerized-nginx/deps folder to avoid messing with the system
010c0fd6d4 rename gen/requirements.py to requirements.txt, add git/bash to Docker deps and fix typos in README
ecf30a71f7 deps - init work on single install script
ffc4fc950e deps - manual compile/install of libmaxmind and upgrade lua-resty-core
b9955699b7 Merge pull request #152 from thelittlefireman/patch-11
860fd1ace5 Upgrade desps
eb5d13fb8d Upgrade lua-nginx module to 0.10.20
ca41987cd6 Upgrade corerules to 3.3.0 & modsecurity to 3.0.5
3af1b397fa UI - digging bugs from services, still some work to do
72a09eac6d UI - add CSRF protection
0d3f7d3925 UI - admin authentication and bootstrap update
6be082e0a9 UI - init work on admin account
4947796c99 UI - fix instances bugs
ba197dfa43 UI - bind gunicorn to 127.0.0.1/0.0.0.0:5000
4dd1ff8479 UI - copy from helpers, systemd service and instances page update
f771ec43f1 ui - init Instances class to support Linux and API for Docker/Swarm
e241b0c939 logs - move everything from /var/log to /var/log/nginx
d03a1a6e3b linux - add jobs.log
2c9c9fb62c linux - run master process as root
deb28c5991 autoconf - fix folders
2ea7331dad jobs - disable post-jobs when SWARM_MODE=yes on SIGHUP
92ee40819e whitelist - fix /.well-known/acme-challenge whitelist for let's encrypt
2ccfb26e81 docker - fix CVE-2021-33560
70f9f8417e templates - add missing new line when necessary
c4aef1d606 authelia - choose portal or auth basic mode
a385183d88 authelia - various fixes
cec47f3a75 body injection feature and add authelia to documentation
c894c8370e authelia - add variables to settings.json
f73b088f79 authelia - initial work
130c6752dd Merge pull request #148 from aFresquetIntech/dev
f97ea67855 Create .env
8504299861 Correction
4a8da40cf2 reverse-proxy-zammad
0114c7b09f examples - edit basic PHP
bebe89afb0 linux - edit path for default errors, ignore comments in variables.env, install/prepare certbot
b2cceb608c linux - fix centos
37f5e4ed71 linux - fixed debian/ubuntu but still some work needed on centos
98568a57c9 linux - fix /var/log and typo in daemon directive
4991922878 linux - fix daemon directive and rights on /etc/nginx
bcb8acc364 linux - add RX permissions to /opt
a9279053a4 linux - add executable right to gen/main.py
60057a17e3 linux - fix tests docker cp and pass single -c argument to su
d0366fcc0d linux - started work on bunkerized-nginx command
b448d91ca8 actions - fix centos test and docker image name when pushing
e309ce6fd5 docker - fix permissions on /opt
37090dc66e actions - fix manifest error with buildx and load
6bb6facd88 add load: true when autobuilding images and move from /bin/sh to /bin/bash
a1fcbd4b83 fix actions and configure
09a2a4f9e5 github actions refactoring
1e02368e8a linux/docker - common /opt/bunkerized-nginx folder
bbb5134a39 fix configure arguments and CRS include
b0f93fb840 fix Dockerfile again
c892f037db fix Dockerfile
731c0f61df linux - init work on installer
93543d3962 Linux - use the same dependencies script for Docker
5ec9e6ab49 linux - CentOS 7 install
cc0d0af8d2 linux - ubuntu installer
43d2097d14 linux - nginx install on Debian
f880e5e2aa linux - continued work on install helpers for Debian
9636013f5e linux - started work on installer
15bdb076c8 hotfix - fix docs get_git_branch
d62c4f466d v1.2.7 release
ad52ef3260 autoconf - prevent race condition by checking health state
3bd3b6fd7a Merge pull request #145 from thelittlefireman/patch-10
e41acc20c2 Upgrade ModSecurity-nginx to v1.0.2
3c721dc2a0 add HEALTHCHECK to Dockerfile and append 10.0.0.0/8 to DNSBL whitelist
491d879fec jobs - cleaning the mess when using autoconf without swarm mode
52534510ec fix bug when AUTO_LETS_ENCRYPT=yes and certbot can't resolve challenges
2c7337576d jobs - fix syntax error
9e4961ccb5 docs - rename sitemap to bypass rtd rewrite
01857d8ac0 gen - display the reason when ignoring a variable
ab9f9e0a4c jobs - fix jobs when MULTISITE=yes
29dc64ca30 actions - add Docker cache to speedup auto build on the dev branch
b5cd4e0375 docker - build and push images from GitHub actions because of future DockerHub restrictions on autobuild
16101144c5 self-signed cert - fix bugs
95510e6e1d settings - add underscore to CUSTOM_HTTPS_CERT/KEY regex
dd5890e760 geoip - fix bug when using GeoIP
c3a437fa82 docs - rename the sitemap to avoid conflicts ?
518ddd3236 docs - custom robots.txt
177a82ee6e docs - automated sitemap.yml
39db7b368f v1.2.6 release
9442e59141 jobs - fix jobs in Swarm mode
fcc6b3b5e4 various bug fixes related to Swarm
678ad70b01 docs, various fixes and certbot-cloudflare example
e8f5db0b29 docs - add plugins system
8295f6aeba plugins - clamav example
388fc1a0e8 plugins - started basic plugin system
62217a3210 add contributing guidelines and license
53e433b1a4 readme - replace some badges
f640157b1f Merge pull request #138 from bunkerity/feature-request-template
d646f3e5b7 Update issue templates
4b31d005eb crowdsec and generator fixes
d2135c19c0 docs - road to v1.2.6
8cda1baf77 fix web ui multiple variables and add default error pages
445032406b dnsbl - disable checks when IP is local
74fb015366 web UI - init work on using docker-socket-proxy
ee178de6ab web ui - mostly finished templating integration (needs some testing)
7323525b69 ui - show only multisite vars for settings
82e47f147d ui - Dockerfile fixes and missing get_config function
2db967ad1d templating - road to web ui
1d96620ae6 templating - init integration into web ui
99c259bf18 templating - prepare integration into ui
c7b81cfc10 various bug fixes related to HTTPS
dfce0c06dd autoconf - fixing various bug when SWARM_MODE=yes
0f8e56a668 templating - fixing bugs with autoconf
f950abdc24 templating - started integration into autoconf
4a73ae8197 various bug fixes on templates and nginx update to 1.20.1
e2f02ee91e templating - prepare integration for autoconf
a991b262ef remove ClamAV because of GPL and started work on read-only filesystem
a8bc17e836 templating - started integration into docker image
ec19f93081 templating - added missing features in site templates
23aa053003 templating - auth basic support
289ad106cb templating - multisite support
bbc5bbc9e9 templating - fix some site templates
633a07686f templating - init work on site templates
996c45df42 templating - init work on global templates
801530baf3 templating - road to full jinja2 templates
c65dda3917 templating - init work on templating with jinja2
ea891969c1 templating - updated settings.json with global settings
698ae17c49 templating - init work on generic settings management
6645632846 antibot - basic pow with javascript
16e5ede130 antibot - custom templates
8260746fe1 logs/lua - add logger tool
de560490d3 fix LUA array variables and add LOG_LEVEL to the troubleshooting section
96db3a450d log - add LOG_LEVEL variable
73543f4b0e hardening - add no-new-privileges
d9bb97be50 lua - move global vars from lua to site config (untested)
863283d090 started work on moving variables from .lua to nginx
600484b16e crowdsec - fix bugs and update example
7c6a13c549 examples - improve nextcloud example so it works with webdav clients
b3bb4ec40f remove unnecessary dependencies and update doc about certificate bundle
69f4657208 examples - fix typo BAD_BEHAVIOR_STATUS_CODES
d02985d213 check permissions for missing volumes and add comment about permissions on examples
b0ca85ff75 v1.2.5 - performance improvement
2f115c444d Merge pull request #131 from bunkerity/issue-templates
7f15741ea2 Update issue templates
288b8eb851 docs improvement + road to v1.2.5
61c08fb97b docs - troubleshooting
01ef47a669 docs - security tuning improvement
71515a9101 doc - volumes list
a33d0658c6 docs - road to a beautiful documentation
0b3ff6a9f4 bad behavior - move from fail2ban to pure lua
eb2d0d330d performance - rsyslog and fail2ban removing
5bcbb38638 doc - official document started
ca660b2501 init work on official doc
3a34436cd8 add AquaeAtrae example for ROOT_SITE_SUBFOLDER
b1d03cd11c performance - move bad user-agents and referrers checks from nginx to LUA with caching
42c3fb8740 add sandbox allow-downloads to the default value of CONTENT_SECURITY_POLICY
f1c043604a add missing backslash in the quickstart guide and update autoconf examples with the depends_on directive
fd61df205f performance - move external blacklists checks from nginx to LUA
009d6fb5ae choose connection and nofile numbers, increase error_log level to get modsecurity rules, add MODSECURITY_SEC_AUDIT_ENGINE var
ba4185a42e jobs - fix automatic reload
70976d0fbc fix user-agent not blocking and add documentation on bundle when USE_CUSTOM_HTTPS=yes
062a39c63a integrate AquaeAtrae work - add ROOT_SITE_SUBFOLDER
83841b290a jobs - edit adren work on external blacklists
10dc58cb6d Merge pull request #126 from adren/patch-6
668754686c Merge pull request #125 from adren/patch-5
84b1933f63 Merge pull request #124 from adren/patch-4
15f6d0a32a Merge pull request #123 from adren/patch-3
e628361a89 Merge pull request #122 from adren/patch-1
f8d71e067e improved way to generate user-agent file
02ae3b6bd3 change IFS before subshell
2fb0e7c473 deduplicate list of user-agents
9adcc2f1a7 more optimized way to generate map referrer file
7b98db4d14 improve the generation of blocking file (abusers)
ddb2b85916 improve generation of block file (Tor exit nodes)
da1a460a64 huge improvement to generate blocking file
07be626842 hotfix - fix API in autoconf swarm mode
3bb164395e hotfix - move API_WHITELIST_IP edit to lua.sh
bc2568a172 v1.2.4 - nginx 1.20.0 support
5ec74880d8 update README for v1.2.4
f84fd7c9a2 fix permissions issues for autoconf and fix volume for ghost example
6521d7a27a fix client cache so it works in combination with reverse proxy and examples update
813607fbc3 improve crowdsec example and disable modsec logging when not necessary
843644f806 log - replace some WARN tags from LUA logs with NOTICE to avoid confusion
19fa0eb25f log - print modsec_audit.log to make debugging easier
b4df287228 log - send logs to remote syslog server
5ce41edc03 api - whitelist IP/network for API
a3cfb50b4d example - fix certbot wildcard
25494acace example - wildcard certificate with certbot
a98dae1fb6 fix CVE-2021-20205 and examples update
1a7abab570 nginx 1.20.0 support
42b7a57f01 fix autoconf bug when removing config with multiple server name and increase default LIMIT_CONN_MAX for average website with HTTP2
02f9fbe5fc autoconf - fix certbot bug when multiple server_name for one service
69fe066777 autoconf - fix bug when multiple server_name for one service
74417abc9c fixing bugs - run as GID 101 instead of 0, different permissions checks in swarm mode and disable including server confs in swarm mode
ba7524a419 fixed LUA bug
b55aafb997 finding the LUA bug
deeb7a76a2 Merge pull request #117 from thelittlefireman/patch-9
ee8aaa4e7e fix lua crash 2
605d59a45c Fix lua mistake
b85c991b6e bug fixes - /usr/local/lib/lua rights and syntax error in site-config
0d3658adf0 REVERSE_PROXY_HEADERS - use proxy_set_header instead of more_set_headers
0b22209c96 documentation - userns remap feature
e44a1f3e14 added the uri to limit_req_zone key to limit bruteforce attack on a specific resource instead of the whole service
aa614f82f9 print error when permissions are wrong on common volumes
c03d410b0a refactored whitelisting of user-agents
e190167bfc CIDR support with whitelist/blacklist IP
31e72dce1c fix /usr/local/lib/lua rights and multiple server_name support with autoconf
b8105fc558 feature - whitelist URI
e73c10fd80 crowdsec - fix permissions on /usr/local/lib/lua and on /var/log files
a122a259c0 minor fix on AutoConf logs and auto disable etag with reverse proxy
7c4894d3b8 autoconf - fix remove event, generate config from nginx vars, more logs
533c2a1034 fix sed script when writing site env
5611d544d6 remove reference to USE_PHP
397182f18d add link to twitter account
c5c5fb17b5 v1.2.3 - swarm support
017a7780fb README update, default cron update and new parameters to ui
34d9db7a8b web ui - bug fixes
361c66ca61 fixed bugs with MULTISITE variables and swarm example
afc6678855 road to v1.2.3 - fixing bugs
c40fb33175 road to swarm - automatic reload after jobs
93ad3c0b51 road to swarm - let's encrypt fix
ceed904882 road to swarm - still some mess to fix
b8027d2bac Merge pull request #102 from thelittlefireman/proxy_custom_headers
8d03a14a6a Merge pull request #103 from thelittlefireman/fix_truncated_3
d16f4517a4 Enhancement add custom proxy headers #97
89ca91b3ff Fix truncated variables (last commit)
6a714e2ece road to swarm - fix race condition on initial configuration
0d3da03534 prepare /www directory, fix log socket path and whitelist acme challenges path
33163f65b3 init work on disabling root processes
a2543384cd road to swarm - add openssl to autoconf, fix api_uri in LUA, fix file rights
3591715f21 road to swarm - fixing things
95f7ca5b2d road to swarm support - needs a lot of testing
816fa47cbb introducing SWARM_MODE env var
7756c2df3c Merge pull request #98 from mromanelli9/fix/readme
7509ec2f2c basic API to be used in swarm mode
6e93575e16 remove ALLOWALL from X_FRAME_OPTIONS options
ba4c977550 remove old anchor
781e4c8cbb autoconf little work on swarm support
e04c783d1e autoconf - init work on swarm mode
e12b656bd5 Merge branch 'patch-7' of https://github.com/thelittlefireman/bunkerized-nginx into dev
cae05447d3 custom crontab values
4b58e22657 Merge branch 'patch-5' of https://github.com/thelittlefireman/bunkerized-nginx into dev
6b56e21a09 Merge branch 'whitelist_ua' of https://github.com/thelittlefireman/bunkerized-nginx into dev
544a09e8da Update lua-cs-bouncer
8386dd4a2a custom config outside server block
f052a25168 Merge branch 'pre_server_confs' of https://github.com/thelittlefireman/bunkerized-nginx into dev
43750f5536 Merge pull request #73 from thelittlefireman/patch-4
9142afdb54 Merge pull request #72 from thelittlefireman/patch-3
66c4fed791 Fix env variable with space are truncated 2
f41846e9d6 Fix env variable with space are truncated
92cc705b92 Reduce memory usage : set cron tasks at different hours.
47fb3a05b3 Upgrade crowdsecurity/lua-cs-bouncer
5940f402c7 improve default tls security
d9ca275d53 Add before `server {}` config.
8353bd9c85 Allow to add a whitelist by site on user-agent
d902e2f297 Add last missing reverse proxy header
1a8b8043c8 Add LIMIT_CONN var to server.conf
65120a7e97 Add USE_CONN_LIMIT info to Readme.md
b093a47554 Add default values for LIMIT_CONN
73dbf03c9a add USE_LIMIT_CONN zone to global config
6ee746236a Add USE_LIMIT_CONN to site-config
fa935eb6e3 edit nginx.conf to add limit_conn
cf231e13cb Add limit-conn.conf
d5d699252c v1.2.2 - web UI (beta)
50f95420b5 README update - road to v1.2.2
dc382c3e04 various fixes - autoconf process order, multisite config and examples
0026328f25 edit default FAIL2BAN_IGNOREIP subnets
9023ab5aed Merge pull request #67 from thelittlefireman/patch-2
124474ad66 Edit README.md to add FAIL2BAN_IGNOREIP
eac9c8f513 Prepare FAIL2BAN_IGNOREIP to avoid self blocking
1ee490de6d Prepare FAIL2BAN_IGNOREIP to avoid self blocking
825e6a747e crowdsec v1 integrated
09a984c86b started crowdsec v1 integration
fd7afa17b3 fix missing ';' in include
b9b7fdfcc4 Merge pull request #63 from thelittlefireman/patch-1
58e1d66bc7 UI - minor alert css fix
7026643f8a UI - fix missing MULTISITE env var when managing services
06f688fe97 fixed stop and reload operations
c65b78b1cc UI - instances/services backend update (needs testing)
f9b9b9546f UI - introduced multiple config parameters (like reverse proxy) in frontend
b5fe6335c7 UI - instances backend started
951f3957fd UI - default service values
0f520b8914 UI - services backend started
569ad75c42 UI - config.json refactoring
bd7b6af668 UI - load config template from json
459bb8ea1c UI services modals and default CSP update (fix new tab links)
208b5acb30 UI - minor services list improvement
59b2fed416 UI - basic services list
a4871a915e Add missing proxy headers
026783f018 Fix missing reverse proxy headers
8115853453 Fix missing proxy headers on site-config.sh
c5f283b00e UI - minor front update
03ce7a6483 fix modsec double inclusion when MULTISITE=yes
3f7e2c54b3 JOBS - fixed some job script and right temp nginx reload
bb0f46d8af JOBS - fix job_log
c5b32dfc4c fix CVE-2020-1971 again
9a4f96ad18 fix CVE-2020-1971
f258426f55 JOBS - fallback to old conf in case reload failed
119e963612 JOBS - be more verbose about jobs failure/success
373988670a Merge pull request #54 from thelittlefireman/patch-4
2a956f2cd3 Fix #52
15a37a8682 UI - minor UI improvement
3a3d527907 UI - basic read fixes
e6b5f460c9 UI - basic read from docker API
002e3ed2ba security tests for autoconf and ui
7b55acbe8b web UI example and CVE-2020-8231 fix again
559b7835d4 ui - automated build
4ea01bd93f print some logs when blocking bots
a73891a3b8 fix CVE-2020-8231
26199f52c8 remove additional / in modsecurity include
5c3f94a84f edit reverse proxy var name in README
043fcdc136 autoconf - automated build
b86ded3d1c autoconf - multi arch Dockerfile
92569679b6 dynamic reload of nginx by sending SIGHUP
15e74e4860 more work on standalone autoconf
fd0a6412d0 init work on standalone autoconf
419fdfc86e fix auth basic when MULTISITE=yes
0bc1f652b4 v1.2.1 - autoconf feature (beta)
6c7461e298 integrate thelittlefireman work
d01bc5e014 Merge branch 'patch-1' of https://github.com/thelittlefireman/bunkerized-nginx into dev
75c69c8105 last fixes before next release ?
e26b8482aa Add missing EMAIL_LETS_ENCRYPT parameter
f618c73e6c road to v1.2.1
78c1e5c676 examples - same domains for internal tests
481e10d3ef reverse proxy - websocket example
aae2a71983 autoconf - php example
f3bf04e390 dirty fix to disable default server when MULTISITE=yes
36cbb927c0 autoconf - various fixes
95153dbc5d moved UA, referrer and country check after whitelist and blacklist check
26947179a4 moved UA and referrer check to LUA
88f27bfeb8 autoconf - reverse proxy example and pass default vars
3cc1615c4d fix user-agent script
8bacf722a6 Merge branch 'fix/variable-naming' of https://github.com/mromanelli9/bunkerized-nginx into dev
2bfc4b41fa first work on automatic configuration
587d4a92eb incorrect variable naming
c311d0c825 add crawler-detecter bad UA
0d03f49ebc websocket support with reverse proxy
2112c306a8 custom log format
8f9dcc5ab8 last fix ?
2fe05d3fd3 fixing scripts again and again
db04c0345c fix referrers again
ed8bd902b1 fix referrers script
3a7aa5d9c0 block bad referrers
9ec9de6ca2 multiple lets encrypt certificates when MULTISITE=yes
791342cbe6 fix LUA DNS code when answers is nil
2f23671c3b fail2ban fix when MULTISITE=yes
e350a717ff fix default DNS_RESOLVERS
e818acb0d1 prestashop example
b92f74ed98 dirty fix for CVE-2020-28928
9688e66508 check all vulnerabilities with trivy
700dfc0184 v1.2.0 release
42e4298b5c readme update - v1.2.0 changes
813b42cfa9 php and nextcloud examples fix
58fcf0a725 added Permissions-Policy header
5879183802 custom headers to remove
2032596880 automatic trivy scan
eaf817d57a php config and examples fixes
dd7768c856 whitelist/blacklist country at LUA level to avoid SEO issues
fe1d724c9f country whitelist/blacklist
0635eb368b various bug fixes
fbf81c94be cached blacklists data
ed451877ae examples update and multiple REVERSE_PROXY_* on single site
0f18e9c552 reverse proxy support via env vars
8f7cb5318e proxy caching support
60fbbc1013 move some http directives to server
0f0593456c various fixes
8cdc155ac0 multisite examples and certbot renew fix
1abe1da89e brotli support
f18c054b42 gzip support
4dea1975e2 client caching
c2b05c463c fix BLOCK_COUNTRY bug and add support for ModSecurity custom confs when multisite=yes
2da51d92a6 multisite - bug fixes
bd7997497b autotest through github actions
e89e34a84f auto test fix
ff02878dd8 auto test setup
44b016be93 road to multi server block support
36c4f3e065 v1.1.2 - CrowdSec integration and custom ports
798f6c726d examples - nextcloud fix and tomcat
761c14a0b8 custom HTTP and HTTPS ports
4a07eca696 crowdsec integration
e1274a6082 passbolt example
3ec81cd849 Fix broken line in README
95752ff0c4 v1.1.1 - TLS 1.2 support
8623510f8c https fix
95a76b11fa peterkimzz integration and dhparam
b0e4740a7d [New Features] - Added "HTTPS_PROTOCOLS" environment value to enable to customize TLS version. default value is "TLSv1.3". (because TLSv1.2 sometimes needed) - READMD.md
e843608575 README update - v1.1.0
2f68667893 logrotate copytruncate
1d63838ee6 examples - fix port number
e4bdd4af5d examples - nextcloud fix and moodle
2c33463af7 renamed logrotate script
9ff210bed8 wordpress and nextcloud examples
0b73018865 install CRS by tag in compile.sh
e1356e3eb0 logrotate.conf update and some cleanup
34a0da444f logging fix again
022a653ebc display fail2ban.log and logging bug fix
4c11a9125c automatic docker tags with VERSION
88b52478c3 automatic Secure flag on cookies
ce82e22dbe remove integrated PHP
397415211e antibot - check IP with sessions and recaptcha
68d7988551 tor hidden service example
16eab0f631 README update
6a22f7711c load balancer example
222426854e Merge pull request #13 from FacundoAcevedo/patch-1
d63c57985e Fix typo in the link in the TOC
e19a7c693d run master nginx process as non-root user
7a8795883b dockerfile fix - compile
01095bd72f gpg fix and secure git clone
0e6729c62e check GPG signature of nginx sources
040b6a2234 Merge branch 'patch-1' of https://github.com/fabianmoronzirfas/bunkerized-nginx into dev
5f62120e4d fix(typo): add missing »find«
e8503b9cc5 ARM build fix
676571e4a4 use nginx:stable-alpine as base image
34254a09e9 examples and DNS_RESOLVERS fix
81cff3648c readme update
e166b1fea9 awesome gif resized
f08bba8cc2 awesome gif
ccf4392280 session secret fix
c1d44387b5 basic antibot feature through recaptcha v3
135126e3f4 readme fix
ac251b0f69 Merge branch 'master' of https://github.com/ZILosoft/bunkerized-nginx into dev
ac242c9774 Update README.md
2909b79891 basic antibot feature through captcha
446ee3761b basic antibot using javascript
6e1c43c4cd basic antibot feature through cookie
652d8ac979 fixed typo in manifest
de1952b5f9 README - toc update and title fix
16a458db23 README improvement
f27d80e0d5 various fixes and lua logging
fc3d911ff7 improved blacklist/whitelist/dnsbl with lua
ef7d842ff0 arm64v8 auto build and master manifest
0e57049832 manifest for automated builds
aaef370079 improved logging with rsyslog
6e3c2ddcc2 integrated ajarmoszuk work
919b418d58 Added the ability to self generate SSL certificates
fb1a0182e2 Added the ability to see Real IPs if Nginx is running under another proxy (such as Traefik).
2e0a8307d1 i386 fix again
181003efe1 i386 fix
fca7bb0758 automatic builds
764038d40d README update
f4c43a2148 block proxies and abusers
3a9afa47b6 Merge pull request #5 from ajarmoszuk/patch-1
2c12df3b96 update default req_limit values
2f967a9f47 Update entrypoint.sh
eba5f6280e req limit
44155b5d62 dnsbl ipairs fix
829c1c6974 some fixes and README update
f3721a50db sitewide auth basic
b56e4e765a dnsbl feature
1654e913a4 lua support
3e5ca583c9 remote PHP-FPM support
bcd17dbea2 automatic geoip update
14ec9f3e63 logrotate and compile fixes
5b5e6e33a6 awesome logo
1aa1dcf50d logrotate support
f30a06d943 syslog integration and fail2ban improvement
cd19841ec3 readme - details about modsec include order
94b29a6ca2 fixed some include orders
bf605ce59d custom root folder and little fixes
b14b09ad5d default CSP update
4f5e5f013e readme improve
76bd069f25 php POST max size and custom HTTPS cert
1d6ab7275f http basic auth fix
472ec31cd2 readme fix
caa415e126 http basic auth
8561d47be0 create a customized image
4bede275fb fix typo
efcf937109 inspectFile fix
ccaaa8b57d readme fix
b83111ad17 realip, minor fixes and README
a2be2e8ae1 improved README : format, modsec, fail2ban and clamav
48a0036d26 updated readme
bf0bef289d clamav support
193070b148 fail2ban support
716e54e597 custom http/server confs and better modsec customization
43403f69ee disable default server
69ac95b29e block country and various fixes
ecf2de8b72 multiple let's encrypt domains
8427564f4d user-agents escape fix
c56bde4f0c fix certbot-renew.sh syntax
834afa1327 http to https redirect
d5f8c7647d custom modules and write access
5bcdb0219e f**k markup ?
3233f3b76f fix readme
62eda8173b improved README
09e6b50e58 custom conf
5d16f6a8f2 fix README
1b5f6deb22 cookie flags and maxmind update
ea1dbc617c updated readme
0b703ea559 content security policy
1e642e2f13 initial readme
e90060ce68 initial work
70f849fbb5 Initial commit
REVERT: c47084b5d7 bumped version to 0.10.25.
REVERT: 6d0a2c1847 bugfix: used after free when encountering invalid http IF-Match header.
REVERT: 6e9948dcda bugfix: ssl_client_hello_by_lua generating chunk cache key and chunk name
REVERT: 68acad14e4 bumped the lua version to 0.10.24.
REVERT: ec6df3249a bugfix: windows also need to support ngx_http_lua_ffi_worker_pids.
REVERT: 9bee7e7890 bugfix : comparison of integer expressions of different signedness.
REVERT: 1953052a02 bugfix: fixed warning of signed and unsigned.
REVERT: 74786af954 bugfix: windows does not support ngx_http_lua_ffi_worker_pids.
REVERT: ce30e2fb0a Revert "bugfix: doesn't set flags for Darwin arm64. (#2071)" (#2163)
REVERT: 644b98faa5 feature: introduced ngx_http_lua_get_lua_http10_buffering.
REVERT: 6f7a9a3305 feature: add four new apis to manipulate the coctx.
REVERT: 14be603805 doc: setoption is already available now.
REVERT: 6dbc4e1bd7 tests: use the specified perl to execute cpanm. (#2157)
REVERT: 5e05fa3adb tests: cross requests cosocket can only be use one time.
REVERT: a6ee03abaa bugfix: cleanup of http request will not be callled for the request created by ngx_http_lua_create_fake_request.
REVERT: 992bfc352a style: use forward declaration.
REVERT: 1a48599243 bumped the lua version to 0.10.23.
REVERT: 47f0a36762 bugfix: cosocket did not exit when worker_shutdown_timeout handler is called.
REVERT: 81bc96401e tests: fixed some test cases in t/129-ssl-socket.t t/162-socket-tls-handshake.t t/186-cosocket-busy-bufs.t.
REVERT: f488965b89 feature: added HTTP 3.0 support to ngx.req.http_version().
REVERT: 3f4005fa87 bugfix: fix receiveuntil rest bytes count.
REVERT: 4045ea8eb7 tests: test failed when running in randmonize mode.
REVERT: 6e3b1c4fde bugfix: define busy_bufs per cosocket (#2119)
REVERT: 56347d174d tests: upgrade openssl to 1.1.1s. (#2117)
REVERT: 0499e84430 doc: add link to pre-defined Nginx variables (#2116)
REVERT: a31e9cf337 bugfix: avoid buf double free in ngx.print if lua body filter enabled (#2115)
REVERT: eb977111bb bugfix: add a timed recycling child process as a last resort. (#2112)
REVERT: b754786bb5 feature: add new ffi api ngx_http_lua_ffi_msec. (#2108)
REVERT: 3207da152a chore: add assertion to make linter happy (#2107)
REVERT: a318d250f5 doc: add detail on explanation of a running timer (#2105)
REVERT: 4bbb57aa4a doc: add release description for ngx.worker.pids(). (#2104)
REVERT: d518adcac4 Merge tag 0.10.22 into master.
REVERT: 8d9032298e bumped the lua version to 0.10.22.
REVERT: 4add942393 bugfix: did not wakeup coroutine when worker thread finished.
REVERT: cff86dd7f6 doc: fix the version in README (#2089)
REVERT: edfa0f984e feat: add ngx_http_lua_ffi_worker_pids to get all workers pid map
REVERT: 3e2a7f4593 bugfix: run_worker_thread arg is self-reference.
REVERT: eb6d6cbf00 tests: build with DDEBUG=1. (#2084)
REVERT: 5eb7101d33 doc: complete md5.lua example in run_worker_thread api (#2085)
REVERT: a7e67a596f doc: add more explanation for premature in ngx.timer.at.
REVERT: 73f2b3f6fe bugfix: typo in the debug message. (#2081)
REVERT: 9b7bde2e79 feature: added new API bind.
REVERT: 44486a45f4 feature: add shdict APIs into worker thread (#2074)
REVERT: 99b29cd169 doc: clarify the ngx.req.set_uri_args api when using Lua table as the 'arg' argument. (#2073)
REVERT: 1fd1e83c80 bugfix: doesn't set flags for Darwin arm64. (#2071)
REVERT: 1c43f1c4f2 ci: bumped OpenSSL to 1.1.1p. (#2070)
REVERT: 74b8d4b4f9 chore: update the PR types (#2069)
REVERT: c55fceb5cf ci: add a way to check PR title automatically (#2067)
REVERT: b6d167cf1a bugfix: update handling of multiple headers changed in nginx 1.23.0 (#2063)
REVERT: c8597eda0c tests: change the running phase to cover the bug reported in google group. (#2064)
REVERT: 9a0a8968cd bugfix: did not wakeup coroutine when worker thread finished.
REVERT: 3fe8d9ddeb change: can not receive udp datagram greater 8192. (#2057)
REVERT: 2c60e8966d optimize: destroy pipe proc when freeing the request. (#2052)
REVERT: e7660d75a3 doc: revised English grammar in ngx_http_lua_timer.c. (#2053)
REVERT: 9c6478b08f Merge branch '0.10.21.x'
REVERT: 0ac2ab2797 bugfix: tctx.pool is double freed. (#2049)
REVERT: b6db2e741d optimize: add error log when closing the pipe failed. (#2050)
REVERT: b91221bd6c optimize: fix potential null pointer dereference found by coverity (#2051)
REVERT: 381e9b3a61 bugfix: wrong memory size for the pernding timers array. (#2048)
REVERT: af130ae896 fix dead code found by coverity
REVERT: 8a8e710cb9 fix potential null pointer dereference found by Coverity (#2043)
REVERT: 86e1a6446a  feature: content_by_lua_file return 503 if read err and file is existed #1992 (#1995)
REVERT: 653d6a36f4 bugfix: Apple Silicon FFI ABI limitation workaround
REVERT: bc2ecdae2c ci: add util/build-without-ssl.sh. (#2035)
REVERT: f0c04dbf61 bugfix: failed to compile when nginx https is disabled. (#2034)
REVERT: 6c0cc5c456 doc: did not generate README.markdown from doc/HttpLuaModule.wiki. (#2029)
REVERT: c1d378824c feature: add `server_rewrite_by_lua*`. (#2004)
REVERT: 3d1431790f travis: update openssl to 1.1.1n. (#2028)
REVERT: 8df296c479 travis: fixe the uri of lua-resty-core.
REVERT: 2b902657f3 cosocket: add function `tcpsock:setclientcert`, reimplemented `tcpsock:sslhandshake` with FFI
REVERT: 1fea117122 tests: use random port numbers instead of fixed port number to prevent conflict. (#2025)
REVERT: a7444abe8e tests: 160-disable-init-by-lua.t: prevent the test process from overwriting the original pid file. (#2024)
REVERT: 247086ed38 doc: describe the second argument of get_uri_args (#2023)
REVERT: d959374e02 optimize: use ngx_hash_t to optimize the built-in header look-up process for ngx.header.HEADER.
REVERT: 974d5d163d feature: add FFI implementation for ngx.arg getter (#2021)
REVERT: bd92edf3b8 doc: modify openssl patch requirements. (#2022)
REVERT: 496d985334 tests: change the count of the record after adding ngx.get_raw_phase. (#2019)
REVERT: 97d1b704d0 bugfix: ngx.pipe waits until timeout because child process forgot to close pipe after dup2.
REVERT: d001dea778 bugfix: posted event handler was called after event memory was freed. (#1982)
REVERT: 7d585bd535 bugfix: fixed size of the array when initialized in the init_worker_by* phase. (#2017)
REVERT: 66294b9d06 bugfix: ambiguous error message 'connection in dubious state' when connection is closed. (#2016)
REVERT: 77540f78c3 doc: change description for ssl_client_hello_by_lua.
REVERT: cee06592f8 doc: fixed link to lua-resty-core
REVERT: 15b693b338 bugfix: passing the wrong chunkname argument to luaL_loadbuffer. (#2010)
REVERT: 70a50e66c4 optimize: change lua chunkname to config filename and line number for (init/header_filter/body_filter)_by_lua_block and so on. (#2008)
REVERT: 907d1d9ada doc: modified the todo section. we now have exit_worker_by_lua (#2009)
REVERT: 297e73cde6 bugfix: the error message should use the first line rather than the last line of the code block when load lua code block failed. (#2005)
REVERT: 2615bafa34 bugfix: segment fault when get header via ngx.req.raw_header with malformed requests.
REVERT: 8cf9c632d8 travis-ci: upgraded openssl to 1.1.1m, pcre to 8.45. (#2002)
REVERT: 8b497f5a56 change: delete useless code for get old_cpath. (#2000)
REVERT: ce8405c73b bugfix: ngx.run_worker_thread injected api into the wrong table.(#1996)
REVERT: fa5982c639 tests: t/140-ssl-c-api.t failed because got wrong libssl.so.
REVERT: a41fdcea49 feature: add api to fetch raw nginx ssl pointer of the downstream request.
REVERT: 5f02311a9f feature: ssl/tls: support for passphrase protected key. (#1991)
REVERT: 7eb8ad0251 bugfix: ngx.pipe waits until timeout because child process forgot to close pipe after dup2.
REVERT: 30debf6740 doc: mentioned OpenResty.
REVERT: 320f030785 doc:move all the discouraged *_by_lua documentation to *_by_lua_block
REVERT: 1637b35349 tests: travis.yml: ngx-releng depends on ack. (#1986)
REVERT: f36fe2982b feature: expose the 'Last-Modified' response header as ngx.header["Last-Modified"]. (#1983)
REVERT: 75c68b225a bugfix: posted event handler was called after event memory was freed. (#1982)
REVERT: de09fc6ccb tests: removed duplicated c declaration in t/140-ssl-c-api.t.
REVERT: 2fce8ca380 optimize: don't calculate hash when clearing the request header.
REVERT: 85388f4ef6 feature: check the number of parameters for ngx.thread.wait
REVERT: d0e56ca146 optimize: don't calculate hash when clearing the header.
REVERT: a276476266 change: use nil instead of false when lpush&rpush overflow. Co-authered-by: lijunlong<lijunlong@openresty.com>
REVERT: b67b22af88 feature: prevent calling ngx.exit() with invalid values.
REVERT: 0b6da3b6ce feature: added ffi-based function 'ngx_http_lua_ffi_req_is_internal'.
REVERT: e98f5c508f doc: Clarify ngx.req.set_header usage for proxies.
REVERT: 5483b9157c feature: added http const HTTP_NOT_IMPLEMENTED, fixes #1466. Co-authored-by: lijunlong <lijunllong@openrestycom>
REVERT: 37ec9f7561 doc: Readme: completed the Installation part, with add lua-resty-core and lua-resty-lrucache.
REVERT: 94fa662bc3 style: removed extra space. (#1981)
REVERT: 6302d47409 tests: NGINX_TEST_CHECK_LEAK detects memoryleak because nginx can not free resolver ctx quickly. This was introduce in commit acd53645754ce which is use to resovle double free of resolver ctx. This issue happens only when nginx can not get any reply from the dns server until timeout.
REVERT: 94dd3ac940 style: updated the indentation of .travis.yml according to the yaml specification. (#1976)
REVERT: 3229945a2f bugfix: prevent illegal memory access in ngx_http_lua_util.c. (#1974)
REVERT: ce8fd0268c tests: fixed test plan for 129-ssl-socket.t and 162-exit-worker.t. (#1972)
REVERT: 0b98a58ada tests: 132-lua-blocks.t and 158-global-var.t: use RegExp instead of strict character match. (#1971)
REVERT: 91907a0f31 bugfix: forgot to clean up the cached thread contexts when worker process exits. (#1968)
REVERT: 892ed514f7 tests: skip test cases for unsupported event types. (#1967)
REVERT: 9a93a3a0b5 travis-ci: bumped the NGINX core to 1.21.4. (#1964)
REVERT: 9e692e29cf travis-ci: updated ftp.pcre.org to sourceforge mirror. (#1965)
REVERT: e682133289 tests: wrong pid path when running jobs greater than 1. (#1961)
REVERT: 751667913e style: changed the comment a bit.
REVERT: 931f62799c bugfix: ngx_http_lua_assert failure in ngx_http_lua_worker_thread.c. (#1960)
REVERT: 3f33dd862a optimization: removed superfluous code from shdict_store. (#1956)
REVERT: 560461e1f9 tests: updated the test cases in t/104-req-raw-header.t to reflect the changes in nginx.
REVERT: 913b5583bf tests: updated the test cases in t/020-subrequest.t to reflect the changes in nginx.
REVERT: 0dffd12277 travis-ci: bumped the NGINX core to 1.21.3.
REVERT: 73181ca90e bumped the API version to 0.10.21.
REVERT: 617cb5dadc style: removed extra space. (#1952)
REVERT: 557e0097dc tests: remove workflows/label.yml since it is not working properly. (#1950)
REVERT: 59d39ca2f0 doc: fixed spelling errors in the docs and code. (#1947)
REVERT: ccc748eafb bugfix: fix nginx crash caused by a bad format specifier.
REVERT: a6e9e11f14 doc: fixed code style and test case style found by ngx-releng.
REVERT: aeaecd6525 tests: added the missing test case which should be added in commit 5f47838e600.
REVERT: 5f47838e60 doc: clearify the missing the closing long bracket may due to the lua code is too long.
REVERT: 3f1c6834ee bugfix: fixed memcpy param overlap detected by asan.
REVERT: c4d5ae71e1 feature: allowed some ngx APIs to be used in worker thread.
REVERT: 421a8da81b chore: fix possible null pointer dereference found by Coverity.
REVERT: c4a3e34fca bugfix: we should use luaL_typename() with lua stack index.
REVERT: 07e11f3167 SSL: fixed potential leak on memory allocation errors. similar to https://hg.nginx.org/nginx/rev/8981dbb12254 If ngx_pool_cleanup_add() fails, we have to clean just created SSL context manually, thus appropriate call added.
REVERT: 7c60431a0a tests: travis failed due to the cetificat of Let's Encrypt expired. (#1939)
REVERT: acd5364575 bugfix: nginx crash when resolve an not exist domain in thread create by ngx.thread.spawn.(#1931)
REVERT: c4ca520322 tests: ca-certificates of Let's Encrypt has expired. (#1937)
REVERT: 1ea5b09f18 feature: auto assign pr to project (#1772)
REVERT: 250f31d011 tests: the certificate of the Let's Encrypt has expired. (#1929)
REVERT: a3ec1565e2 bugfix: should reset the value_len to 0 when reuse the expired list type key in shared dict. (#1928)
REVERT: 5095da4a54 change: do not need to create the Lua request ctx data table from C (#1926)
REVERT: 5425d6d8e6 bugfix: we should ignore match limit in DFA mode. (#1924)
REVERT: fef25815f1 feature: implemented the ssl_client_hello_by_lua_block and ssl_client_hello_by_lua_file directives for controlling the NGINX downstream SSL handshake dynamically with Lua.
REVERT: 776f829102 style: fixed some of the code style issues and add code style checking for the ci. (#1916)
REVERT: 3820d0e118 bugfix: buffer bloat and CPU 100% when download large file was filtered by body_filter_by_lua. (#1909)
REVERT: 86514c1e44 bugfix: fixed missing 'const' qualifier causing compilation failure on freebsd. (#1914)
REVERT: a9cd21e943 travis-ci: upgraded openssl to 1.1.1l.
REVERT: c297cf69f2 tests: improve test cases robustness.
REVERT: 89818721fe feature: implement the new ngx.run_worker_thread API to run Lua function in a seperated worker thread.
REVERT: 263bd0ca70 bugfix: should not allow to create timer in the exit process phase (#1907)
REVERT: b721656a91 bugfix: add nginx version condition for privileged agent connections. (#1903)
REVERT: 66a4d417d6 add privileged agent connections
REVERT: 53bd821990 travis-ci: remove clang compiler mode from travis.
REVERT: ccb0f8cc10 change: removed the openssl 1.0.2 in CI since it has been EOL ove a year, fix #1897. (#1899)
REVERT: bdd48a154c bugfix: we didn't exclude the ssl_verify_callback when compiling with LibreSSL (#1894)
REVERT: 223139d208 chore: fix typos introduced by PR #1890 (#1892)
REVERT: 6c1a2e95b8 bugfix: fixed typo introduced by 276f16af. (#1891)
REVERT: 276f16af49 feature: add lua_ssl_conf_command directive for setting arbitrary Ope… (#1890)
REVERT: f1b97e4507 feature: support environ in ngx.pipe on mac (#1882)
REVERT: 6ed8e4b0ff feature: allow to be compiled with LibreSSL 3.0+ (#1888)
REVERT: f72792234c doc: stripped line trailing whitespaces. (#1881)
REVERT: 68f6a1498e travis-ci: upgraded openssl from 1.1.1i to 1.1.1k. (#1868)
REVERT: 9007d673e2 bumped the API version to 0.10.20.
REVERT: dabc8e881f change: changed from graceful shutdown to abort when lua_resume return LUA_ERRMEM.
REVERT: d3a8626421 tests: suspected memory leak of 160-disable-init-by-lua.t when test with TEST_NGINX_CHECK_LEAK=1 because forgot to close the file. (#1877)
REVERT: 14ef2cb25c doc: added sample config directives for internal redirects, as reported by Jason Hoch.
REVERT: b8d5b379f8 tests: added a new rule about 'ngx_pass_open_channel()' to valgrind suppression file. (#1874)
REVERT: dcc77fae75 doc: documented the scope of ngx.ctx for timer handlers. thanks Jason Hoch for the suggestion.
REVERT: 5b90b1fae7 doc: recommend to renew ngx.timer.at regularly (#1876)
REVERT: a43cc398a8 doc: sync doc from README to ensure wiki2markdown.pl is work (#1875)
REVERT: 1c1bcfeb92 travis-ci: bumped the NGINX core to 1.19.9. (#1870)
REVERT: eb944dedd2 bugfix: correct the way to handle invalid quote in ngx.escape_uri/ngx.req.get_{uri,post}_args (#1862)
REVERT: 2abb142d2b tests: fixed typo in 162-exit-worker.t. (#1866)
REVERT: 88a52c44af chore: fix possible null pointer dereference found by Coverity (#1846)
REVERT: 9a3176e93f chore: fix possible null pointer dereference found by Coverity (#1844)
REVERT: 4d2d47ce56 chore: fix possible null pointer dereference found by Coverity (#1845)
REVERT: 23e40f3fd2 docs: fix spelling (#1841)
REVERT: 138c1b9642 src/ngx_http_lua_ssl_certby.c: fix possible null pointer dereference found by coverity
REVERT: 7bba6d1954 bugfix: fixed memory leak in debug log.
REVERT: 8f12a28e2e updated openssl to 1.1.1i. (#1836)
REVERT: 60e95eff35 doc: added new youtube video on luajit bytecode precompilation.
REVERT: b9b39645ff doc: added 1 more video.
REVERT: 99ea68a135 bugfix: we closed listener's fd which was closed. (#1832)
REVERT: d59afff27a doc: added our tutorial videos.
REVERT: 7105adaa52 bumped the API version to 0.10.19. (#1824)
REVERT: 83a61d6b45 optimize: post zombie thread: avoided the linear search. (#1823)
REVERT: 15197e7bba bugfix: accessed memory out of range when calling lua_pushfstring with none zero-terminated string introduced in commit 7367a231.
REVERT: 26809e75b9 tests: 106-timer.t: fixed test plan count.
REVERT: 98f482bfb1 bugfix: process may crash when a timer run failed and a function with arguments run inside this timer.  (#1819)
REVERT: e497ffc683 bugfix: ngx.resp.set_headers(): may cause an error when Content-Length field is larger than 2^32.
REVERT: 411a9aed7a tests: 124-init-worker.t: made the test robust by changing the match pattern for TEST 22. (#1817)
REVERT: 4653f2182e bugfix: fixed segfault caused by an incorrect format token introduced in commit 3e24a95a.
REVERT: 65d8750748 bugfix: wrong pipelined request body length when request body is parent's request body. (#1814)
REVERT: 8b9d7fdaef travis: openssl: enable threads.
REVERT: 50de32e850 travis: upgraded openssl 1.1.1 to 1.1.1h.
REVERT: 843e203016 bugfix: ngx.flush never blocks on http v2.
REVERT: ea6b07cd65 feature: implemented the new tcpsok:setoption() function for setting options for the TCP socket.
REVERT: 8ae3e73f20 tests: --- shutdown_error_log should be excluded from repeat_each() when counting plans.
REVERT: 7bccbbff62 tests: skip t/163-signal.t under hup reload test mode.
REVERT: de1c3c63b8 bugfix: entry threads would leak when exceeding the lua_max_running_timers limit. this regression had appeared in commit 4de59f5da or v0.10.18rc2.
REVERT: e16d217a11 optimize: removed useless code for luajit without the lua_resetthread API.
REVERT: 186c847382 debug: added more debug info to monitor the main lua stack size in timer creation code.
REVERT: fdf752daf8 feature: added undocumented API for attaching arbitrary key-value pair data to a cosocket TCP connecton, which can survive connection pool reuse.
REVERT: 7367a2314c bugfix: ngx.resp.get_headers(): may return a wrong (like: negative) value of the Content-Length field when it is larger than 2^32.
REVERT: 57ebdd3439 bugfix: should still use timer instead of delayed_events when worker process is exiting, otherwise the new created 0 delay timer may have no chance to run.
REVERT: ff81634233 optimize: added the "ev" to ngx_posted_delayed_events instead of the rbtree for 0 delay timer, so that we can save an epoll wait in such case.
REVERT: df4033d13c travis-ci: bumped the NGINX core to 1.19.2. (#1793)
REVERT: 0bccfb30fb style: added "static" for the "ngx_http_lua_module_ctx" (#1794)
REVERT: 2c5b189334 feature: implemented the new ngx.ssl.server_port() API to get server port.
REVERT: d8b408a7f1 bugfix: build error with nginx 1.7.4 or older version
REVERT: 2d82f078a1 bugfix: we now only recycle light threads which are "entry threads" otherwise it is not safe to recycle user created threads since we have no idea whether the user may still hold refs to them.
REVERT: b281121303 optimize: now we make use of the new lua_getexdata2 and lua_setexdata2 to attach coctx to the Lua thread objects directly which save the lookup overhead which can become the bottleneck when there are many Lua light threads around in a single request handler.
REVERT: 021b75b889 travis: fixed the luajit branch.
REVERT: 4de59f5dac feature: now we recycle lua thread GC objects for our "light threads" and added lua_thread_cache_max_entries directive to configure the cache size.
REVERT: 4695419bd3 bumped the API version to 0.10.18.
REVERT: ce30a08864 feature: added new C API ngx_http_lua_pcre_version to wrap the pcre_version() C API in libpcre.
REVERT: ef9e7507a5 updated .gitignore a bit.
REVERT: ac9836f97b bugfix: double values larger than int32_t were incorrectly printed out as 64-bit integers.
REVERT: 85fb9b8395 test: make the 030-uri-args.t more robust since there is no fixed order in lua table. (#1797)
REVERT: 4d2a04a081 test: increased time unit to make test less error-prone
REVERT: db1999816e bugfix: the format in argerror messages are incorrect (#1787)
REVERT: 97b91899c9 bugfix: when recreating balancer buffer, remove existing buffers first (#1770)
REVERT: 172c2145e1 doc: fixed broken links.
REVERT: 9416eadfaa doc: minor link tweaks.
REVERT: b1a3b5d16a style: removed a line-trailing space found by ngx-releng.
REVERT: 2db0e82469 doc: minor link tweaks.
REVERT: b4f464a909 doc: added a link to new blog post "Introduction to Lua-Land CPU Flame Graphs".
REVERT: e86d41f50a bugfix: added missing SSL feature macro (#1776)
REVERT: 218af5ee90 feature: shared ngx.ctx among SSL_* phases and the following phases. (#1514)
REVERT: d6a29d2611 feature(socket.tcp): enhance the logic of parameter verification in connect
REVERT: 21cfd8ab26 doc: ported recent changes in mardkown to the wiki file.
REVERT: b0875fa8f8 doc: added more blog post links.
REVERT: 3e24a95a27 bugfix: the body size may overflow since the size_t is only int32 in 32-bit system (#1756)
REVERT: eeee4069e0 doc: ngx.var.VARIABLE is available in the balancer_by_lua* context (#1761)
REVERT: 49937fb69a doc: removed the useless semicolon in the example lua code
REVERT: 83bfe91572 doc: added a blog post link.
REVERT: f6b486b24e doc: fixed the wrong phase for lua_need_request_body (#1758)
REVERT: bdfc4bfc07 doc: removed the useless semicolon in the example lua code (#1757)
REVERT: e526caeeb2 feature: added the `ngx_http_lua_ffi_balancer_recreate_request` FFI function to allow recreation of request buffer in balancer phase. (#1734)
REVERT: c0e460a538 feature: add FFI interface to verify SSL client certificate (#1666)
REVERT: fd25474917 test: use official repo instead of third pard repo
REVERT: 393c954700 feature: added exit_worker_by* to run Lua code upon nginx worker process exit. (#1682)
REVERT: 1669904d53 * optimize: avoided use of lua_tolstring in ngx_http_lua_calc_strlen_in_table, ngx_http_lua_copy_str_in_table, ngx_http_lua_socket_udp_send, log_wrapper and ngx_http_lua_ngx_echo.
REVERT: b050e1c944 sytle: added blank line after code block. (#1752)
REVERT: af74842019 test: fix: add lua-resty-string to lua_package_path (#1748)
REVERT: 4368a8ea27 bugfix: macro contains operator should be wrapped inside a bracket.
REVERT: 635b6e864c feature: supported receiveany on ngx.req.socket(true?) socks (#1623)
REVERT: a4d63f7f7f refactor: used 'yieldable context' to simpify the context list.
REVERT: c366f3a9bd doc: fixed an unclosed <code> tag breaking the markup.
REVERT: c48eeed509 tests: 161-load-resty-core.t: added vim mode line.
REVERT: 2d23bc4f0a bumped version to 0.10.17.
REVERT: 9ab38e8ee3 bugfix: prevented request smuggling in the ngx.location.capture API.
REVERT: 6913b1b1e6 doc: updated the Version section to reflect the release date.
REVERT: c2565fe799 tests: added test cases for sending HUP signal to nginx processes without the master process.
REVERT: aa548f5385 tests: fixed an error message to reflect new changes in lua-resty-core.
REVERT: bb045f2d8d feature: ngx.escape_uri: added new optional 'type' argument not_component argument for pure URI escaping (still defauls to URI component escaping).
REVERT: 5d15172687 feature: ngx.req.set_uri(): added the 'binary' optional boolean arg to allow arbitrary binary data in the unencoded URI.
REVERT: 8746f64051 doc: ngx.req.set_uri_args: fixed byte ranges for automatic escaping.
REVERT: e1e335fd7f security: ngx.req.set_header(): now we always escape bytes in header names and header values which are prohibited by RFC 7230.
REVERT: be35318272 doc: more typo fixes.
REVERT: 2a6c9a63e2 doc: minor typo fixes.
REVERT: c6ffcfbf37 tests: added test cases for the nginx core patch static_mod_escape_loc_hdr.
REVERT: 785fb57094 feature: ngx.req.set_uri_args() now automatically escapes control and whitespace characters if the query-string is provided directly.
REVERT: 99a5a6bcb4 test: used the iptable -I option to insert rule to the head of the filter chain.
REVERT: f655b0e19a feature: add mergify.yml to manage our pr
REVERT: c86819f0b0 doc: updated the docs on the limits of subrequests to reflect recent changes in the nginx core.
REVERT: 8ac6cc7285 doc: made the code examples more realistic (better for direct copy&paste use).
REVERT: d278043fb0 doc: added docs for working around memory fragmentation issues to the shdict:set() method.
REVERT: 23d2bc10a1 bugfix: ngx.req.set_uri_args() threw an exception with wrong argument info.
REVERT: 678988696a bugfix: set_by_lua_block allowed more than one arg (in addition to the block).
REVERT: 8c9968bd47 doc: fixed a few typos/wording issues in readme. (#1712)
REVERT: febd730062 travis-ci: bumped OpenSSL to 1.1.1g.
REVERT: 50c1912ef7 misc: ngx_http_lua_logby.c: removed duplicate headers.
REVERT: 6e48a804f7 style: ngx_http_lua_socket_tcp.c: ensured two blank lines between functions.
REVERT: 896638287a style: fixed a minor styling issue in 'ngx_http_lua_initworkerby.c'.
REVERT: efd284106b travis-ci: bumped OpenSSL to 1.1.1f and fixed older versions downloads.
REVERT: beb5c6ba03 bugfix: allow the use of spaces in 'ngx.req.set_uri()'.
REVERT: 6d270c32f1 doc: fixed the return value name in 'ngx.worker.id()' documentation.
REVERT: 66026039d1 doc: clarify ngx.timer.every callback argument conventions, #1409.
REVERT: f991f3e10f travis: fixed the warnings from build config validation.
REVERT: f45d4e999c bugfix: overrided the input header only for the first time
REVERT: f6ff2890cb misc: avoided warnings with old gcc versions due to incorrect inline definition and renamed functions for clarity.
REVERT: 3908769d39 travis: upgraded pcre to 8.44.
REVERT: ada56de571 updated .gitignore.
REVERT: 79b3bd3cf2 config: more followup fixes in autoconf feature tests.
REVERT: 3a37c9c618 bugfix: FFI availability feature test was broken on Windows.
REVERT: 38f587a35e bugfix: ensured arguments of APIs mutating uri or request/response headers do not contain unsafe characters. (#1654)
REVERT: be864c2afd travis-ci: upgraded OpenSSL to 1.1.1e.
REVERT: 43220429e5 tests: fixed numbering thanks to the reindex script.
REVERT: ec3b219e64 tests: fixed a newly failing test due to changes in openresty.org accepted ciphers.
REVERT: 4c4bb0fcbd bugfix: fixed use of uninitialized cache_key in ngx_http_set_by_lua_file.
REVERT: 52f0d95fa4 doc: sync the minor change (in the last commit) to README.markdown from the HttpLuaModule.wiki file.
REVERT: 6b79cd4413 doc: minor grammar typo fix (#1642) (#1643)
REVERT: 9259e7a343 tests: 139-ssl-cert-by.t: relaxed timing test cases for tvw test mode.
REVERT: 8669e0985d bugfix: ngx.pipe: ensured reading while a process died returns the "closed" error.
REVERT: 743773bfb0 tests: fixed a newly failing test due to openresty.org now rejecting TLSv1 connections.
REVERT: 1d9298d643 bugfix: fixed use of an uninitialized value in ngx_http_lua_set_by_lua_file.
REVERT: 028c0d4951 doc: mentioned that 1.17.8 is the latest NGINX core version tested.
REVERT: c06793c3e1 travis-ci: bumped the NGINX core to 1.17.8.
REVERT: d328e5620e tests: 025-codecache.t: updated a test case to avoid error logs in stderr.
REVERT: c2390abb58 Revert "bugfix: ensured 'init_worker_by_lua*' does not mutate another NGINX module's main_conf."
REVERT: e328645430 change: we now ignore 'lua_regex_*' directives when NGINX is compiled without PCRE support.
REVERT: 8f518e7d92 travis-ci: bumped OpenSSL to 1.0.2u.
REVERT: 760f7073da feature: implemented the FFI interface for the 'ngx_req.add_header()' API.
REVERT: 7c5b11d737 tests: 124-init-worker.t: fixed a few failing test cases.
REVERT: a3ac3f557e style: updated 'nginx_version' guard macros assuming it is always defined.
REVERT: 771eb231e5 misc: ngx_http_lua_util.h: removed 'ngx_str_set' definition as it is defined in NGINX 1.6.0+
REVERT: d1e55394ea misc: removed dead code, guard non-OpenResty LuaJIT definitions, and fixed styling issues.
REVERT: 478bae6fc1 doc: readme: mentioned that the latest tested NGINX core is 1.17.4.
REVERT: 4e593c335f travis-ci: bumped the NGINX core to 1.17.4.
REVERT: 69780f6769 bugfix: config: fallback to '--undefined' option for ld 2.25 and below.
REVERT: d062170e94 feature: implemented the 'ngx.crc32_short' and 'ngx.crc32_long' C FFI APIs.
REVERT: 50dabbc3ae travis-ci: bumped OpenSSL versions to 1.0.2t, 1.1.0l, and 1.1.1d.
REVERT: fd1e0f89e4 feat: config: added a check for Lua language version 5.1.
REVERT: 9b224957f6 doc: readme: minor updates to align with the ngx_stream_lua module README.
REVERT: 4c943b9447 tests: 087-udp-socket.t: removed a duplicated test case.
REVERT: 70484bcbe4 tweaks: ported adjustments and missing test cases from the ngx_stream_lua module.
REVERT: 315330ac09 bugfix: config: ensured LuaJIT FFI check and static PCRE builds succeed on all platforms.
REVERT: 2a190736a5 change: removed error logging on coroutine runtime errors.
REVERT: 9a892b8d5d bugfix: coroutine.wrap: propagate errors to the parent coroutine.
REVERT: c658e22606 tests: 139-ssl-cert.t: added test cases asserting support for 'ngx.thread.kill()' and 'ngx.socket.udp' in 'ssl_certificate_by_lua*'.
REVERT: 97f0101e52 feature: enabled the 'ngx.thread' and 'ngx.socket.udp' APIs in ssl_session_fetch_by_lua*.
REVERT: 97431d8141 bugfix: fixed compilation with NGINX cores < 1.11.11
REVERT: 189ba24ef4 feature: when a timer fails to run we now log the location of its function's definition.
REVERT: 4b9e53f748 feature: ngx.pipe: allowed for calling resty.core 'ngx_pipe.shutdown()' on a sub-process when a light thread is waiting on it.
REVERT: 8573c1c5d8 feature: ngx.pipe: allowed for specifying timeouts in resty.core 'ngx_pipe.spawn()'.
REVERT: d154e5a7c1 doc: readme: removed all mentions of PUC-Rio Lua and fixed styling and grammatical issues.
REVERT: c5135a0511 change: removed compatibility code for unsupported NGINX versions (< 1.6.0).
REVERT: 947fa0088b change: retired the old CFunction API when newer FFI implementations are available.
REVERT: 60736e686a change: 'resty.core' is now mandatorily loaded, and the 'lua_load_resty_core' directive is deprecated.
REVERT: a96e99ab1a change: we now prevent compilation with PUC-Rio Lua; only LuaJIT 2.x is supported.
REVERT: 2f270642bf bugfix: fixed file cache key size allocation.
REVERT: 6b3822b18c bugfix: added missing arguments to an 'ngx_log_error()' call in ngx_http_lua_pipe.c.
REVERT: 9fa316f50b tweak: updated the debug log in 'ngx_http_lua_socket_tcp_conn_op_ctx_cleanup()' to align with the meta_lua module.
REVERT: ba182dd599 style: fixed some minor styling issues to align with the meta_lua module.
REVERT: eed28fca8d optimize: fixed the pre-allocated number of keys in the 'ngx.socket.tcp' table.
REVERT: 6c25b7bea9 optimize: removed declaration of obsolete 'ngx_http_lua_inject_logby_ngx_api' function.
REVERT: d313bf8dea bugfix: ensured the 'pcre_version' symbol is also preserved on Darwin platforms.
REVERT: c618d0d239 bugfix: fixed compilation errors encountered with ngx_stream_lua due to a recent commit.
REVERT: 881bf91da6 bugfix: ensured arguments of APIs mutating response headers do not contain '\r' and '\n' characters.
REVERT: 246ec8ac48 refactor: simplified Lua chunk and file cache key generation.
REVERT: f45908cd32 refactor: reduced cache key size by removing unnecessary chunkname component.
REVERT: bd83c656d5 tests: codecache.t: moved and reinforced a test case ensuring *by_lua directives with identical Lua chunks produce distinct cache keys.
REVERT: 0c755ed892 bugfix: ensured set_by_lua_file with nginx variables re-computes closures code cache key.
REVERT: 39c2ead3cb optimize: improved code cache lookup performance by using 'luaL_ref()' to avoid the costly 'lj_str_new()'.
REVERT: bf11f67d8c tests: codecache.t: added tests for code cache behavior with *_by_lua_file directives containing NGINX variables.
REVERT: e42f9b5f65 doc: updated the section on OpenSSL and NGINX patches in the 'ssl_certificate_by_lua*' documentation.
REVERT: 09484e8fda bugfix: ensured 'init_worker_by_lua*' does not mutate another NGINX module's main_conf.
REVERT: b6875300b7 doc: mentioned that we support NGINX 1.17.x.
REVERT: cf77a42c4e doc: removed TODO items that have been taken care of.
REVERT: de60e555a3 travis: added OpenSSL 1.1.1c to the tests matrix.
REVERT: 467f0134db tests: added tests asserting that 'ssl_certificate_by_lua*' and 'ssl_session_fetch_by_lua*' can yield when reading early data.
REVERT: d3dbc0c810 bugfix: skipped 'ssl_session_store_by_lua*' and 'ssl_session_fetch_by_lua*' when using TLS 1.3.
REVERT: 2014dd80fe bugfix: ensured the 'pcre_version' symbol is preserved as undefined when PCRE is statically linked.
REVERT: 277d382f51 api: bumped API version to 0.10.16.
REVERT: 2524330e59 travis-ci: bumped the NGINX core version to 1.17.1.
REVERT: 65bdd4a838 tests: 139-ssl-cert-by.t: downgraded error log level of SSL handshake failures from 'crit' to 'info'.
REVERT: 4e974ba961 doc: updated ssl_session_fetch_by_lua_block documentation around OpenSSL and NGINX core patches.
REVERT: b0c7373917 Revert "feature: added OpenSSL 1.1.1 support to ssl_session_fetch_by_lua*."
REVERT: 81344434aa doc: fixed a mistake in ngx.location.capture() example in README.md.
REVERT: 32dd6a34a1 style: fixed a minor alignment issue in ngx_http_lua_ssl_certby.c.
REVERT: 59b6430f7b bugfix: LuaJIT sets currentline to -1 if it is unavailable.
REVERT: a38d906678 feature: added OpenSSL 1.1.1 support to ssl_session_fetch_by_lua*.
REVERT: 3a5872969c travis-ci: bumped OpenSSL to 1.0.2s and 1.1.0k.
REVERT: 33a5517c9c tweak: fixed some warnings from the clang static code analyzer.
REVERT: 4102b82cd0 tests: 161-load-resty-core.t: added a test asserting the directive honors 'lua_package_path'.
REVERT: 1882c30a08 doc: we now work with nginx 1.14.x and 1.15.x.
REVERT: a7afd56c66 feature: added support for specifying environment variables in ngx.pipe spawn() FFI API.
REVERT: 1c756b385d doc: fixed a mistake in tcpsock:receiveany() example in README.md.
REVERT: 30678fd5b9 tests: ssl-socket.t: fixed a failing test case due to openresty.org's default cipher.
REVERT: 441c7f626a tests: re-enabled a test case for using ngx.re.match in init_by_lua*.
REVERT: 28cf5ce3b6 feature: added the FFI API for 'str_replace_char()'.
REVERT: f87d1f1651 bugfix: ngx.pipe: cleared the pending event after aborting the uthread.
REVERT: 86941a706b tests: 123-lua-path.t: fixed a few test cases failing in EC2 to-ngx_lua suite.
REVERT: 7be0a4dc93 doc: fixed a typo in README.md.
REVERT: 61e4d0aac8 tests: fixed a few failing test cases due to loading resty.core.
REVERT: fccf383ae8 tests: fixed default lua path to load resty.core from many test cases.
REVERT: 87f0a09a60 feat: implemented the lua_load_resty_core directive which loads resty.core by default.
REVERT: 7ac6f3f67d doc: fixed a typo in a comment from ngx_http_lua_common.h.
REVERT: 95a2e59bfb tests: removed obsolete drizzle upstream block in init.t.
REVERT: 12d991e182 api: bumped API version to 0.10.15.
REVERT: afeeb84b08 bugfix: ngx.pipe: fixed a segfault when error_log is configured with syslog.
REVERT: 2bc20ccb04 travis-ci: switch to xenial image
REVERT: 15b01c66f7 tests: fixed the tests using iscribblet.org which would time out now.
REVERT: a92cf7255c tests: fixed failures due to recent CDN changes.
REVERT: 83ca6b57ae doc: bumped version to 0.10.14.
REVERT: ee47e55eb5 bugfix: ngx.pipe: proc:wait() returns false only when the sub-process exited abnormally.
REVERT: c368af2f07 tests: 159-sa-restart.t: avoided sending SIGWINCH to the test nginx worker process.
REVERT: 761ddca72d bugfix: ensured we cleanup up aborted queued connect operations.
REVERT: 8edb21abcc bugfix: only update connections count when cosockets are truly associated with the socket pool.
REVERT: fd90f4e825 doc: one followup tweak.
REVERT: 4ebab2b8a3 doc: emphasized that this module is a core component of OpenResty.
REVERT: cf887654a2 tests: switched to 127.0.0.2 instead of agentzh.org for timeout-related tests.
REVERT: 01735c27fe tests: hardened a few flaky test cases from recent CI runs.
REVERT: 70dd0bee4c tests: fixed a test case in 068-socket-keepalive.t which always fails when a local dns server is running.
REVERT: 9750a81731 tests: fixed new test failure due to openresty.org server changes.
REVERT: b2af4d3690 bugfix: inlined Lua code snippets in nginx.conf failed to use the Lua source checksum as part of the Lua code cache key. thanks Oleg A. Mamontov for the report in #1428.
REVERT: f627f4c546 tests: t/160-disable-init-by-lua.t: hardened test suite to prevent false positives.
REVERT: 055bb17c6c bugfix: fixed a segfault introduced in 7c2b58e when testing an nginx configuration containing 'lua_shared_dict' directive(s).
REVERT: aef03eb331 feature: added the C API to support the 'ngx.pipe' module provided by lua-resty-core.
REVERT: 2c8984934c travis: bumped the nginx core version to 1.15.8.
REVERT: bd9964e7f3 tests: fixed some test cases failing with the 1.15.8 nginx core.
REVERT: c2940c132b feature: added backlog queueing to cosocket connection pools.
REVERT: 2fb8f120c3 feature: added support for the Nginx builtin Link header.
REVERT: 248060b813 feature: errors are now logged when timers fail to run.
REVERT: 7c2b58ee7e change: we now avoid running init_by_lua* in signaller processes and when testing the nginx configuration.
REVERT: e76292dee5 tests: reindexed the t/158-global-var.t suite.
REVERT: fbb8919300 change: we now avoid generating the Content-Type response header when getting all response headers.
REVERT: cec2a09def bugfix: ensured Content-Type header gets generated when other headers get set.
REVERT: 637a4c645e doc: updated the copyright year to 2019.
REVERT: 017e00462a bugfix: we now avoid generating a Content-Type header when getting/setting other response headers.
REVERT: ab2e2718bf tests: updated the test suite so that it can be run in parallel mode.
REVERT: 5d924cc637 tests: require: hardened lua_path and lua_cpath regexes.
REVERT: f63af5dc0e travis-ci: upgraded openssl to 1.0.2q and 1.1.0j.
REVERT: 11a31b5409 tests: increased the timeouts of some ssl cosocket tests.
REVERT: ec0d5768b2 doc: noted that ngx.req.get_method can be used in the body_filter_by_lua* and log_by_lua* phases.
REVERT: 60225ad19f bugfix: the lightuserdata mask was broken in WIN64.
REVERT: b4ade78874 bugfix: we now only apply the lightuserdata mask on platforms that are at least 64bits.
REVERT: 1c72f57ce8 feature: added an FFI API for retrieving env 'directives' values.
REVERT: 2f7c65009d feature: implemented a new 'lua_sa_restart' directive, which sets the SA_RESTART flag on nginx workers signal dispositions.
REVERT: c65f5738a2 bugfix: the 'dd' calls in ngx_http_lua_util.h are now guarded by '#ifdef DDEBUG' .
REVERT: 3754757be7 change: we now print an alert when a non openresty-specific version of LuaJIT is detected since many optimizations would be missing.
REVERT: 1a73e0ab79 doc: ported the Lua 5.1 interpreter removal to the wiki document.
REVERT: 08a9baa92b bugfix: ngx.process: process.type() didn't return 'master' in master process.
REVERT: 09a3654606 tests: declared many variables as local to avoid triggering the new _G write guard.
REVERT: 5efd95d793 doc: updated the docs to reflect the change that we now no longer support the standard Lua 5.1 interpreter in this module. also recommended OpenResty's LuaJIT branch version instead of the stock LuaJIT.
REVERT: c9eca03ebb misc: updated _G write guard message to be more accurate.
REVERT: 84338ab85e typo: fixed a debug log in access and rewrite handlers.
REVERT: ebfa66ceb7 misc: rename a test file to be properly ordered.
REVERT: d067594ca2 bugfix: silenced -Wcast-function-type warnings.
REVERT: 7286812116 feature: added support for ARM64 (Aarch64).
REVERT: f64ec8c905 bugfix: tcpsock:setkeepalive: worker processes might take too long to gracefully shut down when the keep alive connections take a long max idle time.
REVERT: e94f2e5d64 bugfix: fixed segfault in NGINX core >= 1.15.0 when init_worker_by_lua* is used.
REVERT: 576a10d246 doc: mention that ngx.req.set_body_data() and ngx.req.set_body_file() must read the request body.
REVERT: 8ba33dac05 optimize: removed a duplicated include directive in ngx_http_lua_regex.c.
REVERT: 55743aeba3 bugfix: when variable is cacheable and indexed, setting the request "Host" header should clear any existing cached $host variable value so that subsequent reads return the expected result.
REVERT: 70b843f825 tests: upgraded openssl version to 1.1.0h.
REVERT: 6bbfffdece tests: we failed to enable master process when configuring multiple workers.
REVERT: 9112536b15 api: bumped API version to 0.10.14.
REVERT: b5ffb11fe1 feature: implemented the receiveany() upstream cosocket method.
REVERT: 5a3c48d23c doc: fixed the links to ssl_session_store_by_lua_block.
REVERT: 15e93a11ed restored the change in commit 4ff3dd14ed since it only changed the auto-generated README.markdown. alas.
REVERT: 612931c0f1 doc: bumped version to 0.10.13.
REVERT: 0605709c32 bugfix: fixed compatibility regressions on Win32. this regression had appeared in commit 012f3163e.
REVERT: f341daa269 api: bumped API version to 1.10.13.
REVERT: 52af63a5b9 feature: ngx.req.get_post_args(), ngx.req.get_uri_args(), ngx.req.get_headers(), ngx.resp.get_headers(), and ngx.decode_args() now would return an error string, "truncated", when the input exceeds the max_args/max_headers limits.
REVERT: 19cc6bf8f5 tests: fixed a test case that cannot be run in parallel test jobs.
REVERT: 4ff3dd14ed doc: fix the link to ngx.ocsp's docs.
REVERT: 288ebdb93f doc: bumped version to 0.10.12.
REVERT: 91a0ad236c optimize: switched exptime argument type to 'long' in the shdict FFI API to mitigate potential overflows.
REVERT: 5196e65519 tests: remove google.com relevant ssl certificate test cases.
REVERT: 9ea1c06a64 feature: ngx_http_lua_ffi_set_resp_header(): now add an override flag argument to control whether to override existing resp headers.
REVERT: 53519cd7ac feature: allowed sending boolean and nil values in cosockets.
REVERT: 6d4475ae3e tests: increased timeouts to avoid failing in mockagain writing test mode.
REVERT: 809192c96c feature: api.h: exposed the ngx_http_lua_ffi_str_t type for other Nginx C modules.
REVERT: 23e69fb200 bugfix: ngx_http_lua_ffi_ssl_set_serialized_session(): avoided memory leak when calling it repeatly.
REVERT: 5cd103b1f6 optimize: avoided the string copy in ngx_http_lua_ffi_req_get_method_name().
REVERT: 80fa32c8d4 feature: added support for the 308 status code in ngx.redirect().
REVERT: 439a02ab99 typo: fixed an error message typo in set_der_priv_key().
REVERT: bb76eb123b change: switched to SSL_version() calls from TLS1_get_version().
REVERT: feae6e7753 doc: mentioned that OpenResty includes its own version of LuaJIT which is specifically optmized and enhanced for OpenResty.
REVERT: 3cde1d8aa1 doc: fixed some code comment typo.
REVERT: a698cb0989 doc: updated the NDK repo URL to github.com/simplresty.
REVERT: 3078ca6138 bugfix: we now throw a Lua exception when ngx.location.capture* Lua API is used inside an HTTP2 request since it is known to lead to hanging.
REVERT: df1b0198ff optimize: corrected the initial table size of req socket objects.
REVERT: 988756924b tests: removed duplicate entries in valgrind.supress.
REVERT: 00b92b3d00 style: fixed minor coding style issues found by ngx-releng.
REVERT: fcd0deafff ssl: support enabling TLSv1.3 via lua_ssl_protocols.
REVERT: 9e5cc6e239 bugfix: nginx rewrite directive may initiate internal redirects without clearing any module ctx and rewrite_by_lua* handlers might think it was re-entered and thus it might lead to request hang. thanks twistedfall for the report in #1235.
REVERT: 90d7522342 doc: added the new 'init_ttl' argument to the shdict:incr() documentation.
REVERT: a46862afec doc: updated the copyright years in markdown as well.
REVERT: 11aa4636ba bugfix: avoided sharing the same code object for identical Lua inlined code chunks in different phases due to chunk name conflicts.
REVERT: e343b3a14e tests: updated valgrind.suppress for latest glibc.
REVERT: c2b6ae2ae3 doc: updated the copyright years.
REVERT: d125123f8b tests: updated more uses of the server IP addr for agentzh.org to reflect recent changes.
REVERT: 051f35240c doc: setting ngx.header.HEADER no longer throws out an exception when the header is already sent out; it now just logs an error message.
REVERT: 9a3bbb6f2d tests: updated the server IP for agentzh.org to reflect recent changes.
REVERT: 071bb0ff64 doc: typo fix: fix core constants "NGX_XX" to "ngx.XX".
REVERT: 468403e371 feature: added the "init_ttl" argument to the pure C function for the shdict:incr() API.
REVERT: 5f6e740611 feature: added pure C APIs for the remaining time related Lua APIs (for lua-resyt-core).
REVERT: 6d0ecd617a doc: typo fix: fix "\d+" to [[\d+]].
REVERT: cf5fb98239 tests: corrected the No SNI, No verify case in 129-ssl-socket.t.
REVERT: 01b3145227 travis-ci: enabled openssl-1.1.0g builds.
REVERT: 7c8c503001 bugfix: fixed compatibility with older OpenSSL versions like 0.9.8 and 0.9.7. this regression had appeared in commit 7f108923b.
REVERT: 858753bb0d travis: upgraded pcre to 8.41 and openssl to 1.0.2n.
REVERT: 7f108923b0 feature: added support for OpenSSL 1.1.0.
REVERT: e51a4739a6 doc: typo fix: fix constrolled to controlled.
REVERT: 34d9298577 bugfix: ngx.req.raw_header(): the first part of the header would be discarded when using single LF as delimiter and the number of headers is large enough.
REVERT: c2f68a48ee style: minor coding style fixes suggested by our ngx-releng tool.
REVERT: 99a5ba2126 feature: added a pure C API function ngx_http_lua_ffi_raw_log for ngx.errlog module's rawlog() function in the lua-resty-core library.
REVERT: 51b7d649aa feature: added pure C API function ngx_http_lua_ffi_master_pid() for the get_master_pid() Lua FFI API in ngx.process of lua-resty-core.
REVERT: 20ffd853eb feature: implemented pure C function for the pure FFI version of the ngx.get_phase() API function in lua-resty-core.
REVERT: b1b1504ac4 tests: fixed broken SSL tests due to switch in CA for openresty.org.
REVERT: d6aa6ea1c7 tests: fixed typos in test tiles in t/124-init-worker.t.
REVERT: 81e140c59b bugfix: pure C API for ngx.var assignment: we failed to output the error message length.
REVERT: 18b5de576c bugfix: the upper bound of port ranges should be 65535 instead of 65536.
REVERT: 9de3dc7ef2 tests: updated the expected debugging log message for freeing cosocket connection pools.
REVERT: de3b7def1b feature: added pure C API for fetching client address in the SSL handshake phase.
REVERT: 4577a6fbc8 bugfix: freed all connections when cleaning up socket pools.
REVERT: 4e1a9e1d4f tests: relaxed the checks to account for timing races in error logs from multiple cache helper processes.
REVERT: 9279612507 bugfix: use of lua-resty-core's ngx.re API in init_by_lua* might lead to memory issues during nginx HUP reload when no lua_shared_dict directives are used and the regex cache is enabled.
REVERT: 012f3163eb optimize: destroy the Lua VM and avoid running any init_worker_by_lua* code inside cache helper processes.
REVERT: 7c7b2e0b11 api: bumped version to 0.10.12.
REVERT: 91d2cd61a7 bugfix: fixed a compilation error with nginx cores older than 1.11.2 due the lack of the ngx_inet_get_port() C API function (which was first added to nginx 1.11.2). thanks sumantdas for the report.
REVERT: 4f76a377ed feature: logged the tcp cosocket's remote end address when connect() times out and lua_socket_log_errors is on.
REVERT: 54135a03ef travis: always find out the external IP address of the current travis ci node to help debugging network issues.
REVERT: 7dc97df412 change: fixed a typo in a comment in ngx_http_lua_rewriteby.c.
REVERT: b2aae31a85 tests: use larger timeout threshold values for more openresty.org ssl tests.
REVERT: 3eb1d2f64f tests: use longer timeout threshold.
REVERT: 8af77d3ca7 doc: we should also work with nginx 1.12.x.
REVERT: ba2b605930 doc: we now work with nginx cores as new as 1.13.6.
REVERT: ed2c9f8e4d release 0.10.11.
REVERT: c6089171de tests: added full GC cycle operations to avoid false positives in the "check leak" test mode.
REVERT: 4b871b45e8 tests: made one stap-based test case less possible to fail due to timing error.
REVERT: 38780280c0 updated valgrind suppressions for the hv test mode.
REVERT: 5f766faf09 tests: added new valgrind false positives in the latest nginx core.
REVERT: fd5201c571 tests: valgrind.suppress: removed too aggressive suppressions in nginx mem pools and luajit lj_str_new.
REVERT: 201f7c051c travis: bumped nginx core version to 1.13.6.
REVERT: 7730490c1e dev: util/build.sh: now we require ngx_stream_lua_module to build (for testing and development).
REVERT: 56d3098816 bugfix: add fallthrough comment to silence GCC 7's -Wimplicit-fallthrough.
REVERT: 5900df4a6d doc: added "413 Request Entity Too Large" to the possible short circuit response list.
REVERT: 8dd4bdef6f doc: fixed strike-through in shdict.free_space.
REVERT: f829065b79 feature: shdict: added pure C API for getting free page size and total capacity for lua-resty-core.
REVERT: 59dff5eec3 tests: suppressed one more false positive.
REVERT: 97fbeb0bef bugfix: the ssl connections might be drained and reused prematurely when ssl_certificate_by_lua* or ssl_session_fetch_by_lua* were used. this might lead to segmentation faults under load. thanks guanglinlv for the report and the original patch in #1162.
REVERT: bf14723e4e tests: fixed a test case that might fail due to timing errors.
REVERT: 0c8df2fa69 Revert "tests: try to make a test case less possible to fail on slow machines."
REVERT: e5d7fc9fd5 tests: try to make a test case less possible to fail on slow machines.
REVERT: 93d1f30c3f bugfix: a followup fix for the previous commit.
REVERT: afbfe4cf74 bugfix: the timeout overflow checks did not work on 32-bit systems.
REVERT: aee660bdf9 bugfix: suppressed the gcc warning "comparison between signed and unsigned integer expressions".
REVERT: 4bbf39928c travis-ci: fixed the IPC::Run dep for Test::Nginx and also added nginx 1.13.5 to the matrix.
REVERT: 3266b40c7c doc: typo fix from dongbeiouba in #1158.
REVERT: 1d01a6d662 doc: documented the shdict:ttl() and shdict:expire() API functions.
REVERT: 37cbafe4eb tests: minor tweaks for the http2 test mode.
REVERT: 9a81a68641 feature: added pure C functions for shdict:ttl() and shdict:expire() API functions.
REVERT: c338c7b3fd api: bumped version to 0.10.11.
REVERT: ac7615a286 dev: util/build.sh: specify --with-pcre-jit for the nginx build.
REVERT: 837cecb647 tests: fixed ssl ciphers to reflect recent changes in openresty.org's mini CDN network.
REVERT: 1626aaa782 bugfix: *_by_lua_block might break nginx config dump (-T switch).
REVERT: c97473b5e6 bugfix: segmentation faults might happen when pipelined http requests are used in the downsteram connection. thanks Gao Yan for the report.
REVERT: 36d6ef406b bugfix: tcpsock:connect(): when the nginx resolver's send() immediately fails without yielding, we didn't clean up the coroutine ctx state properly.
REVERT: 77a2851636 bugfix: tcpsock: settimeout/settimeouts: throw an error when the timeout argument values overflow.
REVERT: 3fc5aea08f doc: simplified a Lua function call a bit.
REVERT: aee499ac21 doc: minor fixes.
REVERT: e96aec767d doc: fixed the stale Lua module preloading docs as reminded by Denis.
REVERT: b87ad242dc tests: skipped a test case which is known to leak memory when lua_code_cache is off.
REVERT: e9609d25cb valgrind: suppressed a known false positive inside the nginx core.
REVERT: cdd2ae921f bumped version to 0.10.10.
REVERT: 7b7178a958 bugfix: fixed a compilation error on Windows. this regression had appeaered in 0.10.9.
REVERT: 89de780222 doc: bumped version to 0.10.9.
REVERT: 82b2188712 tests: made 2 test cases less possible to fail on slower machines.
REVERT: 691370ec27 Revert "bugfix: ngx.escape_uri: we did not escape URI reserved chars. #1124"
REVERT: f170505186 bugfix: ngx.escape_uri: we did not escape URI reserved chars. #1124
REVERT: 0f0af50948 doc: fixed a typo in a code example for `ngx.re.match`.
REVERT: 51c14a8981 bugfix: segmentation fault might happen when a stale read event happens after the downstream cosocket object is closed. thanks Dejiang Zhu for the report.
REVERT: 2fd469d468 refactor: removed the duplicate C function decelaration for ngx_http_lua_socket_read_handler.
REVERT: c26854856a tests: added a test case to make sure $proxy_add_x_forwarded_for is accessible on the Lua land.
REVERT: 1e71ff2cba tests: fixed the vim mode line in a test file.
REVERT: a509476670 bugfix: ngx.semaphore: when nginx workers exit, the harmless error message "semaphore gc wait queue is not empty" might be logged.
REVERT: cc0a793a27 ocsp: removed a useless line of code, which unbreak the libressl build. thanks Kyra Zimmer for the original patch.
REVERT: ef4a0b1db5 tests: skipped the test case for lua_code_cache off + ngx.timer.every in the "check leak" test mode since there is a known memory leak in this case.
REVERT: 720bd5dbb9 bugfix: the fake requests/connections might leak when memory allocations fail.
REVERT: c372e1cc0a optimize: made ngx_http_lua_log_ringbuf_header_t have the same size on linux i386 and x64.
REVERT: 67664fef09 minor coding style fixes.
REVERT: e84d69b269 tests: made a slow test less possible to time out on slow machines.
REVERT: 81b8e4823d tests: made a test less possible to fail due to timing error.
REVERT: 4527ec0bb8 tests: relaxed the expected ouptut constraint in tests for testing ssl host name mismatch.
REVERT: 8827a7f833 bugfix: segmentation fault would occur when several server {} blocks listen on the same port or unix domain socket file path *and* some of them are using ssl_certificate_by_lua* configurations while some are not. thanks petrovich-ua for the report and original patch in #1055.
REVERT: bb30f6d8b6 bugfix: ngx.escape_uri() did not escape "|", ",", "$", "@", and "`".
REVERT: 3294b1dfd0 bugfix: ngx.encode_args() did not escape "|", ",", "$", "@", and "`".
REVERT: 66f0731281 bugfix: fixed several bugs in ngx_http_lua_log_ringbuf.c.
REVERT: 20d6558b07 feature: balancer_by_lua*: now the user Lua code can terminate the current request with arbitrary HTTP response status codes via ngx.exit().
REVERT: df708216cf feature: errlog capture: now we also record the UNIX timestamp (in sec with msec precision through the decimal part) for each error log entry.
REVERT: 031e000042 doc: use the .ljbc file extension instead of .luac for LuaJIT bytecode files.
REVERT: 9cb970978c tests: updated tests on ssl cosockets to reflect recent changes in our CDN network.
REVERT: 6f49242a8f fixed tests to reflect recent changes.
REVERT: 2360565f5f doc: fixed some typos detected by misspell.
REVERT: 69d995513b bugfix: the running timer counter might go out of sync when non-timer handlers using fake requests are involved (like ssl_certficate_by_lua* and ssl_session_fetch_by_lua*).
REVERT: 7a8798437a feature: added pure C API function +ngx_http_lua_ffi_errlog_get_sys_filter_level for ngx.errlog module's get_sys_filter_level() function in the lua-resty-core library.
REVERT: e80d292571 tests: ssl: avoided those domains using startcom ssl certificates.
REVERT: 993aec8eb4 refactor: removed the obsolete util/gdbinit script script. we have much better tools in openresty-gdb-utils already.
REVERT: 0c29793993 doc: made it explicit that shdict methods are all atomic.
REVERT: c1317e412f travis-ci: we no longer want to cover nginx 1.9.15.
REVERT: 2dd44623d7 feature: ngx.sleep(0) now always yield the control to the nginx event loop.
REVERT: 9b16e254e8 feature: implemented the ngx.timer.every() API function for creating recurring timers.
REVERT: 2a87704933 feature: added new pure C API ngx_http_lua_ffi_process_signal_graceful_exit() for the signal_graceful_exit() function of the ngx.process module in lua-resty-core.
REVERT: 76e2138975 change: renamed the C API function ngx_http_lua_ffi_errlog_get_logs to ngx_http_lua_ffi_errlog_get_msg.
REVERT: eb0bb28537 lua_capture_error_log: various documentation fixes and API name changes.
REVERT: ab63ba8df2 change: renamed lua_intercept_error_log directive to lua_capture_error_log.
REVERT: 4ed1f96051 doc: added more material on capturing error log filtering.
REVERT: 8d8f2c24a1 doc: documented the lua_intercept_error_log directive.
REVERT: 1a5a33e61f feature: added new config directive lua_intercept_error_log for capturing nginx error logs on Lua land.
REVERT: 6a2b4ff556 doc: a typo fix from Oleg Abrosimov.
REVERT: edbded4056 change: bumped API version to 0.10.9.
REVERT: 23cb8e8329 travis-ci: enable -msse4.2 when building luajit2.
REVERT: b98da9a191 feature: added pure C functions ngx_http_lua_ffi_worker_type() & ngx_http_lua_ffi_worker_privileged().
REVERT: f5633cacc0 feature: added pure C API for tuning the jit_stack_size option in PCRE.
REVERT: c03462637b change: removed util/reindex. put it into the openresty/openresty-devel-utils repo instead.
REVERT: ca8ed0e8cd doc: minor tweaks.
REVERT: 39bec7f40a doc: minor tweaks.
REVERT: 6c7ac361f3 doc: more tweaks in the Installation section.
REVERT: c7d9691e5b doc: more tweaks in the Installation section.
REVERT: 398db9517c doc: more fixes in the Installation section for OpenResty.
REVERT: 55f91d782b doc: updated the Installation section to reflect recent changes.
REVERT: e39e442911 bugfix: fixed typos in error messages.
REVERT: 0459a285ca feature: nginx 1.11.11+ can now build with this module.
REVERT: 4b72493423 tests: added passing test cases for testing Lua errors thrown in init_by_lua*.
REVERT: 975c3f8388 bumped version to 0.10.8.
REVERT: 385ae4cd15 tests: a followup fix for the previous commit (2ba183d3).
REVERT: 2ba183d3c2 tests: made a test for duplex cosockets less sensitive to timing error.
REVERT: 94248d64e4 tests: added valgrind suppression rules for false positives in nginx 1.11.11+ and pcre 3.40+'s JIT compiler.
REVERT: 844e842cb3 change: removed the use of luaL_getn() macro as it is no longer available in the latest LuaJIT v2.1. fixes #1029.
REVERT: 113d138096 bugfix: lacking the fix from #936 in the C API for lua-resty-core. #1031
REVERT: 6b01840dc9 change: disabled the mmap(sbrk(0)) memory trick since glibc leaks memory when it is forced to use mmap to fulfill malloc().
REVERT: 743a10ab07 travis-ci: avoided installing the Test::Nginx perl module; just use it right away.
REVERT: 312bf3ed18 tests: avoided flooding google dns servers in the check leak test mode.
REVERT: 8a6448a390 travis-ci: upgraded pcre to 8.40.
REVERT: 38dd154a78 doc: ngx.exit() also returns immediately in the balancer_by_lua* context. thanks Jinhua Tan for the patch in #1012.
REVERT: 2fd7daa698 bugfix: typo fix in C POST args handler debug log.
REVERT: fdbfdaecf8 semaphore: fixed a typo in a code comment.
REVERT: e86dd96628 doc: added more hints as comments to installation commands.
REVERT: 11495c28a0 util/reindex: tweaked the regex to avoid useless substitutions. this is a followup fix for commit 772e6fd.
REVERT: 3217a07816 util/reindex: fixed the shebang line.
REVERT: 2e7031f01d util/reindex: fixed the author and copyright notice.
REVERT: 772e6fdaa9 tests: removed superfluous empty lines at the end of the test files.
REVERT: 32fea9e665 util/reindex: trims the extra newline characters at the end of the test file.
REVERT: 7f9387cedc doc: fixed a typo.
REVERT: a14b9cd374 doc: various wording tweaks and more code examples.
REVERT: e73cd4b900 tweak: guarded SSL related function declarations with the macro NGX_HTTP_SSL.
REVERT: 4fb510f5fb fixed a function parameter name.
REVERT: e958cb2caf tests: fixed a bug in testing the nullness of cdata pointers.
REVERT: 827a5d6f83 feature: fixed build compatibility with BoringSSL.
REVERT: 5ae4aba838 travis-ci: upgraded openssl to 1.0.2k.
REVERT: 1028333e48 travis-ci: added checks for use of tabs and source lines exceeding 80 cols.
REVERT: 0c37062988 fixed a coding style issue in the previous commit.
REVERT: 5c54198a36 bugfix: tcp cosockets: sslhandshake(): typo in the error message.
REVERT: 1ada6d0e59 tests: require PCRE 8.39 instead of 8.33 to run our test suite.
REVERT: 39783100f5 feature: tcpsock:connect(): allows the options_table argument being nil.
REVERT: 5fdbb56ad5 bugfix: setting response headers would change the Content-Type response header.
REVERT: b3c872e124 added a passing test for #853.
REVERT: da11870db6 bugfix: balancer_by_lua*: the number of retres might exceed the limit of proxy_next_upstream_tries or alike.
REVERT: 5028d63536 doc: updated copyright notice.
REVERT: 3cf7062366 travis-ci: cosmetic "wget" improvement.
REVERT: e7031127e3 feature: added support for the 303 status code in ngx.redirect().
REVERT: 6e38c11eb4 tests: disable IPv6 in resolver.
REVERT: 9ed76a7328 travis-ci: several improvements.
REVERT: 26be99deff tests: t/090-log-socket-errors.t: avoided connecting to 8.8.8.8:80.
REVERT: 7c95034935 tests: added a passing test for ngx.re.find + \G regexes.
REVERT: db28ece8e4 doc: a typo fix from Andrei Belov.
REVERT: aa43ca0639 doc: stripped line trailing whitespaces.
REVERT: 793531df54 doc: removed ngx.re.split() from TODO section since it is already implemented in ngx.re.
REVERT: 5e59e8c897 bugfix: compilation failures with nginx cores older than 1.9.0.
REVERT: 4bc9042222 tests: fixed a perl warning "Unescaped left brace in regex is deprecated, passed through in regex".
REVERT: a24db2cb99 tests: ngx_http_fake_module: removed the coyyright notice since the copyright is already granted.
REVERT: 38dfb174a2 tests: fixed a bug in the example ngx_fake_delayed module. thanks Dejiang Zhu. also removed the copyright notice in this module since it is already granted.
REVERT: 0a83639f19 tests: avoided solving IPv6 addresses in more tests.
REVERT: 3b42b8bb8c tests: avoided solving IPv6 addresses.
REVERT: 0a1de31ff6 bugfix: C API: ngx_http_lua_add_package_preload() might not take effect when lua_code_cache is off.
REVERT: ce525fb506 tests: made tests less likely to fail due to bad network.
REVERT: 75b03949c1 doc: added a note about the LRU regex cache used in the ngx.re.* implementation of lua-resty-core.
REVERT: 0064324882 doc: bumped version to 0.10.7.
REVERT: 3cbe5be4a6 tests: skipped the newly added test case that cannot run in check leak test mode.
REVERT: 7bd68906b7 doc: log level constants are also available in init_by_lua* and init_worker_by_lua* contexts.
REVERT: ea92f7ea86 doc: documented the support of 307 status argument value in ngx.redirect.
REVERT: 5134a9c824 bugfix: segmentation faults might happen when ngx.exec() was fed with unsafe URIs (#905)
REVERT: 397f3663eb bugfix: ngx.req.set_header: skips setting multi-value headers for bad requests to avoid segfaults.
REVERT: 37e5362088 change: ssl_session_fetch_by_lua* and ssl_session_store_by_lua* are now only allowed in the http {} context.
REVERT: cf0623c648 tests: 147-tcp-socket-timeouts.t was failing in mockeagain read/write test modes.
REVERT: 521d802aaf tests: updated a shdict test case for i386 to reflect our recent optimizations in shdict storage layout.
REVERT: 6b2c9a3bf5 tests: updated the IP address of our own test server.
REVERT: 73bd64dbc1 feature: added public C API for 3rd-party NGINX C modules to register their own shm-based data structures for the Lua land usage (that is, to create custom siblings to lua_shared_dict).
REVERT: 40b61f40b2 doc: fixed the version number since which settimeouts() was first introduced.
REVERT: 28df10b166 feature: added a new api function tcpsock:settimeouts(connect_timeout, send_timeout, read_timeout).
REVERT: 66405877d6 bumped the API version to 0.10.7; also documented that lua_malloc_trim was first introduced in ngx_lua 0.10.7.
REVERT: 1173cc7c93 feature: added new config directive "lua_malloc_trim N" to periodically call malloc_trim(1) every N requests when malloc_trim() is available.
REVERT: 91fc078c44 doc: use *_by_lua_block {} in the examples.
REVERT: 74bad01b2c travis-ci: cache openssl-1.0.2h-sess_set_get_cb_yield.patch
REVERT: f7a0d58a4e travis-ci: upgraded openssl to 1.0.2j
REVERT: 5c491a59ce travis-ci: add nginx-1.11.2 (supported by openresty)
REVERT: d26ca9052d fixed a hard-coded IP address in a test case.
REVERT: da08f59ae5 optimize: optimized the shdict node struct memory layout which can save 8 bytes for every key-value pair on 64-bit systems, for example.
REVERT: 3bd4227ce4 made a resolver test case more tolerante.
REVERT: 7ecba5377f travis-ci: use openssl 1.0.2i.
REVERT: 61621e0d3a doc: fixed the link to qa.openresty.org.
REVERT: 8bfa895c30 fixed a code comment.
REVERT: d521167535 doc: fixed a typo.
REVERT: 92d1884250 doc: documented how to easily test the ssl_session_fetch_by_lua* and ssl_session_store_by_lua* locally with a modern web browser.
REVERT: 7d242ff79a doc: bumped version to 0.10.6.
REVERT: 4b8f26285a bugfix: *_by_lua_file: did not support absolute file paths on non-UNIX systems like Win32. thanks Someguynamedpie for the report and the original patch in #835.
REVERT: d802dbd87c tests: fixed more shdict list test cases that could fail on i386.
REVERT: 8d0ca5881f tests: fixed a shdict list test case that failed on i386.
REVERT: 8f16084958 tests: wait longer for CPU-intensive test cases for shdict lists for valgrind test mode.
REVERT: addfb0a809 bugfix: shdict lists: fixed new compilation warnings from the Microsoft C compiler. thanks itpp16 for the report in #836.
REVERT: 5dcf4e19e9 travis-ci: removed the env LUA_CMODULE_DIR=/lib which caused problems.
REVERT: f0687d94c6 doc: typo fix from Shuxin Yang.
REVERT: 65ccb56448 bugfix: ngx.exit() did not work at all in ssl_session_fetch_by_lua* and ssl_session_store_by_lua* when the FFI API is used (e.g., via lua-resty-core).
REVERT: 1de58835a5 feature: added new shdict methods: lpush, lpop, rpush, rpop, llen for manipulating list-typed values.
REVERT: d6258dae42 bugfix: build would fail when the http ssl module is disabled.
REVERT: ac89f23f57 travis-ci: disables caching the drizzle7 tarball.
REVERT: f714417abb Merge pull request #829 from doujiang24/doc
REVERT: aad4939877 doc: sync the change from README.markdown to wiki
REVERT: c5ada99473 doc: ngx.worker.count() is available in the init_worker_by_lua* context.
REVERT: b9bd8028fd feature: shdict:incr(): added the optional "init" argument to allow intializing nonexistent keys with an initial value.
REVERT: dbb48e33a7 bugfix: segmentation fault might happen in ssl_session_fetch_by_lua*, caught by the clang static analyzer.
REVERT: 5b2e1d20e5 tests: fixed a typo in the t/143-ssl-session-fetch.t test file.
REVERT: 5bcc53cab6 feature: implemented ssl_session_fetch_by_lua* and ssl_session_store_by_lua* config directives for doing (distributed) caching of SSL sessions (via SSL session IDs) for downstream connections.
REVERT: a5ac9fa2e6 bugfix: fake connections did not carry a proper connection number. thanks Piotr Sikora for the patch.
REVERT: b4609c10f5 bugfix: ngx_http_lua_ffi_ssl_create_ocsp_request: we did not clear the openssl stack errors in the right place.
REVERT: 3f4eba7aa8 skipped check leak mode for two test cases using malformed requests.
REVERT: 7c69ccdf75 renamed macro HAVE_UPSTREAM_TIMEOUT_FIELDS to HAVE_NGX_UPSTREAM_TIMEOUT_FIELDS.
REVERT: e90e0c1dd9 bugfix: ngx.sha1_bin() was always disabled with nginx 1.11.2+ due to incompatible changes in nginx 1.11.2+. thanks manwe for the report in #819.
REVERT: 522d2d58cb tests: 070-sha1.t: checks error messages in nginx error logs.
REVERT: 8a4328a3e7 feature: added pure C API for setting upstream request connect/send/read timeouts in balancer_by_lua* on a per session basis. thanks Jianhao Dai for the original patch.
REVERT: 347bb2fba4 added the PULL_REQUEST_TEMPLATE file.
REVERT: 83c07bd223 minor fixes in ISSUE_TEMPLATE.
REVERT: d519039952 tests: added a passing test case for github #816 where ngx.log() is used in balancer_by_lua*.
REVERT: 93f9f6036c feature: allow tcpsock:setkeepalive() to receive nil args.
REVERT: a27c11f9f7 travis-ci: moved package management under travis-ci "apt" plugin, also cached apt packages.
REVERT: 349ad466ee feature: ssl: add FFI functions to parse certs and private keys to cdata.
REVERT: b63ccaf31c bugfix: "lua_check_client_abort on" broke HTTP/2 requests.
REVERT: 473f7fa281 doc: documented that ngx.req.raw_header() does not work in HTTP/2 requests.
REVERT: 1779464462 removed the obsolete Changes file.
REVERT: d14871950f spelling corrections found via github.com/client9/misspell
REVERT: 8e6456e563 bugfix: specifying the C macro NGX_LUA_NO_FFI_API broke the build. thanks jsopenrb for the report in #802.
REVERT: b092aa6751 bumped the API version to 0.10.6.
REVERT: e7f6de01a2 bugfix: segfaults might happen when calling ngx.log() in ssl_certificate_by_lua* and error_log was configured with syslog. thanks Jonathan Serafini and Greg Karékinian for the report in #723.
REVERT: 6fb8a0e995 bugfix: fixed a typo in the error handling of the SSL_get_ex_new_index() call for our ssl ctx index. thanks Jie Chen for the report in #798.
REVERT: cb09230414 fixed various spelling errors in docs, source code, and tests.
REVERT: ff7e6a7a37 bugfix: fixed crashes in ngx.req.raw_header() for HTTP/2 requests.
REVERT: bcecaa07e2 tests: added a regression test for buffer split in block parsing (#687)
REVERT: e21d9b55e5 bugfix: when the nginx core does not properly initialize r->headers_in.headers (due to 400 bad requests and etc), more_set_input_headers might lead to crashes. thanks Marcin Teodorczyk for the report.
REVERT: 3010cadedb added an issue template for github.
REVERT: 1d3d441dc7 doc: bumped version to 0.10.5.
REVERT: 3b4a96363b bugfix: ngx.flush(true) calls right after ngx.send_header() was broken due to the previous commit.
REVERT: 547c961eff bugfix: ngx.flush() might lead to the "zero-size buf" alerts when ngx.print("") was called before. this regression had appeared in the previous commit.
REVERT: 53e78f5df2 bugfix: ngx.print("") did not trigger response header sending.
REVERT: be133bca5d bumped the API version to 0.10.5.
REVERT: 5de1b1fac3 bugfix: use of ssl_certificate_by_lua* in the http {} scope might lead to process crashes. thanks Andreas Lubbe for the report in openresty/lua-resty-core#42.
REVERT: d4f71ad087 doc: bumped version to 0.10.4.
REVERT: 69818f459b bumped the API version to 0.10.4.
REVERT: 816be0073c bugfix: only do the mmap(sbrk(0)) trick on Linux since it may cause problems on other operating systems.
REVERT: c7d5cbdf4e travis-ci: various improvements.
REVERT: b38aefeb72 travis-ci: enables clang builds. thanks Ilya Shipitsin for the patch in #769.
REVERT: 6b8b060608 release 0.10.3.
REVERT: 9f319e9565 travis-ci: supress some unuseful output.
REVERT: 91c429a6d8 travis-ci: cache pcre-8.33 downloads and make sure we "exit 1" on any build failure.
REVERT: 61e2d3a499 travis-ci: use dig to warm-up the DNS servers a bit before testing.
REVERT: dce2361885 feature: added Travis CI support. thanks Ilya Shipitsin for the patch in #766.
REVERT: c0efcd3bdc fixed a udp test case.
REVERT: 54719b6f73 doc: util/build2.sh is now util/build.sh. thanks Ilya Shipitsin for the patch in #766.
REVERT: c92e71bfe2 doc: updated the directive execution order diagram. thanks Emil Stolarsky again.
REVERT: c28e172211 util/build.sh: use nginx's builtin ngx_http_auth_request module instead. thanks Ilya Shipitsin for the report in #765.
REVERT: 7352fe869c doc: added diagram of the order of directive execution to README. thanks Emil Stolarsky for the contribution.
REVERT: e7cdb4efdb made a shdict test case less likely to fail in slow testing modes.
REVERT: 22566ed9b0 bugfix: ngx.exit() could not be used in the context of balancer_by_lua* when lua-resty-core was used.
REVERT: 7e6445ef8e bugfix: a follow-up fix for commit 93321acd in the FFI implementation of ngx.status.
REVERT: 70f7080715 bugfix: *_by_lua_block: fixed Lua long bracket parsing at buffer boundaries. thanks Maxim Ivanov and Tom Thorogood for the report in #762.
REVERT: 7886a08100 style: fixed lines exceeding 80 cols.
REVERT: 37b4765783 fixed a test case.
REVERT: a6b960fe0a refactorings in the semaphore implementation.
REVERT: 9a96f9e85a adjusted the test case for ngx.worker.id() for slow testing modes like valgrind.
REVERT: 0b2093d2bc removed useless nginx logs from the nginx fake module in the test suite.
REVERT: 97a6a169a9 made the test case for ngx.worker.id() more reasonable.
REVERT: 766cde61ce tests: made a test less possible to get timed out on resolvers.
REVERT: a0ed1bf29c bugfix: ngx.req.append_body() might enter infinite loops when ngx.req.init_body() has not specified a buffer size and the request header Content-Length is 0 (or client_body_buffer_size is configured to 0).
REVERT: cda5f872cb bugfix: ngx.re.match: the 5th argument hid the 4th one. thanks iorichina for the report in #719 and rako9000 for the original patch in #727.
REVERT: ebb648c191 try harder to get the ngx.worker.id() test pass. alas.
REVERT: b90d7ad017 bugfix: wait a bit longer in the test case for ngx.worker.id().
REVERT: 1967998b0e further tweaks in the test case for ngx.worker.id(). alas.
REVERT: 64499675d7 tests: ensured all the helper workers are indeed run in the test case for ngx.worker.id().
REVERT: 05ffc6e9da tests: wait a bit longer for helper processes to start up in the worker.id() test case.
REVERT: a6e4e45830 ngx.worker.id() should still return something when the master process is off.
REVERT: 92d2d44ac5 simplified the test case in commit 57d034f.
REVERT: c9b02aa197 tests: avoided a memory leak in the test case itself.
REVERT: 57d034f89b bugfix: ngx.worker.id() should return nil in non-worker processes like nginx's cache managers.
REVERT: 8ec587aa7c tests: skip tests using local IPv6 addresses if it is not supported.
REVERT: 0fddb590b9 feature: now we try limiting the growth of the data segment of the nginx processes to preserve as much lowest address space for LuaJIT as possible. thanks Shuxin Yang for the help.
REVERT: 51d63b41c3 fixed dtrace static probes for systems other than Linux.
REVERT: b60f53f97b bugfix: fixed a memory leak in ssl.cert_pem_to_der(), caught by valgrind.
REVERT: 6683a8b254 refactor: simplifies the fix in commit 473926654a.
REVERT: df5bf1d624 bugfix: ignore unexpected closing long-brackets in '*_by_lua_block' directives.
REVERT: e6771593ba minor coding style fixes.
REVERT: 473926654a bugfix: changing peers in balancer_by_lua* might lead to stale values of $upstream_addr.
REVERT: 559243b2cf bugfix: clear errors in pem_to_der functions to avoid flooding nginx error logs (#695).
REVERT: b88ed7fb5a bugfix: ssl: clear stacked errors in some of our Lua APIs to avoid flooding nginx error logs.
REVERT: 1d9b530f7a removed a useless assignment in the timer impl caught by cppcheck and reported by Ilya Shipitsin in #745.
REVERT: b0fbce3228 bugfix: sslhandshake() accepts up to 5 arguments now (including the object itself).
REVERT: 256a59c363 added a test case for the previous commit.
REVERT: 99866b50df bugfix: cosocket: sslhandshake() did not correctly check argument count.
REVERT: d44f8e04db Merge pull request #725 from ctrochalakis/typo-fixes
REVERT: a67957d074 Typo fixes
REVERT: 93321acd0a bugfix: assignment to ngx.status might not affect subsequent ngx.status reads when error_page had already taken place. thanks wangwei4514 for the report.
REVERT: 21231a443c bumped API version to 0.10.3.
REVERT: 92c6b8d422 bugfix: init_worker_by_lua* did not honor http {} top-level configurations like lua_ssl_verify_depth and lua_ssl_trusted_certificate. thanks Vladimir Shaykovskiy for the report in #709.
REVERT: 3d61bf4ed9 doc: bumped version to 0.10.2.
REVERT: b68d7b4bde bugfix: fixed compilation warnings when http ssl module is disabled in the nginx build. this regression had appeared in commit c226a00567.
REVERT: a22a40984e doc: release 0.10.1.
REVERT: bf339b0f6f Merge pull request #699 from othree/patch/readme-typo
REVERT: 493eaa784f Fix conf sample syntax error in README
REVERT: c226a00567 bugfix: balancer_by_lua* might crash the nginx worker when SSL (https) is used for upstream connections. thanks Alistair Wooldrige for the report in #696.
REVERT: e9b437160f minor doc updates.
REVERT: 60ebb5c00d bugfix: hot loop might happen when balancer_by_lua was used with the "keepalive" directive. thanks GhostZch for the report in #693.
REVERT: 6a422b6a49 fixed a test formatting issue.
REVERT: fe96cf8356 ngx.req.get_post_args: return error message instead of raising an exception when request body is in temp file.
REVERT: 78426ffa63 bugfix: fixed the compiler warning "unused variable" when compiling with nginx cores older than 1.7.5 (exclusive). thanks Marc Neudert for the patch in #684.
REVERT: 4b063c93d1 Merge pull request #683 from thibaultCha/docs/get-phase-balancer
REVERT: 9c603e3ff8 docs: add get_phase() result in "balancer" context
REVERT: c6c905d8a1 tests: added a (passing) test case proposed by Mathew Heard in #681.
REVERT: 2aa42d572d tests: added passing tests for using ngx.worker.count() in the context of init_by_lua*.
REVERT: 5231d5fb67 doc: updated the markdown version accordingly.
REVERT: d2cedd838d doc: updated the TODO list to reflect recent changes.
REVERT: 20f2e889a9 tests: increased the waiting time of a test case.
REVERT: b1a326eedf bugfix: fixed compilation errors with LibreSSL by disabling ssl_certificiate_by_lua* and some ngx.ssl API functions that are not supported by LibreSSL. thanks George Liu for the report in #654 and Bret for the report in openresty/openresty#148.
REVERT: 3b46731e99 doc: updated the docs of get_phase() for the "ssl_cert" context.
REVERT: 74103392e2 doc: typo fix from Prayag Verma in #675.
REVERT: 01727a39c1 feature: added HTTP 2.0 support to ngx.req.http_version().
REVERT: 4f2954302c feature: this module can now be built as a "dynamic module" with NGINX 1.9.11+ via the --add-dynamic-module=PATH option of ./configure.
REVERT: 91c65907bc config: more adjustments.
REVERT: 5adcbefd26 config: refactoring.
REVERT: 5abc7b6bbb bugfix: fixed compatibility issues with other nginx modules loaded as "dynamic modules" in NGINX 1.9.11+.
REVERT: 64866bcf4d bugfix: fixed compilation errors with nginx 1.9.11+. thanks Charles R. Portwood II and Tomas Kvasnicka for the report in #669 and #668, respectively.
REVERT: b28eefa2e4 tests: made two test cases less agreesive in allocations.
REVERT: 320641adf5 optimize: use lua_pushliteral for string-literal.
REVERT: db206ab856 doc: a follow-up fix for commit 4d77caeb8.
REVERT: b6f5877d18 Merge pull request #671 from typhonius/docos-error-fix
REVERT: 4d77caeb8c Small documentation fix to sample code
REVERT: b98a7f7bbf bugfix: stream-typed cosockets: we did not set the "error" field of the ngx_connection_t object which MIGHT lead to socket leaks.
REVERT: d7d4547344 bugfix: avoided a potential memory issue when the request handler is aborted prematurely (via ngx.exit, for example) while a light thread is still waiting on ngx.flush(true).
REVERT: 740552fa74 doc: updated the doc for ngx.req.discard_body() to reflect recent changes. now ignoring request bodies indeed trigger disgarding the body upon request finalization.
REVERT: 8d7549fe7e feature: added new API, ngx.config.subsystem, which always takes the Lua string value "http" in this module.
REVERT: fcec9744cb made the tests more robust.
REVERT: 43ec78432d renamed util/build2.sh to util/build.sh.
REVERT: e920600f6e doc: mentions ngx_stream_lua_module.
REVERT: 0dabb560c0 doc: updated the copyright year to 2016.
REVERT: da30ad60af Merge pull request #667 from bjoe2k4/master
REVERT: c16e1e4c02 doc: log_by_lua runs after nginx access log
REVERT: 3bb11aa51a Merge pull request #665 from doujiang24/doc
REVERT: 2a53bb4836 doc: add balancer_by_lua*, ssl_certificate_by_lua* to the context of some api
REVERT: da16f8d71a doc: fixed an error in ngx.encode_base64 regarding streaming generation.
REVERT: 5ee9b0dad7 feature: added new API function ngx.socket.stream() which is an alias to ngx.socket.tcp().
REVERT: 8961c49438 change: shdict: throws a Lua error when the exptime arg is invalid.
REVERT: bb91590faf feature: ngx.log() and print() now accept tables with the __tostring metamethod.
REVERT: 60bd1b1aad bugfix: support non-RSA private keys as well.
REVERT: a43bc0a1b1 bugfix: ngx.re: memory over-reads might happen in DFA mode when the regex has submatch capturing groups.
REVERT: 34985cc615 fixed coding style issues introduced in the previous commit.
REVERT: 49d5256267 optimize: ngx.re: we always preserve the array part for the 0-indexed capture to avoid (expensive) lua table auto growth.
REVERT: cfd4f904d4 change: unmatched captures are set to false in the captures table.
REVERT: 701efd5caa bumped API version number to 0.10.1.
REVERT: 753b0a2f81 minor tweaks in a test file.
REVERT: 2c4984f0bf a followup fix for the previous commit.
REVERT: e5992f7e41 bugfix: we might not respond to client abort events when lua_check_client_abort is on.
REVERT: cd3c6bd2af minor style fixes.
REVERT: bcdcd85b21 added more bytecode tests that can work with LuaJIT 2.1 and beyond without hard-coding bytecodes in the tests.
REVERT: d44e90dcb1 added a passing tests using balancer_by_lua* inside a lua subrequest.
REVERT: 6ba92a6748 bugfix: balancer_by_lua* did not respect "lua_code_cache off". thanks XI WANG for the report and Dejiang Zhu for the patch in #663.
REVERT: 4c0bf09110 minor tweaks in tests.
REVERT: 36403c1605 doc: ngx_openresty -> OpenResty.
REVERT: 4bc2e2d9f3 doc: documented that ngx.req.get_body_data() is available in the context of log_by_lua*. thanks YuanSheng Wang for the patch in #660.
REVERT: a5a6a12b3e Merge pull request #661 from doujiang24/style
REVERT: f4db0b71ef style fix: variable name align with the previous line
REVERT: 93ca1cb757 minor tweaks.
REVERT: 489cc24577 various minor tweaks.
REVERT: dc5ad60194 SSL: remove leading white space from error messages
REVERT: 9de7841ee3 SSL: set error message on i2d_X509() failure as well
REVERT: f86335b536 minor coding style fixes.
REVERT: 1645a5f0d0 doc: fixed the year. my brain still lived in 2015. alas. thanks leemingtian for the report.
REVERT: 09644c46a2 doc: bumped version to 0.10.0.
REVERT: 17621837e9 bugfix: semaphore: memory invalid reads might happen when using ngx.semaphore in init_by_lua*.
REVERT: 8ac6fe795c made a test case less possible to fail on slow machines due to timing errors.
REVERT: b7fac12c42 Revert "tests: $TEST_NGINX_HTML_DIR might be too long for unix domain socket names."
REVERT: 79527af679 tests: skipped tests for ssl_certificiate_by_lua* if OpenSSL is too old.
REVERT: df130559fa tests: $TEST_NGINX_HTML_DIR might be too long for unix domain socket names.
REVERT: 514e6d6114 doc: added a note to ssl_certificate_by_lua_block for the use of ssl_certificate and ssl_certificate_key directives. thanks eagle-china for the suggestion.
REVERT: 832dcd1b9f doc: improved the docs for ngx.ctx a bit more.
REVERT: 2293dd228e doc: made clear the ngx.ctx scoping issues. thanks Robert Paprocki for asking.
REVERT: 08c32bc08b now we require at least NGINX 1.6.0.
REVERT: 813d743ccd bugfix: fixed compilation errors with nginx cores older than 1.7.5 (exclusive). thanks Mejar Singh for the report.
REVERT: 1fac985743 optimize: saved the event_posted flag maintained by ourselves since ngx_event_t already has such a flag. also moved all the event initialization code to the semaphore initializer.
REVERT: 9f3eb280c1 bugfix: semaphore: always zero the whole ngx_event_t struct to avoid forward compatibility risks.
REVERT: 3c3cca76e2 bugfix: fixed compilation failures with nginx cores older than 1.7.12. this regression had appeared in the semaphore commit.
REVERT: 55d28401cc bugfix: we should cleanup the current light thread and run the static dtrace probe in ngx.exit() even for fake requests (used by ngx.timer.at and ssl_certificiate_by_lua*, for example).
REVERT: f95d7b0b14 bugfix: remove a line of unreacheable code found by the Microsoft C compiler (via a warning). thanks itpp16 for the patch in #640.
REVERT: 9880416153 util/build2.sh: added support for the OPENSSL_INC and OPENSSL_LIB environments.
REVERT: 4fbd5da4c0 minor doc typo fixes.
REVERT: 6667cb9592 doc: updated the links to reflect recent changes.
REVERT: 0d470871e4 bugfix: ngx.get_phase() did not work in the context of balancer_by_lua*.
REVERT: 6c9d2585a2 feature: better SSL/TLS handshake control.
REVERT: 884f24eef2 doc: fixed the literal asterisk escaping in the correct way.
REVERT: a46c07a2a7 doc: markdown: escaped the literal asterisks properly.
REVERT: e44c9d8890 added even more nginx debugging logs to the ngx.semaphore API implementation.
REVERT: 9799d27246 added more nginx debugging logs to the ngx.semaphore API implementation.
REVERT: 295744eaa0 minor fixes.
REVERT: b84801c484 updated .gitignore to reflect recent changes.
REVERT: 9c3e3cf043 bugfix: balancer_by_lua*: fixed a warning from the Microsoft C compiler. thanks itpp16 for the report in #636.
REVERT: 8c53a0d2d8 feature: implemented the balancer_by_lua_block and balancer_by_lua_file directives to allow NGINX load balancers written in Lua.
REVERT: e5bf7d69f2 the next version will be 0.10.0.
REVERT: 822341d8d6 doc: moved the document section "ngx.semaphore" to a better place.
REVERT: 18551f7c90 doc: fixed the link to the ngx.semaphore module documentation. #584.
REVERT: 9db3f54f45 feature: added pure C API for the ngx.semaphore Lua module implemented in lua-resty-core.
REVERT: d6fa8dbbdd minor coding style tweak.
REVERT: 04b05ff2a7 bumped API version to 0.9.21.
REVERT: 9693828e7f doc: typo fix for the contexts of ngx.worker.id. thanks RocFang for the patch in #634.
REVERT: c655905ebe style: various coding style fixes from Dejiang Zhu (found by his enhanced version of ngx-releng) via #630.
REVERT: b21f7993b5 updated a test case that fail in recent versions.
REVERT: 6a664c8393 doc: minor typo fixes.
REVERT: 524be2ea8c fixed a C compiler warning on FreeBSD introduced in the previous commit.
REVERT: 35ba732be8 bugfix: fixed a compiler warning on type mismatch when dtrace USDT is enabled in the build.
REVERT: 0aa08037db doc: bumped version to 0.9.20.
REVERT: feb634ab8f doc: stated that we work with nginx cores as far as 1.9.7.
REVERT: 87a20d124b tests: fixed SSL cosocoket test cases for server configuration changes.
REVERT: 1d9a77169e refactor: lua code cache: make load functions take a log directly.
REVERT: 2c40455764 bugfix: we lacked detailed context info in error messages due to use of disabled Lua APIs in body_filter_by_lua*. thanks Dejiang Zhu for the patch in #623.
REVERT: 97890587c5 documented that ngx.worker.id() requires nginx 1.9.1+.
REVERT: fced532fe3 removed the empty .gitmodules file.
REVERT: ed96fef21c bugfix: compilation failed with nginx <= 1.9.0. thanks huangzihao for the patch in #622.
REVERT: 1ca69efbf6 a follow-up fix for the previous commit.
REVERT: f54438b6aa bugfix: fixed compiler warnings "comparison between signed and unsigned integer expressions" on Windows.
REVERT: c040f15916 improved the tests added in commit 3e086ed3.
REVERT: 2bf7710118 fixed the initial table sizes for the tables "ngx" and "ngx.req" to reflect recent changes.
REVERT: 7befc2c5fc added one more test case (for ngx.req.clear_header) for commit f48aef50.
REVERT: c9b629ad90 doc: added a note about the full-buffering nature of the ngx.location.capture* API. thanks cmaion for the original patch in #607.
REVERT: 00f62a5add feature: added new API function ngx.req.is_internal() for testing if the current request is an internal request.
REVERT: c3ac14e23c feature: added many more HTTP status constants as ngx.HTTP_XXX. thanks Vadim A. Misbakh-Soloviov for the patch in #425.
REVERT: f48aef50f6 bugfix: setting the built-in header X-Forwarded-For via ngx.req.set_header() or ngx.req.clear_header() might not take effect in some parts of the nginx core (like $proxy_add_x_forwarded_for). thanks aviramc for the patch in #491.
REVERT: 932584be22 feature: added new constant ngx.HTTP_TEMPORARY_REDIRECT (307) and support for 307 in ngx.redirect(). thanks RocFang for the patch in #416.
REVERT: b75aa9342c feature: added new config directive "access_by_lua_no_postpone". thanks Delta Yeh for the patch in #580.
REVERT: 7c28017029 doc: documented the minimum size threshold in lua_shared_dict. thanks mlr3000 for the original patch in #616.
REVERT: 3e086ed322 optimize: reduce memory allocations in stream cosockets.
REVERT: f2228aef43 feature: added new API functions ngx.timer.pending_count() and ngx.timer.running_count(). thanks Simon Eskildsen for the patch in #550.
REVERT: 1dee389208 feature: added new API functions ngx.worker.count() and ngx.worker.id() for returning the total count of nginx worker processes and the ordinal number (0, 1, 2, and etc) of the current worker. thanks YuanSheng Wang for the patch in #531.
REVERT: 91f9846c06 bugfix: ngx.req.get_uri_args/ngx.req.get_post_args: avoided allocating a zero-size buffer in the nginx memory pool since it might cause problems. thanks Chuanwen Chen for the report and patch in #605.
REVERT: 91bd1e4e35 optimize: avoid allocating in the nginx request memory pool in stream cosockets' receive*() methods. thanks Lourival Vieira Neto for the patch in #519.
REVERT: 72244ea07d bugfix: fixed a potential data alignment issue in the ngx.var setter API.
REVERT: 87bdfc1a1b bugfix: we had data alignment issues in the subrequest API which can explode on systems like ARMv6. thanks Stefan Parvu for providing the test environment. openresty/ngx_openresty#131.
REVERT: 9fc3a1f2d0 style: fixed a line exceeding 80 columns in the previous commit.
REVERT: 8b18616798 bugfix: there was a data alignment issue in the tcpsock:setkeepalive() implementation which might lead to crashes on ARM systems. thanks Stefan Parvu for the report in openresty/ngx_openresty#130.
REVERT: fd76e196a8 bumped the ABI version to 0.9.20.
REVERT: 049feaffd0 a follow-up fix for #611.
REVERT: 94f68befa3 bugfix: bogus nginx.conf parse failure "Lua code block missing the "}" character" might happen when there are many Lua code blocks inlined. thanks Andreas Lubbe for the report and test case in #611.
REVERT: 2b93087210 bugfix: bogus "subrequests cycle" errors might occur with nginx 1.9.5+ due to the recent changes in the nginx core.
REVERT: 1fae289285 Revert "tweaked .gitattributes a bit more."
REVERT: 4ab399199a develper build script: disabled the spdy module since it is already removed.
REVERT: fe50cff389 tweaked .gitattributes a bit more.
REVERT: 2fa55e8638 added a .gitattributes file to correct GitHub's language tag.
REVERT: 7b1ff62c21 bumped version to 0.9.19.
REVERT: 905d7d0f04 bugfix: using quotes inside a pair of long brackets might lead to parse failures. this is similar to the issue reported by Dejiang Zhu in #596.
REVERT: c317742742 doc: ngx.var: documented the values for undefined and uninitialized nginx variables. thanks Sean Johnson for asking for this explanation in #595.
REVERT: ea33435022 doc: bumped version to 0.9.18.
REVERT: f8e1a7ae78 doc: emphasized that we target NGINX's HTTP subsystem in this module.
REVERT: 4e897529d7 bugfix: use line comments inside a pair of long brackets might lead to parse failures. thanks Dejiang Zhu for the patch in #596.
REVERT: 809c674327 bugfix: fixed errors and warnings with C compilers without variadic macro support.
REVERT: ec86ade221 bumped the API version to 0.9.18.
REVERT: 9fb2948c49 feature: now we support LuaJIT 2 on Windows (in the form of lua51.dll).
REVERT: 4a9d4b11fb bugfix: subrequest response status codes between the range 100 .. 299 (inclusive) might get lost in the return values of ngx.location.capture*() calls. thanks Igor Clark for the report.
REVERT: 2f65b0fff0 bugfix: we might return the wrong shm zone in the public C API function ngx_http_lua_find_zone(). thanks qlee001 for the report in #589.
REVERT: 2cbeb0c5a8 doc: bumped version to 0.9.17.
REVERT: 04a57a1d38 doc: fixed a typo.
REVERT: e5c01f3dc3 doc: use *_by_lua_block {} in the examples in Synopsis; also updated the TODO and Special Escaing Sequeneces sections to reflect recent changes.
REVERT: 9afe2066a0 documented the log_by_lua_block {} directive.
REVERT: acc8239910 documented the body_filter_by_lua_block {} directive.
REVERT: d76317b62a documented the header_filter_by_lua_block {} directive.
REVERT: 51be770acd documented the access_by_lua_block {} directive.
REVERT: 2ba17fd197 documented the rewrite_by_lua_block {} directive.
REVERT: 37167ce58a documented the content_by_lua_block {} directive.
REVERT: def5d55008 documented the init_worker_by_lua_block {} directive.
REVERT: 8daa9a672c doc: use proper wiki syntax.
REVERT: 0025a9827a documented the init_by_lua_block {} directive.
REVERT: 95dd9cd617 documented the set_by_lua_block directive.
REVERT: bf9436adef tests: removed a bogus test case for set_by_lua_block.
REVERT: 195baff55d feature: implemented the set_by_lua_block directive.
REVERT: effd1d1d5b fixed the test serial numbers in t/028-req-header.t.
REVERT: 62e31a3f25 bugfix: fixed typos due to copy&paste mistakes in some error messages.
REVERT: cecc0e789b bugfix: setting builtin request header Upgrade via ngx.req.set_header and etc might not take effect with some bultin nginx modules.
REVERT: 1d640d6e84 a followup fix for commit c96625866.
REVERT: b948841c0d bugfix: setting builtin request headers Depth, Destination, Overwrite, and Date via ngx.req.set_header() and etc might not take effect at least with ngx_http_dav_module. thanks Igor Clark for the report.
REVERT: c96625866b refactor: reordered the request header entries in the ngx_http_lua_set_handlers array to match ngx_http_headers_in in the nginx core.
REVERT: da089df2d8 doc: updated the wiki file to reflect recent changes.
REVERT: 311539270b tests: removed the useless "use lib" directives from the Perl test files. thanks Markus Linnala for the report in #464.
REVERT: 8b32f3616d feature: initial fixes when being used with the new ngx_http_v2 module since nginx 1.9.5. thanks itpp16 for the patch in #569 and #570.
REVERT: 8a0a3e4706 doc: nginx 1.9.3 is compatible.
REVERT: bccf4dab24 bugfix: the user specified ./configure's --with-cc-opt and --with-ld-opt might override the LUAJIT_INC/LUAJIT_LIB and LUA_INC/LUA_LIB environment settings. thanks Julian Gonggrijp for the report in openresty/ngx_openresty#117.
REVERT: ec4076ef3a reverted the last commit.
REVERT: e801097952 skipped test cases that do not make sense for the "check leaks" testing mode.
REVERT: bec51155f2 fixed line numbers in 132-lua-blocks.t.
REVERT: a688d5a068 doc: a code example misses a "return". thanks YuanSheng Wang for the patch in #572.
REVERT: 6b558cd4bd feature: implemented the *_by_lua_block {...} directives that do not require extra escaping when inlining Lua code in nginx.conf.
REVERT: b5de0c2f9d bugfix: fixed one -Wmaybe-uninitialized warning when compiling with gcc -Os.
REVERT: 7e415bbbd5 optimize: fixed the hash-table initial sizes of the cosocket metatables.
REVERT: c93567d704 doc: more typo fixes from Lance Li in #565.
REVERT: 74aecfe720 doc: typo fixes from Lance Li in #564.
REVERT: 1885b4d299 doc: typo fixes from Lance Li in #562.
REVERT: 8269883035 doc: added links to more lua-resty-* libraries.
REVERT: a05e1eb546 bugfix: use of shared dicts resulted in (unwanted) registrations of shared dict metatables on all the lightuserdata in the Lua space. thanks helloyi for the report in #548 and patch in #557.
REVERT: 14f2b88b5a bumped the API version to 0.9.17.
REVERT: b6189f87f5 fixed the test plan.
REVERT: 69d1a6988a bugfix: if a 3rd-party module calls ngx_http_conf_get_module_srv_conf to fetch its current srv_conf construct in its merge_srv_conf callback, then use of init_worker_by_lua might lead to segmentation faults (the same also applied to merge_loc_conf). thanks chiyouhen for the report and patch in #554.
REVERT: ee30b7ce02 doc: updated the wiki format to reflect recent changes.
REVERT: 73bdb53911 Merge pull request #546 from doujiang24/doc
REVERT: 3043b71631 doc fix: ngx.exit is not disabled within header_filter_by_lua
REVERT: ea195bd819 typo fixes in recently added test cases.
REVERT: b661ff10ed bugfix: the if_unmodified_since "shortcut" field in ngx_http_headers_in_t was first added in nginx 0.9.2.
REVERT: 2979422c41 Merge branch 'master' of github.com:openresty/lua-nginx-module
REVERT: bc0d619240 bugfix: ngx.req.clear_header/ngx.req.set_header: we did not update the shortcut fields in ngx_http_headers_in_t added since nginx 1.3.3 which may confuse other nginx modules accessing them.
REVERT: 5e45843126 doc: typo fix from Lance Li.
REVERT: cc2df46d42 minor doc tweaks.
REVERT: 5399898ea3 bugfix: setting Content-Type response values including "; charset=xxx" via the ngx.header API might bypass the MIME type checks in other nginx modules like ngx_gzip. thanks Andreas Fischer for the report.
REVERT: a22bfb94a5 Merge branch 'master' of github.com:openresty/lua-nginx-module
REVERT: 7087978d1a fixed SSL cosocket tests with google https in non-US regions.
REVERT: a7857abf14 Merge pull request #538 from tatsuyafw/fix-typo
REVERT: 6d45420d4d Fix typo: use a double quote instead of a single quote
REVERT: b8fc6c5894 tests: disabled the test cases exercising multiple http {} blocks since this undocumented feature has been disabled since nginx 1.9.3.
REVERT: 7e201d7508 Merge pull request #535 from doujiang24/typofix
REVERT: 336ed3f51c typo fix in debug log
REVERT: 1bf0757a3a Merge branch 'master' of github.com:openresty/lua-nginx-module
REVERT: 289d86b372 valgrind.suppress: suppressed a false positive in the latest version of glibc on Amazon Linux.
REVERT: 51a311c04f removed the old util/build.sh script and also added notes as comments to util/build2.sh #527.
REVERT: f67aefc96a bugfix: we might miss the linker option -ldl when we shouldn't.
REVERT: 91ff51faf4 bugfix: access nonexistent fields in the "ngx" table in init_by_lua* could lead to the exception "no request object found" because of the overreacting __index metamethod of the "ngx" table.
REVERT: ec3f150cc1 doc: bumped version number to 0.9.16.
REVERT: b59129ff6e doc: fixed a bug in an example where both rewrite_by_lua and content_by_lua produce response outputs. thanks fengidri for the report in #460.
REVERT: 721fff24fc bugfix: fixed compiler warnings at least with gcc 4.7 and clang 3.5. this regression had appeared in commit 9e0503b035.
REVERT: 601044eb32 bugfix: ngx.resp.get_headers(): some built-in headers were not accessible via lowercase. thanks Nick Muerdter for the patch in #529.
REVERT: 9e0503b035 bugfix: raw downstream cosockets did not support full-deplexing. thanks aviramc for the bug report in #478 and the original patch in #481.
REVERT: 0be132078d fixed buggy test cases stuck on request body reading, which were exposed by the previous commit.
REVERT: 6fa6e97cc4 bugfix: we did not always discard the request body if the user Lua handlers don't, which might cause 400 error pages for keep-alive or pipelined requests. thanks Shuxin Yang for the original patch in #493.
REVERT: 255d40b126 fixed a test case for Mac OS X.
REVERT: 5b35451cd1 doc: fixed the context for the lua_need_request_body directive. thanks Tatsuhiko Kubo for the patch in #492.
REVERT: f4e131118e feature: fixed compilation failures with nginx 1.9.0. thanks Charles R. Portwood II for the original patch in #500.
REVERT: 847bc0f47e minor fixes in doc.
REVERT: 76dc20d4d4 Merge pull request #486 from itpp16/patch-3
REVERT: 1db65c1056 Update ddebug.h
REVERT: 42d62e4b7b doc: mentioned the "auth_request", "add_before_body", and "add_after_body" directives in the section "Locations Configured by Subrequest Directives of Other Modules".
REVERT: 0fff5888f6 more coding style fixes in function declarations.
REVERT: edad9bb063 fixed a test case to reflect recent changes in lua-resty-core.
REVERT: 3eadb55c1b more coding style fixes.
REVERT: 65b65bfd9a minor coding style fixes.
REVERT: c9f2b8656d follow-up fix for the previous commit. thanks Tatsuhiko Kubo for the patch in #475.
REVERT: 9531e5e753 bugfix: removed the dead code for the old NGX_THREADS mode which breaks the new nginx (1.7.11+) with thread pool support. thanks Tatsuhiko Kubo for the patch in #475.
REVERT: e7a7079cbf add no_padding option to ngx_http_lua_ffi_encode_base64
REVERT: bbc64d40c6 removed the git submodule deps/ngx_devel_kit because this is just an optional dependency and it is painful to maintain submodule pointers.
REVERT: ac48bd2b67 doc: added new section "Obsolete Sections" to hold renamed or removed documentation sections so as to keep links valid over the web. thanks Dayo Akanji for the suggestion.
REVERT: 5fa6ff1b64 Updated docs.
REVERT: e3cda9cb8d bugfix: fixed compilation failures with very old versions of PCRE, like 4.5.
REVERT: 054f80f6a9 bugfix: we might still pick up Lua/LuaJIT headers/libraries in the paths specified by nginx ./configure's --with-cc-opt=OPTS and --with-ld-opt=OPTS optons even when the LUAJIT_INC/LUAJIT_LIB or LUA_INC/LUA_LIB environments are explicitly specified.
REVERT: 6222f0c53d feature: ngx.encode_base64: added support for the "no_padding" boolean argument to disable padding when a true value is specified. thanks Shuxin Yang for the patch.
REVERT: 0f0c2f814d bugfix: we should never automatically set Content-Type on 304 responses. thanks Simon Eskildsen for the patch in #468.
REVERT: e086440cb9 bumped the API version to 0.9.16.
REVERT: 7c37b4bbdb bugfix: use of ngx_http_image_filter_module might lead to request hang due to duplicate header filter invocations. thanks Antony Dovgal for the report.
REVERT: 3dbb2b00ec tests: fixed nondeterminism due to unordered Lua table iterations. thanks Markus Linnala for the patch in #465.
REVERT: b2b061d323 Merge pull request #466 from maage/env_lua
REVERT: ff23175f02 fix env tests
REVERT: 8f6790de7d doc: fixed the code sample for ngx.redirect() to reflect recent changes there. thanks Zi Lin for the report.
REVERT: 4388b1e483 doc: bumped version to 0.9.15; also stated that we work with nginx 1.7.10.
REVERT: f88d4a9fb7 tests: fixed the test plan in 041-header-filter.t.
REVERT: dde606203e Revert "bugfix: header_filter_by_lua*: now we ensure we always forward the exact return value of the ngx_http_filter_finalize_request() calls."
REVERT: e9fa313ffc bugfix: header_filter_by_lua*: now we ensure we always forward the exact return value of the ngx_http_filter_finalize_request() calls.
REVERT: 82d0c265bb bugfix: using error codes (ngx.ERROR or >=300) in ngx.exit() in header_filter_by_lua* might lead to Lua stack overflow.
REVERT: d427d9a1d1 feature: improved the debugging event logging for timers created by ngx.timer.at().
REVERT: 6f63b97301 optimize: fixed padding holes in our struct memory layouts for 64-bit systems to save a little memory.
REVERT: 31265f7830 bumped the API version number to 0.9.15.
REVERT: 05a4a71432 bugfix: the value of the Location response header set by ngx.redirect() might get overwritten by nginx's header filter to the fully qualified form (with the scheme and host parts).
REVERT: 8f908775c1 bugfix: the value of the Location response header set by the ngx.header.HEADER API might get overwritten by nginx's header filter to the fully qualified form (with the scheme and host parts).
REVERT: 23afdc0b12 bugfix: lua_shared_dict: use of Lua numbers as the value in shared dict might lead to unaligned accesses which could lead to crashes on architectures sensitive to address alignment (like ARMv6). thanks Shuxin Yang for the fix and thanks Stefan Parvu and Brandon B for the report in openresty/ngx_openresty#84.
REVERT: a024673046 optimize: header_filter_by_lua*: removed a piece of useless code. thanks Zi Lin for the report.
REVERT: 23c2ceae40 doc: emphasized the capability of using nginx variables in the Lua file path in content_by_lua_file/rewrite_by_lua_file/access_by_lua_file.
REVERT: cea0699a57 updated the copyright years.
REVERT: 20d968bc8f doc: bumped version to 0.9.14.
REVERT: 93a056c846 doc: typo fix from lneto in #451.
REVERT: fe0e22d357 bugfix: tcpsock:setkeepalive(): we did not check NULL connection pointers properly. thanks Yang Yue for the report.
REVERT: a05073d715 doc: typo fix from Harold via #446.
REVERT: 8e79804e0e bugfix: ngx.quote_str_str() incorrectly escaped "\026" to "\z" while "\Z" is expected. thanks laodouya for the original patch in #447.
REVERT: bd51d8196e added passing test cases for #445.
REVERT: 39ff3e697f added tests for using the ngx. API functions in the user callback functions for ngx.re.gsub's replacement. these tests exposed a bug in lua-resty-core.
REVERT: 521e4f4544 reindexed the tests in t/036-sub.t.
REVERT: bc120f9a22 bugfix: fixed a compiliation error in the timer module when the DDEBUG macro is set to 1 or a C compiler without variadic macro support (like the Microsoft Visual C++ compiler) is used. thanks itpp16 for the patch in #443.
REVERT: 4cd7644ac2 bugfix: ngx.timer.at: fixed a small memory leak in case of running out of memory (which should be extremely rare though).
REVERT: c317feeaea optimize: save our own log ctx for timers.
REVERT: c6930f018d tests: fixed a test case which expects 127.0.0.1:53 has nothing to listen on, which is not true when a local DNS caching server is enabled.
REVERT: ac009a2487 bugfix: ngx.re.gsub/ngx.re.sub incorrectly swallowed the character right after a 0-width match that happens to be the last match. thanks Guanlan Dai for the patch in #442.
REVERT: af16d1f994 feature: added the Lua global __ngx_cycle which is a lightuserdata holding the current ngx_cycle_t pointer.
REVERT: f24a96b80a doc: added two more TODO items.
REVERT: cd01e7b985 doc: updated our TODO list.
REVERT: f9709b6dde api: bumped the version number to 0.9.14.
REVERT: 452640db94 doc: ngx.var: named more readonly nginx builtin variables, as per adamonduty's request in #440.
REVERT: b3a3e5ea28 doc: fixed some formatting issues in markdown.
REVERT: 4c633dd346 doc: added a warning for the "share_all_vars" option for ngx.location.capture*.
REVERT: 7a97d09024 doc: bumped version to 0.9.13 and also claimed the compatibility with nginx cores up to 1.7.7.
REVERT: 5d063412ee Merge branch 'master' of github.com:openresty/lua-nginx-module
REVERT: 4720940e8c fixed some new test failures according to the Amazon EC2 report.
REVERT: 3085f32e70 Various improvements in ngx.timer and fake connections/requests.
REVERT: e6132eab93 feature: added nginx configuration file names and line numbers to the rewrite/access/content/log_by_lua directives' Lua chunk names in order to simplify debugging.
REVERT: e226845119 Various downstream writing fixes.
REVERT: bda5b97950 style: minor fixes.
REVERT: 60c64cc144 doc: documented the 0-delay timer workaround for contexts where cosockets are not available (yet). also documented the "connection in dubious state" error message for tcpsock:setkeepalive().
REVERT: 20bbbfbe44 bugfix: compilation failed when http ssl is not enabled in the nginx build. this regression had appeared in commit 5eb3f8c6f.
REVERT: 3c1918df8d bugfix: ngx.get_phase() does not work in the context of init_worker_by_lua*.
REVERT: 5eb3f8c6f8 bugfix: tcpsock:sslhandshake(): memory invalid read and/or bogus "lua ssl ceritficate does not match host" errors might happen when checking certificates with the SNI name.
REVERT: da31a5e653 doc: documented that ngx.exit() is enabled in the context of ngx.timer.* callbacks.
REVERT: 0846f27663 tests: increased the timeout threshold for the test cases involved with expensive SSL handshakes to prevent them from getting timed out on slow boxes.
REVERT: 75eaf07844 feature: ngx.flush(true) now returns the "timeout" and "client aborted" errors to the Lua land for the cases that writing to the client is timed out or the client closes the connection prematurely, respectively.
REVERT: 0c33b9e0aa feature: ngx.flush(true) can now wait on delayed events due to nginx's limit_rate config directive or "$limit_rate" variable settings. thanks Shafreeck Sea for the original patch in #432.
REVERT: a4f8b8ad0e bugfix: use of "ngx.flush(true)" with the "limit_rate" config directive or the $limit_rate variable may hang the request forever for large volumn of output data. thanks Shafreeck Sea for the report in #430.
REVERT: db428bfc6d doc: added a new section, "Cocockets Not Available Everywhere", under the "Known Issues" section.
REVERT: 1506812afd updated valgrind.suppress to suppress a false positive on Amazon Linux i386.
REVERT: 2fe0d8dda2 more fixes in the tests regarding the resolver.
REVERT: bba7058e76 tests: avoid using hard-coded DNS nameserver address but the TEST_NGINX_RESOLVER environment.
REVERT: d427517315 suppressed a warning in the libc resolver.
REVERT: c2f88f8dfd bugfix: compilation error when PCRE is disabled in the nginx build. thanks Ivan Cekov for the report in #428.
REVERT: 9ea909bae2 doc: typo fix from e路相扶.
REVERT: 0162afd715 doc: fixed some broken in-page links, as reported by smallfish in #421.
REVERT: cc9e738a72 doc: various wording improvements and link fixes from Dayo Akanji.
REVERT: c135f05f2c tests: use larger timeout limit for a test case revolved with external DNS resolving.
REVERT: 5c8957b2d1 tests: fixed a failure due to recent changes in the nginx core.
REVERT: 05e8499c89 tests: fixed a test failure due to the misuse of the $TEST_NGINX_PORT variable.
REVERT: 0d736bf228 tests: suppressed a warning from the test scaffold for a timer test case.
REVERT: 6706ec2148 bugfix: when syslog was enabled in the "error_log" directive for nginx 1.7.1+, use of init_worker_by_lua or ngx.timer.at() would lead to segmentation faults. thanks shun.zhang for the report in #426.
REVERT: 8a4e8a72d4 minor test file format fixes.
REVERT: 25c4bdd6b6 tests: suppressed a warning from the test scaffold due to an expected [crit] error log message in 2 test cases.
REVERT: c9128e50f9 tests: added a passing test case for connecting to IPv6 addresses via cosockets.
REVERT: 4323f3bc13 tests: 129-ssl-socket.t: use limited timeout threshold for the cosockets.
REVERT: 0c4528e50d bugfix: fixed compilation error with nginx 1.7.5+ because nginx 1.7.5+ changes the API in the events subsystem. thanks Charles R. Portwood II and Mathieu Le Marec for the report in #422.
REVERT: 14fbf40317 doc: made clarification about ngx.exec() requested by Dayo Akanji.
REVERT: e9139a954b doc: typo fix from tianchaijz in #419.
REVERT: 227a5f0e5f api: bumped version to 0.9.13.
REVERT: 3349791778 bugfix: ngx.req.raw_header(): buffer overflow and the "buffer error" exception might happen for massively pipelined downstream requests. thanks Dane Knecht for the report.
REVERT: ddb3636252 refactor: ngx.req.raw_header(): simplified the implementation.
REVERT: 62fd4c5f70 bugfix: ngx.req.raw_header(): we might change nginx's internal buffer pointers, which might cause bad side-effects.
REVERT: 73884588f6 doc: bumped version to 0.9.12.
REVERT: ffe7b34de7 doc: added more discussions for the potential race conditions in worker-level changeable data sharing to the "Data Sharing within an Nginx Worker" section. thanks Jon Keys for asking.
REVERT: d7378122d0 tests: fixed a small bug in a test case.
REVERT: be1655d239 bugfix: added extra delays to some of the test cases with systemtap involved.
REVERT: 8e6aa11dcc tests: updated test suite according to the latest changes in Test::Nginx::Socket.
REVERT: 9688c645ba doc: documented the behavior in the case that one does not call close() nor setkeepalive() in a cosocket object's lifetime. thanks Bogdan Irimia for asking.
REVERT: eb128df045 bugfix: added allocation failure check for ngx_array_init(). thanks Tatsuhiko Kubo for the patch in #414.
REVERT: 0e49fe7462 tests: fixed a case with expired CRL.
REVERT: 5662ddd9b7 bumped internal code version to 0.9.12.
REVERT: 7e4f1af7fc bugfix: init_worker_by_lua*: memory corruptions would happen when no server {} is defined in nginx.conf. this regression had appeared in v0.9.11.
REVERT: df70a5e7ec bugfix: fixed build failures with OpenSSL older than 0.9.8f. thanks FFCZ for the report in #413.
REVERT: 044f861881 bugfix: create_loc_conf did not return NULL on error.
REVERT: 96d4608efd tests: fixed a case for raw req socket to reflect recent changes in the debugging logs for tcp_nodelay.
REVERT: 3acb8dd905 bugfix: the "tcp_nodelay" directive configuration was not honored by upstream TCP cosockets, which could lead to extra delays for small messages. thanks Shun Zhang for reporting this issue.
REVERT: 947f82d1b2 bugfix: compilation failed with nginx 1.3.6 or older. this regression had appeared in the v0.9.11 release.
REVERT: 1565a068e1 bugfix: compilation failed with nginx 0.9.x.
REVERT: e2aef6d038 doc: bumped version to 0.9.11; also claimed that we work with nginx 1.7.4.
REVERT: 4c19852c0d doc: typo fix.
REVERT: da0ced8a4b bugfix: init_worker_by_lua* would conflict with some other nginx C modules (like ngx_proxy) when their merge_loc_conf callbacks (or alike) produce side-effects in cf->cycle. thanks Ruoshan Huang for the report.
REVERT: d4dbba59d6 config: now we also explicitly check the Lua ABI/language version in our feature test for a Lua lib.
REVERT: 90bdd9744b fixed the build failure introduced in commit 109fd454a.
REVERT: b6978cde6e Merge pull request #409 from cubicdaiya/feature/vim
REVERT: e4691cb5c0 Merge pull request #410 from cubicdaiya/feature/use_macro
REVERT: 99cc06d0f1 Merge pull request #411 from cubicdaiya/feature/ues_luapushliteral2
REVERT: 109fd454a1 use lua_pushliteral for string-literals.
REVERT: 8e464f9ae5 Style: use macro instead of magic-number.
REVERT: 7f739a9838 Style: added vim modeline.
REVERT: d957eefee4 tests: made a test case for ngx.on_abort() more tolerant.
REVERT: e0cd3ccf1b bugfix: ngx.resp.get_headers(): sometimes we might omit the builtin-headers Content-Type, Content-Length, Connection, and Transfer-Encoding. thanks Jon Keys for the report.
REVERT: 75cc29ea64 bugfix: ngx.req.socket(true): it incrrectly returned the error "chunked request bodies not supported yet" for *raw* request sockets with chunked request bodies. thanks Xiaofei Yang for the report.
REVERT: 5f62a55846 tests: fixed a test case that could fail randomly.
REVERT: 3ffe48ccef bugfix: tcpsock:sslhandshake() incorrectly returned failures when the SSL handshake operation succeeded immediately.
REVERT: 03a74d445b tests: fixed a test case to reflect latest change in ngx_set_misc.
REVERT: ad3364515a Merge pull request #408 from cubicdaiya/issues/use_luapushliteral
REVERT: 06652edb18 bugfix: we did not check allocation failures while compiling the pattern for tcpsock:receiveuntil(). thanks Tatsuhiko Kubo for the patch in #407.
REVERT: 141725f4c1 use lua_pushliteral for string-literals.
REVERT: 05e2ad61f2 doc: removed the SSL cosocket item from the TODO list.
REVERT: 92d92fbff3 style: fixed tab indentation. thanks Tatsuhiko Kubo for the patch in #406.
REVERT: e482cdab37 doc: more clarification in the docs for the res.truncated flag returned by ngx.location.capture(). thanks Jon Keys for asking.
REVERT: 2b40b44dcd doc: documented the new SSL cosocket feature.
REVERT: fd3f4ee250 bugfix: tcpsock:sslhandshake(): the "host" parameter did not accept the nil value.
REVERT: 45cb4feb1f doc: added missing method name "get_keys" under "ngx.shared.DICT" and also fixed the method order. thanks George Bashi for the patch in #404.
REVERT: e7d89c0435 bugfix: builds without --with-http_ssl_module were broken. this regression had appeared in commit a6a0ed5.
REVERT: b55d0ecf59 feature: tcpsock:sslhandshake(): when the "session" argument is a boolean "false", then no SSL session userdata will be returned and only a boolean "true" value is returned when successful.
REVERT: 2078657621 tests: use iscribblet.org instead of agentzh.com in tests because the latter is currently served by Chinese name servers, which are not quite stable.
REVERT: 90751a0711 tests: fixed a case regarding ngx.on_abort().
REVERT: 82188a1e82 tests: made a test regarding ngx.re.sub less possible to fail in slow testing modes.
REVERT: 937dfb35e2 tests: a minor style fix in a case.
REVERT: a844a13ce1 bugfix: we did not set the c->pool->log properly where c is an upstream stream-typed cosocket connection. this regression had appeared in the ssl cosocket patch, i.e., commit 5aed1966.
REVERT: 3f9ab4bf68 tests: suppressed a valgrind false positive in the nginx core.
REVERT: a6a0ed5200 bugfix: memory leak cound happen when both cosocket connection pools and "lua_code_cache off" were used. this regression had appeared in the ssl cosocket patch, i.e., commit 5aed1966.
REVERT: 531fb5a080 tests: one minor Perl code style fix.
REVERT: 348d359dd8 tests: fixed the test case added in commit 6ef948150.
REVERT: 5aed1966cc feature: SSL/TLS cosocket API
REVERT: 6ef948150f added a test case to exercise a bug in ngx_proxy's ssl handshake timeout handling (see http://mailman.nginx.org/pipermail/nginx-devel/2014-July/005627.html ).
REVERT: 8acc73f2c4 bugfix: stream-typed cosocket might read uninitialized memory bytes when logging errors due to sending to or receiving from a closed socket.
REVERT: 766ab667c7 tests: fixed a test case regarding unix domain cosockets.
REVERT: 353563226d optimize: we now cache the userdata metatable (for the __gc metamethod) in the lua registry for the datagram-typed cosockets.
REVERT: 3fd3234f38 optimize: we now cache the userdata metatable (for the __gc metamethod) in the stream-typed cosocket implementation.
REVERT: 58f916f13d bugfix: the datagram-typed cosocket resolver handler did not handle some special errors correctly.
REVERT: 2cc788b426 improved the fix in commit 48e48305.
REVERT: 48e483050e bugfix: the stream-typed cosocket resolver handler did not handle some special errors correctly.
REVERT: c2f4dda29e trivial optimizations.
REVERT: 66c45338ca doc: markdown: fixed the "Back to TOC" links for the sections ("Nginx API for Lua" and "Directives") with inlined TOC. thanks Pierre-Yves Gérardy and Simon Eskildsen for the reports in #370 and #399, respectively.
REVERT: 92e22bc432 bugfix: body_filter_by_lua*: reading ngx.arg[1] after clearing ngx.arg[1] (by assigning nil or "") could lead to segmentation faults. this regression had appeared in v0.9.10. thanks Jason Stangroome for the report in #398.
REVERT: f3870f6a73 bugfix: ngx.req.raw_header() would return garbled data when LF instead of CRLF is used as the line terminator in the original header.
REVERT: b5d23b9e4d bugfix: ngx.req.raw_header() could lead to buffer overflow and the "userdata length overflow" error due to misuse of r->header_end while modules like ngx_fastcgi and ngx_proxy can change r->header_end to point to buffers of their own. thanks sadmedved for the report.
REVERT: e4e0f4b37b doc: improved the wording in the "Lua Coroutine Yielding/Resuming" section. thanks Hungpu DU for the report in #394.
REVERT: dfb61faeb1 bugfix: we did not use lua_checkstack() to prevent Lua stack overflow in our own C-land Lua backtrace generator.
REVERT: e1b24308a9 refactor: removed a piece of duplicate code from the stream-typed cosocket implementation.
REVERT: 35e174b4f3 optimize: reading ngx.header.HEADER: eliminated dynamic allocations and data copying when there is no need to ransform "_" to "-" in the header name.
REVERT: ee2a206b25 feature: added pure C API function for FFI-based implementation of reading ngx.header.HEADER.
REVERT: b6e991ba9f tests: improved the test cases for the ngx.header API a little bit.
REVERT: d380c975ba doc: improved the wording of the documentation for ngx.req.clear_header() to prevent ambiguity. thanks Christophe-Marie Duquesne for the report in #393.
REVERT: ed096adaf3 style: fixed coding style in the header files consts.h and args.h. thanks Tatsuhiko Kubo for the report in #392.
REVERT: f83fa0d4d4 bugfix: fixed an incorrect error message. thanks aviramc for the patch in #290.
REVERT: 4969b87a2b style: preserved a blank line after the goto labels.
REVERT: 790e57dee8 optimize: reading ngx.header.HEADER: reduce allocations in the nginx request memory pool.
REVERT: c37e6a6e51 change: use the type ngx_http_lua_ffi_str_t instead of ngx_str_t in the pure C function ngx_http_lua_ffi_req_get_headers.
REVERT: cee6659f63 doc: documented that the standard coroutine API is now available in the context of header_filter_by_lua* and body_filter_by_lua*.
REVERT: 1238bdd9fd doc: documented the NGX_LUA_NO_FFI_API C macro.
REVERT: 7ff3ef1f11 renamed the NGX_HTTP_LUA_NO_FFI_API macro to NGX_LUA_NO_FFI_API.
REVERT: e94a4f371b feature: added pure C API functions for FFI-based implementations of ngx.worker.pid() and ngx.worker.exiting().
REVERT: a2e53c4f5f bumped the code version to 0.9.11.
REVERT: 17c28f1acb feature: the standard coroutine API is now enabled in the context of header_filter_by_lua* and body_filter_by_lua*. thanks ngo for the request in #389.
REVERT: 0778f2b04f feature: for content/rewrite/access_by_lua_file directives, we now return 404 status code instead of 500 in case that the specified .lua file cannot be opened. thanks Sam Lee for the suggestion.
REVERT: 76c70010b8 doc: fixed a wrong statement regarding require() in the "Lua Variable Scope" section. thanks Hungpu DU for the report in #390.
REVERT: 34ecd2f131 bugfix: ngx.escape_uri() now uses uppercase hexadecimal digits for percent-encoding according to the recommendation in RFC 3986. thanks Piotr Sikora for the suggestion.
REVERT: 5e94463789 bugfix: for statically linked luajit, we need to pass -ldl to the linker. thanks cf2012 for the report in openresty/ngx_openresty#40.
REVERT: 6929e7de92 doc: documented the behavior of init_by_lua* when lua_code_cache is off.
REVERT: cea9ee2cd2 doc: bumped version to 0.9.10.
REVERT: f3102fef30 minor fixes in the NGX_LUA_ABORT_AT_PANIC macro.
REVERT: de46d204b2 bugfix: fixed a compilation error regression when using the Microsoft Visual C/C++ compiler. thanks itpp16 for the patch in #388.
REVERT: 1e07b1ead5 bugfix: we should use "c->buffered & NGX_HTTP_LOWLEVEL_BUFFERED" instead of "c->buffered" for testing if the downstream connection is busy writing.
REVERT: aa6054a135 change: throw out the "no memory" Lua error consistently (instead of "out of memory") when failing to allocate on the nginx side.
REVERT: 9c79180b72 bugfix: we did not handle an out-of-memory case in ngx.req.set_body_data().
REVERT: 5ad9b3fbb9 bugfix: rewrote the buggy patch in commit 4c215c556 for #386 because it did not handle flush bufs correctly and had other issues.
REVERT: bda34bb099 fixed 2 minor lua stack manipulation mistakes.
REVERT: 88be205838 bugfix: ngx_http_lua_chain_get_free_buf(): avoided returning zero-sized memory bufs.
REVERT: fd8af73d23 refactor: renamed ngx_http_chains_get_free_buf() to ngx_http_lua_chain_get_free_buf(). also omitted the buf tag argument which is a constant anyway.
REVERT: 6b8ca4a35e doc: typo fix.
REVERT: c29f33adf1 doc: documented the NGX_LUA_USE_ASSERT and NGX_LUA_ABORT_AT_PANIC C macros.
REVERT: 4c215c5562 bugfix: body_filter_by_lua*: we might incorrectly pass zero-size bufs (in the form of "special sync bufs") at the beginning of a chain, which could get stuck in the buffer of ngx_http_writer_filter_module (or in other words, being "busy") while could still get recycled in the content handler (like content_by_lua), leading to buffer corruptions. thanks westhood for the report and patch in #386.
REVERT: 26fd007048 bugfix: we did not clear all the fields in ngx_buf_t when recycling chain link buffers.
REVERT: fdd10bf3a9 tests: use larger timeout threshold for test cases involved with external resolvers.
REVERT: b106ccdb44 fixed the test plan in 014-bugs.t.
REVERT: 8613ed6e93 bugfix: the *_by_lua_file directives failed to load .lua files of exactly the size n*LUAL_BUFFERSIZE bytes with the error "'end' expected (to close 'function' at line 1) near '<eof>'". thanks kworr for the report in #385.
REVERT: db9fe7ab98 bumped version to 0.9.10.
REVERT: 745a7107b4 optimize: now we turn off our C-land assertions by default unless the user explicitly specifies the C compiler option -DNGX_LUA_USE_ASSERT.
REVERT: 3abfb1fc62 bugfix: when the ngx.on_abort() user thread was created but never run *and* some other pending user thread was aborted prematurely, the latter thread might get leaked. thanks Dane Knecht for the report. this regression had appeared in the v0.9.9 release.
REVERT: 1250c5bf49 tests: use larger resolver_timeout settings.
REVERT: 09e0944d67 change: now we always iterate through all the user light threads to ensure all threads are de-anchored even when the "uthreads" counter gets out of sync. also added an assertion on the "uthreads" counter.
REVERT: 24953436fc doc: documented the new full-duplex stream cosocket feature.
REVERT: f408dd51a9 doc: documented the ngx.thread.kill() API function.
REVERT: 0950973adc doc: bumped version to 0.9.9. also states that we work with nginx 1.7.2.
REVERT: f40e371be0 Revert "refactor: we no longer call ngx_pfree() in our own pcre_free hook."
REVERT: fcbbf523d7 tests: fixed timing issues in some of the test cases for full-duplex cosockets.
REVERT: d56a2af528 bugfix: fixed the initial size of the ngx.worker table and the misleading comment due to a copy&paste mistake. thanks Suraj Jaiswal for the report.
REVERT: 934e33e6d1 feature: cosockets are now full duplex: a reader "light thread" and a writer "light thread" can operate on the same cosocket simultaneously. thanks shun zhang and aviramc for the original patches in #367 and #290, respectively.
REVERT: 6885462e91 feature: added new API function ngx.thread.kill() for killing a user "light thread". thanks aviramc for the original patch in #288.
REVERT: 52b76a7199 removed some dead code from the stream cosocket implementation.
REVERT: d6bc02eb3f bugfix: the coroutine API table introduced by require("coroutine") was not working in the context of ngx_lua. thanks Paul K and Pierre-Yves Gérardy for the report (in #381).
REVERT: c2e29483d9 a minor coding style fix.
REVERT: 9f0f9eaf12 tests: made a test case in 124-init-worker.t less possible to fail in slow testing mode.
REVERT: b773bcabc2 bumped version number to 0.9.9.
REVERT: fd41af2d04 bugfix: we incorrectly overrode coctx->data before calling coctx->cleanup, which could lead to memory corruptions. this regression had appeared in the previous commit, f19e27e777.
REVERT: f19e27e777 bugfix: the coctx cleanup handler might not be called before being overidden by other operations. this could happen when failing to yield in an error handler (for xpcall).
REVERT: 053f40e79b bugfix: fixed an incorrect error message. thanks doujiang for the patch in #373.
REVERT: 75c98cb5f6 fixed the test plan in 058-tcp-socket.t.
REVERT: 8fd50ad874 ensured that the resolver handler will not call into the dead request context.
REVERT: 06b7476b27 doc: added performance notes to the sections for ngx.var and ngx.ctx.
REVERT: 7a20b07705 doc: fixed a typo.
REVERT: ab8bd1b022 doc: documented the values can be passed to the timer callback function.
REVERT: 73e831f044 bumped version to 0.9.8.
REVERT: 2b721c7fd2 doc: markdown format: inlined the TOC for the long sections "Directives" and "Nginx API for Lua" as per Pierre-Yves Gérardy's suggestion in #370.
REVERT: c91e1f5258 doc: moved the "Directives" and "Nginx API for Lua" sections to the end because they are too long and kinda boring :) thanks Pierre-Yves Gérardy for the patch in #371.
REVERT: a9e0111fe9 doc: moved important sections to the front. thanks Pierre-Yves Gérardy for the patch in #371.
REVERT: 91e3307fb9 use ngx_http_lua_assert() instead of plain assert() across the code base.
REVERT: ec2498a815 added assertions to the coroutine scheduler to ensure that we do not pop or push the wrong number of stack slots for yielded coroutines.
REVERT: 5318f3a697 resolved merge conflicts.
REVERT: d3ab0edd45 bugfix: ngx.req.set_method(): we incorrectly modified r->method when the method ID was wrong.
REVERT: 31e0015572 feature: added a pure C API function for FFI-based implementations of ngx.req.set_header() (single-value only) and ngx.req.clear_header().
REVERT: 3a01812d88 feature: added a pure C API function for FFI implementations of shdict:flush_all().
REVERT: 62b2ac5cb0 feature: added pure C API function for FFI-based implementations of ngx.req.set_method().
REVERT: f9ce770d78 feature: added pure C API functions for FFI-based implementations of ngx.req.get_method().
REVERT: 1c3a841620 Revert "optimize: use lua_pushinteger instead of lua_pushnumber in ngx_http_lua_ngx_time()."
REVERT: 9bb1f3586b the "int" return type of ngx_http_lua_ffi_time might lead to data loss. thanks itpp16 for the report.
REVERT: e9b8563c32 optimize: use lua_pushinteger instead of lua_pushnumber in ngx_http_lua_ngx_time().
REVERT: 99e5171c64 renamed ngx_http_lua_ffi_ngx_now to ngx_http_lua_ffi_now.
REVERT: d9fff3b70a feature: added pure C API function ngx_http_lua_ffi_time for FFI-based implementations of ngx.time().
REVERT: 8666424db5 fixed the wrong return type of the ngx_http_lua_ffi_req_start_time function in the previous commit.
REVERT: 50dbfcefd1 feature: added pure C API function ngx_http_lua_ffi_req_start_time for FFI-based implementations of ngx.req.start_time().
REVERT: 34ab51f89f updated tests to reflect recent changes in rewrite_by_lua* and access_by_lua*.
REVERT: 4f0be44f75 doc: added more explanation for some user FAQs.
REVERT: ec78bf1019 fixed a source line exceeding 80 cols.
REVERT: 32960150ff minor doc love.
REVERT: 9383236449 change: rewrite_by_lua* will now terminate the current request if the response header has already been sent (via calls like ngx.say and ngx.send_headers) at that point.
REVERT: a1ea105f4c change: access_by_lua* will now terminate the current request if the response header has already been sent (via calls like ngx.say and ngx.send_headers) at that point (otherwise nginx might crash when other modules try to generate their own response). thanks yaronli and Sophos for the report in #364.
REVERT: c478f41e1b change: access_by_lua* will now terminate the current request if the response header has already been sent (via calls like ngx.say and ngx.send_headers) at that point (otherwise nginx might crash when other modules try to generate their own response). thanks yaronli and Sophos for the report in #364.
REVERT: b438f972d5 feature: now we save the original pattern string pointer value into our ngx_http_lua_regex_t struct, to help runtime regex profiling and debugging.
REVERT: 7f184ec4c1 feature: now we save the original pattern string pointer value into our ngx_http_lua_regex_t struct, to help runtime regex profiling and debugging.
REVERT: fb5f975418 feature: attempt to allow use of 3rd-party pcre bindings in init_by_lua*. thanks ikokostya for the feature request in #368.
REVERT: cae7259280 added a fix for the leftover cases in commit b57d60d4c9d
REVERT: c178302bd1 updated the test index in 109-timer-hup.t.
REVERT: 0a11b402aa feature: added pure C API function, ngx_http_lua_ffi_ngx_now, for FFI-based implementation for ngx.now() like lua-resty-core.
REVERT: 0a845986a3 126-shdict-frag.t: force a full GC cycle at the end of the Lua handler to help the "check leaks" testing mode.
REVERT: a43bca8d10 fixed the wait time for slow testing mode.
REVERT: eb4f986764 126-shdict-frag.t: increased the timeout threshold.
REVERT: 0f68763de5 bugfix: nginx does not guarentee the parent pointer of the rbtree root is meaningful, which could lead to inifinite loops when ngx_lua tried to abort pending timers prematurely (upon worker exit). thanks pengqi for the patch in #362.
REVERT: a2dee0c626 added more code comments to the timer implementation.
REVERT: af2d3570bf added a (passing) fuzz testing for aborting many pending timers.
REVERT: 3b3239c229 added (passing) tests for yielding failures in cosocket DNS resolving.
REVERT: 5d614b0945 added a (passing) fuzz test case for shdict.
REVERT: b57d60d4c9 bugfix: we did not call our coroutine cleanup handlers right after our coroutine completes (either successfully or unsuccessfully) otherwise segmentation fault might happen when the Lua VM throws out unexpected exceptions like "attempt to yield across C-call boundary". thanks Lipin Dmitriy for the report in #361.
REVERT: 509bb9819e removed an obsolete code comment.
REVERT: ed1eb4f7ff bugfix: the ngx.ctx table might be released prematurely when ngx.exit() was used to generate the response header. thanks Monkey Zhang for the report. now we release ngx.ctx in a request pool cleanup handler.
REVERT: f7443edc12 fixed the test index in 126-shdict-frag.t.
REVERT: 373376ce0f try to make a test case for shdict fragmentation pass on i386.
REVERT: fa83bb5fda added tests for exercising the memory fragmentation issue in nginx's built-in allocator for blocks larger than the page size
REVERT: d8c45b8725 feature: make use of the new shm API in nginx 1.5.13+ to suppress the "no memory" error logging when the shared dicts run out of memory.
REVERT: ae2207bf8f bumped version to 0.9.8.
REVERT: 1255864049 feature: added C macro NGX_LUA_ABORT_AT_PANIC to allow generating a core dump when the Lua VM panics.
REVERT: 506728da23 doc: fixed the links to ngx_rewrite in the "set_by_lua" section.
REVERT: 39d3e74cbc updated docs to reflect recent changes.
REVERT: 6c555ed505 bugfix: bugs in the error handling for pure C API functions for shared dict. thanks Xiaochen Wang for the patch in #365.
REVERT: c11ceb40ad updated the tests to reflect the new openresty server at agentzh.org.
REVERT: b111180c17 added a (passing) test case for reading ngx.header in the context of log_by_lua.
REVERT: c1ee08e8a6 Merge pull request #359 from cubicdaiya/issues/use_ngx_str_null
REVERT: 0d48124c9d added a (passing) test for timeout error on tcpsock:receive(N).
REVERT: 0375856d8f use ngx_str_null
REVERT: e52a2631ec doc: now we have tested with nginx 1.5.12; also put the 0.9.7 release date.
REVERT: 40691f409a Revert "added assertions for the pcre pool management."
REVERT: 1117f043ca Merge pull request #355 from lhmwzy/master
REVERT: 8192b9745f Update ngx_http_lua_string.c
REVERT: 4e284f73cc bumped version to 0.9.7.
REVERT: 5c27180048 added assertions for the pcre pool management.
REVERT: 5c788b8b98 refactor: we no longer call ngx_pfree() in our own pcre_free hook.
REVERT: 988ac5d84e bugfix: when lua_code_cache was off, cosocket:setkeepalive() might lead to segmentation faults. thanks Kelvin Peng for the report.
REVERT: f08bddccd8 suppressed a false positive in libdl.
REVERT: 3f7e04cf8e made a test case less likely to fail on slow machines.
REVERT: cbf054f12c made a test case less likely to fail on slow machines.
REVERT: 01cd00c40b Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 8542d4365a refactor: improved the error handling and logging in the Lua code loader and closure factory.
REVERT: 5719c60cf3 Merge pull request #351 from cubicdaiya/issues/use_luapushliteral
REVERT: f07a55b289 use lua_pushliteral instead of lua_pushlstring
REVERT: bbb7e05d91 added stronger assertions to the stream-typed cosocket implementation.
REVERT: 5d4afab7ae optimize: we no longer clear "ctx->user_co_ctx" in ngx_http_lua_reset_ctx.
REVERT: bec802ea9c bumped version to 0.9.6.
REVERT: e5eefed328 updated docs to reflect the change in commit 382c7201.
REVERT: f9917b93eb skipped 2 test cases that are nonderterministic.
REVERT: 4cb8dda8bd bugfix: accessing a datagram cosocket object from a request which does not create it could lead to segmentation faults. now we throw out a Lua error "bad request" properly in this case.
REVERT: 414db1a80b bugfix: accessing a cosocket object from a request which does not create it could lead to segmentation faults. now we throw out a Lua error "bad request" properly in this case. thanks Ross Timson for the report.
REVERT: 382c72010b change: it is now the user's responsibility to clear the captures table for ngx.re.match().
REVERT: a4db3e1b2d bugfix: we should prefix our chunk names for from-string lua source (which also leads to nicer error messages). thanks Mike Pall for the catch.
REVERT: 6c56337d7a bugfix: init_worker_by_lua should honor the lua_socket_log_errors directive's configuration in the http {} block.
REVERT: 9b18ca311b bugfix: the "resolver" directive's toplevel configuration in the http {} block was not respected by init_worker_by_lua. thanks Heero Zhang for the report.
REVERT: 37c86d67f8 bumped version to 0.9.6.
REVERT: be08630ba2 bugfix: subrequests initiated by ngx.location.capture* with the HEAD method did not result in responses without response bodies. thanks Daniel for the report in #347.
REVERT: 97d9162338 updated docs for the 0.9.5 release.
REVERT: cfc593bb93 test: skipped two invalid test cases that use cosockets beyond the creating request boundary.
REVERT: 3898993ebd fixed a bad regressoin in commit 1b615c46.
REVERT: fb06f39586 fixed a test case that could fail in the "check leak" mode due to GC delays.
REVERT: 1b615c46e5 bugfix: segfault might happen in the FFI API for destroying compiled pcre regexes, which affects libraries like lua-resty-core.
REVERT: c6e28fdc05 fixed the waiting time for a test case that could fail on slow machines.
REVERT: e0c5d58f20 doc: typo fix in a code sample for ngx.req.get_post_args(). thanks Evan for the patch in #344.
REVERT: 880a1c85bc refactor: adjusted the globals table handling a little bit.
REVERT: 911c395539 increased the waiting time in two ngx.abort test cases that might fail on slow boxes.
REVERT: dc8e88cc2d feature: explicitly check Lua langauge version mismatch; we only accept the Lua 5.1 language (for now).
REVERT: 9ef3ca51e7 removed the spdy mode check from ngx.location.capture*() to renable this API again for SPDY requests.
REVERT: d74878969c bugfix: an attempt to fix subrequests initiated by ngx.location.capture*() in the SPDY mode.
REVERT: 48af6433b6 doc: documented the new ngx.config.nginx_configure() function.
REVERT: 1916d0c2fd renamed ngx.config.ngx_configure to ngx.config.nginx_configure.
REVERT: 441d9c28bb feature: added new API function ngx.config.ngx_configure() to return the NGINX ./configure arguments string to the Lua land. thanks Tatsuhiko Kubo for the patch in #339.
REVERT: f862915839 doc: documented the ngx.resp.get_headers() API function.
REVERT: 887f0f99d5 feature: added new API function ngx.resp.get_headers() for fetching all the response headers. thanks Tatsuhiko Kubo for the patch in #335.
REVERT: 4a0036c074 optimize: coroutine status string look-up is now a bit more efficient by specifying the string lengths explicitly. thanks Tatsuhiko Kubo for the patch in #338.
REVERT: eab56942ac doc: fixed a typo in the doc for coroutine.yield(). thanks Ruoshan Huang for the report.
REVERT: f7db5fddb8 doc: fixed linkrot of mod_lua. thanks Tatsuhiko Kubo for the patch in #336.
REVERT: ec368b46fc refactor: removed an unused parameter, "len", in ngx_http_lua_ffi_script_eval_data.
REVERT: df7bf56af9 doc: documented the new ngx.worker.pid() API.
REVERT: 7460a8d16c adjusted a test case that could fail on slow machines.
REVERT: e5c1105bee bugfix: fixes for small string buffer arguments in the C API for FFI-based implementations of shdict:get().
REVERT: 4112e749d6 bugfix: fixed the error message buffer overwrite in the C API for FFI-based ngx.re implementations.
REVERT: 7668963788 skipped tests that could fail in the "check leak" testing mode.
REVERT: 3eafa8df14 better context info in the error messages for init_by_lua* and init_worker_by_lua*.
REVERT: a1c15f46bb fixed an erorr message in ngx_http_lua_report.
REVERT: 92219bba5e feature: added new API function ngx.worker.pid() for retrieving the current nginx worker process's pid.
REVERT: a6e0f512e0 reindexed the tests in t/058-tcp-socket.t.
REVERT: 6525ec0d01 change: turned off lua_socket_log_errors in init_worker_by_lua*.
REVERT: 2c4534ab26 test: now we require the ngx_lua_upstream module for the test suite.
REVERT: 096e2ff8ed doc: updated the "TODO" section to reflect recent changes.
REVERT: 870b9a7f16 test: use smaller port numbers to reduce the chance of conflicting with local ports.
REVERT: 2079446fae bugfix: use of the public C API in other nginx C modules (extending ngx_lua) lead to compilation errors and warnings when the Microsoft C compiler is used. thanks Edwin Cleton for the report.
REVERT: 47836cec16 bugfix: segmentation faults might happen when multiple "light threads" in the same request manipuate a stream cosocket object in turn. thanks Aviram Cohen for the report.
REVERT: c005354029 bugfix: timers created by ngx.timer.at() might not be aborted prematurely upon nginx worker exit. thanks Hamish Forbes for the report.
REVERT: 1d85a61f64 doc: mentioned ngx.timer.at for doing background jobs in ngx.eof's documentation.
REVERT: c5c8a12812 doc: markdown formatting fixes from Peter Cawley in #326.
REVERT: d633e34a31 added a test case to exercise a bug in $args (it requires the setting_args_invalidates_uri patch for the nginx core to pass).
REVERT: 7e96a2dda6 doc: typo fix from Zheng Ping.
REVERT: c07aac16e7 bugfix: fixed some new warnings when using Microsft's C compiler. thanks Edwin Cleton for the patch.
REVERT: bbaa57d2a8 doc: added a code example for init_worker_by_lua.
REVERT: 484e7df2f2 doc: documented init_worker_by_lua and init_worker_by_lua_file. also updated the copyright years.
REVERT: 9fc675f684 added more (passing) tests for init_worker_by_lua*.
REVERT: 356661d6b3 feature: added new configuration directive, init_worker_by_lua, to run Lua code upon nginx worker process startup.
REVERT: 81daa53565 updated .gitignore a bit.
REVERT: 6ba574878b minor label name fixes.
REVERT: 50f5b1b925 bugfix: the return value sizes of the C functions ngx_http_lua_init_by_inline and ngx_http_lua_init_by_file were wrong.
REVERT: 8c74fb9225 bumped version number to 0.9.5.
REVERT: c18e03c5cf refactor: made C functions ngx_http_lua_report and ngx_http_lua_do_call global.
REVERT: 238ace2f79 refactor: abstracted out the ngx_http_lua_create_fake_request function from the ngx.timer code base.
REVERT: b90bb2a578 refactor: abstracted out the ngx_http_lua_create_fake_connection function from the ngx.timer code base.
REVERT: 6169a191d1 documented the 5th optional argument, "res_table", for ngx.re.match().
REVERT: eb43c9c7de doc: fixed the year. it is 2014 now :)
REVERT: 388094027a updated docs to reflect recent changes.
REVERT: b4fe8acdd8 bugfix: when ngx_http_lua_get_co_ctx returns NULL, it no longer means that the coroutine is dead.
REVERT: 5581dedcbc added a test to exercise the bug in nginx's resolver that domain names with a trailing dot is rejected.
REVERT: c27f65b2bd updated tests to reflect the changes in commit 60999efe3.
REVERT: 60999efe35 bugfix: segmentation fault might happen when the downstream cosocket objects were GC'd. this regression had appeared in commit e768e151ab3.
REVERT: 2444f32db2 ngx.shared: improved the error handling in incr() a bit.
REVERT: e768e151ab bugfix: segfault might happen when aborting a "light thread" pending on downstream cosocket writes. thanks Aviram Cohen for the report.
REVERT: 5948300738 ngx.re: added the whole regex flags string to the error message when there is an unknown regex flag.
REVERT: b8efc2749b added a (passing) test for error status to improve code coverage.
REVERT: 01f3cef146 reindexed the test file 043-shdict.t.
REVERT: f6d309ffd8 shdict: improved the error handling a bit and also added more (passing) tests.
REVERT: 5bf928ede0 ngx.var: added a (passing) test for writing to a non-changeable nginx variable.
REVERT: c3d8da3766 ngx.var: improved the error handling a bit.
REVERT: 4c1d0bd10c feature: ngx.escape_uri() and ngx.unescape_uri() now accept a nil argument, which is equivalent to an empty string.
REVERT: a4323aab82 shdict: improved the error handling a bit and also increased the tests' code coverage.
REVERT: 0afaeec3d0 added (passing) tests for using lua numbers in response header names and values for the ngx.header.HEADER API.
REVERT: 76fc8a7c82 feature: added new pure C API, ngx_http_lua_ffi_max_regex_cache_size, for FFI-based implementations like lua-resty-core.
REVERT: dce53afc62 feature: added the optional 5th argument to ngx.re.match() which is the user-supplied result table for the captures.
REVERT: ed3e68fc0a added a (passing) test for providing the resulting match table to ngx.re.match().
REVERT: 73d74a0943 added (passing) tests for feeding lua numbers to ngx.md5(), ngx.md5_bin(), and ngx.sha1_bin().
REVERT: 2d0f587ec4 ngx_http_lua_ffi_set_ctx_ref: return the error code NGX_HTTP_LUA_FFI_NO_REQ_CTX properly.
REVERT: 52dfc3fbf6 refactor: avoided the magic error code -3 in ngx_http_lua_ffi_get_ctx_ref.
REVERT: 7e7b944ad6 change: ngx.decode_base64() now only accepts string arguments.
REVERT: fc52e157ef Merge pull request #322 from zh-ang/master
REVERT: 1b96235e51 reduce compiling warning(avoid halting compiling)
REVERT: c50f3cd3cc doc: documented that the coroutine.* API can be used in init_by_lua since 0.9.2. thanks Ruoshan Huang for the reminder.
REVERT: 26c1accef8 tweaked a test case that could fail randomly on slow machines.
REVERT: eafad29902 bugfix: we did not set the shortcut fields in r->headers_in for request headers in our subrequests created by ngx.location.capture*(). thanks Aviram Cohen for the original patch in #318.
REVERT: f64993565f optimize: we no longer clear the lua_State pointers for dead "light threads" such that their coroutine context structs could be reused by other "light threads" and user coroutines.
REVERT: 8f4c485326 bugfix: coroutines might incorrectly enter the "dead" state even right after creation with coroutine.create(). thanks James Hurst for the report.
REVERT: 8d14598123 minor debugging log tweaks.
REVERT: 80c8bc0aa9 reindexed test file t/041-header-filter.t.
REVERT: 3f8a592ac4 feature: allow use of ngx.exit() in the context of header_filter_by_lua*. but in this context ngx.exit() returns immediately.
REVERT: 9b76f74de4 updated the tests to reflect recent changes in ngx.exit().
REVERT: f364c82039 fixed incompatiblities in nginx 1.5.8 which breaks the resolver API in the nginx core.
REVERT: 5a4199bb93 bugfix: we might try sending the response header again in ngx.exit() when the header was already sent.
REVERT: 20c41e1adb version bump.
REVERT: 779702a17b fixed issues in the test suite exposed by nginx 1.5.7.
REVERT: 0787f2c2a2 fixed the tests for truncated subrequests to reflect the changes in nginx 1.5.3+.
REVERT: 685f5eaf7a bugfix: subrequests initiated by ngx.location.capture() might send their own response headers more than once. this issue might also lead to the alert message "header already sent" and request aborts when nginx 1.5.4+ was used.
REVERT: 4f2b35ddbe doc: bumped version to 0.9.3 and also stated that we work with nginx 1.4.4.
REVERT: 31e2212797 doc: documented the new behavior regarding zero-delay timers upon nginx worker process exiting.
REVERT: 6e4a22b523 doc: documented the ngx.worker.exiting() API.
REVERT: 3c5e109e31 bugfix: ngx.req.set_header() did not completely override the existing request header with multiple values. thanks Aviram Cohen for the report in #314.
REVERT: 0b9558cb1a bugfix: fixed compilation warnings when ngx_devel_kit is missing in the build.
REVERT: 02abcec8a6 doc: minor formatting fixes in the markdown version.
REVERT: d11dda108b added test cases for commit 2a121317.
REVERT: 04a7a2cca8 use Test::Nginx::Socket::Lua from the test-nginx project in our test suite.
REVERT: de86661c61 fixed the test plan in 025-codecache.t.
REVERT: af1b72ec1e bugfix: when lua_code_cache was off and timers created by ngx.timer.at() was exceeding the lua_max_running_timers limit, memory leak would happen. this bug had appeared in the new per-request Lua VM refactoring.
REVERT: 1de82ab6e4 bugfix: memory leak would happen in the pure C API function ngx_http_lua_ffi_destroy_regex for FFI-based ngx.re implementations.
REVERT: 2a121317d7 bugfix: when lua_code_cache is off, per-request Lua VMs should inherit package.path and package.cpath from the global Lua VM because the LUA_PATH and LUA_CPATH environments might not be inherited by nginx worker processes. thanks leaf corcoran for the report.
REVERT: 1820423869 refactor: introduced the type ngx_http_lua_ffi_str_t for FFI-based APIs.
REVERT: 5ed4aa8b8a bugfix: modifying request headers in a subrequest could lead to assertion failures and crashes. thanks leaf corcoran for the report and test cases.
REVERT: d37d7475f0 refactor: removed the useless "conf" field from ngx_http_lua_socket_pool_t.
REVERT: 69b0e98dc0 refactor: cleaned up the code for Lua VM instance management.
REVERT: f61d7ba10d bugfix: turning off lua_code_cache and using cosocket connection pools might lead to memory issues (like segfaults). this regression had appeared in commit 5fc80b5b0. thanks Zheng Ping for the report.
REVERT: 77fb072570 better debugging logs for "lua_code_cache off" and better test cases.
REVERT: 4eade06890 doc: tweaked the wording for lua_code_cache a bit more.
REVERT: 26e148a0a7 removed an unimportant subtest from 025-codecache.t.
REVERT: 80944815ab doc: updated the docs for lua_code_cache to reflect recent changes.
REVERT: 9a9c511fed added more tests for "lua_code_cache off".
REVERT: 250ab08928 added more debugging logs to the (global) Lua VM instance managing code.
REVERT: 5fc80b5b0e bugfix: turning off lua_code_cache could lead to memory issues (segfaults and LuaJIT assertion failures) when Lua libraries using LuaJIT FFI were loaded. now we always create clean separate lua VM instances for every Nginx request when the Lua code cache is disabled. thanks Ron Gomes for the report.
REVERT: 8acecfef69 refactor: introduce the ngx_http_lua_get_main_lua_state function to abstract away where the global lua state is stored.
REVERT: f07a73ef55 refactor: made the main Lua VM state creation and initialization code detached from the configuration loading phase.
REVERT: bb9b2b341b feature: added pure C API for FFI-based implementations of the ngx.header.HEADER API (the write part).
REVERT: d87ded2fe2 fixed an issue in commit 8e6b4e3cb7: cygwin linker only issues a warning about the use of -E rather than an error, so our previous feature test for -E always succeeds. thanks Heero Zhang for the report.
REVERT: 9dd88ffcdb bugfix: fixed compiler warnings and errors when using the Microsoft Visual C++ compiler. thanks Edwin Cleton for the report.
REVERT: 5a9a6f1cc5 feature: added pure C API functions for FFI-based implementations for ngx.req.get_uri_args().
REVERT: 8e6b4e3cb7 bugfix: the linker option -E is not support in Cygwin's linker; we should test --export-all-symbols when -E is unavailable. thanks Heero Zhang for the report.
REVERT: 5d7e08ce01 documented the new "nth" argument for ngx.re.find.
REVERT: 6213b040ca bugfix: ngx.re.find: fixed the case when "nth" is greater than or equal to "rc" but not exceeds the number of captures.
REVERT: a8c0b5f2b6 bugfix: ngx.re.find: we incorrectly returned negative indexes for nil submatch captures; also we returned the "nth out of bound" when there was a trailing nil submatch capture.
REVERT: 27b804d4c9 bugfix: ngx.re.find() did not return an error when the "nth" argument is out of bound.
REVERT: 55adcc6b04 feature: ngx.re.find() now accepts the optional 5th argument "nth" to control which submatch capture's indexes are returned. thanks Lance Li for the feature request in agentzh/lua-resty-core#1.
REVERT: 590ac5c941 updated the test suite to reflect recent changes in Test::Nginx.
REVERT: 5e0db0e9a5 fixed the "ngx" table preallocation space.
REVERT: 014de9d9b6 doc: typo fix from Zheng Ping.
REVERT: 77f24ba4a3 fixed a test case in t/014-bugs.t.
REVERT: 5130517798 bugfix: 0-delay timers created after the worker starts shutting down should not always expire prematurely.
REVERT: 002b68ec75 feature: added new API function ngx.worker.exiting() for testing if the current worker process is exiting.
REVERT: 4d6dc5804a feature: allow creating 0-delay timers upon worker process existing.
REVERT: e5f63816bf doc: more formatting tweaks.
REVERT: 55623aca75 doc: fixed regressions in the markdown version.
REVERT: f5b78fc808 doc: markdown: removed unnecessary indentation from code samples.
REVERT: 159be4c9b8 doc: documented how to link against a static library (or object file archive) consisting of (many) compiled Lua module files.
REVERT: 736fce1ad4 doc: added new section "Statically Linking Pure Lua Modules".
REVERT: 5cb9d9d48c doc: mention LuaJIT 2.1 wherever we mention LuaJIT 2.0.
REVERT: 98f9420bf7 added ljson.lua for the test suite so that we can have sorted keys in the JSON encoded output.
REVERT: 9401a60cbd fixed the table pre-allocation space for the ngx.config table.
REVERT: 86a08bab42 documented the new ngx.config.nginx_version and ngx.config.ngx_lua_version API.
REVERT: 797fa5cac6 feature: added new API for version numbers of both nginx and the ngx_lua module itself: ngx.config.nginx_version and ngx.config.ngx_lua_version. thanks smallfish for the patch.
REVERT: 3748896d6a minor debugging log message tweaks.
REVERT: e4e085f733 Merge branch 'master' into ffi
REVERT: 93bc3c505a updated docs to reflect the new support for loading LuaJIT 2.1 bytecode directly.
REVERT: 358f9a5907 feature: added support for loading LuaJIT 2.1 bytecode files directly in *_by_lua_file directives.
REVERT: 11dee4a44f feature: added pure C API for FFI-based implementations of ngx.req.get_headers.
REVERT: 3e63ceba3c feature: added pure C API for FFI-based implementations for storing operations in the shared dictionaries.
REVERT: 6e0a5c528c bugfix: the FFI API for ngx.var incorrectly used the storage of the input buffer.
REVERT: 15e53e3a15 Merge branch 'master' into ffi
REVERT: 1523ab0ac1 removed the plain text README file.
REVERT: 622f12aad3 feature: added pure C API for implementing ngx.var writes via LuaJIT FFI.
REVERT: 6c1e4d6218 optimized the default implementation of ngx.headers_sent a bit.
REVERT: 97d6a8c948 feature: added pure C API for FFI-based implementations of ngx.headers_sent.
REVERT: 12920fffb8 feature: added pure C API for FFI-based implementations of ngx.is_subrequest.
REVERT: a7a41fd0cd feature: added pure C API for FFI-based API for ngx.status.
REVERT: 7358557db4 feature: added pure C API for FFI-based implementations of ngx.ctx.
REVERT: 7b9d886562 Merge branch 'master' into ffi
REVERT: d516e4e31a bumped version to 0.9.2.
REVERT: 229a22142c documented the new ngx.config.prefix() API function.
REVERT: 8228e98448 bugfix: reading ngx.header.HEADER could result in Lua string corruptions. thanks Dane Knecht for the report.
REVERT: 1bedc5d4c8 ngx.re.find now returns a single nil value when no match is found.
REVERT: 2d6cf5c7f9 documented the new ngx.re.find API function.
REVERT: d577a63e8c merged branch "master" into "ffi".
REVERT: 87dd3cf157 updated valgrind.suppress a bit.
REVERT: e454b0b1c9 Merge branch 'master' into ffi
REVERT: a442980372 updated .gitignore a bit.
REVERT: e6db9d3ae4 added tests for ngx.re.find.
REVERT: 279da4d090 feature: added new API function ngx.re.find, which is similar to ngx.re.match, but only returns the beginning index and end index of the whole match.
REVERT: 91d701d199 updated tests to reflect the fix in commit ccb0cbe0d.
REVERT: d333a369e9 minor coding style fixes.
REVERT: f5944933b9 updated docs to reflect recent changes.
REVERT: ccb0cbe0d0 bugfix: ngx.re.match: the ctx table's "pos" field should start from 1 instead of 0.
REVERT: 8fe00e8fc9 fixed a test title.
REVERT: 3c0a9d90bd add debugging logs for the Lua VM initialization and shutdown.
REVERT: 0c85bec1b8 removed valgrind suppression rules for LuaJIT.
REVERT: f4af449f62 updated valgrind.suppress when the sysmalloc is used.
REVERT: 93493ea7d4 no longer set RPATH for luajit lib in the developer build script; also updated valgrind.suppress for luajit using system malloc.
REVERT: 0bd56bb8c4 updated valgrind.suppress when the sysmalloc is used.
REVERT: 483a3a9d7d no longer set RPATH for luajit lib in the developer build script; also updated valgrind.suppress for luajit using system malloc.
REVERT: df91a47b61 bugfix: compilation errors with nginx older than 1.0.0.
REVERT: 642db29e55 Merge branch 'master' into ffi
REVERT: 22f4c67a15 fixed the test plan for 119-config-prefix.t.
REVERT: 5536b8540c merged branch "master" to "ffi".
REVERT: 014c6b51be bugfix: localizing the coroutine.* API functions in init_by_lua* for future use in contexts like content_by_lua* might hang the Lua code. thanks James Hurst for the report in #304.
REVERT: cd52bd3692 feature: added new API function ngx.config.prefix() to return the nginx server prefix path.
REVERT: c99ebeb4de documented the new lua_use_default_type directive.
REVERT: a95851bb18 doc: updated the docs for ngx.req.socket(raw) to reflect the recent change that allows reading raw request body data directly.
REVERT: b6715395c0 doc: bumped version to 0.9.1; also added a new section "System Environment Variable Support".
REVERT: 594f55bcb0 added a test case to exercise a bug in ngx_gunzip module with which ngx.flush(true) could hang forever. thanks Maxim Dounin for the catch. to make this test pass, we need the gzip_flush_bug patch applied to the nginx core.
REVERT: 4615fd5912 bugfix: use of ngx.exit() to abort pending subrequests in other "light threads" might lead to segfault or request hang when HTTP 1.0 full buffering is in effect.
REVERT: 4ec0347d9b Merge branch 'master' into ffi
REVERT: b1ec275486 optimize: made ngx.re.match and ngx.re.gmatch faster for LuaJIT 2.x when there is no submatch captures.
REVERT: 9f134736c8 added a test for accessing $proxy_host and $proxy_port in Lua. this test requires the proxy_host_port_vars patch for the nginx core to pass. thanks saravsars for the report in #301.
REVERT: b361a101f6 updated valgrind.suppress to reflect recent changes.
REVERT: db87600eba doc: added language syntax highlighting to the markdown version.
REVERT: 647706f5b0 added a test case that exercises a bug in nginx's cache lock, which could lead to infinite request hang when cache_lock_timeout is exceeded. this test requires the cache_lock_hang_in_subreq patch to pass. thanks Akos Gyimesi for the report in #298.
REVERT: a8396e505a bugfix: downstream write events might interfere with upstream cosockets that are slow to write to. thanks Aviram Cohen for the report.
REVERT: 1f65751fce bugfix: removing a request header might lead to memory corruptions. thanks Bjørnar Ness for the report.
REVERT: 82ba941d26 bugfix: reading the value of ngx.status might get different values than ngx.var.status. thanks Kevin Burke for the report.
REVERT: 1c0a9e831d added a test for using ngx.flush(true) with the standard ngx_gzip module. it could hang in mainline nginx cores older than 1.5.3.
REVERT: 350e38a348 bugfix: the bookkeeping state for already-freed user threads might be incorrectly used by newly-created threads that are completely different. thanks Sam Lawrence for the report.
REVERT: 0f3c249a9a bugfix: calling ngx.thread.wait() on a user thread object that is already waited (i.e., already dead) would hang forever. thanks Sam Lawrence for the report.
REVERT: dad8ba3ab8 doc: fixed the context for the lua_package_path and lua_package_cpath directives. thanks duhoobo for the report in #297.
REVERT: 22ba5b114e fixed the test plan in 082-body-filter.t.
REVERT: 9e39cfd622 bugfix: the alert "zero size buf" could be logged when assigning an empty Lua string ("") to ngx.arg[1] in body_filter_by_lua*.
REVERT: 9bae5adf3f refactor: eliminated introducing NULL chain link in body_filter_by_lua*, which simplied the implementation a lot.
REVERT: 45319bfe5e doc: markdown: added lots of "Back to TOC" links to each sections but the beginning ones.
REVERT: 71d42c6d93 doc: markdown: added a "Table of Contents".
REVERT: b22569669e docs: markdown: made the module name more readable.
REVERT: d8c8e86c0f docs: markdown: fixed more external links that still point to wiki.nginx.org.
REVERT: f026151f09 docs: markdown: fixed links that were pointing to wiki.nginx.org, wherever possible.
REVERT: 70ecf928f8 docs: fixed the links in the markdown source. now they no longer point to the (broken) nginx wiki site.
REVERT: 82cbbd8334 bugfix: subrequests initiated by ngx.location.capture* could trigger unnecessary response header sending actions in the subrequest because our capturing output header filter did not set "r->header_sent".
REVERT: f17fc09419 bugfix: the Lua error when ngx.sleep() was used in log_by_lua* was not friendly. thanks Jiale Zhi for the report.
REVERT: 39ac6421af bugfix: ngx.req.set_header("Host", value) would overwrite the value of $host with bad values. thanks aviramc for the patch in #293 (and issue #292).
REVERT: 335ad8cc92 added a code comment regarding the "active_connections" field in ngx_http_lua_socket_pool_t.
REVERT: b41f546c7b fixed the preallocation size for the "coroutine" Lua table.
REVERT: 9a986c9f91 Merge branch 'master' into ffi
REVERT: ca90ef434e optimize: pre-allocate space for the resulting Lua tables in ngx.location.capture*.
REVERT: 054444dd41 optimize: preallocate some space in our Lua registry tables to reduce the initial requests' "warm-up" time a bit.
REVERT: 0b3c47a3bf optimize: preallocate the space for the metatable for the global environment table for header_filter_by_lua*, body_filter_by_lua*, and log_by_lua*.
REVERT: 101f8d9ed4 optimize: preallocate 4 hashtable slots in the ngx.ctx tables.
REVERT: ace93e66fa optimize: preallocate space for the "ngx.thread" lua table during API initialization.
REVERT: d7e8ff8caf resolved a merge conflict.
REVERT: 136087f328 optimize: preallocate space for the "coroutine" lua table.
REVERT: bc84964477 optimize: preallocate space for the "coroutine" lua table.
REVERT: 330fe6e597 merged "master" into "ffi".
REVERT: c304f35921 bugfix: when there were no existing Cache-Control response headers, "ngx.header.cache_control = nil" would (incorrectly) create a new Cache-Control header with an empty value. thanks jinglong for the patch.
REVERT: 01bf02aa04 bugfix: the original lettercase of the header name was lost when creating the Cache-Control response header via the ngx.header.HEADER API.
REVERT: 487618a801 bugfix: header_filter_by_lua*, body_filter_by_lua*, and ngx.location.capture* might not work properly with multiple http {} blocks in nginx.conf. thanks flygoast for the report in #294.
REVERT: bc43c4367a docs: added more explanation on subrequests' request body handling. thanks Jędrzej Nowak for the suggestion.
REVERT: cd669b5560 made a test case in 024-access/client-abort.t less possible to fail due to timing errors.
REVERT: fc03bfec34 bugfix: now ngx.req.socket(raw) returns proper error when there is some other "light thread" reading the request body.
REVERT: ebf9cc8679 feature: now the raw request cosocket returned by ngx.req.socket() no longer requires the request body to be read already, which means that one can use this cosocket to read the raw request body data as well. thanks aviramc for the original patch.
REVERT: 3740962968 added tests for the new lua_use_default_type directive.
REVERT: e5d47c4488 bugfix: we always printed the "lua hit request header limit" debug log message even when the limit is not hit at all. this regression had appeared in commit d8a266497a.
REVERT: 789e36b49b feature: added the new configuration directive "lua_use_default_type" for controlling whether to send out a default Content-Type response header (as defined by the "default_type" directive). default on. thanks aviramc for the patch in #286.
REVERT: d8a266497a optimize: now we pre-calculate the exact size of the resulting Lua table and preallocate the table space, which makes it 8%+ faster for a request with a dozen request headers and 40%+ faster for a hundred request headers.
REVERT: f998256247 reindexed the 025-codecache.t test file.
REVERT: 2063a94b2b docs: bumped version to 0.9.0 and mentioned lua-resty-websocket and lua-resty-lock.
REVERT: eabadd9b22 docs: documented the new ngx.req.socket(true) API, upon which fancy protocols like WebSocket can be implemented.
REVERT: 04e53ee374 bugfix: Lua VM might run out of memory when lua_code_cache is off; now we always enforce a full Lua GC cycle right after unloading most of the loaded Lua modules when the Lua code cache is turned off.
REVERT: 8e6c9a312d change: raised the "lua_code_cache is off" warning to an alert.
REVERT: c4657a35b2 feature: now we allow use the raw request cosocket returned by ngx.req.socket(true) to send the raw HTTP response header. thanks aviramc for requesting this in #242. also we now always enable "lingering close" in the nginx core when raw req sockets are used.
REVERT: 42567bd245 docs: made the "Test Suite" section up to date (I hope).
REVERT: 7720bc7d9d removed the ngx_upstream_keepalive module from the developer build script because it has been included in the official nginx distribution.
REVERT: 5dfd547141 tests: removed the "single" option from the "keepalive" directive because it is not a public feature.
REVERT: 095ed4a235 bugfix: compilation regressions with nginx older than 1.3.13, introduced recently by the ngx.req.socket(true) API.
REVERT: 0387a89e7c bugfix: Windows compatibility issue in the Lua/LuaJIT bytecode file loader: it assumed that ngx_fd_info accepts integral fd as the 1st argument. thanks Edwin Cleton for the report (#283) and thanks jinglong for the original patch in #284.
REVERT: a41567b64c bugfix: the standard Lua coroutine API was not available in the context of init_by_lua* and threw out the "no request found" error. thanks Wolf Tivy for the report.
REVERT: c6b6b315df more warning fixes for the Microsoft Visual C++ compiler. thanks Edwin Cleton for the report.
REVERT: 585e7af92e bugfix: fixed most of the compiler warnings from the MinGW C compiler, some of which are real overflow issues. thanks Edwin Cleton for the report.
REVERT: 33832b1f7a fixed bad request header lines in the tests in 116-raw-req-socket.t, which caused test bailout in the "check leak" testing mode.
REVERT: a0ff192218 bugfix: memory invalid reads might happen when ngx.flush(true) was used: the "ctx" struct could get freed in the middle of processing and we should save the state explicitly on the C stack.
REVERT: 19f6f2f366 Merge branch 'master' into websocket
REVERT: add6df63bb Merge branch 'master' into ffi
REVERT: e78dea9e0f bumped version to 0.8.10.
REVERT: 1d4c76d172 bugfix: we did not declare the "level" local variable of ngx_http_lua_ngx_log at the beginning of the code block. thanks Edwin Cleton for the report.
REVERT: db35efd18d docs: documented more limitations in the current implementation.
REVERT: a98ff5f802 docs: avoided using module() and also recommended the lua-releng tool to locate misuse of Lua globals.
REVERT: c218ed706a testing: fixed the stap probes for the new ffi implementation.
REVERT: 8fdfc79838 bugfix: use of the ctx->headers_sent field that was already removed.
REVERT: ca27b9e36b Merge branch 'master' into ffi
REVERT: 6597dc5919 Merge branch 'master' into websocket
REVERT: a641101a5e bumped version to 0.8.9.
REVERT: 235875b5c6 refactor: removed our own ctx->headers_sent field because we should used r->header_sent instead.
REVERT: 4256020e47 Merge branch 'master' into websocket
REVERT: 95e293160b bugfix: the "pool" option value could not be nil in tcpsock:connect().
REVERT: 7b726b32cd change: we now temporarily disable the Lua API functions ngx.location.capture, ngx.location.capture_multi, and ngx.req.socket that are known to have problems with the SPDY requests for now. we will fix them eventually in the near future.
REVERT: 0557e44aaa Merge branch 'master' into websocket
REVERT: 22e09118b2 bugfix: the nginx core does not send a default status line for 101 status code. now we construct one for 101.
REVERT: 8bbd6aae27 bugfix: the nginx core does not send a default status line for 101 status code. now we construct one for 101.
REVERT: 876beeef5d Merge remote-tracking branch 'origin/master' into websocket
REVERT: 36157b4cd7 bugfix: tcpsock:receive(0) could hang when no data arrived; now it always returns an empty string immediately. this new behavior diverges from LuaSocket though.
REVERT: aa2104931c Merge remote-tracking branch 'origin/master' into websocket
REVERT: 38ebe9a317 bugfix: we did not honor the tcp_nodelay config directive in the raw downstream cosockets.
REVERT: 5b7c567cb6 documented the "always_forward_body" option for ngx.location.capture() and ngx.location.capture_multi().
REVERT: 4c6dc4f7a2 updated docs to reflect recent changes.
REVERT: 410930fa32 feature: added support for raw downstream cosocket via the ngx.req.socket(true) API, upon which http upgrading protocols like WebSocket can be implemented with pure Lua.
REVERT: 55776b7b55 tests: use larger timeout settings to account for slow DNS servers.
REVERT: ba7c1766b7 fixed those recently-added test cases that could fail in slow testing modes on slow machines.
REVERT: 0f7948d528 bugfix: we did not escape \z, \t, and \b properly in ngx.quote_sql_str().
REVERT: 6e4b5745a9 bugfix: the null character ('\0') was not escaped in ngx.quote_sql_str() according to the MySQL quoting rules. thanks Siddon Tang for the report.
REVERT: fe3c318fae change: we now limit the number of nested coroutines in the backtrace dump for uncaught Lua exceptions by 5.
REVERT: 7c5e3548ae bugfix: Lua backtrace dumps upon uncaught Lua exceptions did not work with the standard Lua 5.1 interpreter when the backtrace was deeper than 22 levels. now we just dump the top 22 levels in the backtrace for simplicity. also optimized the Lua string concatenation operations when constructing the backtrace string.
REVERT: 2926596a29 feature: now timeout errors in tcpsock:receive() and the reader returned by tcpsock:receiveuntil() no longer close the current cosocket object automatically. thanks Aviram Cohen for the original patch.
REVERT: 1a9f044dc1 now we allow application of the mockeagain reading mode to the test files that require the mockegain writing mode.
REVERT: 438bbca78e added a (passing) test for recalling the send() method on the same tcp cosocket object right after a send timeout error happens.
REVERT: 75d2524ba5 added a (passing) test for recalling the connect() method on the same tcp cosocket object right after a connecting timed out error happens.
REVERT: 45f430a006 feature: added new option "always_forward_body" to ngx.location.capture(), which controls whether to always forward the parent request's request body to the subrequest.
REVERT: 9d5bb2aa58 refactor: made the "processing flushing coroutines" process a separate C function.
REVERT: 37a502108b minor code refactoring to make the ngx_http_lua_wev_handler function shorter.
REVERT: 29a253b558 Revert "bugfix: ngx.flush(true) might hang when there was a buggy output body filter. now we only test the condition "r->connection->buffered & NGX_LOWLEVEL_BUFFERED"."
REVERT: 4ed6e7a54b bugfix: ngx.flush(true) might hang when there was a buggy output body filter. now we only test the condition "r->connection->buffered & NGX_LOWLEVEL_BUFFERED".
REVERT: 539a3021fe one minor optimization in ngx.req.socket().
REVERT: 138bc9d912 documented the new ngx.config.debug API and also updated docs to reflect other recent changes.
REVERT: db7a8c90c1 feature: added new FFI C API function ngx_http_lua_ffi_var_get for reading ngx.var.VARIABLE.
REVERT: b6d19752e3 feature: added new FFI C API ngx_http_lua_ffi_shdict_incr for shdict:incr().
REVERT: 6473e2242a minor coding style fixes.
REVERT: e7f3b02645 feature: added new FFI C API for shdict:get(). also we use double instead of lua_Number when storing Lua numbers into shdict.
REVERT: b68729345b bugfix: the FFI C API function ngx_http_lua_ffi_compile_regex could leak memory when pcre failed to compile the regex pattern argument.
REVERT: d9400dc435 skipped the regex tests for checking bad data types, which cannot pass with lua-resty-core.
REVERT: 6227668ef0 bugfix: the FFI version of the PCRE API did not generate debug logs indicating the result of PCRE JIT compilation.
REVERT: 65010dd091 feature: added support for lua_regex_match_limit in the FFI C API function for PCRE.
REVERT: 527009f210 Merge remote-tracking branch 'origin/master' into ffi
REVERT: c752049275 optimize: fixed the initial table sizes for "ngx", "ngx.config", and "ngx.re".
REVERT: 9577e5fc58 feature: added new API ngx.config.debug to indicate whether this is a debug build of nginx.
REVERT: 021645c5ec Merge remote-tracking branch 'origin/master' into ffi
REVERT: fdec270356 fixed test cases that tried to send the response header twice, which were caught by nginx 1.5.4.
REVERT: 3e049c5945 minor cleanup in a recently added test case.
REVERT: 1e13a16b34 minor refactoring in the closure factory.
REVERT: c9a04a9c2c bugfix: when a Lua line comment was used in the last line of the inlined Lua code chunk, a bogus Lua syntax error would be thrown.
REVERT: d9a48d86cf bugfix: the error message for failures in loading inlined Lua code was misleading.
REVERT: a0343434b8 bugfix: ngx.exit(204) could try to send the response header for twice. nginx 1.5.4 caught this issue.
REVERT: f4c4667b51 fixed a potential test failure in a recently added test case in 025-codecache.t.
REVERT: 3abd78b2f9 Merge branch 'master' into ffi
REVERT: e549fc2df0 feature: log_by_lua now always runs before the standard ngx_http_log_module (for access logging). thanks Calin Don for the suggestion in #254.
REVERT: 334afb35d6 fixed a test case index number in 025-codecache.t.
REVERT: b3734f0020 bugfix: the global Lua state's _G table was cleared when lua_code_cache was off, which could confuse the setup in init_by_lua. thanks Robert Andrew Ditthardt for the report in #257.
REVERT: 4042f7bd63 bugfix: ngx.flush() triggered response header sending when the header was not sent yet. now it just returned the error string "nothing to flush" for this case. thanks linbo liao for the report.
REVERT: 940429a5c6 bumped version to 0.8.6.
REVERT: 2db5028ad8 bugfix: segfaults would happen in ngx.req.set_header() and ngx.req.clear_header() for HTTP 0.9 requests. thanks Bin Wang for the report in agentzh/headers-more-nginx-module#14.
REVERT: 65d4b419bf minor test fixes.
REVERT: e72ab1dba5 minor coding style fixes.
REVERT: c7237efd8a made the test for shdict:get_stale less possible to fail.
REVERT: 7dbd2a5118 bugfix: reading ngx.header.location did not work when auto-redirect was in action. this is a further fix for #260.
REVERT: 547d299463 bugfix: segfault might happen when reading or writing to a response header via the ngx.header.HEADER API in the case that the nginx core initiated a 301 redirect. this issue was caused by an optimization in the nginx core where ngx_http_core_find_config_phase, for example, does not fully initialize the "Location" response header after creating the header. thanks Vladimir Protasov for the report in #260.
REVERT: e0626c3127 added tests to improve the code coverage in file ngx_http_lua_headers_out.c.
REVERT: 87a4f346b8 documented the new "get_stale" method for shdict objects.
REVERT: 424232deb9 updated docs to reflect recent changes.
REVERT: 124f50fd46 feature: added new method "get_stale" to shared dict objects, which returns the value (if not freed yet) even if the key has already expired. thanks Matthieu Tourne for the patch in #249.
REVERT: 2f5ebebcd3 bugfix: the "connect() failed" error message was still logged even when lua_socket_log_errors was off. thanks Dong Fang Fan for the report.
REVERT: 52f48e0761 bugfix: we incorrectly returned 500 in our output header filter, body filter, and log-phase handlers upon inlined Lua code loading errors. bugfix: Lua stack overflow might happen when we failed to load inlined Lua code from the code cache.
REVERT: c7a52824a4 more coding style fixes.
REVERT: abaa7f4272 more coding style fixes.
REVERT: e4641a3c77 more coding style fixes.
REVERT: 5edc4b3fc0 one minor coding style fix. thanks Guanlan Dai.
REVERT: c6426fb5ed fixed the test plan in t/033-ctx.t.
REVERT: 0aa9332f59 bugfix: we incorrectly returned 500 in our output header filter, body filter, and log-phase handlers upon errors. bugfix: Lua stack overflow might happen when we failed to load Lua code from the code cache.
REVERT: 629330431d bugfix: memory leak would happen when using ngx.ctx before another nginx module (other than ngx_lua) initiates an internal redirect.
REVERT: 32aadb76d9 fixed a test case.
REVERT: e24ffb7518 bugfix: use of the ngx.ctx table in the context of ngx.timer callbacks would leak memory.
REVERT: ffe89f2264 refactor: abstracted the ngx.ctx releasing logic to eliminate code duplication.
REVERT: 00c5fb4118 one minor coding style fix.
REVERT: 6859f6f8ba minor error message fixes in the Lua code cache.
REVERT: 197332049e added a (passing) test for using .lua files with a shebang line in the content_by_lua_file directive.
REVERT: d1c654b3ef bugfix: the error message was misleading when the *_by_lua_file directives failed to load the Lua file specified.
REVERT: fb38e4b277 various coding style fixes in the closure factory.
REVERT: 1db1e71f18 refactor: removed the useless code for reading Lua code from stdin.
REVERT: fadd28a11e Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 918f9a2391 refactor: removed the unused C function ngx_http_lua_clfactory_loadstring.
REVERT: df35583dd8 Merge pull request #262 from cubicdaiya/issues/traditional_definition
REVERT: 60902726d4 give the argument of 'void' to function definitions which has no arguments
REVERT: eecb52bc48 bugfix: when our atpanic handler for Lua VM gets called, the Lua VM is not recoverable for future use. so now we try to quit the current nginx worker gracefully so that the nginx master can spawn a new one.
REVERT: 0d81430914 bumped version to 0.8.5.
REVERT: 4516e5adf9 docs: documented the memory freeing behavior of shdict:flush_all and shdict:flush_expired.
REVERT: f36a35d39f documented the lua_regex_match_limit directive.
REVERT: 9d017a21ed feature: added new directive lua_regex_match_limit for setting PCRE match_limit for regex matching.
REVERT: 0aca2046ff bugfix: when compiling with -DDDEBUG=1, there was a compilation error in ngx_http_lua_uthread.c. thanks tigeryang for the report in #259.
REVERT: 8708f604f5 docs: typo fixes in the code sample for body_filter_by_lua. thanks cyberty for reporting this issue as #261.
REVERT: fe467e52bc bugfix: the ngx.ctx tables would leak memory when ngx.ctx, ngx.exec()/ngx.req.set_uri(uri, true), and log_by_lua were used together in a single location. thanks Guanlan Dai for writing the gdb utils to catch this.
REVERT: a184a91112 util/build2.sh: default to nginx 1.4.1 now.
REVERT: 76c2427ac5 test: made the resolver less possible to time out in two test cases.
REVERT: 4656a290b3 docs: bumped version to 0.8.4; also mentioned Nginx Systemtap Toolkit.
REVERT: 4d27348ccb bugfix: tcpsock:send("") resulted in the error log alert message "send() returned zero".
REVERT: 6977e95185 bugfix: setting ngx.var.VARIABLE could lead to stack buffer over-read in luaL_error when an error happened.
REVERT: 25ef1f9426 feature: added pure C API for ngx.exit, which is expected to be used with LuaJIT FFI (or lua-resty-core in particular). also added coroutine._yield for the original std version of coroutine.yield.
REVERT: d86d3dc6f8 Merge remote-tracking branch 'origin/master' into ffi
REVERT: 5e256f8bf5 refactor: now we store the nginx request object as a named Lua global variable __ngx_req to help FFI-based Lua code access it.
REVERT: d82196f7fd bugfix: t::TestNginxLua: env TEST_NGINX_INIT_BY_LUA would break existing init_by_lua_file directive in the test case.
REVERT: 0e5d1a8925 Merge branch 'master' into ffi
REVERT: 569cabe178 refactor: no longer store cf->log into the lua registry table because we can directly access the global ngx_cycle->log thing.
REVERT: d9e3e8feea refactor: added inline functions ngx_http_lua_get_req and ngx_http_lua_set_req to eliminate code duplication when storing or fetching the nginx request object from the lua global variable table.
REVERT: fe27fc2a4c updated README.markdown to reflect recent changes in docs.
REVERT: f05ef37b99 optimize: avoided use of the nginx request objects in ngx.encode_args.
REVERT: 5a0bb76e66 optimize: avoided use of the nginx request objects in ngx.escape_uri, ngx.unescape_uri, ngx.quote_sql_str, ngx.decode_base64, ngx.encode_base64, and ngx.decode_args.
REVERT: 488ab67c00 Merge branch 'master' into ffi
REVERT: d8aa2fedac updated docs to reflect recent changes.
REVERT: ff9580dd35 bugfix: ngx.flush(true) might not return 1 on success.
REVERT: 5a880aea93 change: made ngx.say/ngx.print/ngx.eof/ngx.flush/ngx.send_headers return nil and a string describing the error in case of most of the common errors (instead of throwing out an exception), and return 1 for success.
REVERT: cf4f62a620 updated .gitignore a bit.
REVERT: b07a3d3c5f fixed failing test cases to reflect the multi-value header change in nginx 1.4.1.
REVERT: f40a504274 tests: replaced the domain name "direct.agentzh.org" with "agentzh.org".
REVERT: 34f4042f23 Revert "bugfix: use of LuaJIT FFI when disabling the Lua code cache would lead to LuaJIT GC assertion failures like "g->gc.total == sizeof(GG_State)" because we unloaded the standard "ffi" module. thanks Ron Gomes for reporting this issue."
REVERT: b3218be266 bugfix: use of LuaJIT FFI when disabling the Lua code cache would lead to LuaJIT GC assertion failures like "g->gc.total == sizeof(GG_State)" because we unloaded the standard "ffi" module. thanks Ron Gomes for reporting this issue.
REVERT: 48067c830c feature: added pure C API for ngx.re.sub and ngx.re.gsub, which is expected to be used by lua-resty-core and etc.
REVERT: ef8779b188 Merge remote-tracking branch 'origin/master' into ffi
REVERT: 39151875d7 updated docs to reflect recent changes.
REVERT: 63a9915d33 added (passing) tests for use of the $invalid_referer variable in Lua. this requires the patch invalid_referer_hash for the nginx core (for now). thanks Fry-kun for reporting this issue as github #239.
REVERT: f50c7789bc bugfix: a test case would fail when TEST_NGINX_PORT was set to port numbers other than 1985.
REVERT: 9e4f9272d5 Merge remote-tracking branch 'origin/master' into ffi
REVERT: 603c7a4796 refactor: made the error messages for replacement template compilation failures less verbose in ngx.re.sub and ngx.re.gsub.
REVERT: 52bc573451 Merge remote-tracking branch 'origin/master' into ffi
REVERT: bd679f20ef refactor: save the ngx_log_t pointer instead of the ngx_http_request_t pointer in ngx_http_lua_script_engine_t. this will make the new FFI-based Lua API easier to implement.
REVERT: f20bc66109 added custom test scaffold t::TestNginxLua which subclasses Test::Nginx::Socket. it supports the environment TEST_NGINX_INIT_BY_LUA which can be used to add more custom Lua code to the value of the init_by_lua directive in the nginx configuration.
REVERT: 300b167bd4 fixed a test that may time out unexpectedly.
REVERT: 5cd82926fc bugfix: no longer automatically turn underscores (_) to dashes (-) in header names for ngx.req.set_header and ngx.req.clear_header. thanks aviramc for the report.
REVERT: 9cfcb06ba8 bugfix: segmentation fault might happen in nginx 1.4.x when calling ngx.req.set_header on the Cookie request headers because recent versions of nginx no longer always initialize r->headers_in.cookies. thanks Rob W for reporting this issue as #237.
REVERT: 06da40f9b9 style: fixed one line's indentation.
REVERT: 71e16c46d2 added custom test scaffold t::TestNginxLua which subclasses Test::Nginx::Socket. it supports the environment TEST_NGINX_INIT_BY_LUA which can be used to add more custom Lua code to the value of the init_by_lua directive in the nginx configuration.
REVERT: 1f1a31c7bd feature: added pure C API for ngx.re.match, which is expected to be used by lua-resty-core and etc.
REVERT: 170d8f9d7a bugfix: ngx_http_lua_ffi_escape_uri did URI unescaping instead of URI escaping.
REVERT: 1bf2344ca0 Merge remote-tracking branch 'origin/master' into ffi
REVERT: 31a80431cc fixed some expected error messages in the ngx.re test cases for Lua implementations of the ngx_lua API like lua-resty-core.
REVERT: e8ec21e9ab Merge remote-tracking branch 'origin/master' into ffi
REVERT: 9b8a7b5e03 change: made more error messages for regex exec failures less verbose.
REVERT: a80d4e1d67 Merge remote-tracking branch 'origin/master' into ffi
REVERT: 5c5a0a87ba change: made the error messages for regex exec failures less verbose.
REVERT: ece37a98ef Merge remote-tracking branch 'origin/master' into ffi
REVERT: 35e6a65f9f change: made the error messages for regex compilation failures less verbose.
REVERT: 0e9fbdfb7d Merge remote-tracking branch 'origin/master' into ffi
REVERT: 4806fc2eef bugfix: fixed the warning "argument 'nret' might be clobbered by 'longjmp' or 'vfork'" when compiling with Ubuntu 13.04's gcc 4.7.3. thanks jacky and Rajeev's reports.
REVERT: 41e3c2f5b9 docs: documented the new WebDAV request methods; also fixed a small typo.
REVERT: b4c2ad1f8e feature: added ngx.HTTP_MKCOL, ngx.HTTP_COPY, ngx.HTTP_MOVE, and other WebDAV request method constants; also added corresponding support to ngx.req.set_method and ngx.location.capture. thanks Adallom Roy for the patch.
REVERT: 601ddff378 optimize: ngx.escape_uri now runs faster when the input string contains no special chars to be escaped.
REVERT: b7b728926a bugfix: temporary memory leaks might happen when using ngx.escape_uri, ngx.unescape_uri, ngx.quote_sql_str, ngx.decode_base64, and ngx.encode_base64 in tight Lua loops because we allocated memory in nginx's request memory pool for these methods.
REVERT: f442858bb9 minor coding style fixes and micro optimizations in ngx.md5, ngx.encode_base64, and ngx.decode_base64.
REVERT: 1cc76f5978 feature: allow injecting new APIs into the "ngx" table.
REVERT: c04c51a232 bugfix: ngx.req.set_body_file() always enabled Direct I/O which caused the alert message "fcntl(O_DIRECT) ... Invalid argument" in error logs on file systems lacking the Direct I/O support. buffer corruption might happen in ngx.req.set_body_file() when nginx upstream modules are used later because ngx.req.set_body_file() incorrectly set r->request_body->buf to the in-file buffer which could get reused by ngx_http_upstream for its own purposes. thanks Matthieu Tourne for reporting this issue.
REVERT: 5cb2b4946e feature: added pure C API for ngx.escape_uri and ngx.unescape_uri, which is expected to be used by lua-resty-core and etc.
REVERT: 0ab77f9640 feature: added pure C API for ngx.encode_base64 and ngx.decode_base64, which is expected to be used by lua-resty-core and etc.
REVERT: c355f0b5bc bugfix: failed to compile when SHA1 support is missing. this regression had appeared in cea321f7f9e2614c9e0932e367d15502507fa7e9.
REVERT: 6ef7cef0dc feature: allow injecting new APIs into the "ngx" table.
REVERT: cea321f7f9 added pure C API for ngx.md5, ngx.md5_bin, ngx.sha1_bin, which is expected to be used with LuaJIT FFI (or lua-resty-core in particular). such API can be excluded by specifying the C macro NGX_HTTP_LUA_NO_FFI_API.
REVERT: 34411875fb added error log checks to the bytecode tests.
REVERT: e7dff1b301 updated the docs in plain text and markdown format to reflect recent changes.
REVERT: c558c4347b bumped version to 0.8.1.
REVERT: 04c81b1f84 minor coding style fixes.
REVERT: 65ff8d86da fixed a test case that may behave slighly differently on slow machines.
REVERT: 790a74e043 bugfix: when lua_http10_buffering is on, for HTTP 1.0 requests, ngx.exit(N) would always trigger the nginx's own error pages when N >= 300. thanks Matthieu Tourne for reporting this issue.
REVERT: 3052bcd8a3 updated .gitignore a bit.
REVERT: f41226883a refactor: removed the unused parameter, "no_create", from the ngx_http_set_header_helper function.
REVERT: 30cbc33074 fixed several places in the header API where we should return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR.
REVERT: d1eca0c72e fixed one test case's title.
REVERT: 7695a31e04 documented the new "U" regex option for the ngx.re API.
REVERT: 7e515f189e bugfix: modifying the Cookie request headers via ngx.req.set_header or ngx.req.clear_header did not update the Nginx internal data structure, r->headers_in.cookies, at the same time, which might cause issues when reading variables $cookie_COOKIE, for example. thanks Matthieu Tourne for the patch.
REVERT: 0ac676f654 feature: added the "U" regex option to the ngx.re API to mean enabling the UTF-8 matching mode but disabling UTF-8 validity check on the subject strings. thanks Lance Li for the patch in #227.
REVERT: 766563fba3 one minor coding style fix.
REVERT: b90e7dd1ab bugfix: modifying the Via request header with ngx.req.set_header/ngx.req.clear_header did not update the special field r->headers_in.via when the ngx_gzip module was enabled.
REVERT: 97425f8dc6 bugfix: ngx.req.set_header/ngx.req.clear_header did not update the special field r->headers_in.x_real_ip when the ngx_realip module was enabled. thanks Matthieu Tourne for the patch.
REVERT: a07df6151a bugfix: modifying the Connection request header via ngx.req.set_header or ngx.req.clear_header did not update the special internal flags in the Nginx core, "r->headers_in.connection_type" and "r->headers_in.keep_alive_n". Thanks Matthieu Tourne for the patch.
REVERT: 55555a78a0 bugfix: modifying the User-Agent request header via ngx.req.set_header or ngx.req.clear_header did not update those special internal flags in the Nginx core, like "r->headers_in.msie6" and "r->headers_in.opera". Thanks Matthieu Tourne for the patch.
REVERT: 2aa12ab3df bumped version to 0.8.0.
REVERT: 656551e618 documented ngx.timer.at, lua_max_pending_timers, lua_max_running_timers, and other recent changes.
REVERT: 6afcc17ff1 feature: ngx.get_phase() now returns the string "timer" when being invoked within a user callback function for ngx.timer.*.
REVERT: d98a193d4c added a (passing) test for using ndk.set_var.* in the context of ngx.timer callbacks.
REVERT: d997f7401f refactor: replaced "ngx_lua_" with "ngx_http_lua_" in the identifiers used in ngx_http_lua_regex.c.
REVERT: d43a39c59e bugfix: setting ngx.header.etag could not affect other things reading the ETag response header (like the "etag" directive introduced in nginx 1.3.3+). thanks Brian Akins for the patch in #213.
REVERT: e2d299e500 Merge branch 'timer'
REVERT: f081f212d3 bumped version to 0.7.21.
REVERT: b2ae68b7ac merged "master" into "timer".
REVERT: 6717d1153f feature: added support for user arguments to the user callback function specified in ngx.timer.add(); the user callback function has the prototype "function(premature, user_arg1, user_arg2, ...)".
REVERT: 26d679f8d4 bugfix: ngx.req.raw_header() would return an empty string value when the default header buffer (c->buffer) can hold the request line but not the whole header. thanks KDr2 for reporting this issue in #229.
REVERT: 10edc8cb03 added a passing test for calling ngx.timer.at() after HUP reload.
REVERT: 069f07541d feature: when the nginx worker process is quitting (as in server shutdown or HUP reload), all the pending ngx.timer timers expire immediately and their Lua callbacks get called with a true value as the first argument (to indicate whether it is a premature expiration or not).
REVERT: f820e5476b Merge branch 'master' into timer
REVERT: 4e8c4bfcbd bugfix: boolean values in an array table were rejected with the exception "attempt to use boolean as query arg value" while encoding a lua (hash) table as URL arguments. thanks Calin Don for reporting this issue.
REVERT: 5df2ec9faf Merge branch 'master' into timer
REVERT: a414691b8e updated docs to reflect recent changes.
REVERT: 71bf29a2f3 merged "master" branch to "timer".
REVERT: 7c6484dc20 updated tests to reflect recent changes in the upstream_truncation patch for the nginx core.
REVERT: 59fe204e92 added error log checks in 000--init.t.
REVERT: 4eeb47626c removed too short proxy read timeout settings in two cases that are expected to pass.
REVERT: 9e3b32f90c fixed a test case that might fail in slow testing modes.
REVERT: b408d5be9d feature: ngx.location.capture and ngx.location.capture_multi now return a lua table with the boolean field "truncated", which indicates whether the subrequest response body is truncated. bugfix: we no longer override the subrequest response status code later when error happens.
REVERT: e9f9fdd3af bugfix: request hung when rewrite cycled in ngx.req.set_uri(uri, true) instead of throwing out an error log message and a 500 page properly. thanks Calin Don for the report.
REVERT: 74617ac4c9 bugfix: the debug log message "lua set uri jump to <uri>" generated by ngx.req.set_uri(uri, true) was wrong for <uri> was the old URI.
REVERT: 8dc910197c tests: made two systemtap-based test cases less possible to fail in slow testing mode.
REVERT: 40bc1bb0f4 tests: ensure that TEST_NGINX_USE_STAP is unset when TEST_NGINX_USE_HUP is set.
REVERT: 3c6379264e Merge remote-tracking branch 'origin/master' into timer
REVERT: c7a0cf5f24 Merge remote-tracking branch 'origin/master' into timer
REVERT: 2ac8d89439 feature: added new Lua API, ngx.timer.at(time, callback), for defining timers that can run the user callback as a Lua "light thread" (detached from the current request) after the time (in seconds) specified. also added new configure directives lua_max_pending_timers and lua_max_running_timers for limiting the number of pending timers and "running" timers.
REVERT: a352e1fd6b feature: now we allow zero time argument in ngx.sleep().
REVERT: 66e2ccbfae bugfix: assignment to ngx.status did not take effect when the response status line had already been generated (by ngx_proxy or others). thanks eqiuno for reporting this issue in #221.
REVERT: d4b8c7d84e bumped version to 0.7.19.
REVERT: f203b5f460 ngx.req.raw_header: added a buffer size assertion and two more (passing) tests regarding some special cases.
REVERT: 664d74ed7f bugfix: ngx.req.raw_header() would return the first part of the request body when request body was read before the call. thanks Matthieu Tourne for reporting this issue. bugfix: ngx.req.raw_header() might not work properly in a subrequest.
REVERT: 5193cff298 updated docs to reflect recent changes.
REVERT: c7879f30fb raised the error log level back to "warn" for 087-udp-socket.t, which contains test cases that can flush error logs a lot which may lead to timeouts.
REVERT: 168eb3878b typo fixes in the tests for udp cosockets.
REVERT: 357f25d10a added a (passing) test for ensuring the resolver gets shut down properly when it fails to resolve a domain.
REVERT: 84c4d18339 bugfix: ngx.socket.udp: memory leaks or invalid memory accesses might happen when the DNS resolver failed to resolve.
REVERT: 7f94cb208c fixed some test cases which may fail in slow testing modes.
REVERT: 16db13b887 eliminated the use of the cjson library in a recently-added test case.
REVERT: a38ceeb002 optimize: we now use the bind() call to do autobind for datagram unix domain sockets in ngx.socket.udp() on Linux instead of abusing the side effect of SO_PASSCRED. thanks Dirk Feytons for the suggestion.
REVERT: 57e3a3a9fa added a test case for github issue #218, which requires the run_posted_requests_in_resolver patch for the nginx core to get passed.
REVERT: dbde4c3907 optimize: fixed the initial size of the ngx.shared table and also updated the tests accordingly.
REVERT: 4751625f89 Merge branch 'ngx-re-no-exceptions'
REVERT: 3ad47790ed Merge branch 'shdict-safe-store'
REVERT: d52ed6c2a8 Merge branch 'master' into subreq-body-in-file
REVERT: f4ffb4f932 one minor coding style fix.
REVERT: b582064ecc bugfix: when a non-table value was specified for the "args" option in the ngx.location.capture or ngx.location.capture_multi call, memory invalid access might happen, which resulted in garbage data at least. thanks Siddon Tang for reporting this issue.
REVERT: 182f2e08bf Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: dfc7a4cd71 feature: datagram unix domain sockets created by ngx.socket.udp() can now receive data from the other endpoint via "autobind" on Linux. thanks Dirk Feytons for the patch.
REVERT: d3c549e9f5 bugfix: (large) in-file request bodies could not be inherited correctly by multiple subrequests issued by ngx.location.capture. thanks Matthieu Tourne for reporting this issue.
REVERT: 0c8fb04d6b one minor coding style fix.
REVERT: 3ea32c9693 api-change: the ngx.re.match, ngx.re.gmatch, ngx.re.sub, and ngx.re.gsub functions used to throw Lua exceptions aggressively for all the error conditions; now they return an additonal string describing the error for almost all common errors instead of throwing exceptions, including pcre compile-time and exec-time failures. thanks Matthieu Tourne for requesting this change.
REVERT: 17b349e972 feature: added new methods safe_set and safe_get to ngx.shared.DICT objects, which never override existing unexpired items but immediately return nil and a "no memory" string message when running out of storage. thanks Matthieu Tourne for requesting this.
REVERT: 835aea95fa bugfix: invalid memory access might happen when the UDP cosockets were used. this regression had appeared in the commit f84ca22c30091c75955d44bd790a714b1ef0bbe9.
REVERT: a62eadd492 bugfix: invalid memory access might happen when the TCP cosockets were used. this regression had appeared in the commit 04775502b2e348181282345320b727ab1a5a8808.
REVERT: 5c4c4e429c tests: avoided using taobao.com in the test suite; also decreased the resolver_timeout setting.
REVERT: f84ca22c30 bugfix: when the Lua code using UDP cosockets + resolver was run in a subrequest, the subrequest could hang due to missing calls to ngx_http_run_posted_requests in the UDP cosocket resolver handler. thanks Lanshun Zhou for reporting this issue in #215.
REVERT: 04775502b2 bugfix: when the Lua code using TCP cosockets + resolver was run in a subrequest, the subrequest could hang due to missing calls to ngx_http_run_posted_requests in the TCP cosocket resolver handler. thanks Lanshun Zhou for reporting this issue in #215.
REVERT: a768a65b25 updated docs to reflect recent changes; also bumped the version number to 0.7.17.
REVERT: 88b4fda412 fixed the timeout settings for large header test cases in 104-req-raw-header.t.
REVERT: d86bb17130 bugfix: rewrite_by_lua_no_postpone can only work globally and did not reject contexts like "server" and "location" configuration blocks. thanks Matthieu Tourne for reporting this issue.
REVERT: ba594765fa fixed ill-formed HTTP requests in a recently-added test case, which caused issues under the "check leaks" testing mode.
REVERT: 545b03fd5e fixed tests to reflect output format changes in agentzh/echo-nginx-module@2adcf59ec5.
REVERT: cf568da596 fixed tests to reflect the typo fix in 4927e75b0507477f425a7296cf44119453363b2d.
REVERT: 53a46aaef9 docs: made it explicit that redirecting to external domains is also supported in ngx.redirect(). thanks Ron Gomes for asking.
REVERT: c95456c872 feature: implemented the ngx.req.raw_header() function for returning the original raw HTTP protocol header string received by Nginx. thanks Matthieu Tourne for requesting this.
REVERT: 4927e75b05 fixed a typo in an error message. thanks Matthieu Tourne for reporting it.
REVERT: 89861df1c3 feature: implemented ngx.req.http_version() that returns the HTTP version number for the current request. thanks Matthieu Tourne for requesting this.
REVERT: 5361c95299 bugfix: ngx.req.get_headers(limit, true) would still return header names in the all-lower-case form when the "limit" argument was an integer. thanks Matthieu Tourne for reporting this issue.
REVERT: 76910a32d2 fixed tests that may fail in slow testing modes.
REVERT: eff99d5dba bugfix: use of ngx.req.socket() could make socket reading hang infinitely when the request did not take a request body at all (that is, when the Content-Length request header is missing). thanks Matthieu Tourne for reporting this issue.
REVERT: 40fabb23bb bugfix: ngx.re.match: when the "D" regex option was specified, an empty Lua table would always be created even when the named capture was actually empty. thanks Matthieu Tourne for reporting this issue.
REVERT: e30ea025c3 updated docs to reflect recent changes.
REVERT: eb2d846311 fixed test cases in uthread-spawn.t for slow testing modes.
REVERT: 85841a721f refactor: renamed ngx_http_lua_script_copy_capture_code_t to ngx_http_lua_script_capture_code_t.
REVERT: 5d114acb42 optimize: removed the unsed "size" field and related computatins from the script engine.
REVERT: 4beec04baa added (passing) tests for using $0 in the replacement template when no capturing parenthese are used in the regexes.
REVERT: e9dd328489 minor optimizations in the script engine to save a little memory.
REVERT: 57a6471bf1 updated docs to reflect recent changes; also bumped version to 0.7.15.
REVERT: 96a18a054f fixed more test cases using systemtap that could fail expectedly in slow testing modes.
REVERT: 414c6605ad added a (passing) test for github issue #208: coroutine as iterator doesn't work
REVERT: 6f34716158 fixed a test case that may fail expectedly in slow testing mode.
REVERT: 49eab61c23 bugfix: the original Lua VM error messages might get lost in case of Lua code crashes when user coroutines were used. thanks Dirk Feytons for the report in github issue #208.
REVERT: b5492eedbc fixed test cases using the deprecated math.mod() method.
REVERT: 6d4150994b added more info about r->main->count to the debugging logs.
REVERT: e829556764 massive coding style fixes.
REVERT: d931db4573 bumped version to 0.7.14.
REVERT: 85bab3a9e4 added a (passing) test to ensure that ngx.req.get_body_data can handle request body bufs more than 2.
REVERT: 7c37f85300 updated valgrind.suppress a bit.
REVERT: c0f62e590e bugfix: for nginx 1.3.9+, rewrite_by_lua* or access_by_lua* handlers might hang if the request body was read there, because the nginx core now overrites r->write_event_handler to ngx_http_request_empty_handler in its ngx_http_read_client_request_body API.
REVERT: 58506f7622 added a (passing) test for chunked request body + ngx.req.read_body (for nginx 1.3.9+).
REVERT: bbdb695682 bugfix: for nginx 1.3.9+ compatibility, we return an error while using ngx.req.socket() to read the chunked request body (for now), because chunked support in the downstream cosocket API is still a TODO.
REVERT: af944b1790 fixed the style in t/044-req-body.t.
REVERT: 5af60191ef updated docs to reflect recent changes.
REVERT: e37b58e372 bugfix: for nginx 1.3.9+ compatibility, we now throw an error in ngx.req.init_body(), ngx.req.set_body_data(), and ngx.req.set_body_file() when calling them without calling ngx.req.read_body() or after calling ngx.req.discard_body().
REVERT: 480ff88583 removed most of the leak false positives from valgrind.suppress because we now pass the option --show-possibly-lost=no to valgrind by default.
REVERT: 7422139777 bugfix: recent versions of ngx_lua failed to compile with old PCRE versions like 6.6 due to the "D" and "J" regex options; now these two regex options require at least PCRE 8.12. thanks Wenhua Zhang for reporting this issue.
REVERT: a1fe49f434 optimize: we no longer traverse the captured body chain everytime we append a new link to it.
REVERT: 22cf24c3f2 minor documentation tweaks.
REVERT: 07d4873968 feature: implemented the "J" regex option for the PCRE Javascript compatible mode in the ngx.re API. thanks lhmwzy for requesting this.
REVERT: b8af0b925e fixed the missing bits for commit 0d120033.
REVERT: a6d8faf2bb feature: implemented named subpatterns for ngx.re.match, ngx.re.gmatch, ngx.re.sub, and ngx.re.gsub; also added new regex option "D" to allow duplicate named subpatterns. thanks Ray Bejjani for the patch in github pull #182.
REVERT: e46baf0adc bugfix: commit 2875695b was incomplete.
REVERT: c8c5688397 docs: documented the ngx.quote_sql_str API. also updated the docs for body_filter_by_lua* regarding the "eof" argument in subrequests.
REVERT: 2875695b7b bugfix: setting the "eof" argument (i.e., ngx.arg[2]) in body_filter_by_lua for a subrequest could truncate the main request's response data stream.
REVERT: 329907fd05 tests: stopped hitting Google's open DNS server's 12345 port.
REVERT: 0d12003313 tests: eliminated hitting Google's web servers (but we still make use of its public DNS servers).
REVERT: 2603780dd4 added a test case for a segfault in the nginx core when using ngx_poll_module + ngx_resolver together.
REVERT: ab02c1203a bugfix: failed to compile with the SPDY patch 58_1.3.11 because that patch removed the field from the Nginx core. thanks Chris Lea for reporting this in github issue \#203.
REVERT: bc53e62bca fixed those recently-added tests for 100 continue that may fail expectedly.
REVERT: b9ac4139d9 refactor: when the nginx core fails to send the "100 Continue" response in case of the "Expect: 100-continue" request header (or just running out of memory), ngx.req.read_body() will no longer throw out a "failed to read request body" Lua error but will just terminate the current request and returns the 500 error page immediately, just as what the Nginx core does in this case.
REVERT: 00bd9a4c35 added (passing) tests for using ngx.req.read_body in the "rewrite" and "access" phases when nginx fails to send the "100 Continue" response.
REVERT: 6398a90485 updated tests to reflect recent changes in the DNS settings for my agentzh.org domain.
REVERT: fec300b736 bugfix: we did not get the request reference counter right when lua_need_request_body was turned on and nginx versions older than 1.2.6 or 1.2.9 were used.
REVERT: f71e4700f1 fixed a failing test case in normal testing mode.
REVERT: 7786f978e0 bugfix: because of the recent API behaviour changes in nginx 1.2.6+ and 1.3.9+, the "http request count is zero" alert might happen when ngx.req.read_body() was called to read the request body and nginx failed to send out the "100 Continue" (short) response (like client connection early abortion and etc). thanks stonehuzhan for reporting this issue.
REVERT: 1a52a5819d feature: setting ngx.header.HEADER after sending out the response headers now only produced an error message in the nginx error logs and does not throw out a Lua exception. this should be handy for Lua development. thanks Matthieu Tourne for suggesting this.
REVERT: f6e62d5631 bugfix: in body_filter_by_lua, the "eof" flag (i.e., ngx.arg[2]) was not set in subrequests.
REVERT: 7837e433e3 Merge pull request #200 from chipitsine/master
REVERT: 4b1adde524 OpenBSD-5.2
REVERT: 93e0e2929f docs: bumped version to 0.7.13.
REVERT: e059eac045 bugfix: using a key with underscores in ngx.header.KEY resulted in Lua string storage corruption. thanks rkearsley for reporting this as github issue #199.
REVERT: 87d109fce3 docs: bumped version to 0.7.12.
REVERT: 9354740483 bugfix: ngx.decode_args() might modify (read-only) Lua strings in-place, which could lead to bad Lua string values. thanks Xu Jian for the report and Kindy Lin for the patch.
REVERT: d3280ab61b docs: typo in the code sample for tcpsock:receiveuntil. thanks Yecheng Fu for the patch in github pull #196.
REVERT: 58e14a62f5 bumped version to 0.7.11.
REVERT: d3c0f25469 docs: fixed a typo in the Lua code sample for ngx.re.gmatch (we forgot to add "do" there). thanks Guo Yin for reporting this issue.
REVERT: 3f69addea1 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: a78ee75610 bugfix: removed the unnecessary dot from the "config" file. thanks Rafael Souza for reporting this regression.
REVERT: b802870d70 docs: declared compatibility with nginx 1.2.6; also bumped version to 0.7.10.
REVERT: 6e162fd013 minor coding style fixes in ngx_http_lua_variable.c.
REVERT: eabefc7970 bugfix: accessing ngx.var.VARIABLE allocated tempory memory buffers in the request memory bool, which could lead to unnecessarily large memory footprint. not it allocates such bufferes via Lua GC.
REVERT: 5084866842 updated the tests in 005-exit.t for nginx 1.2.6+.
REVERT: d1613a6475 feature: automatically detect LuaJIT 2.0 on FreeBSD by default. thanks rkearsley for the patch.
REVERT: cf18fcbbb6 docs: explained why "local foo = require 'foo'" is required to load a Lua module. thanks rkearsley for asking.
REVERT: 362fcfe460 documented the request body automatic inheritance behavior in ngx.location.capture; also bumped version to 0.7.9.
REVERT: 6eeb8fb81c minor coding style fixes.
REVERT: 59fc4aea8c bugfix: ngx.status assignment would always be overridden by the later ngx.exit() calls for HTTP 1.0 requests if lua_http10_buffering is on (the default setting). thanks chenshu for reporting this in github issue #193.
REVERT: 543169dfbd bugfix: typo in the error message when accessing an nginx variable that has not been defined.
REVERT: eb3a36bb48 updated docs to reflect recent changes.
REVERT: 515658747a Merge pull request #186 from mizzy/fix-date-format-in-readme
REVERT: 457cdf79e1 Fix date format
REVERT: d4eb39b40e bumped version to 0.7.8.
REVERT: d54a03ebd2 made the tests in uthread-exec.t less possible to fail the systemtap subtest on slow machines.
REVERT: 477f82efcc made the tests for ngx.on_abort() less possible to fail due to random timing issues.
REVERT: d270ade767 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 46e32a2915 bugfix: ngx.req.set_body_file() might lead to memory issues because it directly used the storage of lua strings allocated by the lua GC (we should allocate a new memory block on the nginx side and copy the string data over).
REVERT: 94d950eed7 bumped version to 0.7.7.
REVERT: b39743aa57 bugfix: when a user coroutine or user "light thread" dies with an error, our Lua backtrace dumper written in C may access one of its dead parent threads which could lead to segmentation faults.
REVERT: fd7b70de6f refactor: now we use the TEST_NGINX_SERVER_PORT env consistently in the test suite.
REVERT: fd51c766cd fixed a test case that uses the hard-coded port 8888 which may not be available especially in the "check leak" testing mode that often runs into port shortage.
REVERT: c400c31152 minor coding style fixes in ngx_http_lua_regex.c.
REVERT: 614d6a6ef0 updated the docs for ngx.req.start_time and ngx.now a bit.
REVERT: 4a4bdd9506 Merge remote-tracking branch 'origin/master' into req-start-time
REVERT: 5768a6824d feature: added ngx.req.start_time() to return the request starting time in seconds (the milliseconds part is the decimal part just as in ngx.now). thanks Matthieu Tourne for the patch.
REVERT: f85899f503 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 6969518525 fixed an english typo in the error message for init_by_lua*.
REVERT: e83fabb0e5 attempted to fix a test that may fail unexpectedly in the "hup reload" testing mode.
REVERT: 50e41da5d8 fixed a test case in 020-subrequest.t for slow testing modes.
REVERT: e3d3ec3f58 added more docs regarding using ngx.exit() to abort pending subrequests in other "light threads" and setting ngx.status after sending out the response headers.
REVERT: 3583cb08d5 added tests for the "ngx_slab_alloc() failed: no memory" error message. these require the patch https://github.com/agentzh/ngx_openresty/blob/master/patches/nginx-1.2.4-slab_alloc_no_memory_as_info.patch
REVERT: 15fac2963b feature: setting ngx.status after sending out response headers no longer yield a Lua exception but only leave an error message in the error.log file, which is useful for Lua-land debugging. thanks Matthieu Tourne for requesting this.
REVERT: 930b938d46 fixed several test cases which may fail unexpectedly due to timing errors.
REVERT: 2b48ef43c5 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 442b453333 bugfix: when the user callback function registered by ngx.on_abort() discarded the client abort event, the request would be aborted by force when the next client abort event happened.
REVERT: 164ef98f45 feature: the user can now call ngx.exit(444) to abort pending subrequests in other light threads from within a light thread.
REVERT: 780b826862 refactor: we did not need to reset the on_abort_co_ctx field in reset_ctx.
REVERT: cc57703fbf updated docs to reflect recent changes.
REVERT: 5feda1fee3 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: e1dd6ff662 added a test case for a regression introduced by the upstream_pipeline patch of openresty.
REVERT: 857ed86f09 increased the timeout threshold for the slow tests in slow testing modes.
REVERT: 4f7eb4f05e made a test case less possible to fail in slow testing modes like "mockeagain w + valgrind memcheck".
REVERT: 3986c47877 Merge pull request #181 from smallfish/patch-1
REVERT: 4bd0744086 Update src/ngx_http_lua_log.c
REVERT: ff1949b075 bugfix: the "light thread" object created by ngx.thread.spawn() might be prematurely collected by the Lua GC because we did not correctly register its coroutine object into the Lua regsitry table. this bug may crash the Lua VM and nginx workers under load. thanks Zhu Dejiang for reporting this issue.
REVERT: 7b0d7daca9 bugfix: the "light thread" object created by ngx.on_abort() might be prematurely collected by the Lua GC because we did not correctly register its coroutine object into the Lua regsitry table. this bug may crash the Lua VM and nginx workers under load. thanks Zhu Dejiang for reporting this issue.
REVERT: 2ecf5afa83 bugfix: ngx.thread.wait() might hang infinitely when more than 4 user "light threads" are created in the same request handler due to the incorrect use of ngx_array_t for ngx_list_t. thanks Junwei Shi for reporting this issue.
REVERT: 5abd74c3d6 minor test file style fixes.
REVERT: e6b20cb2eb feature: added new dtrace static probe http-lua-user-thread-wait.
REVERT: d3214ca9c4 bugfix: subrequests with error status code did not trigger output header filtering any more. this bad had appeared in the last commit.
REVERT: 6d7e0c0a5b bugfix: ngx.location.capture/ngx.location.capture_multi might hang infintely because the parent request might not be waken up right after the first time the post_subrequest callback was called. now we also always skip the special response handler altogether for our subrequests.
REVERT: 9ad04360ce ported all the documentation tweaks from the nginx wiki site.
REVERT: a9d1383bd9 minor test case style formatting.
REVERT: 0b838944d1 fixed various issues in the test suite.
REVERT: 15a5793b5f ngx.exit(N) now no longer throws out a Lua exception when N >= 300 and a response header with a different status code has already been sent (but an error message will still be printed into the error.log file). this change makes Lua code debugging based on ngx.say/ngx.print much easier. thanks Matthieu Tourne for the suggestion.
REVERT: 35b86cd530 bugfix: ngx.exit(N) threw out exceptions when N was 408, 499, or 444 and the response header was already sent. thanks Kindy Lin for reporting this issue.
REVERT: ca262cb466 bumped version to 0.7.5.
REVERT: 8d92e6c670 bugfix: ngx.log() would truncate the log messages with a null character (\0) in it. thanks Wang Xi for reporting this issue.
REVERT: 7c0948a08e bugfix: ngx.req.clear_header() would result in memory invalid reads when removing the 21st request headers. thanks Umesh Sirsiwal for reporting this issue in github issue #176.
REVERT: 1a44b73fa6 updated docs to eliminate use of package.seeall in code samples and also to explicitly discourage the use of it.
REVERT: a55fd25065 documented the special case that client closes the connection before ngx.req.socket() finishes reading the whole body.
REVERT: fc4391e072 documented lua_check_client_abort and ngx.on_abort; also bumped version to 0.7.4.
REVERT: e06f7e3a24 polished the test cases that could expectedly fail.
REVERT: 0990bdef77 ported the tests for ngx.on_abort() to access_by_lua and rewrite_by_lua.
REVERT: 75be85db63 made the tests less possible to fail in slow testing modes.
REVERT: 1d5b18a81d bugfix: calling ngx.on_abort() twice in a single handler will result in memory leaks; now it returns an error upon subsequent calls.
REVERT: b3a7787023 bugfix: request might hang when a callback function is registered via ngx.on_abort() and there was no client abort event at all. also ensured that the on_abort callback will not get called when the request is already done.
REVERT: 0b9466ac13 feature: ngx.exit(N) can now abort pending subrequests when N = 408 (request time out) or N = 499 (client closed request) or N = -1 (error). feature: added ngx.on_abort() for registering user Lua function callback which will get called automatically when client abortion happens.
REVERT: 52e971cb0c renamed the config directive "lua_on_client_abort stop|ignore" to "lua_check_client_abort on|off".
REVERT: ec5214cfca added a test case for testing the kqueue-specific bug in the ngx_http_upstream_test_connect function of the nginx core.
REVERT: 5ba9195e59 fixed a test case regarding cosocket set_keepalive on FreeBSD.
REVERT: 8ed15a432b tweaked the test cases for one-way shutdown for the mockegain writing testing mode because nginx does not really support the one-way shutdown on the client side.
REVERT: 8f8cb23f36 bugfix: using "lua_on_client_abort stop" and doing internal redirects might lead to segmentation faults.
REVERT: 9649c8ba6b bugfix: fixed the -Werror=unused-variable gcc warning on systems without kqueue, which was introduced by commit 9205848.
REVERT: 92058483d5 bugfix: ngx_lua cosocket's connect() method could not detect errors like "connection refused" when kqueue was used. tests: fixed the compatibilty issues in those test cases that were failing on non-Linux systems like FreeBSD.
REVERT: 31089a419c bugfix: we could not compile on FreeBSD due to the recent work on lua_on_client_abort.
REVERT: 1937d58112 updated --- stap_wait to --- wait in the test suite to reflect the new changes in Test::Nginx::Socket.
REVERT: c5dc5dc147 bugfix: reading on ngx.req.socket() now returns the error "client aborted" in case request body truncation even when lua_on_client_abort is "ignore". bugfix: for edge-triggered events, use of ngx.req.socket() might prevent "lua_on_client_abort stop" from detecting the connection shutdown event.
REVERT: 83f8f95542 bugfix: receiving data on ngx.req.socket() did not return any errors when the request body got truncated; now we return the "closed" error (or "client aborted" when lua_on_client_abort is not configured as "ignore"). feature: implemented new config directive lua_on_client_abort which (atm) takes two possible values, "ignore" (the default) and "stop".
REVERT: 642e541129 Merge branch 'master' into client-abort
REVERT: 5cc8de8e7d code refactoring in the module configuration part.
REVERT: 41243bfa87 code refactoring in the module configuration part.
REVERT: 7b1f3323a2 documented the new shdict:get_keys() API. also bumped version to 0.7.3.
REVERT: f928feae8d feature: added the "get_keys" method for the shared dictionaries for fetching all the (or the specified number of) keys (default to 1024 keys). thanks Brian Akins for the patch in pull \#170.
REVERT: e607b639be bumped version to 0.7.2.
REVERT: b5531ff5be feature: now we can automatically detect the vendor-provided LuaJIT-2.0 package on Gentoo. thanks Il'ya V. Yesin for the patch in github pull #167. it is still recommended, however, to explicitly set the environments LUAJIT_INC and LUAJIT_LIB.
REVERT: db2d5310b3 docs: massive wording improvements from Dayo. also bumped version to 0.7.1.
REVERT: 3875a33976 bugfix: ngx.re.gsub() might throw out the "attempt to call a string value" exception when the "replace" argument is a Lua function and the subject string is large. thanks Zhu Maohai for reporting this issue.
REVERT: 7ee528b203 docs: documented the new ngx.thread API. also fixed the __newindex metamethod definition for catching writes to undeclared global varaibles in a Lua module.
REVERT: 1690add7f8 docs: added a warning for ngx.var.VARIABLE that memory is allocated in the per-request memory pool. also made it clear why "return" is recommended to be used with ngx.exit(). thanks Antoine.
REVERT: 4d8cbe95cd fixed those test cases using the UDP cosockets to be prepared for data read in a single run (without EAGAIN, that is).
REVERT: 5d0fb9feae bugfix: the lua light threads would leak in case of nginx filter finalization. this issue was caught by the "check leak" testing mode provided by Test::Nginx while running on Amazon EC2.
REVERT: 2694d7758c bugfix: older gcc versions might issue warnings like "variable 'nrets' might be clobbered by 'longjmp' or 'vfork'", like gcc 3.4.3 for Solaris 11. thanks Wenhua Zhang for reporting this issue.
REVERT: bfcb77b126 resolved conflicts while merging "master" into "thread".
REVERT: 73d8dd231b bumped version to 0.6.10.
REVERT: d3f55d7a7c bugfix: ffi.copy() was used incorrectly in the test cases in 099-c-api.t: it might write out of the buffer. this issue was caught by valgrind on linux i386.
REVERT: 95b2761743 fixed a test case using shdict for the "use hup" testing mode.
REVERT: cc5d928cb4 renamed ngx_http_lua_shared_dict_lookup to ngx_http_lua_shared_dict_get; fixed various issues in this public C function. also added tests for it.
REVERT: ea456890a5 feature: added public C API ngx_http_shared_dict_get and ngx_http_lua_find_zone as per Piotr Sikora's request.
REVERT: 7fc1dc720f fixed a compilation warning in the cosocket code from some old gcc. thanks Dirk Feytons for reporting this issue as as #162.
REVERT: 0f66b1b337 bumped version to 0.6.9.
REVERT: a30c2d8313 made a test case less possible to fail unexpectedly in slow testing mode.
REVERT: beb2bfff4d updated docs to reflect recent changes in ngx.req.get_headers().
REVERT: a90cc0d99e feature: now ngx.req.get_headers() will return a table with keys in all lowercase by default. made the second argument be "raw". when the "raw" argument is true, the header names will be the original form.
REVERT: b09f157844 feature: when the lowercase argument to ngx.req.get_headers() is true, then any keys like "My-Header-Name" and "my_header_name" will be able to index the "my-header-name" entry in the Lua table returned. (behind the scene, we ngx.req.get_headers() just adds a __index metamethod to the resulting table when the lowercase argument is true.) thanks Matthieu Tourne for the proposal.
REVERT: 0263ef747c feature: ngx.req.get_headers() now takes a second (optional) boolean argument that can be used to convert all header names into the lowercase form. thanks James Hurst and Matthieu Tourne for proposing this feature.
REVERT: 661c261bc3 refactor: disabled ngx_http_lua_probe_info by default.
REVERT: fe4130e0f3 feature: ngx.thread.spawn(f, ...) can now take multiple arguments for the "light thread" coroutine's first resume.
REVERT: 56b9b8a46c polished the test for ngx.thread.wait a bit.
REVERT: 0ef27947a2 bugfix: ngx.thread.wait() did not croak when the argument coroutine is not a user thread at all. also added more tests for bad arguments to ngx.thread.wait().
REVERT: 009911b4ef enabled all the test cases in 098-uthread-wait.t.
REVERT: d680b6b2ec added (passing) tests for ngx.thread.wait(a, b) and the slower thread is aborted.
REVERT: 4d0e77f5db feature: ngx.thread.wait() can now take multiple user threads as its arguments and wait on all of them at the same time. it will return the first terminated user thread's result as soon as possible (that is, without waiting for other pending user threads to finish).
REVERT: b842f16a1b refactor: removed the ctx->fatal field and just used ctx->no_abort instead.
REVERT: 5d5edcf028 feature: implemented ngx.thread.wait() for synchronously waiting on a child user thread, which also returns the final results of the last implicit call of coroutine.resume() on the user thread coroutine. so now an non-captured Lua exception in a user thread will not abort other running threads in the same nginx request.
REVERT: a408327324 Merge remote-tracking branch 'origin/master' into thread
REVERT: 97f4474a95 bumped version to 0.6.8.
REVERT: 171de5a7c3 refactor: renamed ngx_http_lua_uthread_create to ngx_http_lua_uthread_spawn for consistency with the Lua API name.
REVERT: b051763cc0 refactor: renamed t/*uthread.t to t/*uthread-spawn.t.
REVERT: bcfa399848 Merge branch 'master' into thread
REVERT: 1ff7288eb2 added a (passing) test for empty pattern in ng.re.match.
REVERT: d37c193a93 bugfix: ngx.re.gsub might enter infinet loops because it could not handle patterns matching emptry strings properly. bugfix: ngx.re.gsub incorrectly skipped matching altogether when the subject string was empty.
REVERT: 4b9100c1dd bugfix: pattern matching an empty substring in ngx.re.gmatch did not match at the end of the subject string.
REVERT: ad5e7f7c3b bugfix: ngx.re.gmatch might loop infinitely when the pattern matches an empty string. thanks Lance Li and xingxing for tracking this issue down.
REVERT: 0b6685c20c bumped version to 0.6.7.
REVERT: 8589412e86 Merge branch 'master' into thread
REVERT: 15d8550b6f minor coding style fixes in the lua/luajit bytecode loader.
REVERT: e6297a5db0 Merge pull request #152 from jinglong/bytecode
REVERT: 00e99d519f bugfix: the ngx.thread API did not work in access_by_lua*.
REVERT: f4e8894e2d api: renamed ngx.thread.create() to ngx.thread.spawn().
REVERT: 7ba928b52a bugfix: the ngx.thread API did not work in rewrite_by_lua*.
REVERT: 3a30a00ff3 added some (passing) tests for ngx.redirect + ngx.thread.
REVERT: 3b48d03d1d bugfix: aborting ngx.thread coroutines with pending subrequests caused problems and now we just prohibit this by raising Lua exceptions and aborting the main request.
REVERT: 8f2f149c2d updated t::StapThread to reflect recent changes.
REVERT: c25f2df8aa bugfix: ngx.thread abortion did not abort ngx.flush(true) in time.
REVERT: de36decd70 Merge remote-tracking branch 'origin/master' into thread
REVERT: 2bea02618c bugfix: the write event timer might not be removed in time in ngx.flush(true) when ngx_handle_write_event failed.
REVERT: f30e42d944 Merge remote-tracking branch 'origin/master' into thread
REVERT: d3e2e646bd bugfix: ngx.flush(true) might not return immediately when it should.
REVERT: 33756e1cd0 bugfix: ngx.thread abortion did not abort tcpsock:send() in time.
REVERT: 7c65ad1b90 bugfix: ngx.thread abortion did not abort ngx.req.read_body() in time.
REVERT: 73cd491de9 Merge remote-tracking branch 'origin/master' into thread
REVERT: 51b5421fe0 refactor: changed the way ngx.req.read_body() handles r->main->count, which opens the door for abortion in the middile.
REVERT: 94e623f6fe added a (passing) test for aborting the receive() invocation on the ngx.req.socket() object.
REVERT: 1d74cad199 Merge remote-tracking branch 'origin/master' into thread
REVERT: 9e127b09a7 bugfix: always remove the read event timer during downstream cosocket finalization if it is not removed yet.
REVERT: 198e48d161 bugfix: NULL pointer access might happen on u->co_ctx in *handle_success and *handle_error functions. this bug had appeared in the previous commits.
REVERT: 1d05ac6149 bugfix: ngx.thread abortion did not abort udpsock:receive() in time.
REVERT: c60ea6817f bugfix: ngx.thread abortion did not abort the reading iterators returned by tcpsock:receiveuntil() in time.
REVERT: 0e54fcd7aa bugfix: ngx.thread abortion did not abort tcpsock:receive() in time.
REVERT: be896210d9 bugfix: ngx.thread abortion did not abort tcpsock:connect() in time.
REVERT: 05d4a3b7e5 refactor: now we use ngx_http_lua_request_cleanup for complete cleanups in all the places.
REVERT: c22c625ec0 bugfix: ngx.thread abortion did not abort the nginx resolver for ngx.socket.udp in time.
REVERT: ee02a8ca07 updated .gitignore a bit.
REVERT: cd5522dcea Merge remote-tracking branch 'origin/master' into thread
REVERT: 9fdf63663c bugfix: the nginx resolver might not be destroyed in time when it was used by ngx.socket.tcp and ngx.socket.udp.
REVERT: 5c22e1d4b0 bugfix: ngx.thread abortion did not abort the nginx resolver for ngx.socket.tcp in time.
REVERT: 3a916d1e94 Merge remote-tracking branch 'origin/master' into thread
REVERT: b771a2e400 bugfix: when a coroutine aborts with errors, its status might not be updated to "dead".
REVERT: 535edec693 renamed t/094-uthread-exit to t/094-uthread-exit.t.
REVERT: 9e28c48a39 resolved conflicts when merging "master" into "thread".
REVERT: 3b5dc53b86 refactor: removed unnecessary code from the sleep handler for ngx.sleep().
REVERT: 5e6a5b3e74 bugfix: ngx.thread abortion did not clean up the ngx.sleep timer in time. also refactored the uthread tests a bit.
REVERT: b63c3156ae refactor: now we introduce an explicit is_uthread flag for each user thread.
REVERT: b6cb3a1367 resolved conflicts while merging "master" into "thread".
REVERT: 07b9b3b6ca bugfix: when the entry coroutine was yielded by coroutine.yield() then after it was resumed automatically its status would still be "suspended".
REVERT: 889a24afdf refactor: ensure that we always bypass ngx_http_postpone_filter_module when we generating downstream outputs. also removed all the legacy code handling postponed outputs.
REVERT: c1f40cd904 added (passing) tests for ngx.req.socket() + ngx.thread and ngx.req.read_body() + ngx.thread.
REVERT: b4e6bf1742 added (passing) tests for UPD/TCP cosockets + ngx.thread.
REVERT: 985c4a5e94 added (passing) tests for ngx.flush(true) + ngx.thread.
REVERT: 518c94eaad feature: added support for manual time-slicing between lightweight threads via the coroutine.yield() API.
REVERT: 3b0d04b956 added a (passing) test for creating user threads in a user coroutine. also tracked user coroutine creation in the test cases for user threads.
REVERT: 4282176462 added (passing) tests for the "coroutine status" of user threads.
REVERT: c0ac119784 added (passing) tests for nested user threads.
REVERT: 10c7a07392 Merge remote-tracking branch 'origin/master' into thread
REVERT: 377bcd3789 updated docs to reflect recent changes.
REVERT: f02a7323db added several (passing) tests for ngx.thread + ngx.location.capture.
REVERT: 12903c20dc test: enabled repeat_each(2) in 093-uthread.t.
REVERT: 6d854044cf feature: first prototype for the ngx.thread API (aka the lightweight thread API for ngx_lua) that passes the first bunch of tests.
REVERT: 903a3e55cf refactor: even more coding style fixes.
REVERT: 681f0dd61d refactor: massive coding style fixes.
REVERT: 639cc398fb refactor: removed the unused function ngx_http_lua_has_inline_var.
REVERT: 946e907416 bugfix: the "resume_handler" field of the subrequest ctx was not properly initialized.
REVERT: 3a7075dcd1 added comments to the ngx_http_lua_run_thread function; also fixed a coding style issue.
REVERT: 51a68ac94a bugfix: better error handling in ngx_http_lua_wev_handler.
REVERT: cf474bcb9f refactor: improved status code handling in content/access/rewrite_by_lua*.
REVERT: 213acb96ff refactor: removed the ctx->entry_co field and also made the coctx->co_status and coctx->flushing fields smaller.
REVERT: 1fc023b26a removed the declaration of the non-existent function ngx_http_lua_resume; also fixed a warning from clang.
REVERT: 7d5d923400 docs: fixed the documenation for ngx.req.set_header and made it explicit that the modified request headers will be inherited by the subrequests. thanks James Hurst for reporting this nit.
REVERT: d0d9140e11 optimize: tcpsock:send() now calls c->send() instead of ngx_output_chain(), which gives about 4src/tcp.c ~ 5src/tcp.c performance boost for a simple test case accessing redis for several times.
REVERT: 67f8bbbde3 removed the valgrind suppression rules for sendmsg/ngx_channel_write since we already fix these issues via the channel-uninit-params patch: https://github.com/agentzh/ngx_openresty/blob/master/patches/nginx-1.2.3-channel-uninit-params.patch
REVERT: 2e50b19433 updated valgrind.suppress for valgrind 3.8.0.
REVERT: 66e2d98b05 docs: bumped version number to 0.6.5 and also documented the trick for doing background async jobs by using ngx.eof() + keepalive_timeout 0.
REVERT: 0c14852af3 suppressed the warnings reported by valgrind 3.8.0.
REVERT: 5b5a02dbed fixed a test case in 068-socket-keepalive.t by properly flushing the redis store first.
REVERT: 62a0b69609 updated docs to reflect recent changes.
REVERT: b1289817d9 added (passing) tests for using parallel subrequests after ngx.eof().
REVERT: e0adfe5ec4 bugfix: the UDP and TCP cosockets could not keep track of the current Lua coroutine. now we also explicitly clear the current Lua coroutine context in the main request context to ensure that the I/O scheduler can indeed keep track of the current Lua coroutine itself.
REVERT: e49622d8b6 added a (passing) test case for using ngx.flush(true) in a user coroutine.
REVERT: fe8d7be132 optimize: we now skip processing in the default write event handler when the write event is not ready.
REVERT: 79dee2697a coding style fixes and also fixed a warning in clang.
REVERT: 2fbb4ada99 refactor: removed the "cur_co" field from ngx_http_lua_ctx_t because it is not necessary at all.
REVERT: 644b0b15c9 cleaned up the code a bit in ngx_http_lua_wev_handler.
REVERT: 240caaa72e refactor: made ngx.flush(true) keep track of the current Lua coroutine automatically.
REVERT: 59c5231b8c refactor: renamed the confusing "waiting" field of ngx_http_lua_co_ctx_t to "pending_subreqs".
REVERT: 9155f9400d refactor: made ngx.req.read_body() keep track of the current Lua coroutine automatically.
REVERT: 6fba5e1bff refactor: made ngx.req.socket() use the existing req_body_reader_co_ctx field in the context struct.
REVERT: 12981c9044 refactor: made the ngx.req.socket() objects keep track of the current Lua coroutine themselves. also disabled the ngx.req.socket() API in subrequests to prevent potential problems.
REVERT: 357d4d7613 refactor: made the UDP/datagram cosockets schedule their I/O automatically on the Lua coroutine level.
REVERT: b88aa3eaff refactor: removed the unused "socket_busy" flag from ngx_http_lua_co_ctx_t.
REVERT: 9cb0d829d3 refactor: made TCP/stream cosockets schedule their I/O automatically on the Lua coroutine level.
REVERT: e2f8b2a6b4 enabled the http-lua-info static probes in ngx_http_lua_wev_handler.
REVERT: 2f884b83e0 refactor: made ngx.location.capture() and ngx.location.capture_multi schedule themselves at the coroutine level (instead of the request level).
REVERT: 27dd2bab82 minor cleanup in ngx.sleep().
REVERT: 7134d428a7 refactor: made ngx.sleep() schedule itself at the coroutine level.
REVERT: 4abd896cd5 fixed a test case in 020-subrequest.t for slow machines.
REVERT: 85c658475a made the new subrequest test cases less possible to fail unexpectedly on slow machines.
REVERT: 9fe21af577 use google.com instead of taobao.com in the test suite.
REVERT: a7d6962c21 upgraded version to 0.6.4.
REVERT: e572d87726 fixed the test cases for the mockeagain (W) testing mode.
REVERT: 73faa581d8 added more tests for bad upstream in subrequests.
REVERT: b3255acdae bugfix: reset the subrequest status code when the non-buffered ngx_http_upstream request in the subrequest fails due to timeout errors or premature connection close and etc. this requires the patch for the nginx core to fix an issue in ngx_http_upstream: https://raw.github.com/agentzh/ngx_openresty/master/patches/nginx-1.2.3-nonbuffered-upstream-truncation.patch
REVERT: d06e260181 made a test case requires DNS resolving less possible to fail in slow testing modes.
REVERT: c56a98cd80 bugfix: we should not always return NGX_OK in our post_subrequest handler even if rc >= 300 because it will prevent response headers from being sent.
REVERT: 865cb1981b added a (passing) test for returning NGX_ERROR in the output body filter for the subrequest issued by ngx.location.capture().
REVERT: 46a3c3d524 updated .gitignore a bit.
REVERT: 9728454afd bugfix: the main request might be prematurely terminated if a subrequest issued by ngx.location.capture (or its friends) was finalized with error codes.
REVERT: 75c8c30980 updated valgrind.suppress for i386.
REVERT: 3a90b57408 bugfix: we did not compile with nginx cores without the allow_request_body_updating patch. thanks Dirk Feytons.
REVERT: 3b6f584be3 tweaked a test case to make it less possible to fail in slow testing modes.
REVERT: fd0a8fb182 refactor: now ngx_lua issues subrequests without updating r->postponed at all so as to allow the parent requests flush outputs immediately without waiting for its running subrequests. this will pave a way for subrequest integration with the upcoming lightweight thread model.
REVERT: 7819b4284a fixed typos in the test titles.
REVERT: ce1bcd53cb bugfix: when a user coroutine died with an error, its parent coroutine's status was still 'normal'. thanks jinglong for reporting this issue.
REVERT: 62d67ad2f2 optimize: removed a duplidate ngx_memzero invocation in ngx_http_lua_reset_ctx. thanks jinglong.
REVERT: 35c1fcd04e docs: removed the note for the issues regarding "normal" state user coroutines in coroutine.resume() and coroutine.status() because we have already fixed them.
REVERT: 50f20351b6 merged "master" into "thread".
REVERT: 5cb6e9fa52 refactor: now every lua coroutine takes its own context state for its nginx-side activities. bugfix: coroutine.status() returned "suspended" for "normal" coroutines. bugfix: coroutine.resume() did not return an error immediately when operating on "normal" coroutines. feature: added new dtrace static probes http-lua-user-coroutine-yield and http-lua-entry-coroutine-yield.
REVERT: a819a192e7 docs: documented the new shdict:flush_expired() method. bumped the version to 0.6.3. also mentioned lua-resty-dns in the SEE ALSO section.
REVERT: f09867d915 feature: implemented shdict:flush_expired(max_count) for flushing out expired items up to max_count (or unlimited when max_count == 0). thanks Brian Akins for the patch.
REVERT: b771643dba bumped version number to 0.6.2.
REVERT: e650dd1180 bugfix: the dtrace static probes did not compile on non-Linux systems like FreeBSD.
REVERT: e64d60bd20 increated the timeout threshold for a test case requires resolving three domain names.
REVERT: 52018289b1 bugfix: tcpsock:send() might send garbage if it was not the first call: we did not properly initialize the chain writer ctx for every send() call. thanks Zhu Dejiang for reporting this issue.
REVERT: 28317770f0 feature: added new dtrace static probes http-lua-socket-tcp-send-start, http-lua-socket-tcp-receive-done, and http-lua-socket-tcp-keepalive-buf-unread.
REVERT: ccc4af2a1c bugfix: ngx_http_lua_probe.h was not listed in the NGX_ADDON_DEPS list in the "config" file.
REVERT: e46e4907a5 bugfix: the send timeout timer for downstream output was not deleted in time in our write event handler, which might result in request abortion for long running requests. thanks Demiao Lin (ldmiao) for reporting this issue.
REVERT: e282c1c6c1 bumped version to 0.6.1.
REVERT: 936653cbd8 removed the req_header_cached field from ngx_http_lua_ctx_t because it is not used at all.
REVERT: 43de06a0cf merged merge conflicts.
REVERT: c2f3cffd54 bugfix: removed unnecessary code that was for the old coroutine abortion mechanism based on Lua exceptions. we no longer need that at all because we have switched to using coroutine yield to abort the current coroutine for ngx.exec, ngx.exit, ngx.redirect, and ngx.req.set_uri(uri, true).
REVERT: 912707780e bumped version to 0.6.0.
REVERT: ce791df20f documented the limitation in the current coroutine.resume() implementation.
REVERT: 2b560d3590 documented the limitation in the current coroutine.status implementation and also included other documentation updates.
REVERT: 7feb3f4f04 fixed a source line exceeding 80 cols.
REVERT: 5c1603354c style: renamed ctx->cc to ctx->cur_co, ctx->cc_ref to ctx->entry_ref, and ctx->cc_op to ctx->co_op.
REVERT: c52320f5f2 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 4e5cb24490 bugfix: there was no proper error messages when we tried to resume running coroutines. bugfix: there was error logs for resuming dead user coroutines, which was too chatty.
REVERT: bed05ac93d fixed the developer build script for FreeBSD.
REVERT: c4d7962601 avoided using qq.com, taobao.com, and baidu.com in the test cases because the "check leak" testing mode will flush these 3rd-party sites which is very very bad.
REVERT: d6c32ea394 feature: yielding entry coroutines from within the user Lua code will make them resume immediately.
REVERT: 5065194922 added a comment.
REVERT: 347214c055 documented the new user coroutine API and claimed that we work with nginx 1.3.4. also updated the TODO list to reflect recent changes.
REVERT: 9228475a52 removed the unused ngx_http_lua_dump_postponed function that was used for subrequest debugging. thanks Dirk Feytons.
REVERT: 47f0bf1933 properly handled the errors when the user coroutine does not have a parent.
REVERT: 1c2cae9c70 Merge branch 'master' into coroutine
REVERT: 7b363ee7b2 bumped version to 0.5.14.
REVERT: 1462d9650e resolved conflicts while merging "master" into "coroutine".
REVERT: afb26d2846 more fixes in the dtrace provider file.
REVERT: f7858fffb6 fixed the argument type again in the dtrace provider.
REVERT: f9dc0dc01d fix strict-aliasing warnings in ngx_http_lua_clfactory_bytecode_prepare
REVERT: c9d779e471 avoided declaring new C types in our dtrace provider.
REVERT: 8e5ebad473 bugfix: redeclared the ngx_http_request_t type in our dtrace provider file.
REVERT: 2c6a88c42b Merge branch 'master' into coroutine
REVERT: a70c1e4c75 bumped version to 0.5.13.
REVERT: 592d24f5aa Merge branch 'master' into coroutine
REVERT: 1acd7e93c0 fixed a source line exceeding 80 cols.
REVERT: a394080606 bugfix: reads of unitialized memory might happen when variadic macros is defined and logging socket errors is enabled: when NGX_HAVE_VARIADIC_MACROS is defined, ngx_log_error_core does not take a va_list typed argument which disallows C function wrappers.
REVERT: bcaf634a27 bugfix: segmentation faults might happen when 1. the nginx worker was shutting down (i.e., the Lua VM is closing), 2. ngx.re.gmatch was used, and 3. regex cache is enabled via the "o" flag. this bug had appeared in ngx_lua 0.5.0rc30 (and ngx_openresty 1.0.15.9).
REVERT: d010f01434 bugfix: pcre_pool_resumed should be initialized to 1.
REVERT: 9043e7af98 bugfix: the pcre pool might not be properly resumed when lua panic happens in the lua coroutine scheduler.
REVERT: 8e3ee4b1e0 renamed 090-coroutine.t to 091-coroutine.t.
REVERT: f77dffbf3b Merge branch 'master' into coroutine
REVERT: de65585f38 optimize: make the coroutine scheduler faster for the entry coroutines (in contrast with user coroutines).
REVERT: 93d12de226 checked in files that are missing in the previous commit for lua_socket_log_errors.
REVERT: 1efea1b3da docs: documented the new lua_socket_log_errors directive and also updated the TODO list.
REVERT: f6bd4f7e6e feature: added new directive lua_socket_log_errors that can be used to disable automatic error logging for both the TCP and UDP cosockets. thanks Brian Akins for the patch.
REVERT: 45461af3a4 fixed a source line exceeding 80 columns.
REVERT: f9e7f3703b now we explicitly disable the user coroutine API in running contexts other than content_by_lua*, rewrite_by_lua*, and access_by_lua*.
REVERT: 2f5f9550cd updated the systemtap-based test cases for user coroutines.
REVERT: 9c54ac2d21 improved the comments for the first few fields of ngx_http_lua_ctx_t.
REVERT: 626cb4a95c eliminated short enum names NONE, YIELD, and RESUME to prevent naming collisions. also use only 2 bits for the cc_op filed in the ctx struct.
REVERT: 75d2d7ab12 added new static dtrace probe http-lua-user-coroutine-resume.
REVERT: 4679f459a8 added (passing) tests for calling ngx.exit() and ngx.exec() in deeply nested user coroutines. also added new static probe http-lua-user-coroutine-create.
REVERT: 849492e5bb added a (passing) test for deeply nested coroutines. also avoided using 3rd-party web sites in the test cases to prevent flushing them in the "check leak" testing mode.
REVERT: c314499de7 fixed a source line exceeding 80 cols.
REVERT: da5e425422 Merge branch 'master' into coroutine
REVERT: 44e38b134a fixed a place where we did not check the pointer returned from ngx_array_push.
REVERT: 646b0129d8 added a subtest for the error logs when resuming dead coroutines.
REVERT: bd78705a1a bugfix: ngx_http_lua_resume didn't recognize dead coroutine if the coroutine was resumed with args
REVERT: 6add2a5937 avoided using hard-coded port number of the redis service in the test cases.
REVERT: d476dec566 added a test for using the coroutine-based pubsub API provided by Daniele Alessandri's lua-redis library.
REVERT: dc33fb3396 optimize: now we use lightuserdata as the key to the coroutine parents table in the lua registry. we also use lua_rawset and lua_rawget wherever possible.
REVERT: 3572114b51 do not call the public C API in ngx_http_lua_coroutine.c for the sake of consistency. also checks if the request pointer is null in the Lua coroutine API implementations.
REVERT: 4f5e8e2f87 better error handling in inlined Lua loading and running.
REVERT: 9c4c72c5c3 bugfix: we should avoid complicated stack operations that might require memory allocaitons in the lua atpanic handler because it would produce another exception in the handler leading to infinite loops.
REVERT: a2543aa221 removed C macros that are no longer used. this was a merge mistake happened on the git "coroutine" branch.
REVERT: 9494c12208 bugfix: we should avoid complicated stack operations that might require memory allocaitons in the lua atpanic handler because it would produce another exception in the handler leading to infinite loops.
REVERT: fc2194ac7b more coding style fixes.
REVERT: e695275643 eliminated hard-coded nameserver IP address in the test cases in coroutine.t.
REVERT: 22a252dee5 bugfix: the main vm stack leaked memory when the entry coroutine completed successfully or tried to yield.
REVERT: abd231c014 even more coding style fixes.
REVERT: 9e90fbefe8 more coding style fixes.
REVERT: e7ca4988d5 more coding style fixes.
REVERT: df844cb8e2 fixed the test plan in coroutine.t and made it work with "check leak" testing mode; also added error message tests to all the test cases there.
REVERT: 676c3dbf84 various coding style fixes.
REVERT: 50357f146a Merge branch 'master' into coroutine
REVERT: 4cb88e2053 display the stack top as debugging logs in ngx_http_lua_run_thread.
REVERT: 8d63530b72 fixed the serial number in t/089-coroutine.t.
REVERT: 6f402674bd merged branch "master" into "coroutine".
REVERT: 3388d424f6 updated docs to reflect recent changes, especially the new "openresty-en" mailing list for English speakers.
REVERT: 0ee0c49cfd bugfix: the UDP cosocket object could no longer be used after an read or write error happened.
REVERT: d577a3818b bugfix: ngx.exit(status) always resulted in 200 OK response status when status > 200 and status < 300. thanks Nginx User for reporting this issue.
REVERT: 63daa75712 minor coding style fixes.
REVERT: f0efac25b3 updated the error message in docs to reflect recent changes.
REVERT: dfe6202049 bumped version to 0.5.11.
REVERT: 1dc7634b5b improved error message when calling ngx.req.socket() when the request body aleady exists.
REVERT: ef4a8acd75 documented that ngx.req.socket() is required to be called before ngx.req.init_body().
REVERT: a071d3ee6e fixed two test cases for ngx.req.socket + ngx.req.append_body. also added a test for calling ngx.req.socket *after* ngx.req.init_body.
REVERT: 04ef7a4995 bugfix: ngx.req.init_body/ngx.req.append_body/ngx.req.finish_body could not work with ngx.req.socket and resulted in infinite loops when the nginx request header reader has pre-read the beginning part of the request body. thanks Matthieu Tourne for reporting this issue. bugfix: the ngx.req.socket() object could not handle pipelined requests in some special cases. feature: added new dtrace static probe nginx_lua:::http-lua-req-socket-consume-preread.
REVERT: db0bebedb6 documented the ngx.req.init_body, ngx.req.append_body, and ngx.req.finish_body APIs; also bumped the version number to 0.5.10.
REVERT: 4697b1dc2c skipped the hup tests in "check leak" testing mode.
REVERT: d29e8b3307 various fixes in the test suite for the "use hup" testing mode.
REVERT: 3ef8844b1f minor test updates
REVERT: d07f971631 fixed the test plan in 089-phase.t so that it works with different repeat_each settings.
REVERT: b994240df1 added stap based tests for client body temp file cleanups.
REVERT: 446e3477d3 fixed two places of variable set but never read reported by the clang static analyzer.
REVERT: 88ad0a0014 fixed various corner cases for ngx.req.init_body/append_body/finish_body. also added some test cases for these new API.
REVERT: 20620cb322 fixed a clang warning regarding strncmp.
REVERT: d322946125 Merge branch 'master' into req-body
REVERT: 3fc42b4178 fixed the ngx. table initial size.
REVERT: 15aef44c83 resolved conflicts while merging branch "master" into "req-body".
REVERT: 9b3bbf4f8c documented the ngx.get_phase() API.
REVERT: 28a022db22 updated .gitignore to reflect recent changes.
REVERT: 02a8b7ba94 minor fixes in the ngx.get_phase() call.
REVERT: c1cd173157 feature: added new Lua API, ngx.get_phase(), for fetching the name of the current running phase from within Lua. possible return values are "set", "rewrite", "access", "content", "log", "header_filter", "body_filter", and "init". thanks James Hurst for the patch.
REVERT: bd66f77fe6 bumped version number to 0.5.9
REVERT: d1cfc94c86 bugfix: buffer error would happen when the "args" option table to ngx.location.capture (and ngx.exec) contained a multi-value argument whose key also required uri escaping. thanks Matthieu Tourne for reporting this.
REVERT: 0f62a62e33 bugfix: 3rd-party nginx C modules that use the public C API function, ngx_http_lua_add_package_preload, could result in segfault at nginx server startup due to uninitialized Lua VM pointer. thanks Ray Bejjani for reporting it.
REVERT: ebeb4ea8eb fixed the provider name in stability attributes in ngx_lua_provider.d.
REVERT: d3a9ba25b1 feature: initial support for dtrace static probes. it requires nginx-dtrace though: https://github.com/agentzh/nginx-dtrace
REVERT: c25689b93a updated docs and bumped version to 0.5.8.
REVERT: a624ee9482 updated .gitignore a bit.
REVERT: 3eab7b0361 ensured that proper error message is always thrown when the iterator returned by ngx.re.gmatch is used in the context of another nginx request.
REVERT: e73e244431 bugfix: ngx.re.gmatch() might result in segfaults during nginx request cleanups if the iterator returned by ngx.re.gmatch() was collected (by Lua GC) before request cleanups. this bug had appeared in ngx_lua 0.5.0rc30 (and ngx_openresty 1.0.15.9). thanks Wayne for reporting this issue.
REVERT: 54c0a35490 bumped version to 0.5.7.
REVERT: d17a942ca1 Merge pull request #141 from dirkfeytons/no_pcre_compile_fix
REVERT: 8df3747ec7 Fix issue with unused variable when compiling without PCRE support.
REVERT: 6d67fc4b12 tweaked a test case to make it less possible to fail in slow testing mode.
REVERT: 1cae67d5e4 fixed a test case.
REVERT: 24fc460b40 documented the new options table argument and the "pool" option for the tcpsock:connect() method.
REVERT: 992e4f0266 bugfix: tcpsock:connect(): numeric pool option values did not really work. also nil pool option was caused trouble too and we disallow that now.
REVERT: 31aa26383a rename coroutine testsuite name
REVERT: 8c03cc5a42 Merge branch 'coroutine' of https://github.com/chaoslawful/lua-nginx-module into coroutine
REVERT: 927ef1e86a Merge branch 'master' into coroutine
REVERT: 6a375a6514 Merge pull request #138 from jinglong/coroutine
REVERT: 4f208bff2c delete useless comment in ngx_http_lua_thread_traceback
REVERT: 0976365ca0 update ngx_http_lua_thread_traceback to print the full traceback for the current coroutine and his ancestors
REVERT: 1d8d1578f9 feature: added an optional "optional table" to tcpsock:connect() which accepts a "pool" option to allow the user specify a custom pool name intead of the automatically generated one based on the host-port pair or the socket file path. thanks Brian Akins for the patches.
REVERT: 06abbea6b9 documented the UDP/datagram cosocket API.
REVERT: 0a2d1d2467 bugfix: udpsock:send() might crash on null pointer access when the request object is absent or the u pointer is null.
REVERT: 4ae7d6a3c5 added (passing) tests for the size argument of the udpsock:receive(size) method.
REVERT: 49c29a0810 feature: added the udpsock:close() method.
REVERT: 1a8bd0f141 merge with master
REVERT: 2684939001 Merge remote-tracking branch 'origin/master' into udp-socket
REVERT: 405efbabd5 tweaked the test case a bit.
REVERT: 05c3a1e756 bugfix: the udp cosocket API could not talk over a unix domain socket.
REVERT: 24991b68ae added a (passing) test for receive() timeout.
REVERT: 8b1040d259 bumped version number to 0.5.6.
REVERT: 053999e59b added a test case for successive udpsocket:setpeername() calls.
REVERT: 010d17d482 removed a useless comment from ngx_http_lua_socket_udp.c.
REVERT: 06d654b02e documented the ngx.req.get_method() and ngx.req.set_method(method_id) methods.
REVERT: 80e86f5540 updated docs to reflect recent changes.
REVERT: 3b51a96c29 merged branch "master" into "udp-socket".
REVERT: 0cf6c86fac bugfix: the tcp/stream cosocket object might hang when another concurrent request is accessing it while its operation is still in progress; now we always check for potential access conflicts and return the "socket busy" error string if it is indeed the case.
REVERT: fd412f72ea bugfix: the udp cosocket object might hang when another concurrent request is accessing it while its operation is still in progress; now we always check for potential access conflicts and return the "socket busy" error string if it is indeed the case.
REVERT: b6b23570a3 fixed the test suite to reflect recent changes.
REVERT: 0280aaa4f8 Merge remote-tracking branch 'origin/master' into udp-socket
REVERT: 3824e4466b udpsock:connect(): now we fetch ngx_socket_errno in case of error as soon as possible.
REVERT: 567da366dd bugfix: the tcpsock:connect() method always returned the (vague) error strng "connect peer error" instead of the (detailed) system error string.
REVERT: 3232eb0784 added more tests for udp cosockets.
REVERT: 8157284b8a bugfix: the udpsock:connect() method always returned the (vague) error strng "connect peer error" instead of the (detailed) system error string.
REVERT: 4a79d1b8db optimize: udp cosocket: now we use a global (static) receive buffer to avoid dynamic allocations on heap.
REVERT: f85139757f Merge remote-tracking branch 'origin/master' into udp-socket
REVERT: 42d9617e82 merged branch "master" to "udp-socket".
REVERT: 787a7b122a fixed a minor coding style issue.
REVERT: e9a74f68bb feature: implemented the UDP cosocket API, ngx.socket.udp().
REVERT: 30601c71f8 bugfix: the tcp cosocket object might automatically re-connect to the remote after it connected successfully in a single run (that is, no EAGAIN returned in the middle) and DNS domain names were used.
REVERT: 007d61a7c5 bugfix: tcpsock:receive() and tcpsock:send() always returned "error" as the error message. now it properly returns the system error string.
REVERT: 61858d95de bugfix: ngx.req.clear_header() did not remove all the instances for the builtin headers or custom headers. bugfix: ngx.req.clear_header() might accidentally remove request headers that are not specified at all and leave the specified headers with just empty header values when removing multiple built-in headers. thanks Matthieu Tourne for reporting the issues.
REVERT: e9d5d601a3 feature: added new Nginx API for Lua: ngx.req.set_method(method_id) and ngx.req.get_method. thanks Matthieu Tourne for suggesting these.
REVERT: 4960e01ec4 bugfix: we should always test if the request object pointer is null in the ngx.req.*_body API.
REVERT: c2f74d15e8 checked in a (skipped) test case for subrequest request headers handling.
REVERT: 05c0f5a8c3 bugfix: ngx.exec() did not accept the nil value for its second (optional) argument.
REVERT: 166de0c46d updated the TODO list in docs to reflect recent changes.
REVERT: 584ec028b1 bugfix: ngx.exit(404/403/500/...) would throw out Lua errors when the response headers with exactly the same status code had already been sent. thanks Matthieu Tourne for reporting this.
REVERT: 4275482f49 documented the init_by_lua* directives and also bumped version number to 0.5.5.
REVERT: 6e5e1738f5 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module into coroutine
REVERT: 588ee4dcbb removed a test in t/023-rewrite/exit.t.
REVERT: 5126e81531 fixed a test case in 085-if.t that hard-coded TEST_NGINX_CLIENT_PORT in nginx config.
REVERT: ce4314d46f bugfix: init_by_lua* might be skipped altogether when HUP config reload was used.
REVERT: 5445e0e8ca bugfix: invalid memory reads might happen on HUP config reload when lua_shared_dict is used.
REVERT: 608c89bbf5 fix typo in config
REVERT: 8f1a443631 fix compiling errors
REVERT: 9c3c01aa4d remove unexpected merged codes
REVERT: 35bf172eb0 merge jinglong's commit
REVERT: bb7d35eaa4 merge master and jinglong's commit
REVERT: 2d3c907f48 Merge pull request #135 from jinglong/coroutine
REVERT: 27366974e6 improve coroutine apis
REVERT: c984bedd25 fix a harmless typo in ngx_http_lua_run_thread
REVERT: 943b3fe7a9 Merge branch 'init'
REVERT: ae9b7893c7 enlarged the timeout setting for TEST 16 in 082-body-filter.t to make it less possible to fail in slow testing modes.
REVERT: 8149324c2a feature: enabled print() and ngx.log() in the context of init_by_lua*.
REVERT: 15ec277585 bugfix: init_by_lua* might result in segmentation faults when multiple lua_shared_dict instances are defined.
REVERT: f4a15e29ad feature: added new directives init_by_lua and init_by_lua_file.
REVERT: ab41caaf5c feature: now we print backtrace to error.log when Lua errors happen in body_filter_by_lua*.
REVERT: dae23ad7dc fixed the test plan in t/041-header-filter.t.
REVERT: 240fc4ab32 feature: now we print backtrace to error.log when Lua errors happen in header_filter_by_lua*.
REVERT: b75195c407 fixed the test plan in 001-set.t.
REVERT: 97ba958d00 feature: now we print backtrace to error.log when Lua errors happen in set_by_lua*.
REVERT: e876411bd2 feature: now we print traceback to error.log when Lua errors happens in log_by_lua*.
REVERT: 7ce7fb2e29 coding style fixes in ngx_http_lua_socket_tcp.c.
REVERT: 924d093eaf Merge branch 'master' into backtrace
REVERT: c035746310 Merge branch 'udp-socket'
REVERT: f8074dca43 renamed ngx_http_lua_debug_traceback to ngx_http_lua_thread_traceback, and other naming changes.
REVERT: dbc4ca7646 renamed ngx_http_lua_debug_traceback to ngx_http_lua_thread_traceback, and other naming changes.
REVERT: 2902f9ff2a Merge branch 'master' into udp-socket
REVERT: 5a539500c1 bugfix: upstream data buffers were not marked as fully consumed when body_filter_by_lua* is used and ngx.arg[1] is overritten. this could result in connection hang for large response bodies. thanks Tzury Bar Yochay for reporting this issue.
REVERT: 418024960d updated .gitignore.
REVERT: a04e204d07 renamed ngx_http_lua_socket* to ngx_http_lua_socket_tcp* to prepare for the udp cosocket API addition.
REVERT: a96dd55152 bumped version to 0.5.4.
REVERT: d2dc908390 optimize: fixed the initial table size for ngx.req.
REVERT: 9ae5a3435a Merge branch 'master' into req-body
REVERT: 3074fddd12 fixed some english grammatical issues in the comments.
REVERT: e1e5b7f3b7 use ngx_memzero instead of memset in the previous patch from chaoslawful.
REVERT: 47eff35e91 bugfix: fix issue #132 dereferencing type-punned pointer will break strict-aliasing rules
REVERT: 538b97ae92 updated docs to reflect recent changes.
REVERT: 0178d4e7b8 bugfix: ngx.say and ngx.print might cause nginx to crash when table-typed arguments were given. thanks sztanpet for reporting this in github issue #54.
REVERT: 0428b88fc3 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: c2d095a1f8 added some (passing) tests for "location if" compatibilities.
REVERT: f73785c643 updated docs to reflect recent changes.
REVERT: 09f063024b fixed an issue in the test case in 082-body-filter.t: we should not use "echo" and "content_by_lua" in the same location.
REVERT: 553432b593 bugfix: header_filter_by_lua* did not run at all when body_filter_by_lua* is defined at the same time. thanks Tzury Bar Yochay for reporting this issue.
REVERT: 5d59d498a5 reindexed the test in t/041-header-filter.t.
REVERT: 9f633c860e added a (passing) test for clearing the Content-Length response header in header_filter_by_lua.
REVERT: 0ff8afe0e2 fixed test cases that rely on the old (broken) HTTP 1.0 support in ngx_echo.
REVERT: 7d6547aeb5 docs: added more documentation for the Lua/LuaJIT raw bytecode support. thanks Wayne.
REVERT: 17fbfb7712 optimize: merged two successive nginx pool allocations in ngx_http_lua_socket_resolve_handler to reduce overhead.
REVERT: 37a9fcd87d bumped version number to v0.5.1.
REVERT: a35ff3636e ngx.req.init_body: when the size argument is specified, honor that exactly; when the size argument is omitted, use the same logic as ngx_http_read_client_request_body to calculate the buffer size.
REVERT: 3a8d8dadcf Merge branch 'master' into req-body
REVERT: 0bb38b0bd1 made tests less possible to fail in tcp-socket-timeout.t when the DNS nameserver happens to be slow.
REVERT: cd0139dc9a fixed some coding style issues.
REVERT: a8e1f16f06 docs: redocumented the "inclusive" option for the cosocket:receiveuntil method.
REVERT: c4d5e3a24d Merge branch 'master' into inclusive
REVERT: e0a6a36c79 added a (passing) test for default_type + charset + content_by_lua.
REVERT: 2b6c95cfe9 updated README and README.markdown by the tools.
REVERT: 5654520515 bumped version number to v0.5.0rc32.
REVERT: 0eba3537bb Merge branch 'master' into inclusive
REVERT: e0cabf0438 added more (passing) tests for the "inclusive" option of cosocket:receiveuntil().
REVERT: 2b8ea405f5 improved the error handling of the "inclusive" option for cosocket:receiveuntil and also added some test for this. removed the tests for the "inclusive" option to a separate test file, 084-inclusive-receiveuntil.t.
REVERT: 2174ed2e58 fixed a bad test case in 083-bad-sock-self.t.
REVERT: 9905167e32 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 51bc8fb496 bugfix: the lua VM might crash when calling the cosocket methods with a bad-typed self argument.
REVERT: 5545cfaad5 Merge branch 'master' into inclusive
REVERT: cdb6a6f94a fixed a coding style issue in the previous commit.
REVERT: 146fe0c614 bugfix: the zero-size buffer alert could occur in body_filter_by_lua* when the current buf is a special "eof" buf and the user has turned off the "eof" flag by assigning false to ngx.arg[2].
REVERT: cea3929874 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: c66daf057a Merge remote-tracking branch 'jinglong/bytecode' into bytecode
REVERT: bad3eee543 Use more descriptive names in ngx_http_lua_clfactory.c(like LUA_LITTLE_ENDIAN_4BYTES_CODE)
REVERT: 33e62fcf33 docs: documented the body_filter_by_lua* directives and the new bytecode file loading support.
REVERT: d92a14d7b8 Merge branch 'master' into body-filter
REVERT: 5fa0dbc1fd merged jinglong's "bytecode" branch into "master".
REVERT: 1c6280f578 docs: documented the lua_transform_underscores_in_response_headers directive.
REVERT: f81ceeb406 feature: added new directive lua_transform_underscores_in_response_headers. thanks Kindy Lin.
REVERT: b09b8ee445 1,fix a bug in loading bytecode(faild to load no-stripped bytecode of luajit)
REVERT: 55153ceaf8 fixed the test plan in t/082-body-filter.t.
REVERT: f9e534f059 Merge remote-tracking branch 'origin/master' into body-filter
REVERT: 9cabf1c4af minor tweaks of the error messages and coding style issues in the byte-code support patch from jinglong in github pull #124.
REVERT: 3e9984a031 various coding style fixes.
REVERT: 71467020dd added (passing) tests for the on-demand handler registration of body_filter_by_lua*.
REVERT: 2a63a168bd docs: added a note for installation with lua 5.1 on ubuntu 11.10. thanks Dan Sosedoff.
REVERT: 81964d5a89 bufix: fixed the directive context for set_by_lua and set_by_lua_file. they really work in the contexts "server", "server if", "location", and "location if". thanks Liu Taihua.
REVERT: 119b85e162 feature: the lua statement "return ngx.ERROR" can now be used to abort the output stream in body_filter_by_lua*.
REVERT: 91b23e692f feature: ngx.arg[1] now also accepts a lua table of lua strings as its new value.
REVERT: 9f488b0ecb feature: ngx.arg[1] and ngx.arg[2] now support overwriting in body_filter_by_lua*.
REVERT: 5591fb0cbc Merge remote-tracking branch 'origin/master' into body-filter
REVERT: 19c803d766 merged "master" into "body-filter".
REVERT: 6183ad4f53 docs: fixed a typo: ngx.now returns time of the resolution of milliseonds, rather than microseconds. thanks Wang Xi.
REVERT: dffaf4896a fixed the test "unexpected globals sharing by using _G (header_filter_by_lua*)" by chaoslawful which did not really test what it was supposed to test.
REVERT: 6ef34e54f2 bugfix: lua main thread stack might leak when header_filter_by_lua* is used.
REVERT: 1ecb2f40c7 bugfix: too many values on the lua stack might be concatenated when generating backtraces for lua errors and the lua vm would crash when there happened to be values on the stack that could not be concatenated (like nil). stylefix: renamed the debug_traceback function to ngx_http_lua_debug_traceback. optimize: eliminated unnecessary string concatenations when generating backtraces for lua errors.
REVERT: 46019a2714 reindexed the tests in t/075-logby.t.
REVERT: dff9bb8984 fixed the test plan for 081-bytecode.t for the "check leak" testing mode.
REVERT: 172fe05aa7 Merge remote-tracking branch 'upstream/master' into inclusive
REVERT: 2e90054ca6 Merge remote-tracking branch 'upstream/master' into req-body
REVERT: 5c14bcd251 Adding code similar to nginx core, to prevent allocating buffers much larger than the request itself.
REVERT: 427d3d572d Update code, still using GLOBALS_SYMBOL_REQUEST. See Commit 89a997.
REVERT: 5078b14431 bugfix: the ngx.arg API was not usable within external lua module files in set_by_lua*. diagnosis: now we issue user-friendly error messages when the nginx lua APIs are used in the wrong directive contexts (e.g., using ngx.location.capture in set_by_lua*).
REVERT: 4e4e0b32c9 fixed more coding style issues in common.h.
REVERT: 64912a7b2d fixed coding style issues in common.h.
REVERT: 725c3a14e4 renamed ngx_http_lua_create_ng_table to ngx_http_lua_create_new_global_table; also fixed some coding style issues in 001-set.t.
REVERT: b42f6c8c56 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: acb1b47aaa minor coding style fixes in ngx_http_lua_logby.c.
REVERT: 6ce7490d64 Merge branch 'master' into body-filter
REVERT: 3520a90a6f merge conflictions
REVERT: e5363496e4 bugfix: ngx.arg could not be used in user lua modules.
REVERT: 9bcb50325f feature: initial cut on the body_filter_by_lua and body_filter_by_lua_file directives.
REVERT: 6c650fafd1 bugfix: fixed unexpected globals sharing by using _G in log_by/header_filter_by/set_by
REVERT: fede5ccb58 minor coding style fixes in ngx_http_lua_logby.c.
REVERT: 02824efe05 Merge pull request #124 from jinglong/bytecode
REVERT: c5fde025d4 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 40af5cdd85 cleaned up the "config" file, making lines shorter and easier to merge. thanks Matthieu Tourne for the patch.
REVERT: 656f6e2721 eliminated including C headers that we do not actually use.
REVERT: 5347f9174d Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 08b0433d0f bugfix: fixed unexpected globals sharing by using _G
REVERT: 8481276e1a optimize: now we register the "ndk" and "ngx" lua tables for log_by_lua* at config time rather than request time. this gives significant performance boost. also improved error handling in log_by_lua*.
REVERT: f3a3757c26 enforced lua garbage collection full cycles in those shdict test cases to prevent memory leak false alarms.
REVERT: 294ba6fe67 1, fix code style
REVERT: b79953e0ed fix merge conflict
REVERT: 9ea8ba052a add simple test for coroutine support
REVERT: f4ed28d2db improved lua error handling in header_filter_by_lua*.
REVERT: 0f652c040c optimze: explicitly specified non-zero initial size for certain lua tables.
REVERT: 7ce0102d1f optimize: now we register the "ndk" and "ngx" lua tables for header_filter_by_lua* at config time rather than request time. this gives significant performance boost.
REVERT: b8e5b02194 fixed the "ngx" table initial size for set_by_lua*.
REVERT: f196863306 optimize: now we initialize the "ngx" and "ndk" tables at config time instead of at request time. bugfix: the lua vm crash protection based on longjmp for set_by_lua* was not really working.
REVERT: d6d7f872a9 renamed function init_ngx_lua_registry to ngx_http_lua_init_registry, and init_ngx_lua_globals to ngx_http_lua_init_globals.
REVERT: df104f916e optimize: now we store the metatables for ngx.req.socket() and ngx.socket.tcp() objects into the lua registry.
REVERT: 89a997acac optimize: changed the string keys to light user data for various tracking tables (coroutines table, regex cache table, cosocket connection pool table, ngx.ctx table, and etc). This gives minor performance improvement from eliminating key hashing and etc. thanks Dirk Feytons.
REVERT: 5cc8fd50fa fixed a typo in program comments. thanks Dirk Feytons.
REVERT: f7f744efd6 Fix typos in error message.
REVERT: 1ce845313f docs: fixed the sample code for log_by_lua.
REVERT: 7292647a75 docs: marked the APIs that are available in the log_by_lua* context.
REVERT: ead78b766d bumped version to 0.5.0rc31.
REVERT: 1bf725345b updated the docs for log_by_lua and log_by_lua_file.
REVERT: 285b72716e bugfix: memory leak would happen when accessing a location using ngx.ctx in Lua contexts other than log_by_lua* but there is also another location that uses log_by_lua*.
REVERT: 445b916a72 bugfix: header_filter_by_lua would leak memory when it is the only directive of ngx_lua configured in a location *AND* ngx.ctx is used.
REVERT: 113c65818f reindexed the test numbers in t/025-codecache.t.
REVERT: c8063a8bb7 updated .gitignore again.
REVERT: cd825f51cf updated .gitignore.
REVERT: 2a3d31d38e Merge branch 'logby'
REVERT: 3b1e9aaff7 updated docs to reflect recent changes.
REVERT: a58ebf89f7 1, add more test cases for loading bytecode
REVERT: 76dcccdfd5 updated valgrind.suppress for linux i386.
REVERT: cfd3a0e439 now we use environments in the developer build script instead of hard-coded paths.
REVERT: e72096a478 1, check the version when loading bytecode
REVERT: fa64f36281 added downstream cosocket tests for the rewrite phase.
REVERT: 429b603c5e optimize: now we no longer call ngx_http_post_request to wake up the request associated with the current cosocket upstream from within the cosocket upstream event handlers, but rather call r->write_event_handler directly. this change can also make backtraces more meaningful because we perserve the original calling stack.
REVERT: 54d8736f6d added cosocket tests for lua code running at the rewrite phase.
REVERT: 26db2dda18 bugfix: cosocket:connect() might hang on socket creation errors or segfault later due to left-over state flags.
REVERT: 39b9138cfa 1, add a test case for loading bytecode
REVERT: 1099cd3b62 minor fixes in cosocket.
REVERT: 2a418d8bbb 1, add support for loading bytecode(both lua and luajit)
REVERT: 802e95b301 bugfix: the _G special table did not get cleared when lua_code_cache is turned off. thanks Moven.
REVERT: 95857be6f0 feature: ngx.log() now checks if the log level number is in the valid range (0 ~ 8). thanks Xiaoyu Chen (smallfish) for suggesting this.
REVERT: 154f5af33b fixed the newly added test case for log_by_lua + shared dict.
REVERT: 7ba84a74a1 Merge branch 'master' into logby
REVERT: 2afa6bfb3a added one (passing) test for log_by_lua + shared dict.
REVERT: 86f97f00b1 bugfix: ngx.sub() could leak memory when the "replace" template argument string is not well formed and the "o" regex option is specified. this issue was caught by Test::Nginx::Socket when setting environment TEST_NGINX_CHECK_LEAK=1.
REVERT: fd681f8d07 bugfix: fixed a compilation error in the previous commit.
REVERT: b30b56cf3d bugfix: ngx.re.gmatch leaked memory when the "o" option was not specified. this bug was caught by Test::Nginx::Socket when setting the environment TEST_NGINX_CHECK_LEAK=1.
REVERT: 9c96a3aafb Merge branch 'master' into leak
REVERT: f9e61f0447 docs: massive wording improvements from the nginx wiki site. thanks Dayo.
REVERT: f74372491b Merge branch 'master' into leak
REVERT: d2d1904b6e fixed test plan for 056-flush.t for the "check leak" testing mode.
REVERT: 8c0221fc0d fixed test plan for 056-flush.t for the "check leak" testing mode.
REVERT: a058363c1d fixed another issue in the test case for the memory leak issue that was in receiveuntil().
REVERT: d803598149 fixed an issue in the test case for the memory leak issue that was in receiveuntil().
REVERT: 225fc72fc8 fixed invalid HTTP request headers in the req-body test cases.
REVERT: 1aab859283 bugfix: receiveuntil could leak memory, especially for long pattern string arguments. this bug was caught by Test::Nginx::Socket when setting the environment TEST_NGINX_CHECK_LEAK=1.
REVERT: 6440e4e61b updated valgrind.suppress further for linux i386.
REVERT: c7374aaa38 updated valgrind.suppress for the "hup reload" + valgrind/memcheck testing mode.
REVERT: a8dd2d70ef added 080-hup-shdict.t to test if the data in shared dict is survived through nginx HUP reload. also updated valgrind.suppress accordingly.
REVERT: 9fbba9aeb6 added tests for the on-demand handler registration mechansim for log_by_lua*.
REVERT: dbac005035 resolved conflicts while merging "master" into "logby". we now adopt the new on-demand handler registration mechansim for our log_by_lua* directives.
REVERT: a287451c11 Refactored on-demand handler registration
REVERT: acb1cde11a minor coding style fixes in capturefilter.c.
REVERT: e1a91744d6 reindexed tests in 079-unused-directives.t
REVERT: ce09217899 added tests for handlers registered on-demand (i.e., determined whether their config directives are actually used in nginx.conf).
REVERT: 564d2bb8c1 minor coding style fixes and debug log message adjustments.
REVERT: 6d2e7a0f67 Merge branch 'master' into logby
REVERT: a830b61eb8 078-hup-vars.t: no need to use the debug log level.
REVERT: a486c4cf00 added tests for the nginx core bug regarding nginx variables under HUP reload: http://mailman.nginx.org/pipermail/nginx-devel/2012-May/002223.html
REVERT: ab5069e5d6 merged branch "master" into "logby".
REVERT: 1075c325ee fixed tests to work-around an issue with nginx listening on a unix domain socket (we have to remove the socket file before sending HUP).
REVERT: f1548c48df fixed tests to work-around an issue with nginx listening on a unix domain socket (we have to remove the socket file before sending HUP).
REVERT: c503785625 fixed ngx. table initial size for content/rewrite/access_by_lua*.
REVERT: 6ab79176d0 Reverting to da5e60c949dcd4d8ed68b838aaf681a933c3bae7
REVERT: 609255f1b1 Merge branch 'cleanup'
REVERT: d6ef8d61ab Cleanup config, make line shorter and easier to merge Adding cleanup branch for potential other style refactoring
REVERT: 104b80949f Merge remote-tracking branch 'upstream/master'
REVERT: da5e60c949 fixed tests for floating point number inaccuracy issues on linux i836.
REVERT: e49edfa9d3 fixed typos in the tests.
REVERT: 54a0e568c0 minor optimizations in ngx.sleep handling.
REVERT: a89d8ce471 added more tests for calling ngx.location.capture before and after ngx.sleep.
REVERT: 2362917a68 updated docs to reflect changes (including documenting ngx.sleep.)
REVERT: c5be5ff2f4 optimize: fixed the ngx. table initial size.
REVERT: d6ba6b4505 renamed t/074-sleep.t to t/077-sleep.t because we already have t/074-prefix-var.t (from the "prefix-var" branch).
REVERT: 4e7379f93f reindexed the test numbers via the "reindex" script.
REVERT: cc3de56b1e Merge branch 'master' into sleep
REVERT: 5a55dd6f42 bugfix: fixed various issues in jinglong's patch for adding ngx.sleep() in github pull request #120.
REVERT: 6446ee71b8 documented the rewrite_by_lua_no_postpone directive.
REVERT: 8f6fab6218 Merge branch 'master' into no-postpone
REVERT: e7754953d6 updated docs to reflect recent changes.
REVERT: 8e750fa1bc bugfix: the receiveuntil iterators would have memory issues with very small lua_socket_buffer_size settings in the inclusive mode.
REVERT: 1f8c3818ff Adding test for inclusive mode
REVERT: 8f306812a5 Fix receiveuntil("pattern", { inclusive = false })
REVERT: 05dee24fae Adding documentation for the receiveuntil option { inclusive = true }
REVERT: d509d07ec2 Adding logic for the receiveuntil option { inclusive = true }
REVERT: 92b47f9da6 fixed typos in the test case names in 075-logby.t
REVERT: 6e732efe68 1, fix a bug in sleep() (the number of argument must be 1)
REVERT: b2481bebea 1, update t/062-count.t(total count of ngx.* to 88) 2, update t/074-sleep.t
REVERT: 080990db7c 1,add test cases for ngx.sleep()
REVERT: 4c207e5403 1, add ngx.sleep()
REVERT: 0782f475c7 merged from master
REVERT: 2fd7a3a503 initial implementation works
REVERT: 3ac6f26141 various coding style fixes in Matthieu Tourne's patch for adding ngx.req.init_body(), ngx.req.append_body(), and ngx.req.finish_body(). also made the size argument optional in ngx.req.init_body() in which case the client_body_buffer_size configuration is honored.
REVERT: 2057997368 Adding ngx.req.init_body() ngx.req.append_body() ngx.req.finish_body()
REVERT: 46aa878051 fixed coding style in Matthieu Tourne's patch for adding the rewrite_by_lua_no_postpone directive; also added some tests for it.
REVERT: 436cd30a95 Adding directive rewrite_no_postpone
REVERT: b241806f23 Merge branch 'master' into logby
REVERT: f229fccc52 various fixes in ngx.decode_args().
REVERT: df2ec5acfc added tests for the optional max_args argument to ngx.decode_args(); also documented this optional argument.
REVERT: 56d992b1aa docs: documented how relative paths are processed when *_by_lua_file directives are used; also documented the $prefix and ${prefix} notations in lua_package_path and lua_package_cpath directive values.
REVERT: 5be3f2b365 Merge branch 'master' into prefix-var
REVERT: 3d6f752a0f docs: updated docs to reflect recent changes in set_by_lua.
REVERT: 89ba489830 Merge branch 'master' into setby
REVERT: 47ec23a33e updated docs to reflect recent changes in the logging API.
REVERT: e9cb510437 fixed a test case in 009-log.t for luajit 2.0.
REVERT: d823b84542 Merge branch 'master' into logging
REVERT: 2bd1f0f80e updated docs to reflect recent changes.
REVERT: 732fe370a6 added many more tests for log_by_lua* and also fixed issues with ngx.ctx in log_by_lua*.
REVERT: 447c7488b3 fixed some coding style issues in Matthieu Tourne's patch for log_by_lua* and also added a simple test for log_by_lua.
REVERT: 3987107006 Adding log_by_lua and log_by_lua_file and documentation
REVERT: fd193aa4c5 fixed ngx. table initial size for ngx.decode_args().
REVERT: 77ca488a52 Adding documentation for ngx.decode_args()
REVERT: 6a61f43845 added some tests for ngx.decode_args().
REVERT: ecd83e9a1b minor coding style fixes in Matthieu Tourne's patch for adding ngx.decode_args().
REVERT: 674b8709a3 Add ngx.decode_args()
REVERT: 4b4f48007e resolved conflicts while merging master into prefix-var.
REVERT: 2178f0bac5 updated README and README.markdown to reflect recent changes in both the .wiki doc and wiki2markdown.pl.
REVERT: 69a3d8970a Merge pull request #118 from zhuzhaoyuan/master
REVERT: c5016c17f9 Fixing incorrect merge from prefix-var branch
REVERT: 886792c5fe Adding documentation for ngx.decode_args()
REVERT: 50f47a99b2 Merge branch 'devel'
REVERT: d0f5ed3630 Merge remote-tracking branch 'upstream/prefix-var'
REVERT: 849ca03dc2 Merge remote-tracking branch 'upstream/logging'
REVERT: cb5c37ec76 generated README.markdown by using wiki2markdown.pl
REVERT: b1ca2dd5b0 updated the wiki file (http://wiki.nginx.org/HttpLuaModule had been updated)
REVERT: a3524ab96b synchronized the wiki from http://wiki.nginx.org/HttpLuaModule
REVERT: 54d4b8fe15 Merge branch 'master' of https://github.com/chaoslawful/lua-nginx-module
REVERT: 087694f4a2 feature: special nginx variable $prefix is now available in the lua_package_path and lua_package_cpath, which evaluates to the server prefix string (as specified by the -p PREFIX command-line option of the "nginx" executable). thanks Matthieu Tourne for the patch.
REVERT: efb33ad7cb added a leading comment to README.markdown to indicate that is is generated automatically.
REVERT: 1e6de3d933 optimize: eliminated unnecessary lua-side operations in ngx.log() and print().
REVERT: 33b3d45ea6 modified the message prefix of print() from "[lua] print: " to just "[lua] "; also updated tests to reflect recent changes.
REVERT: 932a748a41 Merge remote-tracking branch 'upstream/logging'
REVERT: 227b9c3efd Merge remote-tracking branch 'upstream/master'
REVERT: 0a258abde2 fixed some typos
REVERT: 0538286ea6 Merge pull request #117 from zhuzhaoyuan/master
REVERT: 77c715d454 fixed some minor grammatical errors
REVERT: 5f1c7c32ce lua -> Lua
REVERT: fd0fa3e54d Merge branch 'master' of https://github.com/chaoslawful/lua-nginx-module
REVERT: 2ca579687d Merge pull request #116 from dirkfeytons/master
REVERT: 34d6f7da0b bugfix: the set_by_lua directive did support nginx variable interpolation and there was no easy way to use the dollar sign characters in the literal Lua source. the set_by_lua_file directive still supports nginx variable interpoloation in its lua file path argument. thanks Vittly for reporting this in github issue #111 and jinglong for the test in github pull #115.
REVERT: edd3e3f629 Only include lua_regex_cache_max_entries if NGX_PCRE is defined.
REVERT: 2cd7586ce7 feature: added the "[lua]" prefix to the log messages produced by ngx.log() and print(). thanks Matthieu Tourne for the patch.
REVERT: 28da7e3f9b changed the chunk name of set_by_lua from "set_by_lua_inline" to "set_by_lua".
REVERT: f75f20d186 feature: ngx.log() and print() now output more debugging info, i.e., the current lua source file name (if any), the current source line number, and the current calling lua function name (if any), into the nginx error.log file. thanks Matthieu Tourne for the patch.
REVERT: f8e612af32 changed the chunk name of set_by_lua from "set_by_lua_inline" to "set_by_lua".
REVERT: 57a189a552 Merge pull request #114 from monadbobo/master
REVERT: 8e2e4a9e72 remove some dead assignment via scan-build.
REVERT: e841106d16 added a (passing) test for setting ngx.header.content_encoding that should bypass the ngx_gzip output filter.
REVERT: c465d2bdc6 Add ngx.decode_args()
REVERT: 57e8d99917 added a (passing) test case for cosocket:send(""), that is, sending an empty string.
REVERT: a3961fe7bc bugfix: cosocket:receive(0) was not allowed and would throw an error saying "0" is a bad pattern. thanks huang kun for reporting this issue.
REVERT: ca3239a25d Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: cd04674b83 deleted a reduntant blank line
REVERT: c4f3716711 fixed minor coding styles
REVERT: 54f5a70d72 deleted a reduntant blank line
REVERT: 4174f0c6b5 fixed minor coding styles
REVERT: 61960c5ade Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 0d1db00cf6 remove duplicate string conversion
REVERT: 7a7ac79f3d removed dead code found by Simon Liu.
REVERT: d457e01b24 enlarged the timeout threshold of TEST 10 in 027-multi-capture.t.
REVERT: a7bd2ef07b enlarged the resolver timeout for TEST 4 in 058-tcp-socket.t.
REVERT: a11ba9b040 enlarged the timeout threshold of TEST 5 in 067-req-socket.t.
REVERT: 3584b61d25 Merge remote-tracking branch 'zhuzhaoyuan/master'
REVERT: fbbc89d93c cosocket: simplified the code for downstream cosockets a bit.
REVERT: 8e24cd1ef8 Merge remote-tracking branch 'upstream/master'
REVERT: 581e0495bf lua -> Lua, luajit -> LuaJIT, and fixed some minor typos
REVERT: a34f9b6ea5 bugfix: gcc 4.6 complaint about comparing size_t values with off_t values.
REVERT: 754d547ca1 bugfix: ngx.req.socket() did not honor the "Expect: 100-continue" request header and could hang. thanks Matthieu Tourne for the patch in pull request #107.
REVERT: 21450b7c58 bugfix: the ngx.req.socket() object (i.e., the downstream cosocket object) did not work with HTTP 1.1 pipelined requests at all.
REVERT: e7f56d0214 bugfix: downstream cosockets might lose the last part of the request body when receiving data. this regression had appeared in v0.5.0rc25. thanks Matthieu Tourne for reporting it.
REVERT: 9144d24876 Fix receiveuntil("pattern", { inclusive = false })
REVERT: 8cd749f33e Adding failing test
REVERT: 8e6877379c minor coding style fixes in the patch for adding Lua backtraces. also added 073-backtrace.t to test it. see github pull request #107.
REVERT: f079f8b3a1 Adding trace to errors
REVERT: dbe0dc4e4f now we call ngx_http_lua_socket_finalize in cosocket:setkeepalive() to help buffer reuse.
REVERT: d00976d807 bugfix: nginx could crash on request fialization when running the cosocket cleanup handler due to the lack of check of the ctx pointer. thanks shaneeb for reporting this in github issue #110.
REVERT: b440e5b2db updated t/024-access/exit.t a bit.
REVERT: d4b111b617 Merge remote-tracking branch 'upstream/master'
REVERT: 8f1b3d9aa3 added a test for If-Unmodified-Since and 412 error page.
REVERT: eeb1816c65 optimize: now ngx.log is much faster when the log level argument is lower than the actual error_log level specified in nginx.conf. thanks Matthieu Tourne for providing the patch.
REVERT: 02b1db9e53 minor optimizations.
REVERT: 0ceb1045f1 added (passing) tests for conditional GET requests.
REVERT: decdf01290 added error log tests to t/044-req-body.t.
REVERT: e9a5eb1a08 bugfix: ngx.req.get_body_data() could not handle multi-buffer request bodies and discarded the body data after the first buffer.
REVERT: df32739d00 fixed test index in 024-access/subrequest.t.
REVERT: 8e2faf71b1 added tests to expose the bug in the nginx core reported by drdrxp in agentzh/nginx-eval-module#1.
REVERT: becf72a1a5 added a (passing) test for github issue #110.
REVERT: 34a36afa1d Adding documentation for the receiveuntil option { inclusive = true }
REVERT: 20b3395712 Adding logic for the receiveuntil option { inclusive = true }
REVERT: ef8e2bf8cb Adding test for inclusive mode
REVERT: add1a0ad8a updated .gitignore.
REVERT: 9e935ee316 add skeleton of coroutine api
REVERT: 2db0ae3061 Merge remote-tracking branch 'upstream/master'
REVERT: 77eb003330 Adding README.markdown
REVERT: 1901199ad2 Adding log_by_lua and log_by_lua_file and documentation
REVERT: 8d287851e4 bugfix: the previous patch for using ngx.ctx in set_by_lua* could result in memory leaks; now we ensure that the request cleanup handler is always registered when set_by_lua* is used.
REVERT: ef9112084a added error log tests to 033-ctx.t.
REVERT: bee1cabcba bugfix: ngx.ctx was not accessible at all in set_by_lua*. thanks Pierre.
REVERT: 4e56036c26 minor code refactoring.
REVERT: 004b7c8ba4 bugfix: fixed typo "on-array", which should be "non-array", in an error message.
REVERT: 6de0c1c6c9 bugfix: cosocket connections from the connection pool might lead to segfaults if it is not used immediately. thanks xukaifu for reporting this as github issue #108.
REVERT: 370955d214 removed too restrict timeout settings in the test suite.
REVERT: c7ec9c97d9 bugfix: debug logging in the cosocket receive line method could lead to invalid memory reads under extreme network conditions. this issue was caught by mockeagain in reading mode.
REVERT: f3f561f1ea updated valgrind.suppress for linux i386 further.
REVERT: 76bf73c7e0 updated valgrind.suppress.
REVERT: 200bac2c2a test: enlarged resolver timeout for the cosocket tests even more.
REVERT: 7667027d45 enlarged resolver timeout for the cosocket tests.
REVERT: d611eeee7b added more error_log tests for the cosocket tests.
REVERT: 776f4999d6 Merge remote-tracking branch 'upstream/master'
REVERT: e0eea5355c Fix issues with POST using http 1.1 (test for expect)
REVERT: b80b502be0 Adding ngx.req.init_body() ngx.req.append_body() ngx.req.finish_body()
REVERT: a12d72f25e Adding "variable" $ngx_prefix to lua_package_path
REVERT: 2ee6f4694d Adding trace to errors
REVERT: fa3eeb01ab Adding directive rewrite_no_postpone
REVERT: 2bb9d6fd8b still use 2 sec as the resolver timeout setting in 058-tcp-socket.t TEST 8.
REVERT: e442e7661e fixed tests for mockeagain in reading mode.
REVERT: 00d05f26d8 bugfix: downstream cosockets might hang on the receive(size) method call for slow connections. mockeagain in reading mode caught this issue.
REVERT: 1c0e24a3ce various fixes in the test suite.
REVERT: 4591dc7049 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 6667bf6280 feature: made ngx_http_lua_api.h visible to other nginx modules by adding src/api to the CORE_INCS variable value in the config file. thanks Brian Akins for suggesting this in github issue #105.
REVERT: 8a6fc75fa7 change lua_pop macro to lua_settop function in gdbinit script
REVERT: a84e94623b added support for PCRE_INC and PCRE_LIB to the developer build script.
REVERT: 1cb522d499 fixed the developer build script.
REVERT: f5aaee3d6c updated .gitignore.
REVERT: 43cac16e51 renamed ngx_http_lua_add_preload to ngx_http_lua_add_package_preload; also added new public C API ngx_http_lua_get_global_state, as suggested by Brian Akins in github issue #100.
REVERT: 6e92774042 minor code refactoring: we no longer include ddebug.h in common.h; and we put publich API functions into ngx_http_lua_api.h and ngx_http_lua_api.c.
REVERT: 5692c8f391 Merge pull request #101 from bakins/ngx_http_lua_add_preload
REVERT: caecbe2e5f add gdbinit script to ease lua debugging
REVERT: 95aa6577c7 Merge branch 'master' of https://github.com/chaoslawful/lua-nginx-module
REVERT: 6ff5df6160 updated docs to reflect recent changes (documented the ngx.HTTP_OPTIONS constant).
REVERT: 68638bd3a3 feature: added new constant ngx.HTTP_OPTIONS for the HTTP OPTIONS method; also added support for OPTIONS method in the subrequest capture APIs. thanks Jónas Tryggvi Jóhannsson for requesting this in github issue #102.
REVERT: 2b3f5f90e4 bugfix: we no longer forcibly quit the lua threads by clearing out its environment and running it blindly to the end because Lua GC will collect all those unfinished coroutines anyway.
REVERT: 4cfc2488f4 bugfix: improved the longjmp handling.
REVERT: 31378f14fc add ngx_http_lua_get_request
REVERT: f7003733b4 add ngx_http_lua_add_preload
REVERT: e96822a5ad bugfix: certain compilers might complain about missing declarations for types like int8_t. now we explicitly included stdint.h. thanks runner-mei for reporting it in github issue #98.
REVERT: 19bd32224b cosocket: various optimizations in timeout handling. this gives about 2.5+% performance boost in some benchmarks using lua-resty-redis and lua-resty-mysql.
REVERT: c746674070 updated docs to reflect recent changes.
REVERT: bbac7d623b bugfix: made the sha1 library an optional dependency, as suggested by runner-mei in github issue #94.
REVERT: 1a1cde4caa fixed a coding style issue: we did not declare C variables at the beginning of the current code block in ngx_http_lua_del_thread, reported by runner-mei in github issue #93.
REVERT: e84711d082 bugfix: incorrectly used ngx_conf_log_error by using NGX_ERROR as the first argument, as reported by runner-mei in github issue #92.
REVERT: 37f749eb2c fixed typos in lua exception messages.
REVERT: 2ac3aa2a05 updated docs to reflect recent changes.
REVERT: c9c5f9486f Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: b4c2a37d38 fixed 061-lua-redis.t a bit.
REVERT: 1dc6c21e4f minor coding style fixes.
REVERT: 6de0dae34a feature: added new directive lua_http10_buffering which is on by default.
REVERT: 58cd006b08 fixed a test case in 024-access/satisfy.t.
REVERT: ee0bf0b89d feature: added new constant ngx.DECLINED. bugfix: access_by_lua could not work with the "satisfy" config directive.
REVERT: b6a6d5b1bf Merge branch 'master' of https://github.com/chaoslawful/lua-nginx-module
REVERT: 04332d929d optimize: now we recycle the special flush buf and chain link for ngx.flush() to prevent request-scoped memory leaks when emitting long data streams to the downstream.
REVERT: 58cd7f0f25 added a (passing) test case for multi-value args to ngx.req.set_uri_args.
REVERT: 3dfd00aff2 bugfix: timestamp could overflow on 32-bit systems in the shared dict API; now we use 64-bit integers.
REVERT: fcfdd73d24 documented the shdict:flush_all() method.
REVERT: ae7b5e9729 shdict: now we aggressively remove three items from the store in the flush_all method.
REVERT: 17bb70935e improved Weiqiang Li's patch by fixing the coding style and avoiding unnecessary operations. also added a test case for the new flush_all method.
REVERT: f5d9b6c907 add flush_all api to shared dict
REVERT: 2b37a7c7a1 docs: documented the max concurrent subrequest count limitation and max error log line size limit.
REVERT: 9da8286dff added a test case for emitting large messages via ngx.log().
REVERT: 215a9f7af5 updated docs to reflect recent changes.
REVERT: 3ff937f3ae bugfix: the shared dict storage might leak memory in the store: ngx_http_lua_shdict_lookup incorrectly assumed that nodes with identical keys are linked together, which might not be true after tree rebalance. thanks the patch from Lanshun Zhou.
REVERT: 2610206460 optimize: removed a redundant piece of code for subrequest headers_in fixes in ngx_http_lua_adjust_subrequest.
REVERT: f21bd80b0f bumped the version number in docs.
REVERT: 99b02286f7 now we use the buf tag literal everywhere and removed the "tag" field from the location conf struct.
REVERT: ec4becfead bugfix: the exptime argument to shdict:set/add/etc methods was incorrectly ignored when the flags argument is also specified. thanks the patch from Brian Akins.
REVERT: 81f1d7ca4a fixed typos in docs. thanks 王斌.
REVERT: 6c713ea689 removed an unnecessary line of code.
REVERT: 34f8f272c1 updated docs to reflect recent changes.
REVERT: cdcbef3101 Merge branch 'master' into cosocket
REVERT: ef311cd1c7 updated developer build script.
REVERT: 003650d1b1 bugfix: fixed a debug log message.
REVERT: e8aa2495f3 bugfix: for big input data, the cosocket reading methods could result in crashes due to incorrect use of luaL_Buffer. now we eliminate luaL_Buffer altogether by managing the recv buffers ourselves. the recv buffers can also be recycled.
REVERT: 87ebe182f4 updated the developer build script.
REVERT: 32e8ad4e14 bugfix: fixed various typos in source comments also avoided using luaL_checkstring which could do another longjump on its own. thanks 王斌.
REVERT: 67c79c0d25 added tests for cycled subrequests; also increased the "repeat_each" count in 027-multi-capture.t to make an issue with too small MAX_SUBREQUESTS easier to reproduce.
REVERT: aaab8c750b fixed shdict tests on i386; also ensure to configure "postpone_output 1" for the sync flush test case that requires buf reuse.
REVERT: e7f8eb729e bugfix: tcpsocket:setkeepalive() will return errors when the current connection has readable data or there is still unread data in the ngx_lua upstream buffer. bugfix: cosocket methods no longer explicitly return nil error strings upon success.
REVERT: ae6b59a0ac refactored the test suite a bit.
REVERT: aa4bd38780 bugfix: when the parent request takes a request body, the subrequest does not take any bodies, and the subrequest's method is neither "PUT" nor "POST", then the subrequest will no longer inherit the parent request's request body. thanks 欧远宁 for reporting this issue.
REVERT: 9026d59fd4 bugfix: data might be accidentally read into the lua space on idle sockets when the last operation is a read operation *and* a read event suddenly arrives for edge-triggered event models. the same might also apply to write operations too. bugfix: invalid reads might happen in the reading iterators returned by the receiveuntil() method which could lead to segfaults.
REVERT: 1bce88568d added tests for the various "lua socket blah blah timed out" error messages; also tweaked other cosocket test cases for different test modes.
REVERT: f95c55f7ab bugfix: "closed" error would occur for long-running requests that hold the idle cosocket object for a period of time that is longer than the read timeout setting: we should delete the read event timer in time when the receive call has already got a read event. thanks 欧远宁 for reporting this issue.
REVERT: 1b702e5403 added error logs for socket timeout errors.
REVERT: 78ed3f5738 added error logs for closed errors.
REVERT: 7cb4e0957f introduced a minor optimization that we can save one recv call when the read event is active *and* the read event is not ready.
REVERT: e633e75d9d Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: fc7893d05f now we recycle the downstream output buffers to save memory and dynamic allocation times for long-running requests.
REVERT: 60e70ef7e5 bugfix: now we require the SHA1 library in the "config" file.
REVERT: 060e9bf495 Merge branch 'devel'
REVERT: d4167c1a11 bugfix: macro directives were used inside a macro argument which made gcc 3.2.3 unhappy. thanks Feng Bin.
REVERT: 11a13f0694 bugfix: cosocket API could not be used before ngx.location.capture and its friends for fast network access: tcpsock:send() method did not reset u->waiting properly. thanks 欧远宁.
REVERT: 89af745e12 updated docs to reflect recent changes.
REVERT: cbc1fd22aa add gdb script to ease Lua debugging
REVERT: 96e9b3038e feature: allow use of ngx.null in ngx.log() and print() arguments.
REVERT: 2f1c2a5e00 opt: fixed the "ngx." table initializing sizes.
REVERT: d29c611c87 bugfix: could not compile with nginx 0.8.x. thanks 欧远宁.
REVERT: 25abe98ca8 feature: added the ngx.sha1_bin method which returns the binary form of the SHA-1 digest.
REVERT: 60335f37b4 minor fixes in the tests.
REVERT: 2614f3ffd1 bugfix: we incorrectly allowed ngx.null in the string table argument to cosocket:send() method.
REVERT: c73f874807 updated docs to reflect recent changes.
REVERT: 14e079ccaf fixed ngx. table entry count during table initialization.
REVERT: 2c5a75838a feature: added constant ngx.null which is a NULL light userdata to represent "nil" values in lua tables and etc. this is compatible with at least lua-cjson library's cjson.null constant.
REVERT: 51a6bdfad0 minor coding style fixes.
REVERT: e3123d322d Merge branch 'last_modified'
REVERT: cef7991100 add last-modified test
REVERT: 90ae315163 last modified jumbo
REVERT: d1085f9e98 fixed typos in docs. thanks @cyberty.
REVERT: a8cad73ed9 updated docs to reflect recent changes.
REVERT: 1d7626f423 cosocket: feature: now cosocket:send() method supports lua tables of string fragments which can save unnecessary string concatenation operations on the lua land that are usually quite expensive.
REVERT: 907f825a48 cosocket: fixed bugs in debugging logs.
REVERT: 5a3e31777e updated docs to reflect recent changes.
REVERT: 1e8f8e5f54 Merge branch 'dict_flags'
REVERT: 8d576f2cec use uint32_t as the type of shdict user flags.
REVERT: c8967e5a60 match new error message
REVERT: 9ef0b86d61 do not return flags if not set for backwards compatibility
REVERT: 24177e8ed6 expect nil
REVERT: de5e7bf19f user flag test
REVERT: edc9633d98 Add user flags
REVERT: 170c5484e4 updated docs to reflect recent changes.
REVERT: ef46b7f334 cosocket: documented the in-pool connection monitoring feature requested by @ldmiao.
REVERT: 653d1ec1f5 bumped the version number in docs.
REVERT: 750b928090 cosocket: reverted casual changes to the developer build script in the last commit.
REVERT: 1cec504101 cosocket: bugfix: fixed -Werror=unused-but-set-variable warnings from gcc 4.6.
REVERT: 07329405e1 cosocket: bugfix: when the object returned from ngx.req.socket() is used across the request boundary, segfault would occur; so now we protect the downstream cosocket object from being used outside the current request lifetime.
REVERT: 72f7fb5b06 cosocket: documented the ngx.req.socket() function.
REVERT: 0b99b35053 cosocket: documented the sock:receiveuntil method.
REVERT: 44459f5dde cosocket: documented most of the cosocket API.
REVERT: c6f165e395 cosocket: added a (passing) test for keepalive unix domain sockets.
REVERT: bc4baee257 Merge branch 'cosocket'
REVERT: 204ce2b3db updated docs for the v0.4.1 release.
REVERT: 9e30acfec0 cosocket: fixed compilation failures without --with-debug: misuse of the ngx_log_debugN macros.
REVERT: 7848542c88 cosocket: added a test case for extremely small buffers when calling sock:receiveuntil.
REVERT: a6183a1a0c minor tweaks in tests.
REVERT: 8d7cc5fba0 cosocket: optimized the chainlink and buf recycle logic for the subrequest API and cosocket API.
REVERT: ba7a62fbb5 cosocket: bugfix: the request cleanup handler could access the (invalid) upstream userdata after Lua GC frees it. also fixed the lua table initialization for ngx._tcp_meta.
REVERT: 3bb79438c4 cosocket: feature: implemented "timeout" and "size" arguments to the setkeepalive() method to override the config settings via the directives lua_socket_keepalive_timeout and lua_socket_pool_size.
REVERT: 2bb7ba793c cosocket: check zero connection pool size.
REVERT: d65eeee425 cosocket: feature: "lua_socket_keepalive_timeout 0" now means unlimited connection idle time.
REVERT: ce5b54349c cosocket: added tests for the default lua_socket_pool_size value (30).
REVERT: fa07de06ca cosocket: feature: added config directive lua_socket_pool_size to control the connection pool size (in terms of number of connections) per host-port pair.
REVERT: bc8a9097d9 cosocket: added debugging output for keepalive timeout values.
REVERT: 154fce40d2 Merge remote-tracking branch 'origin/master' into cosocket
REVERT: fb3d82db97 Merge branch 'master' into cosocket
REVERT: f1269407d4 cosocket: bugfix: we did not reset c->read->handler and c->write->handler for connections got from the connection pool which could lead to segfaults; feature: new config directive lua_socket_keepalive_timeout to specify the max idle time for connections in the pool.
REVERT: a95e02faa4 bugfix: ngx_http_lua_header_filter_init was called with an argument which actually accepts none. this could cause compilation errors at least with gcc 4.3.4 as reported in github issue #80. thanks bigplum (Simon).
REVERT: 9d5e827c76 cosocket: call ngx_close_connection() directly instead of introducing ngx_http_lua_socket_keepalive_close(); also added a (passing) test case for premature close of upstream sockets for idle connections in the pool.
REVERT: dcd633f97b cosocket: fixed connection pool cleanup logic and added support for max idle timeout.
REVERT: 5b2a977b37 cosocket: initial prototype for the builtin connection pool support via the new cosocket method "sock:setkeepalive()". also always reset u->length and u->rest for the "sock:receive()" method.
REVERT: e60a948145 cosocket: did a minor optimization for receiveuntil patterns no longer than 2 bytes.
REVERT: 7a4cbfb4a3 cosocket: bugfix: fixed a minor inconsistency in the reading iterator returned from sock:receiveuntil when the "size" argument is specified. also added some (passing) tests for a true multipart parser.
REVERT: 54a6f750df cosocket: use 8.8.8.8 as the default TEST_NGINX_RESOLVER env value in the test suite.
REVERT: 4cecc53e3b cosocket fixed a typo in ngx_http_lua_socket_read: we should use r->headers_in.content_length_in instead of r->content_length_n.
REVERT: 9a7a12a461 cosocket: fixed lua table entry count in table initialization.
REVERT: bc93b61f71 cosocket: minor coding style fixes.
REVERT: 83d972e385 cosocket: bugfix: request sockets reading should honour the Content-Length request header (if any).
REVERT: 7bd0fdbeb5 cosocket: feature: ngx.req.socket() works.
REVERT: 9c461bf15b fixed lua table initial entry count; also added initial skeleton for ngx.req.socket() but not working yet.
REVERT: 9e4abfdcd2 minor test fixes.
REVERT: 2f20b7acd8 cosocket: added support for the "size" argument to the reading iterator returned by the sock:receiveuntil().
REVERT: 51b793007e cosocket: introduced a minor optimization that we could save the first two elements in the cp->recovering array.
REVERT: 38c4fa0741 cosocket: added a lot more tests for sock:receiveuntil.
REVERT: b045cfae41 cosocket: bugfix: use the luaL_addchar macro to simplify the state machine logic.
REVERT: d8548e4a42 cosocket: decreased memory usage for unambiguous boundary patterns in sock:receiveuntil().
REVERT: 9a673b787a added support for ambiguous boundary patterns.
REVERT: 19b071c3e2 feature: first cut on the socket:receiveuntil(pattern) method. ambiguous boundary patterns and the "size" parameter to the reading iterator are not implemented yet.
REVERT: 92e0e6ef0f added (passing) test cases for cosocket send timeout settings.
REVERT: 75a52b4653 RecvUntil.pm: fixed Makefile.
REVERT: 30a17916c1 checked in a perl prototype for the receiveuntil method implementation.
REVERT: 17ee6b60c4 updated .gitignore.
REVERT: 884ae49bf2 feature: implemented method settimeout() for ngx.socket.tcp() objects.
REVERT: 7962a9fb14 Various fixes in cosocket
REVERT: b1b92000bc fixed test index.
REVERT: a2859d4feb fixed test index.
REVERT: 735355c98b Merge branch 'master' into cosocket
REVERT: 6e8c4aba5d renamed .t files.
REVERT: 30cf86dd66 merged master to cosocket.
REVERT: dc37474df0 bugfix: fixed all the warnings from the clang static analyzer.
REVERT: fb84d6fe07 adjusted the tests a bit.
REVERT: 733d26d16b bugfix: ngx.exit, ngx.redirect, ngx.exec, and ngx.set_uri(uri, true) could return (they should never return as per the documentation). this bug had appeared in v0.3.1rc4. thanks @cyberty for reporting it.
REVERT: b166210bcf added change log for v0.4.0 and also documented the way to confirm that pcre jit is actually enabled.
REVERT: bc9142cb36 allow use of the DDEBUG macro from the outside (via the "-D DDEBUG=1" cc opton).
REVERT: 7bdd8505bb updated README.
REVERT: 37c4880eb2 docs: massive wording improvement from Nginx User.
REVERT: e43eab96a2 now we state that ngx.re API requires pcre 8.21+ for its regex JIT support in the docs.
REVERT: 805f6a24a9 updated docs to reflect recent changes.
REVERT: 11ddbdf9f9 added debug logging when ngx.req.get_headers() hits header count limit.
REVERT: d40fcc6690 added debug log when ngx.req.get_uri_args and ngx.req.get_post_args hit max args limit.
REVERT: 8e8517c644 updated valgrind.suppress a bit.
REVERT: 85f876ec16 bugfix: hash table collision attacks were possible in ngx.req.get_headers() and now it only parses at most 100 headers (can be controlled by the C macro NGX_HTT_LUA_MAX_HEADERS. ngx.req.get_headers() now also takes an optional argument that can be used to specify a custom header count limit (defaul to 100). one can disable the header count limit altogether by feeding ngx.req.get_headers() with a zero value argument.
REVERT: 0ece0793ec added more tests for max_args argument.
REVERT: 3a2b80b054 tweaked the timeout settings for two test cases.
REVERT: 75876b67c6 bugfix: ngx.req.get_uri_args and ngx.req.get_post_args now only parse up to 100 arguments by default. but one can specify the optional argument to these two methods to specify a custom maximum number of args. thanks Tzury Bar Yochay for reporting this.
REVERT: 2b18629c2f bugfix: removing builtin headers in huge request headers with 20+ entries could result in data loss. thanks Chris Dumoulin for the patch.
REVERT: f9efd32881 bugfix: ngx_lua could not compile with nginx 1.1.12+. thanks deltay for reporting it in github issue #76.
REVERT: b0f1582325 fixed the test cases regarding invalid escape sequences for LuaJIT 2.0.0 beta9.
REVERT: 81b9bbb510 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 6f9a1f9b75 now we use pcre 8.21 jit build in the developer build script.
REVERT: 33844f1b8d fixed a test case in t/057-flush-timeout.t on FreeBSD.
REVERT: f6ea32e0e3 removed --with-cc=gcc46 from util/build2.sh.
REVERT: 4f0d035cdb updated docs to reflect recent changes. thanks Nginx User.
REVERT: 78014b6475 bugfix: request header value strings must be null terminated and was possible to introduce memory invalid reads in the past. thanks Maxim Dounin.
REVERT: 66d35ae23c cosocket: fixed the lua-redis test case a little.
REVERT: a5e501045a cosocket: fixed ngx_log_debugN for non-debugging builds. also added a passing test case for running Daniele Alessandri's lua-redis library by emulating LuaSocket via ngx.socket :)
REVERT: 166a71112b cosocket: we now allow string-typed size argument for sock:receive(). also added a (passing) test case for running Neil Richardson's lua-memcached library by mocking LuaSocket with ngx.socket :)
REVERT: 74738a7216 cosocket: minor coding style fixes.
REVERT: 976d3e1fdc cosocket: implemented the ngx.socket.connect() shortcut.
REVERT: 7ec21aeeae cosocket: fix buffer recycling logic for the "receive" method; also added "buffer too small" error handling.
REVERT: 66f4d22e1b cosocket: fixed receive(n) to only return exactly n bytes of data as per LuaSocket's behavior. also made receive() return the 3rd value for the partial result when error occurs, just like LuaSocket.
REVERT: aeaddfe41b cosocket: implemented the number-typed pattern parameter for the "receive" method as per the LuaSocket TCP API.
REVERT: 592a534464 cosocket: fixed resolver error handling for cached negative results.
REVERT: 3ca2a900e4 cosocket: implemented the "*l" and "*a" pattern argument for the receive() method as per the LuaSocket TCP API.
REVERT: 0724569972 cosocket: fixed resolver error handling a bit.
REVERT: ecb161cf01 Merge remote-tracking branch 'origin/master' into cosocket
REVERT: f63c914375 Merge branch 'master' into cosocket
REVERT: 83a1e64a40 cosocket: added a (passing) test case for resolver timeout handling.
REVERT: f79766317c cosocket: fixed bugs in resolver failure handling.
REVERT: 9b21eb38dc cosocket: various coding style fixes.
REVERT: 5353b5bd34 cosocket: various fixes in the unix domain socket support.
REVERT: 33fcd577bc bugfix: ngx.var.VARIABLE might evaluate to nil even if there is a valid value because the nginx variable value's valid flag might not be initialized properly. this bad had appeared in v0.3.1rc40.
REVERT: 4e4fe381cf cosocket: fixed timeout handing in the connect() method.
REVERT: 6da957c937 now we return the errstr "closed" when manipulating a closed socket object, just like LuaSocket.
REVERT: 202336c408 better socket errstr handling.
REVERT: c0e3795753 added a (passing) case to test the "connection refused" error.
REVERT: 1810fb0bc7 eagerly free u->buffer in ngx_http_lua_socket_finalize.
REVERT: 32b1a58999 cosocket: now we support unix domain socket address for the "connect" method; also improved the error messages.
REVERT: 4b65f824cf first cut on the nginx builtin nonblocking resolver support for ngx.socket.tcp().
REVERT: eea55f5904 implemented the socket:close() method.
REVERT: 978c9779b2 bugfix: socket:receive() will ignore all the CR char in the inputs, just like LuaSocket.
REVERT: 1afdd52658 turned off ddebug and also fixed source lines exceeding 80 cols.
REVERT: 6c0edbd843 fixed a serious bug in socket:receive(). the test case is passing for multiple receive calls.
REVERT: fa1d4b5f1d completed the first cut on the socket:receive() method. the first test case is now passing, but sock:receive() is still buggy.
REVERT: 37d7fd4576 now we use dummy handler as the read/write event handler wherever possible (a complete fix would require deleting and adding read/write events for level triggered event models).
REVERT: 563e14b1a0 ngx.socket.tcp()'s send method is mostly working now :D
REVERT: c6113b309c added new directives lua_socket_connect_timeout, lua_socket_send_timeout, and lua_socket_read_timeout. only really implemented the first one ;)
REVERT: 04e3122dec minor fixes in socket:connect().
REVERT: 220af136e7 socket:connect() kinda works.
REVERT: 37cc4a24a0 updated valgrind.suppress further for Valgrind SGCheck.
REVERT: 709d62db35 updated valgrind.suppress further for Valgrind SGCheck.
REVERT: f0faa955e3 Merge branch 'master' into cosocket
REVERT: 4fc7a965cb updated valgrind.suppress for Valgrind SGCheck.
REVERT: 9161a993be bugfix: more_set_input_headers did not handle the Accept-Encoding request headers properly. thanks 天街夜色.
REVERT: 29e8b41e99 bugfix: there were various places where we did not check the pointer returned by the memory allocator.
REVERT: b35bcb2d64 updated README and README.markdown.
REVERT: e9de829c9b docs: updated docs to reflect recent changes. thanks Nginx User.
REVERT: b1d8d62270 bugfix: ngx.flush(true) could not be used before I/O calls like ngx.location.capture. this bug had appeared in v0.3.1rc34.
REVERT: 9e811fbbb5 more work done on the cosocket scaffold.
REVERT: 0e1770ac43 initial scaffold for ngx.socket.tcp(). also did minor optimization for the "ngx" table and the metatable for "ngx.shard.DICT" objects.
REVERT: 2c6a22a29a fixed some small bugs in the ngx.socket.tcp test case.
REVERT: a44b8ce963 added a test case for the ngx.socket.tcp API. not passing yet.
REVERT: 8153df5c65 bugfix: ngx.var.VARIABLE evalues to nil when the nginx variable is purely invalid.
REVERT: ea24c93c82 documented ngx.HTTP_GATEWAY_TIMEOUT and also included edits from Nginx User.
REVERT: f88d229ce6 added a test for ngx.HTTP_GATEWAY_TIMEOUT.
REVERT: a3bc3fceea added constant ngx.HTTP_GATEWAY_TIMEOUT (504) per Fry-kun in github issue #73.
REVERT: 9cbf7c3762 docs: massive documentation improvements. thanks Nginx User.
REVERT: 7a4617ff8f fixed two spots of gcc 4.6 warnings.
REVERT: c9f5e028b7 enable the default -O in the developer build script.
REVERT: a635ab8bea bugfix: use of the ngx.re API might lead to errors like "pcre_compile() failed: failed to get memory" due to incorrect pcre_malloc and pcre_free handling. thanks Vittly for reporting this in github issue #72.
REVERT: 745b47fd27 more fixes in 057-flush-timeout.t
REVERT: 34ee97908f fixed the flush-timeout test script.
REVERT: bd1da870a6 bugfix: fixed ngx_log_debugN which fails to compile without --with-debug. thanks @ldmiao for reporting it.
REVERT: 47d977391a checked in the tests for the bug regarding connection timeout error checking fixed in the previous commit.
REVERT: 06fd57947a bugfix: now we check timed out downstream connections in our wev handler.
REVERT: 28ae78f0e0 updated docs to reflect recent changes.
REVERT: 09ccd15b5e feature: added "wait" boolean argument to ngx.flush() to support synchronous flushing; ngx.flush(true) will not return until all the data has been flushed into the system send buffer or the send timeout has expired.
REVERT: db85756a08 fixed gcc 4.6 compilation warnings by removing some dead code.
REVERT: 6b8c2d8a21 more docs love.
REVERT: 4626334810 updated the docs to reflect recent changes. thanks Nginx User for polishing the documentation a lot.
REVERT: c598e718c1 feature: added new API ngx.update_time which calls ngx_time_update in the Nginx core.
REVERT: 79a19650a7 reformatted the tests.
REVERT: 2a134b1799 omitted unnecessary checks in our lua hooks.
REVERT: 11617ee1ed Merge remote-tracking branch 'origin/master' into ngx-now
REVERT: 1e7bd81f5f fixed the test case for ngx.now
REVERT: 08318e606f add missing test file for ngx.now
REVERT: d6ae4883b6 feature: added "ngx.now" for get time with msec(float)
REVERT: 5fcb1a7b8b updated docs to reflect recent changes.
REVERT: 806a99a3f7 feature: added opions "copy_all_vars" and "vars" to ngx.location.capture and ngx.location.capture_multi. thanks Marcus Clyne for the patch; also fixed a bad regression in ngx.location.capture_multi when the request option table is specified.
REVERT: c43d510fb9 updated docs to reflect recent changes. thanks Nginx User.
REVERT: 881a0ae604 fixed a gcc 4.6 warning.
REVERT: 3e0c15ace1 reverted build2.sh.
REVERT: 4db4603b17 fixed a gcc compilation warning for pcre < 8.20.
REVERT: 99f45c46c4 now we check if pcre jit indeed works by scanning error.log in the related tests.
REVERT: 951103f3be tested the "d" and "j" regex options for DFA and JIT modes for ngx.re.gsub.
REVERT: 5c2a86cb3c now "j" and "d" regex options are confirmed to work with ngx.re.sub().
REVERT: c444de8e4a ngx.re: now we disable jit automatically when in dfa mode.
REVERT: 85fb303ffa bugfix: ngx.re.gmatch may free the pcre study data too early when the "j" option is specified to enable pcre jit, which might cause crashes.
REVERT: 5a729fca9c coding style fixes.
REVERT: 85a74e0689 fixed pcre pool management in the cleanup handler.
REVERT: df000b92d2 feature: ensured that the "j" (JIT) option for ngx.re.gmatch works properly.
REVERT: 8f28c7f0a0 turned off ddebug.
REVERT: f360e6903e feature: implemented "d" and "j" regex options for ngx.re.match to enable PCRE DFA mode and JIT mode, respectively. thanks @姜大炮. the support of these two new options in ngx.re.gmatch, ngx.re.sub, and ngx.re.gsub is currently broken and needs fixes in future commits.
REVERT: 4572801361 massive documentation improvements. thanks Nginx User.
REVERT: 09fc7c73ee tweaked drdrxp's hmac-sha1 patch a bit and also added a test case for it.
REVERT: fd47016fa8 Merge remote-tracking branch 'drmingdrmer/hmac' into hmac
REVERT: 6dd6f02e01 updated valgrind.suppress a bit.
REVERT: 5beba3733d add ngx.hmac_sha1
REVERT: a5dc446cd4 tweaked the developer script a bit.
REVERT: efd374014f bugfix: Cache-Control header modification might introduce empty value headers when using with the standard ngx_headers module.
REVERT: ae29491ddb added one more passing test.
REVERT: fa5cafdcff updated docs to reflect recent changes.
REVERT: 64a2b730a7 renamed ngx.req.encode_args to ngx.encode_args.
REVERT: 1259fbc817 fixed various issues in shrimp's commits for ngx.encode_query_args. also renamed ngx.encode_query_args to ngx.encode_args.
REVERT: 131f13d6b3 Merge branch 'master' into args
REVERT: 82c566aaed confirmed that we work with nginx 1.0.9.
REVERT: 860199f994 updated docs to reflect recent changes.
REVERT: 30a2e898e1 minor tweaks.
REVERT: b92cbf4562 ngx.req.encode_query_args is now supporting args value to be lua table
REVERT: f0942d7a35 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module into args
REVERT: c3a6737b7c add encode_query_args function into ngx.req
REVERT: e5c62d0843 added one line of comment.
REVERT: dc49eb2067 feature: added "ctx" option to ngx.location.capture: you can now specify a custom Lua table to pass to the subrequest as its "ngx.ctx". thanks @hugozhu.
REVERT: 9942742eb9 made tests more stable.
REVERT: 4d92cb1589 fixed compatibility with nginx 0.8.54. thanks 郭颖.
REVERT: 74755eb0e2 bugfix: ndk.set_var.DIRECTIVE had a memory issue and may pass empty argument values to the directive being called. thanks dannynoonan.
REVERT: 1eb73d67c1 updated docs to reflect recent changes.
REVERT: edde16355e now incr returns the new numerical value as its first return value.
REVERT: d01adf7d7d now we still enable --with-debug in our developer build script.
REVERT: 259524953f fixed compilation warnings without --with-debug for gcc 4.6.0.
REVERT: a9842859ba fixed another spot of -Werror=unused-but-set-variable warning issued by gcc 4.6.0.
REVERT: 9656a97f00 fixed one spot of -Werror=unused-but-set-variable warning issued by gcc 4.6.0.
REVERT: 24da181717 feature: implemented new methods "add", "replace", and "delete" for ngx.shared.DICT. also made the "set" method return 3 values: "success", "err", and "forcible".
REVERT: a935e6fdbf enable the ngx.shared API in set_by_lua* and header_filter_by_lua* too ;)
REVERT: 9c26604bf4 documented the shared dictionary API.
REVERT: d4224b9794 no longer set too many worker connections in t/030-uri-args.t.
REVERT: d7c8be39cc fixed test cases for 32-bit systems.
REVERT: e6f6002756 reindexed the tests.
REVERT: 8d31d75cce shared_dict set: now we try harder when failing to allocate new entry by forcily removing up to 30 least recently used entries.
REVERT: aad4815f74 shared_dict: now we use uint8_t for value type and uint32_t for value_len.
REVERT: 4518fcf71d implemented shared_dict set nil, which effectively removes the key from the dict.
REVERT: b9d28596d1 now we support 0 expiration time to denote infinite expiration time in shared_dict set. and it is default to 0 when the set method does not take an "expire" argument.
REVERT: f32e5ed8fc added more tests for various error cases and LRU.
REVERT: 192ec1e9df bugfix: shared dict get: we should not unlock the mutex too soon. thanks drdrxp.
REVERT: 2549ab48eb added more (passing) tests for the shared dict API.
REVERT: f5a4f7243e the shared_dict get and set are now complete and usable :D
REVERT: b71a0b52a6 resolved conflicts while merging the "master" branch to "shm".
REVERT: 5973268d3a updated docs and turned off ddebug.
REVERT: d3e601fc93 added tests for setting ngx.var.VAR to nil values.
REVERT: 3638fd09cc bugfix: no longer free request body buffers that are not allocated by ourselves.
REVERT: 61b9d83fe5 now we allow setting ngx.var.VARIABLE to nil.
REVERT: a79cc75007 added a small test case.
REVERT: b25d06b326 improved the README file's formatting.
REVERT: 58d6bc91e2 fixed reading size_t as an off_t in ngx.req.set_body_data() which may lead to memory issues on 32-bit systems.
REVERT: 0a8a11b994 put the debug log outputs to the right place.
REVERT: 739825a7c4 no longer set the NGINX_ALLOW_REQUEST_BODY_UPDATING macro in developer build script.
REVERT: f03ac7ca36 fixed -Wset-but-not-used warning issues caught by gcc 4.6.0.
REVERT: 0cb010bb3f bugfix: lua_need_request_body should not skip requests with methods other than POST and PUT. thanks Nginx User.
REVERT: 8eef13e10b updated docs to reflect recent changes regarding the request body API.
REVERT: 5cef7124ff no longer use the NGINX_ALLOW_REQUEST_BODY_UPDATING macro and r->content_length_n. now calling ngx.req.read_body() after ngx.req.discard_body() is a no-op.
REVERT: ad0300696a fixed compatibility with standard nginx.
REVERT: 5c36f6e8ca now we complete the work for ngx.req.set_body_file(), ngx.req.set_body_data(), and ngx.req.discard_body().
REVERT: 893f7e72a5 now we also override Content-Length for ngx.req.set_body_data().
REVERT: 2fbea05b93 initial cut on the ngx.req.set_body_file() API.
REVERT: ea81bb2f01 implemented new function ngx.req.set_body_data() to override the current request body with in-memory data.
REVERT: 1122cbd49d fixed a test cause because Test::Nginx fixed a bug in its Content-Length handling.
REVERT: a0a9fb49a2 documented the new APIs: ngx.req.read_body(), ngx.req.discard_body(), ngx.req.get_body_data(), and ngx.req.get_body_file(); also improved the coding style and the test suite a bit.
REVERT: 569e3511c5 added (passing) tests for ngx.location.capture + ngx.redirect under http pipelining.
REVERT: 982cb581a9 refactored the code for access_by_lua and access_by_lua_file to reduce code duplication.
REVERT: 2c9a564a4d refactored the code for rewrite_by_lua and rewrite_by_lua_file to reduce code duplication.
REVERT: b6c7dd053d bugfix: fixed hanging issues when using ngx.exec() within rewrite_by_lua and access_by_lua. thanks Nginx User for reporting it.
REVERT: b0474ca750 implemented new function ngx.req.get_body_file().
REVERT: aefb1c4906 implemented new method ngx.req.get_body_data.
REVERT: 38c8325938 implemented ngx.req.discard_body() function to let user lua code to discard request body.
REVERT: 18f30a16a9 now we use ngx_http_block_reading instead of ngx_http_empty_request handler or read event handler.
REVERT: 0f18d9936b implemented ngx.req.read_body() which does synchronous non-blocking request body reading in full buffered mode.
REVERT: b45910b44e minor code refactoring.
REVERT: b298984e03 fixed compilation failures when --with-debug is turned off.
REVERT: 6c1c1666b0 now we prohibit use of true jump argument in ngx.req.set_uri() in contexts other than rewrite_by_lua and rewrite_by_lua_file. a lua exception will be thrown if the context is incorrect.
REVERT: 6ff491bd19 now we change the ngx.req.set_uri() API a bit by changing the optional argument "break_cycle" to "jump". so now it will not trigger location jump by default (because "jump" argument is false by default) and in case "jump" is given true, the function will re-search locations and jump to the new location and never return.
REVERT: 6be7dad626 added more complex samples to the docs for ngx.req.set_uri().
REVERT: 89dcc5b8d3 documented the new APIs ngx.req.set_uri() and ngx.req.set_uri_args(). thanks Vladimir Protasov (utros) and Nginx User for suggesting this feature in github issue #62 and the nginx mailing list, respectively.
REVERT: f72eb473cb documented that rewrite phase Lua code will be skipped if location re-lookup is triggered by the standard ngx_rewrite module's rewrite directive. thanks Nginx User.
REVERT: 95faaaa2d4 now we skip rewrite phase lua handlers altogether if ngx_rewrite's rewrite directive issue a location re-lookup by changing uris (but not including rewrite ... break).
REVERT: a2d115e652 added more (passing) tests for ngx.req.set_uri and ngx.req.set_uri_args.
REVERT: 2df39a9e10 now we implemented ngx.req.set_uri() and ngx.req.set_uri_args() to emulate ngx_rewrite's rewrite directive (without redirect or permanent modifiers).
REVERT: 0bb8899566 updated docs to reflect recent changes.
REVERT: 75f960b068 added constant ngx.HTTP_METHOD_NOT_IMPLEMENTED. thanks Nginx User.
REVERT: 3c4b1ff31d added one more (passing) test case.
REVERT: c5fbee750c now we explicitly clear all the modules' contexts before calling ngx_http_named_location.
REVERT: 0457ff206d more treatment of the previous fix.
REVERT: 8f84964193 fixed the download page links in docs.
REVERT: e5b8c8f46e bugfix: calling ngx.exec() to jump to a named location did not clear the context object of ngx_lua properly and might cause evil problems. thanks Nginx User.
REVERT: 4c71768761 turned off the master mode.
REVERT: d5e1642083 the first test case is passing!
REVERT: b77bf67fc7 first cut on the shared dict feature.
REVERT: 65e4759651 updated docs to state that we work with nginx 1.0.8 and 1.1.5.
REVERT: 05fbec6439 updated developer build script a bit.
REVERT: 0ebffdfb4c no longer set header hash to 1. use ngx_hash instead :)
REVERT: c3acd88c23 minor style fixes.
REVERT: 8b586da4f0 fixed regression in the last commit: we should hash the header key, not value.
REVERT: 32efa828b1 we should not set header->hash to 1, we should use ngx_hash_key_lc to generate it.
REVERT: 4ad6d40e0d updated .gitignore.
REVERT: bb2539bb5f now we properly support setting the Cache-Control response header via the ngx.header.HEADER interface.
REVERT: eac237f88c fixed a test case for HTTP 1.0 streaming output.
REVERT: 3cbf39f3aa now for HTTP 1.0 requests, we disable the automatic full buffering mode if the user sets the Content-Length response header before sending out the headers. this allows streamming output for HTTP 1.0 requests if the content length can be calculated beforehand. thanks 李子义.
REVERT: 752be5db1f use lua_Number instead of lua_Integer for crc32 functions' return values because 32-bit signed integers are too short for the crc32 digest.
REVERT: 0727d20dd5 documented the ngx.crc32_short and ngx.crc32_long methods.
REVERT: 9e043c690a exposes the CRC32 API of the Nginx core to the Lua land, in the form of the ngx.crc32_short and ngx.crc32_long methods. thanks @Lance.
REVERT: 6800229f00 documented the new feature that ngx.exec accepts a Lua table as its "args" argument value.
REVERT: fffdb93170 turned off ddebug.
REVERT: 2b625542df now ngx.exec() supports lua table as the second "args" argument value. thanks sexybabes.
REVERT: 60a8b4a614 documented the new ngx.headers_sent API.
REVERT: 47bee750d9 implemented the ngx.headers_sent API to check if response headers are sent (by ngx_lua). thanks @hugozhu.
REVERT: ab61a0331c renamed ngx_http_lua_patch.[ch] to ngx_http_lua_pcrefix.[ch].
REVERT: 319800188a even more refactoring of the lua hooks.
REVERT: 8a1367756b more refactoring of the lua hooks.
REVERT: 2684f5b078 massive refactoring of the lua hooks.
REVERT: 87f360c9f3 fixed doc formatting issues.
REVERT: f5c7c9d1d9 updated docs from wiki.
REVERT: 88b551d3da now we also return Last-Modified for the subrequest response object. thanks @cyberty and sexybabes.
REVERT: 259d378ddb refactored ngx_http_lua_wev_handler a bit to make it smaller.
REVERT: cd53678b39 minor refactoring of the various lua hooks.
REVERT: 7a5016e6b6 fixed an issue in ngx.redirect, ngx.exit, and ngx.exec: these function calls would be intercepted by Lua pcall/xpcall because they used lua exceptions. now they use lua yield just as ngx.location.capture. thanks @hugozhu for reporting this.
REVERT: f147ba4e94 rewording the doc for ngx.exit a bit.
REVERT: ac24af7f0e documented the way to output error pages with custom dynamic bodies in Lua. thanks rik1083.
REVERT: 6c7e74fb6e Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 0e2b7993bd enlarged a timeout setting for one of our test cases.
REVERT: 71993f12ae documented the reading ngx.header.HEADER feature.
REVERT: bdf56a9da9 * fixed a bug when setting a multi-value response header to a single   value (via writing to ngx.header.HEADER): the single value will be   repeated on each old value. * added support for multi-values of reading ngx.header.HEADER. * added more tests for reading non-existent response headers.
REVERT: b0c96e306d simplified the ngx.header.HEADER reading logic. but multi-value headers are still not supported yet.
REVERT: 577de863d2 implemented reading response headers: VALUE = ngx.header.KEY.
REVERT: 1a3b82be83 do not use ngx_flag_t in internal implementation. we use unsigned for boolean values consistently.
REVERT: 71fba5afba updated the documentation from wiki.nginx.org.
REVERT: 8dc5c9bb10 fixed a bug when the both the main request and the subrequst are POST requests with a body: we should not forward the main request's Content-Length headers to the user subrequests. thanks 朱峰.
REVERT: dd0d4d0966 releng work for v0.3.0.
REVERT: 7e997bbbd3 added header_filter_by_lua test for config merge
REVERT: 9255687efe added test for overriding header_filter_by_lua config
REVERT: 8924e72f1d fixed bug, header_filter_by_lua didn't worked in server or http config
REVERT: 69da13b5dc added more debugging outputs to the capture filters.
REVERT: 5a14de4a43 updated valgrind.suppress for archlinux.
REVERT: 864bf02749 removed those ugly lua_package_cpath from the exit.t test files.
REVERT: 8ef144d5c2 now we use lua-cjson in our test suite instead of lua-yajl.
REVERT: 951420328d renamed 050-header-filter.t to 041-header-filter.t.
REVERT: 4bdd154892 fixed -Wunused-but-set-variable warnings issed by gcc 4.6.0.
REVERT: 97d6c28a20 fixed test plan in ndk.t.
REVERT: eb666c15b1 marked nginx APIs available in the context of header_filter_by_lua* in the docs.
REVERT: 644b1da68c added more tests for header_filter_by_lua (confirmed that various APIs are properly injected).
REVERT: 138064090c added a (passing) test for header_filter_by_lua_file.
REVERT: 2b53d74b58 renamed the old filter.c to capturefilter.c.
REVERT: e4d00091ab only register our capture header/body filters when relavant directives are actually used in nginx.conf.
REVERT: 010297e8f7 Merge branch 'header_filter' of github.com:chaoslawful/lua-nginx-module into header_filter
REVERT: 13d8ffe6e7 now we initialize the ngx_http_lua_requires_header_filter in pre config handler.
REVERT: 7d01579b7d Merge branch 'header_filter' of github.com:chaoslawful/lua-nginx-module into header_filter
REVERT: 210b38348e added more test for header_filter_by_lua
REVERT: e3ca6ee3a2 Merge branch 'header_filter' of github.com:chaoslawful/lua-nginx-module into header_filter
REVERT: 2a4a22d6f9 we will not register an access handler if nginx.conf does not use rewrite_by_lua* after HUP reload.
REVERT: 534dc1d9ac we will not register a rewrite handler if nginx.conf does not use rewrite_by_lua* after HUP reload.
REVERT: f6cd4f54b8 added test for capture and header_filter_by
REVERT: 16606038d5 fixed some coding style issues.
REVERT: a7f05f3a5a cleaned up the API registration code.
REVERT: da21df0698 merged master into the header_filter branch.
REVERT: d8b5cff814 Merge branch 'master' into header_filter
REVERT: 02d5ac66ae refactored the Lua API injection code into groups.
REVERT: 0959786f19 added test for wrong lua code
REVERT: 4fa354eb27 Merge branch 'master' into header_filter
REVERT: a5b756c4f9 rename file name for ngx_links script
REVERT: 66fdc880f3 we should set the ctx->headers_sent flag after we have actually called ngx_http_send_header. this should pave a way to the new header_filter_by_lua* directives.
REVERT: c2cbbeac2f fixed issues for HEAD requests.
REVERT: a1aae4b114 checked in util/build2.sh.
REVERT: 06edf2a0d6 checked in util/build2.sh
REVERT: f6fa44f609 return NGX_ERROR after run lua failed in header_filter_by_lua
REVERT: f415f81869 go on next header filter when error found in header_by_filter
REVERT: 89af708199 fixed filter chain bug
REVERT: 2b1788528a added header_filter_by_lua command
REVERT: d41f205df3 updated docs in markdown and plain text accordingly.
REVERT: 0b733c4af0 explicitly documented the "ngx" and "ndk" standard packages introduced by this module, which are also the Nginx API exposed to the Lua land by ngx_lua. also documented the (new) ability to explicitly require them in the user Lua code.
REVERT: 4355225aa1 fixed a small formatting nit in the docs.
REVERT: 8e91a6a050 documented the new "o" regex option for the ngx.re.* API, as well as the new lua_regex_cache_max_entries directive.
REVERT: cc12d56e7a now we add "ngx" and "ndk" table into package.loaded such that the user can write "local ngx = require 'ngx'" and "local ndk = require 'ndk'". thanks @Lance.
REVERT: f291379d75 checked in t/040-gsub-o.t.
REVERT: 09afd869f9 fixed compilation errors while bulding nginx without --with-debug; splitted source lines exceeding 80 cols.
REVERT: 59eba8b24e implemented the "o" regex option for ngx.re.sub().
REVERT: 1f1b0f0f8f implemented the "o" option for ngx.re.gmatch, so as to cache compiled regexes.
REVERT: 108cca013d implemented lua_regex_cache_max_entries directive to control the upper limit of the global regex cache size. when the user lua code is exceeding the regex cache, it will revert to non-compile-once mode and print out a warning to error.log
REVERT: 5d887904cc added debugging outputs by ngx_log_debugN for ngx.re.match.
REVERT: e90a5a550d implemented the "o" regex option (i.e., the compiled-regex cache) for ngx.re.match().
REVERT: 2097cef560 Revert "bumped the version number."
REVERT: de284ea913 bumped the version number.
REVERT: 6381eba76d splitted source lines exceeding 80 cols and also updated the docs from the wiki page.
REVERT: 75a9a0dbf6 Merge branch 'regex'
REVERT: 91f12efcfe fixed a bug in the ngx.re regex API that look-behind assertions in PCRE regexes did not work properly.
REVERT: 3ef84e0f8e updated docs to reflect recent changes.
REVERT: e92921609f now we enable ngx.re.* regex API in set_by_lua* too :)
REVERT: 9eda6ccc78 minor tweaks of the tests.
REVERT: 16aa083ca9 fixed < and > symbols in the markdown docs.
REVERT: 3ce0b7a241 updated links in the doc.
REVERT: e0b45fe69e use HttpBlahModule instead of NginxHttpBlahModule in the doc.
REVERT: 7f09f235a8 renamed the wiki file.
REVERT: 39556de949 fixed issues found by gcc 4.6 -Wunused-but-set-variable warnings.
REVERT: f3653cede9 fixed github issue #52: compile error with nginx 1.0.5 on Ubuntu natty.
REVERT: 188cd41039 documented the new ngx.re.gsub function.
REVERT: 9c6595514c splitted source lines exceeding 80 cols.
REVERT: bd8e4a1fed implemented the ngx.re.gsub method.
REVERT: 2be93496f7 documented the optional "ctx" table argument to ngx.re.match.
REVERT: 53574fba94 added support for the ctx argument to ngx.re.match.
REVERT: b73bb88a97 refactored the code a bit and introduced auxiliary function ngx_http_lua_ngx_re_parse_opts.
REVERT: a713340e9b documented the new ngx.re.sub method.
REVERT: 6be0d9cead now we support function to be passed as the "replace" argument to ngx.re.sub().
REVERT: 4a497814c2 added support for anchored match modifer "a" to ngx.re.match, ngx.re.gmatch, and ngx.re.sub.
REVERT: 10609bced6 implemented ngx.re.sub(subj, regex, repl, opts?) method for PCRE regex subsitution. now a template scripting language is supported in the "repl" argument, for example, "$0: $1". "repl" does not support lua function yet.
REVERT: 14c0f0e0cc refactored logging related APIs to a separate C compilation unit.
REVERT: 9d842d0f53 minor code refactoring.
REVERT: d32ab9731f refactored subrequest related APIs to a separate C compilation unit.
REVERT: da18e0b4c8 refactored code for NDK related APIs to a separate C compilation unit.
REVERT: 2c862bb012 checked in missing files.
REVERT: a35f8213b2 refactored code for redirect related APIs to a separate C compilation unit.
REVERT: 799bd9dff3 refactored code for time related APIs to a separate C compilation unit.
REVERT: a6c779c8a9 refactored code for echo related APIs to a separate C compilation unit.
REVERT: ef08db33c2 refactored code for headers related APIs to a separate C compilation unit.
REVERT: 791ef6cd23 refactored the ngx.req.get_*_args API to a seperate C compilation unit.
REVERT: e2560a43a6 refactored the ngx.ctx API to a seperate C compilation unit.
REVERT: bd41801bcf refactored the ngx.re API to a seperate C compilation unit.
REVERT: cafd7842ff documented the ngx.re.gmatch interface.
REVERT: aa747edf65 fixed a memory bug in ngx.re.gmatch(); also added more tests.
REVERT: 8be276db7d first cut on the ngx.re.gmatch() implementation. the first test case is passing now :)
REVERT: bf52ee08be documented the new ngx.re.match() API; fixed unmatched subpattern capturing (we should return nil instead of "" here); only enable ngx.re.match when PCRE is enabled in the nginx core.
REVERT: 8f021621f2 checked in the first version of the ngx.re.match() regex API implementation.
REVERT: f4f4b62967 sync'd docs from the nginx wiki page.
REVERT: dca8a24b7f made setting ngx.header.HEADER after sending out response headers throw out a Lua exception to help debugging issues like github issue #49. thanks Bill Donahue (ikhoyo).
REVERT: 24772d3f72 sync'd docs from the nginx wiki.
REVERT: c2f3d0edc2 fixed special char escaping in internal cross links in README.markdown.
REVERT: d3800ccf23 added internal cross-links to README.markdown.
REVERT: 982c664f58 fixed links in README.markdown.
REVERT: fba615a89a added more hyper-links to docs.
REVERT: ccec92f6c5 added hyper-links to NginxHttpBlahModule tags.
REVERT: e6f3425f8f massive doc improvements.
REVERT: 94c51becfe added two samples tiddlers on openresty.org to the See Also section in the doc.
REVERT: 9ca18712e9 fixed formatting issues in README.markdown.
REVERT: 89cdf6e7f9 updated README.markdown.
REVERT: 82cab4e247 updated docs from wiki.
REVERT: 507c108311 now we generate README.markdown from doc/manual.wiki.
REVERT: 3659ede680 more formatting improvements.
REVERT: 1d13a1ca27 try markdown links.
REVERT: d49e3fe409 fixed more formatting issues.
REVERT: fd0ef5bb1e more README formatting fixes.
REVERT: dea32100cc even more formatting fixes.
REVERT: 3048d74cd8 more formatting fixes.
REVERT: 3565203544 more formatting fixes in the wiki doc.
REVERT: d88e97af4f udpated docs.
REVERT: 05956d68e6 updated doc/manual.wiki accordingly.
REVERT: 2871af3845 more README tweaks.
REVERT: dce23b6c1f updated manual.wiki.
REVERT: 205506be95 more README love.
REVERT: 7a2ee2e9e7 massive README updates.
REVERT: 4372290055 some cross-link love.
REVERT: 62b0e84d6d checked in doc/manual.wiki.
REVERT: f3a628ab2e updated README.markdown to ease converting to wiki. also checked in doc/manual.wiki.
REVERT: 5d318deafd updated docs to reflect recent changes.
REVERT: c43294e8bc now ngx.ctx = {...} assignment is also supported.
REVERT: fc44ddb7b5 fixed a typo in README found by 万珣新.
REVERT: 4b93450884 documented the ngx.ctx "magic table"; also checked in the tests for ngx.ctx.
REVERT: f26d17a89e fixed a memory leak when setting ngx.ctx and later doing an ngx.exec() internal redirect.
REVERT: cfa5eb7725 added lots of ngx_log_debugN invocations; completed the first run of the ngx.ctx implementation (still buggy).
REVERT: 445c7309b2 minor edits in the tests.
REVERT: 302edda861 added tests for outputing lua tables.
REVERT: 9880409151 now ngx.print/ngx.say allow (nested) array-like table arguments. the array elements in them will be sent piece by piece. this will avoid string concatenation for templating engines like ltp.
REVERT: d9f68ec6aa updated tests to reflect recent changes; also updated README to require identical values in client_max_body_size and client_body_buffer_size when turning lua_need_request_body on.
REVERT: cf52bc17a2 renamed ngx.req.get_query_args to ngx.req.get_uri_args; the old ngx.req.get_query_args is now deprecated.
REVERT: 5b2eb96332 documented that lua_need_request_body is required to be turned on for ngx.req.get_post_args().
REVERT: bd6e572148 documented the ngx.req.get_post_args() method in README.
REVERT: 8de549eab3 added tests for ngx.req.get_post_args().
REVERT: f2ad70e1b7 implemented the ngx.req.get_post_args() method for Lua.
REVERT: c8c75c35e6 fixed a bug in ngx.req.get_query_args(): args requiring unescaping could corrupt r->args buffer.
REVERT: 0e03a44146 updated docs to reflect recent changes in print() and ngx.log().
REVERT: 10aea81c8b now we also allow Lua booleans and nils in arguments to ngx.log() and print().
REVERT: 44182153f3 documented the ngx.req.get_query_args method. this new interface resolves github issue #15. thanks Bertrand Mansion (golgote).
REVERT: 5f0744c150 now we support multi-value keys in ngx.req.get_query_args().
REVERT: 2502bdcd00 now we allow boolean and nil values as args to ngx.print/ngx.say; also done the first cut on the ngx.req.get_query_args() API.
REVERT: db34dab6b2 updated valgrind.suppress according to nginx 1.0.5.
REVERT: 52d265b024 reverted bad commits.
REVERT: e31406fa1c worked-around the "stack overflow" issue while using luarocks.loader and disabling lua_code_cache, as described as github issue #27. thanks Patrick Crosby.
REVERT: f2fbc1f241 worked-around the "stack overflow" issue while using luarocks.loader and disabling lua_code_cache, as described as github issue #27. thanks
REVERT: d40eb065e8 worked-around the "stack overflow" issue while using luarocks.loader and disabling lua_code_cache, as described as github issue #27. thanks
REVERT: 281f7487fb we should have returned NGX_DONE instead of NGX_DECLINED when waiting for more request body at rewrite and access phases. this should fix the "zero size buf" alert while combining lua_need_requesty_body on + access_by_lua/rewrite_by_lua + proxy_pass/fastcgi_pass. thanks 万珣新.
REVERT: 1cf8f4fa64 minor coding style fixes.
REVERT: e06c869a01 fixed the support for macros LUA_DEFAULT_PATH and LUA_DEFAULT_CPATH: we get these custom paths work even when the config directives lua_package_path or lua_package_cpath are not used at all.
REVERT: 65f178f598 documented the ngx.parse_http_time() method. thanks James Hurst.
REVERT: 3592818769 polished the implementation of ngx.cookie_time, ngx.http_time, and ngx.parse_http_time a bit: removed request object fetching code because we never use it and also added code to test NGX_ERROR returned by ngx_http_parse_time (we return nil in that case).
REVERT: 2fbc16dba6 Merge remote-tracking branch 'pintsized/master' into devel
REVERT: 243eb9e5b4 added support for user C macros LUA_DEFAULT_PATH and LUA_DEFAULT_CPATH. for now we can only define them in ngx_lua's config file because nginx configure's --with-cc-opt option hates values with double quotes in them. sigh.
REVERT: 2d285e9830 Added ngx.parse_http_time()
REVERT: dc3fa1cd18 Added ngx.parse_http_time()
REVERT: a2eb4c6b98 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 0457c06c04 fixed an issue regarding defining global variables in C header files: we should have defined the global ngx_http_lua_exception in a single compilation unit. thanks @姜大炮.
REVERT: 9b65b67145 fixed the date in the Changes file.
REVERT: 96f72bd3d3 fixed a source line exceeding 80 cols.
REVERT: 8e7d37eb99 checked in the Changes file.
REVERT: 4dffb3cea4 removed the limitation that we cannot capture subrequests with internal redirects from the doc.
REVERT: 5cd3b677b6 documented setting nginx special variables $limit_rate/$args, and reading special variables $1, $2, $3, and etc.
REVERT: 31bcaa821c ensure that we can compile when pcre is disabled in the nginx build.
REVERT: 95528f5114 Merge branch 'devel'
REVERT: c808ce7c37 Merge branch 'devel2' into devel
REVERT: 7c835bde1a now we support ngx.var[1], ngx.var[2], and etc to refer to the nginx regex capturing variables \$1, \$2, and etc in Lua. this resolved github issue #43. thanks Tobia Conforto for reporting it.
REVERT: a28d67ad06 minor test suite refactoring.
REVERT: 40e8a644f2 now we use the same value overriding mechanism as ngx_rewrite's set command for ngx.var.VAR = new_value. Assigning values to special variables like $limit_rate and $args should now work; also writing to built-in variables that are not changeable (like $arg_PARAMETER) will result in a 500 error page, as expected, now. thanks Richard Kearsley for reporting it.
REVERT: 3d1ec74e88 fixed the lua_code_cache off warning when the lua_code_cache is explicitly on. thanks Feng Xingguo.
REVERT: 9d47445743 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 9ff893ff83 applied the patch from cyberty to add ngx.http_time() function to expose the nginx core function ngx_http_time to the Lua land.
REVERT: 8e76765ae7 applied the patch from Feng Xinguo (@cyberty) to add ngx.http_time() function to expose the nginx core function ngx_http_time to the Lua land.
REVERT: dcdcf87ca2 confirmed that we work with nginx 1.0.4.
REVERT: ef3605b130 updated the ngx_openresty bundle link to openresty.org.
REVERT: ae7b7b8d1f we should have used off_t consistently. mixing it with size_t can cause Bad Things. this should have fixed github issue #42.
REVERT: f39821aaa4 fixed a formatter mismatch issue in ngx_http_echo_adjust_subrequest. thanks 王斌.
REVERT: 1fa2e121ed added two passing tests for setting content-type response header with a charset.
REVERT: bcb1f2c1c6 suppressed one more valgrind false-alarm for nginx 1.0.x.
REVERT: c52525b3a1 now in the subrequest capturing processor, we worked around an issue in ngx_http_static_module that when it issues 301 redirect for directory access w/o a trailing slash, it does not inject r->headers_out.location into the r->headers_out.headers list. thanks moodydeath for reporting it in the discussion of github issue #41.
REVERT: b9a84fc3a9 fixed a tiny bug in the subrequest + internal redirect fix: we should not override the current ctx completely, as mentioned in github issue #41.
REVERT: 6709d16c01 reindexed the tests.
REVERT: a7c0136677 added a test for internal redirects by the "index" directive.
REVERT: c3b03fed24 fixed a bug in ngx.location.capture() and ngx.location.capture_multi() that we could not capture locations with internal redirections in them. thanks moodydeath for reporting it in github issue \#41.
REVERT: 1a58a29314 fixed redundant last chunk issue for ngx.exec() invocation at rewrite and access phases: we should quit the current core_run_phases cycle; this also fixed github issue #40: 2 Subrequest calls when using access_by_lua, ngx.exec and echo_location.
REVERT: 9c8b21969e Merge branch 'exit-fixes'
REVERT: 6c147f4e2b used longer timeout for access/exit.t
REVERT: 0f2c228ffd updated the documentation for ngx.exit() in README.
REVERT: 7492a1ea69 fixed ngx.exit(status) where status >= 200 and status < 300 for access_by_lua*: it should quit the whole request altegother and skip all those subsequent phase handlers (if any).
REVERT: 15229c2d6e now exit(status) where status >= 200 and status < 300 will successfully quit the current request altogether if being used in rewrite_by_lua or rewrite_by_lua_file. thanks moodydeath for reporting this issue.
REVERT: 1ab26d0153 repeat each test case twice in t/016-resp-header.t.
REVERT: e4e299409d fixed github issue #39: setting differnt headers with common prefix might interfere with each other. thanks moodydeath.
REVERT: 43345dcbe4 documented that ngx.req.get_headers() and its friends only operate on the current request. it has no effect on the current request's subrequests. thanks moodydeath.
REVERT: e8c9ea9e04 fixed GitHub issue #38: request headers did not forward to subrequests when the "method" or "body" option is explicitly specified by a non-nil value for ngx.location.capture(). thanks Richard Kearsley.
REVERT: 2081f73a5e fixed the link to ngx_openresty.
REVERT: d0026ac6d5 added pointer to the ngx_openresty bundle in the Installation section.
REVERT: ce83076c74 minor formatting.
REVERT: 0dca6659bf minor formatting.
REVERT: 2e5d420240 fixed a bug in output header set; we should always set the header->hash to 1. thanks moodydeath for reporting it.
REVERT: 33f2decc4d confirmed that we work with nginx 1.0.2 as well.
REVERT: 75e67b6bb5 confirmed that we work with 1.0.1.
REVERT: f337896d44 fixed a spot that triggers the "variable set but not used" warning issued by gcc 4.6.0.
REVERT: 670d12b5ea splitted source code lines exceeding 80 cols.
REVERT: 6071175d73 suppressed the false alarms on nginx 1.0.1.
REVERT: 6cfe38e071 minor coding style fixes.
REVERT: 4ffeefec27 fixed test failures due to randomness involved in Lua table's pair order; the test suite is passing completely with LuaJIT2.0 now.
REVERT: 9739fccaa5 added support for multi-value request headers in ngx.req.get_headers().
REVERT: 23cad91f06 now we turn the ngx.req.header table into an ngx.req.get_headers() function; we also added ngx.req.set_header(name, value) and ngx.req.clear_header(name). thanks moodydeath.
REVERT: 7bba8bfec7 renamed the 016-headers.t to 016-header-out.t.
REVERT: 098838e5ce minor code refactoring for the headers out stuffs.
REVERT: cfa8109d97 minor coding style fixes.
REVERT: 35b4c8d86d implemented the ngx.req.header table interface for retrieving all the request headers for Lua. thanks moodydeath.
REVERT: c230c16f58 no longer use request_eval and respones_eval sections in the tests because they are deprecated now in Test::Nginx.
REVERT: 08ac368102 marked features that require the ngx_devel_kit (NDK) module.
REVERT: 25ff9e40d6 Merge branch 'optional-ndk' of github.com:chaoslawful/lua-nginx-module into optional-ndk
REVERT: 28b3882d7a now we make ngx_devel_kit (NDK) optional. thanks Kirill A. Korinskiy.
REVERT: 1f8751d1cf now we make ngx_devel_kit (NDK) optional. thanks XXX.
REVERT: babcd9e22c documented that we work with nginx 1.0.0.
REVERT: ff7f769766 updated build10.
REVERT: a367a9e57f removed a duplicate definition of the ngx_str_set macro caught by ctags; also fixed a warning thrown by gcc -O3 on Mac OS X 10.6.
REVERT: 0e0b0fc267 also apply PCRE patch to set_by_lua* directives
REVERT: a49c175e6c add patch to use PCRE related LUA extensions in ngx_lua
REVERT: 580279dd39 add warns about data sharing trick in readme
REVERT: 30170eff2f added a quick note regarding ngx.OK/ngx.DONE/ngx.AGAIN/ngx.ERROR. thanks wendal.
REVERT: ce944e1f63 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 86d6b00f97 documented one known issue that ngx_lua cannot capture locations with internal redirections (either via error_page or ngx_echo's echo_exec directives or ngx_lua's ngx.exec()).
REVERT: 4ffe58d828 added more complex tests (using memcached) for the ngx.exec() after ngx.location.capture() bug; it is already passing.
REVERT: 271a7e184a now we change the way we process HTTP 1.0 requests by automatically buffering all the user outputs generated by ngx.print()/ngx.say() calls, which is much more natural than the old broken way.
REVERT: bd65090474 fixed a regression in the previous ngx.exec() fix when using nginx 0.7.x and 0.8.x < 0.8.11.
REVERT: 241ba237b3 fixed the "ngx.exec() after ngx.location.capture() hanging" bug for rewrite_by_lua* and access_by_lua* as well. also added tests for these cases.
REVERT: 2431340d87 fixed the bug regarding use of ngx.exec() after ngx.location.capture(), which led to hang.
REVERT: 8a37e835ba replace readlink cmd in order to make build.sh working under OSX
REVERT: d6f7dd5600 more README tweaks.
REVERT: 52f027bb02 fixed another typo in README.
REVERT: f496213182 fixed a typo in README.
REVERT: f7b3925bb2 emphasized that the data sharing is per-worker not per-server.
REVERT: ae8c97c8cd added a separate section "Data Sharing within an nginx worker.
REVERT: 7a05704807 fixed a typo.
REVERT: d63963efba documented in details about data sharing and race conditions by means of required Lua user modules.
REVERT: 74ba36fea8 updated README to reflect the changes that we always add those extra linking options on darwin systems because it is too hard to tell if it is a x86_64 system or not.
REVERT: c7907e0318 added a test for the hanging bug regarding ngx.exec() used after ngx.location.capture().
REVERT: a51a2a7efb Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: daad6fcefc fixed a typo in the error messages.
REVERT: 6bb9a260c7 fix luajit linking opt on OSX
REVERT: 5a57432cbd add missing module info for unit-test; remove unused code; update ndk dependency
REVERT: 98924adaea documented the ngx.is_subrequest attribute and enabled ngx.status and ngx.is_subrequest in set_by_lua* as well.
REVERT: 03b3d311d9 applied a patch from moodydeath to introduce the "ngx.is_subrequest" attribute.
REVERT: a32193bdc0 now we encourage use of the client_body_in_single_buffer directive instead of big client_body_buffer_size.
REVERT: ccaf132169 updated the contexts each config directive can be used within.
REVERT: 4d4ba140f1 now we allow rewrite_by_lua(_file) and access_by_lua(_file) at server and http config levels.
REVERT: 0b08a6e654 updated valgrind.suppress.
REVERT: e42cdc0f42 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 4781ccc5c7 set vv->no_cacheable too for ngx.var.foo = xxx.
REVERT: 28aa858ebb Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 49788e19e8 fixed typo in config; added extra linking options needed by LuaJIT in 64bit OSX
REVERT: 1db066e645 emphasized in README that Mac 64-bit users have to edit the "config" file themselves when building with LuaJIT 2.0 (for now).
REVERT: fde4b44e63 updated the Status section of README.
REVERT: 06c71b8cc6 minor tweaks of README.
REVERT: 48063d36a2 skip more false-alarms for valgrind when building nginx using -O3.
REVERT: 8bc6ec53b5 fixed the zero size alert caused by ngx.print("") in Lua.
REVERT: 4a7afc2428 now we always allocate r->request_body for subrequests when the method option is specified for ngx.location.capture*. this prevents accidental inheritance of parent request's request body when client_body_buffer_size < client_max_body_size.
REVERT: 44fb570985 fixed indentation.
REVERT: 4de07de5dd fixed a typo in README.
REVERT: 699c4abd8c added notes about variable number of subrequests for ngx.location.capture_multi to README. thanks Marcus Clyne.
REVERT: 0b39e1e251 optimized the buffer management process a bit for ngx.location.capture*: one the response body is a single buf chain, do not bother concatening it into a new buffer.
REVERT: 149fea4b47 states that we no longer require openssl in README.
REVERT: 0a6ecfe67c now we no longer explicitly require OpenSSL crypto, we now use ngx_md5.h exclusively, and no NDK_HASH pain any more.
REVERT: 6d4ab5ee12 fixed various minor coding style issues.
REVERT: 92520b0ced mentioned the "cosocket" mechanism in the Future Plan section.
REVERT: 19ad8e7a5e minor test adjust.
REVERT: f408e32f7d now we report an error at config time when rewrite_by_lua* are used with nginx 0.8.42 ~ 0.8.53.
REVERT: a6e80250b6 minor README tweaks.
REVERT: f0b0540b87 updated the TODO, Known Issues, and Future Plan sections in README.
REVERT: af1ebf104d fixed regressions while building with nginx 0.7.x and also confirmed that rewrite_by_lua* work with nginx 0.7.x.
REVERT: 63901b1fb3 added notes regarding cases when ngx.location.capture and ngx.location.capture_multi fail to capture subrequests' outputs.
REVERT: 9729332036 now we recycle the chain links and associated bufs among subrequests issued by one or more ngx.location.capture_multi() calls within a single (parent) request.
REVERT: 4b9c29c6bf we now free unused memory chunks more aggressively to reduce memory usage.
REVERT: 60a88383a8 added some tests for using ngx.location.capture_multi() at rewrite, access, and content phases at the same time and these tests are all passing :)
REVERT: c8aeedc87a we now cancel the ctx->body field and use the parent request's ctx->bodies instead, thus saving some bytes per request.
REVERT: ca4a243228 now we make ctx->waiting a counter and cancel the ctx->waitings array.
REVERT: 5aee1af160 we now post the parent request ourselves in the post_subrequest callback in some extreme condition that the current (sub)request is not active AND it has some weird postponed requests associated with it. this work-around makes those crazily complicated test cases for ngx.location.capture_multi() pass now.
REVERT: a5819c8a71 no longer set the NGX_HTTP_SUBREQUEST_WAITED flag for subrequests.
REVERT: 71fa89025f minor optimizations: we only pass NULL chains down the output filter chain when we really need (that is, the current request is active *AND* there is postponed outputs in r->postponed).
REVERT: 4265dbdc25 minor optimizations in ngx.location.capture_multi() and also fixed a bug in its request options handling (we did not initialize the options properly for *every* request).
REVERT: 3ad08c9e3f updated the TODO list in README to reflect recent changes :)
REVERT: ce540ead33 documented ngx.location.capture_multi() in README.
REVERT: 0048b1fbc0 the post subrequest callback may be called multiple times (due to finalizing in-active requests) and those useless left-over calls may cause segfaults while accessing parent requests' ctx struct. now we add checks to post_subrequest to prevent its main logic from running twice or more.
REVERT: b6e2e55176 added more tests for ngx.location.capture_multi: 4 parallel subrequests are confirmed to work ;)
REVERT: ef2dbff1fc ngx.location.capture_multi(): now we actively switch the active request to the next (postponed) subrequest if the current request is still waiting for its subrequests.
REVERT: 079cb2aab4 added tests for ngx.location.capture_multi().
REVERT: 8b19dd8b1c implemented ngx.location.capture_multi().
REVERT: 4f8f26daed mentioned bad race conditions while reloading lua modules when the lua code cache is off.
REVERT: 2ed82042ea minor config cleanup.
REVERT: 65b587c6ee added notes for installation on Ubuntu/Debian/Fedora/RHEL/CentOS.
REVERT: 9303bdaf7c added a failing test that ngx.location.capture() cannot capture subrequests with internal redirects because ngx_http_internal_redirect() clears module ctx structs.
REVERT: 4f3607b935 now we skip those lua5.1 and luajit2.0's builtin packages while clearing package.loaded when lua_code_cache is off.
REVERT: 64c6b34970 when subrequest status is 0, assuming 200.
REVERT: adf6c00994 added a test case to demonstrate how to kill timed out mysql queries and also confirmed that we also work with nginx 0.9.4.
REVERT: 6bf0898784 added more test cases for phase postponing.
REVERT: 43513dddf6 added more docs for the Lua code cache.
REVERT: 7d9e041879 updated README to reflect recent changes regarding the lua code cache control.
REVERT: e1522b1d9f added more test cases.
REVERT: c201c8892f now we also pre-calculate cache keys for lua file paths that do not contain nginx variables.
REVERT: d0de36b0ab inlined lua code now calculates the digest key only once at config time, this will save some CPU cycles per request.
REVERT: 68b171b73a now we make use of the new ngx_http_complex_value_t struct and related utility functions provided by the nginx core for nginx variable handling in lua file paths.
REVERT: 8b30373dff added more code-cache tests for set_by_lua_file.
REVERT: 7ea8bd5a4c fixed a typo in README.
REVERT: 4dceab188f documented the new "lua_code_cache" directive.
REVERT: 47ef132c01 now we forcibly flush "package.loaded" for each http request when lua_code_cache is off.
REVERT: baaaabcc96 first cut on the "lua_code_cache off" directive. mostly working but reloading lua modules still needs some work.
REVERT: 7b30e29842 now ngx.log and those log level constants are available in the context of set_by_lua and set_by_lua_file.
REVERT: 92d7a4f712 minor test code cleanup.
REVERT: 7db7ae1347 fixed a typo in README.
REVERT: b626757ed9 fixed README's wording a bit.
REVERT: c8f59c7fb7 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 284c7f1b58 documented that subrequest issued by ngx.location.capture always inherit all the request headers of the parent request.
REVERT: 18293939af Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: ac1b3de7ea updated todos
REVERT: d2006cbfd3 fixed a typo: $LIB_LIB should be $LUA_LIB. thanks Vladislav Manchev.
REVERT: de270bf8e7 fixed -lcrypto library search under /lib for Solaris. ngx_lua should build out of the box there.
REVERT: 5f6813866c No ONLY in exit.t
REVERT: 0fbf2c8483 updated config to check openssl and -W,-E support on the fly.
REVERT: f2541c2d57 minor edits.
REVERT: ee1cb7dd66 added a more complicated sample for access_by_phase.
REVERT: 68069101e9 checked in auth.t.
REVERT: 96b9bbe631 removed unused debug options
REVERT: 84131c0fd0 resolved conflictions
REVERT: 45de0f0c0e add tests in subdirs into run_test script
REVERT: a910ced9de fixed test cases for earlier versions of nginx.
REVERT: 1660f57316 updated test requirements
REVERT: 0745d1e936 modified doc to reflect *_file directives' change
REVERT: c689ef5141 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 4ba628259a allow using nginx vars in *_by_lua_file directives
REVERT: 44798330a5 added missing vim modeline
REVERT: 4d153cbae2 updated the Installation section.
REVERT: ae257b0c24 added one more (passing) test case from Sirsiwal, Umesh
REVERT: e9502dd238 now we no longer emit anything (even special bufs) after eof.
REVERT: 80bb55a3e9 updated the year list in the copyright notice.
REVERT: 92381c521c edited my names in README.
REVERT: c62a7a5237 removed a --- ONLY flag from the test suite.
REVERT: 57d1f80cf3 rewritten the HTTP 1.0 handling section in README. we can actually automatically generate a Content-Length header for HTTP 1.0 requests.
REVERT: f2374de190 fixed a typo in README.
REVERT: 69527323ab added a section in HTTP 1.0 outputs to README.
REVERT: 17bffb5c26 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: ed48b9303f fixed an issue regarding HTTP 1.0 outputs.
REVERT: face45b54c Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: e1da316365 fixed comment mark
REVERT: 44bbe7068d applied a modified version of neilljordan 's patch to add support for multi-value response headers returned from subrquests.
REVERT: 9a7c06c4a8 fixed a bug in rewrite_by_lua* and access_by_lua* regarding automatic response headers sending. thanks Roman Vasilyev.
REVERT: c2ec0b3ab1 added a test for auth_request + ngx_access.
REVERT: 077ee1a4da documented that access_by_lua* also supports lua_need_request_body.
REVERT: 417e3a7602 added a sample for mixing rewrite_by_lua_file, access_by_lua_file, and content_by_lua_file.
REVERT: d2e6375c83 added more tests for access_by_lua.
REVERT: 3da14bc61b added t/024-access/*.t.
REVERT: 02f32dd21b added more sample configs to Synopsis section.
REVERT: 20e919d612 access_by_lua and access_by_lua_file are passing tests now.
REVERT: 2606b2f2fd updated .gitignore.
REVERT: 51971a48f3 added compatibility notes regarding 0.9.x.
REVERT: 5545242581 resolved conflicts
REVERT: b0da782fb9 added typecasts to suppress clang warnings
REVERT: 0590c96d56 now we return NGX_DONE when ngx_http_read_client_request_body returns NGX_AGAIN in content_by_lua.
REVERT: f5187bff39 specified which context a specific lua nginx API is available, like being available in rewrite_by_lua and content_by_lua.
REVERT: 77a036c5a7 documented that rewrite_by_lua will NOT work with nginx 0.8.41 ~ 0.8.53.
REVERT: 0d2001b022 massive code layout refactoring.
REVERT: 17d56682c6 moved the handler functions out of directive.[ch].
REVERT: 657bea5b29 moved t/024-mixed.t to t/023-rewrite/.
REVERT: 530be0965d checked in more tests for rewrite_by_lua.
REVERT: 2f2b1b6668 fixed a bug regarding content handler reading request body.
REVERT: 3a25d18663 documented the current behavior of the "lua_need_request_body" directive.
REVERT: 2b53d0d527 re-implemented the "lua_need_request_body" directive. now it is both working for rewrite_by_lua and content_by_lua.
REVERT: 18df04491f now we postpone rewrite_by_lua to the end of the rewrite phase; also reset ctx in content_by_lua to avoid left-over ctx flags set by rewrite_by_lua to taint our content_by_lua handlers.
REVERT: 65ef4ca5ef fixed compatibility issues with nginx 0.7.x but still rewrite_by_lua does not work with 0.7.x.
REVERT: 11050d43b9 rewite_by_lua tests.
REVERT: f8f272aee7 sanity.t and subrequest.t for rewrite_by_lua* now passing.
REVERT: 9372747c59 rewrite_by_lua starts passing tests.
REVERT: ac647f3e8a coding style fixes.
REVERT: 13dbf2ab3f first cut on rewrite_by_lua support, not there yet.
REVERT: d66c01d39b updated ndk upstream location
REVERT: fb58b876eb updated ndk dep
REVERT: 3c1b63a4f1 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 2d37ba51d8 now we use the 2-clause bsd license.
REVERT: 52a7f21c3b Add auto-discovery for FreeBSD.
REVERT: bc1c2d63a1 added notes about using luajit under 64-bit darwin os; updated ndk depedency
REVERT: 113ba8b723 $ngx_found value cannot be accessed before auto/feature, because it carries-over result from the previous feature check.
REVERT: 9ed533cc04 Add autodiscovery support for Debian Lenny.
REVERT: add96fcf0c added more tests for 500 in subrequests.
REVERT: 967557e8d6 more README tweaks.
REVERT: 18588a5608 documented that you can only write to an nginx variable in Lua when you have predefined it outside at config time. also documented an interesting work-around for set_by_lua to return multiple values to multiple nginx variables at the same time.
REVERT: d4e72a9c23 marked those lua interfaces only available in content_by_lua.
REVERT: ae3ae2e7fd renamed ngx.utc_time() to ngx.time(), and canceled the old ngx.time() functionality. also renamed ngx.strtime() to ngx.localtime(), and ngx.utc_strtime() to ngx.utctime().
REVERT: a348f369b5 removed trailing spaces in README.
REVERT: ec5a8bc61e more README tweaks.
REVERT: 561a722984 fixed an english wording error.
REVERT: 0e0f1e5303 fixed ThinkPad spec in the Performance section.
REVERT: 93186ff6e6 minor README fixes.
REVERT: 0558182387 fixed english wording in Known Issues.
REVERT: d7693625b3 more README tweaks.
REVERT: 70bba9064b more README tweaks.
REVERT: a7b79f070b states that subrequests are completely different from HTTP 301/302 redirection and internal redirection.
REVERT: d88aa2b076 more README tweaks.
REVERT: 7415b527ef more wording tweaks in README.
REVERT: 1fce2771fb minor wording tweaks in README.
REVERT: 46642db583 explains how nginx subrequests work and what it can do.
REVERT: e870cad23c documented the "args" option for ngx.location.capture().
REVERT: bf7f4f76c3 implemented the "args" option for ngx.location.capture.
REVERT: 74f541f5b1 tweaked the docs for ngx.redirect().
REVERT: 32c3686a15 implemented, tested, and documented the new ngx.redirect(uri, status) method for Lua.
REVERT: d98a147780 documented the share_all_vars option for ngx.location.capture in README.
REVERT: d53fe2831c added a share_all_vars option to ngx.location.capture to resume the old behavior of sharing all variables among parent and sub requests.
REVERT: 06563fa528 now we do not share variables by default.
REVERT: 8eb0d80101 removed ngx.throw_error from the documentation.
REVERT: 82ff13ad11 more README love.
REVERT: 1c1b04550d implemented ngx.utc_strtime() and ngx.time().
REVERT: cbc0ca96c7 further renamed ngx.utc_now to ngx.utc_time, and ngx.now to ngx.strnow per Piotr's suggestion.
REVERT: fa9f606ce7 renamed ngx.time further to ngx.utc_now.
REVERT: 8a06613c7d documented that ngx.now() returns local time while ngx.time() returns GMT time.
REVERT: ad2b41ff65 renamed ngx.get_today() to ngx.today(), ngx.get_now() to ngx.now(), and ngx.get_now_ts() to ngx.time().
REVERT: 9ecb1f0730 minor formatting fixes in README.
REVERT: f901a4064f documented ngx.get_today(), ngx.get_now(), ngx.get_now_ts(), and ngx.cookie_time(t) in README.
REVERT: 77d344d3de implemented ngx.cookie_time(timestamp) as per Igor A. Valcov.
REVERT: a4b8f98d3d added a link to chaoslawful's wiki page for ngx_lua.
REVERT: 76507f452d minor README tweaks.
REVERT: b41e7dd962 removed non-GET method support in ngx.location.capture from the TODO list in README.
REVERT: 1b87f64b0b documented the option arg for ngx.location.capture as well as the "method" and "body" options.
REVERT: 0e312b7b1a checked in the tests for POST/PUT/DELETE/HEAD subreqeusts issued by ngx.location.capture.
REVERT: 8e9a88981a implemented the method and body options for ngx.location.capture.
REVERT: 539cad5991 fixed a typo in README.
REVERT: 6bf961e228 updated TODO section.
REVERT: e4a02b3508 now we escape all those chars escaped by FF3.5's encodeURIComponent in ngx.escape_uri.
REVERT: 9ea82353a3 style fixes.
REVERT: 1026080463 fixed line number.
REVERT: 2cf4b0aa13 documented that nil args are allowed in print and ngx.log but not ngx.print nor ngx.say.
REVERT: 583f007586 no longer allow nil arguments in ngx.print nor ngx.say.
REVERT: 69dabae30c added ngx.location.capture_multi to the TODO list.
REVERT: ee83dbf788 now we allow use of nil in print(), ngx.log(), ngx.print(), and ngx.say().
REVERT: cb4e032086 more README tweaks.
REVERT: fd45a1619e more README tweaks.
REVERT: cca047e554 more README tweaks.
REVERT: 1223e88e7f minor README tweaks.
REVERT: a88715d9f5 renamed "NginX" to "Nginx" in README because the former looks weird to me ;)
REVERT: 1de9200405 improved wording a bit in README.
REVERT: 4383444b28 more comments on ngx.send_headers() in README.
REVERT: e5bd77e865 documented ngx.encode_base64 and ngx.decode_base64.
REVERT: b54c7568ad renamed ngx.base64_encode and ngx.base64_decode to ngx.encode_base64 and ngx.decode_base64 for consistency.
REVERT: 47d397dd00 documented res.header where res is the retval of ngx.location.capture.
REVERT: 45220955a0 implemented the response headers support in ngx.location.capture.
REVERT: 435a0a3a5b documented that keys in ngx.header.HEADER will be matched case-insentively.
REVERT: 7af330114b added a failing test for $arg_v not defiled side-effect bug.
REVERT: 783dc72ddb minor optimizations by specifying pre-allocated item count in lua_createtable.
REVERT: e126d56649 improved the error message: "content_by_lua prematurely ended" => "content_by_lua aborted".
REVERT: 04876fcf07 now we make print in Lua use the ngx.NOTICE log level.
REVERT: 3c998b20df renamed ngx.throw_error to ngx.exit. the former is now deprecated.
REVERT: 78667e4249 updated .gitignore.
REVERT: ed3cda136f now we make "print" use the debug log level and the "lua print: " prefix.
REVERT: 1a29623113 confirmed that we work with 0.8.53.
REVERT: 96f6d4c606 now we cached the ndk.set_var.DIRECTIVE lua closure to eliminate config directive lookup at every call.
REVERT: c76f755bbb eliminate allocating "hv" on the heap to reduce runtime cost.
REVERT: 19c9415ad0 now we also escape "=" in ngx.escape_uri.
REVERT: 9fd1a9704f now we allow ngx.throw_error(0).
REVERT: 0927d6439e fixed typos in error messages.
REVERT: 855d522e18 avoid using newlines in closure factory wrapper code to ensure the line numbers in error messages are correct.
REVERT: 7c8c131afa documented ndk.set_var.DIRECTIVE interface.
REVERT: 16d947f3a7 checked in 018-ndk.t for ndk.set_var.xxx testing.
REVERT: cdc8832399 added static for clarity.
REVERT: abd0f29d2d minor style fixes in 006-escape.t.
REVERT: 25284b10c3 now we also escape / in ngx.escape_uri.
REVERT: d92839afb7 implemented ndk.set_var.DIRECTIVE such that we can invoke directives of other nginx C modules directly from within Lua :D
REVERT: d954160e3f implemented and documented and tested ngx.exec to named locations.
REVERT: 6fc54f5ef1 fixed a typo in README.
REVERT: f33ac9d2e3 now we allow overriding multi-value headers.
REVERT: 10deafbf7d documented the multi-value header setting feature.
REVERT: a1a32738b7 implemented multi-value header setting.
REVERT: ce82ec28c2 states that ngx.exec never returns.
REVERT: 3811a28b89 documented how to clear a response header.
REVERT: 226a207df8 documented ngx.header.xxx, ngx.exec, and ngx.status in README.
REVERT: acdc74c143 implemented ngx.exec for Lua.
REVERT: 53abbc08db removed C++ style line comments.
REVERT: 0fa54cef42 more style fixes.
REVERT: 0eebb17baf coding style fixes.
REVERT: e6712e7971 repeat_each(2) in 016-headers.t.
REVERT: da9fa90a7d checked in the test file 016-headers.t
REVERT: f5bac10fcd implemented the ngx.header.foo API for Lua to set/add/clear response headers.
REVERT: cea93b2f5e implemented 'ngx.status = xxx' and 'my_var = ngx.status' on the Lua land, which is just mapped to nginx core's r->headers_out.status
REVERT: 7dccc5a330 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: b04fff9f80 nginx core's ngx.escape_uri does not escape the plus sign (+), we now use our patched version of this function.
REVERT: ff30f44364 merged marcus' modification; updated ndk depedency
REVERT: c6837de022 Update ndk_md5_hash() to work with updated NDK
REVERT: 7aff45f2ac force enabling NGX_OPENSSL_MD5 to solve weird complation issues.
REVERT: f75abbaf84 turned off ddebug.
REVERT: 238c17c224 renamed 011-bugs.t to 014-bugs.t
REVERT: 5d0f7a8e80 tweaked kindy's patch for base64/md5_bin/get_today etc a bit. and pfree aggressively to prevent leaking
REVERT: 3348b15343 added: ngx.now() ngx.now_ts() ~ timestamp ngx.md5_bin(s) ngx.base64_encode(s) ngx.base64_decode(s)
REVERT: 0a6728d782 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: fadcc9f8b0 checked in t/011-bugs.t.
REVERT: ed8abcc514 updated config; updated dependency
REVERT: 4eb5d5e435 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 18297b16c5 fixed ngx.quote_sql_str which should put the surrounding quotes.
REVERT: 5a77f7ce9f removed unused readme file
REVERT: e3f677a149 removed skip tag for ngx_http_auth_request tests
REVERT: 387f4d5b23 modified build script; modified installation section of readme
REVERT: 712f1d15ba complement the directive documents
REVERT: dc9797ecc4 removed finished job: read request body
REVERT: 2b134cda56 added lua_need_request_body directive to force reading request body; modified tests prefix
REVERT: 253a647db4 fixed log level signess mismatch
REVERT: 71c41e9267 fix readme typo
REVERT: 20c22c2f8c fix readme fmt
REVERT: 1baf7b6471 fix readme fmt
REVERT: 6073e0ea23 removed todo file, move all contents into readme
REVERT: 6621e4806f modified todo fmt; add issues in readme
REVERT: 7e808f71bb fix readme fmt
REVERT: 5cc5897fda fix readme fmt
REVERT: 96e6f40209 fix readme fmt
REVERT: 488d871c50 fix readme fmt
REVERT: 288ef90b0d fix readme fmt
REVERT: 8e93880bc9 modified readme fmt
REVERT: d6d01dd894 format readme
REVERT: c78ba3d7fb added markdown format readme
REVERT: cea679320c added new feature intro to README
REVERT: 403167a27f added notes to todo list
REVERT: 75b3362d5a * allow default path expanding in path/cpath and added tests * added revim script to automatically insert vim modeline to sources * added retab script to reexpand tabs for given files * format sources and tests
REVERT: 9f206095f0 remove ngx.log() from todo list
REVERT: bd5c0f4717 * added ngx.log() api and prime unit-tests * restored missing vim filetype in unit-tests
REVERT: 1b18a21884 updated todo list
REVERT: eeea4fca25 Revert "xx"
REVERT: cee9eb63af xx
REVERT: eb1c7ea8d7 reindexed tests
REVERT: fd819a18ba updated dependency
REVERT: e09ee9fd28 added ngx.get_today support
REVERT: 15327bb00c resolved conflict between the branches ngx_md5 and share_var.
REVERT: 208a5468e2 added tests of using ngx.md5 in set_by_lua
REVERT: b2ad6af08a Merge branch 'share_var'
REVERT: 900e351047 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 5a563ab774 Flush data from memcached during tests initialization.
REVERT: 604e01e32e flush testing memcached before tests begins
REVERT: d8bbb0d7f6 added testing dependency modules order notes in README
REVERT: 1981849256 added a test of share variables in main request
REVERT: bfdd68b57e see nil in ngx.md5 as a null string
REVERT: eadf67ed5f removed explicitly testing dependencies, note them in README instead
REVERT: 1311727d72 added impl of ngx.log to todo list; updated dependencies
REVERT: 9c1b5d5b13 Remove missed skip_nginx block.
REVERT: eb2381c90c Don't hide the fact that this test doesn't work with nginx-0.8.42+.
REVERT: e1eabdcfe7 added a test of sharing variables
REVERT: 0568303bdc added a test of sharing variables
REVERT: 361bc3acd9 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 93ce856ea2 Disable DDEBUG and lower the number of repeats for content tests.
REVERT: 4c34ec535d turned off ddebug :P
REVERT: f796a1aea4 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 112f755d9e Fix missed lua_cpath.
REVERT: d3525580db fixed a bug about null string in ngx.quote_sql_str
REVERT: 3ad40f2cf3 updated dependecies
REVERT: 2eda397771 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 52746dbfc3 added lua cmod path in CentOS to tests
REVERT: b559b6c845 added ngx.md5 support
REVERT: 321d63ab20 share variables in subrequest
REVERT: 670f1057ba added more tests.
REVERT: 2ae707c62c Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: d6497f1d2c Make it work with the build farm.
REVERT: c156cbd311 tags to spaces.
REVERT: 6075d86b1d Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 1f98681852 Revert "some tabs to spaces."
REVERT: c149e86683 Revert "share variables in subrequest"
REVERT: a0ca0193f8 Revert "added ngx.md5 support"
REVERT: 5042c6e62c Revert "fixed unitialized pad and ngx_md5 return value type issues."
REVERT: 65e3643395 fixed unitialized pad and ngx_md5 return value type issues.
REVERT: 88f35b179f Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: f28dbe39e3 some tabs to spaces.
REVERT: 3d071fa82a added ngx.md5 ...
REVERT: de24252a2d Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 611c8568da added ngx.md5 support
REVERT: dbb0713446 added reported issues
REVERT: 5e8cf3d5d5 share variables in subrequest
REVERT: afa4448558 added test of using symbol $ in inline lua
REVERT: 82a2d6f7c5 updated dependencies
REVERT: 30df65d820 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 048c3682de committed my merge.
REVERT: ad506f9df1 checked in more tests.
REVERT: a18285ba86 added ngx.quote_sql_str
REVERT: 324cff234e added todo lists
REVERT: c00573fbfa fixed several problems in tests
REVERT: 189e56da5e * updated depdencies * added vm panic protection for content_by_lua directives * skipped not-accurate-enough test
REVERT: 9fea98919e enable that bug for ngx_lua.
REVERT: 202d948d76 updated dependencies
REVERT: 9566fd7519 make the lua wev handler check r->done and ctx->cleanup.
REVERT: 547786f1c3 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 00b94607f4 mentioned that our test suite requires th engx_auth_request module.
REVERT: 7832a117b6 resynced external dependencies
REVERT: b9459f1cc2 documented how to build this module with LuaJIT 2.0 w/o patching config.
REVERT: d934c912ff added support for LUAJIT_LIB and LUAJIT_INC env in config. also croak when it fail to find lua/luajit when LUA_LIB or LUAJIT_LIB is set.
REVERT: 4d057e4868 fixed more bad links due to github escaping.
REVERT: ffb1f43260 fixed a link due to github escaping.
REVERT: d353933d0d tweaked README more.
REVERT: df79322ab4 tweaked README a bit more.
REVERT: 26d9dc4cd7 claims that we are already production ready :)
REVERT: 9f45d4da24 splitted lines that are too long :)
REVERT: 5e4dc3157a added a performance section to README.
REVERT: c26249505d splitted long lines.
REVERT: a2f5cbe21b documented the Nginx Lua API that we have already supported.
REVERT: eb9d381a68 documented the lua_package_path and lua_package_cpath directives.
REVERT: 891dffa8f7 more ddebug info...
REVERT: 52d2f6cd9d fixed compatibility with nginx 0.8.36 and 0.7.66+.
REVERT: a146d3082c added support for lua_package_path and lua_package_cpath directives as per Piotr Sikora's suggestion.
REVERT: 2540acd81c fixed a compilation error in luaL_error invocations.
REVERT: 5b94570cc1 use "return luaL_error(...)" instead of "return NGX_ERROR" in lua c functions.
REVERT: 16627e894f implemented ngx.escape_uri and ngx.unescape_uri in both set_by_lua* and content_by_lua*.
REVERT: 62e9a54602 even more ngx.HTTP_XXX constants.
REVERT: 514befedb7 more ngx.HTTP_XXX constants.
REVERT: c09313d9ea minor coding style fixes.
REVERT: fac21194a3 splitted a long long line of code.
REVERT: 64dd62de2a fixed an memory issue in ngx.var.foo assignment: we should copy out the pointer returned by lua_tolstring.
REVERT: b69e7b5e9b croak when setting non-existent nginx variables in Lua.
REVERT: 5ad33b74b1 added tests for setting nginx variables from within content_by_lua Lua code.
REVERT: bba0946a70 direct assignment to nginx variables from within Lua code as in "ngx.var.some_var = 32" now works :D
REVERT: 9abf8f2080 added support for reading nginx variables directly from within set_by_lua by means of ngx.var.foo.
REVERT: 70467b68a6 turned off ddebug.
REVERT: a97c330a1f confirmed that we work with nginx 0.8.45.
REVERT: 41261ce769 emphasized that default_type is used to control the MIME-type of the response.
REVERT: 497f2b7570 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: ea4c8b6ac0 tab to spaces in cache.c
REVERT: 2bdd9051af updated echo-nginx-module dependency
REVERT: 4948564113 update test-nginx and ngx_devel_kit dependency
REVERT: 967f7dab98 repeat more times in the test suite.
REVERT: 6d4830396a refactored the ngx.var.xxx implementation and added a (passing) test case for content_by_lua + ngx_auth_request
REVERT: ef259e7ce2 implemented ngx.throw_error interface.
REVERT: 4af58bae1b more tests for require.
REVERT: 5cf560bc67 restored valgrind.suppress file.
REVERT: 993590daf0 better error diagnostics.
REVERT: 8f764bf538 more tweaks.
REVERT: 1d33e89464 more tweaks.
REVERT: 5a50cfd9a5 indentation fixes.
REVERT: fc2bba529e tab to spaces for directive.c
REVERT: c6701d161c backported the fix for internal redirect from ngx_echo.
REVERT: fef2069b74 fixed the digest calculation regression for lua loadbuffer.
REVERT: 98fd900d47 refactored the ngx.location.capture implementation a bit.
REVERT: ac2520ba4d now we rename ngx.echo to ngx.print and also introduced ngx.say that append a newline automatically like Perl 6's say
REVERT: 9ecff4791b refactored the ngx.echo function implementation.
REVERT: bbc5e44c9f massive code refactoring and cleanup.
REVERT: bb3e73b1b8 include ngx_md5.h instead of explicit openssl/md5.h.
REVERT: eed7de1e8e added more comments to the samples in README.
REVERT: 9198f867c0 added more samples to README.
REVERT: bd4d6d51ad added myself to the author list :)
REVERT: 87209af719 fixed typo nginx version macro...
REVERT: ebcfcf4e1f fixed nginx version typo
REVERT: 221221dff9 * lift lua-nginx-module to the top of config modules * added conditional compilation for building under 0.7.x branch
REVERT: 624f83d78a updated README to claim that we require at least Lua 5.1.
REVERT: b363ddf083 avoid using ndk whenever possible because prototype is missing on *BSD.
REVERT: 84bdafdc7d fixed a memory issue in ngx.echo: we should copy the lua string bytes.
REVERT: 0093e9e58b updated .gitignore.
REVERT: e953ab5958 checked in util/ngx-links to trim ngx_http_blah_blah_ prefix via symlinks.
REVERT: b17746e545 renamed _by.[ch] to by.[ch].
REVERT: 8e09749fcd added more tests
REVERT: 5a3078070b BIG DAY! ngx.location.capture passed the 1st test!
REVERT: ec489c72e7 tab to spaces and also checks the case when ctx is failed to allocate.
REVERT: 02e15406c5 make request handling coroutines fully separated
REVERT: c92a1a3ec3 added closure factory loading methods
REVERT: a58172a276 added nginx var modification hook skeleton
REVERT: 777c2d881e updated test-nginx dependency
REVERT: b0820ec2f0 added one more test case to 2-content.t.
REVERT: 41a3c3e7c4 fixed the merge conflicts.
REVERT: d39f331ff1 added more test cases.
REVERT: 741b3cca00 added -E linker options to export lua symbols correctly, for external module usage
REVERT: 6e2513a8a3 removed unused variables
REVERT: 595e4e142a move all dependency modules into deps/ directory
REVERT: ed0ab18811 added new test-nginx position
REVERT: 9c554bf5d3 changed test-nginx position
REVERT: dfac35bc8a modified todos
REVERT: 452335df0f * fixed keep-alive hanging bug when using HTTP/1.0 protocol * added more documents about content_by_lua
REVERT: dd9cf532e0 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 61a1cbdfd5 add some comments
REVERT: e5d22ad735 fixed errors in unit-tests
REVERT: 12181757a3 make ngx.flush() working
REVERT: 7d5753bf5e implemented basic content handler functions: * override print() to output error log * ngx.var[] table to fetch nginx variables * ngx.echo() to output in-memory contents
REVERT: 68cea2ca11 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 4102502ee2 reconstructed nginx request passing method for set_by_lua directives
REVERT: f422e7525f tab to spaces in t/1-set.t.
REVERT: 2fbde3c9a6 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: a6a1f9e83f declared that we are compatible with the latest nginx 0.8.40 and 0.7.66.
REVERT: 844bf3326d Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 8fde5c1b65 removed old unit-tests
REVERT: db5e0e1232 recovered run_test util and added missing source files
REVERT: 2de7148a0e updated submodule test-nginx repository revision
REVERT: f86b58725c various fixes.
REVERT: 0ef14aaf31 now we print the detailed error messages to error.log when lua_load fails.
REVERT: 9b3bdee1cf added more files to ignore.
REVERT: 4f9535212a Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 99e2b14187 improved util/build.sh using wget.
REVERT: cc76596994 * modified code format, added vim modeline * extract lua env init code into individual functions * added some unit-tests for content_by_lua directives
REVERT: b9d2655d26 Merge branch 'master' of github.com:chaoslawful/lua-nginx-module
REVERT: 94d56e379e added more tests
REVERT: d4b754a8b1 added basic tests and reindex script
REVERT: 97dd3cdeaf restored nginx tarball fetching command
REVERT: 3a5c8c08d6 added .gitignore file
REVERT: 766ade8a14 changed submodule name
REVERT: 9dbc8e8a80 changed test directory name
REVERT: deac6c1096 changed test-nginx to submodule points to external repo
REVERT: c6f98fb085 changed lua state storage position; added skeleton content_by_lua* entries
REVERT: 38b202cc7b added unistd.h before including md5.h
REVERT: c990a63b77 fixes the feature test code.
REVERT: 9aba7a3c4e added -lm to ngx_feature_libs.
REVERT: 0235797639 fixes the feature test code.
REVERT: 292ab8ab2b added support for env LUA_LIB and LUA_INC in config.
REVERT: 3154636c9b now we use openssl/md5.h
REVERT: 5e7c84bb85 removed done ones; added new ones
REVERT: a5b477357c added .gitignore file
REVERT: 315f20b6b3 implemented code cache and primitive vm persistence
REVERT: fc236d105e added todo
REVERT: 82619f35be added inline variable check to Lua script/file path; turn to standard Lua+Coco patch; modified log formatter char
REVERT: 539d5fe6a8 modified comment
REVERT: f07f1fb836 added NGX_HTTP_LUA_ELLIPSIS macro to control if args are passing to script as default arguments (accessed through ellipsis operator ...)
REVERT: 66d737464a modifed readme
REVERT: 601633b094 modified readme contents
REVERT: 23d495b8a1 * split logic into multiple files and changed config file accordingly * added readme
REVERT: 81f8090280 prim working version
REVERT: d6a0d6c6a5 removed unused ddebug.h
REVERT: 9240045589 init commit

git-subtree-dir: src/deps/src/lua-nginx-module
git-subtree-split: 11ab5315b0
2023-11-16 17:00:12 +00:00
Théophile Diot d75296b5a5 Squashed 'src/deps/src/headers-more-nginx-module/' changes from bea1be3bbf..576cb81979
576cb81979 Merge commit 'c473aa40807f32438ffe34bdfe07f8f0485a6aa4' into dev
c473aa4080 Squashed 'src/deps/src/lua-resty-openssl/' changes from b23c072a4..89195843c
456e6a33db Update lua-resty-openssl to v1.0.1
11c4fde616 Merge commit '805e5c9cee2a72af6b6297b2993109511b42d485' into dev
805e5c9cee Squashed 'src/deps/src/libmaxminddb/' changes from ac4d0d248..93a7e0e56
afcf420ee4 Update libmaxminddb to v1.8.0
7aa6affe10 Merge commit 'e3f305a953ef5dbf6802090c7013f4c38d762449' into dev
e3f305a953 Squashed 'src/deps/src/ngx_devel_kit/' changes from b4642d6ca..91e30eb05
cba20187c9 Update Nginx devel kit to v0.3.3
10a58377b8 Fix multiple CVEs related to libpq * CVE-2023-5869 * CVE-2023-5868 * CVE-2023-5870
7c564e4cb0 Update pre-commit hooks to latest versions
bff775f006 Fix issues with the Linux integration and external databases
71db00281d Merge pull request #759 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.161.0
940eecd062 deps/gha: bump ruby/setup-ruby from 1.160.0 to 1.161.0
42f7ef4862 Update user interface demo image in README.md
b2a56a82a4 Update BunkerWeb UI demo to use thumbnail image
0d0bad79bc Update Python version in Dockerfiles
b539a97ad9 Fix CVE CVE-2023-5678 in Dockerfiles
05da26f010 Update dependencies to latest versions
e153c33aaa Update maxminddb and other dependencies versions
8d024a0996 Merge pull request #751 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.7.1
ca6271c60a Merge pull request #750 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.160.0
fbbec2f7f7 deps/gha: bump rickstaa/action-create-tag from 1.6.6 to 1.7.1
9c6f5289d1 deps/gha: bump ruby/setup-ruby from 1.159.0 to 1.160.0
bcded8f7ce Add refurb as a pre-commit-config hook and apply pre-commit-config
966a78da9e Update Git attributes to ignore text and end-of-line settings for vendored files
f111124b34 Update dependencies versions
d2b82b29d2 Fix CVEs CVE-2023-43787, CVE-2023-43785 and CVE-2023-43786
dc5a7b8b2a Update mmdb files
c32522ae29 Update Certbot module to version 2.7.4 + Update python deps hashes
54ead4e49c Merge pull request #744 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.6
d835369699 deps/gha: bump rickstaa/action-create-tag from 1.6.4 to 1.6.6
b79b6548b3 Merge pull request #741 from bunkerity/dependabot/github_actions/dev/hashicorp/setup-terraform-3.0.0
b05b981858 docs - update plugins to 1.2
e8803e346f cache linux test images, fix linux example of proxy protocol and add more logs to k8s tests
7565b2df58 Merge branch 'dev' into staging
c817f45abd add ready checks to limit and redis core tests and fix wrong http port for behind reverse proxy linux test
f9f616a66f Merge branch 'dev' into staging
4871185dc0 Update python deps and pin Flask-Login version
cd773b6e80 add ready checks to reversecan and sessions tests
898ef2eff0 deps/gha: bump hashicorp/setup-terraform from 2.0.3 to 3.0.0
fa628cb7d6 linux - add default API_LISTEN_IP
18d682b5a6 linux - add missing API_LISTEN_IP initial setting and perform only hot reload
4fbd974d2f tests - set trace verbosity for geckodriver logs
a7c343369d Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
7d69b91056 tests - fix missing geckodriver log file in ui tests
29d7d94b2c [#739] Fix potential issue when fetching docker instances in the web UI
84eb947206 tests - add geckodriver log file for ui tests
40e118a712 tests - add more logs to ui linux tests
0e3d8e59cc tests - retry UI access in case of network exception
86875f4863 tests - fix misc ready check when using https and add ready checks for linux ui
d4a2ba5fc8 tests - add ready checks to customcert and misc
3020c5c8e5 tests - add ready check for customcert core test
c1562bc896 Merge pull request #737 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.5
322cfd2179 deps/gha: bump github/codeql-action from 2.22.4 to 2.22.5
caf732be1d Merge pull request #736 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.159.0
667620b521 deps/gha: bump ruby/setup-ruby from 1.158.0 to 1.159.0
fb21786b8c linux - fixing nginx service not disabled and fix another missing error log path in UI
5887b894f0 ui - fix wrong error path when starting nginx
4e820f6de2 linux - remove sudo command when reloading nginx
35d16233cd ci/cd - ignore ready conf for db tests and fix linux path for ready conf
9775cd5bbd ci/cd - fix missing string in /ready endpoint and add /ready endpoint to linux tests
274a8cdfb9 ci/cd - trying to fix race condition for core tests
d73a5d0f45 Merge pull request #735 from bunkerity/dev
ed0e156bcb Update Werkzeug to version 3.0.1 in web UI
8ec9a7df40 Fix compatibility issue with Docker Compose v2 2.23.0 in examples and docs
72d856abe1 Update certbot to version 2.7.3 + regenerate hashes for db and scheduler
ab76c458ef Merge pull request #732 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.158.0
6edf97a0d7 deps/gha: bump ruby/setup-ruby from 1.157.0 to 1.158.0
58d6b81423 use cap in Linux and add openssf badge
a83a74cfad Merge pull request #729 from bunkerity/dev
0975de1238 [#717] Add a pool_recycle database engine arg to avoid losing connection with database
762092e5e9 Remove no longer necessary retrying module
8963cb4d18 Update python deps
c2252503d0 Merge pull request #721 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.1
626f10b4c1 Merge pull request #722 from bunkerity/dependabot/github_actions/dev/actions/setup-node-4.0.0
f2b9fc0f8f Merge pull request #724 from bunkerity/dependabot/docker/src/autoconf/dev/python-a5d1738
c8eae49e5b deps/autoconf: bump python from `dc2e889` to `a5d1738` in /src/autoconf
ab320794ad Merge pull request #723 from bunkerity/dependabot/docker/src/ui/dev/python-a5d1738
572436f208 Merge pull request #720 from bunkerity/dependabot/docker/src/scheduler/dev/python-a5d1738
6f366450bc deps/ui: bump python from `dc2e889` to `a5d1738` in /src/ui
f6d2e205cf deps/scheduler: bump python in /src/scheduler
50a60382a1 Fix CVE CVE-2023-5363
989c14ae73 Fix CVE CVE-2023-5363
a847f77782 deps/gha: bump actions/setup-node from 3.8.1 to 4.0.0
8708ad70c3 deps/gha: bump ossf/scorecard-action from 2.3.0 to 2.3.1
eeda7a18c3 Update python deps + add retrying module to db
5193d6cd19 Update docker images
09ee050833 Merge pull request #719 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.157.0
0afed0621c Merge pull request #718 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.4
8919592f54 deps/gha: bump ruby/setup-ruby from 1.156.0 to 1.157.0
d253b4438f deps/gha: bump github/codeql-action from 2.22.3 to 2.22.4
f798a9ef9a Merge pull request #715 from bunkerity/dev
cd902eba30 prepare for 1.5.3 🚀
029217ff4a Fix update-version.sh script
10db67b871 Merge pull request #714 from bunkerity/dev
c7543df86a Add an handler when the ui test is reaching an error page due to a connectionFailure
1f5a1beac0 [#645] Fix web UI not keeping the data when changing the sub server names + Fix custom cert when the server name have multiple domains
ff1fc9280b [#712] Fix custom configuration changes not taking effect immediately
838dcb17c0 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
b18dbddcdf Merge pull request #713 from bunkerity/dependabot/pip/src/scheduler/dev/certbot-2.7.2
ca6938dfe4 Update ConfigFiles to use the correct name regex in web UI
643ea7c214 deps/scheduler: bump certbot from 2.7.1 to 2.7.2 in /src/scheduler
e41ce10e35 Merge pull request #711 from bunkerity/dev
b265cbad54 ci/cd - trying to fix azure/kubectl action
7e3aad9f09 [#645] Fix impossible to edit the server_name of an already existing service if the primary one was unchanged in web UI
60d43d0ce0 Handle service creation and editing more elegantly in web UI
2df85b2c93 Updated python:3.12.0-alpine image's sha256
3a3255e7b8 Merge pull request #709 from bunkerity/staging
4c273fe849 Merge pull request #708 from bunkerity/dev
9964f42e66 Fix magento k8s tests
b2cf8986f5 Tweak magento tests to use latest version back
7f219bea07 Fix CHANGELOG release date for v1.5.2
b9f05ad165 Downgrade magento versions to working ones
bd6065af86 Update python deps and pin urllib3 version to 1.26.18 + Update pre-commit-config to format requirements.in files as well + Apply pre-commit
619e5644f0 Remove pip caching when setting up python in workflows to avoid errors
3c36430212 Merge pull request #707 from bunkerity/dev
7598dbc54b Update python deps
f3982367a6 Update dependabot script to add reviewers and tweak the schedule
d4f65903e7 Update dependabot config file to include terraform and other python deps paths
38429efac9 Merge pull request #705 from bunkerity/dependabot/github_actions/dev/actions/checkout-4.1.1
d92e9a07a8 Fix k8s terraform script
6738b95524 deps/gha: bump actions/checkout from 4.1.0 to 4.1.1
0da22f44b0 Update k8s terraform file and update scaleway terraform version
d77f6a72c2 Fix README.md links and versions
7bf8be3246 Try to fix magento k8s tests with static versioning
b9c5d32778 Fix timeout in ui tests and access_page function
b1b1ab8680 Fix wrong values in helm chart values file for elasticsearch in k8s magento example
530b8a945d Fix allow empty values when saving a config in web UI
22552c5b85 [#694] Optimize certbot renew script to renew all domains in one command
db0dd5daee [#694] Fix rare bug where database is locked
f89456cd4f Merge pull request #699 from Crazy3lf/master
34d68e8b7c Update regex for email
476d867067 Fix magento k8s tests by removing elasticsearch
4a10ec8c30 Merge pull request #701 from bunkerity/dev
c4b873e3f2 Fix /etc/bunkerweb dir missing in linux core tests
bcaa8faa7b Replace deprecated `set-output` command with the new format
08944b901c Tweak test-core-linux to fix potential bugs
13be6a43c9 Add more logs when an url file is in cache and gets deleted
2737fe7ce2 Update python deps
2823fa2abb Update plugin.json
001246b38f Merge pull request #697 from bunkerity/ui
1a43380d2e Merge pull request #696 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.3
0b319d1aa1 Merge pull request #695 from bunkerity/dependabot/github_actions/dev/rickstaa/action-create-tag-1.6.4
7a15f8a654 deps/gha: bump github/codeql-action from 2.22.1 to 2.22.3
a4a413eece deps/gha: bump rickstaa/action-create-tag from 1.6.3 to 1.6.4
7e3dabc5fd Update patch commands in deps.json to skip Reversed warning
8093c61613 Merge commit '29737209b138a1485d55c53acf1a6783b6e60167' into dev
29737209b1 Squashed 'src/deps/src/luajit/' changes from e598aeb74..492cfdd0d
85913d6b26 Update luajit to v2.1-20231006
15d3180b64 move disabled inp msg
522527f0a8 Merge pull request #690 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.156.0
85ef4e4dea Merge pull request #691 from bunkerity/dev
46d8acf7b4 Update dummy-plugin to new standards
77bfe2697f Add StyLua and luacheck to precommit config file and apply it
da2a1eaa5a deps/gha: bump ruby/setup-ruby from 1.155.0 to 1.156.0
cd1f87b9a2 Update pre-commit config hooks version
e25fab28b8 fix disabled msg behavior
c125a9bdd2 Merge pull request #689 from bunkerity/dev
10fd431fbb Tweak update python deps script to make it more elegant
309689185e Update pythons deps
7997561766 Merge pull request #684 from bunkerity/dependabot/github_actions/dev/github/codeql-action-2.22.1
a12e5ca893 Merge pull request #683 from bunkerity/dependabot/github_actions/dev/stefanzweifel/git-auto-commit-action-5.0.0
15ad3a6250 Merge pull request #681 from bunkerity/dependabot/github_actions/dev/ossf/scorecard-action-2.3.0
c57d725f44 Merge pull request #680 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.155.0
95389260a6 Merge pull request #688 from bunkerity/dev
6e5dd55573 Fix CVE CVE-2023-44487
565f4e3f7c Merge pull request #687 from bunkerity/dev
f39adcab5b Update CHANGELOG.md
a3ec85b576 Fix often occurring error with ace script in web ui
b063ac8a32 [#652] Fix error when deleting a service that have custom configs on web UI
ff85f1c2bb Update CHANGELOG.md
4a9fdba42d [#645] Fix errors when using a server name with multiple values in web UI
47a7e16800 Fix secure_scheme_headers shenanigans with web ui
453108da94 Update mmdb files
2cbb10b3a3 Revert "Test Aqua security vulnerabilities with BW"
d4d9f87451 Test Aqua security vulnerabilities with BW
899484c381 deps/gha: bump github/codeql-action from 2.21.9 to 2.22.1
d461f3745b deps/gha: bump stefanzweifel/git-auto-commit-action from 4.16.0 to 5.0.0
cd0ceb48bb deps/gha: bump ossf/scorecard-action from 2.2.0 to 2.3.0
dc92ae825d deps/gha: bump ruby/setup-ruby from 1.154.0 to 1.155.0
f5fe685d42 Fix children classes of Test
f4ce2c68f2 Fix bw api not returning the reason of bans
d1a0f66c98 Merge pull request #677 from bunkerity/dev
6935d1cb84 Merge pull request #676 from bunkerity/dev
7ac66a6c65 Update python deps
2aa9f46ef4 Fix default values in whitelist job
8f456722e0 Augment delay in WebDriverWait in ui tests
8ae7b8f43b Fix redirect tests docker-compose file
9b4a9277da Add libpq as a dependency for the Database to be able to connect with postgres
172874d1c3 Fix redirect tests on docker
a518f47b92 Update CHANGELOG.md
0cee41867f [#656] Fix ACME renewal fails on redirection enabled Service
e956e03ba0 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
c08fd07a6b Update linguist-vendored to add modsecurity files and non patch deps files
466c8e584c Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
27d3ca1cdf autoconf - fix wrong types for dynamic settings
410557009a Add .gitattributes to override linguist-vendored paths
e7498279cd Revert Docker image update for tests
fe87486f97 Merge pull request #673 from bunkerity/dev
c2db157bb5 Update python docker image to 3.12.0
eb8088164b Tweak Dockerfiles to make the build nicer
202698f41f Fix python deps conflicts and update them
0eb18cb31e Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
f12a014104 autoconf - update settings from db
628068e9ae Lint files with prettier
f3694f0cc4 Add prettier as a precommit hook
b56cce63f7 Fix codespell typos in README.md
87ca176633 Fix typos raised by codespell
eea5dd9b75 Add codespell precommit hook
8fbe692618 Fix mkdocs.yml file duplicate copyright key
cf82e73e97 Fix swarm postgres ui integration example
6b2df35858 Tweak py file to respect flake8 rules
508c728b65 Tweak pre-commit config and pyproject.toml file + Add flake8 as linter in precommit config
75e8c83397 Update CHANGELOG.md
07676a3d0a Use hashes instead of versions in github workflows
f0761eed2c Revert "Add fuzzing tests in CI/CD"
4babce9749 Add fuzzing tests in CI/CD
a263f1f4f1 Update cron for dev-update-mmdb
31a8399688 Merge pull request #666 from bunkerity/dev
d8b2561675 Merge pull request #665 from bunkerity/dev
87d2f04eb8 Remove no longer necessary temp fix for Flask-login
c006e5088d Update python deps + Update Flask-Login to include the compatibility with Flask 3.0.0
df9bf1f561 Merge pull request #664 from bunkerity/dev
6b0e623e59 Update Dockerfiles to install pip and its deps before the project ones
85068bfeea Add temp fix to support Werkzeug>=3.0.0 with Flask-login
5a7f9147fa Update python deps and update script
3589057703 Fix bunkerweb-ui.sh script with variables not being exported correctly
5ed595be68 Fix shellcheck tests failing
e21e0c812b Add shellcheck and gitleaks to pre-commit-config + tweak excluded paths
1b7e1840cd Fix blacklist core tests' requirements.txt file
1f90d3668c Add a pre-commit-config file and passed all checks
f3fc69110e Fix typos in Dockerfile when installing python dependencies
073e8575e2 Updated Dockerfile, python deps and npm package to use pinned dependencies
cd4d529d7e Merge pull request #660 from bunkerity/dev
b4a320afaa Made ui tests better
8ed656068f Small fixes on linux paths creating unnecessary folders
8fa7adb615 Small refactor on how the autoconf updates the config
4ec754143a Handle changes more elegantly with the scheduler
0f7df13df3 Optimize save_config script
48096d711c Optimize the way the UI handles services creation and edition
c0816bb119 Fix potential cross-site scripting vulnerability in plugins.js in the UI
18e5f7bff6 Merge pull request #659 from bunkerity/dev
ece5ce1cdf Add HTML sanitization when injecting code in pages in the UI
4d50026744 Extract codeQL workflow to have a separate one + Add scorecards analysis workflow file + Add UI tests for the UI branch
1c71572f44 Update tsparticles in the UI + remove unused static files
685cb9809d Update README to fix a few links and add the security scorecard badge
65d0aa3a8a Merge pull request #658 from bunkerity/dev
6e2db59919 Add a sleep before changing from cache page to log page to avoid errors in ui tests
1db769c321 Remove bugged UI tests check in linux
db99d16874 Update the condition that checks the integration in core tests
579c80357f Update UI starting script and ui tests script on linux
b901d29710 Update python deps
e23f931bd6 Replace gevent with gthread in UI for security reasons
15eef6ef57 Try to fix python deps issues with linux and try to have more logs in linux ui tests
cc0167f427 Fix ui linux tests when waiting for the ui to be ready
fd4c147b89 Update how the scripts wait for the UI to get ready before starting the tests
95afba8792 Change how the ui tests waits for the ui to be ready
ea5cb0db2d Try to fix ui linux test by adding more sleeps
cb3250e4e7 Fix UI linux test (again)
153e9fecf1 Fix bunkerweb linux scripts
81b5e80da6 Try to fix deps permissions with linux ui tests (again)
6a162d7250 Fix linux permissions with ui tests
be5fe2830e Try to fix ui python deps in ui linux tests
380e609abd Change ui linux tests command into development mode
93006cf5ce Fix Firefox installation in core and ui linux tests
39f17bce60 Try to fix permission issues with Linux and ui python deps
94c7c832e6 Fix permissions with python deps in ui linux tests
42be334e40 Fix permissions with ui tests on linux
cad3012e6d Try to fix python dependencies error with test ui linux
a04282d3f8 Fix test core redis with linux
c757f5d49d Re generate requirements.txt file for the UI with python3.9
052e060222 Fix core and ui workflow file for staging tests
e71b711466 Merge pull request #655 from bunkerity/dev
b90da0f909 Add better health check in linux ui tests
5c1fafe518 Updated CHANGELOG.md
c964d68f99 Add more tries when the dnsbl server isn't found
78a29e65ea Tweak reversescan core test to avoid false negative
0e9f29cc52 Revert "Fix UI shenanigans with python deps"
70ab9740d9 Fix UI shenanigans with python deps
0303a8f7b9 Update staging workflow file to include core and ui linux tests
16d4c1133b Optimize the way errors are being checked in linux core tests
2ddc8cec72 Update dnsbl list regex to accept an empty one
6534a429af Fix looking for error in the wrong place in test code linux
25eb8de01e Try to fix a few shenanigans with linux core tests
2065d688f1 Fix ui tests with docker checking the wrong containers if healthy
87f84d438e Add a retry on nginx error in linux core tests
99b30af8ea Fix reverse scan python script
1ff2aed68c Fix UI docker tests docker compose file
48bcb11983 Rearrange imports for blacklist init core test
ae9450d0dc Add whitelist and greylist linux core tests
9a17e92d62 Fix typos in dnsbl core test
2244f734fa Add dnsbl linux test
a29ac80e4b Add country linux tests
cff5c77679 Fix sessions core test for linux
6ae6764f27 Fix blacklist core tests docker compose
27959e1aa9 Fix sessions permissions issues with python requirements
47e8f20f83 Fix CVE CVE-2023-38039
6283ce2dd7 Add linux tests for blacklist and bunkernet
f3d6f860e0 Remove old cached files if urls are empty
61c8ef73b0 Fix permission issues with sessions core test with linux
be25ae8e05 Fix failing linux core tests + add more logs when an error occur in ui tests
33e200f652 Fix UI using the wrong database when generating the new config
57374ecc2f Fix tests ui with linux
601f0fde62 Fix tests ui linux not starting the ui service
fdb9a7c294 Fix errors linux tests permission issues
df12058824 Fix tests ui linux executing the wrong file
db404a62c3 Fix ui tests misconfiguration
a0aced3e53 Fix tests ui linux workflow file
e378be9a92 Fix typo in tests ui linux file name + add more logs in ui docker tests
432d1587c7 Add linux ui tests
2ad8861788 Fix selfsigned job with cryptography not being found
da4390b488 Fix python modules version conflict with web ui
7bd48203aa Fix and update python deps
ce2fa3d360 Fix a few core tests for linux
bca36e2966 Update self-signed job to regenerate the cert if the subject or the date has changed
06da40bf13 Added more linux core tests
84a27a3fc3 Fix DB core test with docker
9e34251824 Fix path issues with db core test init
c90cd7399a Fix permission issues in tests core linux
91e5528a3f Fix already existing tests core linux
aeee38ad32 Fix misc problems related to linux
d97326656d Fix Database not clearing old services when not using multisite
8a6e14d8c8 Added linux tests to a few core plugins
0ece8fda00 Fix permission issues when starting BunkerWeb in antibot linux tests
e935132242 ci/cd Try to fix permission problems with Firefox in test core linux
761c01af6e ci/cd Fix test core linux shenanigans with Firefox
0d9349611e ci/cd Try to fix errors with firefox in test core linux
094d5d5dfe ci/cd Fix a few things with test core linux + finish antibot linux core tests
fdae4549ce ci/cd Fix permission issues (again) with test core linux
d59cf1835d ci/cd fix permissions issue in test core linux + fix shenanigans with antibot linux core tests
43b1a038f9 ci/cd clear out firefox before reinstalling it in test core linux
d192fbb829 ci/cd Install Firefox manually in test core linux
0239ca64b4 ci/cd test core linux remove dns resolvers override
1dd1caeea4 ci/cd Fix Firefox installation for test core linux
a0516f773f ci/cd Install firefox from apt instead of snap + fix antibot core tests for linux
480c680f19 ci/cd Fix timeout in geckodriver download for test core linux
a94dab2087 ci/cd fix retry job when downloading the geckodriver in test core linux
d0a1aab15c ci/cd Fix perms issues (again) and optimize some things in test core linux
dd0c4c93a6 ci/cd Install requirements and deps in test core linux
294402dbf2 ci/cd fix perms issues with test core linux
cd35d35c25 ci/cd Fix perms in variables.env for test core linux
4cce8385c5 ci/cd fix write in /etc/hosts file in test core linux
990b6336e2 ci/cd Fix test core linux with dpkg versioning
ccc5eb304a ci/cd Fix version error with ubuntu and test core linux
6a38390404 ci/cd Fix tee command not being ran as sudo in tests core linux
453cfc2dcc ci/cd Fix BunkerWeb installation job with linux core tests
0b14f8a5d0 ci/cd Fix install command in linux core tests
624f4b5bb5 ci/cd Fix path of the .deb file
61bc8a3b10 ci/cd fix .deb fetching in Linux core tests
fa91bf6c60 ci/cd change needs and logic in test core linux
b54c7eb61a ci/cd test secret inherit for ubuntu private test image
30cba0a77d ci/cd fix dev.yml
80d56fcca6 ci/cd start working on linux core tests
69307fba6f Fix issues with GitHub rejecting the requests
7c5177bf43 [#643] Fix UI clearing configs folder at startup
b5bd17d4da Merge pull request #641 from bunkerity/dev
ad65e01a87 Update CHANGELOG.md
1259fb67d9 Merge pull request #634 from bunkerity/dependabot/github_actions/dev/docker/setup-buildx-action-3
b9e752f12f Merge pull request #636 from bunkerity/dependabot/github_actions/dev/docker/login-action-3
278eb0c8a4 Merge pull request #635 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-5
dec97c8c3b Merge pull request #637 from bunkerity/dependabot/github_actions/dev/docker/metadata-action-5
9222420b7a [#640] Fix shenanigans when executing docker compose restart
07fb7cf164 [#638] When renaming a service in the UI, migrate the custom configurations as well
f83b2278d0 Fix versions conflict between greenlet and gevent with UI
e51e178357 Update python deps
3c95971e3e Fix CVE CVE-2023-4863
bb7ef35aeb Merge commit '35d13d7a097dd094cdbe993f18f29de0b08f1f2b' into dev
35d13d7a09 Squashed 'src/deps/src/zlib/' changes from 04f42ceca..09155eaa2
d962538784 Merge commit '4430cf47ddc1f3647b3bc129f46fed2d7a145f8c' into dev
4430cf47dd Squashed 'src/deps/src/luasec/' changes from fddde111f..4c0628705
37a2343e24 Merge commit 'd8ee65aa70e9737330c8a83301fd66c7dc8a8d7a' into dev
d8ee65aa70 Squashed 'src/deps/src/lua-resty-session/' changes from 8b5f8752f..5f2aed616
6752b36471 Merge commit 'd7bde18da2a8a81f2d5f256bc975b1fb5b546107' into dev
d7bde18da2 Squashed 'src/deps/src/lua-ffi-zlib/' changes from 1fb69ca50..61e95cb43
af902fc4ec Merge commit 'e0a89a2fcd1d0dd4cc103fc054242e8e8b10b7bf' into dev
e0a89a2fcd Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..ccc2d9b53
5ec7eb53a1 Squashed 'src/deps/src/luajit/' changes from 04f33ff0..e598aeb7
26d3d6c6ce Merge commit '5ec7eb53a1fa30beb59d3358f16716483787b02e' into dev
0aaede4d61 Update core deps
955c7e0630 deps/gha: bump docker/metadata-action from 4 to 5
8ea823e061 deps/gha: bump docker/login-action from 2 to 3
a6efa52051 deps/gha: bump docker/build-push-action from 4 to 5
a6b30f6a6b deps/gha: bump docker/setup-buildx-action from 2 to 3
1144a73813 make logs optional in issues, change assignee for dependabot and edit sitemap URL of the doc
c364e46663 ci/cd - disable redirect when pushing doc
d4f38cc795 ci/cd - fix error when parsing ARM types
b6d49865b7 ci/cd - get ARM type availability
d0a8cc3818 ci/cd - use volume id instead of index for arm instance
30c952e9e4 ci/cd - set boot volume for arm instance
2382fdd377 ci/cd - start arm server after creation
05ecf558cb ci/cd - use latest scw cli version
2b7ce389b7 ci/cd - reflect changes on release tf from refactoring
d5d7364b1c Merge pull request #632 from bunkerity/dev
3adbd8757e [#628] Fix scheduler generating the wrong configuration with Linux
fd79508633 Merge pull request #631 from bunkerity/dev
3ae9636d5a Fix error with the CSP header override of the antibot
f993499007 Merge pull request #630 from bunkerity/dev
ea6ae52539 Update ANTIBOT_HCAPTCHA_SECRET setting's regex to support new format
5811dc549c Merge pull request #629 from bunkerity/dev
6404b701c0 Update changelog
2b5654ba3b Update coreruleset to version 3.3.5
c948e449a0 [#622] Handle configs dir more nicely in Linux
fb5a8dc4fb [#622] Fix permissions with folders in linux integrations
5f19b3fdab Merge pull request #627 from bunkerity/dev
2fce08b727 Upgrade issue templates
2ed6584dd7 Update python deps hashes
d6a14b6716 Merge pull request #626 from bunkerity/dev
b3c398cb56 Remove jinja2 from requirements.txt as it creates conflicts
6334a3d638 Merge pull request #623 from bunkerity/dev
8ab4ea2e26 Update id of ui.conf rules to avoid conflicts
11664cc1d8 Fix wrong variable name in limit core tests
9535c04142 Fix shinanigans with both multiple and global settings not being stored correctly in datastore
8cafded894 Fix variables that are both multiple and multisite not being stored properly in datastore
c6b2199dd3 prepare for 1.5.2 🚀
c418acdcfa Update CHANGELOG.md
9d0d72ba02 [#576] Add support for ModSecurity JSON LogFormat
cbc6259386 Update mmdb files
f57fc5d3f6 Fix menu.html dark_mode attribute in UI
c7e834a0dc Update python deps
673ee921f6 Lint files
9fb8dfca45 Fix Scheduler running two times for no reason
4787400d74 [#615] Fix BunkerWeb not being able to start after a restart because of the /var/run/bunkerweb directory missing in Linux
f59476c26d Merge pull request #621 from bunkerity/dev
4be53d0cbe Merge pull request #620 from bunkerity/ui
55ba29cd54 Fix UI error when values are empty
947690af8f Fix UI workflow
5cdf0ecf44 Merge pull request #619 from bunkerity/ui
d1dd1fbae7 Fix shinanigans with the /data volume in the doc
1b84c62024 [#613] Fix logs with web-ui and Linux
a2e0f1fe66 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
639eed8d05 Deactivate BunkerNet on first start with linux
500c3564a2 ci/cd - perform staging tests again
448efc0ef0 Merge branch 'staging' into dev
1b660691d5 ci/cd - fix typos for docker/packages pushes
e62b7c9d19 Remove unused js files in web-ui
b87316d7c4 Merge pull request #617 from bunkerity/ui
4cff39f490 Merge pull request #616 from bunkerity/dev
bceb286026 Lint files
d9d6ed9bb0 Fix settings regex with web-ui
01be5baea5 Merge pull request #611 from bunkerity/dev
059afec430 Update rhel docker image
e564d84079 Merge pull request #610 from bunkerity/dev
2c15b37461 Fix rhel typos "el" instead of "rhel"
6f26c42c89 Merge pull request #609 from bunkerity/dev
c5059ab220 Update doc to include TLS as well as HTTPS in some sections
a7a317b5bf Merge pull request #487 from bunkerity/dependabot/github_actions/dev/scaleway/action-scw-c718eca1fcb9fec1fb1433752d61599c6a0ad2e9
0681cf2c9b Update actions/checkout to v4
3a02c0ca5c Add more delays in badbehavior core test
040d447145 Change SQLite config to avoid locking
07725356b6 Merge branch 'staging' into dev
6a995723c0 autoconf - fix changes check bug with same variable name
47bf7299a1 Lint py files
656c5008de scheduler - ignore changes on first loop
c206daf9dd add basic config lock between autoconf and scheduler + remove reverse-proxy tests for linux
cf55ade15d ci/cd - various fixes for k8s tests
d28432e5f2 Fix API_SERVER_NAME regex
b5638aae19 ci/cd - move k8s login in staging-tests job
4450762b8c ci/cd - fix image name in k8s tests
6e1660cd00 autoconf - fix wrong config update
cb4c99f456 ci/cd - fix docker tag command for linux tests
64d2ed91ec ci/cd - fix secret key
0e2420cfff ci/cd - add timeout for cleanup jobs
fa165522e5 ci/cd - use same md for openssl commands
b036803884 ci/cd - remove double untar for k8s tests
bae27806b2 ci/cd - fix tf state upload/download again
11794da8c4 ci/cd - fix tf artefact command
c52e54b812 ci/cd - fix tf files again
e5c37a00ac ci/cd - fix k8s tf
9a3c26bf65 Merge branch 'dev' into staging
56422bca46 Update python deps regex for UI
ee47407dfe Merge pull request #606 from bunkerity/dev
936b1e88f0 Remove old CVE fixes for nginx image
f9f5b6570d Remove old CVE fixes for python images
8e8e042c25 Testing CVE on bw
1676ebeb7e Test CVE on autoconf
637573e591 Update docker images and python deps
c3a4847de5 Update startup and temp env in bash files
3db7904d41 ci/cd - fix wrong image tag for Linux test images
037e1ba566 docs - add ghcr.io
d6aa6a9b09 ci/cd - staging improvements
9aba006738 Fix oddities with the scheduler and the Database
f7d9af9d69 Fix potential infinite loop when waiting for a configuration from the autoconf
95c796c1ee ci/cd - delete temp compose downgrade
423e3b4a39 ci/cd - log to ghcr before getting tests containers
511597b7e0 ci/cd - fix tests image names
bb77dcedf5 ci/cd - edit username for ghcr auth
3d0f17808c ci/cd - add dummy username for ghcr auth
5a9836fec5 ci/cd - fix nested permissions
e1edfe4a7f ci/cd - fix missing permissions in wf
e81ab4ff9b Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
87b4053402 ci/cd - use gh cache for docker cache and pushes to ghcr.io
45a81203ed Update python deps
9feb66710b autoconf - force updating first configuration
3d13cf345e autoconf - only update data when needed and atomic changed metadata update
00cb6c1a8b tests - fix regex for geckodriver version
898ee7ec87 tests - tweak dpkg before installing BW
643b30f993 tests - ignore wrong testing version in deb packages
69e944d56a Revert "Fix LinuxTest package installation commands"
2b7f627d86 Merge pull request #602 from bunkerity/dev
82fb7b277d Fix LinuxTest package installation commands
1042e546b6 Merge pull request #601 from bunkerity/dev
6d1d464e16 Remove tries limit in wget commands (defaulting to 20 tries)
b5de52ead9 Add more retries when testing the newly created service in ui tests
2675227499 Merge pull request #599 from bunkerity/dev
4f82856b48 Update staging-create-infra to use a static version for monolithprojects.github_actions_runner == 1.18.1
d670b409bf Merge pull request #486 from bunkerity/dependabot/github_actions/dev/docker/build-push-action-4
0b93916a37 Merge branch 'dev' into dependabot/github_actions/dev/docker/build-push-action-4
76408cf04d Merge pull request #598 from bunkerity/dev
f7cd7d9daf Add dependency on tests-ui to not fail to push the testing image
8632dd3244 Fix exit code for ui tests
fbf0232d52 Update python deps
5b6f00dfc6 Revert "Remove unused imports in ui tests"
681def5f02 Remove unused imports in ui tests
a844b235b9 Remove geckodriver.log
73e31ca625 Add wget to fix error with tests
d82136f040 Fix UI tests not exiting if container fails to start
55fd177901 Fix wget command when downloading the geckodriver sometimes fails
d8c95869e8 Fix database with multisite variables
f24802b211 ci/cd - perform staging tests again
758fc13c3d ci/cd - replace version string for testing release
cd825cd341 ci/cd - fix wrong VERSION path for testing release
c03b1bb20b ci/cd - update VERSION file for testing release
a5e50d0f74 ci/cd - fix linux package name for staging
1a57e0a202 ci/cd - remove linux arm64 packages pushes
de568f335f ci/cd - temp disable staging tests
244b912476 ci/cd - fix syntax error in push-github wf
08ce31bb0f ci/cd - prepare for testing releases
7f47ac18c0 Fix plugins errors when reloading with a select and upgrade check
b6b87fcb03 Update python deps
8bada2a02d Update update-version script and bw version in after-remove scripts
b8778de08b use nightly tag for docker-socket-proxy
b42b732d74 Merge branch 'staging' into dev
fc1c81ce20 linux - add python3 dev dependency when building packages
76d36f3b91 v1.5.1 release
63355bb887 tests - increase radarr delay (again)
0ecf478761 Merge pull request #592 from bunkerity/staging
59dfb728ff Fix DNS_RESOLVERS regex to be more open
47c560dd30 Merge pull request #591 from bunkerity/dev
ff1e6cc28c k8s - use same namespace as ingress for services
81c2c3187c Fix config synchronization in scheduler + Remove MULTISITE variables being fetched when MULTISITE is set to no
7f3f3ac7e3 Add delay to radarr automatic tests
58d69ec20c Merge pull request #590 from bunkerity/dev
012bc3b43d Merge pull request #589 from bunkerity/staging
600ea7e168 Update python deps
18ee159711 lint python files
eee26b5d72 tests - add delay for reverse-proxy-singlesite
c00157ef32 fix wrong instances when using docker mode and add delay to docker-configs tests
6047a43358 set default value for ports in bw entrypoint, fix core db tests and fix missing PYTHONPATH for certbot job
ee2aeda13a tests - add static delay for linux tests and fix core db tests
bb6fd30739 linux - force kill nginx if graceful one doesn't work
6e6c08a716 ui - various edits
5df2a74caf improved LE certificates checks and fix missing full SERVER_NAME when MULTISITE=no
843c023707 tests - fix wrong command in linux tests
8f7833413b linux - fix letsencryt not working and fix permissions on /etc/bunkerweb/configs for tests
0ccd757817 linux - add missing pip to rhel
adbed77f74 linux - install pip the official way
ef7a6ac421 linux - fix fedora dockerfile
31ca183b1e Merge branch 'dev' into staging
a763879c1d doc - update settings
03ba91e968 autoconf - fix deadlock with k8s
38ab5ea21a redirect - custom status code
ee5397df55 bw - add HTTP and HTTPS port to temp config
9efd7a5a5f sessions - fix infinite loop when session checks fail
784ce643f0 db - disable connection pooling for one shot tasks
f3081e3c34 scheduler - fix parent setter call
26a1ef6898 Update mmdb files
e2fe947cb4 ci/cd - fix tests UI not showing logs
bf9cd367d0 fix missing Strict-Transport-Policy header, fix X-Forwarded-Prefix with regex URLs and print logs when UI tests failed
26f2852e54 scheduler - fix typo in fstring
e93b2f65ff cache dev container images, fix CVE-2023-35945 and force scheduler to reload when instances change
f3ba16be9d add instances changes check to scheduler and auto push dev container images
d9394567ef add missing ctx arg in core plugins, always add X-Forwarded-Prefix header and add doc about timezone in containers
d59b305f1e fix concepts image in doc, revert clientcache update and refactor headers
ad45bbb4d7 Update python deps and fix error with PyYAML compilation
db03aa9c79 Merge pull request #565 from bunkerity/dev
bb14be8202 Update python deps updater
bedcf0c17c Fix bug with newer version of PyYAML by downgrading
68e9b057d4 Merge pull request #564 from bunkerity/dev
810340a493 [#559] Fix typos for custom-cert's settings in docs and examples
a4db7c2942 Fix CVE CVE-2023-2975
758901dfc3 Fix CVE CVE-2023-2975
9216becb56 Update python deps
db413cc032 Merge pull request #555 from bunkerity/dev
a4f4dfe4e6 remove unused imports in save_config.py
0d554a5f5d Update SERVER_NAME regex to be more open
c11b44285b Merge pull request #554 from bunkerity/dev
25af02e4a4 FIx prevent the `DATABASE_URI` setting from being saved inside the database
9eec9e26c9 [#552] Fix scheduler not changing databases on linux
845364b2b6 Update log paths for linux based integrations
3dac0aef0e tests - temp fix for compose network errors
08f9e5f20a Fix bad behavior core tests by adding a custom subnet to the bw-docker network
fccb25bee6 Add automatic bw-docker network removal between each try
d6407b8186 Fix db core tests by making the network bw-docker entirely external
1cf281ef83 Update core tests to be even more verbose
3a714b9a3f Update core tests to be more verbose
864619542c Fix core db tests (again)
be46f7a8d8 Optimize db core tests
559039dfd1 Lint .conf files that contains lua code + remove useless comments
aa0769dde7 Merge pull request #549 from bunkerity/dev
ae6ccfcffc Apply patch to luajit-geoip
ed234fd63f Apply post_install script to lua-resty-openssl
09ae6da557 Apply patch to lua-resty-ipmatcher
b516ca2ea2 Apply patch to lua-ffi-zlib
1e7f92af80 Apply patches to Modsecurity-nginx
008dc09a60 Stop checking return code of post_install scripts in init_deps.sh
fcd230192f Fix init_deps.sh
f3809bc698 Add -R to pull commands in init_deps.sh
96586d4a68 Apply post_install script to Modsecurity
a75b90f525 Squashed 'src/deps/src/modsecurity/' changes from bbccedbdd..205dac0e8
948182ffd4 Merge commit 'a75b90f525b90bd74c090702034e02fdd6250e0e' into dev
544b4040e0 Add post_install scripts to init_deps.sh and update install.sh
6e146e2a54 Squashed 'src/deps/src/modsecurity/' changes from 205dac0e8..bbccedbdd
847ff5a3da Merge commit '6e146e2a54cb29eb0ac1bc9d65766fe90d30fa4f' into dev
bbccedbdd5 Change tags into hashes in deps.json
14d69fa594 Update mmdb files
d5e358b72c Merge pull request #548 from bunkerity/dev
e0055328af Fix add missing deps for core db tests
c93d5a2fcd Fix CVE CVE-2023-3316
5631e27378 Merge pull request #547 from bunkerity/subtrees
3505c0d18f Remove clone.sh file
7b566b885e Squashed 'src/deps/src/zlib/' content from commit 04f42ceca
ffd3100317 Merge commit '7b566b885e99301b243c5f61360e65238035e048' as 'src/deps/src/zlib'
45dca7b445 Merge commit '2ab324a69f219b4051b2e77d211ee1a7fb1462b5' as 'src/deps/src/stream-lua-nginx-module'
2ab324a69f Squashed 'src/deps/src/stream-lua-nginx-module/' content from commit 309198abf
f85f86e46c Merge commit 'c1073460677ba8aa2e325a1c57c3db1458f9fde5' as 'src/deps/src/luasocket'
c107346067 Squashed 'src/deps/src/luasocket/' content from commit 95b7efa9d
a7d4cc5bba Squashed 'src/deps/src/luasec/' content from commit fddde111f
bd600e0d0c Merge commit 'a7d4cc5bbaabf8683b3b5cc1f42f9bd145cf1aa8' as 'src/deps/src/luasec'
d156626938 Merge commit '2d86912af87048b94c2921a60b3a8a5a0953e132' as 'src/deps/src/lualogging'
2d86912af8 Squashed 'src/deps/src/lualogging/' content from commit 465c99478
1fb404757d Merge commit 'f3ceeb73a958e774b1e2fa55d2607cdd3eb419ca' as 'src/deps/src/luajit-geoip'
f3ceeb73a9 Squashed 'src/deps/src/luajit-geoip/' content from commit fde33e045
f81788c00c Merge commit '2678b91586e9183b47327fbb0f11ad23020f195f' as 'src/deps/src/lua-resty-upload'
2678b91586 Squashed 'src/deps/src/lua-resty-upload/' content from commit 03704aee4
2d06f2d7ab Merge commit 'bc06cd71b8896c6e7a1aac4610c9c3f878956238' as 'src/deps/src/lua-resty-template'
bc06cd71b8 Squashed 'src/deps/src/lua-resty-template/' content from commit c08c6bc9e
a6379356ea Merge commit '3038a0b027f09090e1cd8f101d2ee8c52c383070' as 'src/deps/src/lua-resty-string'
3038a0b027 Squashed 'src/deps/src/lua-resty-string/' content from commit b192878f6
fdf0050a91 Merge commit 'ee5198ba2810e33e08ff987ede5abe10fc74f6e3' as 'src/deps/src/lua-resty-signal'
ee5198ba28 Squashed 'src/deps/src/lua-resty-signal/' content from commit d07163e8c
a3cd342f3e Squashed 'src/deps/src/lua-resty-session/' content from commit 8b5f8752f
6f8ff3f12e Merge commit 'a3cd342f3e1fffd7b16b83a24e03bb9ed501b319' as 'src/deps/src/lua-resty-session'
2f1cde0978 Merge commit 'eca8662cfe981f66ab92b53bbf83af65da02b2b7' as 'src/deps/src/lua-resty-redis'
eca8662cfe Squashed 'src/deps/src/lua-resty-redis/' content from commit d7c25f1b3
0b94df0879 Merge commit 'e59161ec204c7a95e4751b1c0e9a6bead7fcab39' as 'src/deps/src/lua-resty-random'
e59161ec20 Squashed 'src/deps/src/lua-resty-random/' content from commit 17b604f7f
a280059882 Squashed 'src/deps/src/lua-resty-openssl/' content from commit b23c072a4
38fdd39d00 Merge commit 'a2800598825bb5a03b577cca2874ff1cfae863f4' as 'src/deps/src/lua-resty-openssl'
c2fa53ca17 Merge commit '31bf774f63b8b46a3c7b53028853036fff6fa0b8' as 'src/deps/src/lua-resty-mlcache'
31bf774f63 Squashed 'src/deps/src/lua-resty-mlcache/' content from commit f140f5666
7b2273aeb8 Merge commit 'c82b0bdd27762d2d4a9901a187506d2e5abd74f5' as 'src/deps/src/lua-resty-lrucache'
c82b0bdd27 Squashed 'src/deps/src/lua-resty-lrucache/' content from commit a79615ec9
3dc8cc87ca Merge commit '746a6e16d027ab3bddfc610c987e5d61ab9b69d0' as 'src/deps/src/lua-resty-lock'
746a6e16d0 Squashed 'src/deps/src/lua-resty-lock/' content from commit 9dc550e56
62e740a0bb Merge commit '19515d9b26f2f4886ca117b91384509087f0ff3a' as 'src/deps/src/lua-resty-ipmatcher'
19515d9b26 Squashed 'src/deps/src/lua-resty-ipmatcher/' content from commit 7fbb618f7
e566b98afc Merge commit '7160fd94e3dc22299ee3c9f8b0e71a5e2c1bb501' as 'src/deps/src/lua-resty-http'
7160fd94e3 Squashed 'src/deps/src/lua-resty-http/' content from commit 4ab4269cf
cdd42bf250 Merge commit '1a7d4e58be28238599df3f5c15c56380c3e99732' as 'src/deps/src/lua-resty-env'
1a7d4e58be Squashed 'src/deps/src/lua-resty-env/' content from commit adb294def
49db9c24d6 Merge commit '0f4a0cb0ef514bee6b810f6d6cf982c5ef0abfca' as 'src/deps/src/lua-resty-dns'
0f4a0cb0ef Squashed 'src/deps/src/lua-resty-dns/' content from commit 869d2fbb0
fe76b6830a Merge commit 'fd02afef8ec1ceb8a816dc202d05c6ece9887d31' as 'src/deps/src/lua-resty-core'
fd02afef8e Squashed 'src/deps/src/lua-resty-core/' content from commit 31fae862a
29d135bdbc Merge commit '36023392a6e3c8fb6aebb46140db759e61da220e' as 'src/deps/src/lua-nginx-module'
36023392a6 Squashed 'src/deps/src/lua-nginx-module/' content from commit c47084b5d
b01aa0b15f Merge commit '32485e2860c2ea31fcef5b575f446c7a3036a550' as 'src/deps/src/lua-gd'
32485e2860 Squashed 'src/deps/src/lua-gd/' content from commit 2ce8e478a
c46cd666ab Squashed 'src/deps/src/lua-ffi-zlib/' content from commit 1fb69ca50
909841ea63 Merge commit 'c46cd666ab76bad7bd05c6261d692cda5b380f32' as 'src/deps/src/lua-ffi-zlib'
47ee3884fb Merge commit '4f9b885a2e8b7a10653653fee3bb91cf5102b0ef' as 'src/deps/src/lua-cjson'
4f9b885a2e Squashed 'src/deps/src/lua-cjson/' content from commit 881accc8f
bb450ac965 Squashed 'src/deps/src/libmaxminddb/' content from commit ac4d0d248
e13868c63b Merge commit 'bb450ac96595432625ac34de8f7f42b3d06a5b30' as 'src/deps/src/libmaxminddb'
772e05d372 Merge commit '4a7228d2dcb7fe62526016b90a7c497fb6531e76' as 'src/deps/src/libinjection'
4a7228d2dc Squashed 'src/deps/src/libinjection/' content from commit 49904c42a
209d4a461b Merge commit 'ae8d8b233d52cbfdee68bd3ba21713149f5659c8' as 'src/deps/src/lbase64'
ae8d8b233d Squashed 'src/deps/src/lbase64/' content from commit c261320ed
9927106501 Merge commit '1d1739b4eaa274c25c52b8ceb79ebdc717633ec0' as 'src/deps/src/headers-more-nginx-module'
1d1739b4ea Squashed 'src/deps/src/headers-more-nginx-module/' content from commit bea1be3bb
e43880b083 Squashed 'src/deps/src/ngx_devel_kit/' content from commit b4642d6ca
a09d5eb2cb Merge commit 'e43880b08395df25663560da3d8154226a167a77' as 'src/deps/src/ngx_devel_kit'
8973eb0290 Merge commit '26773844e7bd57df1216bd74360a62ec2dc976e3' as 'src/deps/src/nginx_cookie_flag_module'
26773844e7 Squashed 'src/deps/src/nginx_cookie_flag_module/' content from commit 4e48acf13
79d1b44594 Merge commit '22e69251d9b5cd2611abf77ef7352abfa4d409d7' as 'src/deps/src/ngx_brotli'
22e69251d9 Squashed 'src/deps/src/ngx_brotli/' content from commit 6e975bcb0
4cd57ab8f2 Merge commit 'b99663928782619ef854b4bf10a2bf7450d75266' as 'src/deps/src/nginx'
b996639287 Squashed 'src/deps/src/nginx/' content from commit 84cd72177
d7f25398aa Merge commit 'a676d333fda890838d8fc4766720cc3f1d4c5389' as 'src/deps/src/modsecurity-nginx'
a676d333fd Squashed 'src/deps/src/modsecurity-nginx/' content from commit d59e4ad12
7e8f4adc3b Squashed 'src/deps/src/modsecurity/' content from commit 205dac0e8
999fb6b8ed Merge commit '7e8f4adc3b2b2a655640c73198fb920a5e8441d5' as 'src/deps/src/modsecurity'
6c0468f62b Squashed 'src/deps/src/luajit/' content from commit 04f33ff0
6d05b14eb5 Merge commit '6c0468f62b1120497a6fd0d21101dc41f29e7397' as 'src/deps/src/luajit'
1141afd203 Fix install.sh for nginx dynamic modules
97406bff4d Add libinjection deps back
a58ad9b506 Remove duplicate lua-ffi-zlib in deps
831ae129c4 Make init_deps.sh executable
451648fa71 Remove old deps temporarily except lua
185d75076b Update how the deps are initialized
6a048e68fc Update how the deps are managed
129e8f7e01 Merge pull request #546 from bunkerity/dev
265123835f Update python deps
b0bc9a1bf4 Update the documentation
2f7ed064fc docs - Fix typo in webhook link in plugins.md
7d6116163c Merge pull request #544 from bunkerity/dev
deed39a1fb Update lua-resty-openssl to version 0.8.23
dd295729bb Add deps project submodules
b27f38349b Update lua-resty-session to version 4.0.4 and remove lua-pack deps as it's no longer needed
aeca252d9d Bump lua-resty-core version to 0.1.27 and lua-nginx-module version to 0.10.25
1ec21261c4 Revert "Init work with submodules"
718a9305d8 Revert "Fix .gitmodules file"
a253f4a59c Revert "Remove old folders that are now submodules"
2e1e9a08cb Revert "Initialize submodules"
e2f1aba3cc Revert "Add other projects to submodules"
d9a98c6fa9 Revert "Update commit SHA for submodule libinjection"
5ed3ba1d50 Revert "Fix path resolution for modules and remove nginx submodule"
b529d85255 Revert "Update checkout part of workflow to include submodules"
43783edb9d Revert "Add nginx as a submodule"
8417ed1324 Add nginx as a submodule
ded0ec66de Merge pull request #542 from bunkerity/dev
6cbbd0d562 Update timeout for wordpress tests to 120 seconds
d687b228e2 Fix PERMISSIONS_POLICY authorizing self and links to be aside without spaces
bcc9fdef90 [#533] Fix SERVER_NAME regex to limit domains' size individually instead of the whole setting's value
524a140d24 [#534] [#504] Update ALLOWED_METHODS regex to accept more methods
a197e20d26 [#531] Fix typo in documentation about SSL
252a5831bf Merge pull request #541 from bunkerity/dev
07ed136afa Update setup-kubernetes of wordpress example
2eb73d15a1 Merge pull request #537 from bunkerity/dev
30fec8a142 Remove python submodule, will add it back in the next major
4b4e0f8b3b Update checkout part of workflow to include submodules
c2cfd4dd9f Remove checkout from dev.yml
642da402bc Fix dev workflow
4bb6d40a53 Update dev workflow to checkout the code and submodules first
3bcdd9ca24 Merge pull request #536 from bunkerity/submodules
28d59221b4 Fix path resolution for modules and remove nginx submodule
c8e25bcde0 Update commit SHA for submodule libinjection
e1a5782a3e Update how the dependencies are being cleaned up
68bea47edd Add other projects to submodules
2cd5c7f451 Initialize submodules
d7d3e24297 Remove old folders that are now submodules
a747278910 Fix .gitmodules file
b5fffc1f38 Init work with submodules
8c4c99e65d Merge pull request #530 from bunkerity/dev
ddc337394d Update log location for nginx and letsencrypt
1c362d0783 Remove the deletion of let's encrypt lib and log folders after the job is finished
95c9bad8e3 Remove unused enums in database model
7a972274f1 Add database schema to concepts.md in the docs
5614995364 Revert "Update README.md links to use local branch files"
4536e328e1 Update README.md links to use local branch files
89070cfb7d Merge pull request #529 from bunkerity/ui
d6942a46e7 Update where the scheduler copies its config
8a98da898b Merge pull request #528 from bunkerity/ui
26f831cb4d Merge branch 'dev' into ui
81f3914fc8 Merge pull request #527 from bunkerity/dev
162198bb93 Update db core tests to ignore the added value for env custom configs
7a524b43e6 Revert back to 30 seconds of sleep in tests ui after creating a custom config
b007916d6f Optimize the scheduler and gen even more (we love threads)
0661916ffc Update ui tests to wait more after creating a custom config
2105dc0f32 Update core db tests to use the right hash for plugins_page files
8231198219 Fix rare error when hashing dictionaries in the scheduler
1e62626ac0 Fix KeyError in scheduler
57eaedd8e9 Merge pull request #526 from bunkerity/dev
4d984f6237 Update CHANGELOG
d0fd6884ce Fix shinanigans with the custom configs and plugins jobs
8e6de2bdf2 Augment authelia timeout
3565dd7b37 Update CHANGELOG.md
145df1df4f Merge pull request #525 from bunkerity/dev
df1359e877 Add possibility to download lists and plugins from a file path + Update python deps + Plugins now support tar and tar.gz as well
b756b2d7d0 Lint py files
f57b6dad13 fix cursor gap on ace editor
91c33f1d43 Merge branch 'dev' into ui
ed2a54d166 Merge pull request #524 from bunkerity/dev
3e871efed8 Update python deps
d27edab351 Merge pull request #523 from bunkerity/dev
9982ec36d4 Remove useless import
80033642ce Add reverse proxy headers back
0836d4ee9f Merge pull request #522 from bunkerity/dev
2a2b7b6f5e Merge pull request #521 from bunkerity/staging
78236abe83 Check Aqua Security
c5ff63a40c Fix CVE CVE-2023-3138
78ef5c4827 Fix problems when creating custom configs or plugins and removing them completely
2c190ee969 add writeable /var/run/bunkerweb directory to hardened example
94867d0d63 letsencrypt - use same job name when retrieving data from db
9e00b9dd13 letsencrypt - use same job_name for both new and renew jobs
9adb209a81 lua - fix missing multisite variables in LRU
fdd3367a65 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
dcf1561358 prepare for 1.5.1 🚀
4023e6dc69 road to v1.5.1
af9e125c86 linux - merge change for debian packager
ab6025ec91 linux - fix missing zope modules
7e221eb890 debian working
f1435f2312 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
b14dba7752 bw - fix multiple variables not loaded in LUA
81bb9ede14 Removing python 3.11 from linux
7e66c577f8 Removing python 3.11 in linux
236572f581 ui - remove python 3.11 import for Linux integrations
73060e42a1 Fix limit core tests
df0c03cef1 Fix UI wrong import
5d7ef69c9d Update limit core tests to avoid false negative
855ae89363 Update limit core tests to avoid false positive
16a1916dbb Remove useless imports in lua code + lint
605e237fd5 Remove 404 from Bad behavior status codes
fc8d76f33d Rollback on hcaptcha passive feature
c08e8d151a Update settings.md
44097cad09 Move the COEP, COOP and CORP headers to Cors plugin and change default values
3446e5f9b1 Upgrade antibot to add a custom CSP on each pages + update plugins order
70f227feb3 Fix error with multisite variables when requesting default server
f81b0bb4da Fix multisite variables not being added in helpers
9786975004 Fix has_variable method of utils
5b0b183a4d Remove no longer needed decode for plugin order from datastore
a2759e3771 Add small tweaks on the datastore
b6d8792575 Fix how we fetch plugins_order in the default server
94964a910a Update how we handle custom configs
6a1ff499c1 Fix Lets'encrypt plugin api and internal API
179a7aa34a Fix lua sessions with antibot
a1385fe9b3 fix ctx usage in reverse proxy + remove useless log in limit
23f9f14a46 Remove old CVEs fixes from Dockerfile
f77150bc26 Test Aqua Security CVEs
ec48e66011 Fix return value when no plugins have been found in api.lua
6ab48d9dd2 Update python image to tag 3.11.4-alpine
ce24a0482a apply changes to current core
02d9403937 perf - ctx caching and per worker LRU for readonly variables
a7069bd605 Update UI to stop using env variables but werkzeug middleware + Send X-Forwarded-Prefix headers to UI service
c39dd78aec Update cors plugin tests
3b459b0e20 Fix shinanigans with API (again)
718310312a Fix shinanigans with the API
5deeacc3d4 Fix letsencrypt jobs
c18f743d44 Fix PosixPath in jobs
85a53278e1 Add a charset to cors Content-Type header
e01c14f11f Add Cross-Origin-*-Policy headers management and default values
0b3c1a8a04 Update KEEP_UPSTREAM_HEADERS setting's default value
95f673c1d4 Update doc about headers
cee7672b55 Update settings.md in the doc
d5ea95da92 Increase load-balancer example test timeout
39e6821a4c Lint lua code
64aa12b70b Update python deps
c392a0b5f0 Update mmdb files
f93dd34f67 Extend KEEP_UPSTREAM_HEADERS setting to clientcache and reverseproxy core plugins
a23d189d3d Merge pull request #516 from bunkerity/dev
df47ba0e98 Merge pull request #515 from bunkerity/dev
0ca7de1de1 Add CVEs fixes back
84fcfb726d Test Aqua Security 2
c20bd05d35 Test Aqua Security
c85a4183d8 Fix Strict-Transport-Security not being sent
654172f436 Update headers core plugin lua code
afe6da4cf5 Automatically add Content-Security-Policy header to response headers in the UI
5c7cd38b51 Edit headers core plugins to use lua Code + Add new setting KEEP_UPSTREAM_HEADERS
299a0b5c25 Remove apk update at beginning of each Dockerfile
6cc20efe72 Update bad behavior test BAD_BEHAVIOR_COUNT_TIME to 30 seconds
e2a3bfb106 Bad behavior core tests change the ban time to 60 seconds
4bbddf7975 Merge pull request #509 from bunkerity/dev
1eeefead95 Core tests sleep between each request
9829ef7525 Update UI to automatically set SCRIPT_NAME and ABSOLUTE_URI
b27958a19c Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
410a64810b core - patch modsec to use access phase instead of preaccess
f7d986d6a5 Change the way linux starts and the scheduler
95d4f0f87c Small tweaks on core jobs
4f324231d2 Fix tmp variables path (again)
dc18f98846 Edit start.sh
3b36965f4a Fix tmp_variables_path in scheduler
ccc051e783 Fix /var/run/bunkerweb in fpm args
8b2517cdf0 Remove ui cache download test - to much unstable
d1138855ee Fix gunicorn config for Docker and Linux
0c8bc97fae Fix UI on Linux not using the right user
a68fb0c06a Refactor to make more sens and avoid specific errors
fff21746a9 Correcting: Dockerfile-ubuntu End of statement block Jinja
3ab4a59b6e Update debian Dockerfiles to avoid updating apt packages only once
760ec3b3b6 Add /var/run/bunkerweb removal script when uninstalling BunkerWeb
be459d240e Update pid files paths to /var/run/bunkerweb
8b697d87d1 Fix Scheduler errors with the internal apis
89a3c8b0b6 Update bunkerweb-ui file according to the new gunicorn usage
5e237d0d03 Update gunicorn to use a config file as well + Fix headers error + Small fixes
a424d59b1b Add apk update at the beginning of each Dockerfile
1d14db7e18 Update custom cert job to not duplicate certs if the cert is global
7efb82a7ee Update python deps
e920cba432 Fix CVE CVE-2023-2650
413b75b046 Fix customcert plugin to accept multisite certs as well
87a9545d9a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
c533948452 various fixes
aca0d6da48 Small refactor on the ApiCaller and the Scheduler
1bd40a877a Removing vmware support in doc
612333d2ad Merge pull request #508 from bunkerity/dev
474ecbb41e Fix typo in phases list in plugin.lua
5fa21b3c89 Fix CVE CVE-2023-29491
16a459bf75 Lint antibot html files
fd06a1e715 Add Turnstile antibot
d5e64320c4 Fix small typo in misc.lua
4d6d95037a Merge pull request #507 from bunkerity/dev
b60657e21f Merge pull request #506 from gin-gitaxias/patch-3
1f2c973a3b Fix docker-compose file for custom cert job
b314f4349c Update integrations to add LOG_LEVEL=warning env variable to docker proxy
0edfb2db35 Update example to add a LOG_LEVEL=warning to the docker proxy
83413aef2b Remove open ports from core tests docker compose files
334be43462 Fix custom-cert core plugin
953128be6e Update scheduler changes check to reduce CPU usage
bb7dcda48d Refactor paths resolutions for core plugins
1088279524 whitelist - remove unused IPs of duckduckgo crawler
665b110c63 [#504] Fix ALLOWED_METHODS regex
5a2aa20bcd Update plugins.md
168dfc4390 Refactor paths resolutions for UI + optimizations on the plugin upload
6e80c7b8de Fix variable being ignored instead of saved inside the database when the value is empty
8dad7a0b79 Starting work on paths resolution refactor
b5a78c3aaa Test Acqua Security vulns (2)
ed6bee69c7 Test Acqua Security vulns
3dba058b45 Fix custom configs not being cleared out once created
d9b093dab5 Fix plugin example in documentation
162f1d978a Merge pull request #502 from bunkerity/ui
1f2fa95e77 Remove useless line in the head.html file + lint HTML files
1cd3567814 Add multiple plugin upload in one compressed folder support for the UI
29673f9182 fix font
1804936161 Fix CVE CVE-2023-1999
7fe7a997fd Merge pull request #501 from bunkerity/ui
5b75894d40 Fix UI latest version checking & Fix conditions in quick settings for services
1f6b3d59a1 Merge pull request #500 from bunkerity/dev
548630e3e9 Update python deps
aa299f0859 Update plugin update and add to get only the necessary keys
f0126b6d6e Fix update-check job
8585007bcb deps/gha: bump scaleway/action-scw
a7535c300a docs - fix yt preview in readme
340b4a4929 change arm server flavor
e7ea3952b6 ui - add missing dep for docker/x86
a586b5b6be deps/gha: bump docker/build-push-action from 3 to 4
3b7d8b6c11 Merge branch 'staging' into dev
6666a25fcc edit version, update images on docs and fix bug in Linux script
f84af34025 Add error ignoring when using the rmtree function
0b082bdab7 Add handling of stderr being None in the scheduler
1f2b550f60 ci/cd - fix swarm examples and init work on release workflow
d5fcc69694 Merge branch 'dev' into staging
eda275589d Merge pull request #485 from bunkerity/dev
7506768c4a Merge branch 'ui' into dev
be3d40f18a Fix CLIENT_CACHE_CONTROL setting's regex to also work with JS
41059fb282 Merge pull request #484 from Hado-K3n/patch-16
88f85b282c Merge branch 'dev' into patch-16
e5e031b6b7 Merge pull request #483 from Hado-K3n/patch-15
2dbadbd29f Merge pull request #482 from Hado-K3n/patch-14
95c7b54109 Merge pull request #481 from Hado-K3n/patch-13
00739a5ab6 Merge pull request #480 from Hado-K3n/patch-12
a9f4be475e Merge pull request #479 from Hado-K3n/patch-11
f85f736785 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
f1efe06e99 ci/cd - fix /opt/actions-runner perms for self-hosted runners
ad71be4608 login now use local font
dcb800d2b8 Update k8s.postgres.ui.yml
5a7f7f3c67 Update k8s.postgres.yml
e1f60127e2 Update k8s.postgres.ui.yml
7553ffb632 fix client_cache_control regex
9324648f21 Update k8s.mysql.yml
eafe006a6e Update k8s.mysql.ui.yml
62a8ec9758 Update k8s.mysql.ui.yml
dfcaba9ad2 Merge pull request #478 from bunkerity/dev
737b999cde Set CLIENT_CACHE_CONTROL setting's regex
9339af44c9 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
78f7570e16 core - Fix bwcli condition when checking bans
40e30ed441 use shared redis connection pool in cachestore when we can
d6ca98ed15 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
10a4cefd00 update lua-resty-openssl deps and replace nginx -s calls with signals
97723185ba core - Add bwcli tests
ab3b3ea8fd ui-tests - update waiting time after creating a custom conf
5adec84d5a fix redis not contacted in subsequent phases and reflect changes on stream configs
1624c4e766 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
eea6d32cd3 share common objects during the phase and add threading to DNSBL and reverse scan
99f8f69fa5 Merge pull request #477 from bunkerity/ui
9b58b397c9 Fix ui tests (again)
ace88d865d Fix plugins fetching for the UI
69b35636e3 Fix UI tests (once again)
5dfe35b7bc Update how the plugins are being fetched by the UI
b75690fdf0 Change the way python deps are installed
b19ebbe6a8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
c0c646aae5 Merge pull request #476 from bunkerity/dev
edd6e2ded5 improved session management and add IP/UA checks
c7ca5a822f Fix Database overriding services_settings if a global_value is set
e1883a04be Merge pull request #475 from bunkerity/dev
af19cc226d core - Add redis tests
0087ae5832 Update python deps
8133c134e0 core - Fix db tests by removing "order" key check
f725d0fe63 Update keys name in datastore
05c478e834 Edit COOKIE_FLAGS regex
b5aaf62662 add forward reverse DNS to whitelist, disable redis in cachestore when sockets are not enabled, fix typo in cachestore and improve dns/rdns caching
8a8dd6fb7a db - remove order from plugin model
93c766e564 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
179beea4d7 improved core plugin execution order
1d126e1d0e core - fix cors tests with the preflight request
dbb8840992 core - Update allowed_methods test method to GET
62cb85453a core - Remove cert verification when testing allowed methods in misc tests
04919e8a08 Fix multiple CVEs
b32f318919 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
4962f786ba fix wrong env parsing in init phase, bypass modsec/crs when method is not allowed, refactor ALLOWED_METHODS and improve error page management
10bdf551aa core - Add misc tests
7158e7e9a1 core - Optimize cors tests
3f51f59bcb Add check when plugins are configured + Add Semaphore to accelerate jobs execution + Code optimization
4c4fa44fbc ci/cd - fix core/cors tests
84d43c84d2 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
b58798746d Update mmdb download to check the checksum at start
a9be973d5f use PCRE regex instead of LUA pattern and edit cors doc
4378f18cc8 fix typo in bunkernet.lua, add missing Origin header in cors tests and fix allow origin expected value
7d84e03a15 fix header plugin phase not called for internal request (fixes CORS), fix bunkernet init_worker bug where ngx.ctx.bw is not available, add CORS_DENY_REQUEST setting and edit values for core/cors tests
8386621419 Lint Lua code
36fdec1058 core - fix sessions tests
ab54b18e05 core - fix reverse scan cache retrieval
9c6ca6a860 cors - various improvements
991f7ff8d0 Fix tests core reverse scan wasn't using the image
9c77f77fa7 Fix test core DB
9ee74aef4f Add up back when retrying to up the stack + remove useless print
7bf4c11bc5 When docker up fails in core tests retry one time
82aadfa38c Update core db tests to add the settings.json file and optimizations
2a78d2c057 ci/cd - perform all core tests even if one failed
e3fc55be9f deps - add missing hash for python dep async-timeout
5f668aecaa ci/cd - fix syntax error in test core wf
e5e336c4f3 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
9a2e37984d ci/cd core tests and antibot refactoring
2ac77ee497 Fix deps not being synced
394f5fe4bd Move back to images in the whitelist tests
b06210bdfb Remove unused files in tests core
e6bb9fb55f Add tests for core plugins
29f020f15e Update python deps
051923b6ff fix deprecated external network in compose files, various fixes in the documentation and add ipv6 to doc
2e1296d9ae show useful info in BW logs after startup/reload and reduce container images size
a686562f18 performance - cache empty rdns results
e36c743c70 performance - cache dns responses
75f3d6490a init IPv6 support, add missing healthcheck script in UI and purge local cache on init
a258612e43 add global data on settings filter
bc3ea0ed35 change select method check
ab71c484ea add global condition for disabled state
5c415afa18 various fixes - ttl on /bans api, dnsbl undercover bug, greylist, whitelist and wrong path in realip job
5c50f57f1c Revert "regular inp and multiple global=true are enabled"
9ceaaa8746 regular inp and multiple global=true are enabled
3dde3ac0aa Fix no longer save SERVER_NAME when MULTISITE is set to "no"
c01b493c99 Increase compression level of tar files being saved in the database
4f4a8b5081 Fix default global values being added to database when MULTISITE is set to "no"
4088067186 Add external plugins being updated at the start of the scheduler
402ff16c82 Add "global" key to settings when fetching methods as well
dcdb43cf05 Merge pull request #473 from bunkerity/dev
ca8c56aaa0 Remove unused function in UI src.Config
905946463d Fix scheduler restarting for no reason when having an external database
8a308b1a88 Fix database not providing the right SERVER_NAME setting value
cf26d7aa22 Fix database saving default values to global_values when multisite was set to "no"
8bb6f63fa7 Merge pull request #472 from bunkerity/dev
64789276ac Update python deps
30194f9599 Fix Access-Control-Allow-Credentials not being set to the right value when deactivated
50ee37db0a cors - refactoring
b8d89fe79a Fix customcert plugin
63f4e44c61 Fix CORS when sending an OPTIONS request
ac2e4dd645 Merge branch 'staging' into dev
e14475de4a ci/cd - fix missing version in linux package name
136f68cd3b ci/cd - fix typo in beta wf
d83730cf75 ci/cd - fix linux package name in upload/download steps
ae042854f0 Fix blacklist download jobs where ignore urls were not being downloaded
86053d3dc5 Update RDNS regex in jobs files
b2e26fc8fc Revert "Revert "Update RDNS regex""
48354fb269 Revert "Update RDNS regex"
a544f18e26 Update update-check job to add stars so that the end of line shows
c6f304b371 Update RDNS regex
14ca85cdb6 ci/cd - fix package.sh name in linux build wf
dc1cb6a6fa ci/cd - fix scp command in linux build wf
73acbe0852 ci/cd - fix typo in linux build wf
45c90527c4 ci/cd - fix linux package generation when arch is ARM
f4590749d7 linux - fix arch in rhel package image
141f5a1d5b ci/cd - fix typo in beta wf (again)
6e82fde8a1 ci/cd - fix typo in beta wf
00ba46ebf0 prepare for 1.5.0-beta update
9a1c09c564 Merge branch 'staging' into beta
df787c75dc linux - add pcre dep to fedora package
93e567bb65 linux - fix fedora deps name and add architecture to fpm config
8b6d788c2e ci/cd - fix bitnami chart values
541b646980 increase drupal delay time for tests, fix tmp dir not created for realip-download job and fix has_*_variable check when multisite is yes
59324526cf speedup build process for python deps and fix default env value for autoconf/k8s
a58e5c60c0 deps - upgrade python dependencies
27b1dddb0d linux - pin pip version
fd056102d4 fix centos repo command in rhel dockerfiles and fix delete infras order for staging wf
fb03733433 ci/cd - use single quote in linux build wf
43cbc79c75 ci/cd - move ARM_* to secrets in linux build wf
7592e5a84f ci/cd - fix typo in staging.yml
39ace81755 fix load-balancer example and add server_name to cache keys when required
48d7e72e54 Merge branch 'dev' into ui
66921b0075 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
819ad60a48 fix hcaptcha antibot and refactor ci/cd for staging
20913808c5 Add .mypy_cache to .gitignore file
a086ff6909 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
a286e7bd32 fix wrong container in autoconf/k8s, init work on linux arm and ci/cd refactoring
5a233ff908 Fix Database model types
18b3d7148a Update db model to use SmallIntegers
b36cd924fa Add `bw_` prefix to database table names
63ce1afcdd Handle errors more gently when API requests fails
d4934cfee5 Remove test-ui service in the main docker compose file as it's been extracted
500d58e508 Separate the compose file back
21dc67b68d Update test.sh for ui-tests an the compose file
75d2be7db7 Update tests-ui to fix them
041b7f71e5 Update ui-tests to make a valid password
1245b8b01c Update regex in ui + Add regex module to requirements
913e9a2c2a Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
97dc6540eb ci/cd - fix typo in dev wf
b75ba601b5 Merge branch 'staging' into dev
573fe8fee2 Change UI admin password check to a regex
51514df570 Remove not needed file in linux scripts
9ff64426b7 Fix ui tests with the external plugins
74fe9d5c16 Lint jobs py files
97b362bb17 Fix let's encrypt error when deactivated
964d318939 Fix wrong attribute value when checking for external plugins
914686e78e Fix often occurring bug when testing the web UI
58db1352fa Revert "Fix often occurring bug when testing UI"
987af951d8 Fix often occurring bug when testing UI
1c74c5d8d5 ci/cd - refactoring
1cc9f57739 prepare for v1.5.0-beta fixes
ac94e5072a fix double .conf suffix in custom conf, migrate /etc/letsencrypt to /var/cache/letsencrypt, fix bunkernet jobs and lua code and fix reload for jobs
773874154d move /etc/letsencrypt to /var/cache/bunkerweb/letsencrypt (wip)
75ca603b7d WIP - fix bunkernet and missing reload for scheduled jobs
0276054522 Fix bunkernet initial message when checking connection + add TODO
bddfb58a0d Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
c7ab002082 Merge pull request #462 from bunkerity/testmmdb
ef551846b9 ci/cd Update mmdb - Let only the schedule and change branch to push on
f41c096ec5 Merge branch 'testmmdb' of https://github.com/bunkerity/bunkerweb into testmmdb
a7b7c2031d ci/cd Update mmdb - Add check for curl commands
fb55295663 Monthly mmdb update
0afb250b91 ci/cd mmdb update - Changed branch to push on
019a927b06 ci/cd remove secret required for auto mmdb update
283a63f160 ci/cd try fixing workflow auto download mmdb
42707ad46a ci/cd test mmdb update
cd57eb423e ci/cd - fix automatic push of doc
01fbacf0ff ci/cd - fix pdf path for draft release + fix missing git fetch before deploying doc
d693d065f8 ci/cd - allow to update release tag, add PDF to release and fix multiline CHANGELOG in release
aa2ada0a00 ci/cd - update git user/mail for push doc wf
a47d7df401 ci/cd - execute apt install as root for doc to pdf workflow
c4093a2d7b ci/cd - increase ARM node storage
01e5994936 ci/cd - concurrent builds for ARM + fix version string for RPM packages
aaa0701659 linux - fix VERSION path in package script
0b93c6e10f ci/cd - add more cores to ARM instance
88db3fa344 ci/cd - fix build rhel var
5c01bd3f74 ci/cd - various fixes for push workflows
604d4c1a0c Merge pull request #459 from bunkerity/dev
bed6d742f0 Decrease the compression level when sending configs to BunkerWeb
57cb6e9c44 Update python deps
0d1580cffd Small code refactor of the jobs and the scheduler's function that generates configs
766ca0e9ce Merge pull request #458 from bunkerity/dev
0ab07678d3 Merge pull request #457 from bunkerity/ui
5412e6d240 fix logs checkbox
ba7422218d ci/cd - fix push workflows
fda2948e0e ci/cd - fix typo in push docker wf
59e5b1d54f ci/cd - fix push workflows
7ca7d78470 Merge branch 'beta' of github.com:bunkerity/bunkerweb into beta
9395456440 add missing postgresql-dev build deps for ARM images
0b5746aba3 ci/cd - add missing inputs for build arm
94dc501c17 ci/cd - remove load image in buildkit for ARM archs because of docker limitation
8ffaa7cf79 ci/cd - force shutdown when deleting ARM node
6e99e7a981 cicd - fix docker buildx arm driver
2eef2b8bb7 ci/cd - fix variable share for ARM (again)
406c686e4f ci/cd - fix variable share for ARM
6cecc70c32 ci/cd - fix ssh command for ARM builder
2f992baab3 Lint py files with black
7befd927d7 Update python deps
a4ae0d5178 Update cached mmdb files
c3d0d7ca70 Add workflow that automatically update cached mmdb files
d4ceb7c106 Remove dev comments for ui tests
b37c86e620 Fix ui tests problem with the logs page
a7b07c9599 Fix wrong condition when fetching the logs on Docker
3b237ed3cc Fix UI tests
a55a0df5de ci/cd - remove useless condition in create ARM workflow
ae33ca52ed ci/cd - fix wait-on variable
8867eb23be ci/cd - fix wrong json keys from scw api
1b79e291eb ci/cd - various fixes for arm build
98ce5041d2 ci/cd - use fixed sha1 commit for scw action in rm arm workflow
66d7216dc3 ci/cd - fix typo in create arm workflow
45fa4d1c26 ci/cd - ignore /root/.cargo dir for security checks, use fixed sha1 commit for scw actions and add missing deps for ui/arm
9cd13990e3 ci/cd - pass ARM ID as secret
266383abb1 ci/cd - dynamic arm build node
4e0d2fce5f add missing dependencies when prebuilt crypto package is not present
823c09195a ci/cd - add missing var for ARM builds
e71dc132ec ci/cd - fix typo in container build workflow
0db5f7cf0f ci/cd - fix typo in beta workflow
4bfc5b693f ci/cd - fix wrong cache name in container build workflow
93d0a991a9 ci/cd - fix typo in push doc workflow
1c178ed75c ci/cd - fix version output for beta/release workflows
ab7e1f6244 ci/cd - add missing runs-on in beta/release workflows
0f499c9d37 ci/cd - fix typo in push packagecloud workflow
d0f6d59f6f road to v1.5.0-beta 🚀
4086628697 ci/cd - fix typo in doc-to-pdf
312757594c ci/cd - fix typo in beta/release (again)
11f86ea754 ci/cd - fix typo in beta/release
ad16067420 use proper links in docs, automatic doc push and add pdf to releases
08e1d157d7 Fix ui-tests by removing no longer present checks
c8908695be Remove unnecessary prints
641a27f5ec ci/cd - remove useless needs for ui branch
4684070818 ci/cd - fix typo in staging workflow
6784bd6914 ci/cd - fix wrong condition for container-build workflow
ef1897de82 ci/cd - add missing needs to tests-ui staging
9815f22d72 ci/cd fix typo in container-build workflow
65c6e48e94 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
14a4db8bdb use current_bw_version for docs, add automatic tests to ui branch and fix letsencrypt permissions for linux
f6b8d23fba Fix ui tests by editing the attributes name to the new ones
58fd04430e ci/cd - fix typo in staging.yml
54a17c7752 init work on CI/CD for generic beta releases, remove useless autoconf examples and fix linux postinstall script
4f2c58bd7c temp disable authelia test for k8s and add missing folders for LE on Linux
5e4ce45793 various fixes
fa67c5d7ba ci/cd - fix missing arg for copytree
04db308c93 ci/cd - edit staging workflow
5d2045803c ci/cd - edit staging workflow
e7717ba7f9 Merge branch 'ui' into dev
bbaaad8487 docs - last polish
0658230e26 enhance responsive
f5c28b27df Merge branch 'ui' into dev
5753123368 harmonize all titles dark color
2f336be770 enhance file manager and jobs svg
81a37a3778 enhance actions btns
c3119f04ee docs - plugins
ffa91933e2 docs - add YT demo
5741dce6d3 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
7695a839f0 docs - web UI
5fe0e0bfda Merge pull request #454 from Hado-K3n/patch-7
8c71f7d278 Merge pull request #455 from Hado-K3n/patch-8
124378d7c9 Merge pull request #456 from Hado-K3n/patch-9
c6a184d90a fix ui integrations and fix stream support in db
d8b7db167e merge from ui
ddd83a8089 docs - add stream support info and plugin description to settings page
289b58567b docs - add stream support info on security tuning page
4dda54a118 enhance style
0ca473c690 fix style issue between load and page transition
1145b798f0 fix filter setting from custom selectors
63e7ccf132 better centering loading logo with text
001a63efc3 continue custom selectors + fix script + style
4144faa93b fix create service issue + remove stash
72bc9e4bb6 start creating custom selectors
98de3fc2fc docs - quickstart
f118f992f6 merge from ui
5285a2f4a1 force stash
1d354c9c6b docs - quickstart (wip)
55a7c8fee8 force stash
64a9fe4dba fix checkbox + style issues + script duplicate
a90d9e6273 ui - fix default value for inputs
7e1efcbc66 Merge branch 'ui' into dev
b5f0fe856e docks quickstart wip
01d8c65c96 remove hidden input checkbox + fix script
b7f63450ed add special method for mode
bc47f1fa5e Merge branch 'ui' into dev
7089e8b4d2 fix checked state
d4fd4c4733 fix checkbox + template
db5789fcb4 Merge branch 'ui' into dev
ab20f83b22 Update k8s.postgres.ui.yml
bbea8ba3fc Update k8s.mysql.ui.yml
9a2005d1a8 Update k8s.mariadb.ui.yml
9512de630c docs - quickstart guide (wip)
956a7bd234 Merge pull request #453 from gin-gitaxias/patch-2
f8c5543fd5 Update plugins.md
667bb30036 docs - quickstart guide (wip)
6b76596a88 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
78c2e16ead add missing cluster config for ui/k8s and start quickstart guide doc
1e6cfe8b0e fix filter disabled issue + reset on modal open
574ecbd6b3 Lower the environnement variable for the mode
aa3ce13a81 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
6f39fce6d6 docs - integrations
92fc5d981f Remove ascii art showing in UI logs
ae7e3ddd9f Fix how the ApiCaller is initialized for UI instances
df94bc4af7 Merge pull request #452 from bunkerity/dev
bf29fa2f92 Show how many plugins there are correctly in the home page
509bd21b06 Add log when deleting plugin
1530745a7e Merge pull request #451 from bunkerity/ui
a87abf3ce5 update home dark mode + variable
8a5836dd95 add popup darkmode
3a4a6ee5f2 new service doesn't force method="default"
1321a76c0c update service submit name for new or edit action
53e145b919 show method involved in disabled setting on hover
ceec21faa3 update web-ui INTERCEPTED_ERROR_CODES
63ba001805 Fix logic when saving a service in the UI
479f18b175 Merge pull request #450 from bunkerity/ui
ab43bf84a1 Make it so the UI and the scheduler no longer run as root in Linux
a7849a6e7a Fix mic mac with config files and UI
9009859aa7 Merge pull request #449 from gin-gitaxias/patch-1
0bf2116c44 docs - concepts
3616a9f202 Update security-tuning.md
435aae7cf1 docs - index and migrating
c0e649d680 fix logs + select custom
1c3bbf1bc3 stream - add example and fix ssl support
37ebde3635 fix logs and plugins dropdown + margin
b64e55f75a Add bigger timeout to loading.html
da4bb8dce6 Fix condition in helpers.lua
ab509c2705 Fix UI with Linux
6916a81c5d bunkerweb is now W3C friendly
c7bc493e35 stream - fix various errors
bc1dbe18a8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
bd577cfb2e country fix (again) and init work on stream
a829528c3f Add bwcli to scheduler and fix it for the autoconf
9d829ebca1 Finish updating bwcli
94b97a6bb9 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
780c0c8c53 api - fix errors in calls and use ngx.ctx instead of ngx.var
5fb0be70ae Merge pull request #447 from Hado-K3n/patch-6
6843902db4 Merge pull request #446 from Hado-K3n/patch-5
3419dca980 Update k8s.postgres.ui.yml
38c71cf942 Update k8s.mysql.ui.yml
b7c260561d [WIP] Update bwcli
995ff250ff Update python deps + add redis for the gen
a04490b473 Replace unnecessary import
5112ed46e1 Merge pull request #445 from Hado-K3n/patch-4
8558785b17 Update k8s.mariadb.ui.yml
95e64d6c87 bw - fix black/grey/whitelist rdns check and country check
8ea94a2e4d Merge pull request #444 from bunkerity/dev
9f1405d69e Remove unnecessary {-raw-} in index.html when loading
9a2f7e9ab5 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
93b4714447 Add marging to antibot files hcaptcha and recaptcha
93c0cd437c Merge pull request #443 from bunkerity/ui
e7d61a67ce update antibot and default template
5d05eaeae8 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
a77d233eca bw - add zlib dependency
9a69ca135b Merge pull request #442 from bunkerity/ui
823c128233 fix SERVER_NAME + fix delete form + enhance
52806afe73 Merge pull request #441 from bunkerity/dev
2ea726c222 Merge branch 'ui' into dev
dffc770a99 fix and enhance
12f8b8197e bw - add missing lua-ffi-zlib dependency, fix syntax error for white/black/greylist, fix error for dnsbl and fix limit request not working in local mode
4871a21040 api - add missing ctx fill
bcc5e6bb50 bw - add missing json decode in api and add missing require in country
83428d6ccf bw - fix resolvers nil error when doing dns checks
7eefcb8f8d antibot - manage direct access to challenge page
a372ffd521 fix invalid session error handling and remove debug log in whitelist
e55912b34d Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
5f9f1e54f8 load inline multisite values for white/black/grey list core
3b4882d82b Revert "Remove no longer present CVEs fix because these are already fix in the images"
c2e0e51067 limit - use atomic script for redis case
4bc0771d95 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
edf7e06e07 various redis fixes and display ready log
a93d9a7d94 Remove no longer present CVEs fix because these are already fix in the images
e4465d9a12 Fix jobs cache when a database is used
c9af9457e4 Fix wrong condition when sending files
17a3d933b3 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
a60b6f3ada bad behavior - fix 500 error and do not pass objects with another lifetime to timers
c0e8e93aba Fix documentation mistakes when soft merging 1.4 into dev
f1a868c66b Fix when the cache from jobs is saved into DB + sleep 5 seconds when waiting for the database for the UI
d32102376f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
510938fc23 antibot - fix bugs related to session
ed9605c103 Update python script that generates settings.md
3dabd42dfc Update python deps
834fbaf01d remove antibot back btn + update raw
95c231515e antibot - various fixes, not fully fixed yet
56028b087e update antibot / loading / default page
502d4fcc08 Add back the fact that we don't download the mmdb country if we don't blacklist or whitelist a country
ccd56d3b68 change antibot and misc template style
c949c02328 Update the security tuning's blacklist category according to the settings
671543e6e9 Add more ignored variables for missing setting name warning
dbd5739abd Fix wrong setting names under `Custom certificate` category
5f26ebc695 Fix php-cookie-flags example
bba26b5486 Reorder core plugins to stop having the warning at startup
db166c434b Add small fixes and lint to the error.html page
08f3d93ab5 Update jobs will now also check and save the cache in the db
63b1fb947a Fix CVE CVE-2023-1255
d5b11b8bb1 Merge pull request #440 from Hado-K3n/patch-3
92744c0913 Merge pull request #439 from Hado-K3n/patch-2
d46337f606 Merge pull request #438 from Hado-K3n/patch-1
9b52a5c3c5 clusterstore - various bug fixes
3f9d606e17 Update k8s.postgres.ui.yml
7e2f53c8c3 Update k8s.msql.ui.yml
1f5d8bfab4 Update k8s.mariadb.ui.yml
7a7d83a754 various fixes for redis/clusterstore - still WIP
a5e08e1c67 refactor of session management
0fdb108fe9 core - do not execute init() if BW is in loading state
00b50c1629 various fixes for core plugins
4ba5d66598 use ngx.ctx to store common values
860cc1a924 Merge branch 'dev' into ui
881d3a00d5 fix git issue on windows
76a2ff6563 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
28ef546a9a refactor - start to use ngx.ctx for per-request data
ed495b99ff Add CODE_OF_CONDUCT.md
0bd3e273b7 Update compression_level of sent tarfiles to 5 instead of 9
348ab7a1e2 Add feature that allow the copy of code blocks in markdown + Update copyright
cf2938bf2e Update web-ui docs according to the next major version
79a46e2cf6 Update the logic behind the check for linux os
9a325c7a9a Add new check for integrations in BunkerNet job
707256076a Add now the scheduler will pass his own env as well to jobs
9578ace026 Remove not used INTEGRATION file in BunkerWeb container
8c919c6768 Update links in the home page of the web UI
ad64ce22e9 Remove no longer needed packages that were fixing old CVEs
29cb6fe161 fix header phase and fix error template
d3d18e15a6 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
a83254bf20 fix wrong log in access
859343e185 Merge pull request #437 from bunkerity/dev
50829293c7 Merge branch 'ui' into dev
8e22b1f219 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
9849ce10ce fix wrong error check on phases and add missing ttl for *list cache items
3b5c083fc7 Soft merge branch "1.4" into "dev" + changing versions
4d95e32f18 update error page
1da4b78f0f Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
915b51c3b9 fix error pages for default http server
535f1a0552 Merge pull request #436 from bunkerity/staging
0afe038aa5 WIP Ui
3b6c3815eb fix default-server-http.conf
b5fa473ae3 Merge branch 'refactor' into staging
2fddbd8627 refactor - disable asn checks for non global IPs, use resty.template with antibot and various fixes
8d63e39740 refactor - fix various errors and add missing dependencies
23725d4831 Update prod shields.io link in README.md
303f380c76 Update demo.gif file
3c375039e9 Optimization on the download of mmdb files
a7773dae2f Update intro-overview.svg
5eb884fe9a Fix bug when showing cache files for services in the UI
3fac889ff2 Remove no longer used modsec rules for the UI
c3106e70e3 Update README.md and edit the demo GIF + edit the .prettierignore file
928ed2d6ce refactoring and road to nginx 1.24.0
34ab94640f Update python image in Dockerfiles + Add gevent to requirements for the UI
aa96c8503f update css
649d29b056 change news base url
217d1aa502 enhance style + menu script
e6ff51e200 Refactoring and Linting of py files and json
666b7a1bac refactor - blacklist, errors, greylist, letsencrypt and redis
496edb83ac Adding thel documentation
ee83cea7ff Add ascii art showing randomly when starting
6d1914d62d Update python deps
648f15e42c Add new core plugin update-check
2075a5d4c2 refactor - badbehavior, blacklist, bunkernet, cache, cors, country and dnsbl
5dd52186ba Fully adding vagrant in the doc
3a03f07f19 Changing vagrant integration
64997bae8c Adding vagrant integration
03ec271e21 refactor - improve clusterstore interface and automatically retrieve variables for plugins
29c57915cb antibot inherit from plugin
840c295684 continue work on refactoring
1ec83f256d renamed session to sessions
8c29081577 save work
afc0ac1988 init work on refactoring
4cd3fc6447 Merge pull request #434 from syrk4web/staging
bfc872be27 change flash logic when login
049e9c1ea6 Update python deps
bf9b94ebf8 Avoid Autoconf from running in root
92e6984581 magento - fix docker example (again)
a771bdb187 magento - fix docker example
7c21b3da2a deps - update lua-resty-session to v4.0.3
d4fae4b57b session - add missing settings
a850442203 init work on redis session
986f506e7d add missing API_WHITELIST_IP in mattermost and moodle examples
41e8f5c937 fix wrong init of counter in badbehavior and fix nextcloud/docker example
8e72050625 ci/cd - reduce dynamic subdomains for k8s tests because of annotation size limit of 63 chars
1bc42204d9 ci/cd - use dynamic random subdomains to bypass LE rate limit
a1e44f6e4b Merge pull request #431 from gin-gitaxias/staging
7ccd3ef926 fix moodle/swarm example and disable reverse-proxy-websocket test
8b54073a7e fix missing backslashes in autoconf custom configs and add missing full reload after custom configs update
622f2eb2ac autoconf - check if service exists before adding config
5d14813be4 fix typos after basic testing
9f70605643 autoconf - add missing import and fix double lock release
937cd10eeb refactoring and various improvements
6af3b985a0 fix deadlock in autoconf/swarm and fix missing favicon in default and loading pages
f6ed21b3b7 autoconf - fix global custom configs not supported in k8s/swarm mode
eee03c4ae1 autoconf - fix variable typo in k8s watch
ecf4e77b32 autoconf - fix deadlock in watch loop
0b71819d22 watch services for autoconf/k8s and support real IP in default http server
d3d0136bf5 various redis fixes and improvements
e80965ca9a lua - fix wrong variable name in access
220374db4b ci/cd - fix syntax error in jobs
9b8606d40e fix redis hostname for k8s files and only append tasks with a desired state of running for autoconf/swarm
c843be074c reverse proxy - allow all chars for URL settings
6a65104e7f fix return value of clusterstore.connect and disable auth basic for LE challenges
b429201ecc add missing LUA import for clusterstore and fix prestashop docker example
a9ce32c262 added a more precise scan response and modified .json like asked
f4442b6428 ci/cd - fix syntax error in k8s test class
1c3c0d63b7 ci/cd - fix missing k8s create infra job
e8c6d04aa6 ci/cd - various fixes for k8s tests
1caa9a1e7d adding reverse-scan
5d41a5b985 Merge pull request #1 from gin-gitaxias/reverse-scan
77fb8c420b Add files via upload
1bb79b155b linux - add geoip deps to rhel rpm
cf86446020 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
ea1394b044 ci/cd - add linux/rhel tests, fix docker/behind-reverse-proxy, fix missing stream module for linux/fedora and remove placement constraints for swarm
87bd26da0d Add threatmap to README
b3eb647459 ci/cd - temp disable autoconf tests and add missing packages for linux/centos
202f21aab8 fix syntax error in ApiCaller
55a36f7190 fix docker/joomla, fix autoconf/nextcloud and fix API calls for swarm tasks
1c3f094cd9 ci/cd - fix wrong yaml edit for swarm and append LE settings for k8s
f07c0e66a3 ci/cd - various fixes
e8ee460efc fix CVE-2023-0464 and CVE-2023-0465
dd2c8cbcd1 Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
2d11a1c728 fix nextcloud modsec rule id, fix k8s pvc definition and remove useless logs from linux/start.sh
4f334a577a Add sleep between BunkerNet registering and ping to the API to avoid being rate limited
283828e8f7 Fix Now support WebDAV methods in the ALLOWED_METHODS setting's regex
e50c92250b various fixes
b8b50b165c Remove check for messages after creating the service - tests-UI
e88406b5d2 Fix ui tests with the new UI
922b32b2ee Merge pull request #429 from syrk4web/staging
671db37f73 fix autoconf/cors, fix docker/wordpress, fix wrong image name for k8s/scheduler and upgrade tests instances for swarm/k8s
be71b0781d format logs instance to avoid error
9e1876fea0 logs fix + checkbox fix
4d245f9fef change cache/download to jobs/download
6d16a766fe fix service delete + change style
5e598e90c9 fix bw-data volume not reused between docker tests, fix wrong bw-data volume path for autoconf tests, add let's encrypt to autoconf tests and fix temp env not generated for linux
dc8b7dbe7e fix form input
bf22faddc6 remove php-cookie-flags from tests, use HTTP(S)_PORT for temp nginx on linux and fix wrong volume path for autoconf tests
6c6845a794 enhance some responsive + change api
461789aed6 ci/cd - fix BW CVEs and fix Linux restart
318228e592 change and fix service logic
fa7c7ac91f ci/cd - add www volumes for autoconf
f88eced330 Handle services settings sent to the UI better
357dc3e3a4 Merge pull request #428 from syrk4web/staging
283306a07a Remove CVEs fix, it's no longer needed for now
276a96c55d Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
19870f154c various fixes for linux and get ui tests exit code from container
2485a47b20 Update python deps
bd88f9743b fix id rename error
82d8180d8e Merge branch 'staging' of https://github.com/syrk4web/bunkerweb into staging
41f43c46dc fix multiple
0f632803ff Merge branch 'staging' of https://github.com/syrk4web/bunkerweb into staging
53f480a66e enhance multiple logic + fix conflict
1cf4a5665d disable healthy checks for docker-poryx and dummy app in ui tests, add --no-reload-linux flag to generator and fix missing self arg in autoconf
041142a4f3 add healthchecks to ui and autoconf docker images
4f9748cc2e earlier init autoconf in DB, healthcheck for scheduler and fix syntax error in linux/start.sh
54813ecd4d Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
d97b5e1047 various fixes
8031c5060f Start handling disabled checkboxes + multiples
58ab870b2d increase cors/k8s/swarms timeout and fix tests/ui container names
cceda705b5 update flash count on remove
e91f3dc226 Add a log when database is ready in UI + Small refactor of the Configurator
1e9a55c240 Add small tweaks to the UI and scheduler Dockerfiles
7dc26dafae Fix disabled checkboxes no longer always have the value no with the UI
7dc25b3a52 fix redmine/docker example, remove double AUTOCONF_MODE in integrations, remove useless backslash in start.sh/linux, rename container for ui/tests
55d24a8d14 Change mmdb-country job to download the file only if needed
9e009f7bee Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging
73b640bd3b fix cors/docker example, add missing AUTOCONF_MODE=yes to integrations YMLs, proper save_config for Linux and fix image name for UI tests
87bccaad6f Add `AUTOCONF_MODE` setting to scheduler in integrations examples
d331131c09 increase timeout for php-multisite, add API_LISTEN_IP setting, edit default variables.env for Linux and add more logs for tests
578a1a8c8b Add more precise logs in the jobs plugins
cb808c0ad1 Fix bunkernet-ip.list file not being created in case of an error (same as 1.4)
c8d39ba6b5 Fix scheduler no longer running as root + Fix permission errors with downloaded plugins
4a67a5f56e Merge pull request #426 from syrk4web/staging
4dea680acc enhance style + some fix
d810882720 Change the category if the user needs to log in in the UI
e003b751dd Fix when saving plugins with pages
b829e4edf1 Fix false positive error with plugin page in web UI
fc3ef33466 Add UI logs into console
ce85bc6b8f Fix openssl no longer prints progression in the console
2e144bf46e Merge pull request #424 from syrk4web/staging
defb2c3336 Change the way the error page is rendered
2ae37ce8d8 Fix regex for ANTIBOT_HCAPTCHA_SITEKEY setting
f335364fc6 Lint antibot.lua
16842fef10 Fix errors with missing % symbol + fix errors because of the symbol
5f5a5a8905 Fix css in antibot html files
ccde5c74f1 fix real ip jobs
d3402ff3ff change loading, error and test files
a02218bc83 end examples refactoring
5845446b9f Revert "Fix errors regex, authorize same path for multiple errors"
be0df41609 Fix errors regex, authorize same path for multiple errors
89812362a1 continue examples refactoring
5d214497ba Fix don't try to add an instance when saving the configuration with the UI
808b7b2206 Update jobs connect to the database only when needed
aa0eff7491 Fix regex in redis plugin that was breaking the UI + fix ui.conf missing comma + remove unused variables in templates
1ac434a5bc Update python deps
9c22f1e971 Refactor the py files
cfe5c6063a examples refactoring
e37e6c3460 Fix mixup of swarm and kubernetes when reading env variables + refactoring
0356250d9d Fix problem with the bunkerweb container and plugins
548d157fe3 Fix check if the Database is on read-only before trying to write
7c5aa48978 Update version string size to support new format
61b9517a87 Fix error when multiple jobs are trying to write in db at the same time
8c67d08aee Lint code
966f57ceaa init work on examples refactoring
0210ddd886 Add realip settings values to the initial BunkerWeb settings
6f29756dd7 ci/cd - pull only interesting images for UI tests
2b1dbb1d46 fix default cert path again and ignore pull errors for UI tests
74a11c2ed8 fix wrong cert/key path for default server
b3769b6e3f fix missing then in blacklist.lua, disable site search in redis.init(), remove counter from reverse-proxy/stream config and fix ui tests compose pull
c7d8b7dc18 update resty core and http lua to support latest version of stream lua and various fixes related to ci/cd
a62ef9f543 add missing init-stream-lua.conf and various fixes for ci/cd
65611020d8 fix duplicate datastore http/stream, fix missing /var/www/html for linux and various fixes in tests
b28668d68a ci/cd - revert back to old condition for pulling images
706305917a ci/cd - fix wrong autoconf local image name, add missing secrets for tests-ui, fix wrong IMAGE_TAG for tests-k8s and try to fix pcre issue on linux
2d440d26e1 ci/cd - add missing runs-on for reusable tests-ui
93945f391f ci/cd - add ui tests
5e31b6c4ae fix CVE-2022-1304 for autoconf, add missing load_module for ngx_stream_lua_module.so and fix missing -lpcre in configure step
01fab41620 ci/cd - fix CVE-2022-1304 and wrong TEST_DOMAINS
aa614b75ad ci/cd - replace Test.py with latest one, fix yaml paths, print logs when k8s stack is not healthy and fix wrong linux docker image name
88a2955173 ci/cd - fix log() call
b95d1bc6d5 ci/cd - add missing log() and fix TYPE for linux tests
2604d9a563 ci/cd - trying a hack to support dynamic runs-on
ed4d945293 ci/cd - trying to fix runs-on problem
53410e831b ci/cd - remove steps
609210021d ci/cd - inherit secrets for tests workflow
a168f2bceb ci/cd - fix rhel build and runs-on for tests
8bf211bc53 ci/cd - fix linux package generation (again)
9250faa524 ci/cd - fix linux package generation
139eaa2dd1 ci/cd - add missing scripts
7149a34cc5 ci/cd - add empty .trivyignore and rename redhat to rhel
5c5dbcfc72 ci/cd - fix type in push-packagecloud workflow
e826c619f8 ci/cd - fix wrong quotes in delete-infra workflow
b24cbf73da ci/cd - fix wrong quotes in tests workflow
99e27c4300 ci/cd - add missing input in tests workflow
ee0e608de7 ci/cd - fix negative conditions
10f9658f56 ci/cd - fix wrong jobs name in needs
27bac0382f ci/cd - trying to fix dynamic runs-on
97627cf836 ci/cd - pass runs-on to reusable workflows
8969b1e726 ci/cd - remove version from reusable workflows
8ca292fb36 ci/cd - change reusable workflow paths
8e73eb87cf ci/cd - fix syntax errors
46e3078dd9 ci/cd - crash test incoming
95c5e2e47f ci/cd - move dynamic runs-on from reusable to staging workflow
131857a9b3 ci/cd - fix wrong indent in staging/delete-infra-*
fc1cab1af4 ci/cd - remove subfolder and continue work on staging
25729fda74 ci/cd - init work
bb2d868fa9 Refactor tests
5e3dadbfe3 Refactor ui
7fe168892c Refactor scheduler
36b5c372ed Refactor Instance and remove unused method
596258559c Accept incoming changes for misc jobs
c5a10aaa3c merge default-server-cert job
06acae4057 rename *CUSTOM_HTTPS* to *CUSTOM_SSL* and continue work on stream support
6bf59b59a2 Refactor the plugins jobs
7a8a75901f Fix multiple CVEs (see comment) (finally)
10ec01e7b0 Fix wrong env var name in realip plugin
947ecf81f1 stream - add is_stream variable to check if we are in stream or http mode
4f4c8ebf08 init work on stream support
79036e9751 add ngx_devel_kit and lua-resty-env deps, support set_by_lua hook for plugins and init work on whitelisting support with modsecurity
c2402b118f fix duplicate root error when bw is starting, add modesec rule to core ui and init work on k8s/swarm integration files
dbd052e9a8 Remove unnecessary import and use parent list of supported custom conf instead
fb917960bc Revert changes on the custom conf regex for the autoconf
26de0a233a Lint files
0faa34ac7b Add a regex to the setting REDIS_HOST
1d9459202d misc - add missing page.conf
1b113236a0 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
29b3731487 misc - default pages for default server
6cb714be03 Start adding integrations examples
99b85ec8a9 Fix Apicaller error with swarm
37114ee2f6 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
902fe6ad07 bw - init work on redis
7bf034fc9f Fix being able to delete autoconf services from UI (shouldn't be)
916caf2d6a Merge (soft) 1.4 branch into dev branch
f8e31f2878 Update mattermost to use a static image
0f35c05eee Ignore multiple CVEs due to missing deps in python:3.11-alpine
846e26e410 Fix multiple CVEs (again)
ebc7fbbcee Fix multiple CVEs (see comment)
f4081ebd3b Handle more errors with Bunkernet job
3b01b51445 Upgrade the way the jobs run_once are executed
8fa94d6a52 Edit DockerController regex to handle more custom confs and fix modsec conf mixing
c92d4224f2 Update python deps + add cryptography for autoconf and MySQL
5799758993 Fix checkbox not being sent when unchecked + double settings tab in UI
9358057211 Fix CVE CVE-2023-22490 and CVE-2023-23946
c671ccf7a2 Add unauthorized_handler to UI
5ac64758e3 Merge pull request #417 from syrk4web/dev
fdd0da35d5 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
34d12cd552 Fix file manager always use the database now + create log file for UI if not exists
47ccd9f047 Log events back in the UI
39b0f3f195 fix + show one mult group
7828c0225a add checkbox fallback + DL script
e425eef9a5 Fix weird shinanigans when saving services config
b75bc0344b Adjusting upgrade on file variables.env
79dabf7638 Change the way bunkernet check on which instance type it is
3f462fb3b3 Optimize logger
84f3a894fe Fix cache files not showing on UI
93933bde72 Fix custom conf MODSEC CRS being interpreted as MODSEC only
c22bccc763 Correcting nginx version for debian installation
8bedc9ce67 Correcting doc
3a60b34638 Modifying doc for packagecloud problem
9efa217090 Correcting fedora packagecloud problem
e3410058fb Correcting Ubuntu/Debian
60ac00f5fb fix inp value
6b13fbb844 change svg
c892050162 Adding Rhel integration
cb77a70106 change logs datepicker
8b0d8a9d3d remove log + fix service tab
facb597ee6 fix float buttons
89930f1a34 Remove encoding from Database engine args
6122d59d82 Update python deps
d3a02be59b Rhel cannot be supported yet
a51aa27e47 Add some checks and solutions to rare syntax error
ae8e65057b Fedora upgrade working Correcting backup during upgrade Database backuped TroubleShooting some errors with OS Centos working
77f41a0591 Backuping old confs working
8fcba30ab0 Upgrade Debian/Ubuntu working
2e9a0c79e6 fix select hover style
64961e3955 Remove unused imports
b662d8453b Update python deps and remove oracledb
e9d981a56e Fix checkbox being disabled every time
39418790a7 fix popover content
3d96fdb344 update dashboard
580f33e56c new file el is hidden on nav
4f6244e749 Lint code
1f20767565 Update Python deps
dcf9e301e4 Fix UI not exiting correctly with gunicorn
f1a28b01b7 Merge pull request #408 from syrk4web/dev
5739144e3d Fix bwcli /bans command
df7bbb9606 Update VERSION to 1.5.0
dd0f56bb0c Add password type for settings
d83d3aa3d9 Fedora working Modifying centos systemd Adding %postun to rpm Modifying postun deb Centos working
b85e6ee6b8 Updating to Fedora 37
ca0d88fcc7 Upgrading script: Ubuntu & Debian working
835f85d5d8 enhance input field style
c4b5ddb950 Add setting to intercept specifics error codes
86c81a6218 Merge pull request #407 from syrk4web/dev
e6cb5b0b09 Made the UI independent + update job download plugins
0ce5f216de handle password inp
44ce5381c2 Fix CVEs
12b4cfa226 Merge pull request #406 from syrk4web/dev
d7ee3ad667 fix file manager dropdown
efbcfd0e2c Beginning of automation testing for linux packages
50b83790a5 Merge pull request #405 from syrk4web/dev
bf1d19f33d remove prefix multiple input
4d49f2f4b6 Improving and correcting problems on packages
f5d87849a9 Fix errors in the UI when a service have multiple domains
d6d1dd1cef Merge pull request #403 from syrk4web/dev
0f5a734300 add condition for services
a5256dd80d Fix IPv4/Ipv6 CIDR regex
591a20cd86 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
c56fccbf20 Adjustements to upgrade
a3a5c1c740 Add ui tests requirements to the updated python deps
b1c99e4088 Add tests for the UI
65f2bf09b4 Remove the idea to store logs inside the database
7beb400b47 Fix stop gathering all the logs every time with the auto update
ab163ce134 Fix services settings saves and plugins deletion
6932f3dedb Add a new script to update python deps and update python deps
d143720750 Fix tar error when sending /etc/nginx to BW
9edf789ab8 Update python deps
4b3b9b3268 Merge pull request #397 from syrk4web/dev
557db479c9 refactorise logs script
13f1dadf5f Merge pull request #396 from syrk4web/dev
adf96cadc5 remove useless files
d2a634e7f7 plugins + global_config fix
1aaac2dcf3 Add regex for settings.json
871807b809 Add small fixes and tweaks
4c5172eda6 Correction of problems
331d58324e Fixing details
e9c1b0cf8c Adjusting some details
c220e5997c Linux UI fix
13fbbfb67e Update job database while locking the threads
ea4ceae7b3 Fix isPage logic in menu (UI)
8ee0ec88f9 Remove test files in UI
d81c526540 Lint ui files and change .prettierignore file
5cc80d2ba8 Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
a6295248c8 Merge pull request #394 from syrk4web/dev
38b59954a3 Lint yml files
146338de63 Refactor every .py file
fcd8d8746a open another tab for doc
051192791f change style
9c80cdb321 add plugin page logic to menu
7689dac76d Filter CVEs fixes in Dockerfiles
0c8dfaaab1 Update bw and autoconf Dockerfiles for let's encrypt
c5d3e77c17 Fix letsencrypt permission error and optimize the ownership commands in scheduler
8304116fdd Send more variables to the home page front
4379e21ea5 Show dirs of every services even if they don't have a custom config
148d9d2d4d Remove user override in the job scheduler when executing jobs
c6498eda7e Add new php-cookie-flags example
f97e056ff2 Update jobs
13fe4b6eef Edit core plugins regex + make COOKIE_FLAGS multiple + edit DB model accordingly
2b2eadf441 Merge pull request #392 from syrk4web/dev
342fe956f7 change data creating new service
bb7ca889ce enhance darkmode + fix + factorisation
cdc3cfc81d add toggle multiples + style
191c88238c Merge pull request #388 from syrk4web/dev
dbe49bb8f4 Update intro image
7bdc46057b Change how the edit works in the config (UI)
364ef13b52 Fix error by calling a method on the wrong variable
1142ace55a Fix rare error with the jobs return code
477e87a2f4 news script + multiples groups
a04f983a09 Merge pull request #385 from syrk4web/dev
e5574fbdc6 change flash messages style
b1ca472537 Small tweaks and handle services variables better
98bda4d1e6 Remove unused line in Templator
0b1be727f5 Optimized the storage in the Database
47526dc8a0 Merge pull request #384 from syrk4web/dev
00d3073b08 get custom method and check disabled state
02d10f619a Fix datepicker.js not being found because of the caps
da634af4a3 Accelerate send_files method
be0ee60cdd handle stop signals with the web-ui
064f9eef94 Remove lines that will never be use in save_config
ec15a4e88a Handle stop signals from Docker in the scheduler
c49f50da2a Move BunkerWeb entrypoint to the correct dir
48bbb5e39b Merge pull request #382 from syrk4web/dev
b944de9e88 change service multiple script
07ab3deb03 Remove unused lines in selfsigned job
a4e863f09c Update authentik and migrate the example to the 1.5
eeb810546a Migrate authelia example to the 1.5
e2b2505d83 Fix saving config for multiple settings
a0c2db7a09 Fix how the config is get from the database
4595295bd8 fix tab focus style + dark mode style
0bd6d56551 add flash script to login + enhance style
6f5aab11d4 fix footer padding
37380b977e fix get multiple settings only
3f6432f4b7 Merge pull request #381 from TheophileDiot/dev
ff84656cd6 Update examples + add static versions
0e29d9f1f7 enhance and fix
c195ffc864 Fix autoconf not working properly with the shared volume
291d64e29d Update community example + linting
4346322f74 fix services settings on modal open
f2daf7368e Merge pull request #380 from TheophileDiot/dev
ba9c16a5d7 Merge branch 'dev' into dev
0db1550f2f Changed the way jobs' cache files are downloaded
fa54ebd491 Made a few tweaks + change the plugins for the services modals
0290f509e0 add plugin_name (change values)
77931b623f add plugin_name
6560ca0869 test
0d0f1aa95d Merge pull request #378 from TheophileDiot/dev
03e98985ea Migrate more examples and lint
016a8cd6d7 changes
5263be27d5 Change the way jobs are downloaded + folder created in configs
7813b51db4 Merge pull request #377 from TheophileDiot/dev
c4bd535acc Add autogen back for docker and the autoconf
243c4ca78d Merge pull request #376 from TheophileDiot/dev
e9687a5b13 Remove unnecessary comments
8537eea89d Merge pull request #375 from TheophileDiot/dev
3c9574dae7 Linux: Updating nginx to 1.22
9f84e02d8e refactoring services modal logic
b105896b28 add rename form
ff83b342de fix issues
8e31672ac5 Merge pull request #374 from TheophileDiot/dev
b3d80d7a66 Generate requirements with python3.9 + use new resolver
6bbbe70eea Merge pull request #373 from TheophileDiot/dev
e33bad4b9a Fix comments + updated passbolt to support the 1.5
37f21c5d41 Temporarily comment the post fetching
343d9d09e8 Show plugin pages even if there are none
0a4f0eb57d Fix error with jobs wrapper
1d4998356d Fix darkmode + Add new variables to pass to the front
547021e7b0 Fix job fetching for never ran jobs
0954e82f48 Fixes some bugs in the UI related to the plugins
3c5f6002d6 filter script + manage files + fix css + enhance
e988aacf38 Merge pull request #371 from TheophileDiot/dev
cce181a295 Update customcert job
9ba06b64d5 Update README
7f2eadacc9 Update python version for the scheduler and requirements
8d6c3d0b85 Fix db get_config
cc748a0480 enhance responsive + add loader
3bafe137d2 refactorisation
e9dfb59f31 handle settings type multiple (fetch, add, remove) on services
8e5dda5209 Changed the way the config is get from db
368122181a start multiple add and delete logic
fee59a51e9 separate multiple from others inputs
50ba229146 upload plugins + jobs template + global enhance
94b0e6a0d5 Changes on the flashed messages
2e0a733cdc Merge pull request #370 from TheophileDiot/dev
103e4a0ae9 Update modsec CRS to v3.3.4
f0f9d7dcf3 Merge pull request #369 from TheophileDiot/dev
4dabe6dae6 Advancements in the examples migration to 1.5
115bfbdc13 Merge pull request #368 from TheophileDiot/dev
81ad9e9ac0 Update examples and add docker-proxy
82ab6c7c43 Revert "Remove unsafe deps in the requirements and install setuptools manually"
b578823a19 Remove unsafe deps in the requirements and install setuptools manually
7fb61b5ef1 No longer dump the jobs to the front
37ece3de10 Merge pull request #367 from TheophileDiot/dev
719d779e01 Start updating the examples to the 1.5
2889b2638f Merge pull request #366 from TheophileDiot/dev
3c3bb7f200 Fix the way we fetch the config from the database (with suffixes)
f0d0dac914 Add the variables back instead of the "_" so it doesn't create an error
62ab9944cc Fix scheduler errors with sqlite in autoconf
7391900513 Make the bunkernet not run in a thread to avoid errors
840ef8cf89 Fix typo in selfsigned job
5a95e67030 Edit the way the UI updates the config
34b5aba1cb Merge pull request #364 from TheophileDiot/dev
b7f60dbdc7 Update deps and requirements
a0634b5736 Merge pull request #363 from TheophileDiot/dev
c0efdf9c00 Replace /usr/sbin/nginx with nginx
db35e575e3 Rename variables so they make more sens
b22cc44d82 Change the way jobs are sent from the database
4e96e57e05 Make certbot compatible with 1.5
aaeda53002 Change the jobs logic + add support for arm
6577229226 enhance templates
844b06e286 Fix how the jobs are sent to the front
3a0727b5cd login template done
0f5756cfb4 enhance logs + prepare jinja variables
08e7c2104b plugins done + add name to settings
6b5d6e07ee Revert changes on the check_settings function
3ccc12d789 add dropdown + responsive
3ed3fbe991 Autotonf now update the instances too
e56f96d04b Update database model + Save instances to database + add the option to add logs into the database
c87c3637db start plugins template
3a5d14952d Made few tweaks with the home page + remove useless functions
55e76b2803 Fix path for dropzone's scripts
64d261acc0 Change the way logs are parsed
f13455d11b send timestamp with ms
7aac0c352e fix ms
fb2e41c11e logs params
2967ed98cd fix fetch
4f9b2120e0 test
f1e614fae6 change ternary operator for fetch
fa5719db7f fetch logs + liveUpdate filter
2a2f2f1e9b Fix scheduler error
2087167228 Merge pull request #361 from TheophileDiot/dev
fa98003f22 Thread the jobs run_once
89e8839bbb Optimize the regex for the core lists
51c5836ae1 change logs script/template + continue jobs
f61b4428b5 Merge pull request #360 from TheophileDiot/1.5
a96771881e Change the logs date format + start editing the logs endpoint
d30adf6709 Changing rhel
bf19cfe3db Migrating Linux to 1.5. Still some details to adjust to be perfect
0cd6ed1af2 When downloading new plugins, update the database properly + update job every time now
8f75af3d60 edit the .dockerignore
4f4beeef99 Create the database variable even when passing the variables, just in case
7347fe9bc8 update jobs only once
b509ce16e3 Copy the files after installing the requirements
64601ebf58 Remove useless warnings
c9238f9930 Merge custom configs generation to avoid repetition
192c6755c3 Update db for the jobs that are ran only once
c14765c6c6 Change the way jobs are sent and how we update external plugins
888bedd510 Change how jobs are send from the database
babb1c72cd Revert "indentation"
44c74f9be4 Revert "indentation"
984b6c5f05 ci/cd - speedup codeql by ignoring some folders not containing python files
355c947a4a start jobs template + enhance menu
272de0b8be ci/cd - fix codeql config path
d9fc713c4d ci/cd - move codeql config to file
c2503d63d3 ci/cd - add codeql
b098478bdd enhance service + darkmode script
fa1739439d ci/cd - init work on dependabot
82df3f17f7 ci/cd - init work
f02adf3001 indentation
c1031cb2c6 indentation
e8581ecb48 enhance news/menu/base + logs scripts
eb99d00daa Revert "enhance news, menu + end logs scripts"
a7d3d04522 enhance news, menu + end logs scripts
c7556a39af Merge pull request #358 from TheophileDiot/1.5
e02e9c9ec5 Edit how plugins work with the UI
f1d7add739 Merge pull request #357 from TheophileDiot/1.5
1252d1651e Add the jobs feature and add the link when using sqlite
2154c7f544 Update database default DATABASE_URI
7957f63b80 Merge pull request #356 from TheophileDiot/1.5
73668b476f Optimize plugin gathering
b3cfc1f01c Remove unnecessary lines and add plugins_errors endpoint
b57e50db2d Send needed settings with the services in ui
a0e66ab30e Change Database default path for the sqlite file
fdd393826f add ui work in progress
6b9a6a7e3f Merge branch '1.5' of https://github.com/TheophileDiot/bunkerweb into 1.5
277e37bce4 Revert "add ui"
05d4b77bbd Merge branch '1.5' of https://github.com/TheophileDiot/bunkerweb into 1.5
e7e43e64dd Add dark_mode to ui
d40a93cb72 Revert "add ui"
d102f027f2 add ui
b70d976719 add ui
7db7aee7c2 Merge pull request #355 from TheophileDiot/1.5
70844ca604 Fix database with autoconf
1a7d8978b1 Merge pull request #353 from TheophileDiot/1.5
93c74154ab fix fedora python deps bug
f2eabc0df6 fix centos python dep bug
d199f124b8 remove exits in ingress controller
3ec15eb4b0 Update the docs from dev
5a8f812560 Merge branch 'dev' (softly)
d214352b7b Merge pull request #352 from TheophileDiot/1.5
891757dab5 Add support for arm + change scheduler python version
8dd377562f Merge pull request #351 from TheophileDiot/1.5
630cf8b885 Change the way services are sent to the UI
b0c09b4def Merge pull request #350 from TheophileDiot/1.5
fa655e6f06 Remove no longer used install.sh and uninstall.sh
c8fbcbeaea Merge pull request #349 from TheophileDiot/1.5
32101c3dc7 Move UI deps, Make the DB compatible with PostgreSQL, MySQL and Oracle
035eed8f6c ui - add custom PYTHONPATH in Dockerfile
2a3e24bd28 Merge pull request #348 from TheophileDiot/1.5
3984c4b0da Separate deps and change prettierignore file and pyproject
47afdc88e1 Merge pull request #347 from TheophileDiot/1.5
01bb6f5e65 Stop converting the files content to base64 when sending them to front
c358747973 Return dumps of settings instead of the dict
a8f27ccb1c Merge pull request #346 from TheophileDiot/1.5
edce79936a Update the structure and the paths
04578aab3f Changing path Linux folder
5ae714fc70 Merge pull request #344 from TheophileDiot/1.5
f65a4cdd65 SMall tweaks on the UI + edit the ConfigFiles edits
06aa73fcfe Merge pull request #343 from TheophileDiot/1.5
0811aad7f5 Edit scheduler and change DB
858f6e00f4 Change python version
b279d02403 Fix BunkerWeb gen on start
ef7fa5b4f5 Merge pull request #342 from TheophileDiot/1.5
11bcd98243 Merge branch '1.5' into 1.5
bacef768c7 Add integration manually in bunkerweb
5ec179affd The UI get the custom configs from the database
0e6a5f3f96 Merge pull request #341 from TheophileDiot/1.5
eec00ba2bf Update the Database and make it easier to gen
479b556fb5 Merge pull request #340 from TheophileDiot/1.5
375776e7de Fix UI path_to_dict with the cache files
df62fd410b Merge pull request #339 from TheophileDiot/1.5
1f58d0c517 Edit dockerfiles
6c07f99674 Merge pull request #338 from TheophileDiot/1.5
069b45f37b Add some tweaks
850530cd0e Merge pull request #337 from TheophileDiot/1.5
01b4145524 Make the Database support every feature + updates
a12d013fc3 Merge pull request #334 from TheophileDiot/1.5
5f8353c114 Adapt everything so that the UI can work with every integration (some more tests are needed)
fe89625921 Merge pull request #333 from TheophileDiot/1.5
66fb266f8e Centralize Database and optimize requests
7a03ed33f1 Update pip in Dockerfiles every time
b09c05d3ba Update BunkerWeb deps
9c02d5f9e7 Merge pull request #330 from TheophileDiot/1.5
7d743e1981 Update the database and the core plugins accordingly
ce6f01cf03 Merge pull request #329 from TheophileDiot/1.5
9140dc3244 Optimize Database connection and ApiCaller
81307c82c2 Merge pull request #328 from TheophileDiot/1.5
0edef7c520 Use Python 3.11 where we can
fe774e0009 temp nginx is dead, long live to the IS_LOADING setting
0bf402fd7a Merge pull request #327 from TheophileDiot/1.5
48242b9a3c Get all config with generator
0b73ea856c Merge pull request #326 from TheophileDiot/1.5
09378458dd db.get_config() get entire config and doesn't filter anymore
1008490234 Merge pull request #325 from TheophileDiot/1.5
8b54762fc3 Fix db init with autoconf
cfaeb10133 Merge pull request #324 from TheophileDiot/1.5
7e53bfe553 Fix gen for Docker integration
54530d535d Merge pull request #323 from TheophileDiot/1.5
79eea0e998 Linting + starting to migrate bunkerweb to the 1.5
316b84ad3f Merge pull request #318 from TheophileDiot/Feature-specific-order-for-plugins
ba56c9f55c Merge pull request #317 from TheophileDiot/Fix-scheduler-error-reload-nginx-linux
a8f79e58f3 Merge pull request #303 from TheophileDiot/Fix-custom-conf-disappearing
b2a7e053bb Merge pull request #314 from TheophileDiot/Feature-blacklist-ignore
96e6562732 fix indent
01cecf14e5 Merge pull request #313 from TheophileDiot/Feature-max-client-size-edit-modsec
873ccad9b2 Add MODSECURITY_SEC_RULE_ENGINE and MODSECURITY_SEC_AUDIT_LOG_PARTS (#292)
97bf473e1a deps - add update checker for deps (#293)
5af2fb7783 Complex example using autoconf (#271)
bd4c94e834 Add specific order for core plugins and check them
a96a8a8c2f Fix incorrect message while reloading nginx + more details on error
446ff93a49 Add ignore blacklist feature
5fdcc9e583 add g/G to the available file measurement units
d207aa4bf5 Variable MAX_CLIENT_SIZE change the SecRequestBodyLimit value
57ad9d7ee0 Fix old custom configs where never deleted
7860aeab94 Merge pull request #312 from TheophileDiot/dev
cac220023e Fix small typo in autoconf integration
5d9dc88cc5 Merge pull request #307 from TheophileDiot/Restrict-access-IP-NET
40863f28a5 Merge branch 'dev' into Restrict-access-IP-NET
67d514b53b Merge branch 'master' into dev
51e96416d9 Merge pull request #304 from TheophileDiot/Fix-Endless-loading-after-update-service
ace1dfca25 Merge pull request #308 from TheophileDiot/Fix-doc
b9e5badd94 Fix last typos
a9865f8502 Fix typo in plugins.md
e3d0120a0c Fix minor typos in the doc
9214bb9392 Merge pull request #309 from TheophileDiot/Fix-flask-dev
80c1b225bd Replace flask development server with gunicorn
de0954fac3 Fix typos in the docs
27b4ff330c Add the greylisting feature
06f65ffe27 Change the exposed port to 7000
b0a887a155 Fix errors and warnings when editing a service
803ff8cb56 Fix CUSTOM_CONF_SERVER_HTTP disappearing after 60 minutes (autoconf)
94ce249d74 [#290] Fix typos in docs
478e980189 ci/cd - temp disable k8s test
8f44e108bb ci/cd - add docker system prune
72caf907a0 ci/cd - temp disable swarm tests
01acb1cf30 ci/cd - temp disable nextcloud/swarm
fc3c7892da ci/cd - add missing prepare for prod tests
2a04a56428 ci/cd - update ruby version for CentOS builder
6afdb298fa lua - fix pcall for asn/country mmdb lookup
04019a617a tests - fix nextcloud/swarm
34649bf33a docs - add Ansible to README
469a5343ec ci/cd - remove old linux packages before building
4244399eb1 road to v1.4.3 🚀
66029a316c tests - edit prod workflow
d0c245ba83 tests - fix bug when testing if a swarm stack is healthy
5633d5ff5f tests - remove mongo-express/swarm
61d57b4ebb tests - fix mongo-express/swarm
76f035e21d fix wrong DENY_HTTP_STATUS setting in docs, fix autoconf ghost/prestashop tests and some UI warns/errors
b35dbdffc0 tests - fix ghost/docker
7e226301d4 tests - fix prestashop/docker
8f273a929d ci/cd - fix missing comment chars
45f4e06ace road to v1.4.3
7fe58ddd57 tests - disable systemd start limit
561e64a890 tests - road to debian
29933fdebb tests - add unzip package to linux container
7915da6dfb docker - fix CVE-2022-3209
d8f6c27560 tests - fix configs perms for linux
cb56e7d04a tests - add chown for custom linux configs
e847343143 tests - fix linux/drupal (again)
4caae414d5 tests - fix linux/drupal
8a23b96bf5 tests - disable linux/moodle
a4fd701d5d tests - temp disable linux/proxy-protocol
39ed524f02 tests - add missing variables.env for moodle/linux
d0e3f3ae26 tests - call cleanup-linux.sh
b0fa57b056 tests - replace restart with stop+start for linux tests
ec11360853 tests - print logs when setup_test fails
3be348ebe8 tests - add haproxy cleanup for linux tests
884ca0f6d0 tests - add missing variables.env files for linux
e4321629f1 tests - road to linux tests 🚀
c277a33e9c tests - add missing which command for fedora
512c60c519 tests - add some debug info when linux/setup fail
e64cc29a8c tests - create /run/php folder for rpm linux distros
42d29743b3 linux - fix 755 perm on /opt/bunkerweb
505d5c2ae4 tests - fix behind-reverse-proxy/linux
70992a0b50 tests - fix haproxy logging again
7e5465c595 tests - fix haproxy logging again
f5606b6933 tests - fix haproxy directive
265742cd94 tests - haproxy add logs
0580662cc8 linux - copy current variables.env to make temp one
8e15e2a400 linux - set /opt/bunkerweb permissions to 755
17801caebd temp disable arm
552588adf1 temp disable arm
5849c66e66 tests - fix www.conf
052dc23466 tests - increase php logs verbosity for linux tests
331c7e9545 tests - add debug log file for PHP
f71ad0f656 php - fix fastcgi_params path
34c648830b trying to fix PHP bug in Linux
5c99a4b0e2 refactor linux/start.sh and fix tests/cors www copy
eb6f0d6737 tests - fix purging wrong folder for linux tests
6ea38b1f77 bunkernet - fix wrong import in register job
b5c07dda01 tests - add cleanup for linux tests
17b6b0fdc8 tests - fix PHP www.conf for Linux
512ed7200d tests - add cors/linux
d8071e4c43 tests - install php-fpm
790fa37aeb tests - fix behind-reverse-proxy/linux
6005a8f73b tests - fix behind-reverse-proxy/linux again and again
09f56a1c6e tests - fix behind-reverse-proxy/linux again
0c4d2edf12 tests - fix behind-reverse-proxy/linux
d53c54d4b8 tests - add behind-reverse-proxy/linux
093d426bc9 better management of registration with BunkerNet and fix syntax error in LinuxTest
3762c38741 tests - copy variables.env for Linux tests
55525abf15 tests - fix mattermost/k8s
23f8ec9571 UI - fix container CVEs
a38ca51380 docker - dont generate config if already present
e92938f004 autoconf - fix container CVEs
c2ad79a792 Docker - fix CVE-2022-37434
8eefb4bf53 examples - fix mattermost/k8s
6d1ef606f7 examples - fix nextcloud/k8s
95c4ce723d enable bad behavior on default server and various k8s fixes
e295b020e4 tests - increase redmine timeout and add pvc cleanups
1e499db505 examples - fix gogs/k8s
a642761366 disable bad behavior if client is whitelisted and fix redmine/reverse-proxy-multisite examples
115d517c71 tests - add delays
7c1474cd89 examples - fix moodle/k8s port number
305870cc22 examples - edit moodle/k8s port number
3df0f8505b tests - add delay to moodle
897528b730 tests - fix magento/k8s again
4f4c446f7b examples - fix magento/k8s again
69848dccc9 examples - fix magento/k8s
0516f0a839 tests - assign bunkerweb-controller to srv1
41524a9e3d tests - force pv
0d44b098f4 tests - fix prestashop URL
0e315dc5fc tests - edit prestashopHost value
5741391de6 tests - change k8s service type of prestashop to clusterip
6adff9cebd tests - increase timeout and remove pvc for prestashop/k8s
97a2caf06e tests - fix Kubernetes missing variable assign
865f4f1b56 tests - fix prestashop/kubernetes
e8305b0b65 tests - fix missing prestashop/kubernetes.yml
840b875f70 docs - edit plugins page
978bbe9ca1 examples - fix missing configs subfolder in nextcloud/bw-data
502c9f2fe9 examples - fix radarr/swarm
1c4f8bf55c tests - automatic volumes prune for swarm tests
b6e2ad22a6 tests - fix joomla/swarm
216686fc8c tests - add delay parameter
d648b1fbea tests - increase magento timeout
d3b725294f tests - wait until swarm services are running
a48200bc02 examples - fix reverse-proxy-singlesite/swarm
b429dd8043 tests - increase timeout for swarm healthy check
0440c61d0c examples - fix gogs/swarm
ae36b98992 docs - quick edit on PHP
9a83fadd82 examples - fix gogs/setup.swarm.sh permissions
09141f2047 examples - fix magento/swarm
edf5421bf6 examples - fix permissions for magento/setup-swarm.sh
c67564c7c8 tests - increase timeout when doing requests
b076370090 examples - fix mongo-express/swarm
ec35b0a547 examples - fix mattermost/autoconf
95e3022eba examples - fix autoconf/reverse-proxy-singlesite
d63538fd58 examples - fix wordpress custom conf variable name for docker/autoconf
e01b240723 tests - ignore error when replacing patterns in files (binary files)
217924fe46 examples - fix reverse-proxy-singlesite regex
bb6d02e0f6 examples - escape dollars in reverse-proxy-singlesite compose files
5c42fb58d7 tests - fix reverse-proxy-singlesite
2f8c5a1e9f examples - fix host for reverse-proxy-multisite
af866e8256 edit docs/integrations for ansible and fix examples/mongo-express compose file
e90d4cc7e2 tests - fix json for reverse-proxy-multisite
70ac3c01b3 tests - fix missing arg no_copy_container
07a962466b tests - inline configs for docker/autoconf
87c57c67c7 tests - refactoring on the road, still needs some work
8fb03a3171 tests - on the road of refactoring
dc8570ca87 tests - add status type
1513785705 tests - refactor mattermost example
4e7d795ea6 tests - support custom cleanup-kubernetes.sh script and refactor some k8s tests with helm charts
cc9d228abd update compose version to 3.3 for swarm examples so config directive is supported
1819571473 remove trailing space in DockerController and add missing bunkerweb prefix for autoconf-configs example
324feb593d autoconf - fix missing configs update for DockerController
22398d5678 cors - fix typos in autoconf.yml
5119c8da7c gogs - missing setting for autoconf
0fca93e3e8 tests - sleep 30s between autoconf tests
17e14f4d53 tests - fix wildcard with sudo
3a46d318ee tests - remove only content of subfolders
4eff0c3f9d tests - fix behind reverse proxy url
bf58a17b8a gogs - add setup-docker
08d8bc8804 tests - remove whole subfolders in bw-data
b38f7c54e6 tests - add kubernetes-configs and fix missing s in urls
06f7fb096e tests - fix docker-configs (again)
b7101eb475 tests - fix docker-configs
a08b51bd03 tests - fix gogs expected string
b2bcfb8c7f tests - fix hardened expected string
d3014b42f7 examples - refactoring in progress
7eae497194 tests - prevent default rate limit
be21b3933a tests - fix sudo cp again
7bb881aa39 tests - fix rename
a607bd67cb tests - replace python cp with sudo cp
6d06a32cc9 tests - list example_data as root
c5526ef2fd Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
75b2ae868b tests - fix example_data path for docker
72965e230e Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
201e2cf0f3 Correction logs Linux
2033974442 tests - init cors and fix example_data path for autoconf
d8c8ceab36 tests - fix LinuxTest setup and init work on integrating examples with the new test system
c02d888b32 examples - rename setup scripts for drupal
9a9f9ebf36 examples - fix linux-setup.sh for drupal
6e381ee028 tests - disable copying bw-data files for k8s and swarm tests
0ee09d47da tests - force removing directories with AutoconfTest
da2f6cb4f4 tests - force removing directories with DockerTest
d1d2e51a31 cleanup tests directory and init tests refactoring for drupal
c14b08faa7 examples - edit authelia configuration.yml file for Linux integration
80fee58e47 bunkernet - add default api server in jobs
37690a7a4c configs - enable default server if TEMP_NGINX is set
b3fdd109a8 linux - fix wrong variables.env path when running jobs once
193449512a Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
f5ede78974 examples - fix authelia variables.env
767a7ab315 Adjustements doc Ansible/Linux
81b3703660 wait until Linux test container is initialized and fix variables.env for authelia
44fbf03158 authelia - extract tarball to tmp
02db54ce0d examples - follow redirect when downloading authelia for linux
14d61854e5 add sudo to linux dependencies and curl to linux test images
6f35561fae tests - fix cp and end_fun for LinuxTest
2505bc015f tests - add linux to authelia kinds
b1df38374f tests - temp enable docker
410212b158 tests - run docker cp in a shell
f2ac7bca74 tests - fix typo in LinuxTest
a0948923ec tests - copy local files for Linux tests
458ebe07ff tests - dynamically find deb/rpm name
2205043e75 tests - fix LinuxTest.docker_exec()
d370f1b053 tests - add missing chmod import to LinuxTest
bf6dd93aa7 tests - replace rmdir with rmtree for LinuxTest
773517311e Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
850a8057cf ignore CVE-2022-30065 until we have a fix
e6271ccd63 Final proofreading FPM
f0ddb8328e docker - fix CVE-2022-30065 for autoconf
f260bcf23c Small adjustements
fa319ec101 tests - fix argv len check
0294064532 tests - fix typo in LinuxTest
f47ab0adc5 tests - integrated LinuxTest
eca010231c FPM Linux/Ansible Doc
4d61e96e47 tests - LinuxTest on the road
c9c7303460 tests - fix linux.sh
58a82ddcd6 tests - copy Linux packages to local directory
8062d043c1 tests - fix Linux dockerfile path
0a09f8a750 fix CVE-2022-29458
bb425bc361 tests - init work on Linux tests
aa729daebb examples - remove double $ from kubernetes authelia
7edd55544f fix k8s example for authelia and ignore error code when doing debug_fail for k8s tests
0fd77a8092 examples - fix typo in kubernetes authelia
720f36f473 tests - init kubernetes refactoring
ea98b453d1 tests - use unique domains for swarm tests
4bd0129e46 tests - also edit root domain
6e47b29919 tests - add sleep in the end of SwarmTest.init()
abc500a4d4 tests - fix domains for SwarmTest
3780477940 examples - fix authelia swarm compose version
4a5e50005b fix typo in SwarmTest and fix authelia swarm example
3b73c50c32 tests - ignore docker stack ps return code
ba6fddb56a tests - init swarm refactoring
9ecd2bd98d examples - add missing network aliases to authelia autoconf
7bbf77b7a5 fix authelia autoconf example and debug fail before cleaning tests
f02fe1ed91 tests - remove only subdirectory on new tests and add cleanup when test failed
0383cadd69 tests - fix compose filename for autoconf tests
aeba0ba72c tests - add missing AutoconfTest object
67608a463a tests - add missing decode
8b3b1291cc tests - from replace/rename functions to class method
1c5c81d2cd tests - add missing import
fa2d52d80f tests - remove useless log and return boolean from Test.end
68bf5ef850 tests - remove wrong cleanup call
424b37bec9 tests - change permissions as root
2780ee190d tests - add debug_fail function
07b0bb38dd docker - fix CVE-2022-29187 for ui and autoconf
b47c2696ee docker - fix CVE-2022-29187
fdb8ca3cad tests - replace internal _log with logger.log
eb59a9377d tests - init refactoring for autoconf
2e0542dbb0 tests - ignore case when performing test
0a996bf123 tests - replace match with search
48a6ba6328 tests - fix rm command
991ddb9eb9 tests - remove file as root
1e1d7d7f14 tests - replace variable typo in get request
ebc94f515e tests - add missing char when replacing Docker volumes
e4f6017d64 tests - replace example domains with test domains
dfc5f2e79e tests - export runner env
c07f85a424 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
ab57be6570 tests - fix missing copytree import and self parameter
5f79aea4bb fpm single/multiple docker&autoconf
cc760a646b tests - fix datetime import again
db2c35cb3f tests - fix datetime import
28f1b4f734 tests - rename variable
e1183a0d4c fix tests.json for authelia and exit when test exception occurs
16573a397e tests - do not run as root
de8cee491a tests - add missing imports
56afbd4577 tests - run as root
590ad46cd8 tests - fix missing chmod import and Test.init log call
8d580bc165 tests - fix missing Test import
a91fc73072 tests - fix indent and isfile import
773a37d456 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
b64af85262 tests - DockerTest on the road
0d3e1e2a13 Update the plugins docs
85217b57c3 Fix a typo in the plugin page in the docs
ba75154d07 Add url_for function to custom plugins templates
c055ec7ec3 Fix duplication in plugins
2c4efe9d0e Add Plugin Pages feature
795dfc0778 Add static map files
8b4b3f3b04 ansible docs
2e4758e948 tests - DockerTest improvement
c155227ec6 tests - init work on refactoring
dde1851416 tests - increase timeout for magento
e62523d1dc lua - use pcall with mmdb functions
658ab75049 docs - add ansible diagram
8d6397a6ba Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
f5c86cc4e2 examples - add cors example
8760110fba Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
cc4f0b26a1 Quickstart Ansible and integration
7b769361af cors - init work on core plugin for CORS
97e607110c linux - rename bunkerweb-ui.env to ui.env
c3ee7929be docs - change target of the web UI demo link to blank
969a1e5d70 Merge branch 'dev' of github.com:bunkerity/bunkerweb into dev
5bf59c85d5 docs - replace web UI gif with YT video
430f665cdc Merge branch 'dev' of https://github.com/bunkerity/bunkerweb into dev
5be21f9bf8 Adding www folder
afdd4de5a4 fix regex checks with *_CUSTOM_CONF_* setting, add doc about DENY_STATUS_CODE
5586b3733b misc - add DENY_HTTP_STATUS setting (403 or 444)
90e58f2612 fix ui.env path for Linux integration and add docs for autoconf with rootless docker
a00607af2e docs - add instructions for podman
e880b7d598 docs - add infos about Docker in rootless mode
fc925ccb11 edit docs typo for UI and variable typo in autoconf
5714221319 ui - fix CVE-2022-2097
287e763e0d autoconf - fix CVE-2022-2097
89f81140ae container - fix CVE-2022-2097 (again)
a5c98f7099 container - fix CVE-2022-2097
429214727b tests - fix data folder permissions (again)
6b1c5a93e1 tests - fix data folder permissions
fb85d1d2d1 autoconf - fix typo in variable
fdcbc8d361 custom conf - fix wrong path with multisite configs
b2bb93bcf8 examples - fix docker-configs again
2b59086f66 examples - fix docker-configs
e09d4901ea containers - fix regex for *^CUSTOM_CONF_*
3594618e4c examples - fix typo in docker-configs (again)
e443112819 examples - fix typo in docker-configs
738e3b6e1a containers - use python hack to get env var values from string
5ac80a135c containers - replace compgen command with a python hack because compgen -e do not display var with dots
8f258486ef fix multiple CVE with curl/libcurl and add autoconf/docker CUSTOM_CONF configs examples
2dc18a7942 autoconf - support both configs from files and autoconf
e0a7005062 autoconf - init support of custom variables using labels
385b7c4134 docs - add docs for custom config using labels
e25babe3d2 custom conf - docker
a5457a164c custom conf - init setting support
0a1e8be71f examples - add missing setup.sh for mattermost
70c60f2a9b tests - add mattermost and radarr
f2dfb01724 examples - edit mattermost and add radarr
1a8eef2c85 fix autoconf import for IngressController and init work on mattermost example
cb106a112e autoconf - fix indent in IngressController
492648eeb2 autoconf - fix 410 exceptions (k8s)
1425ad0b42 docs - update settings list
f7290b2c79 v1.4.2 release
c0a8a356c2 linux - include bwcli in /usr/local/bin
40007b0866 add slack to official plugins and init work on EXTERNAL_PLUGIN_URLS setting
6478512e48 scheduler - only send /data folder if apis are present
7aa6852d3c autoconf - fix missing scheduler in autoconf mode and missing apis list
7bba81b16b autoconf - fix wrong variable name for environment
5cb61380d7 autoconf - add missing call to ConfigCaller constructor
b2758cea76 autoconf - init work on _get_static_services method
a18d77aeee autoconf - init work on static server configs as env var
4a699ef6c6 fix missing local Linux images import in ci/cd, and fix bug related to jobs in Linux integration
5690a58ab9 fix IFS checking permissions
e55928a37b fix bwcli commands when using Linux integration
0f2388b1f2 fix permissions check when file has space in the name
2b43a9cbf5 Merge branch 'dev' of https://github.com/bunkerity/bunkerized-nginx into dev
5ecf39ee02 Fix web-ui example with X-Script-Name
ad091493c3 examples - add various certbot-dns examples
a65606c369 examples - add certbot-dns-ovh
cd0d70b8f6 cache dev Linux images in ci/cd and disable site config generation for autoconf/swarm/k8s
e21a35017a plugins - support log_default() hook, same as log() but for default server
c563731e86 autoconf - fix overwrite configs file when using Docker autoconf
3c417d2ff0 linux - fix fedora NGINX version in Dockerfile, fix missing arg when building DEB/RPM and force NGINX version DEB deps
970082f92e linux - force NGINX version in RPM deps
4a2504c3b8 reflect ci/cd changes to dev
fd0c7b1e53 ci/cd - add automatic build for Linux images
1e6d62ce79 fix packagecloud yank name
1a4e21481e docs - edit supported architectures for prebuilt Docker images
bcaca6f034 v1.4.1 release
424214fd56 add changelog and add missing s in authentik url
82b42d5b9c Merge pull request #259 from Brawdunoir/master
db4e2cf266 update linux docs, minor fix in ingress example and update default value for bunkernet job
0ef82619b8 temp disable automatic tests for authentik and test automatic arm build on dedicated hardware
f2655e331d remove arm build again, fix proxy_*_timeout directives and add authelia example
d51ae1c1b9 Remove USE_ before authbasic plugin settings
cd0438b8ce support REVERSE_PROXY_*_TIMEOUT settings, remove useless push in CI/CD and try to build arm on GH runners
f9a042526e add docs about compiling BW from source on Linux, add docs about packages pinning on Linux and fix regex for REVERSE_PROXY_AUTH_REQUEST and REVERSE_PROXY_AUTH_REQUEST_SIGNIN_URL
15ac64b05f let's encrypt - fix bug when AUTOCONF_MODE=yes
e0f8895e9a init support for auth_request and add authentik example
e852298352 don't send local IP to BunkerNet on default server, fix certbot new when MULTISITE=no and fix unknown reason in get_reason
972a284efd docker - drop support for prebuilt arm images
5258d8e58f docs - edit linux install procedure
acb4bea97d reflect CI/CD changes for master pushes
42067e864a GHA - temp disable armv7 build until we have a fix for cryptography dependency
217bddabfd GHA - different caches for armv7 and armv8 images
c5fba13674 fix GHA typos
1b21f9eac3 fix UI tag in GHA jobs
389e050943 fix links in docs and change cache location for GHA jobs
05a89c3037 fix registry URL in GHA jobs
a0ed8a27e9 add debug flag to GHA buildx steps
d0ac5e3059 update GHA actions version
b16f8f11ad update GHA actions version
a23ed06e66 fix typo in GHA jobs
6b9be078b8 refactoring of GHA jobs
8e198ed82e linux - fix documentation link in systemd unit files
c3b527afe8 actions - fix RPMs path
972e5471d1 actions - fix linux deb/rpm generation
b246c6d7e2 fix wrong branch name in actions and image name for linux tests
b78fd55427 fix freetype CVE
945241339a actions - rename main branch to master
1af2264fab temp stop push to private repo
6f28708c10 docs - add missing setting
a9f886804a bunkerweb 1.4.0
3a078326c5 Merge pull request #199 from Myzel394/patch-1
d43b82b757 remote API - only do action if 403
3850cacb9c prepare for v1.3.2
c00c7f46a0 lua - verify certs when doing HTTPS requests
163af4a49d prepare for v1.3.2
98e85eb99f docs - update security tuning sections : distributed blacklist and request limit
2e63bb0256 docs - reflect kubernetes/swarm changes into the doc
6546a0edb7 disable country ban if IP is local, update default values of PERMISSIONS_POLICY and FEATURE_POLICY, upgrade archlinux packages before testing
ab00381746 ui - fix ROOT_FOLDER bug in serve-files.conf
9f7097de0d request limit - fix some LUA code
24d6337a57 limit req - multiple url support
bfb5319c16 limit req - add burst and delay parameters
4c77a14825 use annotations as env var in Ingress definition, fix cidr parsing for reserved ips, fix missing empty when job is external, fix ping check for remote api and init work hour/day support for request limit
4e45fa3874 integrations - acme without shared folder when using k8s/swarm
a9a26b82d9 fixed typo
00d91dcaaa jobs - move certbot hooks to python
650ad7ea49 integrations - fix missing acme folder when using Swarm or Kubernetes
7045c0c2b6 jobs - fix encoding error on CentOS
f0f432487b remote API - ban IP from distributed DB
fdc02be051 remote API - basic send of bad IPs
fb799765a4 jobs - fix str/bytes hell
d53f02b5b3 api - client side (untested)
7b9722fac4 jobs - add remote API
31ed4ff834 centos - update ca-certificates in install script
bc5f3ee88e fix CVEs and add init to Debian test image
a6b21aae8c fix typo in settings.json, bump Debian to bullseyes, init support of Arch Linux
64aa9c2530 init work remote API
5d94cc8f43 docs - init changes about storageless
e7ee21cbb5 antibot - fix path for templates and data
a0f8cbdac1 antibot - fix LUA typo in recaptcha mode
178d7a6849 Merge pull request #182 from Nakinox/patch-2
ca81535bb3 swarm/k8s - less storage, more API
062fa3e78a integration - continue work on storageless config for k8s and swarm
95f2d2af9c Update docker-compose.yml
e55dff8128 api - init work on storageless configuration
f0f1c79d40 v1.3.1 release
3d2f5e2389 conf - add REVERSE_PROXY_KEEPALIVE
b079c99fb9 Merge branch 'patch-15' of github.com:thelittlefireman/bunkerized-nginx into keepalive
2e403c6ebc config - add CUSTOM_HEADER
f75a05584e config - add REVERSE_PROXY_BUFFERING
148edf6814 tests - add github token to trivy scanner
a19d8aa041 Merge pull request #180 from vepito/vepito-patch-1
480cff86bc Merge pull request #179 from thelittlefireman/patch-16
35df3423d0 missing blank line
29f4069de7 switch the use cases
72e4384596 Fix typo related to non-HTTP configuration
a4a2647737 jobs - fix docker reload and only do cron jobs when necessary
892e533694 Missmatch in docs with modsec folder
a056141609 deps - use ModSecurity v3.0.4 instead of v3.0.5 to avoid memory leak
0772a9ba8e docs - edit badge version
33e0ffd5b1 Merge branch 'master' into dev
4cb3e089e3 linux - git SHA1 commit in install.sh
8808f161c5 docs - dev to master links and VERSION upgrade
1c60ec9804 tests - fix volume wait with linux tests
b13ff34569 add REDIRECT_TO_REQUEST_URI variable and edit environment variables docs
58f2926e95 docs - various examples fixes
9de628f3eb Missing proxy_set_header for keep alive
6cc1abc893 Allow keep alive connection when ws is off
a824e15684 linux - rename cron
fd52bb7c8d linux - fix cron jobs
0938b20eb8 UI - use sudo for Linux integration
b948e08bd5 UI - use systemctl on Linux
fde14d1621 linux - fix unknown scheme error and do nginx reload as root in UI
8a4eb3f2a3 remove .site files (gen), uninstall remove folder at the end (linux) and run jobs when reloading local instances (UI)
2a0b84074a ui - fix bug when Docker is used but Swarm is disabled, add jobs from API /reload and fix docker-compose doc
aec22d1a81 ui - edit docs and fix CSRF
028fc61b4f docs - add dns_resolvers and permissions to Linux
a903960b4c docs - fix missing subfolder in Linux quickstart guide
a28f06f08f linux - run temp nginx to solve let's encrypt challenges
6c8bc6b349 tests - fix Linux systemd bug when writing to /tmp folder
2b3b4a5c3f linux - systemd support
57e4247eab linux - systemd unit file
f9d4e90894 docs - edit k8s php service port and append suffix to hosts
4f024ec566 docs - add DNS_RESOLVERS for k8s integration
bc46fc3d4c append suffix to ingress hosts
0be1da18a6 remove old conf before generation, dynamic DNS for PHP and reverse proxy and swarm fixes in quickstart guide
3cedc0ae13 quickstart guide fixes
f1d5c07cc1 autoconf - various kubernetes fixes
c9a6b6c27d autoconf - fixed infinite lock
b199464a73 various bug fixes related to Swarm integration
4a9d64d9d9 add favicon to web UI and fix some tech docs
31536a3fe2 linux - reload as root
7b47c7304f examples - minor fixes in architecture images
83e7ce9cde examples - polishing before next release
0ad5159a33 docs - add changelog for next version
6240d8e28d ui - read variables.env when Linux is used
2f80f64dd5 docs - last polish
e98da9b637 docs polishing and fix install.sh gpg --verify
d9f7706969 docs - web UI
75f299978c docs - special folders
ef34b2cec1 docs quickstart / multisite
9b9110214a docs - quickstart guide / php
9e2a8070e4 docs - quickstart guide / reverse proxy
733136ac1a docs - init quickstart
fa172ce5a9 docs - linux integration
f6a9184ae9 docs - k8s integration
d37dc2b629 docs - swarm integration
f7c115edff docs - add autoconf doc to Docker section
dfbb091361 docs - init integrations/Docker
8e4a65feca fix global.env generation and add web UI gif to README
0573ba7b5a ui - centering things without breaking sticky navbar and menu
bcd421de09 ui - various bug fixes more or less related to UI
2ec28c79cb docs - fix README toc
fec60a4b14 ui - minor styling fixes
dd7d1a2c78 ui - fix example, subpath behind reverse proxy and add socket proxy rights for swarm
0c1883472d docs - edit kubernetes overview image and add configuration section on the readme
4e6eab794d docs - fix wrong swarm image
b23135b663 docs - add docker and kubernetes images
ace9be3979 docs - add autoconf and swarm images
8958e5107c docs - add overview image
b2cfc15c2a security - add security policy
94bef079a8 examples - add architecture images
50266c2285 examples - add the last missing README.md stubs
22e2fe869f examples improvement - added some README.md stubs
55186bbef5 examples improvement - hardened, joomla, kubernetes, load-balancer and moodle
d8286ced7c examples improvement - certbot cloudflare and wildcard, clamav, crowdsec, ghost and gogs
44de2253d2 examples improvement - traefik alternative, autoconf reverse proxy and basic website
6d73fbdedb examples - update authelia and autoconf-php
b6809266af autoconf - let's encrypt support for ingress controller
4e178b474c autoconf - basic ingress controller support for kubernetes
021147f9d9 autoconf - fix wait and redis
5a26d06c87 autoconf - fix infinite lock and honor DOCKER_HOST env var
bc01427def ignore CVE-2021-36159 and redirect job logs as root when using autoconf
652614f41b autoconf - use DNS for Swarm instances discovery
24d9cce82f autoconf - various bug fixes in Swarm mode
f866ef6325 autoconf - minor fixes, prepare Swarm testing
1a32e7c02c autoconf - various bug fixes with DockerController
7180378d0c autoconf - init Config refactoring
6e66571fb9 various cleaning
f44e41cede jobs - lock and reload management
26db144df4 autoconf refactoring and fix CVE-2021-36159
a68ad53c3f autoconf - controller classes
01bba1d3f6 autoconf - init refactoring before k8s integration
0597074438 k8s - init work on parsing ingress rules, helpers to setup on k8s, basic examples
bc3c17a2f0 examples - init k8s example
556836b499 autoconf - init annotations parser for k8s
22612f1757 minor edit on Linux tests and init work on k8s API
50c279617b jobs - improved log and reload management
ef8969e2cf certbot - add USE_LETS_ENCRYPT_STAGING=yes/no env var for using staging or production servers of let's encrypt
0dc2a5ec25 edit visibility of Job members and integration of a generic checker for nginx
9a207dfdc5 fix missing import in generator, expand networks to ips in jobs and init work on a generic checker with shared dict and redis support
a60fbbb5b3 hotfix - fix CVE-2021-33560
a1b9010d9e pull v1.2.8 fixes when applicable
3178545c2f v1.2.8 release
36b8760d4d resolve bugs on the stable version
8bb6676f58 settings - fix PHP_* again
4234f82c01 settings - edit EMAIL_LETS_ENCRYPT regex
b99fb27df5 fix missing parameter when calling reload in autoconf and edit REMOTE_PHP_PATH regex
876fcd1814 conf - add WORKER_PROCESSES
26dc796155 jobs - fix line edit
280d189864 jobs - avoid reload when not necessary
5f845680ff jobs - edit referrers and user-agents data and init work on autoconf integration
d12369c900 jobs - various bugs fixed and old files removed
366e39f591 jobs - SelfSignedCert, runner and reloader
71741b2d34 jobs - cache management
2fca4cd014 jobs - logging and error management
fccf14627f jobs - python stubs
b3684efaf6 jobs - init work on refactoring
82548378ae crowdsec - move as external plugin
b926b0db62 examples - use example.com instead of website.com
6713f56ec1 linux - fix centos install
2b923c05c1 compile and install LUA 5.1.5 to /opt/bunkerized-nginx/deps and introduced REDIRECT_TO feature
71cf3cf5c1 use local sources when building Docker image, add LOCAL_PHP and LOCAL_PHP_REMOTE to settings.json and fix pip bug related to removed working directory
8e3dbf1c70 fixed some fedora bugs, support LOCAL_PHP and LOCAL_PHP_PATH and sample variables.env
49ada6a8c5 linux - init work on fedora support
947e86f7c3 linux - uninstall script
a12561a85b remove useless nginx-keys folder and add lua_package_cpath to http conf
6b19bd0264 deps - add cjson LUA files to deps folder
6738b28b99 deps - move dependencies to dedicated /opt/bunkerized-nginx/deps folder to avoid messing with the system
010c0fd6d4 rename gen/requirements.py to requirements.txt, add git/bash to Docker deps and fix typos in README
ecf30a71f7 deps - init work on single install script
ffc4fc950e deps - manual compile/install of libmaxmind and upgrade lua-resty-core
b9955699b7 Merge pull request #152 from thelittlefireman/patch-11
860fd1ace5 Upgrade desps
eb5d13fb8d Upgrade lua-nginx module to 0.10.20
ca41987cd6 Upgrade corerules to 3.3.0 & modsecurity to 3.0.5
3af1b397fa UI - digging bugs from services, still some work to do
72a09eac6d UI - add CSRF protection
0d3f7d3925 UI - admin authentication and bootstrap update
6be082e0a9 UI - init work on admin account
4947796c99 UI - fix instances bugs
ba197dfa43 UI - bind gunicorn to 127.0.0.1/0.0.0.0:5000
4dd1ff8479 UI - copy from helpers, systemd service and instances page update
f771ec43f1 ui - init Instances class to support Linux and API for Docker/Swarm
e241b0c939 logs - move everything from /var/log to /var/log/nginx
d03a1a6e3b linux - add jobs.log
2c9c9fb62c linux - run master process as root
deb28c5991 autoconf - fix folders
2ea7331dad jobs - disable post-jobs when SWARM_MODE=yes on SIGHUP
92ee40819e whitelist - fix /.well-known/acme-challenge whitelist for let's encrypt
2ccfb26e81 docker - fix CVE-2021-33560
70f9f8417e templates - add missing new line when necessary
c4aef1d606 authelia - choose portal or auth basic mode
a385183d88 authelia - various fixes
cec47f3a75 body injection feature and add authelia to documentation
c894c8370e authelia - add variables to settings.json
f73b088f79 authelia - initial work
130c6752dd Merge pull request #148 from aFresquetIntech/dev
f97ea67855 Create .env
8504299861 Correction
4a8da40cf2 reverse-proxy-zammad
0114c7b09f examples - edit basic PHP
bebe89afb0 linux - edit path for default errors, ignore comments in variables.env, install/prepare certbot
b2cceb608c linux - fix centos
37f5e4ed71 linux - fixed debian/ubuntu but still some work needed on centos
98568a57c9 linux - fix /var/log and typo in daemon directive
4991922878 linux - fix daemon directive and rights on /etc/nginx
bcb8acc364 linux - add RX permissions to /opt
a9279053a4 linux - add executable right to gen/main.py
60057a17e3 linux - fix tests docker cp and pass single -c argument to su
d0366fcc0d linux - started work on bunkerized-nginx command
b448d91ca8 actions - fix centos test and docker image name when pushing
e309ce6fd5 docker - fix permissions on /opt
37090dc66e actions - fix manifest error with buildx and load
6bb6facd88 add load: true when autobuilding images and move from /bin/sh to /bin/bash
a1fcbd4b83 fix actions and configure
09a2a4f9e5 github actions refactoring
1e02368e8a linux/docker - common /opt/bunkerized-nginx folder
bbb5134a39 fix configure arguments and CRS include
b0f93fb840 fix Dockerfile again
c892f037db fix Dockerfile
731c0f61df linux - init work on installer
93543d3962 Linux - use the same dependencies script for Docker
5ec9e6ab49 linux - CentOS 7 install
cc0d0af8d2 linux - ubuntu installer
43d2097d14 linux - nginx install on Debian
f880e5e2aa linux - continued work on install helpers for Debian
9636013f5e linux - started work on installer
15bdb076c8 hotfix - fix docs get_git_branch
d62c4f466d v1.2.7 release
ad52ef3260 autoconf - prevent race condition by checking health state
3bd3b6fd7a Merge pull request #145 from thelittlefireman/patch-10
e41acc20c2 Upgrade ModSecurity-nginx to v1.0.2
3c721dc2a0 add HEALTHCHECK to Dockerfile and append 10.0.0.0/8 to DNSBL whitelist
491d879fec jobs - cleaning the mess when using autoconf without swarm mode
52534510ec fix bug when AUTO_LETS_ENCRYPT=yes and certbot can't resolve challenges
2c7337576d jobs - fix syntax error
9e4961ccb5 docs - rename sitemap to bypass rtd rewrite
01857d8ac0 gen - display the reason when ignoring a variable
ab9f9e0a4c jobs - fix jobs when MULTISITE=yes
29dc64ca30 actions - add Docker cache to speedup auto build on the dev branch
b5cd4e0375 docker - build and push images from GitHub actions because of future DockerHub restrictions on autobuild
16101144c5 self-signed cert - fix bugs
95510e6e1d settings - add underscore to CUSTOM_HTTPS_CERT/KEY regex
dd5890e760 geoip - fix bug when using GeoIP
c3a437fa82 docs - rename the sitemap to avoid conflicts ?
518ddd3236 docs - custom robots.txt
177a82ee6e docs - automated sitemap.yml
39db7b368f v1.2.6 release
9442e59141 jobs - fix jobs in Swarm mode
fcc6b3b5e4 various bug fixes related to Swarm
678ad70b01 docs, various fixes and certbot-cloudflare example
e8f5db0b29 docs - add plugins system
8295f6aeba plugins - clamav example
388fc1a0e8 plugins - started basic plugin system
62217a3210 add contributing guidelines and license
53e433b1a4 readme - replace some badges
f640157b1f Merge pull request #138 from bunkerity/feature-request-template
d646f3e5b7 Update issue templates
4b31d005eb crowdsec and generator fixes
d2135c19c0 docs - road to v1.2.6
8cda1baf77 fix web ui multiple variables and add default error pages
445032406b dnsbl - disable checks when IP is local
74fb015366 web UI - init work on using docker-socket-proxy
ee178de6ab web ui - mostly finished templating integration (needs some testing)
7323525b69 ui - show only multisite vars for settings
82e47f147d ui - Dockerfile fixes and missing get_config function
2db967ad1d templating - road to web ui
1d96620ae6 templating - init integration into web ui
99c259bf18 templating - prepare integration into ui
c7b81cfc10 various bug fixes related to HTTPS
dfce0c06dd autoconf - fixing various bug when SWARM_MODE=yes
0f8e56a668 templating - fixing bugs with autoconf
f950abdc24 templating - started integration into autoconf
4a73ae8197 various bug fixes on templates and nginx update to 1.20.1
e2f02ee91e templating - prepare integration for autoconf
a991b262ef remove ClamAV because of GPL and started work on read-only filesystem
a8bc17e836 templating - started integration into docker image
ec19f93081 templating - added missing features in site templates
23aa053003 templating - auth basic support
289ad106cb templating - multisite support
bbc5bbc9e9 templating - fix some site templates
633a07686f templating - init work on site templates
996c45df42 templating - init work on global templates
801530baf3 templating - road to full jinja2 templates
c65dda3917 templating - init work on templating with jinja2
ea891969c1 templating - updated settings.json with global settings
698ae17c49 templating - init work on generic settings management
6645632846 antibot - basic pow with javascript
16e5ede130 antibot - custom templates
8260746fe1 logs/lua - add logger tool
de560490d3 fix LUA array variables and add LOG_LEVEL to the troubleshooting section
96db3a450d log - add LOG_LEVEL variable
73543f4b0e hardening - add no-new-privileges
d9bb97be50 lua - move global vars from lua to site config (untested)
863283d090 started work on moving variables from .lua to nginx
600484b16e crowdsec - fix bugs and update example
7c6a13c549 examples - improve nextcloud example so it works with webdav clients
b3bb4ec40f remove unnecessary dependencies and update doc about certificate bundle
69f4657208 examples - fix typo BAD_BEHAVIOR_STATUS_CODES
d02985d213 check permissions for missing volumes and add comment about permissions on examples
b0ca85ff75 v1.2.5 - performance improvement
2f115c444d Merge pull request #131 from bunkerity/issue-templates
7f15741ea2 Update issue templates
288b8eb851 docs improvement + road to v1.2.5
61c08fb97b docs - troubleshooting
01ef47a669 docs - security tuning improvement
71515a9101 doc - volumes list
a33d0658c6 docs - road to a beautiful documentation
0b3ff6a9f4 bad behavior - move from fail2ban to pure lua
eb2d0d330d performance - rsyslog and fail2ban removing
5bcbb38638 doc - official document started
ca660b2501 init work on official doc
3a34436cd8 add AquaeAtrae example for ROOT_SITE_SUBFOLDER
b1d03cd11c performance - move bad user-agents and referrers checks from nginx to LUA with caching
42c3fb8740 add sandbox allow-downloads to the default value of CONTENT_SECURITY_POLICY
f1c043604a add missing backslash in the quickstart guide and update autoconf examples with the depends_on directive
fd61df205f performance - move external blacklists checks from nginx to LUA
009d6fb5ae choose connection and nofile numbers, increase error_log level to get modsecurity rules, add MODSECURITY_SEC_AUDIT_ENGINE var
ba4185a42e jobs - fix automatic reload
70976d0fbc fix user-agent not blocking and add documentation on bundle when USE_CUSTOM_HTTPS=yes
062a39c63a integrate AquaeAtrae work - add ROOT_SITE_SUBFOLDER
83841b290a jobs - edit adren work on external blacklists
10dc58cb6d Merge pull request #126 from adren/patch-6
668754686c Merge pull request #125 from adren/patch-5
84b1933f63 Merge pull request #124 from adren/patch-4
15f6d0a32a Merge pull request #123 from adren/patch-3
e628361a89 Merge pull request #122 from adren/patch-1
f8d71e067e improved way to generate user-agent file
02ae3b6bd3 change IFS before subshell
2fb0e7c473 deduplicate list of user-agents
9adcc2f1a7 more optimized way to generate map referrer file
7b98db4d14 improve the generation of blocking file (abusers)
ddb2b85916 improve generation of block file (Tor exit nodes)
da1a460a64 huge improvement to generate blocking file
07be626842 hotfix - fix API in autoconf swarm mode
3bb164395e hotfix - move API_WHITELIST_IP edit to lua.sh
bc2568a172 v1.2.4 - nginx 1.20.0 support
5ec74880d8 update README for v1.2.4
f84fd7c9a2 fix permissions issues for autoconf and fix volume for ghost example
6521d7a27a fix client cache so it works in combination with reverse proxy and examples update
813607fbc3 improve crowdsec example and disable modsec logging when not necessary
843644f806 log - replace some WARN tags from LUA logs with NOTICE to avoid confusion
19fa0eb25f log - print modsec_audit.log to make debugging easier
b4df287228 log - send logs to remote syslog server
5ce41edc03 api - whitelist IP/network for API
a3cfb50b4d example - fix certbot wildcard
25494acace example - wildcard certificate with certbot
a98dae1fb6 fix CVE-2021-20205 and examples update
1a7abab570 nginx 1.20.0 support
42b7a57f01 fix autoconf bug when removing config with multiple server name and increase default LIMIT_CONN_MAX for average website with HTTP2
02f9fbe5fc autoconf - fix certbot bug when multiple server_name for one service
69fe066777 autoconf - fix bug when multiple server_name for one service
74417abc9c fixing bugs - run as GID 101 instead of 0, different permissions checks in swarm mode and disable including server confs in swarm mode
ba7524a419 fixed LUA bug
b55aafb997 finding the LUA bug
deeb7a76a2 Merge pull request #117 from thelittlefireman/patch-9
ee8aaa4e7e fix lua crash 2
605d59a45c Fix lua mistake
b85c991b6e bug fixes - /usr/local/lib/lua rights and syntax error in site-config
0d3658adf0 REVERSE_PROXY_HEADERS - use proxy_set_header instead of more_set_headers
0b22209c96 documentation - userns remap feature
e44a1f3e14 added the uri to limit_req_zone key to limit bruteforce attack on a specific resource instead of the whole service
aa614f82f9 print error when permissions are wrong on common volumes
c03d410b0a refactored whitelisting of user-agents
e190167bfc CIDR support with whitelist/blacklist IP
31e72dce1c fix /usr/local/lib/lua rights and multiple server_name support with autoconf
b8105fc558 feature - whitelist URI
e73c10fd80 crowdsec - fix permissions on /usr/local/lib/lua and on /var/log files
a122a259c0 minor fix on AutoConf logs and auto disable etag with reverse proxy
7c4894d3b8 autoconf - fix remove event, generate config from nginx vars, more logs
533c2a1034 fix sed script when writing site env
5611d544d6 remove reference to USE_PHP
397182f18d add link to twitter account
c5c5fb17b5 v1.2.3 - swarm support
017a7780fb README update, default cron update and new parameters to ui
34d9db7a8b web ui - bug fixes
361c66ca61 fixed bugs with MULTISITE variables and swarm example
afc6678855 road to v1.2.3 - fixing bugs
c40fb33175 road to swarm - automatic reload after jobs
93ad3c0b51 road to swarm - let's encrypt fix
ceed904882 road to swarm - still some mess to fix
b8027d2bac Merge pull request #102 from thelittlefireman/proxy_custom_headers
8d03a14a6a Merge pull request #103 from thelittlefireman/fix_truncated_3
d16f4517a4 Enhancement add custom proxy headers #97
89ca91b3ff Fix truncated variables (last commit)
6a714e2ece road to swarm - fix race condition on initial configuration
0d3da03534 prepare /www directory, fix log socket path and whitelist acme challenges path
33163f65b3 init work on disabling root processes
a2543384cd road to swarm - add openssl to autoconf, fix api_uri in LUA, fix file rights
3591715f21 road to swarm - fixing things
95f7ca5b2d road to swarm support - needs a lot of testing
816fa47cbb introducing SWARM_MODE env var
7756c2df3c Merge pull request #98 from mromanelli9/fix/readme
7509ec2f2c basic API to be used in swarm mode
6e93575e16 remove ALLOWALL from X_FRAME_OPTIONS options
ba4c977550 remove old anchor
781e4c8cbb autoconf little work on swarm support
e04c783d1e autoconf - init work on swarm mode
e12b656bd5 Merge branch 'patch-7' of https://github.com/thelittlefireman/bunkerized-nginx into dev
cae05447d3 custom crontab values
4b58e22657 Merge branch 'patch-5' of https://github.com/thelittlefireman/bunkerized-nginx into dev
6b56e21a09 Merge branch 'whitelist_ua' of https://github.com/thelittlefireman/bunkerized-nginx into dev
544a09e8da Update lua-cs-bouncer
8386dd4a2a custom config outside server block
f052a25168 Merge branch 'pre_server_confs' of https://github.com/thelittlefireman/bunkerized-nginx into dev
43750f5536 Merge pull request #73 from thelittlefireman/patch-4
9142afdb54 Merge pull request #72 from thelittlefireman/patch-3
66c4fed791 Fix env variable with space are truncated 2
f41846e9d6 Fix env variable with space are truncated
92cc705b92 Reduce memory usage : set cron tasks at different hours.
47fb3a05b3 Upgrade crowdsecurity/lua-cs-bouncer
5940f402c7 improve default tls security
d9ca275d53 Add before `server {}` config.
8353bd9c85 Allow to add a whitelist by site on user-agent
d902e2f297 Add last missing reverse proxy header
1a8b8043c8 Add LIMIT_CONN var to server.conf
65120a7e97 Add USE_CONN_LIMIT info to Readme.md
b093a47554 Add default values for LIMIT_CONN
73dbf03c9a add USE_LIMIT_CONN zone to global config
6ee746236a Add USE_LIMIT_CONN to site-config
fa935eb6e3 edit nginx.conf to add limit_conn
cf231e13cb Add limit-conn.conf
d5d699252c v1.2.2 - web UI (beta)
50f95420b5 README update - road to v1.2.2
dc382c3e04 various fixes - autoconf process order, multisite config and examples
0026328f25 edit default FAIL2BAN_IGNOREIP subnets
9023ab5aed Merge pull request #67 from thelittlefireman/patch-2
124474ad66 Edit README.md to add FAIL2BAN_IGNOREIP
eac9c8f513 Prepare FAIL2BAN_IGNOREIP to avoid self blocking
1ee490de6d Prepare FAIL2BAN_IGNOREIP to avoid self blocking
825e6a747e crowdsec v1 integrated
09a984c86b started crowdsec v1 integration
fd7afa17b3 fix missing ';' in include
b9b7fdfcc4 Merge pull request #63 from thelittlefireman/patch-1
58e1d66bc7 UI - minor alert css fix
7026643f8a UI - fix missing MULTISITE env var when managing services
06f688fe97 fixed stop and reload operations
c65b78b1cc UI - instances/services backend update (needs testing)
f9b9b9546f UI - introduced multiple config parameters (like reverse proxy) in frontend
b5fe6335c7 UI - instances backend started
951f3957fd UI - default service values
0f520b8914 UI - services backend started
569ad75c42 UI - config.json refactoring
bd7b6af668 UI - load config template from json
459bb8ea1c UI services modals and default CSP update (fix new tab links)
208b5acb30 UI - minor services list improvement
59b2fed416 UI - basic services list
a4871a915e Add missing proxy headers
026783f018 Fix missing reverse proxy headers
8115853453 Fix missing proxy headers on site-config.sh
c5f283b00e UI - minor front update
03ce7a6483 fix modsec double inclusion when MULTISITE=yes
3f7e2c54b3 JOBS - fixed some job script and right temp nginx reload
bb0f46d8af JOBS - fix job_log
c5b32dfc4c fix CVE-2020-1971 again
9a4f96ad18 fix CVE-2020-1971
f258426f55 JOBS - fallback to old conf in case reload failed
119e963612 JOBS - be more verbose about jobs failure/success
373988670a Merge pull request #54 from thelittlefireman/patch-4
2a956f2cd3 Fix #52
15a37a8682 UI - minor UI improvement
3a3d527907 UI - basic read fixes
e6b5f460c9 UI - basic read from docker API
002e3ed2ba security tests for autoconf and ui
7b55acbe8b web UI example and CVE-2020-8231 fix again
559b7835d4 ui - automated build
4ea01bd93f print some logs when blocking bots
a73891a3b8 fix CVE-2020-8231
26199f52c8 remove additional / in modsecurity include
5c3f94a84f edit reverse proxy var name in README
043fcdc136 autoconf - automated build
b86ded3d1c autoconf - multi arch Dockerfile
92569679b6 dynamic reload of nginx by sending SIGHUP
15e74e4860 more work on standalone autoconf
fd0a6412d0 init work on standalone autoconf
419fdfc86e fix auth basic when MULTISITE=yes
0bc1f652b4 v1.2.1 - autoconf feature (beta)
6c7461e298 integrate thelittlefireman work
d01bc5e014 Merge branch 'patch-1' of https://github.com/thelittlefireman/bunkerized-nginx into dev
75c69c8105 last fixes before next release ?
e26b8482aa Add missing EMAIL_LETS_ENCRYPT parameter
f618c73e6c road to v1.2.1
78c1e5c676 examples - same domains for internal tests
481e10d3ef reverse proxy - websocket example
aae2a71983 autoconf - php example
f3bf04e390 dirty fix to disable default server when MULTISITE=yes
36cbb927c0 autoconf - various fixes
95153dbc5d moved UA, referrer and country check after whitelist and blacklist check
26947179a4 moved UA and referrer check to LUA
88f27bfeb8 autoconf - reverse proxy example and pass default vars
3cc1615c4d fix user-agent script
8bacf722a6 Merge branch 'fix/variable-naming' of https://github.com/mromanelli9/bunkerized-nginx into dev
2bfc4b41fa first work on automatic configuration
587d4a92eb incorrect variable naming
c311d0c825 add crawler-detecter bad UA
0d03f49ebc websocket support with reverse proxy
2112c306a8 custom log format
8f9dcc5ab8 last fix ?
2fe05d3fd3 fixing scripts again and again
db04c0345c fix referrers again
ed8bd902b1 fix referrers script
3a7aa5d9c0 block bad referrers
9ec9de6ca2 multiple lets encrypt certificates when MULTISITE=yes
791342cbe6 fix LUA DNS code when answers is nil
2f23671c3b fail2ban fix when MULTISITE=yes
e350a717ff fix default DNS_RESOLVERS
e818acb0d1 prestashop example
b92f74ed98 dirty fix for CVE-2020-28928
9688e66508 check all vulnerabilities with trivy
700dfc0184 v1.2.0 release
42e4298b5c readme update - v1.2.0 changes
813b42cfa9 php and nextcloud examples fix
58fcf0a725 added Permissions-Policy header
5879183802 custom headers to remove
2032596880 automatic trivy scan
eaf817d57a php config and examples fixes
dd7768c856 whitelist/blacklist country at LUA level to avoid SEO issues
fe1d724c9f country whitelist/blacklist
0635eb368b various bug fixes
fbf81c94be cached blacklists data
ed451877ae examples update and multiple REVERSE_PROXY_* on single site
0f18e9c552 reverse proxy support via env vars
8f7cb5318e proxy caching support
60fbbc1013 move some http directives to server
0f0593456c various fixes
8cdc155ac0 multisite examples and certbot renew fix
1abe1da89e brotli support
f18c054b42 gzip support
4dea1975e2 client caching
c2b05c463c fix BLOCK_COUNTRY bug and add support for ModSecurity custom confs when multisite=yes
2da51d92a6 multisite - bug fixes
bd7997497b autotest through github actions
e89e34a84f auto test fix
ff02878dd8 auto test setup
44b016be93 road to multi server block support
36c4f3e065 v1.1.2 - CrowdSec integration and custom ports
798f6c726d examples - nextcloud fix and tomcat
761c14a0b8 custom HTTP and HTTPS ports
4a07eca696 crowdsec integration
e1274a6082 passbolt example
3ec81cd849 Fix broken line in README
95752ff0c4 v1.1.1 - TLS 1.2 support
8623510f8c https fix
95a76b11fa peterkimzz integration and dhparam
b0e4740a7d [New Features] - Added "HTTPS_PROTOCOLS" environment value to enable to customize TLS version. default value is "TLSv1.3". (because TLSv1.2 sometimes needed) - READMD.md
e843608575 README update - v1.1.0
2f68667893 logrotate copytruncate
1d63838ee6 examples - fix port number
e4bdd4af5d examples - nextcloud fix and moodle
2c33463af7 renamed logrotate script
9ff210bed8 wordpress and nextcloud examples
0b73018865 install CRS by tag in compile.sh
e1356e3eb0 logrotate.conf update and some cleanup
34a0da444f logging fix again
022a653ebc display fail2ban.log and logging bug fix
4c11a9125c automatic docker tags with VERSION
88b52478c3 automatic Secure flag on cookies
ce82e22dbe remove integrated PHP
397415211e antibot - check IP with sessions and recaptcha
68d7988551 tor hidden service example
16eab0f631 README update
6a22f7711c load balancer example
222426854e Merge pull request #13 from FacundoAcevedo/patch-1
d63c57985e Fix typo in the link in the TOC
e19a7c693d run master nginx process as non-root user
7a8795883b dockerfile fix - compile
01095bd72f gpg fix and secure git clone
0e6729c62e check GPG signature of nginx sources
040b6a2234 Merge branch 'patch-1' of https://github.com/fabianmoronzirfas/bunkerized-nginx into dev
5f62120e4d fix(typo): add missing »find«
e8503b9cc5 ARM build fix
676571e4a4 use nginx:stable-alpine as base image
34254a09e9 examples and DNS_RESOLVERS fix
81cff3648c readme update
e166b1fea9 awesome gif resized
f08bba8cc2 awesome gif
ccf4392280 session secret fix
c1d44387b5 basic antibot feature through recaptcha v3
135126e3f4 readme fix
ac251b0f69 Merge branch 'master' of https://github.com/ZILosoft/bunkerized-nginx into dev
ac242c9774 Update README.md
2909b79891 basic antibot feature through captcha
446ee3761b basic antibot using javascript
6e1c43c4cd basic antibot feature through cookie
652d8ac979 fixed typo in manifest
de1952b5f9 README - toc update and title fix
16a458db23 README improvement
f27d80e0d5 various fixes and lua logging
fc3d911ff7 improved blacklist/whitelist/dnsbl with lua
ef7d842ff0 arm64v8 auto build and master manifest
0e57049832 manifest for automated builds
aaef370079 improved logging with rsyslog
6e3c2ddcc2 integrated ajarmoszuk work
919b418d58 Added the ability to self generate SSL certificates
fb1a0182e2 Added the ability to see Real IPs if Nginx is running under another proxy (such as Traefik).
2e0a8307d1 i386 fix again
181003efe1 i386 fix
fca7bb0758 automatic builds
764038d40d README update
f4c43a2148 block proxies and abusers
3a9afa47b6 Merge pull request #5 from ajarmoszuk/patch-1
2c12df3b96 update default req_limit values
2f967a9f47 Update entrypoint.sh
eba5f6280e req limit
44155b5d62 dnsbl ipairs fix
829c1c6974 some fixes and README update
f3721a50db sitewide auth basic
b56e4e765a dnsbl feature
1654e913a4 lua support
3e5ca583c9 remote PHP-FPM support
bcd17dbea2 automatic geoip update
14ec9f3e63 logrotate and compile fixes
5b5e6e33a6 awesome logo
1aa1dcf50d logrotate support
f30a06d943 syslog integration and fail2ban improvement
cd19841ec3 readme - details about modsec include order
94b29a6ca2 fixed some include orders
bf605ce59d custom root folder and little fixes
b14b09ad5d default CSP update
4f5e5f013e readme improve
76bd069f25 php POST max size and custom HTTPS cert
1d6ab7275f http basic auth fix
472ec31cd2 readme fix
caa415e126 http basic auth
8561d47be0 create a customized image
4bede275fb fix typo
efcf937109 inspectFile fix
ccaaa8b57d readme fix
b83111ad17 realip, minor fixes and README
a2be2e8ae1 improved README : format, modsec, fail2ban and clamav
48a0036d26 updated readme
bf0bef289d clamav support
193070b148 fail2ban support
716e54e597 custom http/server confs and better modsec customization
43403f69ee disable default server
69ac95b29e block country and various fixes
ecf2de8b72 multiple let's encrypt domains
8427564f4d user-agents escape fix
c56bde4f0c fix certbot-renew.sh syntax
834afa1327 http to https redirect
d5f8c7647d custom modules and write access
5bcdb0219e f**k markup ?
3233f3b76f fix readme
62eda8173b improved README
09e6b50e58 custom conf
5d16f6a8f2 fix README
1b5f6deb22 cookie flags and maxmind update
ea1dbc617c updated readme
0b703ea559 content security policy
1e642e2f13 initial readme
e90060ce68 initial work
70f849fbb5 Initial commit
REVERT: bea1be3bbf doc: Fix typo. (#97)
REVERT: d502e41996 bugfix: nginx crash when accessing uninitialized pointer.
REVERT: 91eb0db9ef bugfix: update handling of multiple headers changed in nginx 1.23.0.
REVERT: e536bc595d bugfix: fixed build error with nginx >= 1.23.0
REVERT: 00be83f1dd doc: update the description of nginx compatibility. (#131)
REVERT: a4a0686605 travis-ci: upgrade dist of travis-ci to ubuntu bionic. (#124)
REVERT: f85af9649b travis-ci: bumped the NGINX core to 1.19.9, remove clang compiler mode from travis to save credits. (#121)
REVERT: d6d7ebab3c travis-ci: bumped the NGINX core to 1.19.3. (#114)
REVERT: af8160e017 doc: we now work with nginx 1.17.x (up to 1.17.8 at least).
REVERT: 743a4bb1a2 travis-ci: bumped the NGINX core to 1.17.8.
REVERT: 552e216a0d travis-ci: switched to OpenResty's fork of LuaJIT.
REVERT: 7255ae95d9 travis-ci: bumped the NGINX core to 1.17.4.
REVERT: 380e994d31 doc: updated the nginx compatibility list.
REVERT: ab40f34464 travis: bumped the nginx core version to 1.17.1.
REVERT: d3a920ad34 travis: clone the lua-resty-core and lua-resty-lrucache repositories.
REVERT: 085fbbc28f travis: bumped the nginx core version to 1.15.8.
REVERT: f1fadb9e29 tests: t/input-cookie.t: fixed a failing test case with our newest version of ngx_http_lua's LuaJIT alert log.
REVERT: a9f7c7e86c tests: added a passing test for overriding Cache-Control header created by proxy module.
REVERT: 55fbdaba96 doc: bumped version to 0.33.
REVERT: f389f11785 tests: added new valgrind false positives in the latest nginx core.
REVERT: 79ac9547b7 tests: valgrind.suppress: removed too aggressive suppressions in nginx mem pools and luajit lj_str_new.
REVERT: a799a97ba3 tests: minor tweaks in valgrind.suppress.
REVERT: d63cf91edc tests: removed extra file-trailing newlines.
REVERT: 4512b82a82 feature: add wildcard match support for more_clear_input_headers.
REVERT: 7b0762aba6 doc: adjusted the doc for the use of wildcards in header names. thanks Dejiang Zhu for the report.
REVERT: 8096689630 doc: updated copyright notice.
REVERT: 732874a0fc travis-ci: several improvements and tweaks.
REVERT: 491df7f8d8 doc: fixed more_clear_input_headers usage examples.
REVERT: 5aa76052d5 doc: bumped version to 0.32.
REVERT: 04916fbc45 tests: skipped the newly added test case that cannot run in check leak test mode.
REVERT: 30fb25901c bugfix: more_set_input_headers: skips setting multi-value headers for bad requests to avoid segfaults.
REVERT: 84241e444b doc: bumped version to 0.31.
REVERT: 2054d92618 doc: typo fixes.
REVERT: 72c81c922d skipped check leak mode for two test cases using malformed requests.
REVERT: fbab586961 doc: claims that we work with 1.10.x since it is essentially the same as 1.9.x.
REVERT: 4fccc2a196 bugfix: fixed a typo in an error message.
REVERT: 0a5bad9073 bugfix: when the nginx core does not properly initialize r->headers_in.headers (due to 400 bad requests and etc), more_set_input_headers might lead to crashes. thanks Marcin Teodorczyk for the report.
REVERT: 7fc33974dc doc: fixed the release year.
REVERT: 4cb061b575 travis-ci: use "prove -r t" to run the test suite and test against nginx 1.10.0 instead of 1.8.1.
REVERT: cf016595f6 various coding style fixes.
REVERT: 4612cb62dc Merge branch 'master' of github.com:openresty/headers-more-nginx-module
REVERT: 63b8039d7d doc: release 0.30 and compatibility with nginx cores as far as 1.9.15.
REVERT: b120f866ec Merge pull request #52 from chipitsine/master
REVERT: 182d12a19b fixed "exit 0" on failed build
REVERT: 981a6914a4 feature: initial travis-ci support.
REVERT: f5559ec571 doc: documented the dynamic module support in this module.
REVERT: cabd03a867 doc: typo fix.
REVERT: 2f93b9a310 feature: now this module can be compiled as a dynamic module with ./configure --add-dynamic-module=PATH in NGINX 1.9.11+. thanks Sjir Bagmeijer for the original patch in #44.
REVERT: cc19196c71 minor test tweaks.
REVERT: e77178fd2a config: some refactoring.
REVERT: 443753c53a doc: ngx_openresty -> OpenResty.
REVERT: f14b3667ca doc: stated that we are compatible with nginx cores as far as 1.9.7.
REVERT: 88f797a5cb bumped version to 0.29.
REVERT: e8822662b0 bugfix: changing the built-in header X-Forwarded-For via more_set_input_headers or more_clear_input_headersmight not take effect in some parts of the nginx core (like $proxy_add_x_forwarded_for).
REVERT: bbaa39fd96 added a .gitattributes file to correct GitHub's language tag.
REVERT: 51dcf09014 doc: bumped version to 0.28.
REVERT: 473fc9d8e8 bugfix: fixed errors and warnings with C compilers without variadic macro support.
REVERT: a744defdfa removed the useless code snippet enabled by the unused NGX_HTTP_HEADERS macro. it also triggered a compilation error. thanks Vadim A. Misbakh-Soloviov for the report in #39.
REVERT: c8b4b0a958 updated docs to reflect recent changes.
REVERT: 5031112c0e tests: fixed the test plan in input.t.
REVERT: 42d8019f04 bugfix: setting (builtin) request headers Upgrade, Accept, Accept-Language, Depth, Destination, Overwrite, and Date might not take effect in standard nginx modules like ngx_http_proxy, ngx_http_headers, and ngx_http_dav.
REVERT: bc48417d87 bugfix: when the response header Content-Type contains params like "; charset=utf-8", the -t MIME-List options did not work as expected at all. thanks Joseph Bartels for the report in #38.
REVERT: 4648e827ec doc: we no longer sync from the nginx wiki site.
REVERT: d0e1a74087 util/build.sh: removed $LUAJIT_LIB and /usr/local/lib from the RPATH list.
REVERT: f6a745a160 bugfix: clearing input headers If-Unmodified-Since, If-Match, and If-None-Match did not clear the builtin "shortcut" fields in ngx_http_headers_in_t which might confuse other nginx modules like ngx_http_not_modified_filter_module. The first header gets "shortcuts" fields since nginx 0.9.2 while the latter two since nginx 1.3.3.
REVERT: 4b20caa633 tests: disabled the test cases exercising multiple http {} blocks since this undocumented feature has been disabled since nginx 1.9.3.
REVERT: ccaede8899 doc: bumped version to 0.26.
REVERT: fdf4eabef3 minor coding style fixes.
REVERT: d20bf26a80 fixed compilation failures with nginx 1.7.11+ configured with --with-threads.
REVERT: a7f81f20be updated doc to reflect recent changes.
REVERT: 02fd3778ab style: fixed the coding style of labels.
REVERT: b4f9e524a1 optimize: removed the unused C function ngx_http_headers_more_rm_header. thanks Markus Linnala for the catch in #28.
REVERT: 2a33f3d017 doc: made it clear that more_set_headers always override existing headers with the same name.
REVERT: 95d8178b05 suppressed a valgrind false positive in libdl.
REVERT: 0c6e05d312 updated docs to reflect recent changes.
REVERT: 61af6c9eed doc: documented the limitation that we cannot remove the "Connection" response header with this module. thanks Michael Orlando for bringing this up in #22.
REVERT: 6e9dd00bb2 added the missing bit in commit 40414ca1. thanks Edwin Cleton for the report.
REVERT: 6d4d619b37 minor coding style fix.
REVERT: 40414ca1f6 fixed a warning from the Microsoft C compiler. thanks Edwin Cleton for the report.
REVERT: 4b718e786f various coding style fixes.
REVERT: 7a6fd11368 doc: bumped version to 0.24 and claims that we work with nginx 1.4.4.
REVERT: fe2a70ea51 updated valgrind.suppress for i386.
REVERT: 540c6770fa bugfix: more_set_input_headers did not completely override the existing request header with multiple values. thanks Aviram Cohen for the report.
REVERT: bb92718431 doc: minor markdown formatting tweaks.
REVERT: b66e2ef1be removed the plain text README file.
REVERT: ad3d8d622a bumped version to 0.23.
REVERT: 35f8faf541 doc: added syntax highlighting to the code samples.
REVERT: 9c4b6ee1dd minor coding style fixes.
REVERT: 1caf5cc413 bugfix: removing request headers might lead to memory corruptions.
REVERT: 566cebf002 minor coding style fixes.
REVERT: 6f06b3720d doc: markdown: added a "table of contents" seciton and lots of "Back to TOC" links.
REVERT: 5f1425508a docs: eliminated links to the nginx wiki wherever possible.
REVERT: 211760978b bugfix: more_set_input_headers might overwrite the value of the $host variable with bad values.
REVERT: 5a70b6b468 bugfix: more_set_headers and more_clear_headers might now work when multiple http {} blocks were used in nginx.conf.
REVERT: 3bc9f941b4 bugfix: eliminated use of C global variables during configuration phase.
REVERT: 035a5f3d31 updated docs to reflect recent changes.
REVERT: 6d19a39805 fixed the test plan in sanity.t.
REVERT: 31d0e78b7b bumped version to 0.22.
REVERT: 3392914d27 added a (passing) test for setting response headers for HTTP 0.9 requests.
REVERT: 625c550aa5 updated .gitignore a bit.
REVERT: 147c2737b0 bugfix: segfaults would happen in more_set_input_headers and more_clear_input_headers when processing HTTP 0.9 requests. thanks Bin Wang for the report in #14.
REVERT: 26f96fb419 bugfix: we did not properly initialize the location response header field in commit b21333e2d. this is a further fix for issue #7.
REVERT: 00ee3cfcf8 massive coding style fixes.
REVERT: b21333e2dc bugfix: segfault might happen when using more_set_headers or more_clear_headers in the case that the nginx core initiated a 301 redirect. this issue was caused by an optimization in the nginx core where ngx_http_core_find_config_phase, for example, does not fully initialize the "Location" response header after creating the header. thanks Brian Akins for the original report in #7 and Vladimir Protasov for the insight in chaoslawful/lua-nginx-module#260.
REVERT: ec05b8981d updated docs to reflect recent changes.
REVERT: be5ea9a6d6 bugfix: segmentation fault might happen in nginx 1.4.x when using more_set_input_headers on the Cookie request headers because recent versions of nginx no longer always initialize r->headers_in.cookies.
REVERT: 0df17d017b bumped version to 0.20.
REVERT: 376b7bc233 massive coding style fixes in ngx_http_headers_more_headers_in.c.
REVERT: e9f060d50d added test cases for the recent fixes in the Cookie request header handling.
REVERT: 2da1aaa9f5 fixed places where we should return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR; also fixed a clang warning.
REVERT: a45243e2f7 bugfix: modifying the Cookie request headers via more_set_input_headers/more_clear_input_headers did not update the Nginx internal data structure, r->headers_in.cookies, at the same time, which might cause issues when reading variables $cookie_COOKIE, for example.
REVERT: e9b817509c bugfix: modifying the Via request header via more_set_input_headers/more_clear_input_headers did not update the special internal field in the Nginx core, "r->headers_in.via", when the ngx_gzip_filter module is enabled.
REVERT: c7feaa395e bugfix: modifying the X-Real-IP request header via more_set_input_headers/more_clear_input_headers did not update the special internal field in the Nginx core, "r->headers_in.x_real_ip", when the ngx_realip module is enabled.
REVERT: 27c2137c67 bugfix: modifying the Connection request header via more_set_input_headers/more_clear_input_headers did not update the special internal flags in the Nginx core, "r->headers_in.connection_type" and "r->headers_in.keep_alive_n".
REVERT: 95ed9ce74e bugfix: modifying the User-Agent request header via more_set_input_headers/more_clear_input_headers did not update those special internal flags in the Nginx core, like "r->headers_in.msie6" and "r->headers_in.opera".
REVERT: 22ed8a4143 updated docs to reflect recent changes.
REVERT: 9ba50727f2 updated tests to reflect recent changes in ngx_echo regarding the $echo_client_request_headers variable (commit agentzh/echo-nginx-module@2adcf59ec5.
REVERT: 27bcbd290f updated docs to reflect recent changes.
REVERT: 5f9684bbdc updated .gitignore a bit.
REVERT: d658a2f908 bugfix: more_clear_input_headers would result in memory invalid reads when removing the 21st request headers. thanks Umesh Sirsiwal for reporting this issue as chaoslawful/lua-nginx-module#176.
REVERT: 0f6132327b removed the sendmsg/ngx_channel valgrind suppression rules.
REVERT: 07702cf8ba updated valgrind.suppress for valgrind 3.8.0.
REVERT: bdb1068b6c updated docs to fix my English name. also fixed an issue in the sample code in docs that Transfer-Encoding cannot be cleared. thanks koukou73gr.
REVERT: 658698495b updated docs to reflect recent changes.
REVERT: 3147c8b4fc updated .gitignore.
REVERT: 278ba7d207 bugfix: fixed a set-but-not-read warning from the clang static analyzer.
REVERT: 05a862b334 fixed compatibility with nginx 0.7.65. thanks Banping for reporting this.
REVERT: b7c8cfcd36 updated docs to reflect recent changes.
REVERT: 2f5f6601a3 updated .gitignore.
REVERT: 4ea0a75ad2 bugfix: more_clear_input_headers did not remove all the instances for the builtin headers or custom headers. bugfix: more_clear_input_headers might accidentally remove request headers that are not specified at all and leave the specified headers with just empty header values when removing multiple built-in headers. thanks Matthieu Tourne for reporting the issues.
REVERT: de80b79722 added a (passing) test for rewrite + more_set_input_headers.
REVERT: 81c8750f15 updated valgrind.suppress for linux i386.
REVERT: cf7e2d5877 updated valgrind.suppress for the "hup reload" + valgrind/memcheck testing mode.
REVERT: 33a82ed11c updated valgrind.suppress and .gitignore.
REVERT: aa2ae0f8b1 updated valgrind.suppress.
REVERT: 4b4bfca98a updated valgrind.suppress.
REVERT: 34e2389212 updated valgrind.suppress.
REVERT: 3580526017 allow use of the DDEBUG macro from the outside (via the "-D DDEBUG=1" cc opton).
REVERT: de77fd22c3 updated docs to reflect recent changes.
REVERT: 719ffa26a8 reindexed the test cases.
REVERT: 5f082e5647 Merge branch 'master' of github.com:agentzh/headers-more-nginx-module
REVERT: 006ecab226 bugfix: removing builtin headers in huge request headers with 20+ entries could result in data loss. thanks Chris Dumoulin for the patch in github issue #6.
REVERT: 4f911f68d9 updated valgrind.suppress for gcc 4.6.
REVERT: 87595f7445 optimized the previous commit for padding header value strings with '\0'.
REVERT: 7a719b8aef bugfix: the more_set_input_headers directive might cause invalid memory reads because nginx request header values must be null terminated. thanks Maxim Dounin.
REVERT: ffdda45351 bugfix: more_set_input_headers did not handle the Accept-Encoding request headers properly. thanks 天街夜色.
REVERT: 6cd7ae83cb bugfix: Cache-Control header modification might introduce empty value headers when using with the standard ngx_headers module.
REVERT: 55ad2f48ec fixed the download page links in docs.
REVERT: be6a17e768 updated docs to state that we work with nginx 1.0.8 and 1.1.5.
REVERT: f7cb29e248 fixed setting Cache-Control response headers. we should properly prepare the r->cache_control array as well.
REVERT: 5de933dc40 we should not set header->hash with ngx_hash_key_lc, not simply to 1.
REVERT: b3c6230a3c use Test::Nginx::Socket instead of Test::Nginx::LWP.
REVERT: ff219e96e2 fixed a bug when setting a multi-value response header to a single value: the single value will be repeated on each old value.
REVERT: 3790855327 confirmed that we work with nginx 1.0.6.
REVERT: 9057b09916 fixed on-demand hander/filter registration trick for HUP.
REVERT: 936a555d6a fixed the "<" and ">" symbols in the markdown doc.
REVERT: 5d484ecc78 updated links in docs.
REVERT: 8b78aec445 renamed the wiki file.
REVERT: 264e523fa6 added internal cross links to README.markdown.
REVERT: e6c6358562 added more hyper-links to README.markdown.
REVERT: 61db52f559 removed unused utilities.
REVERT: 12ccabb154 fixed source lines exceeding 80 cols; checked README.markdown.
REVERT: 78286ca0d8 confirmed that we work with nginx 1.0.5.
REVERT: 137855d9d7 release v0.15.
REVERT: 5fac223792 now more_set_headers supports overriding charset in Content-Type. thanks ML.
REVERT: 2c629dee0e fixed an issue in more_clear_headers: we should remove all the instances of the headers specified, not only the first occurrence. thanks 李杨.
REVERT: b1c4273ae5 back-ported a bugfix from ngx_lua: in output header set, we should always set the header->hash to 1. thanks moodydeath for reporting it.
REVERT: 6a12aa5243 confirmed that we work with nginx 1.0.2.
REVERT: ef15b439f0 minor updates.
REVERT: b27e5d92ab minor coding style fixes.
REVERT: 28c62d1d27 added more tests for Accept-Ranges and also fixed a bug when clearing this header. thanks Bo Blangstrup.
REVERT: 7bba2a12bc fixed the links to the test suite.
REVERT: 2cbbc15d68 updated the documentation to reflect recent changes.
REVERT: 3641ccfd58 updated .gitignore.
REVERT: fb2d8935d6 now we postpone the rewrite phase handler only once rather than on every main request previously. this will save some CPU cycles on every request.
REVERT: d732166ebd removed the bundled Test::Nginx module from our repos; also raised test/t to the toplevel directory.
REVERT: 19e17f08b6 fixed two spots where we did not check against null pointers when allocating memory.
REVERT: 592845e904 now we use the 2-clause bsd license.
REVERT: 8bd248f0d7 updated README from the wiki page.
REVERT: df422fe8ab minor tweaks of coding style and .gitignore.
REVERT: c808e71eb6 renamed the source file names a bit.
REVERT: c5b6141b4b minor coding style tweaks.
REVERT: b4abf2bbf6 Merge branch 'master' of github.com:agentzh/headers-more-nginx-module
REVERT: 80bcb021b6 Update Test::Nginx.
REVERT: 442f866381 updated Test::Nginx.
REVERT: 8447e58c5d updated Test::Nginx.
REVERT: 780408eff1 Use build farm's default server port in tests.
REVERT: 27735dd306 Update Test::Nginx.
REVERT: 9508330b04 releng work for 0.13.
REVERT: 7c6b53e245 fixed a bug in rewrite phase postponing algorithm which may cause eval {...} running after "if". thanks Liseen Wan (xunxin).
REVERT: 7d2db6fa01 enabled the no-pool-nginx patch in our build.sh script for nginx 0.8.41.
REVERT: b140336073 added a test case for adding a header with an empty variable as its value (from Piotr Sikora).
REVERT: 435fee6d33 updated readme to reflect recent changes.
REVERT: 079fa9507d fixed a vim typo...
REVERT: e64e736af8 we should explicitly clear r->headers_out.content_type_lowcase or it will defeat the gzip filter module.
REVERT: 55cbcab47d added tests for issue 3 ("breaks mime types") on GitHub but cannot reproduce the issue with nginx 0.7.66 nor nginx 0.8.40.
REVERT: b8c8721523 updated docs for v0.11.
REVERT: 87e6e73182 fixed the variables-in-Range-header issue reported by Alexander Vetrin.
REVERT: 2afd97b483 use the name "ngx_headers_more" to help SEO.
REVERT: ae532d8d9f updated docs for v0.10.
REVERT: aaf5fce53b removed input headers physically from the r->headers_in.headers list because ngx_proxy does not honor h->hash.
REVERT: 793158dcf4 removed some debugging code.
REVERT: c68a095c47 now we can completely erase any output headers (both custom and builtin ones).
REVERT: 75b1bfa5d2 updated README to reflect recent changes.
REVERT: 00c986fdee minor style tweaks in the .t files.
REVERT: c47b63790b fixed a memory initialization issue for more_set_input_headers -r, we should always initialize hv.replace even when replace == 0. thanks valgrind++ :D
REVERT: 1b93def22d implemented wildcard header clear
REVERT: 3a67ad8305 work around the links in README.
REVERT: 126fce84cf updated Test::Nginx.
REVERT: 5cd9a384f8 documented the -r option.
REVERT: 0b16d5c3fe Merge branch 'dobe-r'
REVERT: 0febdfca7f added -r flag to more_set_input_headers
REVERT: 7da6665dab updated .gitignore.
REVERT: d0f2bb40e3 sync'd the test scaffold with Test::Nginx 0.08 on CPAN.
REVERT: fb5ebd5683 use ngx_null_string whenever possible.
REVERT: 348da493f6 sync'd Test::Nginx to 0.07.
REVERT: 4629b7f8e1 some coding style tweaks.
REVERT: a127664fcc added t/bug.t
REVERT: db9913e9c4 updated docs to reflect recent changes.
REVERT: fc18a5cec1 fixed the more_clear_headers directive for builtin headers like "Server" and "Last-Modified" by always inserting an empty header when absent. Thanks Sebastiaan Deckers for reporting it.
REVERT: 753e74c668 sync'd Test::Nginx 0.05.
REVERT: 985eeb0b73 updated the test scaffold to Test::Nginx 0.04.
REVERT: dd3ec52a2b updated test scaffold.
REVERT: e427600d2b git ignore reindex.
REVERT: 1792f2d93a releng work for v0.06.
REVERT: f901cecf9c confirmed that we also work in subrequests in t/subrequest.t.
REVERT: 1cc21a7152 now the input header handler runs at the *end* of the rewrite phase.
REVERT: b154fdb6b7 now we free empty headers and types array structs eagerly.
REVERT: 1a2d9c6f9a updated the test scaffold.
REVERT: 05e0fd6c06 sync'd the docs with the wiki page and confirmed that it works with the new nginx 0.8.28 release.
REVERT: 219e6dd055 added a test for rewriting the input Content-Length header using the rewrite module's set directive.
REVERT: d5af630591 sync'd with the wiki page.
REVERT: 6289231571 added the wiki page as the main doc.
REVERT: bce15002dd added a (passing) test for mixed input/output setters.
REVERT: 8288003cc9 more docs.
REVERT: 3391d9d718 fixed variables in more_set_input_headers by registering the handler in the "access phase".
REVERT: e2a7a9630d added new directives more_set_input_headers and more_clear_input_headers.
REVERT: 83bf8ed38d now we require at least 0.7.44 due to the use of ngx_http_complex_value_t.
REVERT: ad8b0e5eac releng for v0.03.
REVERT: b93bd9b1fb fixed the uninitialized s/t bug in parse_statuses and parse_types. also added a (failing) test for the input header directives.
REVERT: 219d75425d first big refactoring in order to introduce input header support.
REVERT: 91cf5b797f refactored the structs into the header.
REVERT: 993e75b205 more README tweaks.
REVERT: 6023eac18f tested against the latest 0.8.27 and 0.7.64.
REVERT: 1da2c87212 added more docs to README.
REVERT: 8483f9a629 removed explicit clear header handlers.
REVERT: ade7573bac now we support variables in new headers' values.
REVERT: 742097fdc9 fixed a typo in README.
REVERT: c131b08ed8 0.7.21 is the minimum nginx version requirement.
REVERT: 5e86ea3794 more docs and more love.
REVERT: 934fe6677a updated README.
REVERT: c6af9971ed this module is now usable.
REVERT: 0593d3b427 added tests for the Charset header.
REVERT: 6fdb040be9 more tests and more fixes.
REVERT: 51c4328839 fixed Content-Type.
REVERT: ba695a3c0c fixed various bugs and all tests are passing now.
REVERT: b3b5245537 fixed a bug where I carelessly used r->headers_in for r->headers_out. the test is passing now.
REVERT: 2298986216 added a simple test which is failing atm :P
REVERT: 5af162eb95 things are complete now but we haven't tested anything yet :P
REVERT: bb0a53ca09 it finally compiles :)
REVERT: af379a7356 implemented parsers for the -t and -s options in the config directives.
REVERT: 1485546379 added usage to README.
REVERT: 8b0498a951 added README.
REVERT: 8876cec82b initial checkin

git-subtree-dir: src/deps/src/headers-more-nginx-module
git-subtree-split: 576cb81979
2023-11-16 17:00:06 +00:00
Théophile Diot a09c899dee
Merge commit 'd75296b5a55889c4425f2b2274b50eabc5b96b3e' into dev 2023-11-16 17:00:06 +00:00
Théophile Diot f583d996a1 Squashed 'src/deps/src/luajit/' changes from 492cfdd0d8..aa038d2599
aa038d2599 Add 'cc' file type for saving bytecode.
efee1ba36a FFI/Windows: Fix type declaration for int64_t and uint64_t.
928df1775e FFI: Fix dangling reference to CType in carith_checkarg().
fbdeebd444 DynASM/ARM64: Support ldp/stp of q registers.
81a4a7705d ARM64: Use ADR and ADRP to form constants.
f6ea7da601 ARM64: Fix disassembly of U12 loads.
9e4da85662 ARM64: Unify constant register handling in interpreter.
2a3b72a42d ARM: Fix register hint for FFI calls with FP results.
fa78ae5061 ARM64: Fix register hint for FFI calls with FP results.
bdb8be75b1 ARM64: Restore fp before sp in C stack unwinders.
49cc41df50 Update lj_parse.c
1fe5958f92 Update lj_ccall.c
cb04dfad31 ppc64le support

git-subtree-dir: src/deps/src/luajit
git-subtree-split: aa038d2599f3caec014ebf0ad98d9f8a68aefa2c
2023-11-16 17:00:00 +00:00
Théophile Diot 11ab5315b0
Merge commit 'f583d996a108a58166fc986bf4227a3cea432a07' into dev 2023-11-16 17:00:00 +00:00
Théophile Diot f8429d6e43
Update LuaJIT to v2.1-20231021 2023-11-16 16:59:32 +00:00
Théophile Diot 576cb81979
Merge commit 'c473aa40807f32438ffe34bdfe07f8f0485a6aa4' into dev 2023-11-16 16:55:26 +00:00
Théophile Diot c473aa4080 Squashed 'src/deps/src/lua-resty-openssl/' changes from b23c072a4..89195843c
89195843c release: 1.0.1 (#129)
3a1bc273e fix(jwk) return error if exporting private key from public key (#128)
969f3e003 release: 1.0.0 (#127)
7cdcf0d17 chore(tests) cleanup fips tests
935227b34 feat(fips) add get_fips_version_text
f2d015b4b chore(scripts) add script to check unused cdefs
84abc0ab9 refactor(*) remove unused cdefs
99b493e67 refactor(*) BREAKING: drop OpenSSL 1.0.2, 1.1.0 and BoringSSL support
8d12024e4 release: 0.8.26
2ca4d14b1 doc(readme) add notes around :reset usage
74fc033ae chore(tests): bump openssl versions in CI
756e3e638 tests(provider) support OpenSSL 3.x
1516b4d94 fix(version) add support for all 3.x versions
d6ed9648e fix(x509.csr) remove extension before adding it
4f67b295e tests(ci) bump version and refactor fips module build
f9a153288 release: 0.8.25 (#122)
6e58b28c3 fix(pkey) clear error stack when verification fails (#121)
4871f49c3 release: 0.8.24
abaa66ee0 fix(ssl) support ngx_lua 10025
d51ba7909 chore(tests): bump openresty 1.21.4.2
2b99acd36 doc(changelog): include optional colon

git-subtree-dir: src/deps/src/lua-resty-openssl
git-subtree-split: 89195843cfbfac9dcbf071832aa9303a347871b4
2023-11-16 16:54:59 +00:00
Théophile Diot 456e6a33db
Update lua-resty-openssl to v1.0.1 2023-11-16 16:54:39 +00:00
Théophile Diot 11c4fde616
Merge commit '805e5c9cee2a72af6b6297b2993109511b42d485' into dev 2023-11-16 16:52:32 +00:00
Théophile Diot 805e5c9cee Squashed 'src/deps/src/libmaxminddb/' changes from ac4d0d248..93a7e0e56
93a7e0e56 Bumped version to 1.8.0
e0975fd14 Set release date
1f4cde07d Merge pull request #326 from maxmind/dependabot/github_actions/actions/checkout-4
ad756cc3c Merge pull request #327 from maxmind/dependabot/github_actions/github/codeql-action-2
6d3099567 Bump github/codeql-action from 1 to 2
22a974b47 Bump actions/checkout from 2 to 4
23c0354e8 Merge pull request #325 from maxmind/greg/windows-cleanup
3412437a7 Get PRs for updating our GitHub Actions
258c08cea Reduce number of warnings on Windows
5c22ca1ec Only use clang pragmas on clang
9517c8930 Stop defining PACKAGE_VERSION in public header on Windows
3cee53ebc Remove Visual Studio 12 project files
80bfed71e Merge pull request #324 from maxmind/horgh/static-analysis
b85913962 Rewrite a couple yoda style conditions
e71488685 Stop using assert() outside test code
30853b1ab Check return value of record_info_for_database()
83758e5c5 Merge pull request #320 from maxmind/horgh/posix
5771620f1 Bump copyright year in more spots
3081198cc Mention POSIX requirement in docs
5b22e0f7b Set feature test macro for tests in one spot
e2c8463af Do not set feature test macro in public header
0c4d8295f Bump copyright year
876e68ca2 Merge pull request #310 from maxmind/greg/fix-cmake-package-version
3f5e11273 Make PACKAGE_VERSION a private compile definition
da14286d2 Only set PACKAGE_VERSION on WIN32 if not set
761207062 Merge pull request #306 from maxmind/greg/v1.7.1

git-subtree-dir: src/deps/src/libmaxminddb
git-subtree-split: 93a7e0e5627686deb82aa636376f53b1c7af3d9a
2023-11-16 16:52:32 +00:00
Théophile Diot afcf420ee4
Update libmaxminddb to v1.8.0 2023-11-16 16:52:14 +00:00
Théophile Diot 7aa6affe10
Merge commit 'e3f305a953ef5dbf6802090c7013f4c38d762449' into dev 2023-11-16 16:35:22 +00:00
Théophile Diot e3f305a953 Squashed 'src/deps/src/ngx_devel_kit/' changes from b4642d6ca..91e30eb05
91e30eb05 Merge pull request #37 from lynch1981/master
7e524bdda fix compile errors

git-subtree-dir: src/deps/src/ngx_devel_kit
git-subtree-split: 91e30eb05085e7f9762f130cbb883a0e753cf74d
2023-11-16 16:35:22 +00:00
Théophile Diot cba20187c9
Update Nginx devel kit to v0.3.3 2023-11-16 16:34:33 +00:00
Théophile Diot 10a58377b8
Fix multiple CVEs related to libpq
* CVE-2023-5869
* CVE-2023-5868
* CVE-2023-5870
2023-11-16 09:08:09 +00:00
Théophile Diot 7c564e4cb0
Update pre-commit hooks to latest versions 2023-11-15 18:14:10 +00:00
dependabot[bot] fe02494540
deps/gha: bump github/codeql-action from 2.22.5 to 2.22.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.5 to 2.22.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](74483a38d3...689fdc5193)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-15 08:21:34 +00:00
Théophile Diot bff775f006
Fix issues with the Linux integration and external databases 2023-11-14 16:07:23 +00:00
Théophile Diot 71db00281d
Merge pull request #759 from bunkerity/dependabot/github_actions/dev/ruby/setup-ruby-1.161.0
deps/gha: bump ruby/setup-ruby from 1.160.0 to 1.161.0
2023-11-14 08:48:15 +00:00
dependabot[bot] 940eecd062
deps/gha: bump ruby/setup-ruby from 1.160.0 to 1.161.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.160.0 to 1.161.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](036ef458dd...8575951200)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 08:33:21 +00:00
Théophile Diot 42f7ef4862
Update user interface demo image in README.md 2023-11-13 11:58:05 +00:00
Théophile Diot b2a56a82a4
Update BunkerWeb UI demo to use thumbnail image 2023-11-13 11:20:07 +00:00
Théophile Diot 0d0bad79bc
Update Python version in Dockerfiles 2023-11-13 10:22:52 +00:00