kaberett: A sleeping koalasheep (Avatar: the Last Airbender), with the dreamwidth logo above. (dreamkoalasheep)
kaberett ([personal profile] kaberett) wrote in [site community profile] dw_dev2018-07-15 10:39 pm
Entry tags:

Code tour: 2018-04-30 to 2018-07-15

This code tour largely brought to you by [personal profile] cesy piling a bunch of us on a sofa and feeding us pizza and occasionally taking us for walks. Thank you, [personal profile] cesy! (And also by "whoops a code push, better make sure people know what's in it...")

Issue 2014: Syntax error from PR 2312 (pull request)
Category:
Patch by: [github.com profile] alierak
Description: Whoops! The fix for community membership settings not saving had a typo. Now, in time for the code push, it doesn't.

Issue 2189: imzy shutting down at end of june (pull request)
Category:
Patch by: [github.com profile] kaberett
Description: Er. That would be June 2017. HOWEVER, it's now no longer a profile field, but user tags still work.

Issue 2209: Better wording for 'no html allowed' on support request page (pull request)
Category:
Patch by: [github.com profile] kaberett
Description: ... because what it means is "HTML will be automatically escaped, you don't gotta worry about escaping it when giving us example code", but this wasn't... obvious, at all, and confused people. I tweaked it.

Issue 2210: Allow embeds from Funny or Die (pull request)
Issue 2307: New Whitelist site requests: mixstep.co, audiomack.com, chirb.it (pull request)
Issue 2310: whitelist iframes of facebook
Issue 2317: Whitelist embeds from box.com (pull request)
Issue 2335: Whitelist embeds from lichess
Issue 2338: Whitelist embeds from Яндекс.Музыка
Issue 2339: Whitelist embeds from MSNBC
Category:
Patch by: [github.com profile] kaberett
Description: The deal here is that, in order to be confident that embedded media is safe (that is, it won't hijack your browser or infect you with malware if you view it), Dreamwidth only allows embeds from whitelisted sites -- ones it knows it can clean up well enough to ensure nothing nasty gets through and then trodden into the carpet. Which means that if you want to embed from somewhere, and it's not on the whitelist yet, someone needs to check over the code and then... add it to the whitelist. [github.com profile] rshatch did last code tour's batch; I did this one.

Issue 2262: Enforce new "no commas in trust group names" rule (pull request)
Category:
Patch by: [github.com profile] chrisboyle
Description: In order to make it possible to (straightforwardly) post to multiple access filters when posting by e-mail (I'd apologise for still hyphening but I am fundamentally a reactionary luddite, so -- no, seriously, I still refuse to understand how the TV remote works), access filter names shouldn't, going forward, contain commas. This means that if you e.g. want to post something to your filters "party" and "contact" you now get syntax to do that, by sticking a comma between group names, rather than just being able to post to one access filter at once. Aaaaand I need to update the relevant FAQ once I wake up. (Trials and tribulations of being the most active volunteer in this timezone: when the site goes down on Boxing Day it's my job to call [staff profile] mark at 4am his local time, and also I... don't stay up for code pushes. Somewhere along the line I... grew up and got a sleep cycle? I'm deeply suspicious, and also it's past my bedtime as I type this, in case you couldn't tell.)

Issue 2304: Make the email spellcheck test a soft reject/hint instead of the hard reject it is currently. (pull request)
Category:
Patch by: [github.com profile] chrisboyle
Description: IT'S A REALLY BAD IDEA TO REFUSE TO ACCEPT E-MAIL ADDRESSES THAT MIGHT BE CONTAIN TYPOS IN THE DOMAIN NAME WHEN THEY'RE ACTUALLY REAL E-MAIL PROVIDERS, WHOOPS. Somehow there has not, to my knowledge, been a single solitary support request about this issue since 2009? But, er, expanding the spellcheck to pick up more common typos meant we... fell face-first into this, as was very kindly pointed out in comments on a previous code tour. THANK YOU FOR READING YOU'RE ALL GREAT YOU KEEP DREAMWIDTH WORKING.

Issue 2319: Add LJ to "Other Sites" on profile? (pull request)
Category:
Patch by: [github.com profile] kaberett
Description: In conclusion: yes. You can now (well, after the code push I'm sleeping through) add your LJ name to your profile in the dedicated Other Sites section.

Issue 2323: Beta update page userpic widget appears blank/confusing with no userpics (pull request)
Category:
Patch by: [github.com profile] kaberett
Description: ... which is awkward and confusing, so I stared very hard at Template Toolkit and tried to remind myself how postfix conditionals work (do this UNLESS condition, rather than IF condition do this) and I thiiiiiiink I haven't broken anything? Please yell if I've broken everything. I did test and it did seem to work.

14 total issues resolved
Contributors: [github.com profile] alierak, [github.com profile] chrisboyle, [github.com profile] kaberett
chalcedony_starlings: Two scribbled waveforms, one off-black and one off-white, overlapping, on a flat darkish purpleish background. (scribble twins)

[personal profile] chalcedony_starlings 2018-07-15 11:27 pm (UTC)(link)

Thank you all for the improvements and fixes and such. Upkeep ♪ ❤

siderea: (Default)

[personal profile] siderea 2018-07-15 11:54 pm (UTC)(link)
This means that if you e.g. want to post something to your filters "party" and "contact" you now get syntax to do that, by sticking a comma between group names, rather than just being able to post to one access filter at once.
YAAAAY!!

sharpest_asp: two lynxes butting heads, side shot (General: Lynx Love)

[personal profile] sharpest_asp 2018-07-16 04:35 am (UTC)(link)
Thanks all. Y'all do amazing things.
vass: a man in a bat suit says "I am a model of mental health!" (Bats)

[personal profile] vass 2018-07-16 11:09 am (UTC)(link)
Thank you all for your work!

Somewhere along the line I... grew up and got a sleep cycle?

WHERE DID YOU GET IT, AND DO THEY SHIP TO AUSTRALIA?
azurelunatic: The Space Needle by night. Slightly dubious photography. (Default)

[personal profile] azurelunatic 2018-07-16 01:33 pm (UTC)(link)
That is also what keeps me fairly well 24, rather than mostly not.
vass: a man in a bat suit says "I am a model of mental health!" (Bats)

[personal profile] vass 2018-07-16 06:38 pm (UTC)(link)
That does sound like an excellent solution, where possible.
chalcedony_starlings: A white right guillemet to the right, on a flat darkish purpleish background. (quartzwing)

[personal profile] chalcedony_starlings 2018-07-16 03:38 pm (UTC)(link)

αIf I'm allowed to point to my own post, we've been using SleepTown for this, if you're the sort who likes digital motivation assists. ^..^ (It's been working much better more recently than the original post suggests, though the lack of non-vibrating alarm is still annoying.)

vass: a man in a bat suit says "I am a model of mental health!" (Bats)

[personal profile] vass 2018-07-16 06:42 pm (UTC)(link)
Definitely wouldn't work for me, but I'm glad it works for you.
cat_from_outer_space: (Default)

[personal profile] cat_from_outer_space 2018-07-16 04:41 pm (UTC)(link)
Thank you for the work you do, and for providing notes on the changes! I love notes :D
magicrubbish: Damon S (Default)

[personal profile] magicrubbish 2018-07-17 10:12 pm (UTC)(link)
Great job and congratulations. :D