Commit Graph

3274 Commits

Author SHA1 Message Date
Michael Foster 8efab06616 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 91bb3182da ⌘+click should open image in new tab 2013-07-30 19:07:28 -04:00
Michael Foster 461084d400 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 793042ee6c Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	js/inline-expanding.js
2013-07-29 23:17:37 -04:00
czaks 54714595f7 js/inline-expanding.js: Allow to work with auto-reload.js, etc. (jQuery is still optional)
Conflicts:
	js/inline-expanding.js
2013-07-29 22:54:09 -04:00
Michael Foster 1759ac2ea3 Post search: Search other fields too 2013-07-29 20:20:07 -04:00
czaks 9a27feca01 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-29 18:16:24 -04:00
Michael Foster d44b4f19a8 See last commit 2013-07-29 16:31:36 -04:00
Michael Foster e0bc0a622d Post serach results: link to posts with ?/ 2013-07-29 16:26:32 -04:00
czaks 4257191acd Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-29 16:26:10 -04:00
Michael Foster c8e93f04d2 Update search results template 2013-07-29 16:24:11 -04:00
Michael Foster 58306bdc63 Search posts 2013-07-29 16:18:06 -04:00
Michael Foster c0e0a5db7d Error in news template 2013-07-29 13:14:21 -04:00
Michael Foster 5bab041814 Make font-awesome enabled by default 2013-07-29 12:27:10 -04:00
czaks d11e9d752e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-28 20:51:43 -04:00
Michael Foster bd8bd3c02e Fix for last commit 2013-07-28 20:46:00 -04:00
Michael Foster 57c8e4ee7c Strip combining characters from Unicode strings (eg. Zalgo) 2013-07-28 20:33:26 -04:00
czaks cea7881749 categories theme: i18n some strings 2013-07-28 16:47:32 -04:00
czaks 98187303d7 categories theme: fix title displaying twice, put boardlist there instead 2013-07-28 16:47:24 -04:00
czaks 26b6dfb126 dark.css stylesheet fixes 2013-07-27 02:34:15 -04:00
czaks 4ffbbe7a23 Tag for vichan-devel-4.0.5-gold after bugfix 2013-07-27 02:21:08 -04:00
czaks 07ea457aa5 inline-expanding.js: missed preventing default action; shouldn't open new window when unwanted anymore 2013-07-27 02:19:58 -04:00
czaks 7af28a6e14 Tag as vichan-devel-4.0.4-gold 2013-07-27 02:06:50 -04:00
czaks 396492aad6 Update Polish locale 2013-07-27 02:01:42 -04:00
czaks 065a6f97c8 localise time values 2013-07-27 01:50:38 -04:00
czaks b31487b53d categories theme: i18n some strings 2013-07-27 01:43:09 -04:00
czaks e2b1034f09 categories theme: fix title displaying twice, put boardlist there instead 2013-07-27 01:38:03 -04:00
czaks 3f2ea6b936 i18n some strings in inc/config.php 2013-07-27 01:33:21 -04:00
czaks ae99c6dd0d i18n one more string in inc/functions.php 2013-07-27 01:21:30 -04:00
czaks 1157864612 banned.php: remove polish strings; html5; needs further work 2013-07-27 01:19:30 -04:00
czaks 3e5234e54e toggle-images.js: javascript i18n 2013-07-27 01:16:12 -04:00
czaks d09ef22154 hide-images.js: javascript i18n 2013-07-27 01:12:22 -04:00
czaks 880cf25366 fix merge 2013-07-27 01:08:26 -04:00
czaks 64a66db613 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	js/hide-threads.js
	js/inline-expanding.js
	stylesheets/style.css
2013-07-27 01:04:36 -04:00
czaks e3cb427fee ukko: fix javascript interoperation 2013-07-27 00:57:12 -04:00
czaks 1c33285c81 hide-threads.js: further fixes and customisations, mainly due to unexpanding previously not working here, but working on another boards (4chon, etc.)
Conflicts:
	stylesheets/style.css
2013-07-27 00:33:51 -04:00
czaks 4b50f1475e hide-threads.js: fix previous commit 2013-07-27 00:29:59 -04:00
czaks c51dc146e2 hide-threads.js: show post hider even in posts without an image 2013-07-27 00:29:37 -04:00
czaks d82cd9b7bd expand.js: fix post order when new posts appear between loading index and expanding 2013-07-27 00:28:55 -04:00
czaks 6bf217941a expand.js: fix a weird bug - thread expand not always worked due to post being loaded in DOM, but not put in a right place in a thread, or so, so check if it has been loaded in a thread instead of if it exists in DOM 2013-07-27 00:28:43 -04:00
Michael Foster c0a45ba123 Allow hide-images.js, toggle-images.js and inline-expanding.js to work together 2013-07-27 00:14:43 -04:00
czaks 35f8730f40 ukko: fix top boardlist losing its fixed status 2013-07-27 00:13:54 -04:00
czaks e5bdf63692 expand.js: fix post order when new posts appear between loading index and expanding 2013-07-26 22:39:00 -04:00
czaks a28b5fc3a1 expand.js: fix a weird bug - thread expand not always worked due to post being loaded in DOM, but not put in a right place in a thread, or so, so check if it has been loaded in a thread instead of if it exists in DOM 2013-07-26 22:34:06 -04:00
Michael Foster a11c8981fe js/hide-images.js: Hide individual images 2013-07-26 19:55:28 -04:00
Michael Foster baa6793516 toggle-images.js (this was written last year, but I never pushed it to git) 2013-07-26 19:39:11 -04:00
Michael Foster 595a165fa3 install.sql mistake 2013-07-26 18:22:48 -04:00
czaks 1a43b87315 hide-threads.js: further fixes and customisations, mainly due to unexpanding previously not working here, but working on another boards (4chon, etc.) 2013-07-26 15:31:20 -04:00
czaks 95c50ae778 hide-threads.js: fix previous commit 2013-07-26 14:57:08 -04:00
czaks c217069f2b hide-threads.js: show post hider even in posts without an image 2013-07-26 14:27:38 -04:00