ProcessWire Weekly #600

The 600th 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 core this week, as well as introduce a brand-new third party module called AgeWire.

As always we've also got a new site of the week to highlight. This week that site belongs to Museumslupe, which is a Swiss project representing over 60 museums committed to cultural participation and inclusion. More about all that in just 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 in your mind you'd like to share with us. Enjoy our latest issue and have a great weekend!

Latest core updates

We don't have a new weekly update from Ryan to share this time, but there are a few new commits for the dev branch of ProcessWire at GitHub. Here's a brief summary of what's new since last week — some of them are, in fact, quite interesting:

  • A fix for an issue where deleting a module didn't refresh the modules info right away, resulting in removed module's momentarily showing up as installed.
  • New methods: $notices->render(), $notices->renderText(), and Notice::viewable(). Notice class has also been split to a separate Notice.php file from Notices.php.
  • New ZipFileValidator module. Once installed, this module automatically validates any uploaded ZIP files. It is also used by the $files->unzip() method to validate ZIP files before they are extracted. See ZIP file validator in the API ref for details.
  • Support for an options array for the core WireFileTools::unzip() method, with various new options. See $files->unzip() in the API ref for details.

The ZIP file validator module was added as a response to issue #2120, in which a DoS (resource-exhaustion) vulnerability in the admin was highlighted. To take advantage of this, the user needs to be a superuser, or have the "lang-edit" permission. Due to the nature of this issue, ZIP file validator is automatically installed by system updater.

Thanks to Noman Prodhan for identifying and reporting this issue.

That's all for our core updates section this week. We'll be back with more updates next week, but in the meantime continue reading for more ProcessWire news and updates. Thanks!

New module: AgeWire

AgeWire is a new third-party ProcessWire module created by Maxim Semenov. As the name suggests, this module can be used for embedding age verification popup for a website, the likes of which are typically used for sites with some kind of adult theme, including ones related to alcohol or tobacco products.

AgeWire features a ready-to-use front-end powered by the Tailwind CSS utility-first front-end framework. In addition to a total of 13 visual themes, this module has a comprehensive set of features to choose from:

  • Configurable verification mode with either simple yes/no buttons, or set of date inputs and bot control features.
  • Support for international date formats: US (MM/DD/YYYY), EU (DD/MM/YYYY), or ISO (YYYY/MM/DD).
  • Secure cookies with configurable lifetime.
  • Exclusion rules configurable by template.
  • Optional Terms and Privacy Policy checkbox, and an option for providing custom links to your legal pages

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 code from the AgeWire GitHub repository. If you require additional assistance, be sure to head down to the AgeWire support forum thread.

Big thanks to Maxim for creating this module and sharing it with the ProcessWire community!

Site of the week: Museumslupe

Our latest site of the week belongs to Swiss non-profit project Museumslupe. Initiated back in 2004, they provide a platform for museums that are committed to cultural participation and inclusion, and they are currently representing more than 60 museums all around Switzerland.

Sixty Swiss museums are represented on the Museumslupe platform. They are committed to diversity and inclusion. Their best museum offerings are presented here, such as guided tours, workshops, and discovery tours.

— Museumslupe sites directory entry

The Museumslupe website was created by nordföhn (design) and Roland Häusler (dev). The site, which features an interesting and artistic visual layout combined with handy utilities for controlling stuff like text size and colour theme for improved accessibility, mostly focuses on introducing participating museums and their current offerings. There's also a brief section about the project itself, and the key people involved.

As for some behind the scenes details, the front-end of this site is powered by the Uikit front-end framework. When it comes to non-core ProcessWire modules, a couple that we could spot in action on this site include the cookie consent solution PrivacyWire, along with the EmailObfuscation module protecting email addresses from spammers.

Our congratulations to the Museumslupe project for their new, ProcessWire powered website — and of course to the team behind this project for a job as well. Great work from everyone involved in this project!

Stay tuned for our next issue

That's it for the 600th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 15th 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