Commit Graph
100 Commits
Author SHA1 Message Date
Michael Foster b373b39f44 Bugfix: gm and auto-orient thumbnailing 2013-08-03 21:47:24 -04:00
Michael Foster 8fe33d3b79 Fix some indent-formatting. Tab = 8 chars 2013-08-03 21:04:45 -04:00
Michael Foster b67fc7d54e Only use identify if we have to 2013-08-03 20:50:37 -04:00
Michael Foster 5300ffadf1 Better image processing. Add support for GraphicsMagick (a fork of ImageMagick) and exiftool (for stripping EXIF metadata quickly). 2013-08-03 20:34:59 -04:00
Michael Foster a3fbff2259 Update $config['try_smarter']. Should be working now. 2013-08-03 17:42:34 -04:00
Michael Foster f7d068536a EXPERIMENTAL: Try not to build pages when we shouldn't have to. 2013-08-03 07:50:25 -04:00
Michael Foster 2f4e2daa61 Fix redirect with board config editor (raw php) 2013-08-03 06:27:13 -04:00
Michael Foster 424de7561d Web config editor: board configs 2013-08-03 06:26:17 -04:00
Michael Foster eb3fc990f5 Web editor: Don't add newlines in comments 2013-08-03 05:44:39 -04:00
Michael Foster 0d1bfa47f1 Web config editor: Write "MOD", "JANITOR", etc. to instance-config instead of just int representations 2013-08-03 05:41:01 -04:00
Michael Foster d4ad874e09 no 2013-08-03 05:25:41 -04:00
Michael Foster c9684fc000 Better/working web config editor 2013-08-03 05:21:02 -04:00
Michael Foster 3ed15565b0 Why is this escaped? 2013-08-03 03:36:20 -04:00
Michael Foster e35467e3b9 Fix install for MySQL < 5.5.3 2013-08-03 02:11:16 -04:00
Michael Foster ea1fe528a4 Fix ordering of notes and bans 2013-08-03 02:06:58 -04:00
Michael Foster 68403f613e Didn't mean to commit that 2013-08-03 02:03:44 -04:00
Michael Foster 056a6001ac Erorr handling update 2013-08-03 02:01:52 -04:00
Michael Foster 784c3ffadb Accidentally commit'd debug stuff/errors 2013-08-03 00:28:54 -04:00
Michael Foster 1d37e81ade Better error handling/displaying with $config['debug'] and $config['verbose_errors'] 2013-08-03 00:22:28 -04:00
Michael Foster 62f8ea4813 Better command-line ImageMagick image processing 2013-08-02 23:18:25 -04:00
Michael Foster 6ecda16be3 Forgot to commit this 2013-08-02 22:06:32 -04:00
Michael Foster d99eba2c18 syntax error in last commit 2013-08-02 21:37:44 -04:00
Michael Foster e1aeccce5e ricechan.css: Make <select> easier to read 2013-08-02 21:32:18 -04:00
Michael Foster ce21a772de gentoochan.css fix: .post-hover hard to read with low opacity 2013-08-02 21:28:15 -04:00
Michael Foster 1d7de12281 Fix bug 2013-08-02 21:23:18 -04:00
Michael Foster 934c00f488 $config['dir']['static'] doesn't exist. 2013-08-02 21:01:04 -04:00
Michael Foster 169dc74938 Fix last commit 2013-08-02 20:56:30 -04:00
Michael Foster 4fce9b63ae Major config.php cleanup and a few minor misc fixes. 2013-08-02 20:52:58 -04:00
Michael Foster 9e7fbf927c Installer improvements 2013-08-02 16:19:20 -04:00
Michael Foster d0a6ffcb0c Whoops 2013-08-02 15:53:32 -04:00
Michael Foster e5d4ba58ac These files are no longer used 2013-08-02 01:01:02 -04:00
Michael Foster f06978659b Installer: Nicer pre-installation test 2013-08-02 00:08:37 -04:00
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