Hi! Can we please check…

Hi! Can we please check that the plugins.svn pre-commit handler is using PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. 7.4?

Previously it was requested that it be bumped to PHP 7.2, and be kept up to date, that was done by applying the nginx-php role, but it looks like it’s still running PHP 7.2 for lint checks even now that 7.4 has been deployedDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. to webs.

The main reason for requesting this is that it’ll allow PHP polyfills to pass the lint check, where as right now it blocks them.
It appears that PHP 7.3 or 7.4 changed how lint checks work to being syntax-only, ignoring conflicting classnames (ie. Right now declaring a class Exception {} fails a syntax check, but it doesn’t in PHP 7.4 even though it’ll cause a fatal error if executed).

To verify it works as expected, committing the contents of https://github.com/symfony/polyfill should work, but it’ll currently fail. It can be committed to https://plugins.svn.wordpress.org/test-plugin-3/branches/ if wanted (or I can try to do so).

#prio2

Can @andreamiddleton please have mc…

Can @andreamiddleton please have mc access for dotorg. Release management isn’t needed, it’s for stats. #prio2

Create learn@wordpress.org and forward to Help Scout

We need a new email address set up for the new learn.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ platform that we can use to communicate with workshop presenters, reviewers, discussion group leaders, and other volunteers.

The email address we’d like is learn@wordpress.org. This will be managed in a Help Scout mailbox, so please set it up to forward to this email address: learn-wordpress@mu.helpscoutapp.com

Do you need any additional information to set this up?

#prio1 +make.wordpress.org/community/

Add `NumberFormatter` to wordcamp.org & w.org

It looks like it should be bundled by default, but isn’t in our build.

PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. 7.4 deprecated money_format(), so NumberFormatter is now required. Can someone please add it?

xref https://wordpress.slack.com/archives/GDDSW0WNS/p1597179167490600

#prio2

Add nginx config to support subdirectory sites on learn.wordpress.org

learn.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ is already configured as a separate multisiteMultisite Multisite is a WordPress feature which allows users to create a network of sites on a single WordPress installation. Available since WordPress version 3.0, Multisite is a continuation of WPMU or WordPress Multiuser project. WordPress MultiUser project was discontinued and its features were included into WordPress core.https://codex.wordpress.org/Create_A_Network. network, but has only had the one root site so far. When I try to access a subdirectory site I created at learn.wordpress.org/test/, I get a browser error that the page isn’t redirecting properly.

It looks like make.wordpress.org has an nginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. config file that enables support for its subdirectory sites, so I’m guessing learn would need something very similar.

We’re trying to get the learn.wordpress.org site updated by Aug 12th, so I’m setting this to high priority in the hopes that it can get done soon.

Thanks!

#prio1

Add location block for `/files/` X-Accel-Redirect rewrites.

Currently WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ uses ms-files.php still, and while it’d be nice to move away from that, it’s not straight forward to doing so.
ms-files.php suffers from a long-term bug where videos can’t be played in Safari due to not supporting Range headers. As a work-around for that, we’d like to enable the X-Accel-Redirect offload functionality which will fix that.

How to test:
– https://make.wordpress.org/core/2020/08/06/wordpress-5-5-core-editor-accessibility-improvements/ has videos that should load/play in Safari, they currently do not.
– Add blogs.dir location blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. (see below)
– Add define( 'WPMU_ACCEL_REDIRECT', true ); to wp-config.php
– Videos should now play in Safari.

Using that as an example, the ms-files path is:
https://make.wordpress.org/core/files/2020/08/roving-tabindex-1.mp4

WPMU_ACCEL_REDIRECT once enabled, outputs:
X-Accel-Redirect: /blogs.dir/6/files/2020/08/roving-tabindex-1.mp4

I believe something similar to the following should work for all WordPress.org network sites (those served out of the WordPress.org users public_html):

location /blogs.dir/ {
  internal;
  alias /uploads/;
}
  • PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. execution within that location is not required.
  • 404’s should 404, ms-files.php will take care of that.
  • This should NOT apply to buddypress or sites hosted on non-wordpress.org users.
  • The X-Accel-Redirect response can be cached if wanted, but I assume the default caching strategy would already do so.

#prio1

WordCamp.org Let’s Encrypt script isn’t…

WordCamp.org Let’s Encrypt script isn’t running, and hasn’t for several weeks. As mentioned here: https://wordpress.slack.com/archives/G02QCEMRY/p1586994663032600

Can we please see of a copy of the /tmp/letsencrypt-update.log file from production to diagnose.

cc @iandunn

WordCamp.org admin-ajax self-ddos

Yesterday there was an outage, which was caused by an admin-ajax infinite loopLoop The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop.. The logs didn’t provide enough information to debug, though, so we’ll need to gather more information to start troubleshooting.

Possibly related to https://make.wordpress.org/systems/2020/01/16/wordcamp-org-slow-load-times/

x-ref archives/C204BD7PT/p1586640064085000

#prio1

lists.wordpress.org unsubscription email not configured

According to #5134-meta the mailing lists include unsubscribe headers similar to this, but they don’t resolve to accounts:
List-Unsubscribe: ,

wp-svn-request@lists.wordpress.org: host lists.wordpress.org[198.143.164.108]
    said: 550 5.1.1 : Recipient address
    rejected: User unknown in local recipient table (in reply to RCPT TO
    command)

#prio3

#5134-meta

Can we please add a…

Can we please add a GitGit Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. Most modern plugin and theme development is being done with this version control system. https://git-scm.com/. post-update hook on meta.git.wordpress.org to push to git@github.com:WordPress/wordpress.org.git?

There exists an existing configuration for this for the develop.git repo: https://make.wordpress.org/systems/2016/12/20/deploy-key-and-mirroring-for-github-repo/

Either add the key directly in https://github.com/WordPress/wordpress.org/settings/keys or let me know and I’ll add it.

#prio2