Commit Graph
100 Commits
Author SHA1 Message Date
Michael Foster 40ab2e0c17 Don't redraw image again after correcting image orientation; Correct image orientation with convert+gifsicle too 2013-08-01 21:28:16 -04:00
Michael Foster 6c41037377 Add two stylesheets 2013-08-01 19:44:22 -04:00
Michael Foster 2fd60c6d25 Select chosen stylesheet on load 2013-08-01 19:26:09 -04:00
Michael Foster cf0a20a564 js/style-select.js: Changes the stylesheet chooser links to a <select> 2013-08-01 19:21:15 -04:00
Michael Foster 5a44c50811 Simple file editor replacement for ?/config (optional). Issue #127 2013-08-01 17:18:10 -04:00
Michael Foster 157dcf9fb1 Continue upgrading Twig 2013-08-01 15:55:28 -04:00
Michael Foster 6b6f32949d Web config editor: Use a <select> for JANITOR/MOD/ADMIN permissions 2013-08-01 15:20:25 -04:00
Michael Foster 0fe5528574 Upgrade Twig library 2013-08-01 15:20:12 -04:00
Michael Foster 22f3a95e0e convert+gifscale didn't respect $config['thumb_keep_animation_frames'] 2013-08-01 04:24:34 -04:00
Michael Foster 4851d4cabe Forgot "global $config" here 2013-08-01 03:51:50 -04:00
Michael Foster 256d4e24e5 Line endings fix 2013-08-01 03:37:01 -04:00
Michael Foster c1912b2a90 Move stylesheets from Tinyboard-Tools here 2013-08-01 03:30:45 -04:00
Michael Foster 94468c430c Small install fix 2013-08-01 00:52:49 -04:00
Michael Foster 5bf0e7f7e7 Better/fixed jQuery styling and slightly improved js/inline-expanding.js accuracy (when jQuery is enabled) 2013-08-01 00:27:54 -04:00
Michael Foster a052a791b5 Add optional database table prefix (issue #118; see issue comments for details) 2013-07-31 22:14:26 -04:00
Michael Foster ea2b8cce07 Bugfix: HTML injection in post editing (introduces and fixes yet another bug) 2013-07-31 21:24:17 -04:00
Michael Foster a5312ebe89 Allow public ban messages on raw HTML posts 2013-07-31 21:02:26 -04:00
Michael Foster 0f9df0ac66 Newline before <tinyboard ban message> 2013-07-31 20:54:20 -04:00
Michael Foster 328484bee7 SQL cleanup 2013-07-31 20:51:43 -04:00
Michael Foster 6bbe407e18 Markup modifiers: raw HTML 2013-07-31 19:18:55 -04:00
Michael Foster 6d52c8b428 Markup modifiers. Fix issue #66 (public ban message lost when rebuilding post body) 2013-07-31 18:59:54 -04:00
Michael Foster 4891735c49 Fix issue #72 2013-07-31 18:29:09 -04:00
Michael Foster 3a8736cdc0 Fix last commit 2013-07-31 17:04:36 -04:00
Michael Foster c2a287cd14 Only run SQL query to count threads if we really need to 2013-07-31 17:02:42 -04:00
Michael Foster 6cdf603875 Fix last commit; Make Tinyboard Twig extension more mb-safe 2013-07-31 16:38:09 -04:00
Michael Foster d692bce686 Fix issue #74. Note: This bug may break the display of certain filenames prior to upgrade. 2013-07-31 16:34:50 -04:00
Michael Foster dc1d1a3fcd Issue #125 2013-07-31 16:22:27 -04:00
Michael Foster 8e4c493a4c Issue #126 2013-07-31 12:05:19 -04:00
Michael Foster 659310663e i18n some more strings in inc/config.php 2013-07-31 06:56:57 -04:00
Michael Foster 42e16e233a Javascript l10n: Work without $config['additional_javascript_compile'] 2013-07-31 06:54:53 -04:00
Michael Foster 439795e63b Disallow board names which are too large for the filesytem to handle 2013-07-31 06:40:57 -04:00
Michael Foster 317f616e82 Accidentally included header.html twice 2013-07-31 05:06:29 -04:00
Michael Foster 81da2fea04 Undo 7e0cec for now. Will restore later once I resolve issues 2013-07-31 05:03:50 -04:00
Michael Foster 0a97cf7215 js/local-time.js: Make jQuery optional 2013-07-31 04:37:07 -04:00
Michael Foster 123a72d7de Convert to UNIX line endings 2013-07-31 04:28:26 -04:00
Michael Foster 64bc410484 Small comment change 2013-07-31 04:02:40 -04:00
Michael Foster 1ffabe2b93 fix header.html merge 2013-07-31 03:55:55 -04:00
Michael Foster 18516ff828 Rename $config['url_ads'] to $config['link_prefix'] 2013-07-31 03:43:01 -04:00
Michael Foster 573f86ccae Tiny code clean-up 2013-07-31 03:35:07 -04:00
Michael Foster a2d8e4cf3e Previous commit comment fix 2013-07-31 03:13:51 -04:00
Michael Foster 37d769646b Markup/quote fix for multibyte 2013-07-31 03:12:06 -04:00
Michael Foster 90b82b1a06 Disable autocomplete 2013-07-31 02:38:40 -04:00
Michael Foster b22bcdecf9 Fix last commit: purge() issue 2013-07-31 02:19:58 -04:00
Michael Foster 42cba53887 Allow Unicode in board URIs. 2013-07-31 02:08:55 -04:00
Michael Foster 3bee1ba4fd Issue #61 2013-07-31 00:39:00 -04:00
Michael Foster 42d29657a4 README update 2013-07-31 00:29:49 -04:00
Michael Foster bb2868896c Ability to hide IP addresses from mod log 2013-07-31 00:04:57 -04:00
Michael Foster 889945f50c Hide "flags" section in posting form if user doesn't have permission to do anything special 2013-07-30 23:36:46 -04:00
Michael Foster 343397d561 ?/IP/: Don't show posts for board user doesn't have access to 2013-07-30 23:30:49 -04:00
Michael Foster fbc78f7632 Fix last commit (mysql_version() doesn't work if connection is not yet established) 2013-07-30 22:13:05 -04:00
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