Commit Graph

398 Commits

Author SHA1 Message Date
6645a8f989 Add meaningful error codes for captchas 2023-01-14 05:50:41 -01:00
175022f519 Move PHP session into captcha code to prevent unnecessary cookies. 2023-01-14 05:50:41 -01:00
58d719c7f9 Allow local securimage captcha to be run without cURL library 2023-01-14 05:50:40 -01:00
8cd2ad7b10 Drop remaining MySQL <5.5.3 support (utf8 without multibyte)
It's over 10 years out-of-date and EOL and the version code isn't failsafe which causes issues with some MariaDB versions, resulting in broken multibyte character behaviors.
2023-01-14 05:50:40 -01:00
a8115d2e53 Remove wizchan remnants
Put me in the screencap
2023-01-14 05:50:40 -01:00
6fb529e745 Add option to force a subject when posting threads 2023-01-14 05:50:40 -01:00
17ed5819f6 Add maximum text length to ban appeals. 2023-01-14 05:50:40 -01:00
d5284f3a34 Limit maximum email length to 30 to prevent database error 2023-01-14 05:50:40 -01:00
354f70fa97 Improve telegrams + refactor rebuilding after posts, finish reply requests before rebuilding index
This provides massive improvements to perceived post times on large boards as it doesn't wait for the entire board to rebuild index before confirming to the user that the post was made

Telegrams now send a response ajax.js can understand, redirecting them.
2023-01-14 05:50:40 -01:00
e0be553970 Quick hack to prevent oversized PDF thumbnails. 2023-01-14 05:50:40 -01:00
49b5fb75a6 Fix 387ebe9c0c for reports, extract limit to variable, give more descriptive error name 2023-01-14 05:50:40 -01:00
617a924826 Recalculate filesize after stripping metadata 2023-01-14 05:50:40 -01:00
713b08b689 Redirect to thread after deleting child post 2023-01-14 05:50:40 -01:00
Couchy
2a1d99a4bb Fix rejected images not being deleted
$file['thumb_path'] and $file['thumb_path'] need to be set before calling undoImage($file).
2023-01-14 05:50:40 -01:00
PupperWoff
81bdcfdf6d Added multiple file select dialog for post form
Completely revamped, code by Discomrade
Moved filepaths processing loops into a function for easier maintainance
2023-01-14 05:50:40 -01:00
PupperWoff
dd0847b751 Added Archive Feature - Added feature allowing Users to vote for threads they want Featured in the Archive 2023-01-14 05:50:40 -01:00
Arvo Huru
4989762458 Added Feature - Different wait-time for OP and reply deletion. 2023-01-14 05:50:40 -01:00
PupperWoff
c353e1284d Added Feature - Shadow Delete of Posts and Threads (can be restored if deleted by mod) - Still need a way to see and restore deleted threads 2023-01-14 05:50:39 -01:00
PupperWoff
16c4f2719a Added Feature - Cutoff for deletion of threads by OP if they have a certain number of replies. 2023-01-14 05:50:39 -01:00
Equus
d5e132b899 Add option for minimum required OP length
(Conflicts with lainchan and clean-up by Discomrade)
2022-03-01 09:50:24 -01:00
fallenPineapple
c8821a3dec Add moderation tools for file banning
Thank you PupperWof
2022-03-01 09:50:24 -01:00
Benjamin Southall
bdae6720c7 Add isempty check for POST variable for multi file upload via URL 2022-03-01 09:48:01 -01:00
Benjamin Southall
f3b833a3de Adding support for multiple file upload using URLs
Previously only one URL was supported.
2022-03-01 09:48:01 -01:00
Benjamin Southall
f05a3130ce Initial implementation for Thumbnails for PDFs / other things #6, requires ['pdf_file_thumbnail'] is set to true and using convert from imagemagick. If ['pdf_file_thumbnail'] is false then it uses standard configured static file icon 2022-03-01 09:48:01 -01:00
Benjamin Southall
b8fe9569f7 Add additonal brackets to min_body post length check in order to ensure operation precedence 2022-03-01 09:48:01 -01:00
Benjamin Southall
c818e1a528 Fix relative path to temporary directory for Tesseract OCR 2022-03-01 09:48:01 -01:00
vholmes
9a1f8e7b8a Prevents reports with too many characters 2022-03-01 09:48:01 -01:00
Benjamin Southall
6a2ffda7e0 Add min_body configuration option for post too short check 2022-03-01 09:48:01 -01: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
czaks
1371b64986 undo the reason limit 2017-07-26 21:37:08 -04:00
27chan
899a98c503 Fix error in report threads and replys 2017-07-26 22:22:34 -03:00
Daniel Saunders
18aed77ecc urlencode reCAPTCHA response for safety 2017-07-24 13:24:44 -04:00
Daniel Saunders
b5fac28a8b Fully removed the outdated recaptchalib.php (freed up some room hehe) 2017-07-24 04:03:49 -04:00
Marcin Łabanowski
39715e3595 Merge pull request #224 from ghost/patch-2
Implementing Czaks captcha
2017-07-23 17:57:59 +02:00
Marcin Łabanowski
3e23c028de Merge pull request #215 from antedeguemon/master
Prevents reports with too many characters
2017-07-23 17:55:22 +02:00
czaks
736e982945 [SECURITY] Lessen security impact
post.php: misc fixes
2017-05-17 14:05:01 -04:00
Horija
dc7a507526 Update post.php 2017-04-24 12:21:33 +02:00
czaks
d85cb47647 report event 2017-03-11 08:34:58 -05:00
vholmes
387ebe9c0c Prevents reports with too many characters 2017-02-15 23:07:50 -02:00
czaks
a5e7b3da6f nntpchan: work around php nonsense 2016-08-19 23:15:42 +02:00
czaks
a779b96370 second iteration of nntpchan implementation 2016-08-15 00:56:06 +02:00
czaks
1c24c69999 Merge branch 'master' of github.com:vichan-devel/Tinyboard 2016-08-14 16:24:25 +02:00