sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie posting in [site community profile] dw_dev
I have just install Template Toolkit 2.26 on the Dreamhack machine. We were previously using 2.20, which is still installed but in such a way that the later version should take precedence.

As this is a core module for Dreamwidth, it's recommended that you restart Apache when possible. Things won't break just yet if you don't (since the old files aren't gone just yet), but according to my sources, the Dreamwidth codebase will require this new version of Template Toolkit soon, so things may break in the future.

As always, if anything breaks on the Dreamhack machine because of this change, please comment to let me know, or open a GitHub issue.

Another Crisped Layout!

Nov. 19th, 2014 06:35 pm
forests_of_fire: A woman with shoulder-length black hair. She has a friendly, but serious smile on her face. (Oleander: Default)
[personal profile] forests_of_fire posting in [site community profile] dreamscapes
I think I missed this one in my roundup. XD

Name: Lawless Speckles
Author: [personal profile] forests_of_fire
Image info: ColourLovers pattern by amethystfirefly and thirdbreakfast
Layer **** Preview

Newbie

Nov. 19th, 2014 02:59 pm
[personal profile] seattlefreezer posting in [site community profile] dw_dev_training
Hello,

I'm a new developer (emphasis on the new). I'm trying to expand my skillset in programming and open-source works. I've been told you guys have a great community and are very helpful to newcomers. Please, if you have any tips, resources or suggestions send them my way.

I'm interested in front-end work, graphical interfaces and the like. I have some experience in java, python, html and css. I'm good at photoshop/illustrator as well if there is any need for something along those lines.

Specifically, I've tasked myself with converting the birthdays.tt code to run on foundation. Here's a question, where do I find the birthdays.tt page to see how it looks now?

Thank you very much and I look forward to learning and helping.

Aaron

github issues "claimed" bot

Nov. 20th, 2014 09:40 am
skud: (Default)
[personal profile] skud posting in [site community profile] dw_dev
If I recall correctly, there's a bot that assigns github issues to people if they say "claimed" or similar in the issue comments.

Can someone point me to the code/setup/whatever for that bot?

HOWTO: Dreamwidth API

Nov. 17th, 2014 09:55 pm
vlion: cut of the flammarion woodcut, colored (Default)
[personal profile] vlion posting in [site community profile] dw_dev_training

HOWTO Use the Dreamwidth API

DW endpoint: "https://www.dreamwidth.org/interface/xmlrpc"

Invoke LJ.XMLRPC.getchallenge on the endpoint, receiving something like...

"auth_scheme" :STRING "c0"
"server_time" :INTEGER <epoch time>
"challenge" :STRING "c0:1416283200:2410:60:4QoGWOXV0uB9gBaZ0LB0:5a1901a0feccabcb30fbe6e85878f758")
"expire_time" :INTEGER <epoch time>))

Pick challenge out, md5_hex[0] the challenge concatenated with the md5_hex of the account password; call the result response.

response = md5(concat(challenge, md5(password)))

Then, for function in the API, invoke LJ.RPC.function using auth_method = challenge and auth_response = response.

Proceed as appropriate for said function

[0] .. digest in hexadecimal form. The length of the returned string will be 32 and it will only contain characters from this set: '0'..'9' and 'a'..'f'.

pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma posting in [site community profile] dw_dev
For a test, I need to have an expunged user on my dreamhack. I don't intend to wait 2 months for that test, so I'm planning to tweak the existing process. From my reading of the source code of the 3 programs listed in http://wiki.dreamwidth.net/wiki/index.php/Purging_deleted_users, I think what I want is something like:
bin/moveucluster.pl --delete --expungedel <username> 0
with a version of bin/moveucluster.pl modified to remove the built-in delay. Before I start trying and maybe break my database in subtle ways, can someone confirm I'm on the right track?
Page generated Nov. 28th, 2014 09:28 pm
Powered by Dreamwidth Studios