azurelunatic: Vivid pink Alaskan wild rose. (Default)
Azure Jane Lunatic (Azz) 🌺 ([personal profile] azurelunatic) wrote in [site community profile] dw_dev2010-07-23 03:15 am
Entry tags:

Code tour, 2010 July 14 to 2010 July 22

The way we keep treating Monday, eventually these things will roll around to actual-Monday once again. While the entirety of the staff is at OSCON learning new and interesting things and occasionally singing, and some of my friends are living it up at the San Diego Comic-Con, the show must go on here at the website! (Well, in between giddy shrieking about Perl and the MythBusters.)


We have 25 resolved bugs this week. This code tour welcomes new developer [personal profile] sarken, who has two resolved bugs to their credit, with 5 themes. [personal profile] kareila and [personal profile] ninetydegrees have tied for most bugs resolved, with six each. [personal profile] dancing_serpent has 4, [personal profile] fu 3, and [personal profile] allen, [personal profile] exor674, [personal profile] liv, and [personal profile] scamper with one each.

There's a glorious bounty of new themes as well: in addition to [personal profile] sarken's, there are also 9 themes from [personal profile] busaikko, 6 from [personal profile] timeasmymeasure, and one from [personal profile] dancing_serpent.

Thanks also to the other people who have assisted, including but not limited to: [staff profile] mark, [personal profile] afuna, [personal profile] ninetydegrees, [personal profile] exor674, [personal profile] zvi, [personal profile] rivkat, [staff profile] denise, [personal profile] sophie, [personal profile] kareila, Rebecca Harlow, Support, the [site community profile] dw_news commenters, and the IRC regulars who look at me weird and tell me to get back to the code tour when I run in screaming about Adam Savage brandishing a pair of hilarious underwear.


With a few exceptions (one only relevant to developers, and one as part of a previously-pushed patch), none of this is live yet. Code pushes are announced in [site community profile] dw_maintenance, and instant offsite updates are always on @Dreamwidth and @dw_alerts.



Bugs and other patches:



Bug 2777: error in DW::Worker::DistributeInvites
Category: Invite codes, fixing what's broke
Patch by: [personal profile] kareila
Description: [staff profile] denise realized that it was probably time to issue some more invite codes. Shortly thereafter, it was bug-filing time: invite codes hadn't been distributed because something broke. On a huge site like LiveJournal, you can't do something like distribute invite codes to all active users real-time; you've got to do it bit by bit in all the nooks and crannies of when the system isn't busy, and we inherited that part of the system. The means by which this was done depended on something that ... actually didn't exist as of a recent upgrade to our database software. Woops. Since we're small enough to get away with it, the DELAYED bit was taken out ... at least for now.

Bug 2791: dw-free branch cleanup
Category: Site Administration, Mercurial
Patch by: [personal profile] kareila
Description: Dreamwidth uses a tool called Mercurial to manage its code for the live site. [personal profile] kareila explains: "The branch system hasn't been used effectively and causes problems whenever cloning a new copy of the repository, so I'm reverting to using the default branch for all development. There shouldn't be any user facing changes from this, except for one change to bootstrap.pl." This change is already live, but should only affect developers. If you are a developer having problems, you can inquire in dw_dev.

Bug 1813: Official styles should support placing icon right or left on entries and comments
Category: Style System
Patch by: [personal profile] ninetydegrees
Description: Ever met a style that would have been perfect, except you wanted the icon on the other side? Soon you can reunite yourself with that now-perfect style.

Bug 67: Add notification: "new top-level comment to entry"
Category: Misc UI/Frontend, comments, notifications
Patch by: [personal profile] fu
Description: Sometimes, when you want notifications for comments somewhere, you realize that you want to hear about new top-level comments to the entry only, and if any specific thread interests you, you can subscribe to that thread individually. Perfect for in-depth technical discussions with a technicolor bikeshed in one thread, or that very interesting comment-fic meme.

Bug 1547: wrap recaptcha calls in LJ::Captcha
Category: Modernization, fetch the code-machetes, refactoring is fun for the whole family
Patch by: [personal profile] fu
Description: At first, it looked like an old CAPTCHA module inherited from LiveJournal could be completely torn out, since Dreamwidth uses reCAPTCHA for its CAPTCHA needs. But then it transpired that actually, there was all this duplicate code lying around... End result, there's a shiny little module that looks like it evolved from the old logic. [personal profile] fu: "... the only place that cares that we use recaptcha should be DW::Captcha itself."

Bug 2147: Ability to see which entries have been crossposted
Category: Journal contents, crossposting, bugs that resolve other bugs are good
Patch by: [personal profile] allen
Description: When looking through your entries, it's nice to be able to see quickly which entry has been crossposted and which entry hasn't. The (already live) patch that displays the crosspost link in the entry's metadata accomplishes this tidily.

Bug 2785: Routing test cleanup ( for later things )
Category: Routing/TT, backend
Patch by: [personal profile] exor674
Description: This is one of those little backend patches that will make some future developer's life easier weeks, months, or years on down the line when dealing with routing tests.

Bug 1054: Links in OpenID comments render inconsistently on site vs. notifications
Category: Inbox/Notifications, general consistency
Patch by: [personal profile] kareila
Description: When anonymous and unverified OpenID users leave links in comments, they're rendered in plain text to reduce the chance of spam. Yet they were being sent out in notifications as the original unaltered HTML. This will send them out as text, just as they are rendered in the displayed comment; if your email client turns them to clickable links in your inbox, that's your email client's issue, rather than Dreamwidth's. :D

Bug 2657: migrate LJ::set_userprop to $u->set_prop
Category: Modernization, we're not LJ, backend
Patch by: [personal profile] kareila
Description: A routine adventure in updating the code got interesting. Head-pounding details ensued.

Bug 2784: Find Similar Interests tool dies when user logged out
Category: Misc UI/Frontend, interests, making things make sense
Patch by: [personal profile] kareila
Description: It's a bit hard to find a user who has interests similar to yours when you've been logged out. This results in an actual error, instead of just silent death because the one part isn't talking to the other part that holds the error.

Bug 2805: fix or remove LJ::Jabber::LastSeen
Category: Misc Backend, fetch the code-machetes, we're not LJ
Patch by: [personal profile] kareila
Description: An inherited bit of code that was supposed to show whether or not someone was online with the locally-hosted Jabber server had been disabled and was also broken. Since if we want to host a Jabber server, we'll want to re-do this, out it went.

Bug 824: Add additional classes to Page::print_wrapper_start
Category: Style System, making things make sense
Patch by: [personal profile] liv
Description: It would really be nice if the style system knew whether the person viewing the page was logged in, the journal owner, a community administrator or moderator, a person with access to the entry, and so forth.

Bug 2636: Sunday Morning: implement one-column and two-columns-right layout
Category: Style System
Patch by: [personal profile] ninetydegrees
Description: "Sunday Morning currently only allows two-cols-left. Implementing one-column and two-cols-right shouldn't be hard," said [personal profile] ninetydegrees. Famous last words. But it's done now!

Bug 2788: custom reply/# of comments text messed up on network page
Category: Style System, making things make sense
Patch by: [personal profile] ninetydegrees
Description: When reading one's Network page, it would make sense to have the text showing you the number of comments consistent with your Reading page, wouldn't it? Instead of the text from your own journal?

Bug 2790: Sunday Morning navigation module wraps poorly
Category: Style System, fixing what's broke
Patch by: [personal profile] ninetydegrees
Description: You've got such a lovely style. It would be a shame if one of the links should ... stack right on top of another link, eh?

Bug 2793: Cleaning: make all layout.pm files look the same
Category: Style System, making things make sense
Patch by: [personal profile] ninetydegrees
Description: Every now and then, someone goes through the files that are supposed to be laid out the same and makes sure that they are, indeed, laid out the same, with the same line spacing and so forth.

Bug 2795: Bases: fix author's name
Category: Style System, credit where credit's due, making things make sense
Patch by: [personal profile] ninetydegrees
Description: Making sure the style author's name shows up properly. Also, alphabetizing things, as a bonus.

Bug 2779: Skittlish Dreams metadata hardcoded to red
Category: Style System, fixing what's broke
Patch by: first-time committer [personal profile] sarken
Description: In an oversight, it was impossible to change the color of the metadata for Skittlish Dreams themes without resorting to user-entered CSS, because there was some red hard-coded in the theme.

Bug 1059: redirect shop.dreamwidth.org to dreamwidth.org/shop/
Category: Configuration, making things make sense
Patch by: [personal profile] scamper
Description: If a user happens to visit http://shop.dreamwidth.org/, they will start being sent to http://www.dreamwidth.org/shop/; they will also wind up at http://www.dreamwidth.org/mobile/ from http://mobile.dreamwidth.org/

Bug 2797: jQuery library needs updating to latest version
Category: Modernization
Patch by: [personal profile] fu
Description: Dreamwidth uses jQuery, a JavaScript library to help keep the JavaScript use on the site as nice as possible. Occasionally, this needs updating.



New Themes:



Bug 2762: Bases: 2 new themes by [personal profile] timeasmymeasure
Category: Style System, pretty shiny themes
Patch by: [personal profile] dancing_serpent
Description: Two new themes for Bases:

Comfort:
A warm theme in delicate sand and cream: background and trim in various tints of sandy beige, with cream-colored entry background, header, and sidebar boxes, dark entry text and warm cocoa-red entry titles.

Velvet Steel:
A cool and tidy theme with an almost fragile feel: background the very lightest blue, entry and sidebar box backgrounds white. Slightly darker but still incredibly pale blue headers, and dark blue text.


Bug 2763: Drifting: 4 new themes by [personal profile] timeasmymeasure
Category: Style System, pretty shiny themes
Patch by: [personal profile] dancing_serpent
Description: Four new themes for Drifting:

Comfort Zone:
A cool and elegant theme: a cool sand beige background, with cream entry and sidebar element backgrounds and header, beige entry headers, deep cherry or red plum titles, and cool blue trim.

Desert Me:
A sunny theme: dusty warm yellow background with lighter yellow entry, sidebar element, and header backgrounds. Dark text, with vivid sky-colored teal entry titles and links.

Sweet Possibilities:
A delectable creamy chocolatey theme: warm chocolate-brown background, with warm pink/brown-tinted cream entry background, sidebar element, and header background. Dark text and sweet red links.

Winter Clarity:
A delicately icy theme: palest blue background, and white entry, sidebar element, and header background. Grey text and dilute teal header, entry titles, and links.


Bug 2778: Theme: Mandala (ColorSide)
Category: Style System, pretty shiny themes
Patch and theme by: [personal profile] dancing_serpent
Description: New theme, Mandala, for ColorSide:

A straightforward theme in vibrant colors with an ornate mandala at the top: grass-green background showing at right and left sides of page, a white background on which the entries, mandala, and sidebar float. Melon-orange entry headers and sidebar, with dark entry text and bright turquoise blue links. The mandala is formed in eightfold symmetry, with melon-orange fanciful and abstract arrows with hooked tails darting out of the center, ringed with barbed circles in yellow, blue, pink, and green. Hooks and curls spike off the rings and weave through the other rings toward the center. The design is gemmed with little colorful dots.
A larger look at the mandala.


Bug 2783: Negatives: 9 themes from [personal profile] busaikko
Category: Style System, pretty shiny themes
Patch by: [personal profile] dancing_serpent
Description: New themes for Negatives:

Autumn:
A strong, warm and woodsy theme: warm orange-brown background, creamy yellow entry background, dark text, and evergreen trim.

Bridal Bouquet:
The strong rectangular borders of Negatives are sweetly and gently picked out with peachy tans, with a light cream-peach background for the page, sidebar elements, and entries. Dark text.

Corporate Embrace:
Serene and professional blues. Dark blue trim and text, with paler grey-blue backgrounds.

Easy Reader:
A warm, medium-contrast theme. Ochre-brown background and metadata stripe background, warm tan entry and sidebar backgrounds, dark text, and dark brown trim.

Evening:
A stark study in contrasts. White entry boxes leap off a black background, with dark text and purple/brown trim, and the sidebar text floating light grey on black.

Spring:
A vivid and energetic theme, with all colors muted enough to harmonize instead of clash. Warm yellow background, red text, and green trim.

Summer:
A warm, bright study in orange and cream. Cream entry background and dark text, orange sidebar, white metadata box with blue links, and white background on the non-sidebar side.

Winter:
A cold sunset theme. Cool blue background and metadata stripe, ice blue sidebar, creamy orange entry background and darker trim, ruddy links, and dark text.

Yo-zakura:
Cherry blossoms at night, fruity and bold: Magenta background and metadata stripe, white entry backgrounds, dark text, a black sidebar, and teal-blue trim.


Bug 2761: Skittlish Dreams: 5 new themes by sarken
Category: Style System, pretty shiny themes
Patch by: [personal profile] sarken
Description: 5 themes for Skittlish Dreams:

Academy:
An elegant gold theme: Dark blueish vertical borders on each side of the page, and a gold header and footer. Entry area is white, and sidebar area is very pale greyish. Dark text and turquoise blue links.

Desert Cream:
A dryly restful theme: Light grey vertical borders on each side of the page, and a tan and sage-green header and footer. Entry area is white, and sidebar area is a lighter sage-green, with contrasting white text. Dark entry text.

In the Bag:
Colorful yet understated: Dark grey vertical borders on each side of the page, and a gradient blue header and footer, with a stripe of green under the footer. Entry area is grey, and sidebar area is green to match the footer stripe, with contrasting white text on the header, sidebar, and footer. Dark entry text, blue links.

Like Sunshine:
Like a cheerful sunrise blazing out and pushing away the midnight skies: light greyish patterned verticlal borders on each side of the page, and a gradient navy blue header with a stripe of orange with style links, and gradient navy footer, with a stripe of warm yellow below the footer. White entry area with dark text. Warm sunny yellow sidebar. Header, footer, and sidebar text in contrasting white.

Snow Cherries:
A shadowy theme with vivid red: Dark grey vertical borders on each side of the page, and dark grey stripe below. Cherry-red header and footer with contrasting white text. Grey entry area with darker text, and darker grey sidebar with white text and links.
timeasmymeasure: amerie looking up at something and smiling (amerie: smile)

[personal profile] timeasmymeasure 2010-07-29 05:36 am (UTC)(link)
Thanks for the handy tour :)

Official styles should support placing icon right or left on entries and comments

Oh, this is absolutely exciting!
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2010-07-29 06:28 am (UTC)(link)
Not quite yet, but soon!
timeasmymeasure: a little girl pictured mid-jump (stock: jumping for joy)

[personal profile] timeasmymeasure 2010-07-29 06:46 am (UTC)(link)
Soon is good =D

(Anonymous) 2010-07-29 09:34 am (UTC)(link)
From bug 1059:

"they will also wind up at http://www.dreamwidth.org/mobile/ from http://mobile.dreamwidth.org/"

Could m.dreamwidth.org also redirect to www.dreamwidth.org/mobile/?
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2010-07-29 09:38 am (UTC)(link)
Opening a bug for that; ta!