ari_linn: (warrior - normal)
[personal profile] ari_linn

Can anyone tell me/point me to the source code where thread ids in comment links are generated? Especially if all I have is data from export_comments.bml page? For example, when I visit https://www.dreamwidth.org/export_comments.bml?get=comment_body&startid=1 , I can see the following comment:

<comment id="123" jitemid="234" posterid="345" parentid="456">
    <body>My Comment</body>
    <date>2018-06-08T00:58:54Z</date>
</comment>

But if I go to the actual post page, this comment will be displayed with a link to it. The link looks like this: https://ari-linn.dreamwidth.org/%POSTID%.html?thread=%SOMERANDOMNUMBER%#cmt%SOMERANDOMNUMBER%. Where does %SOMERANDOMNUMBER% come from?

pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
cesy: "Cesy" - An old-fashioned quill and ink (Default)
[personal profile] cesy
I have consulted my diary and concluded this is happening on 15-17 June.

Starting from 7pm on Friday night, finishing 2pm Sunday. Remote participation encouraged - we'll be on IRC and Discord and can set up Skype if people want.

Practical details for those attending )
kaberett: A sleeping koalasheep (Avatar: the Last Airbender), with the dreamwidth logo above. (dreamkoalasheep)
[personal profile] kaberett
Cooooooooooooooooode tour! Tour all the fish! (Did you know that the Eurostar offers a virtual reality Under The Sea tour Thing these days to keep the kids amused while you're in the tunnel beneath the crushing depths etc? NOR DID I, and to my shame I failed to actually do anything with it on my most recent trip, but believe me I'm planning another one.)

These fixes will go live in the next code push, and several of them got written during the volunteer event I hosted a... little while back, now. Hurrah and thank you, and I am looking forward to the fruits of [personal profile] cesy's next event!

Read more... )

18 total issues resolved
Contributors: [github.com profile] alierak, [github.com profile] chrisboyle, [github.com profile] kaberett, [github.com profile] kareila, [github.com profile] rshatch
cesy: "Cesy" - An old-fashioned quill and ink (Default)
[personal profile] cesy
I have a new home and space to host a volunteer weekend - would anyone be up for another one, maybe in June? I'm within easy reach of Waterloo or Victoria for those outside London.
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
ari_linn: (warrior - normal)
[personal profile] ari_linn
I have about 100 files that I want to upload to Dreamwidth. I want to do it with a script, if it's possible. I checked what happens in my browser when I'm logged in and uploading a file at https://www.dreamwidth.org/file/new , and it was pretty much the following request:

POST https://www.dreamwidth.org/api/v1/file/new 
Content-Type: multipart/form-data
Cookies: ljuniq=THISTOKENCHANGESWITHEVERYREQUEST;
BMLschemepref=celerity-local;
__utma=SOMETOKEN;ljmastersession=YETANOTHERTOKEN;
ljloggedin=FINALTOKEN

FILE BODY
My problem now is: how do I get the whole cookies/authorization stuff, or at least THISTOKENCHANGESWITHEVERYREQUEST token (other stuff seems to be reused? can I hijack my current session and simply use cookies from it in my script?) Is there any way to do it programmatically?
kaberett: A sleeping koalasheep (Avatar: the Last Airbender), with the dreamwidth logo above. (dreamkoalasheep)
[personal profile] kaberett
The volunteer weekend is nearly upon us! I'll be in and around from mid-afternoon Friday.

I'm expecting to provide crash space for [personal profile] shortcipher, [personal profile] cesy, and [personal profile] swaldman. If you think you should be on that list, please shout!

There are lots of local takeaways and I'll also be over-catering, as usual. Food is by default lacto-ovo vegetarian but lots of other configurations are available; the kitchen does contain both gluten and nuts.

Please also shout if you need my Skype details to join in that way, but I'll make sure we're paying attention to IRC too :-)

(aaaaaaaaaaaaaaaaaaaaaaaaaaaah)

(& if you don't have things in mind to work on, DON'T WORRY, I HAVE A WISHLIST and so too does [personal profile] kareila)
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
[personal profile] swaldman
I need a password reset on my Dreamhack. Possibly more - Sophira told me it was set up again after the wipe, but I never got the automatic email.

Who do I need to ask about this?

Thanks.
kaberett: A sleeping koalasheep (Avatar: the Last Airbender), with the dreamwidth logo above. (dreamkoalasheep)
[personal profile] kaberett
Tiiiiiiiiiiny code tour. It's okay, next month's will -- as a result of the volunteer weekend I'm hosting in London, joining us remotely very welcome -- be bigger. Unless it's so much bigger that I hide under my blanket until forced to face my fears by the next code push.

One of these is already live, one makes absolutely no difference unless you're poking around the code on github, and one will make a bit of a difference after the next code push.

Read more... )

3 total issues resolved
Contributors: [github.com profile] akpdw, [github.com profile] alierak, [github.com profile] me-and
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
kareila: Rosie the Riveter "We Can Do It!" with a DW swirl (dw)
[personal profile] kareila
Every few months, I run through [site community profile] changelog compiling a list of who has been contributing patches to our code repository, with the understanding that this is not a competition, or any sort of "high score" list. It's intended as a guide for casual developers, to discern not only our most prolific contributors, but also those who have contributed to the project most recently and therefore would be more likely to provide a timely, informed response to development questions. That is why the list is sorted by "Latest" instead of "Changes".

In general, one commit on Github equals one point in the "Changes" column, but fractional points are awarded for collaborative efforts — the most common example being a new S2 theme, where usually half credit is awarded to the theme author and the other half to the person who converts the theme into a code patch. Due to the nature of development, some changes are massive contributions of new code, and others are tiny tweaks; there is no correlation with the amount of effort involved. We are grateful to everyone who helps to improve Dreamwidth, in ways large or small.

I last compiled this list at the end of March — sorry it's been a while! Since that time, we have welcomed two new contributors: [github.com profile] nightflyer and [github.com profile] josh-berry. Congratulations and thank you again!

  #  User                      Changes     Latest
  1. pauamma                       150     Sat Jan 20 17:42:28 2018 UTC
  2. mark                        575.5     Wed Jan 10 23:43:32 2018 UTC
  3. kareila                      1292     Mon Jan 01 23:37:56 2018 UTC
  4. hotlevel4                      54     Mon Jan 01 23:33:48 2018 UTC
  5. srukle                         12     Mon Jan 01 23:08:09 2018 UTC
  6. alierak                        35     Sun Nov 19 21:08:28 2017 UTC
  7. allen                        62.5     Wed Sep 27 05:31:14 2017 UTC
  8. kaberett                     47.5     Sun Jul 16 16:02:58 2017 UTC
  9. momijizukamori             230.16     Sat Jun 10 14:29:26 2017 UTC
 10. pinterface                   17.5     Sat May 20 03:03:22 2017 UTC

 11. josh-berry                      1     Mon May 08 04:40:55 2017 UTC
 12. nightflyer                      1     Wed Apr 19 19:53:30 2017 UTC
 13. denise                     423.08     Fri Mar 31 06:03:58 2017 UTC
 14. fu                         2168.5     Thu Mar 30 04:12:07 2017 UTC
 15. woggy                          17     Thu Sep 29 22:26:43 2016 UTC
 16. onlyembers                    0.5     Thu Sep 29 19:58:05 2016 UTC
 17. wohali                          1     Wed Aug 31 14:12:26 2016 UTC
 18. phidari                         2     Sat Jun 18 21:14:12 2016 UTC
 19. cesy                        29.83     Sat Jun 18 15:28:34 2016 UTC
 20. chrisboyle                     15     Sun May 15 12:08:22 2016 UTC
The rest of the list... (161 total) )
kareila: Rosie the Riveter "We Can Do It!" with a DW swirl (dw)
[personal profile] kareila
Hello people of Dreamwidth! We're expecting to do a code push in a couple of weeks, but there are a few open issues I'd like to see resolved before then. If you think you can assist with any of these, now would be a good time to get involved!

Issue #2304: Make the email spellcheck test a soft reject/hint instead of the hard reject it is currently. - This came up in the comments of the most recent code tour, where a change was made to catch more possible email domain typos, but it was pointed out that the resulting page didn't give the user a way to opt out of the correction. - Thanks to the UK hackathon participants for getting this fixed!

Issue #2014: Membership option won't save in Account Settings - The support board has seen several complaints about this, and the most recent comments on the issue suggest the nature of the needed fix. - This has been fixed, thanks!

Issue #2264: Error messages in cgi-bin/DW/Setting/ShortcutsKeypress.pm - This is a minor problem with the new module for keyboard shortcuts for Previous/Next Entry: there are some obvious syntax errors that need to be fixed before deployment. - This has been fixed, thanks!

Issue #2262: Enforce new "no commas in trust group names" rule - As a result of the upcoming new feature to allow a comma-separated list of access groups to be specified when posting by email, going forward we want to prevent new trust groups from containing commas. - Thanks to the UK hackathon participants for getting this fixed!

Issue #2308: user names in markdown now fail to convert if they happen at the beginning of a line - Following the fix to escape @usernames preceded by a backslash, now there is an edge case where @usernames at the very beginning of a line of input text are failing to convert. - This has been fixed!

These are the issues I consider to be most urgent, but any and all contributions are appreciated!
kaberett: A sleeping koalasheep (Avatar: the Last Airbender), with the dreamwidth logo above. (dreamkoalasheep)
[personal profile] kaberett
The majority of these fixes are not yet live on the site, but will be coming to a Dreamwidth near you with the next code push! I've separated out the ones that are in fact already up-and-running. Special shout out to Pau for the epic bug-a-day run!

Read more... )

Meanwhile, in the already-live category... )

37 total issues resolved
Contributors: [github.com profile] alierak, [staff profile] denise, [github.com profile] hotlevel4, [github.com profile] kaberett, [github.com profile] kareila, [github.com profile] pauamma, [github.com profile] srukle, [github.com profile] zorkian
kaberett: A sleeping koalasheep (Avatar: the Last Airbender), with the dreamwidth logo above. (dreamkoalasheep)
[personal profile] kaberett
Following up on the previous post, I decree a volunteer weekend from the 23rd-25th of March, as being the one most people have expressed a preference for.

There's a bunch of access/parking/etc info in the comments on the previous post; if you have any particular dietary requirements/preferences you'd like me to cater for, please let me know (but you're also welcome to use the kitchen yourself!); we have a Sufficiency of computer to be able to lend some if necessary, and a wide variety of seating options. We'll have a dedicated machine running Skype for folk who want to Skype in.

If I've granted you access, this filtered post contains my address and other contact details. If you don't have access, holler and I'll ping it over to you.
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
kaberett: A sleeping koalasheep (Avatar: the Last Airbender), with the dreamwidth logo above. (dreamkoalasheep)
[personal profile] kaberett
Hello folk!

I would quite like some encouragement to host another Dreamwidth volunteer weekend. I am arbitrarily choosing March in the hopes that I will have got my current energy levels slightly more sorted out by then. As usual, I am offering to host (in North London, step-free access, Skyping/IRCing in welcome & encouraged). ERGO:

Open to: Registered Users, detailed results viewable to: All, participants: 6


Which weekends in March work for you?

View Answers

9th-11th (Alex might be otherwise occupied Friday night + Saturday afternoon/evening)
3 (50.0%)

16th-18th
5 (83.3%)

23rd-25th
5 (83.3%)

Which single weekend would you prefer, if you can do several? (Optional!)

View Answers

9th-11th
0 (0.0%)

16th-18th
1 (33.3%)

23rd-25th
2 (66.7%)

Any access questions or requests?

pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.

Profile

dw_dev: The word "develop" using the Swirly D logo.  (Default)
Dreamwidth Open Source Development

April 2019

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
282930    

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 24th, 2019 07:01 am
Powered by Dreamwidth Studios