ProcessWire Weekly #654

The 654th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!

Welcome to the latest issue of ProcessWire Weekly! In this week's issue we're going to check out what's new in the latest development version of ProcessWire, 3.0.277, as well as share the latest weekly update from Ryan.

In other news we're going to take a quick peek at a newly released third-party module called FwChangelog, and highlight a new site of the week. This week said site belongs to an independent management systems consultancy based in Montenegro, ConsultHQ. More about all that in a bit, so keep on reading.

Thanks to all of our readers for being here with us again, and as always, any feedback is most welcome – please don't hesitate to drop us a line if there's anything on your mind you'd like to share with us. Enjoy our latest issue and have a great weekend!

Latest core updates: ProcessWire 3.0.277

This week we have a new weekly update from Ryan at the support forum, covering briefly our latest development version, 3.0.277. This version consists of nearly 50 new commits, focusing on security improvements across the admin, sessions, uploads, sanitizing, and access checks, along with some feature additions and updates:

  • findRaw() url and path now follow the user's language, and new urls and paths properties return values for all languages: $pages->findRaw("template=blog-post", ['title', 'paths']).
  • findRaw() now leaves out unpublished page references, matching $page->field. Use the field's "Allow unpublished pages" setting or the new page_reference_status option to include them.
  • Fieldtype modules can now implement Fieldtype::getRawValue() to decode their stored values for findRaw() and getRaw().
  • $languages->find() now automatically excludes hidden languages.
  • New --pw-main-contrast-color CSS variable for admin theme customization, so text on main-color buttons stays readable with light brand colors.
  • New $log->disableQueryString() method keeps query strings out of log entry URLs for the current request.

A few bug fixes are included as well: valid two-factor logins are no longer refused by the login throttle, replacing a repeater value no longer adds to the existing items, and selectors with escaped commas, pipes, or quotes more consistently survive being converted to a string and parsed again. And, last but not least, there are some PHP 8.5 and 8.6 compatibility updates.

Worth noting when upgrading: 3.0.277 makes $config->httpHosts required for password reset requests, and contains updated versions of .htaccess, nginx and Caddy rule files.

That's all for our core updates section this week. For more details and a little personal update, be sure to also check out the weekly update from Ryan at the processwire.com support forum. Thanks!

New module: FwChangelog

FwChangelog is a new third-party module created by João Mota. This module acts as a changelog for your site: every time a page is saved, the module records which fields changed, the value before and after, who made the change, and when it was made. Logged changes can then be accessed via the Settings tab in the page editor.

Screenshot of the FwChangelog per-page log view.

Here are some highlights from the rather lengthy list of features provided by the module:

  • In addition to who made the change and when, the module also stores before and after values for each changed field.
  • Multi-language fields are supported, and the module stores one log entry per language for each change.
  • Page properties covered are name, status (published, hidden, locked), parent, and template, and logged events include created, moved to the trash, and restored.
  • File and image additions, removals, replacements, and description changes are logged. File contents are not stored by this module, only file names.
  • Repeater, Repeater Matrix, and Fieldset Page changes are logged for the page that owns the item(s). This also includes added, removed, or toggled (on/off) items.
  • Consecutive changes to the same field by the same user are merged into one entry, so autosaves and quick re-saves do not flood the history.
  • Old entries are deleted automatically after a configurable retention period.

For more details, check out the modules directory entry for FwChangelog.

If you'd like to give this module a try, you can install it via the built-in modules manager in the admin, or clone or download the module's source from the FwChangelog GitHub repository. If you have questions for the author, head down to the FwChangelog support forum thread.

Big thanks to João Mota for creating this module and sharing it with us!

Site of the week: ConsultHQ

Our latest site of the week belongs to ConsultHQ, which is an independent management systems consultancy based in Montenegro. They have more than a decade of experience helping businesses build, implement, and maintain regulatory compliance systems.

ConsultHQ helps businesses in Montenegro implement ISO 9001, ISO 14001, HACCP and GDP for medicines, and advises on GDPR and data protection. The bilingual site explains practical implementation, internal audits, documentation and training for hospitality, food production, manufacturing, pharmaceutical distribution and logistics.

— ConsultHQ in the ProcessWire sites directory

The bilingual website of ConsultHQ features a clean and crisp design, straightforward user interface, and plenty of to-the-point content. The bulk of content on this site is about the services they provide, with a brief company introduction and a blog about topics such as quality systems, standards, food safety, and data protection.

As for some behind the scenes details, the front-end of this site is built on top of the Bulma CSS framework, with plenty of custom work on top of it. When it comes to the ProcessWire side of things, the one and only non-core module that we could spot in action here is Email Obfuscation (EMO).

Our congratulations to ConsultHQ for their ProcessWire powered website!

Stay tuned for our next issue

That's it for the 654th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 28th of November. As always, ProcessWire newsletter subscribers will get our updates a few days later.

Thanks for staying with us, once again. Hope you've had a great and productive week, and don't forget to check out the ProcessWire forums for more interesting topics. Until next week, happy hacking with ProcessWire!

Post a comment