New revs

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #1320, on February 11th, 2012, 10:35 PM »
rev 1320
(2 files +1, 10kb)

+ Rewrote CSS prefix handler to add support for: border-image, hyphens, multi-column, flexbox model, grid layout, animation and 2D/3D transforms. That's a lot, but most browsers still don't support most of these features without a prefix at all, so it's mostly for the convenience of not having to add prefixed and non-prefixed versions in your code. (Subs-Cache.php)

* Reverted CSS prefix handler a bit to restore both prefixed and unprefixed versions in case we don't know about current or future support. This is precisely to avoid issues with old cached files in newer browsers in the future -- in case they drop support for their own prefixed versions. Did you get what I mean? No? Don't worry, neither do I. (Subs-Cache.php)

+ Added an alternative version of the CSS prefix rewrite to the attic. It works well and has the advantage of being able to differentiate between browser versions, but Wedge doesn't record versions -- and probably never will, because that'd mean too many cache files. (attic/Unused-dynPrefixed.php)

! Fixed a bug in the CSS cache rewrite where the skin name wouldn't be properly included in the filename. (Subs-Cache.php)

* I gave Chrome a lot of time. Months ago, I noticed that it started behaving incorrectly on CSS3 opacity animations. I've finally decided to add a stylesheet for it to specifically remove these in main menus. Hey, it asked for it! (Worg/index.chrome.css)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1321, on February 12th, 2012, 04:27 AM »
(2 files, 1KB)

Revision: 1321
Author: arantor
Date: 12 February 2012 03:26:32
Message:
! Removed ins and del from being supported by the inbuilt 'basic HTML' support. Most people don't realise these tags even exist, let alone use them, and if we end up using them in markup it could get complex otherwise. (Subs-BBC.php)
! Quick reply was actually supposed to be open by default, not shown but closed by default. (install.sql)
----
Modified : /trunk/Sources/Subs-BBC.php
Modified : /trunk/other/install.sql
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #1322, on February 12th, 2012, 02:28 PM »
rev 1322
(6 files, 3kb)

+ Added support for @import and @charset in CSS files. Well, at least the generated CSS is okay now... (Class-CSS.php)

! Fixed CSS parser sometimes screwing up absolute URLs. (Class-CSS.php)

! Wedge's rewrite of ssi_recentTopics() wouldn't return posts in the correct order. (SSI.php)

! Plus, SMF's conservative use of minimum post IDs in these functions has never worked for me. Removed the min() thingy. (SSI.php)

* Layout details. (Worg/index.css, Worg/index.member.css, Worg/sections.css)

* Micro-optimizations. What's the greek root after micro, already? Pica? (Subs-Cache.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1323, on February 12th, 2012, 02:56 PM »
(13 modified, missed the size)

Revision: 1323
Author: arantor
Date: 12 February 2012 13:55:09
Message:
! Fixed undefined 'forum_index' on the forum front page. (Welcome.php)

! Tweaked default for quick reply for guests on the forum (install.sql)

! Removed the quick moderation option; it's now checkboxes all the way, baby! (MessageIndex.php, MessageIndex.template.php, Search2.php, Display.template.php, Profile.template.php, Recent.template.php, Search.template.php, Settings.template.php, Profile language file)

! Rewrote boardsAllowedTo to better support situations where you need to make multiple permissions calls in the same context (e.g. as in Search2 where you make 11 permissions calls in one go) (Search2.php, Security.php)
----
Modified : /trunk/Sources/MessageIndex.php
Modified : /trunk/Sources/Search2.php
Modified : /trunk/Sources/Security.php
Modified : /trunk/Sources/Welcome.php
Modified : /trunk/Themes/default/Display.template.php
Modified : /trunk/Themes/default/MessageIndex.template.php
Modified : /trunk/Themes/default/Profile.template.php
Modified : /trunk/Themes/default/Recent.template.php
Modified : /trunk/Themes/default/Search.template.php
Modified : /trunk/Themes/default/Settings.template.php
Modified : /trunk/Themes/default/languages/Profile.english.php
Modified : /trunk/Themes/default/languages/Profile.french.php
Modified : /trunk/other/install.sql
Re: New revs
« Reply #1324, on February 12th, 2012, 03:02 PM »
(1 file, 1KB)

Revision: 1324
Author: arantor
Date: 12 February 2012 13:58:04
Message:
! Made the quick moderation handler also use the improved boardsAllowedTo code. (QuickMod.php)
----
Modified : /trunk/Sources/QuickMod.php
Re: New revs
« Reply #1325, on February 12th, 2012, 05:19 PM »
(5 modified, 3KB)

Revision: 1325
Author: arantor
Date: 12 February 2012 16:19:27
Message:
! Store the user id of who modifies a post when it's modified. (JSModify.php, Post2.php, Subs-Post.php)
! If we have the user id of who modifies a post, link to it. Still need to fix the JS editing response doing this properly, however. (Display.php, Display.template.php)
----
Modified : /trunk/Sources/Display.php
Modified : /trunk/Sources/JSModify.php
Modified : /trunk/Sources/Post2.php
Modified : /trunk/Sources/Subs-Post.php
Modified : /trunk/Themes/default/Display.template.php
Re: New revs
« Reply #1326, on February 12th, 2012, 05:29 PM »
(1 file, 1KB)

Revision: 1326
Author: arantor
Date: 12 February 2012 16:29:30
Message:
! Also have quick edit return the appropriate profile link when a post is being edited, so that it is a link, and is formatted correctly. (JSModify.php)
----
Modified : /trunk/Sources/JSModify.php

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #1327, on February 12th, 2012, 09:23 PM »
rev 1327
(1 file +1, 14kb -- really, 1kb worth of changes + 6kb for the new file)

! Fixed Reply to Thought button incorrectly hiding the original text. (script.js)

! Fixed Thought system's ajax editing -- was broken by my recent change for ';' separators, when the code really only expects ampersands. (script.js)

+ Added a temp thumbnail for Worg. (Worg/thumbnail.jpg)
Re: New revs
« Reply #1328, on February 12th, 2012, 10:33 PM »
rev 1328
(3 files -1, 2kb)

! A couple of pages wouldn't correctly update the selected item if canceling a change. (ManageMembergroups.template.php, Profile.template.php)

* As much as it hurts me, reverting my Opera fix for select boxes. It just doesn't work when select boxes are inline, such as the post editor and the thought system. I could have looked and added exceptions for every single inline box, but it's really not realistic. So it's an additional 11 bytes for sbox.js, sorry about that, and for Opera: a slightly less eye-candy opening/closing animation, minor width issues when selecting and a glitch in the last list entry when navigating boxes with the keyboard -- don't ask me why, I have no frigging idea. The rest should be okay, so it's an acceptable alternative. Until someone finds the reason for all these Opera bugs. There are limits to my Opera fanboyism, I guess. (sbox.js, Worg/index.opera.css)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1329, on February 13th, 2012, 01:52 AM »
(1 file, 2KB)

Revision: 1329
Author: arantor
Date: 13 February 2012 00:52:07
Message:
! Add the number of reported posts to the admin menu, for the reported posts item, and build a total count for the admin menu as a whole. We can probably remove it from the top of the sidebar at this point, where it is underappreciated, just like it is in SMF themes. (Subs.php)
----
Modified : /trunk/Sources/Subs.php
Re: New revs
« Reply #1330, on February 13th, 2012, 02:17 AM »
(2 files, 3KB)

Revision: 1330
Author: arantor
Date: 13 February 2012 01:16:46
Message:
! Add the number of unapproved members to the admin menu too (under reported posts) and add that into the count of items too, so that it raises prominence on it and admins can deal with it better. (Subs.php, index language file)
----
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/languages/index.english.php

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #1331, on February 13th, 2012, 11:24 AM »
rev 1331
(9 files, 4kb)

* Replaced <div class="note"> with <a class="note">, as context permits, and as suggested by Aaron, who will pay for this, mwahahaha. Updated the note styling to be a bit closer to the original New icon. Requires the use of inline blocks, though. Plus, a couple of spans were used instead of divs to make them validate in the index template. (Profile-Modify.php, SSI.php, Boards.template.php, index.template.php, MessageIndex.template.php, Recent.template.php, index.css)

- Removed moderation report in sidebar, as suggested by Pete. (index.template.php, index.language.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1332, on February 13th, 2012, 01:59 PM »
(5 modified, 6KB)

Revision: 1332
Author: arantor
Date: 13 February 2012 12:58:38
Message:
! Add ability for 'multi_select' types in the standardised admin panel pages, in a style similar to that of the inline permissions dialogues. (ManageServer.php, Admin.template.php, Admin language file)
! Provide the admin with the ability to choose who receives notifications of new members, rather than everyone who is an admin, and/or global moderator. (ManageRegistration.php, Subs-Post.php)
----
Modified : /trunk/Sources/ManageRegistration.php
Modified : /trunk/Sources/ManageServer.php
Modified : /trunk/Sources/Subs-Post.php
Modified : /trunk/Themes/default/Admin.template.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Re: New revs
« Reply #1333, on February 13th, 2012, 02:43 PM »
(2 modified, 5 added, 22KB - of which there's about 6 lines of changes total)

Revision: 1333
Author: arantor
Date: 13 February 2012 13:42:35
Message:
! Fixed misalignment of admin panel items; they're supposed to be vertically aligned consistently (i.e. to top) (admenu.css)
! Some more of the icons for the main ACP, yet more courtesy of Crystal Project (Admin.php, *.png)
----
Modified : /trunk/Sources/Admin.php
Added : /trunk/Themes/default/images/admin/boards.png
Added : /trunk/Themes/default/images/admin/moderation_filters.png
Added : /trunk/Themes/default/images/admin/poststopics.png
Added : /trunk/Themes/default/images/admin/security.png
Added : /trunk/Themes/default/images/theme/grad40i.png
Modified : /trunk/Themes/default/skins/admenu.css
Re: New revs
« Reply #1334, on February 13th, 2012, 03:07 PM »
(1 modified, 4 added, 8KB)

Revision: 1334
Author: arantor
Date: 13 February 2012 14:06:59
Message:
! Everything other than 'Features and Options' now has its own icon, and there's nothing wrong with Features and Options' icon... (Admin.php, *.png)
----
Modified : /trunk/Sources/Admin.php
Added : /trunk/Themes/default/images/admin/albums.png
Added : /trunk/Themes/default/images/admin/ftpimport.png
Added : /trunk/Themes/default/images/admin/memberoptions.png
Added : /trunk/Themes/default/images/admin/quotas.png