truelove: An adult human female is upside down, hanging from a harness of aerial silks.  One leg is crossed over the silks over her head and the other is wrapped in a silk and being pulled down behind her back and head in a scorpion position. (Default)
truelove ([personal profile] truelove) wrote in [site community profile] dw_dev2010-11-10 10:47 pm
Entry tags:

Code Tour: 2010-11-04 to 2010-11-10

Hello, everyone! I come bearing a code tour. Also, snark. It seems nearly traditional.

We've got 17 bugs, including a patch for 4 new themes for Tranquility III behind this finely crafted cut.

Bug 3202: Entry preview shows the wrong user when browser autofills username/password
Category: Journal contents
Patch by: [personal profile] fu
Description: Weird things were happening with browser autofill. If you had two accounts and were logged into a secondary account and went to update, when you previewed the entry the browser autofill was sometimes filling in your primary account information, thus the preview showed you the update as being made with the wrong account. While it was actually posting to the correct account, this was confusing and bad.

Bug 3204: Set the site's default layout on the user explicitly when the user is created
Category: Unknown
Patch by: [personal profile] fu
Description: Recently, the default layout you are assigned on creation of a journal was changed. This should not have affected any extant journals, but the gremlins in the code decided that if you had never even visited the Customise Journal page, that it did. [personal profile] fu sent the gremlins packing so it won't happen again.

Bug 2195: Styles: standardize font options & header images options
Category: Style System
Patch by: [personal profile] ninetydegrees
Description: [personal profile] sage made a suggestion that font customisation options be available in all styles; this was deemed good and excellent as a notion -- hurrah standardisation! -- and lo, the brave [personal profile] ninetydegrees did battle with the various styles.

Bug 2982: Modular needs more heading variables set
Category: Style System
Patch by: [personal profile] ninetydegrees
Description: Ia! Ia! Or, there was styles/CSS voodoo. Or, there was a loophole in the CSS for fonts for Modular that meant they had to go in a explicitly specifiy default fonts for module headers in Modular.

Bug 2351: calendar link
Category: Journal contents
Patch by: Erin, of [personal profile] teamdestroyer
Description: [personal profile] ratcreature's suggestion that the link to the calendar take you to the current year for the sake of convenience of navigation of previous entries has been implemented by Erin of the magnificent [personal profile] teamdestroyer. Previously, it would take you to the latest year -- which, with future-dated posts, could be 2017 or 2050.

Bug 3203: Cannot change entry icon to default on edit
Category: Journal contents
Patch by: [personal profile] exor674
Description: Apparently, you couldn't change the icon on an entry to the journal's default icon when editing the entry. Now you can.

Bug 3181: cannot expand comments in IE7 using sitescheme or light format
Category: Browser Issues
Patch by: [personal profile] fu
Description: Comments wouldn't expand in IE in sitescheme and ?style=light; this changes the code so IE properly detects things and displays expanded comments now.

Bug 3213: Polls don't render '0' answers
Category: Misc UI/Frontend
Patch by: [personal profile] yvi
Description: [personal profile] yvi discovered that answers titled '0' in polls were not rendering -- the data was being tracked but the bars showed 0 length, as if no one had selected the option. So she filed a bug and fixed it!

Bug 3205: Warnings logged by cgi-bin/DW/Template/Filters.pm and cgi-bin/LJ/Lang.pm
Category: Routing/TT
Patch by: [personal profile] fu
Description: A couple of warnings were being thrown by the template system; this fixes them.

Bug 3214: Breaking out of Quickreply breaks style arguments
Category: Site Layout/Navigation
Patch by: [personal profile] fu
Description: Style arguments in urls (that's the ?style=X that will load a given entry, journal, or whatever in the specified style, be it yours or light or whatever) were getting pureed together unusably in certain circumstances. And now they don't.

Bug 3210: keyword mapping not showing up in memcache_view.
Category: Site Administration
Patch by: [personal profile] fu
Description: There was something with keywords and memcache and they apparently didn't have a diagnostic tool for the backend that they ought to have.

Bug 3182: DW/Controller/Admin.pm fails 00-compile.t
Category: Misc Backend
Patch by: [personal profile] kareila
Description: [personal profile] kareila does a lot of code modernisation and clean-up in the eldritch depths of the codebase. I fear and respect her bravery! Something down there was quietly failing tests; thanks to [personal profile] kareila and a tailored tutoring curriculum, it is now an A+ student and headed to the Ivy League.

Bug 3200: remove Section 9 from package LJ in User.pm
Category: Modernization
Patch by: [personal profile] kareila
Description: Stuff in the backend that could be done in different, better ways has been updated to do it in those different, better ways.

Bug 3212: Memcache clear tool
Category: Site Administration
Patch by: [personal profile] exor674
Description: This adds a tool for site administrators to be able to clear the memcache, which is occasionally a useful thing to do.

Bug 3218: LJ::Event::XPostSuccess->new has mislabelled variables
Category: Misc Backend
Patch by: [personal profile] kareila
Description: There were things labelled wrongly in the code. And mixing up your variables is a very bad thing.

Bug 3161: update @LJ::EVENT_TYPES to include all events
Category: Inbox/Notifications
Patch by: [personal profile] kareila
Description: A list of events for dev work did not actually have all of the events. And now it does!

Bug 3207: Tranquility III: 4 new themes by dancing_serpent & rising
Category: Style System
Patch by: [personal profile] ninetydegrees
Themes by: [personal profile] dancing_serpent and [personal profile] rising
Description: Themes! Four shiny new themes for Tranquility III for your delectation.

As ever, these will not be live until the next code push; if you want to know when everything goes up, you'll want to watch [site community profile] dw_maintenance.
dreamatdrew: (Skullbutt The Tormenter)

Re: Snark

[personal profile] dreamatdrew 2010-11-11 05:58 am (UTC)(link)
It's not just traditional, it's a Recommended Practice. ;)
kareila: (Default)

[personal profile] kareila 2010-11-11 04:10 pm (UTC)(link)
Your description of bug 3182 made me smile. Thank you! :)
azurelunatic: Vivid pink Alaskan wild rose. (Default)

[personal profile] azurelunatic 2010-11-12 01:12 pm (UTC)(link)
Ditto!
enigel: Aziraphale shielding Crawly under his wing (DW Donna looking up)

[personal profile] enigel 2010-11-12 05:58 pm (UTC)(link)
Yay, snark! It made me happy to see that the bug I reported and Yvi filed is already fixed for the next push. :D (3214, FWIW)