New revs

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #645, on February 25th, 2011, 02:37 AM »
Revision: 624
Author: arantor
Date: 01:36:36, 25 February 2011
Message:
! $db_prefix was not being properly updated when no DB selection was taking place (i.e. SSI) (Class-DB.php)
----
Modified : /trunk/Sources/Class-DB.php


This was an Arantorbug™. Nailed now though.
Re: New revs
« Reply #646, on February 25th, 2011, 12:27 PM »
Revision: 625
Author: arantor
Date: 11:27:30, 25 February 2011
Message:
! Avatars brought onto the server did not always get the .ext extension they should have had. (Profile-Modify.php, Subs-Graphics.php)
----
Modified : /trunk/Sources/Profile-Modify.php
Modified : /trunk/Sources/Subs-Graphics.php
Re: New revs
« Reply #647, on February 25th, 2011, 04:40 PM »
Revision: 626
Author: arantor
Date: 15:37:44, 25 February 2011
Message:
! Preliminary blog support in the template (MessageIndex.php, MessageIndex.template.php)
! The 'you have saved as a draft' is now a subtemplate in its own right and called through layers. (MessageIndex.php, MessageIndex.template.php)
! Moving the stable icons arrays to a central place to encourage them to remain consistent (Display.php, MessageIndex.php, Search2.php, Subs.php, Unread.php, Unreadreplies.php, SSI.php)
+ Android posting icon for Android devices. It sucks, sorry. But all the logos I see have a white border to it and 16x16 isn't very big. More icons to come though. (android.gif, Post2.php)
----
Modified : /trunk/SSI.php
Modified : /trunk/Sources/Display.php
Modified : /trunk/Sources/MessageIndex.php
Modified : /trunk/Sources/Post2.php
Modified : /trunk/Sources/Search2.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Sources/Unread.php
Modified : /trunk/Sources/Unreadreplies.php
Modified : /trunk/Themes/default/MessageIndex.template.php
Added : /trunk/Themes/default/images/post/android.gif
Re: New revs
« Reply #648, on February 27th, 2011, 02:22 AM »
Revision: 627
Author: arantor
Date: 01:22:10, 27 February 2011
Message:
! Added RSS block to sidebar, removing RSS feed links from footer, display and message indexes. Layout's not set in stone, just that we get to declutter the menu bars this way, and make it easier to find the RSS links. (index.php, index.english.php, index.template.php, Display.template.php, MessageIndex.php, feed.png)
----
Modified : /trunk/Sources/MessageIndex.php
Modified : /trunk/Themes/default/Display.template.php
Added : /trunk/Themes/default/images/icons/feed.png
Modified : /trunk/Themes/default/index.template.php
Modified : /trunk/Themes/default/languages/index.english.php
Modified : /trunk/index.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 #649, on March 2nd, 2011, 04:41 PM »
He's back, and kickin'!! 8-)

rev 628
(20 files, 34kb)

* Converted Pastel to inherit Warm. Yay. Now I won't break it every single time I change the markup... (Pastel/*)
* Reworked user box in the sidebar. A bit better. Not perfect, yet. (index.template.php, index.css)
- Removed the "Topic:" from topic titles. Like it was needed, uh... (Display.template.php)
- Removed the filler text in the sidebar. It's filled with stuff, now. Eh. (index.template.php)
! Fixing some styling logic problem that lacks it (logic). Anyway. (Load.php)
* Why show three empty anchors when we need only one? (Display.template.php)
* Moving the Jump To box to the very bottom. Dunno if it's better -- logically it is, but it makes the quick reply box less accessible... Hmm. (Display.template.php)
! That's we:title2, not we:title. (Display.template.php, index.template.php)
! Guests would trigger error messages because $context['button_list'] was empty for them. Maybe we should just avoid unsetting it... (MessageIndex.template.php)
! I can't believe I actually used a valign="top" again... Me, of all people!! (index.template.php)
! Language flags always had "Français" as their title. Oops. (index.template.php)
* Made the "Unread posts" and "Unread replies" texts a bit shorter. Whatever. (index.english.php)
* French translation update and fixes. (index.french.php, Install.french.php)
* Spacinazi, indenazi. (Themes.php, Display.template.php, index.template.php, Profile.template.php)
* Various minor CSS optimizations and fixes. (admin.css, index.css)
Re: New revs
« Reply #650, on March 2nd, 2011, 05:54 PM »
rev 629
(6 files, 9kb)

! Some fixin' for IE in Pastel and stuff. (Pastel/ie7.css, Pastel/ie8.css, Pastel/sections.css, rtl.css, sections.css)
* Moved jump box back above the quick reply area. (Display.template.php)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #651, on March 3rd, 2011, 01:28 AM »
Revision: 630
Author: arantor
Date: 00:28:32, 03 March 2011
Message:
! Get the correct posts with pagination, and ordering, based on whether this is a board or blog topic. (Display.php)
----
Modified : /trunk/Sources/Display.php

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #652, on March 3rd, 2011, 11:06 AM »
rev 631
(5 files, small commit)

* $user_info['host'] should have the real host, not the fake one. I'm starting to get lost with all of this Pretty URL crap... (Load.php, QueryString.php, Subs-Cache.php)
* Updated Microsoft CDN URL for jQuery. Heck, the new URL is so ugly. Who wants to use that? (Load.php)
! Fixed menu not opening correctly in IE6 with Pastel. This was due to Belated_PNG taking too much time rendering the page background or something, so I simply replaced the PNG with a gradient filter. Magic. (Pastel/ie6.css)
* Spacinazi. (Pastel/ie6.css, Pastel/index.css)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #653, on March 3rd, 2011, 11:35 AM »
Revision: 632
Author: arantor
Date: 10:33:49, 03 March 2011
Message:
! A bit of reorganisation of the display template, likely more to come (Display.template.php)
! Don't allow merging the first reply into the post unless we're actually in a board context (so no merging the first reply to a blog post, for example) (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 #654, on March 3rd, 2011, 04:29 PM »
rev 633
(4 files, 12kb)

+ Now showing topic titles and direct links instead of 'Previous' and 'Next' in the prev_next area. Because it's a complicated addition, I'm committing it for reviewing purposes only. (Display.php, */sections.css)
! Modified some board type logic to use != 'board' instead of == 'blog'. Hopefully more future-proof? (Display.php)
* Slightly reworked the linktree in Pastel. (Pastel/index.css)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: New revs
« Reply #655, on March 3rd, 2011, 05:07 PM »
Revision: 634
Author: arantor
Date: 16:07:38, 03 March 2011
Message:
! Do not check for union or subselects in the query engine, we might use them. (Class-DB.php)
! Oops, forgot to bring $modSettings into scope (Display.template.php)
----
Modified : /trunk/Sources/Class-DB.php
Modified : /trunk/Themes/default/Display.template.php
Re: New revs
« Reply #656, on March 3rd, 2011, 05:13 PM »
Revision: 635
Author: arantor
Date: 16:12:57, 03 March 2011
Message:
! Fix counting of replies for multi-page non-forum topics, so we don't display "reply #x" when we shouldn't. (Display.php)
----
Modified : /trunk/Sources/Display.php

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: New revs
« Reply #657, on March 3rd, 2011, 06:30 PM »
rev 636
(1 file, 3kb)

- Prev/next queries no longer need the enableQueryCheck hack. (Display.php)
! Forgot to take the board ID into account for blogs. (Display.php)
Re: New revs
« Reply #658, on March 4th, 2011, 08:26 PM »
rev 637
(27 files, 33kb)

! Various fixes to installer glitches or indentation. (install.php, install.css)
* Use the Google CDN by default to retrieve jQuery. (install.sql)
* Implemented custom sorting into prev/next code. Leaving the extra code commented out in case we want to optimize later. (Display.php)
* Did some serious fixing for prev/next layout. (Display.template.php, index.template.php, ie6.css, ie7.css, index.css, Pastel/index.css, Pastel/sections.css, sections.css, Wine/index.css)
* Started using on_timeformat() instead of timeformat() for some areas. Also, $txt['on'] is not clear enough. I'm sure there are languages where it sounds awkward, so I added $txt['on_date'] for use in sprintf() calls. Needs more conversion work! (Display.php, Recent.php, Search2.php, index.english.php, index.french.php, Recent.template.php, Search.template.php)
* Started converting some <label for=""> tags to just <label>. (TEMPLATES: Admin, Announce, Errors, ManageAttachments)
+ Added support for box-sizing CSS property. (Subs-Cache.php)
+ Added img_blankGif() function. Unused for now, but it may prove useful in the future. (Subs.php)
- Removed PIE.htc and support for border-radius in IE6/7/8. That's what you get when you suck, IE! (PIE.htc, Pastel/settings.xml)

I started work on a few simplifications as you can see (labels, on_date), but I'm a bit tired with it... Do you think you could do the rest, Pete? At least for on_timeformat... label stuff is repetitive crap that I can do mindlessly ahah.
Re: New revs
« Reply #659, on March 5th, 2011, 04:44 PM »
rev 638
(16 files, 25kb)

* Updated the RSS block to align links next to each other. This looks better. (index.template.php, index.css, index.english.php, index.french.php)
* Updated Pastel and inherited styles to use .cat and .title instead of .cat_bar and .title_bar... This should make it easier to update Warm without breaking the rest. (Pastel/*)
! Undefined index error. (ManageServer.php)