461 Commits

Author SHA1 Message Date
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
RealAngeleno 70b5c80cea fix bug with removal of telegrams 2023-07-18 02:35:56 -07:00
RealAngeleno 1a5b3c8480 Revert "Temporarily Revert "Remove telegrams" due to critical bug with posting" 2023-07-15 23:10:39 -07:00
RealAngeleno af6bb09031 Revert "Remove telegrams" 2023-07-15 23:03:13 -07:00
fowr 5ef004c7ad remove telegrams 2023-07-15 00:24:04 -03:00
RealAngeleno 5df3ae6606 Update post.php 2023-06-25 05:26:29 -07:00
James Franco d8732d3d30 fix incorrect function call in body length check 2023-06-17 22:20:05 -05:00
RealAngeleno 2cd1ea4095 changed "his" to "their"
also inadvertently made vichan woke
2023-05-28 19:29:26 -07:00
RealAngeleno bb59e907b1 allow posts to be discarded for too many lines 2023-05-20 15:38:40 -07:00
清靈語 5780e78975 Replace Google reCAPTCHA API's domain (#507)
This makes it accessible in mainland China.

Sources:
google/recaptcha#227
https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
https://meta.stackoverflow.com/questions/402339/please-change-the-recaptcha-link-to-ensure-the-site-is-accessible-in-china

Co-Authored-By: Fredrick Brennan <copypaste@kittens.ph>
2022-10-15 10:07:10 -04:00
C Hatfield ae2d91c534 Moved hardcoded html filepaths into config file for extensibility (#354)
Co-authored-by: chatfield <chatfield@creatuity.com>
Co-authored-by: Fred Brennan <copypaste@kittens.ph>
2022-08-29 10:50:45 -04:00
370chan c170bc7ef2 Fix files not being saved in certain cases (#483) 2022-08-20 12:24:46 -04:00
h00j a3dc72bddb securimage captcha 2021-11-13 01:24:34 +01:00
27chan 61d6132bb3 Fix post.php
I believe that you ended up closing some functions by mistake and then gave the following error when making a post:

PHP message: PHP Parse error:  syntax error, unexpected '}', expecting end of file in /var/www/vichan/html/post.php on line 462
2021-03-17 20:40:26 -04:00
h00j 4ef7feabf2 add telegrams 2021-03-12 21:51:42 +01:00
h00j 599fee5e21 use composer 2021-02-13 19:24:03 +01:00
Circlepuller dd5dbe65c7 Close #293 2019-03-09 11:54:18 +08:00
Fredrick Brennan be2eafd4fc Fix reports under PHP7.2
You'll need to delete all reports made before applying this patch for it
to work right. However, all reports made after applying this patch will
appear correctly in `mod.php?/reports`.

This closes #300.
2018-07-27 19:40:32 +08:00
H0K4 b3e16cfa0d fixed banned redirect i think (#270)
* fixed banned redirect i think

my tinyboard script has been altered a lot but i think this is the fix for the wrong ban redirect.

* maybe it's just this
2017-11-06 20:19:35 +08:00
Fredrick Brennan ac8f15f0f2 Close #267 2017-11-05 16:25:02 +08:00
Fredrick Brennan 8e811cec44 Close #265 2017-11-03 22:12:35 +08:00