Commit Graph

343 Commits

Author SHA1 Message Date
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
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
czaks 6cbd51b83c for fastcgi users: rearrange post.php, sort of, so that posts are created faster, and we can leave php to generate themes in the background
same for post deletion
2015-03-31 09:21:16 +02:00
czaks 10f93d0d43 implement a protection against transparent proxies 2015-03-24 05:19:25 +01:00
czaks e999955d08 ... 2015-03-10 13:28:55 +01:00
czaks bdb6001f3f support for slugified links; may introduce a few bugs 2015-03-10 12:48:59 +01:00
Jason Puglisi 6d28f9c98e Fixed error that would prevent posting without ['mod'] 2015-02-26 22:51:45 -05:00
Wesley 2d396c4eb8 Add E Z board locking feature 2015-02-15 21:16:36 -05:00
czaks f4422e597b fix a related bug 2014-10-24 13:43:15 +02:00
czaks daad519b85 config[php_md5] feature 2014-10-24 13:24:33 +02:00
Bui cb9b4db73d do security checks *after* checking captcha 2014-10-07 00:15:45 +02:00
Fredrick Brennan 23c73ca839 Allow the user to decide whether or not he wants to display his country 2014-09-20 16:35:28 +00:00
Ian Bradley c1ecef3772 Added support for BSD md5 incase md5sum isn't available. 2014-09-15 16:33:37 -07:00
czaks 9b943da60a Revert "Rework the GeoIP code, add country-based poster names"
This reverts commit db3c7f4ee9.
2014-07-06 02:13:08 +02:00
Jano Slota a1d2d2388a Fix the bug that allowed to post an empty reply 2014-07-06 01:29:30 +02:00
Jano Slota db3c7f4ee9 Rework the GeoIP code, add country-based poster names 2014-07-06 01:29:12 +02:00
8chan eea984859b Better remote errors 2014-05-27 23:50:11 +00:00
Fredrick Brennan c1bc5778dd Derp, filesize was always being based on first file 2014-05-17 15:47:15 -04:00
Reid 'Crafted' 78ffd76fcf Make post.php compatable with PHP 5.3x
Compatible with earlier versions of PHP. This should work on 5.4 too, but I haven't tested it.
2014-05-13 21:23:06 +01:00
czaks 19ce50c545 Merge ../pl
Conflicts:
	post.php
2014-05-10 21:58:23 +02:00
Jano Slota c2c7859a9e Fixed a little exiftool bug
Conflicts:
	post.php
2014-05-10 21:50:01 +02:00
czaks cd15458a32 Merge remote-tracking branch 'origin/4.5' 2014-05-06 21:53:38 +02:00
czaks f7278e5a61 user moderation support 2014-05-06 21:53:05 +02:00
Fredrick Brennan d31a353962 Allow post deletion switch 2014-05-05 18:03:51 -04:00
czaks 0a53fdb3a2 remove quick-reply harder 2014-04-30 22:46:20 +02:00
czaks 46802d3f1b fix post event 2014-04-29 21:18:17 +02:00
czaks d57dcc5e6e fix remote upload 2014-04-29 20:50:28 +02:00
czaks b94e39148b remove quick-reply-old. it probably doesn't work now, it certainly isn't
maintained. this is an old cruft and if needed, it needs rewriting.
2014-04-29 18:37:29 +02:00
copypaste c483e1258c multiimage posting 2014-04-27 15:48:47 +02:00
kaf f83c87b623 Added: /pol/-like flags based on a953229de7
Conflicts:
	inc/config.php
	templates/post_form.html
2014-04-19 18:48:17 +02:00
czaks 1fb362a7c0 fix previous commit 2014-04-18 14:33:50 +02:00
czaks 8e9db69375 post.php: load config earlier 2014-04-18 14:32:05 +02:00
czaks e08bc5d54d Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2014-04-12 20:52:42 +02:00
Michael Reiley 677e428a4d Update copyright years. 2014-04-12 11:12:42 -07:00
czaks bcb47a1d33 geoip: compatibility fix; this allows to have both versions of geoip loaded 2014-02-19 00:01:40 +01:00
Jano Slota 9dad842c24 Moved the external geoip files to inc/lib/geoip and made the geoip code a bit prettier 2014-02-18 23:50:01 +01:00