Commit Graph

1948 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
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
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
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
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
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
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
Michael Foster
37d5846e4e Fix markup overlapping. Issue #124 2013-07-26 11:01:13 -04:00
Michael Foster
33a1c00bd5 %length% in public ban messages 2013-07-24 11:30:01 -04:00
Michael Foster
6c2c18514e Small mistake with last commit 2013-07-24 11:17:09 -04:00
Michael Foster
31f657e550 Long overdue: Salted password hashes 2013-07-24 11:15:55 -04:00
Michael Foster
46edec0f2d Bug with last commit 2013-07-23 09:46:29 -04:00
Michael Foster
1132a4ce79 Option to use font-awesome for sticky/lock icons, etc. 2013-07-23 09:38:42 -04:00
Michael Foster
c562149458 Bugfix: "[]" showing for mods when hiding threads 2013-07-23 09:20:37 -04:00
Michael Foster
ab0c5ee481 Option to make stylesheet selections board-specific 2013-07-23 01:35:56 -04:00
czaks
f0aee74523 catalog: fix previous commit 2013-07-22 19:05:38 -04:00
czaks
329c81bbd3 catalog: translation fix 2013-07-22 19:05:30 -04:00
czaks
acea5a3ccc youtube.js: make it work with thread expand etc. 2013-07-22 19:02:01 -04:00
czaks
96f3363a8b youtube.js: better working in https environments 2013-07-22 19:01:50 -04:00
czaks
bdffdcb1c3 youtube.js: made it actually work, also a fix in usage 2013-07-22 19:01:40 -04:00
czaks
e2806cfcaf youtube.js: fix previous commit 2013-07-22 19:01:32 -04:00
czaks
51bd267764 youtube.js: prevent default action of opening new window 2013-07-22 19:01:10 -04:00
czaks
163df14b50 hide-threads.js: a bigger minus character 2013-07-22 18:58:58 -04:00
Michael Foster
6ba8f3f7de Add custom links to dashboard 2013-07-22 18:30:45 -04:00
Michael Foster
ed8fe6c27a Option to check public ban message by default 2013-07-22 17:51:13 -04:00
Michael Foster
51361d02fb Strange bug in last commit 2013-07-21 21:18:57 -04:00
Michael Foster
9123161870 js/hide-threads.js: Simple thread-minimizing script 2013-07-21 21:12:30 -04:00
Michael Foster
308f557fd5 Option to automatically strip EXIF metadata from JPEGs 2013-07-21 15:50:45 -04:00
Michael Foster
e8b693b044 js/quote-selection.js: Slightly less buggy, especially on Macs 2013-07-20 14:05:39 -04:00
Michael Foster
67cbc2b1aa Fix permissions with search 2013-07-20 13:15:44 -04:00
Michael Foster
b776e0a7f0 Search update 2013-07-20 12:05:42 -04:00
Michael Foster
e62b83e79c Bring back search (searching posts not implemented yet) 2013-07-20 07:50:33 -04:00
Michael Foster
158a7c0e79 Experimental / Proof-of-concept: Don't load the YouTube player unless the video image is clicked. 2013-07-19 19:06:27 -04:00