1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00
Commit Graph

316 Commits

Author SHA1 Message Date
Michael Foster
da5048a0e4 SQL cleanup 2013-07-31 20:51:43 -04:00
czaks
0eaf52583f Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/thread.html
2013-07-31 19:25:04 -04:00
Michael Foster
2b74f8b37d Markup modifiers: raw HTML 2013-07-31 19:18:55 -04:00
Michael Foster
be11041471 Markup modifiers. Fix issue #66 (public ban message lost when rebuilding post body) 2013-07-31 18:59:54 -04:00
czaks
625a7961bd Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-31 17:02:30 -04:00
Michael Foster
a8c929e0e7 Fix issue #74. Note: This bug may break the display of certain filenames prior to upgrade. 2013-07-31 16:34:50 -04:00
czaks
7e58e50516 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
	inc/image.php
	js/expand.js
	js/hide-threads.js
	js/local-time.js
	js/smartphone-spoiler.js
	templates/header.html
	templates/index.html
	templates/main.js
	templates/page.html
	templates/post_reply.html
	templates/post_thread.html
	templates/thread.html
2013-07-31 14:54:20 -04:00
Michael Foster
bb820f6da9 Issue #126 2013-07-31 12:05:19 -04:00
czaks
eed8767039 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/functions.php
	inc/mod/pages.php
	install.php
	js/expand.js
	mod.php
2013-07-31 02:30:44 -04:00
Michael Foster
ca6cb1fdea Allow Unicode in board URIs. 2013-07-31 02:08:55 -04:00
Michael Foster
a01f53b4a4 Upgrade to utf8mb4 charset for MySQL server versions above 5.5.3. Keep support for older versions. Fix charsets for multiple columns and tables. 2013-07-30 22:08:56 -04:00
Michael Foster
e2adc0093d MySQL's utf8 charset only supports up to 3-byte symbols. Insterting four byte symbols (U+010000 to U+10FFFF) can be done maliciously to break HTML mark-up.
The ideal solution was to convert to MySQL's utf8mb4 charset, but then we would lose support for MySQL < 5.5.3. In this fix, incompatible characters are encoded as HTML numeric character references (eg. #65536) and just stripped from body_nommarkup.
2013-07-30 16:41:10 -04:00
czaks
f5115f1945 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-28 20:51:43 -04:00
Michael Foster
d9dfed5e1c Fix for last commit 2013-07-28 20:46:00 -04:00
Michael Foster
9a14d32c77 Strip combining characters from Unicode strings (eg. Zalgo) 2013-07-28 20:33:26 -04:00
czaks
73414519ba Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-22 10:14:17 -04:00
Michael Foster
f798bb5209 Option to automatically strip EXIF metadata from JPEGs 2013-07-21 15:50:45 -04:00
czaks
600324b137 Remove imgcaptcha, this code is unused in any of our forks and needs work to get here back.
Revert "Merge branch 'imgcaptcha' of https://github.com/asiekierka/Tinyboard"

This reverts commit 49afb685c8, reversing
changes made to 2451a0f29c.

Conflicts:

	js/imgcaptcha.js
2013-07-20 22:47:26 -04:00
czaks
274a86dd03 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/themes/sitemap/info.php
2013-07-20 17:28:34 -04:00
Michael Foster
731cfba33b Only store video URLs in database, instead of the generated player HTML. 2013-07-19 18:36:12 -04:00
Michael Foster
2650da760c I just realized that ImageMagick had a -auto-orient switch. No need for all that code. 2013-07-19 09:39:46 -04:00
czaks
495c6fa846 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	post.php
2013-07-18 15:19:03 -04:00
Michael Foster
34b5f62600 Themes edit: Split "post" into two seperate actions: "post" (replies) and "post-thread". And add a $board variable. 2013-07-18 12:06:26 -04:00
czaks
6152ed43bd Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	install.php
	templates/index.html
	templates/thread.html
2013-07-16 13:02:13 -04:00
Michael Foster
2ec71f9b3e incrementSpamHash() was duplicated for some reason 2013-07-16 01:34:36 -04:00
czaks
a139c44a80 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/page.html
2013-06-21 16:41:39 -04:00
czaks
2542aec237 SPDY: send back updated thread/index after post
Sets X-Associated-Content header, which is at least recognized
by Apache mod_spdy.
2013-06-21 16:37:56 -04:00
Macil Tech
aa881058a3 Adds image_hard_limit and reply_hard_limit options.
Also reworks the numPosts() function and uses it elsewhere too.
2013-06-18 12:21:41 -05:00
Marcin Łabanowski
5cc2a67e63 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into HEAD
Conflicts:
	mod.php
2013-01-23 18:58:38 +01:00
Michael Save
53fa21b76c Automatically rotate and mirror images based on EXIF orientation (only compatiable with "convert" option selected at the moment) 2013-01-24 03:24:38 +11:00
Marcin Łabanowski
6990cab263 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-21 13:17:13 +01:00
Michael Save
4f58617507 Copyright and license update for 2013. 2013-01-20 21:23:46 +11:00
Marcin Łabanowski
f6b7b3901a Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-19 16:23:02 +01:00
Macil Tech
ef7c998b02 Add field_disable_subject and field_disable_reply_subject config options. 2013-01-19 01:37:48 -06:00
Michael
b91845ea7e Merge pull request #93 from Macil/image_reject_repost_in_thread
Add image_reject_repost_in_thread option
2013-01-18 23:03:16 -08:00
Macil Tech
14469f80a9 Removed redundant code in image processing.
Both paths of the code here did the same thing.
2013-01-19 00:39:29 -06:00
Macil Tech
15043b39cf Add image_reject_repost_in_thread option 2013-01-19 00:25:24 -06:00
asiekierka
f030a0e95a fixed to actually work 2012-12-22 18:16:09 +01:00
Michael Save
c0760892b5 Merge branch 'mod-rewrite'
Conflicts:
	inc/lib/Twig/Extensions/Extension/Tinyboard.php
	install.php
	mod.php
	stylesheets/style.css
	templates/index.html
	templates/page.html
	templates/thread.html
2012-08-27 02:28:04 +10:00
Michael Save
fa24147525 Temporary bugfix for incorrectly escaped email field 2012-08-27 02:18:31 +10:00
Michael Save
9062a7cf34 $post['id'] 2012-05-27 20:55:56 +10:00
Michael Save
c1c7adb0e9 Bugfix: the number of successful passes for an anti-spam "hash" was often incorrectly incremented 2012-05-07 23:51:58 +10:00
Michael Save
7af775cf80 Bugfix: the number of successful passes for an anti-spam "hash" was often incorrectly incremented 2012-05-07 23:51:15 +10:00
Michael Save
8b2e62f105 custom capcode permissions 2012-05-07 18:22:20 +10:00
Michael Save
36b8397f9f Bugfix: with file uploading (introduced with last commit) 2012-05-05 18:12:11 +10:00
Michael Save
15f290b34f Bugfix: non-image file uploading 2012-05-05 18:11:45 +10:00
Michael Save
ca87a005be Bugfix: with file uploading (introduced with last commit) 2012-04-20 19:48:11 +10:00
Michael Save
adfeeaa635 Bugfix: with file uploading (introduced with last commit) 2012-04-20 19:47:25 +10:00
Michael Save
fe3a7250fe Bugfix: non-image file uploading 2012-04-20 19:04:53 +10:00
Michael Save
a2ad7d16fe Bugfix: non-image file uploading 2012-04-20 19:04:37 +10:00
Michael Save
8e42d64f55 typo 2012-04-14 03:44:00 +10:00
Michael Save
e1e225448a typo 2012-04-14 03:43:04 +10:00
Michael Save
17a56af9a7 code cleanup 2012-04-13 00:18:19 +10:00
Michael Save
ef6f5a2e48 Removed board.id. Use the board URI/name at the key instead. 2012-04-12 23:23:47 +10:00
Michael Save
0f984ebf77 Improved Tinyboard anti-bot/spam filter. See large comment in inc/config.php for details. 2012-04-12 21:56:01 +10:00
Michael Save
c98a8afc1d large cleanup 2012-04-12 02:49:22 +10:00
Michael Save
41355cbd44 moved $OP to $post['op']. post() now has one argument instead of two. 2012-04-11 02:18:06 +10:00
Michael Save
4e9cc24fad increase character limit on board URI, title and subtitle 2012-04-09 21:13:44 +10:00
Michael Save
6aec1a61ba New event: post-after 2012-04-03 00:16:25 +10:00
Michael Save
2ed3a91bc3 Convert $post to an object before passing it to event(). This way it can be modified by event handlers before entering the database. See http://tinyboard.org/docs/events.html#examples 2012-03-24 15:31:35 +11:00
Michael Save
f2df725984 $post['file_path'] 2012-03-19 02:55:34 +11:00
Michael Save
975ddcb2df Moved rebuildThemes() in post.php back for now. 2012-03-19 02:53:33 +11:00
Michael Save
b93d735b7d New feature: "events". Will eventually replace/extend "themes". 2012-03-19 02:41:06 +11:00
Michael Save
bf78900dda Better upload handling (don't move file before handling it) 2012-03-18 19:53:56 +11:00
Michael Save
fc9407e1b3 $config['thumb_method'] 2012-03-17 11:54:48 +11:00
Michael Save
1a3542b9ae allow quick-reply.js to work 2012-03-14 18:09:23 +11:00
Michael Save
6b75bf516c ability to adjust thumbnail size for OP images independently from reply images 2012-03-14 02:44:33 +11:00
Michael Save
cc9552cdfe Remade config[redraw_image] 2012-03-10 20:53:41 +11:00
Michael Save
dc1cfa187b bug: avoid using empty() or values such as "0" will not work as intended 2012-02-17 19:24:40 +11:00
Michael Save
7014b5341b allow mods to bypass forced anonymity (and other disabled fields). also fixed some small per-board permission bugs 2012-02-16 23:07:25 +11:00
Michael Save
6b587639e8 fixed bug causing "bot" errors when disabling fields on certain boards only 2012-02-14 23:18:00 +11:00
Michael Save
4b170b1336 prohibit using same anti-bot hashes across different boards/threads 2012-01-20 02:37:53 +11:00
Savetheinternet
46cf7b5c8c logical error syslog()ing reports 2011-12-22 15:46:19 +11:00
Savetheinternet
73c88eb0a4 syslog() reports and deletions 2011-12-22 10:09:59 +11:00
Savetheinternet
073246ed8d optionally disable image requirement for new threads 2011-12-18 08:48:16 +11:00
Savetheinternet
684fb68bf9 bugfix: PHP notices on raw posts 2011-12-13 20:15:46 +11:00
Savetheinternet
b0ae1678a3 removed $_SESSION 2011-12-09 01:18:23 +11:00
Savetheinternet
fc48b210a3 use multibyte-aware mb_strlen() instead of strlen(); fixed issue #8) 2011-12-07 17:47:36 +11:00
Savetheinternet
be6db03d10 syslog() mod actions 2011-12-06 03:00:59 +11:00
Savetheinternet
2026cd619d .. 2011-12-05 16:49:24 +11:00
Savetheinternet
9fe4bb65fb .. 2011-12-05 16:45:06 +11:00
Savetheinternet
002db075c1 syslog() new posts 2011-12-05 16:44:00 +11:00
Savetheinternet
533b211327 integer overflow bug on 32-bit systems 2011-12-05 15:34:31 +11:00
Savetheinternet
ec1c5af611 track cites (remove broken links after a post 404s) 2011-12-05 13:17:34 +11:00
Savetheinternet
6d667e3d34 v0.9.4 2011-12-04 13:52:56 +11:00
Savetheinternet
9e4658048c removed useless exit; 2011-12-04 09:09:24 +11:00
Savetheinternet
3e38803d8d ammended mod authentication system (no more $_SESSION) 2011-12-02 15:11:13 +11:00
Savetheinternet
44796e555e Ability to disable certain superfluous fields. ("Forced anonymous") 2011-11-23 21:24:06 +11:00
Savetheinternet
32786ce6b2 Ability to customize filenames, replacing the standard UNIX timestamp + random 2011-11-19 00:22:48 +11:00
Savetheinternet
e897f8d19e Combined SQL query for checking if locked, etc. Much more efficient. 2011-10-11 02:58:22 +11:00
Savetheinternet
af3f5d9371 added "bumplocking" feature 2011-10-10 22:37:39 +11:00
Savetheinternet
c6abc7b9c7 removed old, now invalid installation code from post.php 2011-10-08 19:08:46 +11:00
Savetheinternet
2e6dcc62a4 image spoilers 2011-10-04 02:46:39 +11:00
Savetheinternet
2480aaf078 Referer checking; more descriptive error message 2011-10-03 18:38:19 +11:00
Savetheinternet
bae23a2c65 Show full filename on mouseover. 2011-10-01 22:12:31 +10:00
Savetheinternet
f228c07744 Disable inline-expanding for non-images 2011-10-01 21:43:23 +10:00
Savetheinternet
56db0b0283 Fixed bug regarding no-body posts (especially relevant to video embedding) 2011-09-29 21:17:59 +10:00
Savetheinternet
2d4cea7299 Fixed force_body and force_body_op 2011-09-25 16:34:34 +10:00
Savetheinternet
63206584dc ... 2011-09-18 03:25:38 +10:00
Savetheinternet
d651b37ba9 fixed custom filters 2011-09-18 03:17:54 +10:00
Savetheinternet
0b9cea4d67 Accidentally disabled spam protection in last commit... 2011-09-15 20:34:45 +10:00
Savetheinternet
53c4cb26a1 Removed $config[force_body]. Made threads without text possible. 2011-09-15 20:32:49 +10:00
Savetheinternet
b238ac3414 increased subject max length to 100 characters 2011-08-27 12:11:34 +10:00
Savetheinternet
76563e9b26 find image size before loading image into memory 2011-08-24 18:22:07 +10:00
Savetheinternet
b7b3ca4ff3 ... 2011-08-15 00:49:52 +10:00
Savetheinternet
635154715c per-board bans 2011-07-27 13:40:27 +10:00
Savetheinternet
b2bf759af3 .. 2011-07-22 18:51:59 +10:00
Savetheinternet
5f2a1874ba fixed display of image resolution/size, which was broken after the new image class was introduced 2011-07-18 22:06:24 +10:00
Savetheinternet
d92913d299 image handling class 2011-07-12 20:29:35 +10:00
Savetheinternet
c21e12bd87 reCAPTCHA support 2011-06-16 04:59:16 +10:00
Savetheinternet
7d0f4fcd43 removed unnecessary whitespace 2011-06-16 03:11:52 +10:00
Michael
626719ab86 bug fix 2011-06-11 16:08:29 +10:00
Savetheinternet
b2c405d868 allowed enabling multiple themes simultaneously 2011-05-28 01:43:04 +10:00
Savetheinternet
be717f314c embedding+file upload bug, accepting both for a single post 2011-05-25 19:11:22 +10:00
Savetheinternet
ebdc15f41f typo 2011-05-25 19:08:09 +10:00
Savetheinternet
8cc92ad6cc stop ignoring $config[file_page]... 2011-05-20 22:44:11 +10:00
Savetheinternet
ac300e4ef2 replaced tor detection with DNSBL 2011-05-19 17:37:23 +10:00
Savetheinternet
c24175711e Embedding field 2011-05-18 17:05:48 +10:00
Savetheinternet
564e0ba962 cleanup 2011-04-23 00:38:25 +10:00
Savetheinternet
ef51ce6b10 bug fix for recent theme 2011-04-20 01:50:35 +10:00
Savetheinternet
21c59a10d6 non-image uploads 2011-04-13 20:57:41 +10:00
Savetheinternet
6c0079c3a8 Custom thubmanil image type (extension) 2011-04-13 04:08:59 +10:00
Savetheinternet
a15224896c < should be <= in this case 2011-04-12 22:58:55 +10:00
Savetheinternet
f041db1ebb When a thumbnailed image is going to be the same (in dimension), just copy the entire file and use that as a thumbnail instead. (optional) 2011-04-12 22:58:01 +10:00
Savetheinternet
be590ac7d5 New capcode field for posts and custom capcodes (run install.php to upgrade tables) 2011-04-12 21:08:54 +10:00
Savetheinternet
c674560bc1 Rename CSS rule to "capcode" 2011-04-12 20:19:56 +10:00
Savetheinternet
84c341ccc4 Fixed minor bug causing a PHP warning sometimes 2011-04-11 03:29:39 +10:00
Savetheinternet
4469b5728c Block files exploiting IE's mime-sniffing 'feature' 2011-04-10 22:31:08 +10:00
Savetheinternet
8e895fc2b9 Wordfilters 2011-04-06 19:18:36 +10:00
Savetheinternet
eb7146dc3e Post saving/cache and Google Analytics integration 2011-04-06 18:31:26 +10:00
Savetheinternet
2852f0adf3 Time limit before you are able to delete your post 2011-04-05 15:57:01 +10:00
Savetheinternet
c8d0a7003b Public ban messages 2011-04-03 18:20:55 +10:00
Savetheinternet
0dd85d77b0 Case-insensitive noko 2011-03-28 15:52:02 +11:00
Savetheinternet
e8018f151f Stupid bug when posting 2011-03-28 03:00:54 +11:00
Savetheinternet
054fd68dc2 More flood filter conditions 2011-03-27 23:23:12 +11:00
Savetheinternet
d5bf81794b Added IP address to flood filter 2011-03-27 23:13:24 +11:00
Savetheinternet
fb31c81cea Flood filters 2011-03-27 23:06:57 +11:00
Savetheinternet
8eff05d356 Fixed dangerous XSS vulnerability 2011-03-27 22:35:42 +11:00
Savetheinternet
00e0e4f7ed Fixed a small bug on the flood filter 2011-03-27 20:38:11 +11:00
Savetheinternet
345d65e7d2 remove accidentally committed debug crap 2011-03-26 22:50:45 +11:00
Savetheinternet
c78a2b6936 custom flood filters 2011-03-26 22:50:03 +11:00
Savetheinternet
6c0ea89f5e fix tupo 2011-03-26 18:43:19 +11:00
Savetheinternet
10d51c49ce Fixed a minor bug for blank posts 2011-03-14 22:30:42 +11:00
Savetheinternet
a8d69b46b7 .. 2011-02-23 02:22:07 +11:00
Savetheinternet
b15277928f Fix for iPods and other devices 2011-02-23 02:21:16 +11:00
Savetheinternet
84358a367d Accidentally removed important line of code... 2011-02-22 11:14:07 +11:00
Savetheinternet
4f486e5ca8 Reject blank posts? (just whitespace, etc). 2011-02-22 11:09:43 +11:00
Savetheinternet
0d6ba76295 Finalized report syste, 2011-02-20 18:28:39 +11:00
Savetheinternet
35981412f1 Reports/report queue 2011-02-20 17:19:57 +11:00
Savetheinternet
ddc60d007f small mistake 2011-02-19 20:39:13 +11:00