Commit Graph
100 Commits
Author SHA1 Message Date
Michael Foster e5103b543a fix aspect ratio displaying 2013-08-17 04:11:24 +10:00
Michael Foster 8858127498 Bugfix: post.filex => post.fileheight, etc. 2013-08-17 04:07:32 +10:00
Michael Foster 0d45fbc799 Add \n before post modifiers. Add flag alt for country flags. 2013-08-17 03:39:58 +10:00
Michael Foster 5774d21632 Post hover: hide images when need to 2013-08-16 23:49:57 +10:00
Michael Foster 0565e2119d Bugfix: Thumbnail sizes (thumbx => thumbwidth, etc.) 2013-08-16 23:25:32 +10:00
Michael Foster 0ad1c03997 Optional "flag style" and "flag alt" modifiers 2013-08-16 23:12:40 +10:00
Michael Foster 47ddd2f8b2 Fix editing raw HTML posts 2013-08-16 22:18:57 +10:00
Michael Foster a9fe4ea2db Change flag_country to just flag 2013-08-16 22:12:25 +10:00
Michael Foster 23f23b8301 Make js/inline-expanding.js better, now that post images are marked with .post-image 2013-08-16 22:02:57 +10:00
Michael Foster aaeac9de3c forgot this here 2013-08-16 21:51:10 +10:00
Michael Foster eb8de3f992 remove some autism from readme 2013-08-16 21:48:05 +10:00
Michael Foster 57e69268ef This wasn't usd anywhere. 2013-08-16 21:46:51 +10:00
Michael Foster 0f2497a5f6 Fix some styling for non-post img's 2013-08-16 21:34:28 +10:00
Michael Foster 4876a27232 Much better post modifiers: raw HTML, ban messages, etc. 2013-08-16 21:25:56 +10:00
Michael Foster cc62b888af Add poster flags. May be incomplete. 2013-08-16 21:11:20 +10:00
Michael Foster b666886416 A few modifications:
1. Finally, clean up some of the crappy code in inc/display.php; no more extreme clutter. new Thread() and new Post() take an array as the first parameter now.

2. Poster country flags. Currently requires the "geoip" extension.

3. Give post images a classname. This was also long-overdue.
2013-08-16 21:08:01 +10:00
Michael Foster 88dff2a683 Set $config['try_smarter'] to true. If you notice any problems, please report them to us. 2013-08-16 20:16:09 +10:00
Michael Foster 07b825c6d2 Don't create anti-bot stuff in buildThread() when asked to return HTML as a string. 2013-08-13 21:53:23 +10:00
Michael Foster c6e629bf89 allow wordfilters to be callbacks 2013-08-13 01:53:23 +10:00
Michael Foster 60b3cfc539 Upload via URL: Make sure we're not vulnerable to this buffer overflow exploit. http://www.exploit-db.com/exploits/24487/ 2013-08-13 00:07:23 +10:00
Michael Foster 6fdbe76f7b bugfix: sometimes this acts weird 2013-08-12 23:35:27 +10:00
Michael Foster 6a1e8e834b Fix last commit: add chmod() to fix some permissions derping 2013-08-12 23:06:58 +10:00
Michael Foster 0de0bc6ceb Optional: Allow uploading by URL 2013-08-12 22:51:46 +10:00
Michael Foster a7a93ece3d $config['error']['invalidzip'] isn't used anywhere anymore 2013-08-12 22:14:26 +10:00
Michael Foster e0a8ffcfb9 ?/config: Link URLs in comments 2013-08-12 21:14:32 +10:00
Michael Foster 169c68e862 use single quotes 2013-08-12 21:08:40 +10:00
Michael Foster 5ba5c0973e Merge branch 'master' of github.com:savetheinternet/Tinyboard 2013-08-12 13:02:04 +10:00
Michael Foster adbb0c1fdf ... 2013-08-12 13:01:34 +10:00
Michael Foster 3a5f25f751 what 2013-08-12 13:00:06 +10:00
Michael c257deb581 Merge pull request #132 from JosephGoldbergStein/master
CSS changes
2013-08-11 19:34:25 -07:00
Michael 0de3ead32a Merge pull request #130 from JosephGoldbergStein/patch-1
Ferus.css border fix
2013-08-11 04:35:57 -07:00
Michael Foster 4fb941dbfe $config['boardlist_wrap_bracket'] default to true 2013-08-11 21:30:46 +10:00
Michael Foster aecfc37510 Rename ban_page_message to ban_page_extra 2013-08-11 21:30:02 +10:00
Michael Foster 5836cd23d2 Critical bug: users could not report OP posts, only replies (thanks to ctrlcctrlv for finding this) 2013-08-11 21:22:25 +10:00
Michael Foster 4bce3d7584 Clean: Make boardlist bracket wrapping optional 2013-08-11 21:06:13 +10:00
Michael Foster 1248e329d2 remove maximum-scale in <meta name="viewport"> 2013-08-05 05:05:38 -04:00
Michael Foster f1e3c53d8d exiftool: -q needed twice to suppress warning messages 2013-08-04 23:15:01 -04:00
Michael Foster c9fe458152 exiftool: -ignoreMinorErrors 2013-08-04 23:05:20 -04:00
Michael Foster 373fb99a7f Bugfix: exif_read_data() Incorrect APP1 Exif Identifier Code 2013-08-04 23:02:15 -04:00
Michael Foster 0c829aa8f6 bugfix 2013-08-04 18:48:32 -04:00
Michael Foster 7a51444110 This should probably still be ADMIN. By default, don't let mods or janitors edit any of the config. 2013-08-04 17:53:55 -04:00
Michael Foster c3da5ab4e1 ?/config: Advanced permissions 2013-08-04 17:53:09 -04:00
Michael Foster 6e0e5b1e8a Not the nicest-looking fix, but comments (actual comments, not code examples) beginning with "$" are ignored by ?/config. 2013-08-04 16:46:08 -04:00
Michael Foster acfda35648 gifsicle: redirect stdout to /dev/null but keep stderr going to stdout 2013-08-04 16:32:36 -04:00
Michael Foster b7070aeac6 Fix issue with installing and creating boards with MySQL < 5.5.3. Issue #129 2013-08-04 15:23:26 -04:00
Michael Foster 33a07e9ee0 bug fix, wrong index 2013-08-04 05:11:46 -04:00
Michael Foster 0f00f800b9 Use new shell_exec function for $config['dns_system'] host queries too 2013-08-04 05:03:21 -04:00
Michael Foster 6409ac6163 fix last commit 2013-08-04 04:49:21 -04:00
Michael Foster 0890557ebb Don't purge the ban list of expires bans every time somebody posts. Add a timer option. Less SQL queries when posting. 2013-08-04 04:48:13 -04:00
Michael Foster a2b432cfb0 Some logic fixes. Don't strip exif twice. 2013-08-04 00:54:27 -04:00
Michael Foster 0387ae1b46 Use exiftool to patch bug for now. 2013-08-04 00:48:28 -04:00
Michael Foster 3d2de07a1f Can't auto-orient a non-JPEG 2013-08-03 22:20:39 -04:00
Michael Foster de62cced6f fix last commit 2013-08-03 22:16:17 -04:00
Michael Foster ac4306555b Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient). 2013-08-03 22:14:25 -04:00
Michael Foster 486eccba2e shell_exec_error() fix 2013-08-03 21:53:09 -04:00
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