Commit graph

2101 commits

Author SHA1 Message Date
f3d4dfd654 pages.php: define overboards/ukkos board for catalogs 2024-09-16 14:56:58 +02:00
Zankaria
f3662568fa anti-bot.php: handle deadlocks in _create_antibot.
Somehow this single function is the cause of most deadlocks.
2024-09-14 17:52:19 +02:00
Zankaria
5e97b60ebf database.php: add retry_on_deadlock utility function 2024-09-14 17:52:01 +02:00
Zankaria
66cb9728b7 database.php: trim 2024-09-14 17:52:01 +02:00
Zankaria
cd00809040 posthandler.php: format 2024-09-12 11:29:05 +02:00
Zankaria
f70d70d1db ffmpeg.php: format 2024-09-12 11:29:02 +02:00
87899a0988 cache.php: add unix socket connection support to Redis cache 2024-09-11 18:11:39 +02:00
Zankaria
8477f41b52 pages.php: pass mod array to overboard 2024-08-21 19:58:12 +02:00
Zankaria
454405e5f8 config.php: add resource_version configuration option 2024-08-21 11:26:22 +02:00
Zankaria
31086b05d9 bans.php: limit post body length to 12 KBs 2024-08-19 22:54:05 +02:00
Zankaria
aec814266c pages.php: HOTFIX add copy fallback in case of already existing file when moving thread. 2024-08-18 01:00:32 +02:00
Zankaria
d8c5c600a8 Add hcaptcha support (#166)
Co-authored-by: RealAngeleno <angeleno@screamer.wiki>
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/166
Co-authored-by: Zankaria <zankaria.auxa@skiff.com>
Co-committed-by: Zankaria <zankaria.auxa@skiff.com>
2024-08-10 19:58:20 +00:00
40475158eb post.php: use the dynamic_captcha config value to pick from which IP to check for captcha reponsens 2024-07-29 20:46:30 +02:00
12f0fd1cb4 config.php: add turnstile field options 2024-07-28 00:53:33 +02:00
43ea24ea20 config.php: add turnstile's form field to the whitelist 2024-07-28 00:53:33 +02:00
483d553fc0 Add dynamic captcha support 2024-07-28 00:53:26 +02:00
3b8c6ae9fd bans.php: fix new_ban failing due to the message body being too big 2024-07-27 15:21:06 +02:00
a0049aff28 bans.php: fix typo in findSingleNoGc query 2024-07-23 19:49:04 +02:00
dfef661910 bans.php: fix forgot to extract the mask 2024-07-15 21:30:14 +02:00
60241a474c bans.php: FIX every IP matching to any ban that was going to expire eventually 2024-07-14 19:23:14 +02:00
88eb7d68a7 bans.php: do not deserialize post that does not exist 2024-07-14 19:13:51 +02:00
6f8ada0f42 config.php: purge_bans configuration into the proper section 2024-07-14 18:22:51 +02:00
d69eebb1d3 bans.php: refactor to expose the moratorium on ban deletion from the database.
Also fixes the 'purge_bans' configuration for non-cache deployments.
2024-07-14 18:22:51 +02:00
4b03672f77 functions.php: skip ban deletion on auto_maintenance disabled 2024-07-14 18:22:51 +02:00
7613eda52b anti-bot.php: make automated antispam puring optional 2024-07-14 18:22:51 +02:00
6cf574a998 bans.php: use modern array syntax 2024-07-14 18:22:51 +02:00
1633baf421 bans.php: group deletion policy 2024-07-14 18:22:51 +02:00
bdc98b66ff bans.php: use modify inplace 2024-07-14 18:22:51 +02:00
d0b1c388eb bans.php: make the purge configurable 2024-07-14 18:22:51 +02:00
bcfc934604 Add auto_maintenance configuration option 2024-07-14 18:22:51 +02:00
870d3812d3 bans.php: split find implementations 2024-07-14 18:22:51 +02:00
b88abb1c33 bans.php: split findSingle implementations 2024-07-14 18:22:51 +02:00
Zankaria
81f132dcf9 bans.php: rebuild themes only if bans are deleted 2024-07-14 18:22:51 +02:00
Zankaria
b009fc749e bans.php: group deletions 2024-07-14 18:22:51 +02:00
3e298c59fc Lifo: fix vendored dependecy array access syntax (PHP 8.0 fix) 2024-07-14 18:16:57 +02:00
f7f1ffed3c Delete stale unreferenced ban appeals via foreign key constrain 2024-07-14 00:25:52 +02:00
0c8ea349ca display.php: handle thread already having an array (PHP 8.0 fix) 2024-07-13 11:39:29 +02:00
27726d6c2b display.php: handle post already having an array (PHP 8.0 fix) 2024-07-13 11:31:15 +02:00
582a08eee4 display.php: trim 2024-07-13 11:30:31 +02:00
5a805fefae error.php: fucking log the exceptions 2024-07-13 11:20:57 +02:00
4e7f53216d anti-bot.php: add comments to _create_antibot 2024-07-11 21:16:55 +02:00
35388a942e Revert "anti-bot.php: permanent bans stay permanent on new bans being issued"
This reverts commit 684a3cb852.
2024-07-10 00:26:27 +02:00
684a3cb852 anti-bot.php: permanent bans stay permanent on new bans being issued 2024-07-09 20:00:45 +02:00
106db9a7e7 anti-bot.php: trim 2024-07-09 00:17:23 +02:00
86266bb98a error.php: format 2024-06-23 23:33:03 +02:00
6e962f91ad error.php: fix error_handler 2024-06-23 22:22:02 +02:00
44db356116 error.php: fix callback 2024-06-23 22:19:52 +02:00
8dad968be1 error.php: trim 2024-06-23 21:22:08 +02:00
8c97b3a3fb Remove bundled minify dependency 2024-06-23 21:21:47 +02:00
fd04d92c48 profile.php: reduce logging 2024-06-22 23:49:56 +02:00