New revs

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #2475, on February 26th, 2014, 05:43 PM »
[Commit revision 6aa5451]
Author: Nao
Date: Wed, 26 Feb 2014 17:42:51 +0100
Stats: 2 files changed; +21 (insertions), -4 (deletions)

  • Some extra voodoo magic to make select boxes much more usable in long and/or wide lists, such as the infamous timezone selector, on which I did most of my testing. You'll never find a worse select box than this one, I promise. (sbox.js, index.css)
Re: New revs
« Reply #2476, on February 26th, 2014, 11:50 PM »
[Commit revision e1d820f]
Author: Nao
Date: Wed, 26 Feb 2014 23:50:35 +0100
Stats: 1 file changed; +34 (insertions), -33 (deletions)

  • Fixed a couple of bugs that screwed up the scroll position for very large select boxes (again: think timezone selector), in at least one specific situation: opening the dropdown below the select box, closing it, then scrolling up and reopening the dropdown above the select box (or the other way around.) This fix costs about 30 gzipped bytes, for something no one will ever notice, but when it comes to sbox, I'm a perfectionist. (sbox.js)
  • Also fixed center positioning of currently selected select box item when reopening the select box in the same fashion. Costs another 10 bytes or so... (sbox.js)
Re: New revs
« Reply #2477, on February 27th, 2014, 12:04 AM »
[Commit revision c0d39fe]
Author: Nao
Date: Thu, 27 Feb 2014 00:04:32 +0100
Stats: 1 file changed; +6 (insertions), -4 (deletions)

  • A more universal version of the Latest Posts block in the homepage. Also, it's now more responsive, like the Latest Thoughts block. (Home.template.php)
Re: New revs
« Reply #2478, on February 27th, 2014, 10:12 AM »
[Commit revision 7a91f08]
Author: Nao
Date: Thu, 27 Feb 2014 10:12:33 +0100
Stats: 2 files changed; +4 (insertions), -12 (deletions)

  • Arrrrrgh. Finally fixed the upgrader bug, and understood why I was unable to reproduce it. See, I called the upgrader after loadDatabase (so I could access the DB) and before loadSettings (so I could make fixes to settings before they're loaded), and SET NAMES 'utf8' was called by loadSettings, against all expectations. Thus, any database operations made from the upgrader weren't forced to UTF8, and this screwed up accented characters. Moved it to loadDatabase, where it should have been from the start! Oh my, you have no idea how relieved I am to be finally done with this. (Load.php)
  • Reverted my fallback code, thanks to this fix. (Class-System.php)
Re: New revs
« Reply #2479, on February 27th, 2014, 05:53 PM »
[Commit revision 159f4bc]
Author: Nao
Date: Thu, 27 Feb 2014 17:53:06 +0100
Stats: 1 file changed; +21 (insertions), -2 (deletions)

  • Added ability to provide an absolute path to a CSS file for add_css_file, rather than just a prefix to look for in skin folders. The absolute path will be concatenated last, allowing for plugins to override existing CSS, whatever the skin you're currently using. (Subs-Cache.php)
  • Added two new CSS array variables: $plugins['plugin_name'] and $plugins_dir['plugin_name'] will both redirect to, respectively, plugin_name's URL and plugin_name's path. (Subs-Cache.php)
  • Yes, of course the goal is to (finally) allow plugins to add custom CSS to the main CSS file, avoiding an extra HTTP request or inline CSS when all you want is to add a couple of lines that should be run on all pages. Plus, I never liked that add_plugin_css_file function anyway. ;)
Re: New revs
« Reply #2480, on February 27th, 2014, 06:07 PM »
[Commit revision 4b1f623]
Author: Nao
Date: Thu, 27 Feb 2014 18:07:21 +0100
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • Typecasting oversight. (Subs-Cache.php)
Re: New revs
« Reply #2481, on February 27th, 2014, 06:17 PM »
[Commit revision 14d7adc]
Author: Nao
Date: Thu, 27 Feb 2014 18:17:29 +0100
Stats: 1 file changed; +3 (insertions), -6 (deletions)

  • Various fixes to the header CSS: notifications should be vertically aligned along with the rest (should only be noticeable in Wine), guest mode in Wilde should no longer break the #upper_section layout is no languages are selectable, and finally, the language select box had some leftover CSS from its pre-select box era. (index.css)
Re: New revs
« Reply #2482, on February 28th, 2014, 09:21 AM »
[Commit revision 11bf076]
Author: Nao
Date: Fri, 28 Feb 2014 09:20:28 +0100
Stats: 1 file changed; +5 (insertions), -2 (deletions)

  • If your FTP client is stupid enough to upload LF files to a Linux server in CRLF mode (apparently, some do this by default, or you may do it "by mistake"), the end result was that events were never delayed, and it caused trouble in many situations. Wedge will now account for this. Detecting this bug was like being Holmes for an hour or two. (Subs-Template.php)
Re: New revs
« Reply #2483, on February 28th, 2014, 10:47 PM »
[Commit revision 770ffa1]
Author: Nao
Date: Fri, 28 Feb 2014 16:00:26 +0100
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • Don't show the 'Edited' icon for guests, otherwise they'll never get a chance to dismiss it... (Display.php)

[Commit revision 8bb537d]
Author: Nao
Date: Fri, 28 Feb 2014 22:47:39 +0100
Stats: 1 file changed; +6 (insertions), -4 (deletions)

  • Fixed undefined variable when caching CSS in a situation where Wedge skipped loadSettings entirely (such as the installer.) (Subs-Cache.php)
Re: New revs
« Reply #2484, on February 28th, 2014, 11:42 PM »
[Commit revision d206d8c]
Author: Nao
Date: Fri, 28 Feb 2014 23:42:07 +0100
Stats: 1 file changed; +2 (insertions), -1 (deletion)

  • Allow error messages to retain HTML links. (Errors.php)
Re: New revs
« Reply #2485, on March 1st, 2014, 02:28 PM »
[Commit revision 8d7c216]
Author: Nao
Date: Sat, 01 Mar 2014 14:04:30 +0100
Stats: 1 file changed; +2 (insertions), -0 (deletion)

  • Added an alias to 'enable database query logging' in the admin area's debug page. It seems more adequate to put it there, but it also belongs to the error log settings page, so... Best of both worlds, right..? (ManageServer.php)

[Commit revision 7d5286f]
Author: Nao
Date: Sat, 01 Mar 2014 14:19:15 +0100
Stats: 1 file changed; +35 (insertions), -40 (deletions)

  • Fixed database error when searching something and typing a space or a comma in the 'user' box. (Search2.php)
Re: New revs
« Reply #2486, on March 2nd, 2014, 12:31 AM »
[Commit revision 14d54fd]
Author: Nao
Date: Sun, 02 Mar 2014 00:31:20 +0100
Stats: 2 files changed; +7 (insertions), -3 (deletions)

  • Fixed a long-lived Wedge bug where logged errors had an incorrect URL if pretty URLs were enabled and the error was triggered before cleanRequest() was called. Yes, it happened more often than you'd think. (Errors.php)
  • Trying to reduce the memory impact of debug_backtrace() calls. (Class-DB.php, Errors.php)
Re: New revs
« Reply #2487, on March 2nd, 2014, 11:52 AM »
[Commit revision 9ed80bc]
Author: Nao
Date: Sun, 02 Mar 2014 11:52:06 +0100
Stats: 2 files changed; +1 (insertion), -3 (deletions)

  • Removed quick reply description from the 20th century, as suggested on the Elk forum. (Display.template.php, index.english.php)
Re: New revs
« Reply #2488, on March 2nd, 2014, 08:53 PM »
[Commit revision 98c7434]
Author: Nao
Date: Sun, 02 Mar 2014 20:52:40 +0100
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • Action text could be empty in some moderation logs. Thanks to haxar for the patch! Fixes issue #12. (Modlog.php)
Re: New revs
« Reply #2489, on March 3rd, 2014, 03:48 PM »
[Commit revision 77b2cd4]
Author: Nao
Date: Mon, 03 Mar 2014 15:21:01 +0100
Stats: 3 files changed; +14 (insertions), -10 (deletions)

  • Preliminary support for storing language files in sub-folders of the core/languages folder. Yayz. Sub-folder items have priority (and override) similarly named items in the main folder, so you should be able to create an 'english' sub-folder and rewrite index.english.php or whatever to your heart's content. Although there are better ways of doing so, but... That's an alternative, right? (Load.php, ManageLanguages.php, Subs-Cache.php)
  • Don't forget to purge your cache when you make any modifications to your language folders.

[Commit revision 5eee68c]
Author: Nao
Date: Mon, 03 Mar 2014 15:22:22 +0100
Stats: 1 file changed; +5 (insertions), -5 (deletions)

  • Didn't I already commit this file..? Or did I only do it in the languages repo? Silly me... (Help.english.php)

[Commit revision 43738fc]
Author: Nao
Date: Mon, 03 Mar 2014 15:48:02 +0100
Stats: 4 files changed; +12 (insertions), -10 (deletions)

  • All flags should now point to their proper folders. (TEMPLATES: Boards, ManageBoards, ManagePlugins, MessageIndex)