ProcessWire 3.0.86 core updates

ProcessWire 3.0.86

We are getting close to our next master version of ProcessWire 3.x. This week work continued on covering issue reports, but we also added a few items from our feature requests repository as well. This post contains a brief summary of what went into the core this week.

Support for user accounts with login disabled

We added the ability to have user accounts that cannot login. This is done by specifying user roles that aren't allowed to login, via a $config setting. However, I suspect many will want to use the default value, which is to prevent login by users having a role named login-disabled. If you simply create a role named “login-disabled”, and assign it to any user, that user will not be able to login. It's as simple as that. This suggestion originated from @gmclelland.

Support for interlace option with JPEGs

We added support to our GD and ImageMagick image sizing engines for creation of interlaced JPEG images, resulting on smaller file sizes. While I've only tested it a bit so far, it makes enough of a difference that I recommend it. To enable, add the following to your /site/config.php file: $config->imageSizerOptions('interlace', true); This suggestion came from @jmartsch and big thanks to Horst for implementing it.

Improved SVG dimension detection

Improvements were made to SVG dimension detection, which can now use ImageMagick (when present) to rasterize SVGs in memory to determine target dimensions. Thanks to Adrian for the suggestion and implementation.

Max length for URL segments

ProcessWire has a maximum length of 128 characters for any individual URL segment (segments in the URL after the page path). This maximum is now configurable via $config->maxUrlSegmentLength. The default value is 128, so if you want to adjust it to something different, you would just set it from your /site/config.php file. This suggestion came from @weberhofer.

Other updates

ProcessWire 3.0.86 also contains adjustments for PHP 7.2, improvements to loading of autojoin fields (thanks Avoine), and several bug fixes reported in our processwire-issues repo. We hope you enjoy these updates and please let us know how they work for you. Be sure to read ProcessWire Weekly this weekend for the latest ProcessWire news and updates.

Comments

  • DaveP

    DaveP

    • 1 year ago
    • 00
    Not a blockbuster but some welcome additions. Thanks fo all contributors.
  • Adrian

    Adrian

    • 1 year ago
    • 00
    https://processwire.com/talk/topic/18022-pw-3086-%E2%80%93-core-updates/?do=findComment&comment=158012
  • Mike

    Mike

    • 1 year ago
    • 00
    What would be an example use case for a user role that can not login? Normally this would covered by the guest role, wouldn’t it?
    • Federico

      Federico

      • 1 year ago
      • 00
      A case might be for an intranet application, when you need (for recording reasons) to keep previous collaborators that are no longer part of the company, so you still see them but they aren't able to login anymore
  • Sabine

    Sabine

    • 1 year ago
    • 00
    Wonderful. Perceived speed is just so much better with interlaced JPEGs, this will come in handy in future projects.
  • gmclelland

    gmclelland

    • 1 year ago
    • 00
    What would be an example use case for a user role that can not login?

    @MIKE - In my case I had some employees that needed to be temporarily disabled from logging into the website and making changes to the website. I didn't want to delete their user account because then I would have to remember what roles each person had if I ever had to recreate them.

    Now you can create a login-disabled role and essentially block that user from logging into any part of Processwire.

    Here is the original discussion https://github.com/processwire/processwire-requests/issues/140

    Hope that helps

Post a comment

PrevProcessWire 3.0.85 core updates

Version 3.0.85 of the ProcessWire core has numerous small adjustments and tweaks, plus it adds new collapsed notifications support and new configurable labels for checkbox fields. More 

NextProcessWire 3.0.87 core updates

8

For our final dev branch version of 2017, we've added a couple new features that I think you'll find useful. For starters, we've added drag-and-drop (and paste) image upload support to our richtext editor (CKEditor), which is really handy. We've got all the details and a short screencast here as well.  More 

Twitter updates

  • New post: ProcessWire 3.0.125 has several useful new Sanitizer methods & options, plus new ways to access them directly from the Input API variable. This makes handling user input even easier than before. Plus updates to our i18n functions & API docs— More
    25 January 2019
  • New post: In this week’s post, we’ll take a look a look at the new website and focus on some parts of it and how they were built. Then we’ll dive into the latest version of ProcessWire on the dev branch, version 3.0.124— More
    11 January 2019
  • New ProcessWire main site rebuild ready for preview— More
    4 January 2019

Latest news

  • ProcessWire Weekly #248
    In the 248th issue of ProcessWire Weekly we'll introduce a third party module called SEO Maestro, feature a handy little recipe of the week, and showcase a brilliant new site of the week called Urban Alternatives. Read on!
    Weekly.pw / 9 February 2019
  • A closer look at ProcessWire ProMailer
    This week we take a closer look at the upcoming ProMailer module with a lot more details and screenshots. Plus an update on next steps with the new website and development schedule in the weeks ahead. 
    Blog / 1 February 2019
  • Subscribe to weekly ProcessWire news

“Yesterday I sent the client a short documentation for their ProcessWire-powered website. Today all features already used with no questions. #cmsdoneright—Marc Hinse, Web designer/developer