Commit graph

5170 commits

Author SHA1 Message Date
584fac7caa main.js: rework dynamic captcha rendering to correctly reset when a user posts 2024-08-07 00:16:03 +02:00
95d5ec6cc6 captcha_script.html: refactor captcha script inclusion in a separate template 2024-08-07 00:16:00 +02:00
be69385fef main.js: use camelCase for captcha javascript 2024-08-03 23:57:25 +02:00
7b98295dcf main.js: fix captcha selection check 2024-08-03 23:45:53 +02:00
fb48c74565 main.js: add dynamic turnstile support 2024-07-29 21:35:49 +02:00
6097849ea2 main.js: unfuck dynamic captcha support 2024-07-29 21:24:14 +02:00
8f98665a1c post.php: make dynamic captcha less prone to misuse 2024-07-29 20:48:22 +02: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
fccd0a16dd quick-reply.js: move recaptcha rendering to function 2024-07-28 00:53:33 +02:00
4f61026842 templates: inject turnslide js 2024-07-28 00:53:33 +02:00
f3c45073cb post_form.html: add data-action parameter to turnstile captcha 2024-07-28 00:53:33 +02:00
67de8df246 post.php: add turnstile server side checks 2024-07-28 00:53:33 +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
81f5c70681 quick-reply.js: format 2024-07-28 00:52:49 +02:00
50bb090952 docker: shorter compose instance var name 2024-07-28 00:52: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
024a6fe20b banned.html: add missing space 2024-07-14 19:17:55 +02:00
88eb7d68a7 bans.php: do not deserialize post that does not exist 2024-07-14 19:13:51 +02:00
386f9998e1 maintenance.php: fix typo 2024-07-14 18:48:02 +02:00
61c35ebe50 maintenance.php: log deleted entries count 2024-07-14 18:40:56 +02:00
4599f8bc32 maintenance.php: reduce modlog logs 2024-07-14 18:22:51 +02:00
5fd319d112 cli.php: include anti-bot.php 2024-07-14 18:22:51 +02:00
d74ba41198 maintenance.php: fix logging 2024-07-14 18:22: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
cc1b59127d maintenance.php: add purging antispam to the tool 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
03975a1bde Add maintenance.php to the tools 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