Recent Posts
Features / Re: New revs
« on March 6th, 10:40 PM by Nao »
[Commit revision 3c2eb2f]
Author: Nao
Date: Mon, 06 Mar 2017 22:40:06 +0100
Stats: 3 files changed; +7 (insertions), -7 (deletions)

  • I'm reverting an old commit from September 16, 2014 that 'fixed' IE11 not being able to load compressed CSS/JS. The problem seems to be linked to the server, I need to test it more. I may re-revert this later, I don't know yet. Needs some testing from other parties. (Class-Editor.php, Subs-BBC.php, Subs-Cache.php)
Bug reports / Re: Looks in IE and Edge.
« on March 6th, 09:12 PM by Johnny54 »
Wedge in IE11 is looking great again.
Thanks Nao.

I agree IE11 sucks, but a few sites/things work better in IE11 then Edge. 
Edge is far from being complete. For instance you can't install certificates. You have to return to IE, or Chrome. Microsoft still has a long way to go before it will be the browser they promised it would be.
Although they work fine I am still no friend of Chrome, or Firefox.
Some days you have to use IE, Edge and Chrome to open all sites you need for your work.
I now it was a nightmare for developers, but as a user you sometimes wish back the IE only time.
Bug reports / Re: Looks in IE and Edge.
« on March 6th, 06:48 PM by Nao »
Fixed. Wasn't a problem with Wedge, but with a quick hack I wrote for Lestrade's and backported to (the website) by mistake.
The original problem was IE11 was unable to load compressed CSS/JS files on the new server I had. I managed to make it work in Lestrade's, but the actual solution was to remove gz extensions from the 'static' file list in the nginx configuration (it's a reverse-proxy server). Nginx used to catch gz files and directly serve them with their original MIME type, when it was supposed to pass them to Apache, which through the htaccess file was setting the MIME type to the correct one (i.e. text files).
I had the nginx config file fixed, so the fix was no longer needed. But I forgot to remove it, so IE11 kept serving these files uncompressed. And because of a final mixup between two fixes, I ended up serving uncompressed extensions with compressed content, so it broke the site when I updated it last night.


BTW, IE still sucks hard. :P
I'm not even adding support for Edge... After all Microsoft themselves are marking it as Chrome-compatible. So, I'll just let them fix everything by themselves, to me, Edge is an older Chrome build and that's how I'm treating it. (And probably how they want others to treat it, because let's face it, anything is better than being treated as a "newer IE".)

PS: I just found out that my first IE11 fix for this was from late 2014, so it couldn't be linked to the new server. Uh. I'm at a loss here. I'll just revert that revision (c3c77a3b22223eedce97f18b7ad719437b3dc154), and hopefully it works everywhere.
Bug reports / Re: Looks in IE and Edge.
« on March 6th, 06:03 PM by Nao »
Weird. Looks like a problem with the user agent string. I'll look into it.
Bug reports / Looks in IE and Edge.
« on March 6th, 03:39 PM by Johnny54 »
Wedge is unusable in Windows 10 v11.576.14393.0
In Windows 10 Edge 38.14393.0.0 Wedge looks ok but I think it's not looking as it should.

Thought I let you know just in case you havend't noticed yourself.
Features / Re: New revs
« on March 6th, 12:07 AM by Nao »
[Commit revision f978581]
Author: Nao
Date: Mon, 06 Mar 2017 00:07:41 +0100
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • We don't really need to hide the 'Settings' text link from notification popups if there's no 'Mark read' link next to it. There's enough space, even on mobile. (Notifications.template.php)
Features / Re: Language revs
« on March 6th, 12:00 AM by Nao »
[Commit revision 26f4386]
Author: Nao
Date: Sun, 05 Mar 2017 23:56:18 +0100
Stats: 5 files changed; +7 (insertions), -5 (deletions)

  • Language updates from the last big Wedge commit. (Notifications, index)
Features / Re: New revs
« on March 5th, 11:54 PM by Nao »
[Commit revision 40c60b2]
Author: Nao
Date: Sun, 05 Mar 2017 23:54:26 +0100
Stats: 7 files changed; +41 (insertions), -16 (deletions)

  • Finally...! Added that dreaded 'Mark all as read' feature to notifications. Seriously, I'd been wanting to do that for years now. I had 336 'unread' notifications and I didn't see myself deleting them like that. Also used the opportunity to fix notification popup headers to all fit into a single row. (Notifications.php, Notifications.template.php, PersonalMessage.template.php, Notifications.english.php, index.css)
  • Commenazi, more precisely removing a UK spelling. It's all about harmonization. Or was it harmonisation? (ScheduledTasks.php)
  • Removed some weird brackets that were probably inherited from an old SMF build. Like, version 1.0. Ouch. (index.english.php)
  • The upshrinks class should be a virtual (meaning it's only used in mixes, and shouldn't show up in the final CSS file). If you want a generic class (i.e. one you can use in your mods), use foldable. (index.css)
  • Note: while writing the mark as read feature, I noticed there were settings ($settings['notification_prune_days']) and language strings related to a non-existent notification admin page (I guess thanks Shitiz for writing the feature, but you could have finished it?). While you can change the prune days setting by yourself with phpMyAdmin, I reckon the 7-day default is acceptable and maybe I should just not bother. What do you think? (Apart from the fact that 'reckon' is a typically British word and I just committed a change to a US spelling.)
  • Needs testing. I'm confident it's working, though.
Features / Re: New revs
« on March 4th, 12:37 AM by Nao »
[Commit revision 168f199]
Author: Nao
Date: Sat, 04 Mar 2017 00:33:12 +0100
Stats: 3 files changed; +8 (insertions), -7 (deletions)

  • A small optimization in the CSS cache code that saves a dozen bytes on default gzipped CSS files. (Subs-Cache.php)
  • For a few less bytes... (common.css, index.css)
  • Removed a @ suppressor that I think wasn't useful. If the cache code fails, it should show up as an error so that it can be fixed. (Subs-Cache.php)

[Commit revision 7ea895d]
Author: Nao
Date: Sat, 04 Mar 2017 00:35:34 +0100
Stats: 1 file changed; +1 (insertion), -0 (deletion)

  • One minor feature stumped me for a minute, I figured it was in need of a comment. (index.template.php)

[Commit revision 0902d9b]
Author: Nao
Date: Sat, 04 Mar 2017 00:36:31 +0100
Stats: 1 file changed; +4 (insertions), -1 (deletion)

  • Avoid double separators in menu if a feature surrounded by separators was disabled. (Subs.php)
Features / Re: New revs
« on March 2nd, 12:45 PM by Nao »
[Commit revision 1d5d214]
Author: Nao
Date: Thu, 02 Mar 2017 12:45:44 +0100
Stats: 1 file changed; +1 (insertion), -1 (deletion)

  • Fixed an incompatibility with strict PHP 7.1 when a skeleton layer was being renamed. (Class-Skeleton.php)