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.
momijizukamori: Grey tabby cat with paws on keyboard and mouse. The text reads 'code cat is on the job', lolcats-style (CODE CAT)
[personal profile] momijizukamori
So my workplace gives us a chance twice a year to work on anything we want for a few days, work-related or otherwise, and I thought I'd use some of my time to actually get the new API into a state where we can make it live. With that in mind! What endpoints would you like to see implemented? We're making this Swagger/OpenAPI-compliant, so everything takes JSON as arguments and return JSON formatted data. Stuff already on the list to do or partially done:

/api/v1/users/{username} - GET, shows info about the user (specific info TBD; subset of profile, probably?)
/api/v1/users/{username}/icons - GET, lists icons
/api/v1/users/{username}/icons/{iconid} - GET, returns icon data
/api/v1/users/{username}/journals - GET, returns list of journals with write access.
-- for now, returns only user's primary journal
/api/v1/journals/{username}/accesslists - GET, list of access lists for journal
/api/v1/journals/{username}/tags - GET, list of tags for journal
/api/v1/journals/{username}/xpostaccounts - GET list of xpost accounts
/api/v1/moods - GET list of moods
/api/v1/commentsettings - GET list of allowed comment settings
/api/v1/journals/{username}/entries - POST new entry, GET list of recent entries
/api/v1/journals/{username}/entries/{id} - POST edit entry, GET specific entry
/api/v1/journals/{username}/files - POST new file
/api/v1/spec - GET, returns a description of the API

(Mark and D, as usual, get the final say - some stuff people want may end up being security/privacy risks in non-obvious ways)
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.
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.
azurelunatic: A castle with rockets and fire cannons with the DW D on it. (Castle Dreamwidth)
[personal profile] azurelunatic
And between yesterday and today's code push, there were a few more things that got in at the last minute! As there always are.

10 total issues resolved
Contributors: [github.com profile] kareila, [github.com profile] rahaeli

All of these should be live on the site now. Whee!


Read more... )


Hooray! All done!
azurelunatic: A castle with rockets and fire cannons with the DW D on it. (Castle Dreamwidth)
[personal profile] azurelunatic
So we've got a code push coming up tomorrow! The code push will include stuff from mid-February until now. With one small exception, most of this is not yet live on the site. (The exception is the stuff that [staff profile] mark faithfully checked in, so the repository matches what's live in production.)

This tour covers April. It was a busy, busy month: 53 total issues resolved
Contributors: [github.com profile] NightFlyer, [github.com profile] afuna, [github.com profile] kaberett, [github.com profile] kareila, [github.com profile] rahaeli, [github.com profile] srukle, [github.com profile] zorkian

[staff profile] karzilla was doing something akin to NaNoWriMo for development, and it shows!

This is [github.com profile] NightFlyer's first contribution! Welcome!


Read more... )


And unless someone sneaks in some fixes under the wire, that's it for now!
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
As mentioned in my last post, I will be taking the Dreamhack server down for maintenance in 30 minutes! I'll edit this post once it starts and again when it's back up.

10:04am BST: I have restricted logins to admins and am beginning the maintenance now. This will involve a reboot and some diagnostics before opening it back up.

10:58am BST: The maintenance is done, and logins are unrestricted again!
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
Hi all,

I'm going to need to schedule some maintenance for the Dreamhack server as I've just discovered that the quota settings haven't taken effect. I'm therefore going to schedule maintenance for Wednesday 2017-04-19, 10am BST (5am EDT, 2am PDT) (about 36 hours from now) for up to 2 hours. (It shouldn't actually take that long, but I'm reserving it just in case.)

This maintenance will involve a reboot of the Dreamhack server. I will also be restricting logins until the maintenance is done, as the nature of the maintenance means that it will need as little data modification done as possible.

I'll post again once the maintenance starts, and edit that post when it ends.
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
Apologies again for the delay on this - Dreamhack applications are now officially open again!

As I explained in my previous post (which you should read if you haven't already - there's a lot of info in there), anybody who wants a Dreamhack should apply through this form, even if you already had one before. I will, as a one-time thing, email everybody who had an account before to let them know that the service is back up and that they'll need to re-apply.

My apologies once again for the delay! If you find any issues with the service, please feel free to let me know.
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.
azurelunatic: Raven looking at the golden apple.  (Eris)
[personal profile] azurelunatic
No tricks for you today, just a code tour (a day late). Today, we have 41 total issues resolved, with an additional 16 blasts from the past, one duplicate, and one not ready for prime time. Most of these are not live on the site yet, but will be at the next code push.

Of note: If you were trying to log into LiveJournal with your Dreamwidth OpenID, go ahead and try again. That one should be working again already.

Contributors:
[github.com profile] afuna, [github.com profile] alierak, [github.com profile] kareila, [github.com profile] rahaeli, [github.com profile] zorkian

And, on with the tour!


Blasts from the past. )

Actual tour! )

~code machete break~  )

The end of the tour )


And that's all for now, folks!
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 September. Since that time, we have not been graced with any new contributors, but we are pleased to welcome [staff profile] denise and [personal profile] fu back to active development after a long absence.

  #  User                      Changes     Latest
  1. denise                     417.08     Thu Mar 30 04:19:59 2017 UTC
  2. fu                         2168.5     Thu Mar 30 04:12:07 2017 UTC
  3. kareila                      1151     Tue Mar 21 16:56:21 2017 UTC
  4. alierak                        33     Wed Mar 15 13:41:33 2017 UTC
  5. mark                        563.5     Wed Feb 15 22:47:17 2017 UTC
  6. kaberett                     44.5     Mon Feb 13 18:53:52 2017 UTC
  7. momijizukamori             229.16     Sat Feb 11 17:08:28 2017 UTC
  8. srukle                          9     Sat Feb 04 00:09:02 2017 UTC
  9. woggy                          17     Thu Sep 29 22:26:43 2016 UTC
 10. onlyembers                    0.5     Thu Sep 29 19:58:05 2016 UTC

 11. pinterface                   15.5     Sat Sep 24 00:19:48 2016 UTC
 12. wohali                          1     Wed Aug 31 14:12:26 2016 UTC
 13. hotlevel4                      53     Fri Jul 15 22:39:55 2016 UTC
 14. phidari                         2     Sat Jun 18 21:14:12 2016 UTC
 15. cesy                        29.83     Sat Jun 18 15:28:34 2016 UTC
 16. chrisboyle                     15     Sun May 15 12:08:22 2016 UTC
 17. me_and                         36     Sun May 15 11:33:08 2016 UTC
 18. dfabulich                       1     Mon Apr 25 19:53:40 2016 UTC
 19. azurelunatic                    8     Mon Mar 28 05:54:30 2016 UTC
 20. sgsabbage                      17     Wed Feb 24 20:45:39 2016 UTC
The rest of the list... (159 total) )
brainwane: My smiling face, including a small gold bindi (Default)
[personal profile] brainwane
Those of you who love Open Source Bridge: it's going to be June 20-23, in Portland, Oregon. The call for session proposals closes in a few days, on 31 March. Last month Denise mentioned she hasn't yet decided whether to treat OSB 2017 as a "take Dreamwidth people to this conference" conference. But regardless, figured you might want to know.

Changes this year: a Community Organizer track during the Friday unconference, more extracurricular activities, and "a new track to explore how activists are using technology, how open source communities are supporting activists, and how other open source and activist communities intersect."

Presentations, panels, sets of lightning talks, workshops, or other session types are welcome.

Presentations can fit either a short- or long-form slot. Short-form presentations will receive a 45 minute session, and long-form will have 1 hour and 45 minutes. Pick the format that best fits the scope and style of your presentation.


[Call for proposals]

Edited to add: They've extended the deadline, which is now 11:59 PM PDT (UTC-7:00) on April 9th.
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
Hi all,

As you may know, about 2-3 weeks ago the Dreamhack server died. Since then, [staff profile] mark and I have been working on getting its replacement going, and updating a few things.

It should be ready to go in a few days, and I wanted to make a few notes for when it comes back up:
  • Firstly and most importantly, you'll need to re-apply for a Dreamhack if you want one, and you'll be set up as if you were a new user. Any changes that you pushed to GitHub will be available, but any other data you may have had will be gone - apologies for that.

  • I do still have email addresses for everybody who had an account when the server went down, and I'll send out a one-time email to everybody when the server is up to point them to this post. After that, the only people who will receive emails about Dreamhacks will be those who have applied for one.

  • The address you need to use to log into the server via SSH will be different from the Web address domain. The email you receive when applying for a Dreamhack will state this clearly.

  • The new server will have an increased quota. The earlier quota of 500MiB was enough at first, but since then the space taken by a base install of Dreamwidth has risen to 270MiB. In light of this, I've raised the quota to 750MiB.

  • You won't need to do a one-off compilation of the stylesheets and JavaScript any more unless you make changes to them - the new-user script will automatically do that for you, and your Dreamhack will have working CSS out of the box.

  • Each user will automatically get a test database called "test_dreamhack_<user>", accessible using the same database user and password as the main database. You'll still need to configure it properly yourself for now, but the installer will at least copy the required files to $LJHOME/ext/local/t for you to configure. Later on I'm hoping that it'll be possible to have it configured automatically.

  • The official email address to contact me has changed - you should now use my Dreamwidth email address (sophie at dreamwidth dot org). Automated emails will come from this address, so if you had the previous email whitelisted you may want to whitelist this new one instead.
Thanks for your patience with this - there's a lot that's been going on, but the new server should be ready to go very soon! Watch this space. :)

If you have any questions, please leave a comment! I'll answer any questions you might have.
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.
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,

I hate to be the bearer of bad news but the Dreamhack server has suffered an unexpected, and fatal, hardware failure. The system is offline for now while we set up a new one.

Further unfortunately, at some point during the various acquisitions and migrations that it has gone through over the years, the automated backups stopped working and I never noticed. All data that was on the Dreamhack server has been lost and cannot be recovered. (We've asked the host -- they said there's nothing they can do.)

I'm really sorry to anybody who had work on the server and now doesn't anymore. This is really, definitely not what we want -- even if it is a development environment, we do want it to be reasonably dependable as far as relying on it not to lose things.

This week we're going to work on setting up a new one and we'll get everybody back up and running. Any code you've submitted as PRs or to your fork on Github will be retrievable, of course. We're happy to help with that when things are back up if you need a hand.

Again, I'm sorry for any patches or code you've lost through this.
momijizukamori: Grey tabby cat with paws on keyboard and mouse. The text reads 'code cat is on the job', lolcats-style (CODE CAT)
[personal profile] momijizukamori
11 items on this second half of the code tour, all by [staff profile] karzilla, Wielder of the Code Machete.

Read more... )

Profile

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

October 2017

S M T W T F S
1234567
89 1011121314
15161718192021
22232425262728
293031    

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 23rd, 2017 02:32 am
Powered by Dreamwidth Studios