pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma2017-05-09 07:35 pm
Entry tags:

Question thread #52

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.
Entry tags:

Code tour: 2017-04-30

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!
Entry tags:

Code tour: 2017-04-02 to 2017-04-29

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] sophie2017-04-19 09:31 am
Entry tags:

[done] Dreamhack maintenance reminder

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] sophie2017-04-17 09:28 pm
Entry tags:

Dreamhacks: Scheduling some maintenance for 2017-04-19 morning

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] sophie2017-04-16 10:19 am
Entry tags:

Dreamhack applications are now open!

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] pauamma2017-04-08 09:19 pm
Entry tags:

Question thread #51

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.
Entry tags:

Code tour: 2017-02-12 to 2017-04-01

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] kareila2017-03-30 02:22 am

Current Code Contributors: March 2017

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 in front of a brick wall, May 2015. (Default)
[personal profile] brainwane2017-03-29 06:20 pm
Entry tags:

Open Source Bridge: proposal deadline 31 March

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] sophie2017-03-24 03:29 am
Entry tags:

Update on the Dreamhack server

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] pauamma2017-03-09 02:00 am
Entry tags:

Question thread #50

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] mark2017-03-05 10:49 pm
Entry tags:

Dreamhack Server

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.
Entry tags:

Code Tour: 02/02/17 - 02/12/17

11 items on this second half of the code tour, all by [staff profile] karzilla, Wielder of the Code Machete.

Read more... )
Entry tags:

Code tour: 2017-01-28 to 2017-02-02 (omg image hosting)

[personal profile] momijizukamori and I split this chunk of code tour, so here we go with the first half. This tour is for code being pushed tonight (assuming that between The Crud for one of the folks, and a power outage for another, everything's going to be good to go) so that everyone needs to hang on tighter (in order to keep from being thrown to the wolves).

17 items in this half of the code tour, brought to you by: long-time volunteer [github.com profile] LivredOr returning, relatively new and delightful [github.com profile] srukle, very busy DevCom [github.com profile] kareila (aka [staff profile] karzilla), our own [github.com profile] zorkian ([staff profile] mark), and the amazing [github.com profile] rshatch DID I MENTION THE FACELIFT OF THE IMAGE HOSTING OMG WE HAVE IMAGE HOSTING.

On to the tour!

Read more... )
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] sophie2017-02-11 07:48 pm
Entry tags:

Dreamhacks: Updated Locale::Country, and installed Log::Log4perl

Hello! Your friendly neighbourhood Dreamhack admin here.

I've updated the version of Locale::Country that the Dreamhack machine uses - we were on 3.25, and we're now on 3.42.

I also installed the Log::Log4perl module, as it's now being used by the codebase. This should make update-db.pl work again!

If there are any issues (related to these or otherwise), please comment and let me know!
karzilla: a green fist above the word SMASH! (Default)
[staff profile] karzilla2017-02-08 10:51 pm

moving away from MogileFS

We're about to deploy a new backend interface for file storage, called BlobStore, which [staff profile] mark wrote over the past few months with the intention of standardizing how file storage is handled in our code and making it work with any number of possible underlying technologies. It currently supports MogileFS and local disk, and we plan to add support for S3 in the future.

At this point, MogileFS is considered legacy technology. If your site is set up to use MogileFS, that configuration will continue to work under BlobStore for now. However, no new code that requires MogileFS will be accepted.

What you need to know if you are writing code: the new methods are implemented in cgi-bin/DW/BlobStore.pm and are pretty straightforward. For the most part they serve as drop-in replacements for the MogileFS file methods.

What you need to know if you are running a server: if you try to do anything related to uploading images, including userpics, you will get a fatal error unless you have defined either %LJ::BLOBSTORE or %LJ::MOGILEFS_CONFIG. So if you were already using MogileFS, you're fine, but if not, you will need to set up local disk storage in one of your local config files. The stock etc/config-private.pl in dw-free will have an example %LJ::BLOBSTORE that you can uncomment and use.

What you need to know if your existing userpics disappear: If you were running a server without MogileFS, all of your system's userpics were stored in a database table, and use of that table is no longer supported. I'm working on a new version of the migrate-userpics.pl script that can be used to move the images into your BlobStore once you've got that configured. (Update: this is available in bin/upgrading/migrate-userpics.pl.)

Obviously this will all need to be documented on the wiki somewhere, but I've got my hands full right now making sure everything is nailed down to push these changes into production in a few days. Let me know if there's anything I didn't cover here that needs to be addressed.
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma2017-01-31 07:00 pm
Entry tags:

Question thread #49

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] kaberett2017-01-28 04:07 pm
Entry tags:

Code tour: 2016-12-17 to 2017-01-28

CODE TOUR. This time I didn't get sucked into six months of endless labwork never to be seen again. Have fun.

Read more... )

16 total issues resolved
Contributors: [github.com profile] alierak, [github.com profile] kareila, [github.com profile] rshatch, [github.com profile] zorkian
kaberett: Overlaid Mars & Venus symbols, with Swiss Army knife tools at other positions around the central circle. (Default)
[personal profile] kaberett2017-01-02 01:44 am
Entry tags:

What does the file manager need before rolling out?

Hi all!

I've just had a quick chat with [staff profile] mark following yet another support request about a GUI for the photo hosting system which does actually exist but is pretty bare-bones and currently undocumented.

Mark is comfortable that with a few UI tweaks it could be added to the main menu (Organize --> Manage files, or similar) in order to be discoverable.

The big thing is "have the HTML for embedding an image provided anywhere other than immediately after uploading it". At this stage adding more features/functionality is not on the cards (unless you're volunteering!), but in the spirit of doing a relatively quick UI polish, is there anything else you'd like to see?

I'll be filing an issue in a week's time, and hopefully we can get UI tweaks out in the next code push...