Commit graph

5341 commits

Author SHA1 Message Date
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
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
26ca994be8 Remove legacy c.php 2024-07-01 21:21:50 +02:00
a8a8bea834 install.sql: change MyISAM engines to InnoDB 2024-06-24 00:08:28 +02:00
86266bb98a error.php: format 2024-06-23 23:33:03 +02:00
4e1654a1d3 docker: upgrade php to 8.0 2024-06-23 22:23:43 +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
b5834cafaf docker: remove legacy authentication plugin 2024-06-23 21:21:36 +02:00
cd32d04c93 docker: make the compose local instance folder file parametrizable 2024-06-23 21:21:23 +02:00
fd04d92c48 profile.php: reduce logging 2024-06-22 23:49:56 +02:00
4f2bd22fae banned.html: add missing space to banned template 2024-06-22 23:00:57 +02:00
466d569d74 Merge pull request 'Add the excimer profier injactable file' (#148) from profile-excimer into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/148
2024-06-21 21:05:27 +00:00
eda30f81fd docker: add the Excimer Profiler extension 2024-06-21 23:03:53 +02:00
0b746c4ec6 Add profile.php for profiling 2024-06-21 23:03:51 +02:00
54feeba2da docker: delete PEAR leftovers 2024-06-21 23:00:14 +02:00
38e0b22916 templates: wrap posts intro links: number and quotation 2024-06-15 00:15:41 +02:00
f2f901e1f7 post_reply.html: format 2024-06-15 00:12:42 +02:00
ab28d42484 docker: fix php Dockerfile command 2024-06-14 23:47:38 +02:00
7f51fbd6d6 docker: remove the old Dockerfile 2024-06-14 23:47:08 +02:00
3cbf0c2fcf post.php, pages.php: pack and unpack source ip addresses of ban appeals 2024-06-13 19:53:37 +02:00
b0b684bdb1 pages.php: use link to create hardlinks isntead of full file copy for thread moving 2024-05-22 23:55:06 +02:00
8626ab7571 Merge pull request 'Refactor ban log' (#142) from refactor-ban-log into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/142
2024-05-22 20:31:03 +00:00
0ce203f1d2 bans.php: always print modLog 2024-05-22 22:24:04 +02:00
9efc35e441 bans.php: simplify modLog string 2024-05-22 22:22:56 +02:00
0d38349a10 Merge pull request 'Add the About theme' (#141) from about-theme into config
Reviewed-on: https://git.leftypol.org/leftypol/leftypol/pulls/141
2024-05-21 14:46:51 +00:00