Commit Graph

377 Commits

Author SHA1 Message Date
towards_a_new_leftypol
3e9c52cec4 WIP 2020-12-22 01:35:54 -05:00
towards_a_new_leftypol
1760f98a0c print statements and relax rules in config 2020-12-22 01:34:51 -05:00
towards_a_new_leftypol
cd9515397c Print statements everywhere 2020-12-22 01:33:07 -05:00
Benjamin Southall
7dba466f73 Fixes You look like a bot (reCaptcha window doesn't appear) #159, straight implementation of upstream https://github.com/vichan-devel/vichan/pull/241, but I bumped the jquery version. 2019-08-10 20:39:17 +10:00
Benjamin Southall
59e8120375 As per vichan upstream move locked board check to after openBoard call in handle_post. Unlike upstream , the board being locked doesn't stop reports or deletions being processed for that board, just new posts 2019-03-22 04:08:02 +10:00
Benjamin Southall
2f024d8b83 Initial post.php refactor into handler functions 2019-02-26 10:48:01 +10:00
Master Splinter
3501aab7a9 Update post.php
It was logged as 0.html when link_for is called with $post
2017-09-23 23:26:44 +03:00
Benjamin Southall
d2429e05d1 Add warning without ban, joke capcode support, SC editor support, home link support, table for calender theme / extension, removing boardalias duplicate citations in markup and other features 2017-09-03 23:39:43 +09:00
Benjamin Southall
22b8dc6312 Partial merge of 736e982945 [SECURITY] Lessen security impact 2017-06-08 08:13:57 +09:00
Benjamin Southall
9d5e98a9a3 Implemented fix for Invalid link_for call referencing deleted thread when op is deleted #98 2017-04-28 15:08:02 +09:00
Benjamin Southall
08f5412458 Add isempty check for POST variable for multi file upload via URL 2017-03-23 01:10:53 +09:00
Benjamin Southall
47273d6887 Adding support for multiple file upload using URLs, previously only one URL was supported. Also removes duplicate slack reporting merge. 2017-03-20 20:19:03 +09:00
Benjamin Southall
d4e460c5e9 Initial implementation of Feature Req: board-independent file size management #4. Using ['board_specific'][['uri']]['max_filesize'] as maximum file size if avaliable otherwise using config['max_filesize'] as default 2017-03-05 02:18:28 +09:00
Benjamin Southall
44e8b9615c 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 2017-03-05 01:41:52 +09:00
Benjamin Southall
d23355ce48 Add additonal brackets to min_body post length check in order to ensure operation precedence 2017-03-03 15:25:30 +09:00
Benjamin Southall
e93e954bad Fix relative path to temporary directory for Tesseract OCR 2017-03-02 11:26:51 +09:00
Benjamin Southall
cb6a6eb5e3 When reporting posts return to the reported post, instead of generating a new page 2017-03-02 11:25:45 +09:00
Benjamin Southall
c777b88521 Add min_body configuration option for post too short check 2017-01-17 22:55:46 +09:00
Benjamin Southall
da450d7088 Changes to report notification callback to Slack HTTP endpoint 2016-12-14 06:11:54 +09:00
Benjamin Southall
03075e7a8c Make slack report notifier, donate page, irc page and radio page use configuration variables instead of hard coding values. 2016-10-02 01:15:34 +09:00
Benjamin Southall
c58e37ce39 Merged lainchan with vichan master at 25/9/2016 0bd63149b7 @czaks czaks committed on GitHub 2 days ago 2016-09-25 16:34:47 +09:00
Benjamin Southall
5af60d1e33 Remove leading space from ReportNotifier Slack Message 2016-09-24 12:52:08 +09:00
Benjamin Southall
59cc269cd7 Change ReportNotifier SlackMessage format 2016-09-23 23:05:04 +09:00
Benjamin Southall
d09953da07 ReportNotifier Slack notification support 2016-09-23 22:44:48 +09: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 351375185e5 (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
czaks
186ad5ca86 bsd fixup 2016-05-05 10:53:44 +02:00
czaks
19b70663d7 remove magic_quotes check; it`s 2016 after all 2016-05-05 10:29:13 +02:00
czaks
4c827cf105 fix some nonsense 2016-05-05 10:22:34 +02:00
czaks
c4b98e94ce [SECURITY] harden for imagetragick (we aren`t hit by the bug, but we were passing uncommon filetypes, like JPEG2000, directly to imagemagick) 2016-05-05 10:17:14 +02:00
czaks
dcf5d699bd simplify the md5 execution logic 2016-05-05 08:22:19 +02:00
jove
1bacfecdfe Better board lock work around.
Taking into account barrucadu's comments.
2016-03-05 02:46:43 +00:00
jove
9feea5b436 Board lock workaround
Works around the fact that individual board configs are not loaded when posting by making locked boards a global setting that takes an array of boards

Obviously the proper fix is to correctly load the board configs but I can't be arsed.
2016-03-04 21:27:08 +00:00
czaks
b5370fd3e5 fileboard: op tag fix 2015-04-23 02:41:17 +02:00
Marcin Łabanowski
4014682882 fileboard support 2015-04-22 06:06:34 +02:00
czaks
34eeaccea9 optimization: we don`t need bans.php most of the time and bans.php has big dependencies 2015-04-05 16:31:20 +02:00