Commit graph

2236 commits

Author SHA1 Message Date
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
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
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
703637a948 config.php: restructure matrix configuration a bit 2024-11-04 22:57:57 +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
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
1a0054967b Merge branch '17-paginate-ips' into 'config'
Add IP pagination

Closes #17

See merge request leftypol/leftypol!3
2024-10-24 19:18:54 +00:00
894d5a4b8b net.php: remove base64 padding from encoded cursor 2024-10-24 21:13:05 +02:00
a937e2dc85 config.php: disable referer_match by default 2024-10-16 11:49:29 +02:00
e3b89dcc9d pages.php: fix redirection on mod_page_ip 2024-10-15 21:15:06 +02:00
4be1873538 pages.php: functional cursor pagination for mod_page_ip with a single query 2024-10-15 21:15:06 +02:00
6c3f24e2a1 database.php: PDO always throw even on PHP < 8.0 2024-10-15 21:15:06 +02:00
92fee878b5 net.php: add functions to encode and decode a typed cursor over an url 2024-10-15 21:15:06 +02:00
fa26f6e88f config.php: update configuration documentation for ip_recentposts 2024-10-15 21:15:06 +02:00
585e5638fd functions.php: handle very large numbers with handle_dice_roll_markup 2024-10-15 21:11:28 +02:00
cc82987bb0 database.php: minor format 2024-10-15 19:33:33 +02:00
52759954c8 pages.php: add a basic cache layer for mod_page_ip 2024-10-15 00:14:59 +02:00
37d275468e funtions.php: unify inline dice roll result 2024-10-14 15:13:42 +02:00
f35f9d5d67 config.php: increase default max_roll_count 2024-10-14 15:13:42 +02:00
e6b345f8cc funtions.php: rework dice markup generation 2024-10-14 10:52:00 +02:00
22d76ad9f6 functions.php: fix re-definition of get_or_default 2024-10-14 10:14:14 +02:00
a90b15d596 functions.php: dice minimum value set to 1 2024-10-14 10:13:05 +02:00
3e857c16f6 functions.php: load image from the root in handle_dice_roll_markup. 2024-10-14 01:06:31 +02:00
acf358b157 config.php: use modern array syntax for markup 2024-10-14 00:28:27 +02:00
Zankaria
f0a33d26c6 config.php: refactor dice markup 2024-10-14 00:24:55 +02:00
Zankaria
56ad753b76 functions.php: add new dice function 2024-10-12 16:22:08 +02:00
Zankaria
dcede2e175 config.php: limit the number of dicerolls 2024-10-12 16:21:04 +02:00
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