Commit graph

5615 commits

Author SHA1 Message Date
708b4801dd composer: load anti-bot.php 2024-11-28 16:03:00 +01:00
120973a6b0 functions.php: supply pdo to _create_antibot 2024-11-28 16:01:50 +01:00
b459551ccb anti-bot.php: use transactions 2024-11-28 16:01:24 +01:00
73bc23a4c7 remove mysql 5.5 support 2024-11-28 01:06:59 +01:00
5bd89a9437 config.php: update min max op body length doc 2024-11-27 23:12:58 +01:00
f100d8fcda post.php: follow max_body_op and min_body_op 2024-11-27 23:10:26 +01:00
4c1ac32bda Merge branch 'min-body-op' into 'config'
Minimum body length specific for op

See merge request leftypol/leftypol!13
2024-11-27 20:39:42 +00:00
531e246e28 post.php: check different body length values for op 2024-11-27 21:28:25 +01:00
eb480975cd config.php: add op min and max body configuration options 2024-11-27 21:28:04 +01:00
b8af67a5e2 post.php: use modern array syntax 2024-11-27 17:39:57 +01:00
b88c876222 post.php: use additional password check 2024-11-14 15:27:42 +01:00
850958a45e functions.php: add optional password check for has_any_history 2024-11-14 15:27:42 +01:00
1f05efd2dd banners: add cockshott banner 2024-11-13 19:50:54 +01:00
7ad17bbee1 post.php: limit post history check to IPv4 as a workaround to #49 2024-11-13 19:44:57 +01:00
c8d84afa07 Merge branch '48-prev-reply-op' into 'config'
Resolve "Require previous replies to make a thread"

See merge request leftypol/leftypol!12
2024-11-12 14:19:41 +00:00
ee4ba0ed26 functions.php: add caching to has_any_history 2024-11-12 15:11:25 +01:00
4277cc9851 post.php: require post history before creating a thread 2024-11-12 15:07:49 +01:00
2904fb5f3e config.php: add no post history error 2024-11-12 15:07:49 +01:00
06b0cb8484 config.php: add op_require_history option 2024-11-12 15:07:38 +01:00
2981859ac1 functions.php: add has_any_history function 2024-11-12 15:07:15 +01:00
aaa725dd06 Merge branch '27-improve-reports' into 'config'
Resolve "Increase the number of reports displayed in the reports page"

Closes #27

See merge request leftypol/leftypol!5
2024-11-12 13:20:58 +00:00
09075b1465 pages.php: mod_reports rework query 2024-11-12 14:20:14 +01:00
c94a7cb403 pages.php: mod_reports signal if there are more reports than the limit 2024-11-12 14:20:12 +01:00
e7518dfe25 pages.php: format mod_reports 2024-11-12 14:19:52 +01:00
82391e0f83 maintenance.php: use tabs 2024-11-12 13:47:21 +01:00
d7db185129 Merge branch '37-report-maintenance' into 'config'
Resolve "Implement auto maintenance for the reports"

Closes #37

See merge request leftypol/leftypol!11
2024-11-12 09:55:50 +00:00
1df7c589cb maintenance.php: delete invalid reports 2024-11-12 10:48:02 +01:00
4c1a6d3c57 pages.php: skip reports deletion if auto maintenance is disabled 2024-11-04 23:13:14 +01:00
f7fd639d2d pages.php: use modern array syntax 2024-11-04 23:11:21 +01:00
5fa893655d Merge branch '7-matrix-reports' into 'config'
Resolve "Matrix report bot"

Closes #7

See merge request leftypol/leftypol!10
2024-11-04 21:59:28 +00:00
4d62dcd9a2 post.php: use modern matrix API 2024-11-04 22:57:59 +01:00
20a30f2661 post.php: split into a function matrix reporting 2024-11-04 22:57:59 +01:00
703637a948 config.php: restructure matrix configuration a bit 2024-11-04 22:57:57 +01:00
6473ff6ab6 jungle.css: add quote styling 2024-10-31 22:09:33 +01:00
9658db1666 jungle.css: format and remove obsolete properties 2024-10-31 21:30:22 +01:00
9e2ab87df6 ban_form.html: add autofocus on reason text form 2024-10-28 23:39:17 +01:00
aa8525aa86 Merge branch 'captcha-workaround' into 'config'
Captcha workaround

See merge request leftypol/leftypol!9
2024-10-28 12:36:37 +00:00
a99f8c5ef3 cache.php: fix redis value decoding 2024-10-28 13:35:20 +01:00
e451faae40 cache.php: fix typo 2024-10-28 13:35:16 +01:00
00d7073c25 cache.php: fix redis value decoding 2024-10-28 13:32:25 +01:00
777c3b628a cache.php: fix typo 2024-10-28 13:26:36 +01:00
a7e349d8cb post.php: workaround captcha and js/ajax.js bug 2024-10-28 13:26:34 +01:00
ebc0c54657 main.js: generate captcha form id 2024-10-28 12:33:36 +01:00
f792470af7 post_form.html: add captcha form id 2024-10-28 12:33:19 +01:00
2741b1ea05 config.php: accept captcha-form-id 2024-10-28 12:32:48 +01:00
04ef961440 config.php: refactor captcha configuration 2024-10-28 11:24:57 +01:00
6fdc16d2f3 config.php: accept unified captcha-response 2024-10-28 11:17:01 +01:00
93e37b0c42 main.js: use unified captcha-response 2024-10-28 11:16:07 +01:00
2319a7b74e post.php: use unified captcha-response 2024-10-28 11:16:05 +01:00
81ad1fff38 post_form: add unified captcha response hook 2024-10-28 00:44:26 +01:00