New revs

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: New revs
« Reply #2565, on April 16th, 2014, 04:01 PM »
[Commit revision 098baa6]
Author: Nao
Date: Tue, 15 Apr 2014 16:57:06 +0200
Stats: 1 file changed; +2 (insertions), -2 (deletions)

  • Made debug information a bit less wordy in Who's Online pages. (Who.php)

[Commit revision c8c729a]
Author: Nao
Date: Wed, 16 Apr 2014 15:14:03 +0200
Stats: 4 files changed; +36 (insertions), -22 (deletions)

  • A small rewrite of the @if conditional tests in JavaScript code: (1) added admin test in addition to member and guest, (2) changed syntax to @if {} @else {}, instead of @if/@endif. Please note that, at least for now, brackets are mandatory, even for a single line. Remember, it's a compile-time directive, it's not actual JavaScript..! (Subs-Cache.php, editor-func.js, script.js, topic.js)

[Commit revision df71a73]
Author: Nao
Date: Wed, 16 Apr 2014 15:44:27 +0200
Stats: 1 file changed; +15 (insertions), -14 (deletions)

  • Fixed, I hope, this annoying follow_me bug that triggered in this situation: (1) Chrome (maybe also Firefox), (2) Web Platform disabled, no support for stickies, (3) opening an unread topic in a background tab, and then switching to it quickly. I was unable to determine what caused this browser bug, but I was at least able to consistently determine whether it was happening, and simply delay the page_showing code execution until it didn't. (topic.js)
  • page_showing() shouldn't be run on topic lists. Only topic pages. (topic.js)

[Commit revision ee725cb]
Author: Nao
Date: Wed, 16 Apr 2014 15:50:03 +0200
Stats: 1 file changed; +16 (insertions), -7 (deletions)

  • Separating what needs to be run at page showing time, and page resizing time. (topic.js)
  • Running the relative time code on topic lists. I may add support for this in the future, so... (topic.js)

[Commit revision 669bd34]
Author: Nao
Date: Wed, 16 Apr 2014 16:00:10 +0200
Stats: 1 file changed; +6 (insertions), -1 (deletion)

  • Fixed wrongly autolinked URLs inside code tags. Okay, THIS TIME, I think everything's accounted for...! And I really need to rewrite that code tag system. It's... A bit weird. Ah, who am I kidding. I'll never find time for that... (Class-Editor.php)
Re: New revs
« Reply #2566, on April 16th, 2014, 10:48 PM »
[Commit revision 65a3af1]
Author: Nao
Date: Wed, 16 Apr 2014 22:47:18 +0200
Stats: 5 files changed; +35 (insertions), -45 (deletions)

  • This commit is half-revert, half-rewrite. It reverts the board status icon functionality to 'unread posts', as it was originally, but: (1) actually fixes it, (2) provides the exact number of unread posts, and (3) only cares about messages sent after *after* your last visit (which, incidentally, makes the SQL query viable). This also allows me to remove the various .age-* classes, which was getting confusing. Simplicity is best. (Subs-BoardIndex.php, Subs.php, Boards.template.php, MessageIndex.template.php, sections.css)
  • Mobile skins (Wireless and Wilderless) will now be more accommodating with board status icons, and show them in the regular flow, rather than their own table cell. (Boards.template.php, MessageIndex.template.php)
Re: New revs
« Reply #2567, on April 16th, 2014, 11:24 PM »
[Commit revision 2d719c5]
Author: Nao
Date: Wed, 16 Apr 2014 23:24:05 +0200
Stats: 2 files changed; +5 (insertions), -4 (deletions)

  • Unsubscribing from topic/board notify requests from your profile was broken. Thanks gevv for noticing that! (Profile-Modify.php, Profile.php)
Re: New revs
« Reply #2568, on April 17th, 2014, 11:28 AM »
[Commit revision 41f2f76]
Author: Nao
Date: Thu, 17 Apr 2014 09:24:05 +0200
Stats: 1 file changed; +10 (insertions), -4 (deletions)

  • Reused board index's color stripes for sub-board lists in board pages. (MessageIndex.template.php)

[Commit revision ce02927]
Author: Nao
Date: Thu, 17 Apr 2014 09:26:03 +0200
Stats: 1 file changed; +2 (insertions), -1 (deletion)

  • There's no alpha version... Just an alpha session. Okay? (changelog.txt)

[Commit revision 9a04e58]
Author: Nao
Date: Thu, 17 Apr 2014 09:28:47 +0200
Stats: 1 file changed; +3 (insertions), -4 (deletions)

  • And there's no 'mailq' action. That's an SMF bug, and it's also in recent versions/forks. (index.php)

[Commit revision 69b712f]
Author: Nao
Date: Thu, 17 Apr 2014 09:48:59 +0200
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • I said, no alpha version number! There's a snapshot number if you really want it... (index.php)

[Commit revision 7908c13]
Author: Nao
Date: Thu, 17 Apr 2014 11:28:12 +0200
Stats: 2 files changed; +22 (insertions), -7 (deletions)

  • Added support for language sub-folders to the installer. (install.php)
  • Fixed language selector (selected language and positioning.) (install.php, install.css)
Re: New revs
« Reply #2569, on April 17th, 2014, 03:15 PM »
[Commit revision cd033a7]
Author: Nao
Date: Thu, 17 Apr 2014 15:15:18 +0200
Stats: 1 file changed; +3 (insertions), -3 (deletions)

  • Protecting ampersands inside code and nobbc tags. Basically, they're parsed outside of them because you may want to output an entity that you don't know how to reproduce on your device (UTF-8 is great, but not the answer to everything), but inside these tags they really need to be left alone... I don't know how it got uncaught for so long. (Class-Editor.php)
Re: New revs
« Reply #2570, on April 17th, 2014, 11:22 PM »
[Commit revision 91fcd11]
Author: Nao
Date: Thu, 17 Apr 2014 23:22:07 +0200
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • Fixing raw installs. I hope. I always hope. Hope is important, even if it doesn't get you anywhere. (install.php)
Re: New revs
« Reply #2571, on April 20th, 2014, 09:06 AM »
[Commit revision c8509e4]
Author: Nao
Date: Sun, 20 Apr 2014 09:06:34 +0200
Stats: 2 files changed; +24 (insertions), -19 (deletions)

  • Added a minification variant for PHP that retains all whitespace, but removes comments and replaces them with empty lines (to allow for easy debugging from a line number). Enabled it for everyone. (Subs-Minify.php, index.php)
  • Enabling debugging from the admin area will actually, properly disable aforementioned PHP caching. Previously, Wedge was acting as if debugging was enabled or disabled for everyone, but it didn't matter (much), because I'd disabled it anyway. (index.php)
Re: New revs
« Reply #2572, on April 21st, 2014, 01:41 PM »
[Commit revision a1cf8ad]
Author: Nao
Date: Mon, 21 Apr 2014 13:28:46 +0200
Stats: 3 files changed; +30 (insertions), -4 (deletions)

  • Added proper separation between blog posts and comments. In effect, the page index is now shown AFTER the main blog post. Internally, these tweaks intend to show a few of the features in the skin/skeleton system: ability to add a block dynamically (already well known), ability to pass a variable to said block, ability to access the variable from before/after blocks, and ability for Wedge to rock your socks off. (Display.php, Display.template.php, sections.css)
  • Harmonizing flexbox and non-flexbox posts by setting the poster width to 20% across both. Until I'm bored with that..? (sections.css)

[Commit revision 810aaf4]
Author: Nao
Date: Mon, 21 Apr 2014 13:30:32 +0200
Stats: 1 file changed; +11 (insertions), -0 (deletion)

  • Added a strihas() helper function, which is basically strhas() but case-insensitive. Since this kind of test is usually done with lowercase strings, I don't really see the need to waste cycles lowercasing the array strings, so I'm going to assume lowercase strings are passed to it. Right..? (Subs.php)

[Commit revision 540a1d6]
Author: Nao
Date: Mon, 21 Apr 2014 13:33:36 +0200
Stats: 1 file changed; +10 (insertions), -7 (deletions)

  • Harmonized team credits with software credits. (Who.template.php)
Re: New revs
« Reply #2573, on April 21st, 2014, 01:48 PM »
[Commit revision fd1be2b]
Author: Nao
Date: Mon, 21 Apr 2014 13:48:39 +0200
Stats: 1 file changed; +2 (insertions), -0 (deletion)

  • Forgot to deal with the page index padding. (index.css)
Re: New revs
« Reply #2574, on April 27th, 2014, 12:40 AM »
[Commit revision 92abd1e]
Author: Nao
Date: Sat, 26 Apr 2014 22:31:37 +0200
Stats: 1 file changed; +14 (insertions), -14 (deletions)

  • Chrome 36+ seem to support CSS transforms unprefixed, at last! (Class-CSS.php)
  • CSS column support was broken in IE 11. (Class-CSS.php)
Re: New revs
« Reply #2575, on April 27th, 2014, 09:43 PM »
[Commit revision e7aba9a]
Author: Nao
Date: Sun, 27 Apr 2014 21:26:41 +0200
Stats: 1 file changed; +0 (insertion), -0 (deletion)

  • Removed unused calendar icon. (assets/icons/calendar.gif)

[Commit revision 9c9f2fb]
Author: Nao
Date: Sun, 27 Apr 2014 21:43:40 +0200
Stats: 3 files changed; +46 (insertions), -19 (deletions)

  • After a long wait, I finally made Personal Messages responsive. I didn't use the same technique as in Msg.template.php, because, really, I couldn't be arsed, and I think this one is more elegant and realistic, if more... lazy in terms of bandwidth. (PersonalMessage.template.php, index.member.css)
  • Added icons next to Report and Mark Unread buttons in PM pages. (PersonalMessage.template.php, sections.css)
  • Added a separator between PM posts. If needed. (PersonalMessage.template.php)
  • Merged Report, Mark Unread and action buttons together, below PMs, just like in regular posts. (PersonalMessage.template.php)
Re: New revs
« Reply #2576, on April 27th, 2014, 11:22 PM »
[Commit revision 5716bc8]
Author: Nao
Date: Sun, 27 Apr 2014 23:21:10 +0200
Stats: 3 files changed; +2 (insertions), -4 (deletions)

  • Removed $txt['report_to_mod'], as it was a duplicate of $txt['acme_report_desc']. Might as well use that one everywhere, I think... (Report.php, Mailer.template.php, index.english.php)
Re: New revs
« Reply #2577, on April 29th, 2014, 11:24 PM »
[Commit revision 5882048]
Author: Nao
Date: Mon, 28 Apr 2014 22:55:00 +0200
Stats: 1 file changed; +3 (insertions), -2 (deletions)

  • Fixed error when providing an empty list for page replacements. (Subs-Template.php)
  • Skip a str_replace if there are no page or buffer replacements to do. (Subs-Template.php)

[Commit revision 3e63b75]
Author: Nao
Date: Tue, 29 Apr 2014 23:23:52 +0200
Stats: 1 file changed; +6 (insertions), -6 (deletions)

  • Wess was broken in non-IE browsers by a local removal of IE10 testing. Don't mind me. (Class-CSS.php)
Re: New revs
« Reply #2578, on April 30th, 2014, 07:04 PM »
[Commit revision 9965000]
Author: Nao
Date: Wed, 30 Apr 2014 19:03:21 +0200
Stats: 3 files changed; +2 (insertions), -6 (deletions)

  • I'm officially tired of watching out for uses of PHP 5.3+ in code that could get run in the installer. From now on, the test will be done on index.php (it's fast enough not to bother), and will just return an error message in English, because... Well, if you don't speak a word of English and don't know what PHP is, you should let someone else handle your forum's administration... (index.php, install.php, Install.english.php)
Re: New revs
« Reply #2579, on May 1st, 2014, 10:36 PM »
[Commit revision f85e1b2]
Author: Nao
Date: Thu, 01 May 2014 22:11:37 +0200
Stats: 1 file changed; +65 (insertions), -51 (deletions)

  • Rewrote the Wess parser. (Class-CSS.php)
  • Regular CSS and Wess CSS can now be mixed within the same file. This should make it easier to add (at least for testing) a snippet of CSS from another source.
  • Wess is now less strict when it comes to indenting. If you're indenting a block with 4 spaces instead of a tab (for instance, if you're using a different text editor and you forgot to enable proper tabs), it will still recognize them for what they intend to be, rather than what it's expecting. So, yes, you can use spaces, tabs or a combination or those, but be careful not to abuse this. For instance, if you're adding a random space *before* a tab in a nested block, it won't show up on your screen (unless you enable some setting to view whitespace characters), but Wess will definitely choke on it. Be responsive, that's all!
  • Wess should now print a quick error message ('malformed CSS') if it finds an error such as unexpected (or missing) whitespace. I guess it's better than nothing, because I really can't fix the whitespace for you... (Class-CSS.php)