1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-13 18:40:49 +01:00
Commit Graph

431 Commits

Author SHA1 Message Date
Zankaria
b86b9e375d post.php: fix hcaptcha reading wrong post field 2024-04-16 22:39:32 +02:00
Zankaria
f93dd1fae5 Context: extract dependency building from the container 2024-04-09 11:33:06 +02:00
Lorenzo Yario
3c49645af0
Merge pull request #717 from Zankaria/dep-inj-logging
Add logger by dependency injection
2024-04-04 19:43:46 -07:00
Zankaria
710f6aa6c2 post.php: use logger 2024-04-04 12:44:37 +02:00
Zankaria
4d9d68b550 Substitute deprecated php functions calls 2024-04-04 11:09:43 +02:00
Lorenzo Yario
5680d73f08
Merge pull request #716 from Zankaria/adjust-image-stripping
Enhance image metadata ops
2024-04-03 14:23:39 -07:00
Zankaria
eaacf27199 post.php: do not strip orientation metadata 2024-04-03 21:38:16 +02:00
Zankaria
6ceee8261e post.php: strip and reorient png and webp images 2024-04-03 21:34:51 +02:00
Zankaria
2bb1b0b9d4 post.php: remove double check 2024-04-03 21:24:10 +02:00
Zankaria
9072ce5992 post.php: strip metadata from png and webp image file types 2024-04-03 21:23:48 +02:00
Zankaria
8120c42440 Format injected javascript on failed native captcha 2024-04-03 14:33:38 +02:00
Zankaria
650ef8bcc2 Fix crash if no captcha is enabled 2024-04-03 14:33:38 +02:00
Zankaria
3016d69428 Share REST call code and separate components via dependency injection 2024-04-03 14:33:38 +02:00
Zankaria
03a875f663 Handle reporting non-existing posts. 2024-04-01 19:55:32 +02:00
Lorenzo Yario
95153233eb
Revert "Revert "Revert "Share REST call code and separate components via dependency injection""" 2024-03-30 22:46:35 -07:00
Lorenzo Yario
67475c2c2f
Revert "Revert "Share REST call code and separate components via dependency injection"" 2024-03-30 22:34:30 -07:00
Lorenzo Yario
f5328a436c
Revert "Share REST call code and separate components via dependency injection" 2024-03-30 22:24:20 -07:00
Lorenzo Yario
3d2f0b6a1b
Merge pull request #688 from Zankaria/add-dep-injection
Share REST call code and separate components via dependency injection
2024-03-30 22:15:44 -07:00
Lorenzo Yario
38b47a0844
Merge pull request #698 from Zankaria/calc-file-size-after-strip
Calculate the file size after stripping the metadata off an image.
2024-03-30 22:15:10 -07:00
Lorenzo Yario
afe7c73195
Merge pull request #699 from Zankaria/remove-no-op
Remove no-op lines from post.php
2024-03-30 22:14:58 -07:00
Zankaria
018da09ac5 Fix CaptchaQueries naming 2024-03-26 14:16:19 +01:00
Zankaria
67b88ec78f bans.php: group deletions 2024-03-22 10:59:13 +01:00
Zankaria
27ddd5158d psot.php: remove no-op lines 2024-03-21 16:15:49 +01:00
Zankaria
e455080d42 post.php: refactor image metadata stripping into function 2024-03-21 16:02:09 +01:00
discomrade
0cefa9353b Recalculate filesize after stripping metadata 2024-03-21 15:42:48 +01:00
Zankaria
dc903017ca Add CaptchaQueries 2024-03-21 15:14:13 +01:00
Zankaria
2cad97775a post.php: use HttpDriver for remote file download 2024-03-21 15:14:13 +01:00
Lorenzo Yario
0c3159673d
Merge pull request #692 from Zankaria/simple-antispam
Prettier simple-antispam documentation
2024-03-16 15:39:57 -07:00
Lorenzo Yario
70410e5e61
Merge pull request #695 from Zankaria/post-delete-ip-modlog
Report in the modlog the IP that deleted their own post
2024-03-15 13:23:08 -07:00
Lorenzo Yario
32d3573e56
kept since it sounds better 2024-03-15 13:22:45 -07:00
Lorenzo Yario
3c23e01dab
Merge pull request #696 from Zankaria/ban-appeals-limits
Add maximum length of ban appeal
2024-03-15 09:48:25 -07:00
Zankaria
2a8b69fa77 Add maximum report length 2024-03-15 16:37:59 +01:00
vholmes
61cdca7207 Prevents reports with too many characters 2024-03-15 16:34:05 +01:00
Zankaria
d5109426d9 Prettier simple-antispam 2024-03-15 16:08:45 +01:00
discomrade
e80549a881 Enforce maximum length of ban appeal 2024-03-15 16:02:35 +01:00
Zankaria
caa05e41a2 Add IPs of users deleting their own post to the mod log 2024-03-15 12:02:33 +01:00
Lorenzo Yario
f48cf068d6
make case-insensitive 2024-03-14 06:10:18 -07:00
Your Name
6dabfa08bc Simple anti-spam mechanism 2024-03-14 12:50:19 +01:00
Lorenzo Yario
ab06e62266
Merge pull request #684 from Zankaria/fix-bad-download-parameter
post.php: fix bad call to download_file_into with wrong argument
2024-03-11 16:13:37 -07:00
Lorenzo Yario
9aba8f35b6
Merge pull request #686 from Zankaria/refactor-post-ocr
post.php: refactor image OCR into function
2024-03-11 16:13:26 -07:00
Zankaria
9ae988dd6f post.php: refactor image OCR into function 2024-03-08 10:24:02 +01:00
Zankaria
8978bb5442 post.php: fix bad call to download_file_into with wrong argument 2024-03-07 12:37:17 +01:00
Zankaria
24ebabb976 Remove 'convert_manual_orient' functionality.
It was supposed to help in case the user had an unspecified imagemagik version that was old in 2013...
2024-02-14 23:34:08 +01:00
Lorenzo Yario
2a0c495b59
webp support 2024-02-14 03:15:21 -08:00
Zankaria
d3cd289511 Refactor post.php: break up file upload 2024-01-30 14:37:08 +01:00
Zankaria
c43229af8e Refactor post.php: extract symbol post body stripping 2024-01-30 14:36:31 +01:00
Zankaria
d02c4eb31d Refactor post.php: split upload file hashing to a function 2024-01-30 10:35:11 +01:00
Zankaria
15cce3a31f Fix leading whitespace in post.php 2024-01-30 10:35:07 +01:00
RealAngeleno
d057c6d660
logic for preventing deletion of old posts 2023-10-31 22:03:09 -07:00
RealAngeleno
ad3731ec67
add hCaptcha support 2023-09-16 01:27:20 -07:00