New revs

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1050, on October 3rd, 2011, 10:48 AM »
Revision: 1050
Author: arantor
Date: 09:48:17, 03 October 2011
Message:
+ First version of RelaxNG schema for plugin-info.xml files. There's more to add yet, as I finalise the extra parts. Plus I need to author a couple more XML filetypes and their specifications yet, but this is a start. (plugin-info.rng)
----
Added : /trunk/other/plugin-info.rng
Re: New revs
« Reply #1051, on October 3rd, 2011, 11:37 AM »
Revision: 1051
Author: arantor
Date: 10:37:15, 03 October 2011
Message:
! XMLReader/libxml2 is a bit more fussy than other parsers. (plugin-info.rng)
----
Modified : /trunk/other/plugin-info.rng
Re: New revs
« Reply #1052, on October 3rd, 2011, 12:05 PM »
Revision: 1052
Author: arantor
Date: 11:05:19, 03 October 2011
Message:
! Add the definitions for file edits and the action extender to the RelaxNG schema. (plugin-info.rng)
----
Modified : /trunk/other/plugin-info.rng
Re: New revs
« Reply #1053, on October 3rd, 2011, 12:59 PM »
(6 files, 12KB)

Revision: 1053
Author: arantor
Date: 11:58:38, 03 October 2011
Message:
! The filename attribute for plugin actions is not optional. (plugin-info.rng)
! New hook: info_center, designed for hooking into, well, the info centre. Since it's referenced by both Welcome and Boards... it's in both. (Boards.php, Welcome.php, ManagePlugins.php)
! Allow plugins to specify actions they want to add to the master action list. (ManagePlugins.php, Load.php, index.php)
----
Modified : /trunk/Sources/Boards.php
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/ManagePlugins.php
Modified : /trunk/Sources/Welcome.php
Modified : /trunk/index.php
Modified : /trunk/other/plugin-info.rng
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 #1054, on October 3rd, 2011, 09:48 PM »
rev 1054
(2 files, 10kb, 1 day of work >_<)

* Renamed *skeleton* functions to use the skeleton_ prefix. (Subs-Template.php, Load.php)

* loadBlock() and loadLayer() should now return the name of the layer or block they modified, or false if failed. (Subs-Template.php)

! Fixed loadBlock() not working when providing a block name and an 'after' or 'before' position, due to a recent addition that checked for a valid layer first. (Subs-Template.php)

! The layer removal code didn't work, due to how references work. Fixed some unsets and added a skeleton_remove_item() helper function to the ones you should be using (removeBlock and removeLayer). (Subs-Template.php)

! More reference errors in skeleton_insert_layer(). (Subs-Template.php)
Re: New revs
« Reply #1055, on October 4th, 2011, 07:22 PM »
rev 1055 (janitor commit)
(10 files, 13kb)

+ Added "FileETag none" to the cache folder's htaccess, hopefully this should satisfy YSlow regarding cache optimization. (cache/.htaccess)

! An interesting SMF comment typo... Been in plain view in the single most important file for who knows how long. Finally gone... (index.php)

! Other, less amusing typos. (ManagePlugins.php)

* Added a short description for the dynamic plugin's functions. (Subs-Cache.php)

* Saving a couple of bytes off all HTML pages. Whatever... Also in the admin CSS. (index.template.php, admin.css)

! Spellcheck and Cancel buttons were broken in IE6 through IE8. (index.ie*.css)

- Removed another holiday. (other/install.sql)
Re: New revs
« Reply #1056, on October 4th, 2011, 11:45 PM »
rev 1056 ("I should be gone... Sorry dear, I had this JS error to fix.")
(4 files, 6kb)

* Harmonized font names for monospace requests. Consolas looks better than the rest and it's a tad smaller. (index.css, admin.css)

! A recent revert in suggest.js made it fail validation when passed through Packer. (suggest.js)

* Parenthenazi. (RepairBoards.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1057, on October 5th, 2011, 12:27 AM »
Revision: 1057
Author: arantor
Date: 23:26:53, 04 October 2011
Message:
! Legacy variable being used in cache-cleaner. (Subs-Cache.php)
! Make sure the right area is used when a cross-selector is defined in a menu. (Subs-Menu.php)
----
Modified : /trunk/Sources/Subs-Cache.php
Modified : /trunk/Sources/Subs-Menu.php
Re: New revs
« Reply #1058, on October 5th, 2011, 04:34 PM »
Revision: 1058
Author: arantor
Date: 15:34:05, 05 October 2011
Message:
! Split the FTP connection class into its own file, as it's the only bit of Class-Package I actually *want*, as xmlArray is going to be phased out over time. (Class-FTP.php, Class-Package.php, Subs-Media.php, PackageGet.php, Packages.php, Subs-Package.php)
! Converted modSetting enableVBStyleLogin into a more sensibly named theme setting and did a little light housekeeping with it. (install.sql, Load.php, ManageSettings.php, Subs.php, Help + ManageSettings + Themes language files, Settings.template.php)
! Removed the contiguous pages setting regarding page index (index.template.php, ManageSettings.php, Help and ManageSettings language files)
! Removed the rest of the Layout page from Features and Options now that it doesn't have anything in it, after moving the Today/Yesterday setting. (Admin.php, ManageSettings.php, Admin + ManageSettings + Help language files)
! Pretty URLs admin page should at least return something to the admin search, even if it's only the section's name, and not foul the search up. (ManageSettings.php)
----
Modified : /trunk/Sources/Admin.php
Added : /trunk/Sources/Class-FTP.php
Modified : /trunk/Sources/Class-Package.php
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/ManageSettings.php
Modified : /trunk/Sources/PackageGet.php
Modified : /trunk/Sources/Packages.php
Modified : /trunk/Sources/Subs-Package.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Sources/media/Subs-Media.php
Modified : /trunk/Themes/default/Settings.template.php
Modified : /trunk/Themes/default/index.template.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/Admin.french.php
Modified : /trunk/Themes/default/languages/Help.english.php
Modified : /trunk/Themes/default/languages/Help.french.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Modified : /trunk/Themes/default/languages/ManageSettings.french.php
Modified : /trunk/Themes/default/languages/Themes.english.php
Modified : /trunk/Themes/default/languages/Themes.french.php
Modified : /trunk/other/install.sql
Re: New revs
« Reply #1059, on October 5th, 2011, 05:34 PM »
Revision: 1059
Author: arantor
Date: 16:34:18, 05 October 2011
Message:
! Don't include 'desc' type entries in the admin search, they're often not that relevant. (Admin.php)
! Move 'do admins have to approve account deletions' to the Members > Options area. (ManageMemberOptions.php, ManageSettings.php)
! Move 'require users to revalidate email on change' to Registration and split the registration options into two panes. (ManageRegistration.php, ManageSettings.php, ManageSettings language file)
! Remove the now-empty Security and Moderation > General page (Admin.php, ManageSettings.php, Admin language file)
----
Modified : /trunk/Sources/Admin.php
Modified : /trunk/Sources/ManageMemberOptions.php
Modified : /trunk/Sources/ManageRegistration.php
Modified : /trunk/Sources/ManageSettings.php
Modified : /trunk/Themes/default/languages/Admin.english.php
Modified : /trunk/Themes/default/languages/Admin.french.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #1060, on October 6th, 2011, 02:49 PM »
rev 1060
(5 files, 8kb)

+ Temp query to update children's parent IDs when deleting a post. To do: also deal with topic splitting... (RemoveTopic.php)

* Updated top menu arrow with a version that's more in line with the current menu colors. (menurow.gif)

* Using :only-child instead of :first-child:last-child where possible. A better solution in this case would be to modify all templates to use 'centertext' in the owner div, and get rid of the p tags. If you don't understand, that's okay, just like I'm not asking you how to forge a +5 fire sword. To each their own. (index.css, index.ie8.css)

* French translation. (ManageSettings.french.php)
Re: New revs
« Reply #1061, on October 6th, 2011, 07:33 PM »
rev 1061
(2 files, 6kb)

! An admin maintenance page had broken HTML. (Admin.template.php)

+ Reintroduced $modSettings['compactTopicPagesContiguous'] to the page index code, but only for compatibility with SMF imports, i.e. new installs will never use it. (index.template.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #1062, on October 7th, 2011, 11:14 AM »
Revision: 1062
Author: arantor
Date: 10:14:16, 07 October 2011
Message:
! Really rearranged the display template pretty heavily. Each component is now its own subtemplate, and the list is called from Display. There's also a shift of some of the logic (like what buttons are available) being moved to the core rather than in each theme. I don't think I broke anything. (Display.php, Display.template.php)

! As a result of condensing the logic, there was really no need to have two separate hooks for the buttons, so flattened the hooks into a single generic hook at the end of general Display processing, which will have access to everything in app-wide scope. (Display.php, ManagePlugins.php)
----
Modified : /trunk/Sources/Display.php
Modified : /trunk/Sources/ManagePlugins.php
Modified : /trunk/Themes/default/Display.template.php


@ Nao: Something in my brain told me not to make the title_upper and _lower parts (which are used for the page titles/go up+down areas) into a template layer but I'm not sure *why* my brain told me that. If you wanna change it, please go right ahead.
Re: New revs
« Reply #1063, on October 7th, 2011, 11:27 AM »
Revision: 1063
Author: arantor
Date: 10:26:09, 07 October 2011
Message:
! Implemented one of the two changes from BB 2.1.14, to allow Google Web Preview requests. Haven't included the other change, which deprecates testing for # in requested URI since none of the clients that should be using Wedge should be generating that kind of URL as a referrer anyway. (Apparently some broken browsers do - though none of the ones we support, AFAIK, and certain client-side JS will, but again...) (Security.php)
----
Modified : /trunk/Sources/Security.php

@ They set it so you have to go into 'strict' mode to enable that test, but I see no reason why it needs to be deprecated for Wedge. If someone can show me a reproducible case where it's a problem, I'll deal with it.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #1064, on October 7th, 2011, 11:39 AM »
rev 1064
(5 files, 7kb)

* Always set is_ajax (whether true or not), and never set hide_chrome unless through actually calling hideChrome(). (ManageErrors.php, QueryString.php, Subs-Template.php, Help.template.php)

* Simplified errorlog viewer code which was needlessly adding headers. (Errors.template.php)