367953f134
post.php: remove useless code
2024-11-28 16:28:33 +01:00
a095b0993c
post.php: remove newline from report message
2024-11-28 16:21:26 +01:00
73bc23a4c7
remove mysql 5.5 support
2024-11-28 01:06:59 +01:00
f100d8fcda
post.php: follow max_body_op and min_body_op
2024-11-27 23:10:26 +01:00
531e246e28
post.php: check different body length values for op
2024-11-27 21:28:25 +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
7ad17bbee1
post.php: limit post history check to IPv4 as a workaround to #49
2024-11-13 19:44:57 +01:00
4277cc9851
post.php: require post history before creating a thread
2024-11-12 15:07:49 +01: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
a7e349d8cb
post.php: workaround captcha and js/ajax.js bug
2024-10-28 13:26:34 +01:00
2319a7b74e
post.php: use unified captcha-response
2024-10-28 11:16:05 +01:00
169bf13f5d
post.php: use hash_equals to compare post deletion password
2024-10-07 23:49:42 +02:00
Zankaria
3243fcc826
post.php: remove extra comma
2024-09-12 12:45:57 +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
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
67de8df246
post.php: add turnstile server side checks
2024-07-28 00:53:33 +02:00
483d553fc0
Add dynamic captcha support
2024-07-28 00:53:26 +02:00
bcfc934604
Add auto_maintenance configuration option
2024-07-14 18:22:51 +02:00
b88abb1c33
bans.php: split findSingle implementations
2024-07-14 18:22:51 +02:00
Zankaria
b009fc749e
bans.php: group deletions
2024-07-14 18:22:51 +02:00
3cbf0c2fcf
post.php, pages.php: pack and unpack source ip addresses of ban appeals
2024-06-13 19:53:37 +02:00
5f1f7319a3
Merge branch 'config' into display-appeal-src-ip
2024-04-24 13:03:31 +00:00
Zankaria
cb5b465c57
post.php: do not strip orientation metadata
2024-04-03 20:00:04 +02:00
Zankaria
97e41d1c7f
post.php: strip metadata from png and webp image file types
2024-04-03 19:53:53 +02:00
Zankaria
8e5b09c687
Add webp to list of recognized image file types
2024-04-03 19:41:14 +02:00
0a1412b74f
post.php: fix undefined post on report
2024-04-01 22:17:22 +02:00
e496fb10a5
Handle reporting non-existing posts. Fix #96
2024-04-01 19:20:23 +02:00
Zankaria
7e3a531aa5
Add source IP to ban_appeals table
2024-03-15 14:34:17 +01:00
Zankaria
c696ad4fa2
Add IPs of users deleting their own post to the mod log. See #109
2024-03-15 10:09:14 +01:00
Zankaria
cb4726e076
post.php: trim
2024-03-15 10:08:34 +01:00
Zankaria
41016b1ca2
Add missing comment doc in post.php
2024-01-29 11:18:06 +01:00
Zankaria
a4b5bf341b
Refactor post.php: isolate more db access and remote REST calls into functions.
2024-01-29 11:18:06 +01:00
Zankaria
fd9baaea5f
post.php: sanitize appeal message
2024-01-29 11:18:06 +01:00
Zankaria
a9211d23b5
Remove feature: upload by url
2024-01-29 11:18:01 +01:00
Zankaria
df2fe0e60f
Minor format post.php
2024-01-16 18:05:33 +00:00
Zankaria
56b6d6b1aa
Refactor post.php: split upload by url file downloading into a function.
2024-01-16 18:05:33 +00:00
Zankaria
df78f0e79f
Refactor post.php: move post body's markup splitting into a separate function
2024-01-16 18:05:33 +00:00
Zankaria
799072d692
Refactor post.php: split upload file hashing to a function
2024-01-16 18:05:33 +00:00
Zankaria
8faf20f7ff
Format post.php in accordance with PSR-12
2024-01-16 18:05:33 +00:00
Your Name
fdaa4ebdd1
better error
2024-01-16 18:04:00 +00:00
Your Name
56bbaf881f
Simple anti-spam mechanism
2024-01-16 18:04:00 +00:00
Your Name
e2bef8c2f2
Simple anti-spam mechanism
2024-01-16 18:04:00 +00:00
nonmakina
3725d27e72
Matrix report integration ( #74 )
...
Enables posting reports to a matrix room.
Co-authored-by: nonmakina <nonmakina@leftypol.org>
Co-committed-by: nonmakina <nonmakina@leftypol.org>
2022-04-03 22:06:42 +00:00
discomrade
a1f64335f9
Added multiple file select dialog for post form
...
Mostly 808c2072d3
2022-02-12 01:34:46 -01:00
discomrade
e39f342008
Consider nonoko in building after posting, improve comments
2022-01-17 11:14:04 -01:00
discomrade
d66b9d6208
Merge pull request 'Make compatible with PHP 8' ( #67 ) from php8-compat into config
2022-01-17 10:42:55 +00:00
discomrade
cfaea67381
Refactor rebuilding after posts, finish reply requests before rebuilding index
...
This provides massive improvements to perceived post times as it doesn't wait for the entire board to rebuild index before confirming to the user that the post was made
2022-01-17 07:12:13 -01:00