mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] dw_maintenance2009-06-14 09:27 pm
Entry tags:

code update

I'll be doing a code push shortly. Since it has been a month since the last one, I expect this one will be a little turbulent. There's a lot of fixes, tweaks, and updates going live with this particular push.

As always, if you see something terribly wrong, open a support request or comment here and we'll take a look at what's going on.

Edit: Push complete.
milkymoon: (Aldus Manutius is Love.)

[personal profile] milkymoon 2009-06-15 05:02 am (UTC)(link)
That actually went rather smoothly! \o/
msilverstar: (Default)

[personal profile] msilverstar 2009-06-15 05:17 am (UTC)(link)
Could you give us more warning next time? Sometimes I lose half-written comments and such. Thanks
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-06-15 05:42 am (UTC)(link)
Oh hey, how do you end up losing the comments when the code push happens? Is it the "Invalid form submission" thing?

I'm asking because we just pushed something that re-generates the comment form, so you get your comment text back when you get "invalid form submission" -- and if that's not what's caused you to lose comments in the past, I'd like to hear about it so we can see if there's something else we can do :)
albijuli: (gimme cake)

[personal profile] albijuli 2009-06-15 05:34 am (UTC)(link)
wow, that was pretty smooth. I wasn't even aware that a codepush was comin'. :3
gwenhyffar: (Default)

[personal profile] gwenhyffar 2009-06-15 06:59 am (UTC)(link)
Hehe, you make it sound so exciting and then nothing happens!
onyx_noir: (Default)

[personal profile] onyx_noir 2009-06-15 10:27 am (UTC)(link)


I'm noticing an inability to play embeded youtube videos when you're posting in comments on an entry. I tried it again just now after the update and they're still not working.
denny: Photo of my face in profile - looking to the right (Default)

[personal profile] denny 2009-06-15 10:38 am (UTC)(link)
The margins on my journal theme seem to have got larger, either that or I'm hallucinating again. Anyway, if they did then I guess that was probably deliberate on the part of whoever wrote it rather than being any kind of bug. No other effects noticed :)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-06-15 10:55 am (UTC)(link)
Mmm, that was a conesquece of a bugfix. The problem before was that if you had the navstrip turned on in Transmogrified, it forced the middle part of the layout to expand to fill the screen. Since this was inconsistent with the behavior when the navstrip is turned off, we fixed it.
denny: Photo of my face in profile - looking to the right (Default)

[personal profile] denny 2009-06-15 11:06 am (UTC)(link)
Fair enough :)

I assume to get the old behaviour back I'd have to make a custom theme based on this one and play with the CSS? I'm not arguing with the bugfix, but I don't like empty margins :)
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

[personal profile] liv 2009-06-15 11:17 am (UTC)(link)
I had a similar problem. You don't need to go as far as making a custom theme, you can just add CSS to the CSS box, if you like. You need to set the width, and possibly the margins, for an element called #container.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-06-15 11:20 am (UTC)(link)
Liv, can you write something up for dw_styles? I suspect we'll get some questions re: this, so it'd be useful if we could post an entry to point people to.
oriolegirl: (baseball: O's DW sheep)

[personal profile] oriolegirl 2009-06-15 03:48 pm (UTC)(link)
That would be awesome. I am completely clueless about CSS and using the CSS box so a really basic, step-by-step would be most appreciated. Thanks!
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

Your wish is my command!

[personal profile] liv 2009-06-15 04:45 pm (UTC)(link)
Check your mod queue. I've included in a fix for the narrow page thing, a mention of the new toggle userpics wizard option, and a fix for something that was bugging me, where the code that squishes up collapsed comments also squishes up expanded comments that don't have a userpic. If you approve it for the community, I'll make a FAQ linking to it. <3
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

Re: Your wish is my command!

[personal profile] afuna 2009-06-15 04:48 pm (UTC)(link)
OMG. It comes with bonus items!!! \o/


I approved, but could you add one more thing? People using custom stylesheets for Transmogrified may see doubled commas, because we used to have the commas in the stylesheet. Unfortunately, that didn't work for all browsers, and caused things to become smushed together/not line break properly, so we made the commas physical and removed them from the system stylesheet -- but can't do anything about the custom ones *G*
liv: cartoon of me with long plait, teapot and purple outfit (Default)

doubled commas

[personal profile] liv 2009-06-15 04:52 pm (UTC)(link)
Uh, I'm not entirely sure how to fix the doubled commas. Can you tell me what sort of thing people are likely to have in custom stylesheets that could be causing a problem?
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

Re: doubled commas

[personal profile] afuna 2009-06-15 04:53 pm (UTC)(link)
Sure! http://www.dreamwidth.org/support/see_request.bml?id=1858 contains the exact code that was in the stylesheet.
mrsbean: (Oops)

Re: doubled commas

[personal profile] mrsbean 2009-06-17 06:02 am (UTC)(link)
Huzzah! Thanks for this!
denny: Photo of my face in profile - looking to the right (Default)

[personal profile] denny 2009-06-15 11:24 am (UTC)(link)
That did it - thanks very much :)
denny: Photo of my face in profile - looking to the right (Default)

[personal profile] denny 2009-06-15 11:25 am (UTC)(link)
Just margin: 0px; seems to do it, without specifying the width. Assuming you want full page width, of course.
aunty_marion: Vaguely Norse-interlace dragon, with knitting (Default)

[personal profile] aunty_marion 2009-06-15 04:32 pm (UTC)(link)
Can you explain how to do this, please? I am pretty clueless about CSS - I can put in stuff that people have told me about, but don't know anything about formatting it properly - so I'd need to know exactly what to type in!
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

[personal profile] liv 2009-06-15 04:50 pm (UTC)(link)
There should be a post in [site community profile] dw_styles soon, but for now, here's the exact instructions:

Go to [http://www.dreamwidth.org/customize/options.bml]
In the menu, there should be an option called Custom CSS.
Follow that link, and you'll get to a page with a large text entry box.
Go right to the end of any code you already have in the text entry box. Make sure you don't delete any punctuation (eg } ) from the end of it.
On a new line, type exactly this:
#container {margin: 0;}
If that makes it too wide for you, delete that line and try this instead:
#container {width: 96%; margin-left: 2%;}
aunty_marion: Vaguely Norse-interlace dragon, with knitting (Default)

[personal profile] aunty_marion 2009-06-15 05:13 pm (UTC)(link)
Thanks! That works perfectly (the first one, with 0). But I've written down the instructions (so I have some chance of finding them again!) anyway.
tameiki: Cody Smile (Default)

[personal profile] tameiki 2009-06-15 09:12 pm (UTC)(link)
Thank you for the step-by-step instructions so someone who's technically challenged like me can understand. Still, I was looking for something that was marked, "Large text entry box" at first. *hides*

Once I got over my temporary idiocy I figured it out and got it to look like what I wanted.

Thanks again! :)
noracharles: (Default)

[personal profile] noracharles 2009-06-16 11:50 am (UTC)(link)
Thank you!
gchick: Small furry animal wearing a tin-foil hat (Default)

[personal profile] gchick 2009-06-15 11:22 am (UTC)(link)
#container {margin: 0;}
denny: Photo of my face in profile - looking to the right (Default)

[personal profile] denny 2009-06-15 11:25 am (UTC)(link)
That should be 0px shouldn't it?
gchick: Small furry animal wearing a tin-foil hat (Default)

[personal profile] gchick 2009-06-15 11:32 am (UTC)(link)
Just 0 works (which wouldn't be the case if it were >0, of course) -- I tend to avoid fixed measurements like pixels and points whenever possible for both design and accessibility reasons, but that's a bit of a preference thing. (As a total aside, the original measurement you're replacing with that zero is expressed as a percentage, not px.)
artisan447: (Default)

[personal profile] artisan447 2009-06-15 11:52 am (UTC)(link)
Thank you! I don't know anything about anything you're talking about but I also didn't like the bigger margins and now they're gone! :)

[personal profile] logospilgrim 2009-06-15 02:26 pm (UTC)(link)
Ah, thank you... That worked beautifully.
feuervogel: photo of the statue of Victory and her chariot on the Brandenburg Gate (Default)

[personal profile] feuervogel 2009-06-15 02:48 pm (UTC)(link)
Thanks for this; I also hate narrow columns and wide margins. I like full screen boxes!
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2009-06-15 01:21 pm (UTC)(link)
Heh, so it looked good before because of a bug? It had never occured to me to test a layout with Navstrip off, guess I should given people can turn it off on DW, it's always on on my LJ.

Cool, I think. Thx, [personal profile] miss_s_b will be grateful when she awakes.

afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-06-15 01:41 pm (UTC)(link)
Hehehe, yeah. Though most of them shouldn't be affected; just the ones that set their margins the way that Transmogrified used to (on the body, not on the #container div, or whatever the layout equivalent is)
trixtah: (Default)

[personal profile] trixtah 2009-06-15 11:59 am (UTC)(link)
Ugh, yes. Now my 1024 x 768 screen is looking much smaller. I hate narrow centre columns - time to see if there's such a thing as a non-fixed-width version.
denny: Photo of my face in profile - looking to the right (Default)

[personal profile] denny 2009-06-15 12:03 pm (UTC)(link)
Check the replies to my comment and you'll find the CSS code to fix it, along with a link to the page where you need to insert that code.
willow: Red haired, dark skinned, lollipop girl (Default)

[personal profile] willow 2009-06-15 02:04 pm (UTC)(link)
My layout borked around 8am EST, so way before the codepush, I believe.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-06-15 02:05 pm (UTC)(link)
Broke in what way?
willow: Red haired, dark skinned, lollipop girl (Default)

[personal profile] willow 2009-06-15 02:07 pm (UTC)(link)
I'm using Transmogrified and the entry field area has shifted and indented in from the left causing the entry field to become smaller. It looks a lot like LJ's Disjointed actually. With floaty bits of text in the middle of the screen.

Trying to pick another theme and then returning to Transmogrified did not help.
willow: Red haired, dark skinned, lollipop girl (Default)

[personal profile] willow 2009-06-15 03:53 pm (UTC)(link)
Thank you muchly. Now I've just got to figure out if people not showing up on my reading list is deliberate on their part (like Twitter block) or a bug.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-06-15 03:57 pm (UTC)(link)
If you think it's a bug, or can't find any reason for it, feel free to open a support request with details. (Whether it was happening before the code push, or happened after/due to the code push, etc!)

Oh yes, also, good luck, whichever it is *G*
Edited 2009-06-15 15:58 (UTC)
bankai: (Default)

[personal profile] bankai 2009-06-15 04:31 pm (UTC)(link)
Thanks for the hard work!
sdtrktomylife: (Default)

[personal profile] sdtrktomylife 2009-06-15 07:35 pm (UTC)(link)
Where can I make a suggestion for a feature? I may have missed it while looking around here. *blushes*
sdtrktomylife: (Default)

[personal profile] sdtrktomylife 2009-06-15 08:21 pm (UTC)(link)
Thanks much. :)
kareila: Taking refuge from falling debris under a computer desk. (computercrash)

[personal profile] kareila 2009-06-15 10:12 pm (UTC)(link)
Did you remember to reset memcache? I'm still seeing wrong last updated times on RSS feed profiles. (bug 1288)
kareila: Taking refuge from falling debris under a computer desk. (computercrash)

[personal profile] kareila 2009-06-16 12:43 pm (UTC)(link)
You said you didn't unless we asked, and I thought we'd asked. Oh well!
kareila: Rosie the Riveter "We Can Do It!" with a DW swirl (dw)

[personal profile] kareila 2009-06-16 06:08 pm (UTC)(link)
I have to keep an eye on it for a few days to be sure, but I think it looks good. Thanks!
anotherslashfan: "We exist - be visible" caption on dark background. letter x is substituted with double moon symbol for bisexuality (Default)

[personal profile] anotherslashfan 2009-06-16 12:49 pm (UTC)(link)
I've got a very weird problem: If I try to watch my reading page (or my recent entries), I can't see any entry context nor the user who posted it, but I can see the headlines and I can also comment.
It does work again, however, after I go to dw_maintenance (or probably any kind of journal), which is also displayed correctly.
Maybe it has to do with my layout? I'm using a code 1 (?) mixit layer (and don't really know anything about it, I just followed [community profile] thefulcrum's guide...
liv: Stylised sheep with blue, purple, pink horizontal stripes, and teacup brand, dreams of Dreamwidth (sheeeep)

[personal profile] liv 2009-06-16 06:06 pm (UTC)(link)
That sounds like the issue discussed in this FAQ, which is caused by a slight incompatibility between Core 1 styles like Mixit and Dreamwidth's system. This isn't connected to the recent code-push, but you can try the fix mentioned in the FAQ.
anotherslashfan: "We exist - be visible" caption on dark background. letter x is substituted with double moon symbol for bisexuality (Default)

[personal profile] anotherslashfan 2009-06-18 01:36 am (UTC)(link)
Thank you! I already did that fix after I found out about this problem, so it shouldn't be related to that.
And it still keeps happening once in a while, but not always.
dancing_serpent: (Default)

[personal profile] dancing_serpent 2009-06-18 07:28 am (UTC)(link)
Not sure if it got reported before...when crossposting to InsaneJournal, instead of applying the mood picture the crossposter fills out the mood as text. I have to change it manually on IJ afterwards.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-06-19 02:31 am (UTC)(link)
We've received reports of this, but we're always happy to hear people telling us about issues that they run into! (I believe it's [staff profile] denise who first said it, but better 50 reports on the same issue, so we're sure we know about it, than none at all, and us never realizing there's something that needs to be fixed).

Can't promise when it will be fixed, but it's definitely in the system waiting for someone to pick it up.
starboard: (Default)

[personal profile] starboard 2009-06-29 07:47 am (UTC)(link)
I'm not sure if this is the right community to ask this in, but here goes:

Is there a way to undo the importing of an LJ? I previously imported my LJ, but I just decided I'd like to purge all of that and start blogging with a fresh beginning. Can I do a mass delete or undo the whole process?