New revs

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #630, on February 21st, 2011, 10:52 PM »
rev 608
(7 files, 12kb)

* Renamed CSSCache class to wecss, to match the default naming style. (Class-CSS.php, Subs.php)
* Moved PIE.htc to the scripts folder, mainly because it's a JavaScript file really. (scripts/PIE.htc, Pastel/settings.xml)
* Swapped styling types for Warm and Pastel. (styles/settings.xml, Pastel/settings.xml)
! Updated default replacements blocks when the default styling is used. (Load.php)
! Fixed a minor bug in button padding. (styles/index.css)
Re: New revs
« Reply #631, on February 21st, 2011, 11:43 PM »
rev 609
(1 file, 1 line actually...)

* Added a workaround to support @-webkit-keyframes rules in the CSS parser. (Class-CSS.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #632, on February 22nd, 2011, 03:21 AM »
Revision: 610
Author: arantor
Date: 02:20:38, 22 February 2011
Message:
! Make sure board type is available to the board loader (Load.php)
! Refactor the code for getting who is in a board/topic for display, reducing duplicate code (MessageIndex.php, Display.php, Subs-MembersOnline.php)
----
Modified : /trunk/Sources/Display.php
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/MessageIndex.php
Modified : /trunk/Sources/Subs-MembersOnline.php
Re: New revs
« Reply #633, on February 22nd, 2011, 11:23 AM »
Revision: 611
Author: arantor
Date: 10:20:21, 22 February 2011
Message:
+ Board topic order can be controlled by the database now, and there is the possibility of forcing any given board to be arranged in a particular way with no ability for user to override (install.sql, Load.php, MessageIndex.php, MessageIndex.template.php)
----
Modified : /trunk/Sources/Load.php
Modified : /trunk/Sources/MessageIndex.php
Modified : /trunk/Themes/default/MessageIndex.template.php
Modified : /trunk/other/install.sql


In other words, the functionality of the 'board sort method' mod without the admin panel option (yet) for it. Functionality is managed in the database only right now (pending ACP overhaul), where sort_method dictates what method should be used to order boards, which is the full list ('subject', 'starter', 'last_poster', 'replies', 'views', 'first_post', 'last_post') and sort_order dictates how it should be done.

natural_* indicates that it should be done as default but not forced (i.e. what happens when none is specified), forced_* indicates that this is the order to use and cannot be overridden by the user.
Re: New revs
« Reply #634, on February 22nd, 2011, 01:20 PM »
Revision: 612
Author: arantor
Date: 12:14:44, 22 February 2011
Message:
+ More bbcode icon (Class-Editor.php, sprite.png, Post.english.php)
! Fixed more bbcode to actually work, it's only just inside a topic it should be empty, all other cases it should be firing, not just when we're inside a board, like it should in feeds (install.sql, Subs-BBC.php)
+ Modified feed handler such that if we have a limit on feed length, check whether the more bbcode is present and is set within the space of that limit - if it's inside the limit, or not too far outside, use more bbc instead of auto cropping. (Feed.php)
----
Modified : /trunk/Sources/Class-Editor.php
Modified : /trunk/Sources/Feed.php
Modified : /trunk/Sources/Subs-BBC.php
Modified : /trunk/Themes/default/images/bbc/sprite.png
Modified : /trunk/Themes/default/languages/Post.english.php
Modified : /trunk/other/install.sql

Posted: February 22nd, 2011, 01:15 PM

Revision: 613
Author: arantor
Date: 12:19:54, 22 February 2011
Message:
! Woops, forgot to put the query quite right. (install.sql)
----
Modified : /trunk/other/install.sql
Re: New revs
« Reply #635, on February 22nd, 2011, 03:40 PM »
Revision: 614
Author: arantor
Date: 14:39:44, 22 February 2011
Message:
! Page indexes should include previous/next links to go with pages (Subs.php)
----
Modified : /trunk/Sources/Subs.php
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 #636, on February 22nd, 2011, 10:56 PM »
rev 615
(4 files, 14kb)

! Made sure that single-line comments match "// " (with a space or tab) rather than just "//", e.g. in hardcoded URLs. (Subs-Cache.php)
* Removed roundframe div from info center, fixed indentation and simplified some areas. (BoardIndexInfoCenter.template.php)
* Show the small Wedge logo to the right of the footer, rather than next to the copyright info. (styles/index.css)
+ French translation. (Post.french.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #637, on February 24th, 2011, 05:15 PM »
Revision: 616
Author: arantor
Date: 16:03:13, 24 February 2011
Message:
! Get the first post in each thread for blog posts in message index, also rework the ordering of operations so we censor before bbc parsing as appropriate (MessageIndex.php)
! A little rearrangement of the message index code, plus some indentinazi (MessageIndex.template.php)
----
Modified : /trunk/Sources/MessageIndex.php
Modified : /trunk/Themes/default/MessageIndex.template.php
Re: New revs
« Reply #638, on February 24th, 2011, 05:51 PM »
Revision: 617
Author: arantor
Date: 16:51:24, 24 February 2011
Message:
! More cleanup of message index: moving the who's viewing to the sidebar. Not sure if the header to that needs to change though. (MessageIndex.php, MessageIndex.template.php)
----
Modified : /trunk/Sources/MessageIndex.php
Modified : /trunk/Themes/default/MessageIndex.template.php
Re: New revs
« Reply #639, on February 24th, 2011, 06:01 PM »
Revision: 618
Author: arantor
Date: 17:01:26, 24 February 2011
Message:
! And moving the online stuff to the sidebar in topics too. (Display.php, Display.template.php)
----
Modified : /trunk/Sources/Display.php
Modified : /trunk/Themes/default/Display.template.php

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #640, on February 24th, 2011, 06:24 PM »
rev 619
(6 files, 14kb)

* Heavily reworked the header area in Warm, and fixed a few glitches in the process. (index.css, index.template.php)
* Added a list-type disc next to menu items in the sidebar. I thought it would feel a bit more natural, as it's an actual unordered list... (sections.css)
! Fixed CSS parser failing to define variables when they were followed by a single-line comment. (Class-CSS.php)
* Renamed $alpha_matte to $alphamix. Don't ask. (Class-CSS.php, index.css)
+ Added a workaround to allow IE6 and IE7 to emulate rgba() in key areas. Because filters are CPU intensive, use with care. Basically, just follow your color variable or direct color with a "/hex". e.g. filter:gradient(startColorstr=$color/hex, endColorstr=$color/hex) should generate an alpha-blended background. (Class-CSS.php, ie6.css, ie7.css)
! Fixed CSS parser failing to parse alpha filters for IE. Maybe I should rename the function... But 'alpha' sounds so cool. (Class-CSS.php)

More coming... But this was the bulk of the commit really.
Re: New revs
« Reply #641, on February 24th, 2011, 06:53 PM »
rev 620
(9 files, 14kb)

* Some of the $memberContext areas were being initialized later in the process. Since they were always set up, it's slightly faster to set them up in the main array. (Load.php)
- Moved 'webkit' and 'gecko' further down in the list that sets up the 'agent' variable. This is to make sure we get the most precise current user agent. If you want to test whether a browser is using the Webkit engine, use $browser['is_webkit']. (Load.php)
* Not too fond of this one, but I added 'webkit' to the list of default stylesheets, in addition to the Webkit-based agent name. Maybe I should do the same with 'ie'... Or maybe I should just split webkit.css into as many files as required? (Load.php)
! Fixed indentation regarding the sidebar. Ouch. (BoardIndexInfoCenter.template.php)
! A French string was out of date. (index.french.php)
! Meta keywords are disabled by default... Changed wording to reflect that. (ManageSettings.english.php, ManageSettings.french.php)
! Fixed visibility for upper right switch. (script.js)
* Minor adjustments to the sidebar width in Pastel. (Pastel/index.css)
- Deleted an unused $board_info. (Class-Editor.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #642, on February 24th, 2011, 08:43 PM »
Revision: 621
Author: arantor
Date: 19:43:01, 24 February 2011
Message:
! More tweaks: moving the icon legend into the sidebar, and moving the navigation menu out of the theme entirely (it should never have been there in the first place) (MessageIndex.php, MessageIndex.template.php, index.english.php)
----
Modified : /trunk/Sources/MessageIndex.php
Modified : /trunk/Themes/default/MessageIndex.template.php
Modified : /trunk/Themes/default/languages/index.english.php

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #643, on February 24th, 2011, 09:18 PM »
rev 622
(3 files, 6kb)

+ Show all available language flags in the bottom left corner. I totally hate global'ing $user_info just to get one variable (I should move that one) and glob'ing an entire folder on every single page to find the flags, so if you have a better implementation or want to add some caching... Please do it! :^^;: (index.template.php)
! Fixed size and rating for gravatars. (Subs.php)
* Don't show the 'webkit' name twice in the URL for browsers that use WebKit but aren't Safari, Chrome or Android stuff. If that even exists. (Load.php)

:edit: My main goal was to add the friggin' flags to the top bar, to bring it closer to the wedgeforum goodies. I really don't like having flags shown that way, and the extra hit per language available, things like that... But I can hardly do any better -- I mean, it's not like it's hardcoded so I can't do a sprite like here.
Re: New revs
« Reply #644, on February 24th, 2011, 11:10 PM »
rev 623
(forgot to log stats.)

* Modified previous/next links in Display template to be shown in a <we:cat> instead, next to the topic title at the top, and next to the jump box at the bottom. This should help differentiate between page prev/next and topic prev/next. (Display.php, Display.template.php, sections.css)
* Forgot to apply rgba() fix to IE8. (ie8.css)
* French translation. (index.french.php)
* Indenazi. (index.template.php)