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.
easiness: (Default)
[personal profile] easiness
Hi everybody!

I have a few questions regarding the XML-RPC API and I was wondering if someone would be so nice to answer them :)


  • Checking the code I discovered that there's a restriction for the method addcomment in the API (here) that prevents non-paid accounts to use this method. I was wondering why this restriction exists because posting entries (through postevent method) is completely fine for non-paid accounts.

  • In the documentation the method getevents has the property usejournal to request entries from other journals but so far I'm only able to see entries from my own journal. Friends' journals or community journals return the error Don't have access to requested journal (here). Am I missing something? shouldn't I be able to retrieve those entries if I have the permissions to see them?

  • When retrieving entries from my journal using the method getevents, there's barely no information about the comments, only in the props property there's a subproperty called commentalter with a number which I don't know what is for. How do I get information about the comments of an entry?

  • Related to the comments, if I manage to get the ids, how do I retrieve the body? can I do it with getevents method?

  • About the getinbox method, I get some ids but no content at all. How do I get the body of those messages using those ids?

  • The documentation says that sessiongenerate is used to access web based parts of the site but it only mention comment exporter. Which other web based parts exist?

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.
foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)
[personal profile] foxfirefey
State of the server:

* Follows pretty closely with instructions on http://wiki.dwscoalition.org/wiki/index.php/Dreamwidth_Scratch_Installation -- Ubuntu 16.04.4 x64 on DigitalOcean
* Server user dw, git checked out in the home directory as dw
* Using a subdomain: dev.memewidth.org, so the journal subdomains are like foxfirefey.dev.memewidth.org
* The main domain works, but all subdomains endlessly redirect to themselves. That is, if you go to foxfirefey.dev.memewidth.org, it will redirect to foxfirefey.dev.memewidth.org, until the browser quits trying since it will never actually resolve

Details for those who think they can help )

I know I must be doing something wrong, but have been having a hard time figuring out what, and if anybody has any pointers or avenues I should investigate I'd be very happy to hear of them.
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
[staff profile] mark
Hi all!

In the deep dark ages past we used IRC as the means for doing real-time development/volunteer communication. This worked well enough for years but as a medium there are a lot of limitations to IRC and most Dreamwidth staff haven't been active there for a long time (for various reasons).

Some time ago we created a Discord community and have been using it for some real-time communications since. It has proven to be effective for our purpose so we're going to make it official. If you would like to have a place to go to ask questions, talk about development, and similar Dreamwidth related conversation, you can find us here:

https://discord.gg/dreamwidth

If you do decide to join us, when you join you'll only be able to see much at the beginning. Just tell us what your Dreamwidth name is in the #introductions channel and as soon as staff is around we can get you the right access to see the rest of the channels!

I want to emphasize that this is just for volunteer/development communication and isn't meant to be a social lounge. IRC is still a reasonable place to go for that if you just want to hang out and chat, but we won't be using Discord for that.

Questions & comments, fire away!
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.
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.
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
Tiiiiiiiiiiny code tour!

Read more... )


3 total issues resolved
Contributors: [github.com profile] kareila, [github.com profile] rshatch, [github.com profile] swaldman3
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 January — sorry it's been a while! No new contributors to report during that time, but we appreciate everyone who continues to volunteer their time and effort to improve the site.

  #  User                      Changes     Latest
  1. swaldman                       78     Sat Jul 21 04:13:07 2018 UTC
  2. kareila                      1294     Sat Jul 21 04:11:37 2018 UTC
  3. momijizukamori             234.16     Sat Jul 21 04:10:59 2018 UTC
  4. kaberett                     56.5     Sun Jun 17 18:46:15 2018 UTC
  5. chrisboyle                     18     Sun Jun 17 18:11:05 2018 UTC
  6. alierak                        37     Sat Mar 24 22:13:55 2018 UTC
  7. allen                        63.5     Fri Feb 02 13:56:05 2018 UTC
  8. pauamma                       150     Sat Jan 20 17:42:28 2018 UTC
  9. mark                        575.5     Wed Jan 10 23:43:32 2018 UTC
 10. hotlevel4                      54     Mon Jan 01 23:33:48 2018 UTC

 11. srukle                         12     Mon Jan 01 23:08:09 2018 UTC
 12. pinterface                   17.5     Sat May 20 03:03:22 2017 UTC
 13. josh-berry                      1     Mon May 08 04:40:55 2017 UTC
 14. nightflyer                      1     Wed Apr 19 19:53:30 2017 UTC
 15. denise                     423.08     Fri Mar 31 06:03:58 2017 UTC
 16. fu                         2168.5     Thu Mar 30 04:12:07 2017 UTC
 17. woggy                          17     Thu Sep 29 22:26:43 2016 UTC
 18. onlyembers                    0.5     Thu Sep 29 19:58:05 2016 UTC
 19. wohali                          1     Wed Aug 31 14:12:26 2016 UTC
 20. phidari                         2     Sat Jun 18 21:14:12 2016 UTC
The rest of the list... (161 total) )
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
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...")

Read more... )

14 total issues resolved
Contributors: [github.com profile] alierak, [github.com profile] chrisboyle, [github.com profile] kaberett
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.
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma
(aka, the thing that lets us do changelog posts and a few other things, like - I believe - the autoclaiming thing)

https://developer.github.com/changes/2018-04-25-github-services-deprecation/

What should replace it for us? Or should there be a bug for it?

h/t: the warning at the bottom of recent changelog entries.
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.

Profile

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

January 2019

S M T W T F S
  12345
6789101112
131415 16171819
202122232425 26
2728293031  

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 16th, 2019 08:38 am
Powered by Dreamwidth Studios