Commit Graph
100 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
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
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
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
Michael Foster 30dc892786 Only store video URLs in database, instead of the generated player HTML. 2013-07-19 18:36:12 -04:00
Michael Foster 0ba40a8fc2 I just realized that ImageMagick had a -auto-orient switch. No need for all that code. 2013-07-19 09:39:46 -04:00
Michael Foster 19766c4e0e Bugfix: Warning when in CLI-mode 2013-07-19 06:20:22 -04:00
Michael Foster e4bd9a6886 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
Michael Foster de4b5b3962 Quick catalog theme bugfix 2013-07-18 11:40:21 -04:00
Michael Foster 25ca144d0c Bugfix: .DS_Store fix 2013-07-18 11:28:35 -04:00
Michael Foster ce9431ba34 Update filters to work with new ban table 2013-07-18 10:17:19 -04:00
Michael Foster 7e95e80c25 New theme: XML sitemap generator 2013-07-17 10:17:28 -04:00
Michael Foster aadb57f2a2 More ban stuff: Show whether or not user has "seen" a ban yet in the ban list and on IP address pages. Purge useless expired ban records. 2013-07-16 08:50:39 -04:00
Michael Foster c8f30550af $config['require_ban_view']: Force users to view the "You are banned" page at least once before letting a ban disappear naturally. 2013-07-16 06:33:37 -04:00
Michael Foster 29b10c88db Outputting thread subject in header/title (issue #122) 2013-07-16 02:48:20 -04:00
Michael Foster 7302fc57a8 Automatically dismiss all reports regarding a thread after it is locked. 2013-07-16 02:32:44 -04:00
Michael Foster 2144d43f2b Fix issue #24 2013-07-16 02:27:20 -04:00
Michael Foster 23b27d8057 Add clean() to mod_move function 2013-07-16 01:38:24 -04:00
Michael Foster c2dc25ac51 incrementSpamHash() was duplicated for some reason 2013-07-16 01:34:36 -04:00
Michael Foster 77e4d926d9 Add "write" (files written to) to debug section 2013-07-16 01:21:06 -04:00
Michael Foster 34dc31c50e Remove search section from dashboard as it is currently nonexistent in the latest version. 2013-07-16 01:14:42 -04:00
Michael 1cabad1282 Merge pull request #121 from Macil/morertlfix
Remove all RTL and LTR control codes in bidi_cleanup.
2013-07-15 21:59:24 -07:00
Michael Foster 230b5de16e Bug fix: Error when using anonymous functions for mod pages 2013-07-15 08:17:49 -04:00
Michael 9b0c31daa6 Merge pull request #116 from Macil/hardlimits
Adds image_hard_limit and reply_hard_limit options
2013-06-18 10:46:25 -07:00
Michael 0ac9dd5f25 Merge pull request #115 from Macil/miscfixes
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Michael cbc3bd0c0a Merge pull request #114 from Macil/rtlfix
Fix display issues with RTL control characters in post names, subjects, ...
2013-06-18 10:41:31 -07:00
Michael 68c6a749f2 Merge pull request #113 from Macil/tzfix
Output times in UTC
2013-06-18 10:40:56 -07:00
Michael 2df2b8ba4d Merge pull request #109 from undido/banlistpatch
Banlistpatch
2013-06-17 09:54:29 -07:00
Michael 81b3eec4e0 Merge pull request #104 from undido/patch-1
Update auto-reload.js possible minor issue
2013-06-17 09:52:29 -07:00
Michael a2c215d5d0 Merge pull request #110 from lanc33/master
Fixes #59
2013-06-13 11:11:08 -07:00
Michael b9140f3c07 Merge pull request #106 from ctrlcctrlv/master
Per board configuration names were not working
2013-03-21 08:53:36 -07:00
Michael 31a21a5957 Merge pull request #102 from ctrlcctrlv/master
Fix truncation issues once and for all
2013-03-17 04:13:13 -07:00
Michael Save 2051018ba1 ... 2013-01-30 05:07:09 +11:00
Michael Save 5661e32b1c Instead of showing $config['error']['malformed'] on corrupt session, just go straight to the login form 2013-01-30 04:45:38 +11:00
Michael Save 45f9b51ad8 Merge branch 'master' of github.com:savetheinternet/Tinyboard 2013-01-29 22:17:46 +11:00
Michael Save 774e27caf5 Use === operator in authentication. 2013-01-29 22:13:35 +11:00
Michael Save e5bf2a91fc Don't always redirect to dashboard on login 2013-01-29 22:11:33 +11:00
Michael fd33e9eba1 Merge pull request #96 from Macil/redis
Add Redis caching support
2013-01-27 21:32:28 -08:00
Michael f07e1564ae Merge pull request #97 from Macil/indexstuff
index() rework to use only one cache key
2013-01-27 21:32:01 -08:00
Michael Save 1ad71b33e2 More use of mod log 2013-01-27 19:02:47 +11:00
Michael Save bf792ae7b7 toggle-locked-threads.js: Don't hide thread if accessed directly (only on index) 2013-01-27 19:01:31 +11:00
Michael Save b85b4a5a75 Added more debug links to dashboard 2013-01-27 18:44:53 +11:00
Michael Save db1b50cfc3 Escape result in ?/debug/sql 2013-01-26 00:00:39 +11:00
Michael Save cadf276891 New debug page: ?/debug/sql 2013-01-25 23:57:51 +11:00
Michael Save 9a2c33736a New debug page: ?/debug/sql 2013-01-25 23:56:55 +11:00
Michael Save 764d718f84 ?/debug/recent 2013-01-25 22:23:26 +11:00
Michael Save d5a994537b New debug mod page: ?/debug/recent (recent posts across all boards) 2013-01-25 22:18:03 +11:00
Michael Save 060be53797 Show "most recent" in anti-spam debug page 2013-01-24 19:25:07 +11:00
Michael Save 85710249b7 Raw HTML editing 2013-01-24 19:16:25 +11:00
Michael Save 85578b7105 Bugfix: Anti-bot check not allowing posting from second page 2013-01-24 04:56:06 +11:00
Michael Save bceb314ce6 Major fixes and clean-up for edit form 2013-01-24 04:16:09 +11:00
Michael Save b086e47cfc Em dash and en dash mix-up. Issue #88 2013-01-24 03:37:15 +11:00
Michael Save a44e0571bc 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
Michael Save cd81ae8ea5 No point using JSON as Cache class already supports objects 2013-01-23 13:42:14 +11:00
Michael Save edb9999a7d I'm dumb 2013-01-23 12:48:23 +11:00
Michael Save b693779d0d Hopefully a final fix for caching thread previews. This feature was previous disabled because of a bug/confliction. 2013-01-23 12:43:46 +11:00
Michael Save 7a68fc9525 Copyright and license update for 2013. 2013-01-20 21:23:46 +11:00
Michael Save 27ee4d320c Upgrade script for new kew 2013-01-19 18:49:00 +11:00
Michael Save 7b02357e23 Merge branch 'newkey' of https://github.com/Macil/Tinyboard 2013-01-19 18:47:01 +11:00
Michael 5c4421b4fd Merge pull request #95 from Macil/nosubject
Add field_disable_subject and field_disable_reply_subject config options
2013-01-18 23:44:44 -08:00
Michael accc3992f3 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
Michael 6aac2472e6 Merge pull request #92 from Macil/fixes
Miscellaneous bugfixes
2013-01-18 23:02:24 -08:00
Michael ced540a66e Merge pull request #91 from Macil/truncfixes
Post Truncation fixes
2013-01-18 17:14:45 -08:00
Michael df667896cd Merge pull request #81 from Appe/patch-1
Updated Youtube embed code.
2012-12-01 06:40:21 -08:00
Michael Save 04eb346fa7 Merge branch 'master' of github.com:savetheinternet/Tinyboard 2012-11-19 10:28:47 +11:00
Michael Save 30ecfc76e7 Added new events: lock and load-config 2012-11-19 10:28:23 +11:00
Michael 23f0df36bd Merge pull request #80 from Thermionix/patch-1
added favicon to recent.html template
2012-10-08 07:13:02 -07:00
Michael Save 209f061eed Bugfix: [sticky] 2012-09-30 22:56:09 +10:00
Michael Save 23653994ac Something is broken. Removed that for now. 2012-09-28 04:53:07 +10:00
Michael Save 696c1a05b7 Quick fix relating to last commit 2012-09-28 04:50:25 +10:00