1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
Commit Graph

385 Commits

Author SHA1 Message Date
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
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
czaks
5e335a8564 preliminary inbound nntpchan support 2016-08-14 16:24:17 +02:00
ptchan-foss
8548a4ff70 Fixed report syslog message 2016-08-12 18:18:54 +01:00
nekomiko482
a55760299c Fixes incompatibility with BSD's md5 output format.
fixes #190
2016-07-07 12:53:40 +03:00
czaks
11cecf8452 Revert "[BUG] Image reject repost board option now also affects YT embeds"
This reverts commit b476b66007.
2016-06-21 05:03:44 +02:00
czaks
e230f1472c don`t ocr non-images 2016-06-10 12:41:53 +02:00
czaks
8a46c7a0d5 tesseract OCR support for spamfilters 2016-06-09 11:09:10 +02:00
czaks
644f227ab3 fix "Undefined variable: pid"; thanks fpdl and MrFreeman 2016-05-08 03:09:20 +02:00
Fredrick Brennan
505adffcdc Cyclical threads ♺ 2016-05-06 16:39:20 +02:00
8chan
7911c374e8 Public action logs commit (log.php)
Note: In a previous commit, I began making inc/mod/auth.php more modular with the check_login() function. Including it does NOT check mod login by default anymore like it does on vichan. You have to call check_login(). I've finally included it in inc/functions.php. If you have any custom pages that use inc/mod/auth.php, just including functions.php is enough now.

===================================
Also: backports 351375185e (early 404)
2016-05-06 15:44:26 +02:00
Fredrick Brennan
b476b66007 [BUG] Image reject repost board option now also affects YT embeds 2016-05-06 15:12:08 +02:00
Fredrick Brennan
8943bb0bb3 Rewrite report system due to flooding 2016-05-05 12:57:52 +02:00
8chan
3eb755ee7e Move login check in inc/mod/auth.php to a function
This allows pages like create.php to not include inc/mod/pages.php while still being able to use the mod auth functions (like generating salts and passwords)
2016-05-05 11:40:52 +02:00
czaks
d310abc95c Merge branch 'master' of github.com:vichan-devel/vichan 2016-05-05 10:54:09 +02:00