Commit graph

78 commits

Author SHA1 Message Date
Théophile Diot
77bfe2697f
Add StyLua and luacheck to precommit config file and apply it 2023-10-12 17:08:13 +02:00
Théophile Diot
f4ce2c68f2
Fix bw api not returning the reason of bans 2023-10-04 17:49:53 +02:00
Théophile Diot
87ca176633
Fix typos raised by codespell 2023-10-03 12:37:56 +02:00
Théophile Diot
9535c04142
Fix shinanigans with both multiple and global settings not being stored correctly in datastore 2023-09-07 11:00:55 +02:00
Théophile Diot
8cafded894
Fix variables that are both multiple and multisite not being stored properly in datastore 2023-09-06 18:19:49 +02:00
florian
9efd7a5a5f
sessions - fix infinite loop when session checks fail 2023-08-04 10:06:28 +02:00
florian
bf9cd367d0
fix missing Strict-Transport-Policy header, fix X-Forwarded-Prefix with regex URLs and print logs when UI tests failed 2023-08-02 16:54:05 +02:00
bunkerity
9adb209a81 lua - fix missing multisite variables in LRU 2023-06-15 14:42:09 +02:00
florian
dcf1561358
prepare for 1.5.1 🚀 2023-06-14 21:39:12 +02:00
bunkerity
b14dba7752 bw - fix multiple variables not loaded in LUA 2023-06-14 15:32:36 +02:00
Théophile Diot
70f227feb3
Fix error with multisite variables when requesting default server 2023-06-12 08:23:28 -04:00
Théophile Diot
f81b0bb4da
Fix multisite variables not being added in helpers 2023-06-12 06:57:35 -04:00
Théophile Diot
9786975004
Fix has_variable method of utils 2023-06-12 06:56:35 -04:00
Théophile Diot
a2759e3771
Add small tweaks on the datastore 2023-06-09 15:51:44 -04:00
Théophile Diot
6a1ff499c1
Fix Lets'encrypt plugin api and internal API 2023-06-09 14:18:10 -04:00
Théophile Diot
179a7aa34a
Fix lua sessions with antibot 2023-06-09 14:02:11 -04:00
Théophile Diot
ec48e66011
Fix return value when no plugins have been found in api.lua 2023-06-09 13:29:14 -04:00
florian
ce24a0482a
apply changes to current core 2023-06-09 10:41:12 +02:00
florian
02d9403937
perf - ctx caching and per worker LRU for readonly variables 2023-06-09 10:34:34 +02:00
Théophile Diot
39e6821a4c
Lint lua code 2023-06-06 09:30:12 -04:00
Théophile Diot
474ecbb41e
Fix typo in phases list in plugin.lua 2023-05-29 17:54:18 -04:00
florian
40e30ed441
use shared redis connection pool in cachestore when we can 2023-05-21 18:42:52 +02:00
florian
10a4cefd00
update lua-resty-openssl deps and replace nginx -s calls with signals 2023-05-21 18:25:40 +02:00
florian
5adec84d5a
fix redis not contacted in subsequent phases and reflect changes on stream configs 2023-05-21 14:24:26 +02:00
florian
eea6d32cd3
share common objects during the phase and add threading to DNSBL and reverse scan 2023-05-21 13:46:46 +02:00
florian
edd6e2ded5
improved session management and add IP/UA checks 2023-05-20 17:46:35 +02:00
florian
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 2023-05-19 21:23:50 +02:00
florian
179beea4d7
improved core plugin execution order 2023-05-19 12:39:40 +02:00
florian
a9be973d5f
use PCRE regex instead of LUA pattern and edit cors doc 2023-05-16 23:21:01 +02:00
Théophile Diot
8386621419
Lint Lua code 2023-05-16 11:37:43 -04:00
florian
9c6ca6a860
cors - various improvements 2023-05-15 20:45:53 +02:00
florian
9a2e37984d
ci/cd core tests and antibot refactoring 2023-05-15 13:10:27 +02:00
florian
2e1296d9ae
show useful info in BW logs after startup/reload and reduce container images size 2023-05-14 15:57:55 +02:00
florian
a686562f18
performance - cache empty rdns results 2023-05-14 10:12:33 +02:00
florian
e36c743c70
performance - cache dns responses 2023-05-14 09:56:21 +02:00
florian
75f3d6490a
init IPv6 support, add missing healthcheck script in UI and purge local cache on init 2023-05-13 18:37:13 +02:00
florian
5c415afa18
various fixes - ttl on /bans api, dnsbl undercover bug, greylist, whitelist and wrong path in realip job 2023-05-13 03:24:55 +02:00
florian
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 2023-05-07 14:08:31 +02:00
florian
75ca603b7d
WIP - fix bunkernet and missing reload for scheduled jobs 2023-05-04 07:07:58 +02:00
bunkerity
5e4ce45793 various fixes 2023-04-28 16:47:51 +02:00
bunkerity
bbaaad8487 docs - last polish 2023-04-28 15:06:06 +02:00
Théophile Diot
da4bb8dce6
Fix condition in helpers.lua 2023-04-25 19:58:23 +02:00
bunkerity
bd577cfb2e country fix (again) and init work on stream 2023-04-25 16:05:08 +02:00
bunkerity
780c0c8c53 api - fix errors in calls and use ngx.ctx instead of ngx.var 2023-04-25 14:02:31 +02:00
florian
4871a21040
api - add missing ctx fill 2023-04-24 16:06:52 +02:00
florian
bcc5e6bb50
bw - add missing json decode in api and add missing require in country 2023-04-24 15:35:55 +02:00
florian
83428d6ccf
bw - fix resolvers nil error when doing dns checks 2023-04-24 15:17:41 +02:00
florian
a372ffd521
fix invalid session error handling and remove debug log in whitelist 2023-04-24 14:42:40 +02:00
florian
edf7e06e07
various redis fixes and display ready log 2023-04-24 13:21:28 +02:00
florian
510938fc23
antibot - fix bugs related to session 2023-04-23 18:37:21 +02:00