Skip to content
CAI
Software that uses CAICheck a score

zotonic/zotonic

36.9

Weak · 13 November 2026

208.9k

lines of production code

Erlang

with JavaScript

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add ACL rules export controller

A new controller has been added to allow site administrators to download the site's access-control rules as a compressed Erlang term file (acl-rules-SITE.dat). This file can subsequently be imported by the ACL rules editor, facilitating the backup and migration of access-control configurations.

_apps/zotonic\_mod\_acl\_user\groups/src/controllers · high confidence

Add Apache 2.0 license and language detection corpus data

The module now includes an Apache 2.0 license file and a comprehensive set of language detection corpus texts (e.g., Afrikaans, Arabic, Belarusian) used to identify content languages via n-gram analysis.

_apps/zotonic\_mod\translation · high confidence

Add Creative Commons and Rights-Statements SVG assets

The mod\_copyright module now includes a comprehensive set of SVG icons for copyright licensing, including Creative Commons variants (CC-BY, CC-NC, CC-ND, CC-SA, CC-Zero) and Rights-Statements (InC, NoC, Other, and specific EU Orphan Works and Non-Commercial variants). These assets enable the module to visually display the specific license or rights status associated with content items in the admin interface and on the frontend.

_apps/zotonic\_mod\copyright/priv · high confidence

Add Emacs mode for Zotonic templates with syntax highlighting and indentation

Developers using Emacs now have a dedicated major mode for Zotonic template files, providing syntax highlighting for keywords, custom tags, and filters, along with robust indentation support for block tags, tag soup (HTML), and multiline constructs. The change introduces the \zotonic-tpl-mode.el\ implementation, a test suite (\zotonic-tpl-mode-tests.tpl\) to verify indentation logic, and a reference file (\zotonic-tpl-mode-highlight.tpl\) for manual verification of highlighting rules. This improves the editing experience for template authors by ensuring consistent formatting and visual clarity.

priv · high confidence

Add Hello World controller for development testing

A new controller, controller\_hello\_world, has been added to the development module. This simple resource returns the string "Hello, World!" and is intended to be used in dispatch rules to verify that the server is responding correctly during development.

_apps/zotonic\_mod\development/src/controllers · high confidence

Add LinkedIn authentication integration

The zotonic\_mod\_linkedin module is introduced, enabling users to log in and connect their accounts via LinkedIn OAuth 2.0. Administrators can configure the LinkedIn App ID and Secret in the admin interface, and users will see a 'Log in with LinkedIn' button on the logon form or a 'Connect with LinkedIn' option on their account page. The module handles the OAuth flow, fetching the user's profile data (name, email, and profile photo) from LinkedIn.

_apps/zotonic\_mod\linkedin · high confidence

Add Microsoft identity platform authentication

Introduces a new module enabling users to log in and connect accounts using Microsoft/Azure. Administrators can configure the integration via the authentication services panel by providing an Application ID, Client Secret, OAuth scope (defaulting to 'User.Read email'), and tenant identifier. The module handles the OAuth 2.0 authorization code flow, fetching user profile data and photos from the Microsoft Graph API, and adds a Microsoft login button to the sign-in interface.

_apps/zotonic\_mod\microsoft · high confidence

Add Table of Contents template with recursive rendering and configurable depth

The page-parts module now includes a new template (\_toc.tpl) that renders a nested, recursive table of contents. This template supports a configurable starting level (defaulting to 1) and recursively includes itself to handle nested sections, allowing users to generate structured navigation lists from TOC data.

_apps/zotonic\_mod\base/priv/templates/page-parts · high confidence

Add action to disconnect external authentication identities

Users can now disconnect external authentication methods (such as OAuth providers) from their account via a new wire action. This action allows administrators or users with edit permissions to remove specific identity types linked to a resource, with an optional key prefix to target specific instances. Username/password and email identities are protected and cannot be disconnected through this mechanism.

_apps/zotonic\_mod\authentication/src/actions · high confidence

Add admin routes for predicate connections and graph view

The admin interface now includes dedicated URL dispatch rules for managing predicate connections. Users can access a list of connections at /admin/connections, view a graph visualization of those connections at /admin/connections/graph, and manage individual predicates at /admin/predicate. These routes wire the existing admin controllers to their respective templates, enabling the new graph view and connection overview features within the admin panel.

_apps/zotonic\_mod\_admin\predicate/priv/dispatch · high confidence

Add admin statistics dashboard controller

A new controller (\controller\_admin\_statistics\) has been added to render the administration dashboard for live Zotonic system statistics. This endpoint is restricted to users with the \mod\_admin\_statistics\ ACL permission, serves the \admin\_statistics.tpl\ template, and explicitly disables browser caching and search-engine indexing to ensure runtime values remain current.

_apps/zotonic\_mod\_admin\statistics/src/controllers · high confidence

Add admin statistics module for viewing system metrics

A new admin module, mod\_admin\_statistics, has been added to allow administrators to view system statistics. This module registers a new entry in the admin menu under the 'System' section, providing access to dashboard metrics and site statistics views. It depends on the core admin and MQTT modules and is licensed under Apache 2.0.

_apps/zotonic\_mod\_admin\statistics/src · high confidence

Add audio file support with metadata extraction and preview generation

Introduces the mod\_audio module, enabling Zotonic to handle audio media uploads. When an audio file is uploaded, the system uses ffprobe and ffmpeg to extract metadata (such as artist, album, and duration) and generates a PNG preview image from the audio file's embedded album art. The module integrates with the media model to automatically populate resource properties from these tags and provides a dedicated viewer template for playing audio content.

_apps/zotonic\_mod\audio/src · high confidence

Add base64url encoding and JavaScript diffing libraries

The system now includes a custom Erlang module for base64url encoding and decoding (RFC4648) in the core application, alongside several JavaScript libraries in the backup module to support client-side text diffing and comparison features.

_apps/zotonic\_core/src/base64url, apps/zotonic\_mod\backup/priv/lib · high confidence

Add basic block view templates for the admin interface

The admin interface now includes dedicated templates for rendering page blocks, enabling distinct visual styles for headers, text, and linked pages. This change introduces view templates for various block types (header, text, and page variants like aside, info, inline, video, and quote) to control how block content is displayed on the front end, alongside edit-specific templates that allow users to manage block headers, text content, and page connections within the admin UI.

_apps/zotonic\_mod\admin/priv/templates/blocks · high confidence

Add button to reinstall a module's data model

The module management interface now includes a button that allows administrators to reinstall a module's data model. When triggered, the system checks for the presence of a \manage\_schema/2\ function in the module; if present, the schema is reinstalled and a success message is shown, otherwise a notification indicates the module lacks this capability.

_apps/zotonic\_mod\_admin\modules/src/controllers · high confidence

Add category hierarchy management interface

The admin module now includes a dedicated page for managing the category hierarchy. This change introduces a new dispatcher route at /admin/category, a main template displaying the category tree with drag-and-drop sorting capabilities, and a confirmation dialog for deleting categories that allows users to either move associated pages to a different category or delete them entirely.

_apps/zotonic\_mod\_admin\category/priv · high confidence

Add contact form module with email submission and admin page creation

Introduces the mod\_contact module, which implements a basic contact form that emails submissions to a configured recipient address (defaulting to the admin email if not specified in the form). The module handles form validation and delivery, sending emails using a configurable template and sender address. Upon successful submission, the user interface updates by sliding up the form and displaying a confirmation message. Additionally, the module automatically installs a default 'Contact' page at the /contact path when activated, providing immediate out-of-the-box functionality for site visitors to send feedback.

_apps/zotonic\_mod\contact/src · high confidence

Add contact form page and email notification template

The contact module now includes a dedicated contact page and an email notification template. Users can submit messages via a form that collects name, email, and message content, with validation for email format and required fields. Upon submission, an email is sent to the site administrator containing the submitted details, including the sender's name, email address, and message body, along with any additional custom fields.

_apps/zotonic\_mod\contact/priv · high confidence

Add content group usage check model

A new model module for content group memberships has been introduced, exposing an API path to check whether a specific content group (or any of its child groups) is currently referenced by at least one resource. This allows administrators to verify content group usage before removal or modification.

_apps/zotonic\_mod\_content\groups/src/models · high confidence

Add development support module for template and database tracing

Introduces the mod\_development application, providing an admin interface and API for debugging and introspection. Key capabilities include live reloading of CSS, JS, and templates, function call tracing, template dependency graph visualization, and database query tracing. The module also supports automatic recompilation of source files (Erlang, SCSS, Less, CoffeeScript) and templates upon detection of changes, enhancing the developer workflow.

_apps/zotonic\_mod\development/src · high confidence

Add localization configuration UI and timezone detection

The localization module now includes an admin interface for configuring default timezones and a 'fix timezone' option to enforce a specific zone regardless of user settings. It also adds a widget for editing the timezone on individual content resources and integrates the jstz JavaScript library to automatically detect the user's browser timezone.

_apps/zotonic\_mod\l10n · high confidence

Add login page styling for authentication module

Introduces a new CSS file (logon.css) that defines the visual layout and styling for the authentication login interface. This includes styles for the logon box, form elements, social login buttons, error messages, and validation feedback, ensuring the login page renders correctly with proper spacing, alignment, and visual cues for user interactions.

_apps/zotonic\_mod\authentication/priv/lib/css · high confidence

Add media overlay viewer for images and videos

The mod\_wires module now includes a media overlay feature that allows users to view media items in a full-screen-style modal. This includes CSS styles for the overlay layout, a JavaScript module to trigger the overlay via click events on elements with the data-mediaoverlay-id attribute, and a template (\_mediaoverlay.tpl) that renders the media with previous/next navigation buttons. The overlay supports images, videos, and audio, with responsive design adjustments for smaller screens.

_apps/zotonic\_mod\wires · high confidence

Add password acceptability validator

A new validator, \acceptable\_password\, is now available to check if a password meets the site's security requirements. When attached to a password input field, it validates against the configured minimum length (\mod\_authentication.password\_min\_length\), checks for password strength via regular expression criteria, and optionally verifies the password against the Have I Been Pwned database (unless \mod\_authentication.password\_disable\_leak\_check\ is set). The validator supports custom failure messages and an \allow\_empty\ option for scenarios where the password field is optional.

_apps/zotonic\_mod\authentication/src/validators · high confidence

Add sandboxed execution for external image decoders

A new C-based sandbox launcher (zotonic-sandbox) is introduced to isolate external image processing tools like ImageMagick. It enforces resource limits (CPU, memory, file size) and restricts filesystem access using Linux Landlock or macOS sandboxing, ensuring that untrusted decoders cannot access the broader system. The build system automatically detects platform support and required headers, skipping the build if confinement features are unavailable.

_apps/zotonic\_core/c\src · high confidence

Add self-contained QR code generation support for 2FA setup

The 2FA authentication module now includes a complete, self-contained QR code generation library (z\_auth2fa\_qrcode) within its support directory. This addition allows the system to generate QR codes for provisioning two-factor authentication secrets without relying on external image processing libraries. The implementation includes modules for base32 encoding, bit manipulation, Galois field arithmetic for Reed-Solomon error correction, QR matrix templating, masking, and PNG image encoding, along with a demo module for generating TOTP setup images.

_apps/zotonic\_mod\auth2fa/src/support · high confidence

Add syslog module for forwarding access logs

The new zotonic\_mod\_syslog module subscribes to Zotonic's internal access log events and forwards them to an external syslog service. It uses the syslog Erlang library (version 1.1.0) and supports configuration via node-wide options such as syslog\_ident, syslog\_opts, syslog\_facility, and syslog\_level. The module formats log entries in a style similar to Apache's vhost\_common log format and includes sanitization to prevent control characters from appearing in the logs.

_apps/zotonic\_mod\syslog · high confidence

Add test sandbox site for automated integration testing

A new test sandbox site (zotonic\_site\_testsandbox) is introduced to provide a predictable, database-backed environment for Zotonic's automated integration and browser-level tests. This site includes a dedicated configuration, dispatch rules, and a set of templates and controllers that demonstrate core platform features such as postbacks, form validation, drag-and-drop, sorting, and UI effects, ensuring a stable baseline for verifying system behavior.

_apps/zotonic\_site\testsandbox · high confidence

Add two-factor authentication module

Introduces the new zotonic\_mod\_auth2fa module, enabling TOTP-based two-factor authentication for users. This feature allows administrators to enforce 2FA settings per user group and provides users with the ability to set up, verify, and remove their own 2FA credentials via a dialog interface.

_apps/zotonic\_mod\auth2fa/src · high confidence

Added GitHub icon to the Zotonic icon set

The \z.icons\ library now includes a GitHub icon, available via the \icon-github\ CSS class and corresponding SVG/font glyphs. This addition is part of an expanded icon set that also includes social media icons (Google+, LinkedIn, Instagram, Twitter, Facebook) and utility icons (search, share, edit, ok, plus, minus, help, info, user, cross, grab, logo), all generated by IcoMoon and stored in the \\_src\ directory alongside their selection data and demo files.

_apps/zotonic\_mod\base/priv/lib/css/z.icons · high confidence

Added SVG source files for the favicon

The application now includes SVG source files (favicon.svg and z.svg) in the priv/lib/images/favicon-src directory, providing the vector assets used to generate the site's favicon.

_apps/zotonic\_mod\base/priv/lib/images · high confidence

Added admin module manager dispatch rule

A new dispatch configuration file has been added to register the admin module manager. This change maps the URL path /admin/modules to the controller\_admin\_module\_manager, enabling users to access and manage admin modules through the web interface.

_apps/zotonic\_mod\_admin\modules/priv/dispatch · high confidence

Added async 'hasedge' validator for checking resource edges

A new validator, \validator\_admin\_hasedge\, has been added to the admin module to check if a resource has a specific number of edges with a given predicate (e.g., ensuring an article has between 1 and 5 keywords). This validator supports asynchronous validation via postback, allowing form submissions to verify content relationships without blocking the UI. It accepts arguments for the subject resource ID, predicate, and minimum/maximum edge counts, defaulting to checking the input element's value as the predicate and requiring at least one edge.

_apps/zotonic\_mod\admin/src/validators · high confidence

Added email normalization filter for identity management

A new template filter, normalize\_email, is now available to standardize email addresses used as keys in the identity table. When applied to an email string, it automatically lowercases the address and removes leading or trailing whitespace, ensuring consistent formatting (e.g., converting '[e-mail redacted] ' to '[e-mail redacted]').

_apps/zotonic\_mod\_admin\identity/src/filters · high confidence

The zlink plugin has been added to the TinyMCE editor, introducing a new button and menu item that allow users to insert internal links to Zotonic pages. This feature utilizes a typeahead interface to select target pages and automatically inserts the link into the editor content, with support for English, Dutch, and Russian languages.

_apps/zotonic\_mod\_editor\tinymce/priv/lib/js/tinymce-4.9.3/tinymce/plugins/zlink · high confidence

The zlink plugin for TinyMCE 5.10.2 now allows users to insert internal links to Zotonic pages directly within the editor body. This change introduces a new toolbar button and a corresponding menu item under the 'Tools' menu, both labeled 'Insert an internal link' (with Dutch and Russian translations also provided). When activated, the plugin triggers a dialog that lets users select a page, and upon selection, it inserts an anchor tag linking to that page, using the selected text as the link label or the page title if no text is selected.

_apps/zotonic\_mod\_editor\tinymce/priv/lib/js/tinymce-5.10.2/tinymce/plugins/zlink · high confidence

Added mock ACL module for testing sandbox

A new mock access control module (mod\_acl\_mock) has been introduced to support the testsandbox environment. This module provides minimal ACL functionality to reduce dependencies during testing and is explicitly marked as not for production use. The accompanying application source file defines the module's dependencies on kernel, stdlib, and zotonic\_core, and sets the version from a shared file.

_apps/zotonic\_mod\_acl\mock/src · high confidence

Added temporary resource filter for unmodified drafts

The admin module now includes a \temporary\_rsc\ filter that automatically creates and manages temporary resources for forms where an intermediate title-dialog is unwanted. If a temporary resource is created but not modified within an hour, it is automatically deleted; if it is edited, the temporary flag is removed and the resource persists. This feature requires \mod\_server\_storage\ to be enabled and ensures only one temporary resource exists per category per session.

_apps/zotonic\_mod\admin/src/filters · high confidence

Added web app manifest and robots.txt configuration

The base module now includes a standard web app manifest template (manifest.json.tpl) that configures the site as a standalone progressive web app with maskable icons, and a robots.txt file that explicitly disallows access to admin and language switch endpoints while allowing all other URLs.

_apps/zotonic\_mod\base/priv/lib/misc · high confidence

Admin backup and revision management controllers

The backup module now includes dedicated admin controllers for managing backups and resource revisions. The backup controller provides an admin screen to view, download, and restore nightly backups, with support for handling configuration changes (such as enabling encryption or daily dumps) and uploading JSON or BERT resource exports for restoration. The revision controller allows users to view the history of a specific resource, compare differences between revisions, and revert to previous versions, including options to restore incoming/outgoing edges and dependent resources.

_apps/zotonic\_mod\backup/src/controllers · high confidence

Admin comment moderation and settings controllers added

New controllers have been introduced to manage comment moderation and configuration within the admin interface. The \controller\_admin\_comments\ module provides an overview of recent comments, allowing administrators to delete or toggle the visibility of comments via specific postback events. Additionally, \controller\_admin\_comments\_settings\ enables authorized users to save moderation preferences, such as the \moderate\ setting, by updating the application configuration. These components work together to provide a functional backend for managing user-generated content.

_apps/zotonic\_mod\comment/src/controllers · high confidence

Admin config module adds self-signed certificate regeneration and email testing

The new mod\_admin\_config module enables administrators to edit site configuration values via the admin interface and introduces specific capabilities for system maintenance. Users can now regenerate self-signed SSL certificates directly from the SSL Certificates page, replacing the site's fallback certificate. Additionally, the Email configuration page includes a form to send test messages, allowing admins to verify their effective SMTP settings.

_apps/zotonic\_mod\_admin\config/src · high confidence

Admin configuration routes for settings, SSL, and email

The admin interface now includes dedicated dispatch rules for managing configuration settings, SSL certificates, and email settings. Users can access these sections via the /admin/config, /admin/ssl, and /admin/email paths respectively, each rendering specific templates for their respective configuration areas.

_apps/zotonic\_mod\_admin\config/priv/dispatch · high confidence

Admin editor adds live preview panel and concurrent-edit conflict warnings

The admin interface now includes a live preview panel that displays the resource in an iframe while editing, updating dynamically based on resource, media, and edge events, with support for language selection and resizable width. Additionally, a new version-watch system monitors for concurrent edits by other users or background processes (such as media processing), displaying a warning and offering options to reload or dismiss the conflict when the server-side version number changes.

_apps/zotonic\_mod\admin/priv/lib/js · high confidence

Admin interface for managing custom redirects

The custom redirect module now provides a dedicated admin page where users can view, add, and delete redirect rules. This interface allows configuring the source domain and path, the destination URL, and whether the redirect is permanent. The admin page is accessible at /admin/custom-redirect and includes client-side logic to dynamically add new rows for additional redirects.

_apps/zotonic\_mod\_custom\redirect/priv · high confidence

Admin interface for two-factor authentication configuration and user management

The admin area now includes dedicated templates to manage two-factor authentication (2FA) settings. Administrators can configure the default 2FA enforcement mode (optional, ask after login, ask on every page, or force) and override these settings per user group via the new configuration page. Additionally, the user edit sidebar and user info views now display the 2FA status and provide controls for enabling or disabling 2FA for individual accounts, including dialogs for setting and removing passcodes.

_apps/zotonic\_mod\auth2fa/priv/templates · high confidence

Admin menu data structures defined

The admin module now includes formal type definitions and records for menu items and separators. This introduces a structured way to define menu entries with specific properties such as visibility checks, labels, URLs, icons, and sorting order, enabling better organization and filtering of the admin interface menu.

_apps/zotonic\_mod\admin/include · high confidence

Admin module management actions for rescanning and toggling modules

The admin interface now includes specific actions to manage modules. Administrators can force a rescan of all modules, actions, and templates (triggering a file indexer flush and dispatcher reload) via the \module\_rescan\ action. Additionally, the \module\_toggle\ action allows activating, deactivating, or toggling individual modules, with built-in checks for missing or cyclic dependencies that present confirmation dialogs when issues are detected.

_apps/zotonic\_mod\_admin\modules/src/actions · high confidence

Admin predicate management module added

A new module for editing predicates in the admin interface is introduced, allowing administrators to add, remove, and edit predicates via the backend at /admin/predicate. The module handles ACL permissions for viewing and modifying predicates, prevents deletion of predicates that are still in use, and implements specific database operations for moving and deleting predicate edges using SQL 'any' for bulk updates. It also hooks into the resource update process to flush predicate caches when subject or object categories are modified.

_apps/zotonic\_mod\_admin\predicate/src · high confidence

Admin resource merge interface

Adds a new admin module that allows editors to merge two resources (pages) into a single winner. The interface lets users select a winner and a loser; properties from the loser are merged into the winner, and the loser is subsequently deleted with a 410 Gone redirect. A side panel on the page editor provides access to this merge functionality, and a template filter is available to compare two resources and display their differences for review.

_apps/zotonic\_mod\_admin\merge/src · high confidence

Admin statistics page now displays detailed MQTT, database, and dispatch metrics

The admin statistics interface now includes dedicated panels for MQTT Broker, Database, and HTTP Dispatch performance. The MQTT panel shows session counts, subscribe/publish rates, and router topology. The Database panel visualizes pool usage with a progress bar and tracks request/checkouts per minute. The Dispatch panel provides a detailed breakdown of HTTP requests per route, including latency (mean and 99th percentile) and data throughput. These templates enable administrators to monitor real-time system health and traffic patterns directly from the admin dashboard.

_apps/zotonic\_mod\_admin\_statistics/priv/templates/stat\panel · high confidence

Admin widgets now support collapsible state persistence via Cotonic

The admin interface now allows widgets to be collapsed or expanded, with the user's preference saved and restored across sessions. This new JavaScript module integrates with the Cotonic messaging system to persist the state of each widget in session storage, ensuring that a user's layout choices (such as keeping certain panels minimized) are remembered when they return to the admin dashboard.

_apps/zotonic\_mod\admin/priv/lib/js/modules · high confidence

Automated Hex package publishing workflow

Added release scripts (\release/hex-publish.sh\ and \release/prepare-release.sh\) that automate the process of publishing Zotonic applications as Hex packages. The preparation script synchronizes the version string between the \VERSION\ file and the \zotonic\_release.hrl\ header, while the publish script validates the release tag, updates internal dependency versions in \rebar.config\ files to match the release version, and iteratively publishes each app to the Hex repository with retry logic for index propagation.

release · high confidence

CSV and XLSX import module with edge support

The admin interface now includes a dedicated 'Import CSV or XLSX file' feature, accessible via a new menu item and upload dialog. Users can upload CSV or XLSX files to import data as pages (resources) or as graph edges. For edge imports, files with columns \subject\, \predicate\, and \object\ are processed as relationship definitions, and resource rows can also define edges using \\>\ (outgoing) or \\<\ (incoming) column prefixes. The module supports multilingual properties, background processing with admin notifications, and tracks import history to handle duplicates and resets.

_apps/zotonic\_mod\_import\csv · high confidence

Content group management in the admin interface

The admin UI now includes dedicated templates for managing content groups, allowing administrators to assign, filter, and bulk-update content groups for resources. A new delete confirmation dialog provides options to move pages to a different group or delete them entirely, while sidebar and overview panels enable filtering and editing of content group assignments directly within the resource management workflow.

_apps/zotonic\_mod\_content\groups/priv · high confidence

Expanded development tools: dispatch tracing, template dependency graphs, and live reload

The Site Development admin page now includes several new debugging and visualization tools. A new dispatch trace view displays the step-by-step matching of URL dispatch rules, including controller options and bindings. A live dependency graph visualizes template includes and extends relationships using GraphViz, with an option to copy the underlying DOT data. A cross-reference check scans all templates for syntax errors, missing includes, and broken extends/overrules statements. Additionally, a floating trace button allows developers to quickly trace template rendering for the current page, and live reload is enabled for CSS, JavaScript, and template changes.

_apps/zotonic\_mod\development/priv/templates · high confidence

Facebook authentication module added

The new zotonic\_mod\_facebook module enables users to log in to the site using their Facebook accounts via OAuth 2.0. Administrators can configure the Facebook App ID, App Secret, and permission scope in the admin interface, which then displays a 'Log in with Facebook' button on the logon form. The module also supports disconnecting existing Facebook connections and provides model-level access to Facebook Graph API data.

_apps/zotonic\_mod\facebook · high confidence

Initial comment module templates and admin dispatch routes

This change introduces the foundational UI components for the comment module. It adds the dispatch configuration for the admin comments and settings pages, along with the corresponding Cotonic templates for the public comment form, comment display, and the admin interface for managing and moderating comments.

_apps/zotonic\_mod\comment/priv · high confidence

Initial implementation of admin controllers

The admin controllers in \apps/zotonic\_mod\_admin/src/controllers\ have been introduced as new files, establishing the core backend logic for the admin interface. This includes \controller\_admin\ for serving the main admin pages with authentication checks, \controller\_admin\_edit\ for handling resource editing, form submissions, and media management events, \controller\_admin\_media\_preview\ for generating image previews in the editor, and \controller\_admin\_referrers\ for listing pages that reference a specific resource. These controllers define the authorization flow, request processing, and template rendering required for the admin module's user-facing features.

_apps/zotonic\_mod\admin/src/controllers · high confidence

Initial release of TinyMCE editor module

This change introduces the \zotonic\_mod\_editor\_tinymce\ module, which adds a WYSIWYG TinyMCE editor to the Zotonic admin interface. The module integrates TinyMCE version 5.10.2 and includes two custom plugins: \zmedia\ for inserting and configuring media items (images, videos) with options for centering, size, and captions, and \zlink\ for adding links to Zotonic pages. Users can select the TinyMCE version via the module configuration and customize editor behavior by overriding the \tinyInit\ JavaScript object or providing a custom stylesheet at \priv/lib/css/tinymce-zotonic.css\.

(repo-wide) · high confidence

Initial release of TinyMCE editor module

This change introduces the \zotonic\_mod\_editor\_tinymce\ module, which adds a WYSIWYG TinyMCE editor to the Zotonic admin interface. The module integrates TinyMCE version 5.10.2 and includes two custom plugins: \zmedia\ for inserting and configuring media items (images, videos) with options for centering, size, and captions, and \zlink\ for adding links to Zotonic pages. Users can select the TinyMCE version via the module configuration and customize editor behavior by overriding the \tinyInit\ JavaScript object or providing a custom stylesheet at \priv/lib/css/tinymce-zotonic.css\. Also in this area: TinyMCE editor version resolution now defaults to newest for unsupported versions; Admin editor now supports selecting TinyMCE versions and inserting media with enhanced properties; TinyMCE editor upgraded to version 5.10.2; Updated TinyMCE editor initialization and assets.

_apps/zotonic\_mod\_editor\tinymce · high confidence

Initial release of the Bootstrap integration module

This change introduces the \zotonic\_mod\_bootstrap\ module, which adds support for the Twitter Bootstrap CSS and JavaScript framework to Zotonic. The module provides integration for Bootstrap assets and helper templates/components, allowing users to easily incorporate popular UI components and interactions into their applications. It is configured to depend on the \base\ application and provides the \bootstrap\ feature.

_apps/zotonic\_mod\bootstrap/src · high confidence

Initial release of the MQTT messaging module

Adds the \zotonic\_mod\_mqtt\ application, introducing a central MQTT message broker for internal publish/subscribe support and bridging between server-side Erlang modules and client-side JavaScript. This enables live-updating templates via the \scomp\_mqtt\_live\ component, allows publishing messages from actions using \action\_mqtt\_publish\, and provides models for accessing browser \localStorage\ and \sessionStorage\ over MQTT topics. The module includes a JavaScript \z.live\ implementation for client-side subscription management and requires Erlang/OTP 26 or later.

_apps/zotonic\_mod\mqtt · high confidence

Initial release of the SEO module with structured data and admin configuration

The \zotonic\_mod\_seo\ application is introduced, providing a comprehensive set of tools for search engine optimization. It adds an admin interface (\/admin/seo\) for configuring site-wide settings such as global keywords, descriptions, and verification codes for Google, Bing, and Yandex. The module injects metadata into the HTML head, including canonical and short links, Open Graph tags, and Schema.org structured data in JSON-LD format for various content types like articles, events, and organizations. It also integrates tracking scripts for Google Analytics, Google Tag Manager (with CSP nonce support), and Plausible, while allowing administrators to control indexing via \noindex\ flags on pages and categories.

_apps/zotonic\_mod\seo · high confidence

Initial release of the admin interface module

This change introduces the \zotonic\_mod\_admin\ application, providing the core administrative backend for managing and editing content on a Zotonic site. The module wires together the admin interface, assets, and event handling, exposing documentation on how to extend the admin menu, customize the edit page via templates, and override TinyMCE editor settings. The application manifest declares dependencies on \kernel\, \stdlib\, \recon\, and \zotonic\_core\, and retrieves its version from the project's VERSION file.

_apps/zotonic\_mod\admin/src · high confidence

Initial release of the artwork module with icons, images, and documentation

The new zotonic\_mod\_artwork module provides a collection of fonts, icons, and images for use in Zotonic sites. It includes Font Awesome 3 and 4, Material Design Iconic Font, and various image sets such as emoticons, country flags, mime-type icons, and social media icons. The module exposes the 'icons' and 'social\_icons' capabilities and includes documentation on how to integrate these assets into templates.

_apps/zotonic\_mod\artwork/src · high confidence

Initial release of the base module with core configuration and documentation

The new mod\_base module provides the foundational dispatch rules, actions, and template components for Zotonic sites. It introduces site-level configuration options for session timeouts, email handling, and security policies, while also establishing the initial directory structure and application manifest for the project.

_apps/zotonic\_mod\base/src · high confidence

Initial release of user group-based access control module

Introduces the zotonic\_mod\_acl\_user\_groups module, enabling administrators to organize users into hierarchical groups (such as anonymous, members, editors, and managers) and content into hierarchical groups. This allows for rule-based access control where permissions are granted between user groups and content groups, supporting features like collaboration groups, file upload restrictions, and property-level privacy settings.

_apps/zotonic\_mod\_acl\_user\groups/src · high confidence

Initial release of zotonic\_filehandler and zotonic\_filewatcher applications

This change introduces two new applications to the Zotonic ecosystem: \zotonic\_filehandler\ and \zotonic\_filewatcher\. The \zotonic\_filehandler\ application manages file operations and depends on \zotonic\_filewatcher\, \zotonic\_fileindexer\, \zotonic\_stdlib\ (version \~\> 1.20), \erlexec\ (version \~\> 2.0), \jobs\ (version 0.10.0), and \buffalo\ (version \~\> 2.0). The \zotonic\_filewatcher\ application, which handles file system monitoring, depends on \zotonic\_notifier\ and \erlexec\ (version \~\> 2.0). Both applications are licensed under the Apache License 2.0 and include their respective \rebar.config\ build files.

_apps/zotonic\filehandler · high confidence

Initial release of zotonic\_launcher app

The new zotonic\_launcher application has been added to the project, serving as the entry point for the system. It depends on core Zotonic apps (zotonic\_core, filewatcher, fileindexer, filehandler) and listener apps (listen\_http, listen\_smtp), along with external libraries yamerl (\~\> 0.8) and cowmachine (\~\> 1.8). The app requires OTP 26 or later and is licensed under the Apache License 2.0.

_apps/zotonic\launcher · high confidence

Integration of Cotonic frontend framework and Apache 2.0 licensing

The module now bundles the Cotonic JavaScript framework, fetching the library via new build scripts (cotonic-fetch.sh, cotonic-update.sh) and cleaning it during builds. This integration is supported by a new rebar.config that defines the build hooks and dependencies. Additionally, the module is now distributed under the Apache License 2.0, as indicated by the newly added LICENSE file.

_apps/zotonic\_mod\base · high confidence

Introduce MQTT listener for Zotonic

Adds a new MQTT listener component that accepts plain and TLS MQTT connections and bridges them to Zotonic's internal messaging system. The implementation includes configuration for IPv4/IPv6 and SSL ports, connection timeouts, and structured logging, enabling external MQTT clients to publish and subscribe via Zotonic topics.

_apps/zotonic\_listen\mqtt/src · high confidence

Introduce Zotonic File Indexer for cached application file lookups

Adds the zotonic\_fileindexer application, which scans application directories and provides a cached lookup mechanism for files such as templates, translations, and libraries. The indexer exposes API functions to scan specific application subdirectories and flush the cache to force a rescan, ensuring that changes to module resources are reflected without requiring a full restart.

_apps/zotonic\fileindexer/src · high confidence

Introduce Zotonic Notifier for event-driven extensibility

Adds the zotonic\_notifier application, providing a typed notification system that allows observers to be registered with priorities and invoked asynchronously or synchronously. This enables developers to attach behavior to specific events via map, fold, and first-response operations, with automatic cleanup when observer processes exit. The component includes a supervisor for managing notifier instances, a worker for handling subscriptions and notifications, and standard Erlang/OTP configuration files.

_apps/zotonic\notifier · high confidence

The \zotonic\_mod\_cookie\_consent\ module now provides a complete cookie consent system, including a UI dialog that allows users to accept all, decline all, or selectively enable statistics and marketing cookies while strictly necessary functional cookies remain active. The implementation includes a JavaScript engine (\z.cookie\_consent.js\) that dynamically enables or disables content based on user preferences, specifically handling script tags by preserving their nonce values during replacement to maintain security integrity. It also integrates with analytics platforms like Matomo and Google Tag Manager by pushing consent events, and offers an admin widget for configuring cookie descriptions and a media wrapper to preview external content only after consent is granted.

_apps/zotonic\_mod\_cookie\consent/priv · high confidence

Introduce dedicated search view UI with autocomplete and faceted search status

The search module now includes a dedicated search view interface, featuring a JavaScript-powered autocomplete component that displays results in a dropdown list with titles, metadata, and action buttons. This view is styled via new SCSS/CSS assets for both admin and public contexts. Additionally, an admin status button has been added to allow administrators to manually rebuild the search facet tables, and a new model API path (\/facets/is\_table\_ok\) provides programmatic access to the health status of the facet storage.

_apps/zotonic\_mod\search · high confidence

Introduce default Erlang and Zotonic configuration templates

The zotonic\_launcher app now ships with default configuration templates (erlang.config.in and zotonic.config.in) that define the initial runtime environment. These templates configure the Erlang logger with console and file handlers, set up SSL session caching parameters, and provide commented-out defaults for Zotonic settings including database connections, HTTP/HTTPS listening ports, security directories, and SMTP relay options, allowing users to customize their deployment by copying and editing these files.

_apps/zotonic\launcher/priv · high confidence

Introduce email status tracking and blocking module

The new zotonic\_mod\_email\_status module tracks the delivery status of outgoing emails, including successes, bounces, and errors, while allowing administrators to block specific email addresses from sending or receiving mail. Users can view detailed status information via a new UI dialog and template flags, and the system automatically purges old status history during daily maintenance.

_apps/zotonic\_mod\_email\status · high confidence

Introduce frontend-focused admin interface with live preview and editor profiles

Adds the mod\_admin\_frontend module, providing a simplified administrative interface for non-admin users that reuses core admin templates while restricting available options. This interface supports configuring the Tiptap editor via an 'editor\_profile' setting (simple, normal, or advanced) and includes a 'live view' feature that opens a side-by-side iframe preview of the saved content, allowing users to see changes without saving the form. The layout is responsive, collapsing the menu column on smaller screens, and maintains editing history via URL hashes.

_apps/zotonic\_mod\_admin\frontend/src · high confidence

Introduce mod\_cron for periodic ticks and scheduled jobs

Adds the mod\_cron module, which provides periodic tick notifications (e.g., tick\_1h, tick\_24h) and allows other modules to define scheduled jobs via the -mod\_cron\_jobs attribute. The module registers these jobs using the erlcron library and handles module activation/deactivation to manage job lifecycles.

_apps/zotonic\_mod\cron/src · high confidence

Introduce non-destructive image editing in the admin media panel

The \zotonic\_mod\_image\_edit\ module adds a new 'Image editor' button to the admin media panel, opening an overlay interface for non-destructive image adjustments. Users can now modify rotation, crop, brightness, contrast, roll, tilt, and pan settings, which are stored in the \medium\_edit\_settings\ property and applied dynamically when images are resized via the \{% image %}\ tag without altering the original file. The module includes the necessary Erlang logic to manage these settings, SCSS/CSS for the overlay UI, and templates for the edit form and button integration.

_apps/zotonic\_mod\_image\edit · high confidence

Introduce server-side session storage module

The new \zotonic\_mod\_server\_storage\ module provides in-memory key-value storage tied to the client's session ID (\sid\), allowing both client-side JavaScript and server-side Erlang code to store, retrieve, and delete data. It includes a standard storage API for general use and a separate secure storage API for server-only data (such as OAuth secrets) that is not accessible to the client. The storage is backed by a process that times out after 900 seconds (configurable via \mod\_server\_storage.storage\_expire\) and enforces a 100 KB size limit (configurable via \mod\_server\_storage.storage\_maxsize\), returning a \full\ error if the limit is exceeded.

_apps/zotonic\_mod\_server\storage · high confidence

Introduce typed key/value store module with PostgreSQL backend

The new \zotonic\_mod\_tkvstore\ module provides a simple, low-latency typed key/value store backed by a PostgreSQL \tkvstore\ table. It exposes Erlang APIs (\m\_tkvstore:put/4\, \get/3\, \delete/2\, \delete/3\) and a model interface for template access, using a background writer process to serialize writes and a local dictionary cache for fast reads. The module requires OTP 26+ and depends on \zotonic\_core\.

_apps/zotonic\_mod\tkvstore · high confidence

Introduce zotonic\_filehandler for automated development-time file watching and compilation

The new zotonic\_filehandler application coordinates development-time handling of changed source and asset files. It receives filesystem changes from the filewatcher, maps files to specific handlers, and triggers compilation, module reloading, or other configured development actions. The handler serializes build events to prevent duplicate commands, supports live reloading for CSS, JS, and template files, and uses sassc for .sass compilation. It also provides terminal notifications for compile status and can optionally disable these messages via the filewatcher\_terminal\_notifier config.

_apps/zotonic\filehandler/src · high confidence

Introduce zotonic\_fileindexer app for directory file indexing

A new application, zotonic\_fileindexer, has been added to the platform. It provides a fileindex record structure (containing basename, rootname, extension, relpath, and path) to support directory indices and depends on the zotonic\_notifier app. The app is licensed under Apache 2.0 and configured for Hex package publishing with ex\_doc documentation.

_apps/zotonic\fileindexer · high confidence

Introduction of the comment module

Adds a new comment module that enables users to add comments to any resource. The module provides an admin interface for reviewing and deleting comments, supports both authenticated and anonymous commenting (configurable via the 'anonymous' setting), and allows administrators to moderate new comments before they become visible (configurable via the 'moderate' setting). It integrates with the search functionality to return recent comments and handles resource merging by moving comments between resources.

_apps/zotonic\_mod\comment/src · high confidence

Manual backup action with full backup support

A new wire action, \backup\_start\, is now available to initiate manual backups from the frontend. This action supports an optional \is\_full\_backup\ argument; when enabled, it includes locally stored files from the site's archive directory in addition to the database and configuration. The action enforces permissions, requiring the user to have \mod\_backup\ access and the site to be writable, and displays user-friendly notifications for success, conflicts with existing backups, or permission/configuration errors.

_apps/zotonic\_mod\backup/src/actions · high confidence

New 'load more' model for paginated content loading

A new JavaScript model for handling 'load more' interactions has been added to the base application. This feature allows users to load additional content dynamically, either by clicking a button or via an intersection observer that triggers loading when elements become visible. The model supports silent URL updates to reflect the current page state without reloading the page, and it handles various data formats for URLs and query arguments to ensure compatibility with different template rendering scenarios.

_apps/zotonic\_mod\base/priv/lib/js/models · high confidence

New CLI commands for site management, backups, and debugging

The command-line interface now includes dedicated commands for common administrative tasks. The \addsite\ command allows creating new sites with configurable skeletons, hostnames, and database settings, including validation for site names and hostnames. A new \backup\ command supports listing, starting, restoring, and downloading backups, with options to include configuration and security files during restoration. Additional commands provide easier access to system information and debugging: \config\ displays Zotonic and Erlang configuration, \dispatch\ shows routing rules for sites or URLs, \connectdb\ and \createdb\ help verify and set up database connections, \compile\ and \compilefile\ manage code compilation, \chrome\ and \chromium\ open sites in browsers with specific flags, \decrypt\ handles encrypted backup files, \etop\ shows VM process usage, \flush\ clears caches, \load\ reloads modules, and \debug\ starts the system in the foreground with the Erlang shell.

_apps/zotonic\launcher/src/command · high confidence

New CLI launcher and escript for Zotonic commands

The \apps/zotonic\_launcher/bin\ directory now contains the \zotonic\ shell script and \zotonic.escript\ entry point, replacing previous launcher mechanisms. The shell script handles environment setup, cross-platform detection (Linux, macOS, BSD, Cygwin, MinGW), and secure configuration of the \ERL\_EPMD\_ADDRESS\ (defaulting to loopback only on non-Linux systems). It exposes commands such as \start\, \start\_nodaemon\, \shell\, \debug\, \runtests\, \stop\, and a new \completion\ command that installs bash tab-completion for the CLI. The \zotonic.escript\ dynamically loads command modules from \apps/zotonic\_launcher/src/command\, supporting the \completion\ command and standard operations like \-v\ (version) and generic command execution, providing a unified and extensible interface for managing the Zotonic application.

_apps/zotonic\launcher/bin · high confidence

New CSV and XLSX parsing and writing modules

Added new core modules for handling spreadsheet data: z\_csv\_parser and z\_csv\_writer provide functions to scan, parse, and write CSV files (including sanitization to prevent CSV injection by quoting values starting with special characters), and z\_xlsx\_parser allows reading XLSX files with memory limits to prevent excessive resource usage. These modules support importing and exporting mailing list recipients and other data in CSV and XLSX formats.

_apps/zotonic\core/src/csv · high confidence

New HTTP controllers for API, CSP reports, and media runner callbacks

The mod\_base controllers now include dedicated handlers for REST API model calls (controller\_api), Content-Security-Policy violation reports (controller\_csp\_report), and authenticated media runner job results (controller\_media\_runner\_callback). The API controller exposes a /api/:topic endpoint that translates HTTP requests into MQTT model calls, supporting JSON and other content types. The CSP report controller filters out browser extension noise and forwards valid reports via the notifier system. The media runner callback controller securely accepts and validates remote processing results using per-job secrets, ensuring that only authorized callbacks are processed.

_apps/zotonic\_mod\base/src/controllers · high confidence

New JavaScript authentication workers for Cotonic

The authentication module now includes dedicated JavaScript workers (zotonic.auth-ui.worker.js and zotonic.auth.worker.js) to handle client-side authentication logic within the Cotonic framework. These workers manage the authentication state machine, handle login/logout flows, process password resets and changes, and perform periodic server-side status checks to keep sessions valid. This shift moves authentication handling from server-rendered views to a client-side worker architecture, improving responsiveness and enabling better support for features like password expiration and OAuth integration.

_apps/zotonic\_mod\authentication/priv/lib/js · high confidence

New JavaScript modules for HTTP pings, cryptography, and UI enhancements

The \zotonic\_mod\_base\ application now includes a suite of new client-side JavaScript modules. \http\_ping.js\ provides a mechanism to monitor connection latency and loss by periodically loading invisible images. \jquery.crypt.js\ adds client-side encoding and decoding capabilities, supporting MD5, SHA1, Base64, and XTEA encryption. Several UI-focused modules have been added: \z.autofocus.js\ ensures inputs are focused when modals appear, \z.autoheight.js\ dynamically resizes textareas to fit their content, and \z.clickable.js\ allows container elements to act as links. Additionally, \jquery.hotkeys.js\ enables global keyboard shortcuts, \jquery.loadmask.js\ provides loading overlays, \jquery.shorten.js\ handles text truncation with expand/collapse toggles, \jquery.timepicker.min.js\ adds time selection widgets, \jquery.ui.touch-punch.min.js\ enables drag-and-drop on touch devices, \scrollpaluza.js\ updates the URL hash based on scroll position, and \ubf.js\ implements the UBF(A) data format for encoding and decoding JavaScript objects.

_apps/zotonic\_mod\base/priv/lib/js/modules · high confidence

New LESS source files for icons, bridge status, and modals

This change introduces a new set of LESS source files in the \zotonic\_mod\_base\ application to manage frontend styling. It adds a build system (Makefile) and source files for compiling icon styles (supporting Zotonic, FontAwesome, and Material Design icon sets), a bridge connection status warning banner, and modal dialog styling with support for multi-level overlays. These files provide the source definitions for the compiled CSS assets (\z.icons.css\, \z.bridge.css\, \z.modal.css\).

_apps/zotonic\_mod\base/priv/lib-src/less · high confidence

New RFC 2047 encoding and image embedding for emails

The SMTP subsystem now includes a dedicated RFC 2047 module for correctly encoding non-ASCII characters in email headers (such as subject lines and names) using quoted-printable UTF-8, and a new image embedding module that automatically attaches images referenced in HTML email bodies as inline parts, subject to a 1MB size limit and configuration settings.

_apps/zotonic\core/src/smtp · high confidence

New SVG chart renderer and list-of-IDs filter support modules

Added z\_chart\_svg.erl, a new module that renders bounded, single-series chart data as inline SVG (pie, donut, bar, line) with an optional data table, enforcing strict limits on points, dimensions, and input sizes for security and performance. Also added z\_list\_of\_ids\_filter.erl, providing reusable filter/3 and filter/4 functions for template-side operations on lists of resource IDs, including count-limited filtering.

_apps/zotonic\_mod\base/src/support · high confidence

New admin backup management and download routes

The backup module now exposes dedicated admin interfaces for managing backups and viewing deleted items, along with a public download endpoint. Users can access the backup dashboard at /admin/backup, manage specific revisions at /admin/backup/:id, view deleted backups at /admin/deleted, and download backup files via /backup/download/:path.

_apps/zotonic\_mod\backup/priv/dispatch · high confidence

New admin configuration model for SSL, security directory, and module configs

A new \m\_admin\_config\ model is introduced to expose admin-specific configuration data via a structured API. It provides endpoints to retrieve SSL certificate metadata (including the self-signed certificate path in development environments), the resolved security directory path, and a list of available module configurations with their defaults. Access to these endpoints is restricted to admin users, ensuring that sensitive infrastructure details like certificate paths and security directories are not exposed to non-administrative requests.

_apps/zotonic\_mod\_admin\config/src/models · high confidence

New admin controller for category sorting and management

A new controller, \controller\_admin\_category\_sorter\, has been added to the admin category module. This component handles the authorization and rendering of the admin screen where users can edit the category tree, rearrange categories, add new ones, or remove existing ones. It serves the \admin\_category\_sorter.tpl\ template and relies on the \mod\_admin\_category\ ACL module for access control, delegating actual tree mutations to admin actions and postbacks defined in that template.

_apps/zotonic\_mod\_admin\category/src/controllers · high confidence

New admin dispatch routes for user identity verification and resource merging

The admin interface now includes dedicated URL routes for managing user identity verification and merging resources. Administrators can access the identity verification page at /admin/identity/verify/:idn\_id/:verify\_key to handle user identity checks, and can access the resource merge interface at /admin/merge/:id and /admin/merge/:id/:id2 to compare and merge content resources. These new dispatch rules enable the admin module to serve the corresponding templates for these specific administrative tasks.

_apps/zotonic\_mod\_admin\_identity/priv/dispatch, apps/zotonic\_mod\_admin\merge/priv/dispatch · high confidence

New admin identity model for configuration access

A new model file (m\_admin\_identity.erl) has been added to expose admin identity configuration values via the Zotonic model API. This allows retrieving the password regex policy, the default category for new users (falling back to 'person'), and the default content group for new users (falling back to 'default\_content\_group') through standard model get operations.

_apps/zotonic\_mod\_admin\identity/src/models · high confidence

New admin interface for managing ACL rules

The ACL user groups module now exposes a dedicated set of administrative routes for managing access control lists. Users can access the new admin pages at paths such as /admin/acl/rules, /admin/acl/rules/rsc, /admin/acl/rules/collaboration, /admin/acl/rules/module, /admin/acl/rules/upload, /admin/acl/rules/options, and /admin/acl/rules/test. These routes map to specific templates and controllers, allowing administrators to view and configure ACL rules for different resource types (resources, collaboration, modules, uploads, options, and tests). Additionally, a test interface is available at /acl/rules/test for verifying rule configurations.

_apps/zotonic\_mod\_acl\_user\groups/priv/dispatch · high confidence

New admin log views for UI errors, CSP violations, and email delivery

The logging module now provides dedicated admin pages for viewing browser UI errors, Content-Security-Policy (CSP) violation reports, and email delivery statuses. Browser errors are captured via a new client-side JavaScript agent and a server-side controller, with incoming events buffered in a ring buffer to prevent overload. The email log displays detailed delivery states (sending, sent, bounced, blocked, etc.) and includes a live status widget for individual messages.

_apps/zotonic\_mod\logging · high confidence

New admin model API endpoints for system status, configuration, and resource metadata

The admin interface now exposes a comprehensive set of model API paths for retrieving system health, configuration, and resource metadata. Administrators can query the admin status model (\m\_admin\_status\) for detailed server information including Zotonic and OTP versions, database version, directory paths (config, log, data, cache, files), TCP connection counts, memory and disk usage statistics, OS memory pressure, and SSL configuration status. The admin model (\m\_admin\) provides access to the pivot queue count and new-resource dialog defaults (published, dependent, hide dependent, edge list max length, auto-connect to creator, and no-track refers). Additionally, the admin menu model (\m\_admin\_menu\) exposes the full hierarchical menu tree with visibility filtering, the admin blocks model (\m\_admin\_blocks\) lists editable content blocks for resources, and the admin note model (\m\_admin\_note\) allows reading, creating, and deleting editorial notes attached to resources.

_apps/zotonic\_mod\admin/src/models · high confidence

New admin page for 2FA configuration

The 2FA module now provides a dedicated admin interface at /admin/authentication-2fa. This page allows administrators to configure two-factor authentication settings using the new admin\_auth2fa\_config template, secured with SSL and the mod\_admin\_config ACL module.

_apps/zotonic\_mod\auth2fa/priv/dispatch · high confidence

New admin support modules for resource diffs, media discovery, reference tracking, and re-imports

The admin module now includes four new support components to enhance resource management. The \admin\_rsc\_diff\ module formats resource records for browser-based diffs, displaying fields in a defined order and normalizing translations and dates. The \z\_admin\_media\_discover\ module enables embedding media from URLs by fetching and validating them, handling updates or insertions of media resources. The \z\_admin\_refers\ module ensures that embedded resource IDs and linked resources are connected via 'refers' edges, which is necessary for the automatic cleanup of dependent resources. Finally, \z\_admin\_rsc\_import\ provides a postback handler to asynchronously re-import non-authoritative resources from remote servers, with configurable success and error callbacks.

_apps/zotonic\_mod\admin/src/support · high confidence

New admin views for managing predicates and page connections

The admin interface now includes dedicated pages for managing predicates and viewing page connections. Administrators can create, edit, and delete predicates, with deletion offering options to either reassign existing connections to a different predicate or remove them entirely. A new 'Page connections' list view allows filtering by subject, object, and predicate, while a new 'Page connections graph' view provides a visual representation of relationships between resources, featuring zoom controls, path highlighting, and the ability to filter connections by predicate type.

_apps/zotonic\_mod\_admin\predicate/priv/templates · high confidence

New admin-common.js utility library for table interactions and keyboard shortcuts

The admin interface now includes a new JavaScript file, admin-common.js, which provides shared utilities for the admin module. This script introduces a jQuery UI widget (adminLinkedTable) that makes table rows and cells clickable based on data attributes, enabling navigation or triggering events directly from table cells. It also adds a scroll-based class toggle for the body element and implements a keyboard shortcut (Ctrl+S / Cmd+S) to submit forms with the ID rscform. Additionally, it includes helper functions for managing block names and handling post-action callbacks for media and content linking.

_apps/zotonic\_mod\admin/priv/lib/js/apps · high confidence

New authentication token support module

Added a new module z\_authentication\_tokens.erl to handle authentication tokens and cookies, including encoding/decoding of auth, autologon, and onetime tokens, as well as cookie management and session expiration logic.

_apps/zotonic\_mod\authentication/src/support · high confidence

New base scomp components for charts, debugging, and UI interactions

This change introduces a suite of new small components (scomps) in the base module, expanding the available template tags for frontend developers. Key additions include \scomp\_base\_chart\ (with convenience wrappers \chart\_pie\ and \chart\_donut\) for rendering inline SVG charts without JavaScript, a \debug\ component for inspecting assigned template variables, and UI helpers like \inplace\_textbox\ for editable fields, \lazy\ for on-demand loading, \spinner\ for AJAX indicators, and \tabs\ for jQuery UI tabbed interfaces. The update also adds \cotonic\_pathname\_search\ for URL query string serialization and \worker\ for starting Cotonic web-workers, while providing a deprecated compatibility alias for the old 3D pie chart.

_apps/zotonic\_mod\base/src/scomps · high confidence

New cloud-init installer for Ubuntu 24.04/26.04 with socket-based service configuration

A new cloud-init based installation workflow is introduced for fresh Ubuntu 24.04 and 26.04 LTS hosts, replacing previous methods. The installer (install-zotonic.sh) provisions the system by installing Erlang 28.5 via kerl, configuring PostgreSQL to use peer authentication over a Unix socket, and setting up ClamAV to communicate via a local Unix socket rather than TCP. It also applies security hardening by restricting ImageMagick PDF access and enabling Erlang to bind to privileged ports using setcap. The configuration (ports.yml) defaults to socket-based connections for the database and antivirus scanner, ensuring a secure, low-port setup out of the box.

cloud-init · high confidence

Added the \mod\_cookie\_consent\ module, which allows site administrators to manage user consent for cookies and control the loading of external content based on those preferences. The module supports three consent levels—functional, stats, and all—and automatically wraps embedded media, iframes, JavaScript, and CSS so they only load after the user accepts the relevant consent type. It also provides a simple consent form and handles notifier callbacks to render placeholders for tracking-sensitive content before consent is granted.

_apps/zotonic\_mod\_cookie\consent/src · high confidence

A new module adds an admin panel for managing copyright metadata, attribution, and source provenance for resources. Site administrators can configure default rights, attribution text, and copyright year via module settings. In the resource editor, under 'Settings & more', users can edit specific fields for rights, attribution, year, provenance HTML, and provenance URL for individual items. Templates can include provenance details using the \\_provenance.tpl\ partial.

_apps/zotonic\_mod\copyright/src · high confidence

Adds the \zotonic\_mod\_copyright\ module, providing an admin panel and templates to manage copyright statements (rights, attribution, year) and source provenance (HTML description, URL) for content items. The module supports Creative Commons and RightsStatements.org licenses, allows overriding the display template \\_copyright.tpl\, and includes a new \LICENSE\ file under Apache 2.0.

_apps/zotonic\_mod\copyright · high confidence

A new \m\_copyright\ model has been added to provide helpers for copyright and rights metadata. It exposes API endpoints to retrieve predefined lists of Creative Commons and RightsStatements.org descriptors, look up rights by name or URL, and fetch site-level defaults for the copyright code (defaulting to 'All Rights Reserved'), year (defaulting to the current UTC year), and attribution (defaulting to the site title).

_apps/zotonic\_mod\copyright/src/models · high confidence

New database installation and schema management components

The Zotonic core now includes a dedicated set of modules for handling database initialization and schema updates. The new \z\_install\ module manages the creation of the SQL data model, including tables for resources, hierarchy, and pivot logs, while \z\_install\_data\ populates the database with essential boot data such as default categories, predicates, and the initial administrator account. A new \z\_install\_reinstall\ module provides the capability to drop and recreate the entire schema for a site, and \z\_install\_update\ acts as a startup server that automatically checks for existing installations, performs necessary upgrades, and handles database creation if configured. Additionally, \z\_install\_update\_task\ introduces a background task to migrate existing resource language properties into the new dedicated language column.

_apps/zotonic\core/src/install · high confidence

New dedicated HTTP listener application with structured metrics

Zotonic now includes a new \zotonic\_listen\_http\ application that manages HTTP and HTTPS listeners using the \cowmachine\ library. This change introduces structured logging for HTTP requests, capturing details such as method, path, query string, status code, duration, and data transfer sizes via a new \zotonic\_listen\_http\_metrics\ module. The listener supports both IPv4 and IPv6, allows configuration of server headers, and provides an \await/0\ function to coordinate startup synchronization.

_apps/zotonic\_listen\http/src · high confidence

New development and test admin pages for template and dispatch inspection

The development module now exposes additional admin pages under the /admin/development path. Users can view template cross-references (/admin/development/templates), live template trace data (/admin/development/templates/trace), a dependency graph of templates (/admin/development/templates/graph), detailed dispatch rules (/admin/development/dispatch), observer status (/admin/development/observers), and function tracing (/admin/development/function-trace). Additionally, a basic test page is available at /test/hello\_world for verifying the development environment.

_apps/zotonic\_mod\development/priv/dispatch · high confidence

New development diagnostics model API

A new model module \m\_development\ exposes a structured API for development and diagnostics controls. This allows administrators and developers to inspect runtime state and trigger actions via specific paths, including checking database and function tracing status, listing registered notifier observers, retrieving record metadata, and triggering recompilation, cache flushing, or reindexing. It also provides dispatch rule information and detailed template inheritance tracing (parents, children, and filename menus) to aid in debugging template structures.

_apps/zotonic\_mod\development/src/models · high confidence

New development tools for template debugging, dependency visualization, and dispatch tracing

The development module now includes support modules that provide several new debugging capabilities for developers: a database query tracer that can be toggled via postback and persisted in session storage; a dispatch tracer that explains how incoming requests are routed by showing the dispatch trace for a given path and protocol; a template selector debugger that identifies which template file or module is selected for a given category and name; a template cross-reference checker that validates includes and extends to find missing or broken template references; and a template dependency graph generator that produces a DOT-format graph of all templates and their relationships (extends, overrules, includes). Also in this area: 2 commits (0 fixes) modifying apps/zotonic\_mod\_development; Add Zotonic template language server and editor integrations; Open source files directly in a local or browser-based editor from the development UI.

_apps/zotonic\_mod\development/src/support · medium confidence · unverified

New development tools: live reload, editor integration, and template dependency graph

The development module now includes client-side JavaScript to support live reloading of CSS, JS, and template files, allowing the browser to update automatically when source changes. It adds a UI for configuring external editor connections (VS Code, VSCodium, Sublime) to open files directly from the browser, including path mapping and protocol handling. Additionally, it introduces a visual dependency graph of templates rendered via Viz.js, enabling developers to click nodes to navigate to specific template sources.

_apps/zotonic\_mod\development/priv/lib/js · high confidence

New dialog action for creating predicates

Added a new wire action that opens a dialog for creating a new predicate. The action accepts a title to pre-fill the form and a redirect flag (defaulting to true) to control whether the user is taken to the new predicate's edit page after creation. It handles submission by inserting the predicate and provides specific error messages for duplicate names or permission issues.

_apps/zotonic\_mod\_admin\predicate/src/actions · high confidence

New dispatch rules for admin frontend editing

The admin frontend module now includes a dedicated dispatch configuration that routes edit actions to the 'page\_admin\_frontend\_edit.tpl' template. This setup enforces authentication for general edit access and requires specific 'update' permissions when editing by ID, while also disabling caching and indexing for these pages to ensure users always see the latest data.

_apps/zotonic\_mod\_admin\frontend/priv/dispatch · high confidence

New email and username uniqueness validators for admin identity forms

Added two new validators, \validator\_admin\_identity\_email\_unique\ and \validator\_admin\_identity\_username\_unique\, to the admin identity module. These provide client-side and server-side validation to ensure that entered email addresses and usernames are unique within the system. Both validators support an optional \id\ argument to exclude the current user from the uniqueness check, which is useful when editing existing profiles. The email validator normalizes input to lowercase before checking, while the username validator also checks against reserved names.

_apps/zotonic\_mod\_admin\identity/src/validators · high confidence

New email receiving module and mailing list UI enhancements

This change introduces the new \zotonic\_mod\_email\_receive\ module, which enables the site to receive inbound emails for users by routing them to specific handlers based on recipient addresses, and adds a database model for managing these email recipient mappings. In the mailing list module, the admin interface has been updated with new templates for managing mailing list subscriptions, combining recipient lists (union, subtract, intersection), and viewing detailed mailing status and statistics, including scheduled mailings and bounce/error counts.

_apps/zotonic\_mod\mailinglist · high confidence

New email relay capability between Zotonic servers

The \mod\_email\_relay\ module now allows Zotonic instances to forward outbound emails to another Zotonic relay server and accept inbound emails from other servers. Administrators can configure this via the admin panel by enabling relay mode, specifying the remote server's API URL, and setting shared secrets for authentication. The relay server exposes API endpoints to receive encoded emails, process delivery status reports, and manage email block statuses, enabling distributed email handling across multiple Zotonic deployments.

_apps/zotonic\_mod\_email\relay · high confidence

New file uploader module with web worker-based chunked uploads

The \zotonic\_mod\_fileuploader\ module has been introduced to replace the previous file upload mechanism. It enables faster, more reliable uploads by splitting files into 128KB blocks and uploading them in parallel via a background web worker. The module provides drag-and-drop support in the admin interface, allows uploads to be canceled, and integrates with the alert system for failure notifications. Server-side, it pre-allocates file space to prevent disk exhaustion and supports dependent media resources.

_apps/zotonic\_mod\fileuploader · high confidence

New filehandler record types for file categorization and change events

The zotonic\_filehandler application now exposes new Erlang records in its include file to support file watching and categorization. Specifically, the \zotonic\_filehandler\_categorize\ record is used to map filenames to application-specific categories, the \zotonic\_filehandler\_map\ record defines actions associated with file verbs and extensions, and the \zotonic\_filehandler\_filechange\ record captures file modification events (create, modify, delete) for features like livereload.

_apps/zotonic\filehandler/include · high confidence

New form validators for acceptance, confirmation, JSON, and uniqueness checks

The \zotonic\_mod\_base\ validators module now includes new built-in validators: \acceptance\ (for checkbox agreement), \confirmation\ (to match two fields like passwords), \json\ (to validate JSON syntax), \email\_unique\ (async check for existing accounts), \name\_unique\ (async check for resource name uniqueness), and \page\_path\_unique\ (async check for URL path uniqueness). These additions expand the available form validation capabilities for frontend developers.

_apps/zotonic\_mod\base/src/validators · high confidence

New interactive graph view for predicate relationships

The predicate administration module now includes a visual graph interface that displays relationships between predicates and resources. This feature introduces a new CSS stylesheet (admin-graph.css) and a JavaScript implementation (admin-graph.js) that leverages the Graphology (version 0.26.0) and Sigma.js libraries to render an interactive node-and-edge diagram. Users can now view predicate connections visually, with support for node dragging, zooming, and path highlighting, replacing or supplementing the previous list-based view with a spatial representation of the predicate graph.

_apps/zotonic\_mod\_admin\predicate/priv/lib · high confidence

New keyword analysis dashboard in the admin interface

A new \mod\_admin\_keyword\ module adds a 'Structure → Keywords' page to the Zotonic administration interface. This dashboard provides aggregate analysis of keyword usage and overlap, featuring a usage histogram, a pairwise overlap matrix, and a ranked list of keyword pairs. Administrators can filter the analysis by keyword category, content category, and publication status, and choose between Jaccard similarity, smaller-set overlap, or common content count as the overlap measure. The feature requires the \use\ permission on the module and relies on the \subject\ predicate to link resources to keywords.

_apps/zotonic\_mod\export · high confidence

New model API endpoints for ACL rules and user group checks

The \mod\_acl\_user\_groups\ module now exposes two new model interfaces, \m\_acl\_rule\ and \m\_acl\_user\_group\, allowing site administrators and applications to inspect and manage access control configurations via structured API paths. The \m\_acl\_rule\ model provides endpoints to validate invitation codes, check upload size and MIME type limits, verify insertion and move permissions for specific content groups and categories, and retrieve active ACL rules for resources, modules, and collaboration contexts. The \m\_acl\_user\_group\ model adds endpoints to check if collaboration groups are configured, determine if a specific user group is currently in use by content, and retrieve collaboration group update and linking policies from the module configuration.

_apps/zotonic\_mod\_acl\_user\groups/src/models · high confidence

New model API endpoints for core system components

The models in apps/zotonic\_core/src/models now expose dedicated API paths for accessing and managing core system data. The m\_acl model provides endpoints to check the current user, admin status, and perform custom access control checks. The m\_category model offers paths to retrieve the full category tree, flattened lists, and individual category metadata. The m\_config model allows administrators to fetch site configuration values grouped by module or key. The m\_dispatch model enables dispatching URLs and paths to find matching rules and generating URLs. The m\_edge model provides endpoints to query, insert, and delete edges (relationships) between resources. The m\_hierarchy model exposes paths to retrieve named hierarchy trees and menus. The m\_identity model provides endpoints to manage user identities, check email verification, and retrieve user info.

_apps/zotonic\core/src/models · high confidence

New model API for 2FA state management and TOTP provisioning

The \m\_auth2fa\ model now exposes a structured API for managing two-factor authentication state. Users can query whether TOTP is enabled for themselves or other users (subject to ACLs), check the effective 2FA mode for the current user and session, and retrieve TOTP provisioning URLs and secrets. The model also includes utilities for validating TOTP codes, checking clock skew, and managing session-specific 2FA request states.

_apps/zotonic\_mod\auth2fa/src/models · high confidence

New model API for backup configuration and revision management

The backup module now exposes structured model APIs for managing backup settings and resource revisions. Administrators can query backup status, encryption settings, and directory paths via the m\_backup model, while the m\_backup\_revision model provides endpoints to view revision history, check view permissions, and retrieve restoration options. These models enforce access controls, ensuring that only users with appropriate permissions can access sensitive backup metadata or revision details.

_apps/zotonic\_mod\backup/src/models · high confidence

New module management screen in the admin interface

Adds a new admin section for managing modules, allowing site administrators to view a list of all available modules sorted by status and priority. Users can now activate or deactivate modules directly from this overview. For modules that require configuration, a dedicated dialog is provided, triggered by a configuration button that appears alongside the activation controls. This feature integrates with the existing admin menu structure.

_apps/zotonic\_mod\_admin\modules/src · high confidence

New multi-step email signup flow with SSO integration

The signup module now uses a structured, three-step email registration process: entering the email address, verifying it with a one-time code, and completing the profile with name, username, and password. The signup page also integrates Single Sign-On (SSO) options alongside the standard email form, allowing users to sign up via external providers. A separate confirmation flow handles identity verification for new accounts, and the system supports prefilled user data from external authentication sources.

_apps/zotonic\_mod\signup · high confidence

New real-time system statistics dashboard in the admin interface

The admin statistics page now displays real-time system metrics, including memory usage, Erlang runtime stats, IO throughput, broker activity, database status, filezcache performance, and dispatch details. The new template structure introduces reusable components for stat rows and panels, with JavaScript handling live updates via message broker subscriptions to format and display values such as file sizes and millisecond durations.

_apps/zotonic\_mod\_admin\statistics/priv/templates · high confidence

New resource graph visualization in the admin interface

The admin predicate module now includes a visual graph view for resources, powered by Sigma.js and Graphology. This feature provides an interactive, directed graph with labeled edges, allowing users to click resources to highlight connections and view details in a side panel. The view supports incremental updates, path highlighting, and visibility filtering for categories and predicates, with JavaScript APIs available for programmatic control and event handling.

_apps/zotonic\_mod\_admin\predicate · high confidence

New site update module with VCS integration and webhook support

The new mod\_site\_update module allows administrators to pull code updates from Git or Mercurial repositories directly from the Zotonic admin interface. It adds an 'Update site' button on the System -\> Status page for sites managed via version control, and provides a secure webhook endpoint (configurable via an API token) to trigger updates automatically when code is pushed to services like GitHub. The module also includes a 'Rebuild Zotonic' button to recompile Erlang files in the background and exposes model APIs to check VCS status for individual sites and the Zotonic core itself.

_apps/zotonic\_mod\_site\update · high confidence

New standalone SMTP listener application

Zotonic now includes a dedicated \zotonic\_listen\_smtp\ application to handle incoming and bounced email over SMTP. This new component manages the SMTP server session, including STARTTLS support, recipient validation, size limits, and DNS blocklist checks, and delivers accepted messages to Zotonic's email handling pipeline. It introduces configuration options such as \smtp\_listen\_size\ for max email size and \smtp\_starttls\ to optionally disable the STARTTLS extension, while also removing the previous SSL listen anti-replay option.

_apps/zotonic\_listen\smtp/src · high confidence

New support module library for core utilities

A new set of support modules has been added to the core application to provide centralized helper functions for command-line operations, access control, authentication, configuration, and request context management. This includes the \z\ module for shell shortcuts and error logging, \z\_acl\ for access control checks, \z\_auth\ for user login and session handling, \z\_config\ for application environment settings, \z\_config\_files\ for locating configuration and security directories, \z\_context\ for managing request contexts, and \z\_controller\_helper\ for common controller logic like authorization and redirection.

_apps/zotonic\core/src/support · high confidence

New support modules for ACL rule expansion, MIME checks, and admin integration

The mod\_acl\_user\_groups module now includes a set of new support files that define default ACL rules, handle MIME type validation for uploads, manage the in-memory expansion of ACL rules via a rebuilder process, and provide admin interface callbacks for managing and publishing these rules. Specifically, acl\_default\_rules.erl establishes baseline permissions for anonymous, member, editor, and manager groups across default and system content groups. acl\_user\_group\_mime\_check.erl introduces logic to validate uploaded file types against group-specific allowed MIME lists, supporting wildcards and specific office/embed types. acl\_user\_group\_rebuilder.erl handles the expansion of ACL rules into efficient ETS tables for fast lookup during access checks. admin\_acl\_rules.erl and admin\_acl\_rules\_rsc.erl provide the backend logic for the admin UI to create, update, delete, and publish ACL rules, as well as to manage content group assignments and upload permissions. These changes collectively enhance the granularity and performance of access control management within the application.

_apps/zotonic\_mod\_acl\_user\groups/src/support · high confidence

New template filters for date arithmetic, list navigation, and content metadata

Frontend developers now have access to a suite of new template filters in the base module. Date manipulation is expanded with \add\_day\, \add\_hour\, \add\_month\, \add\_week\, and \add\_year\ filters, allowing precise adjustments to datetime values. List handling gains \after\ and \before\ filters to retrieve adjacent elements, and \chunk\ to split lists into sublists. Content metadata is enhanced with \content\_type\_label\ for human-readable MIME type names and \content\_type\_urls\ to generate representation links for resources. Additionally, \embedded\_media\ now checks all translations of page texts to support language-dependent media assets.

_apps/zotonic\_mod\base/src/filters · high confidence

New template filters for formatting dispatch rules in the development inspector

Added two new template filters, \format\_dispatch\_controller\_option\ and \format\_dispatch\_path\_element\, to the development module. These filters format internal dispatch rule data into HTML for the new development dispatch-rule inspector page. The controller option filter highlights key attributes like \id\, \acl\, and \template\ with distinct label styles while omitting internal source-location options. The path element filter renders path variables as highlighted code and literal segments as plain text, ensuring all output is HTML-escaped for safe display.

_apps/zotonic\_mod\development/src/filters · high confidence

New ticketing system for out-of-band MQTT actions via HTTP

A new model \m\_mqtt\_ticket\ has been added to support out-of-band MQTT posts via HTTP. This system allows an MQTT client to generate a one-time ticket (via \model/mqtt\_ticket/post/new\) which can then be used in an HTTP request to transfer the MQTT context (including client ID, ACL, and routing info) to the server. This enables HTTP-based triggers for MQTT actions while maintaining security and context integrity.

_apps/zotonic\_mod\base/src/models · high confidence

A new \zotonic\_apps\ package has been introduced to simplify dependency management by allowing projects to fetch all core Zotonic applications via a single dependency entry in \rebar.config\. This package includes a build script to automatically sync the list of core apps and a new \mod\_copyright\ module that provides an admin panel and templates for managing content copyrights, supporting Creative Commons and RightsStatements.org licenses.

_apps/zotonic\apps · high confidence

Rate limiting for authentication and password reset flows

The new rate-limiting module protects login and password-reset attempts by tracking failures per username or email address. After five failed attempts within a one-hour window, the account is blocked for an hour, reducing brute-force and credential-stuffing risks. Known devices are tracked via a signed cookie so that failures on other devices do not block a legitimate user's own device. Administrators can reset counters from the admin status page to aid testing. The module depends on mod\_cron for periodic cleanup and requires OTP 26+.

_apps/zotonic\_mod\ratelimit · high confidence

SEO Sitemap module now supports per-page priority and change frequency settings

The SEO Sitemap module now allows administrators to configure the priority and change frequency for individual pages and categories directly in the content edit interface. These settings are exposed via new admin templates (\_admin\_edit\_content\_seo\_extra.tpl) and are respected in the generated sitemap XML output (sitemap\_urlset.tpl), enabling finer control over how search engines crawl and index site content. The module also includes a manual 'Rebuild sitemap' button in the admin status and SEO settings pages to regenerate the index after structural changes.

_apps/zotonic\_mod\_seo\sitemap · high confidence

TinyMCE 4.9.3 editor plugins added

The Zotonic TinyMCE editor module now includes the full set of plugins from TinyMCE version 4.9.3. This adds support for advanced list formatting, anchor management, automatic URL linking, auto-resizing, content autosaving, BBCode conversion, special character insertion, source code editing, syntax-highlighted code samples, color picking, and backward compatibility with legacy TinyMCE 3.x APIs.

(repo-wide) · high confidence

Updated blog skeleton with new templates and structure

The blog site skeleton has been updated to include a comprehensive set of new template files (such as base, home, page, and article layouts), dispatch rules, CSS styles, and initial schema data. This change enhances the default blog experience by providing a more structured and styled starting point for new sites, including support for features like keyword-based navigation, archives, and contact forms.

_apps/zotonic\_mod\_zotonic\_site\management · high confidence

WordPress WXR import module added

The new \zotonic\_mod\_import\_wordpress\ module allows users to import WordPress content (posts, categories, tags, authors, and images) into Zotonic via a \.wxr\ export file. The module provides an admin interface in the status tab to upload the file, with an option to re-import previously deleted items. It supports WXR versions 1.0, 1.1, and 1.2, and handles incremental imports by updating changed entries and respecting deletion history unless the reset flag is used.

_apps/zotonic\_mod\_import\wordpress · high confidence

Removals

ErlyDTL template engine removed

The ErlyDTL template engine source code, including the compiler, parser, scanner, filters, and runtime modules, has been removed from the project. This change eliminates the legacy Django Template Language implementation, requiring templates to be rendered using the project's current templating system.

src/erlydtl · high confidence

Google SEO module removed in favor of unified SEO module

The dedicated Google SEO module (mod\_seo\_google) has been deleted, removing its specific configuration interface for Google Analytics and Webmaster Tools as well as its template-based tracking scripts. This change consolidates SEO functionality into the broader mod\_seo module, which now handles these integrations (along with Bing support), meaning users should configure their Google tracking and verification settings through the unified SEO module instead.

_modules/mod\_seo\google · high confidence

Removal of artist event management features

The admin interface no longer supports creating or managing events for artists. The dedicated module and its associated action dialog for adding events have been removed, along with the sidebar widget that displayed an artist's existing events and provided a quick-add button. Users can no longer use this specific workflow to link events to artists or view them in the artist edit sidebar.

_modules/mod\_admin\event · high confidence

Removal of gen\_model behaviour

The gen\_model behaviour module has been removed from the codebase. This eliminates the mandatory callback interface (m\_find\_value, m\_value, m\_to\_list) that previously governed model implementations, allowing modules to define their data access logic without adhering to this specific abstract pattern.

src/support · high confidence

Removal of legacy ISO 639 and z\_trans modules

The src/i18n/iso639.erl and src/i18n/z\_trans.erl modules have been removed from the codebase. This eliminates the legacy language code lookup logic (lc2lang, lc3lang) and the previous translation interface (trans, lc2, lc2descr) that relied on these codes, indicating a shift to a different underlying i18n implementation or data source.

src/i18n · high confidence

Removal of legacy TinyMCE Safari and Table plugins

The legacy TinyMCE plugins for Safari browser compatibility and table editing have been removed from the application. This deletion eliminates the \safari\ plugin (including its editor plugin, source code, and blank page helper) and the entire \table\ plugin suite (including its editor plugin, source code, cell/row/table dialog HTML files, associated CSS stylesheets, and JavaScript logic). Users will no longer have access to the specific WebKit workarounds and table manipulation features (such as inserting, deleting, or merging rows and columns) that were provided by these components.

(repo-wide) · high confidence

Removal of legacy Webmachine and Zotonic core include headers

The \include/resource\_html.hrl\, \include/webmachine\_resource.hrl\, and \include/zotonic.hrl\ header files have been removed. This eliminates the default HTML resource callbacks, the Webmachine resource wrapper, and the core record definitions (such as \\#context\, \\#email\, and \\#acl\_props\) that were previously included via these headers. Modules relying on these specific include paths for basic resource setup or core record access will need to update their dependencies or definitions.

include · high confidence

Removal of legacy admin action handlers and resources

The \mod\_admin\ module has removed several legacy Erlang action handlers and Webmachine resources, including \action\_admin\_dialog\_link\, \action\_admin\_dialog\_media\_upload\, \action\_admin\_dialog\_new\_rsc\, and \action\_admin\_link\, along with resources like \resource\_admin\, \resource\_admin\_edit\, and \resource\_admin\_logon\. This cleanup eliminates outdated code paths for linking, media uploading, and resource creation dialogs, streamlining the admin interface by relying on newer implementations.

_modules/mod\admin · high confidence

Removal of legacy category management interface

The dedicated category management module (mod\_admin\_category) has been removed, eliminating the previous drag-and-drop category sorter, the 'Add category' and 'Delete category' dialog actions, and their associated templates and dispatch rules. This change removes the old hierarchical category editing UI from the admin panel, as the functionality is being replaced by a new frontend editor and restructuring of the admin menu.

_modules/mod\_admin\category · high confidence

Removal of legacy database installation modules

The legacy database installation components (z\_install, z\_install\_data, and z\_installer) have been removed from the source code. This change eliminates the direct SQL-based schema creation and initial data seeding logic that previously ran during site startup, indicating a shift to a different installation or migration mechanism elsewhere in the system.

src/install · high confidence

Removal of legacy development server modules

The legacy development support components—specifically the main \mod\_development\ module, the \z\_development\_server\ background process, and the \service\_development\_recompile\ service—have been removed from the codebase. This eliminates the previous mechanism that periodically polled for changed beam files and triggered automatic recompilation and cache flushing via these specific gen\_server processes.

_modules/mod\development · high confidence

Removal of legacy jQuery-based action modules

The \mod\_base\ module has removed a large set of legacy action modules (including \action\_base\_add\_class\, \action\_base\_alert\, \action\_base\_dialog\, \action\_base\_jquery\_effect\, and others). These modules previously provided the underlying implementation for client-side effects, dialog handling, and basic DOM manipulations. With their removal, the system no longer supports these specific legacy action types, and users relying on them for UI interactions will need to migrate to the updated action system.

_modules/mod\base · high confidence

Removal of legacy menu management and editor components

The legacy menu management logic previously handled by the \mod\_menu\ gen\_server and its associated dispatch rules has been removed. This change eliminates the \mod\_menu\ module, the \resource\_menu\_admin\_menu\ resource, and the \scomp\_menu\_menu\ component, along with their supporting templates (such as \admin\_menu.tpl\ and \\_admin\_menu\_menu\_view.tpl\). Users relying on the old drag-and-drop menu editor interface or the specific \mod\_menu\ API for menu rendering will no longer have access to these legacy features.

_modules/mod\menu · high confidence

Removal of legacy mod\_search module and support files

The \mod\_search\ module and its \search\_all\_bytitle\ support file have been removed from the codebase. This eliminates the legacy PostgreSQL-based search implementation that previously handled featured, latest, and text-based resource queries, indicating a shift to a different search architecture or module.

_modules/mod\search · high confidence

Removal of legacy model modules from src/models

The legacy model modules m\_acl, m\_category, m\_config, m\_edge, m\_group, m\_identity, m\_media, m\_predicate, and m\_rsc have been removed from the src/models directory. These files, which previously provided the core data access and business logic for resources, categories, configuration, edges, groups, identities, media, and predicates, are no longer present in this location.

src/models · high confidence

Removal of legacy module management interface

The \mod\_admin\_modules\ module has been completely removed from the system. This deletes the legacy admin interface that allowed administrators to manually rescan modules, toggle their active/inactive status, and view module descriptions via the \admin\_modules.tpl\ template and associated actions. Users can no longer manage modules through this specific admin screen.

_modules/mod\_admin\modules · high confidence

Removal of legacy user management actions and templates

The \mod\_admin\_identity\ module has removed its legacy Erlang action modules (\action\_admin\_identity\_delete\_username\, \action\_admin\_identity\_dialog\_delete\_username\, \action\_admin\_identity\_dialog\_set\_username\_password\, \action\_admin\_identity\_dialog\_user\_add\) and associated templates (\\_action\_dialog\_delete\_username.tpl\, \\_action\_dialog\_set\_username\_password.tpl\, \\_action\_dialog\_user\_add.tpl\, \\_admin\_edit\_sidebar.tpl\, \admin\_users.tpl\). This cleanup eliminates the old dialog-based workflows for adding users, setting credentials, and deleting usernames, indicating a shift to a different implementation for these identity management features.

_modules/mod\_admin\identity · high confidence

Removal of mod\_seo module and admin interface

The mod\_seo module, which previously provided an admin interface for configuring search engine optimization settings (such as global keywords and descriptions) and managed HTML head tags (including canonical links, meta descriptions, and noindex directives), has been completely removed. This deletion eliminates the SEO configuration page from the admin menu and stops the automatic injection of SEO-related meta tags into page headers.

_modules/mod\seo · high confidence

Removal of the Zotonic Media TinyMCE plugin

The zmedia plugin for the TinyMCE editor has been removed from the codebase. This eliminates the custom functionality that allowed users to insert and manage Zotonic media items directly within the editor, including the specific dialogs for inserting media and adjusting image alignment properties.

_modules/mod\base/lib/js/modules/tinymce/plugins/zmedia · high confidence

Removal of the legacy SEO sitemap module

The mod\_seo\_sitemap module, which previously generated a static XML sitemap for search engines via a gen\_server and a dedicated dispatch rule, has been removed. Users relying on this specific module for automatic sitemap generation will no longer have this functionality available in this location.

_modules/mod\_seo\sitemap · high confidence

Removal of the legacy admin configuration module

The \mod\_admin\_config\ module, which previously allowed administrators to view, edit, and delete system configuration keys with string values via a dedicated admin page, has been removed. This change eliminates the legacy gen\_server-based implementation and its associated UI components (including the config overview table, edit/delete dialogs, and menu integration), indicating that configuration management is now handled by a different mechanism.

_modules/mod\_admin\config · high confidence

Removal of the mod\_admin\_group module

The group management functionality in the admin interface has been removed. This includes the deletion of the main module, all associated action handlers for creating, editing, and deleting groups and members, the dispatch rules, resource definitions, and all templates used for the group overview and member management pages. Administrators will no longer be able to manage groups or group memberships through this module.

_modules/mod\_atom\_feed, modules/mod\_video\embed · high confidence

Removal of the standalone predicate management module

The \mod\_admin\_predicate\ module has been removed, eliminating the dedicated admin interface for managing predicates. This change deletes the specific dispatch rules, controller actions (for creating and deleting predicates), and templates that previously allowed administrators to view, create, and delete predicate definitions via a separate admin page.

_modules/mod\_admin\predicate · high confidence

Removal of webmachine\_demo application and source files

The webmachine\_demo application, including its source modules (such as demo\_fs\_resource, webmachine\_demo\_resource, and the application/supervisor callbacks) and the webmachine\_demo.app file, has been removed from the deps/webmachine directory. This eliminates the bundled demo server and its associated resource handlers from the dependency.

deps/webmachine · high confidence

Removed deprecated Erlang OAuth dependency

The \deps/erlang-oauth\ directory has been completely removed from the project. This eliminates the legacy Erlang-based OAuth library (including modules for HMAC-SHA1, RSA-SHA1, and plaintext signing) and its associated application definition, reducing the dependency footprint and removing the code path for this specific authentication implementation.

deps/erlang-oauth · high confidence

Removed group management from the admin interface

The \mod\_admin\_group\ module has been deleted, removing the ability to create, edit, and manage groups and their members directly within the admin panel. This includes the removal of the groups overview page, the group members list, and all associated actions for adding, removing, or changing member roles (leader, observer, member) as well as assigning site-wide rights (administrator, supervisor, community publisher, public publisher).

_modules/mod\_admin\group · high confidence

Removed legacy CSS and Cufon font assets from the default site

The default site no longer includes the \zp-project.css\ stylesheet or the \cufon.anja.js\ Cufon font replacement script. This removes the previous visual styling and custom headline font rendering, likely as part of a broader redesign or migration to modern web standards.

priv/sites/default · high confidence

Removed legacy epgsql PostgreSQL driver and connection pool

The bundled epgsql driver and epgsql\_pool connection pool have been removed from the PostgreSQL database driver location. This includes the deletion of the driver source code (pgsql.erl, pgsql\_connection.erl, pgsql\_binary.erl, etc.), the pool implementation, associated test suites, license files, and documentation. This change eliminates the legacy database connectivity layer in favor of the replacement implementation.

src/dbdrivers · high confidence

Security

Add sandboxing for external image processing tools

The core application now includes a C-based sandbox launcher (built via \c\_src/zotonic-sandbox.c\) that restricts the capabilities of external image processing tools (such as ImageMagick) using Linux Landlock and seccomp, or macOS sandboxing. This change ensures that untrusted decoders run with minimal privileges, preventing them from accessing the filesystem or executing arbitrary system calls beyond what is strictly necessary for image processing.

_apps/zotonic\core · high confidence

Architecture

Zotonic restructured as an empty umbrella application

The Zotonic core application has been refactored into a lightweight umbrella shell. The previous monolithic structure, which included the main application module, a supervisor managing web listeners (Webmachine/Mochiweb), database pools, and site supervisors, has been removed. The \zotonic.app.src\ now declares dependencies on \cowboy\, \cowmachine\, and a new \zotonic\_launcher\ application, while the \zotonic\_sup\ supervisor is now empty. This change shifts the responsibility of starting HTTP listeners and managing site lifecycles to the \zotonic\_launcher\ component, decoupling the core framework from specific web server implementations and startup logic.

src · high confidence

Behavioural changes

1 commit (0 fixes) modifying .claude, apps/zotonic\_launcher, apps/zotonic\_mod\_base

A change to existing behaviour in .claude, apps/zotonic\_launcher, apps/zotonic\_mod\_base — 1 commit, 13 files: “mod\_development: add tools for easier development using LLMs (\#4665)” (refs \#4665).

.claude · medium confidence · unverified

1 commit (0 fixes) modifying tools

A change to existing behaviour in tools — 1 commit, 1 file: “Feature more secure rebar download (\#4618)” (refs \#4618).

tools · medium confidence · unverified

10 commits (0 fixes) modifying apps/zotonic\_mod\_websub

A change to existing behaviour in apps/zotonic\_mod\_websub — 10 commits, 29 files: “mod\_websub: keep websub revision separate from rsc version (\#4645)”; “Replace 'catch ..' with 'try ... catch ... end' (\#4629)”; “WebSub support (\#2747)”; and 7 more (refs \#4645, \#4629, \#2747, \#4612, \#4575, …).

_apps/zotonic\_mod\websub · medium confidence · unverified

17 commits (2 fixes) modifying apps/zotonic\_mod\_clamav/src

A change to existing behaviour in apps/zotonic\_mod\_clamav/src — 17 commits (2 fixs), 2 files: “Documentation: add keywords, cleanup markdown moduledocs (\#4508)”; “Add more structured logging. Issue \#2860 (\#2997)”; “Binary keys and maps rsc and medium (\#2406)”; and 14 more (refs \#4508, \#2860, \#2997, \#2406, \#4533, …).

_apps/zotonic\_mod\clamav/src · medium confidence · unverified

2 commits (0 fixes) modifying apps/zotonic\_mod\_clamav/priv

A change to existing behaviour in apps/zotonic\_mod\_clamav/priv — 2 commits, 2 files: “mod\_clamav: add Unix socket support (\#4533)”; “Add content addressable storage for media uploads and previews (\#4654)” (refs \#4533, \#4654).

_apps/zotonic\_mod\clamav/priv · medium confidence · unverified

3 commits (0 fixes) modifying apps/zotonic\_mod\_base/priv/lib/js

A change to existing behaviour in apps/zotonic\_mod\_base/priv/lib/js — 3 commits, 2 files: “Add JSON-LD to the SEO data in head. (\#3454)”; “Add content addressable storage for media uploads and previews (\#4654)”; “mod\_base: new \_debug.tpl style (\#3347)” (refs \#3454, \#4654, \#3347).

_apps/zotonic\_mod\base/priv/lib/js · medium confidence · unverified

4 commits (0 fixes) modifying apps/zotonic\_mod\_analytics

A change to existing behaviour in apps/zotonic\_mod\_analytics — 4 commits, 33 files: “mod\_analytics: update texts for better translations”; “Add mod\_analytics for lightweight site analytics and stats (\#4659)”; “mod\_analytics: change 'recording' into 'analytics measurement' for better translations”; and 1 more (refs \#4659). Also in this area: 1 commit (0 fixes) modifying apps/zotonic\_launcher, apps/zotonic\_mod\_analytics, apps/zotonic\_mod\_traffic\_guard; 2 commits (1 fix) modifying apps/zotonic\_mod\_analytics.

_apps/zotonic\_mod\_agent\_discovery, apps/zotonic\_mod\analytics · medium confidence · unverified

5 commits (0 fixes) modifying apps/zotonic\_mod\_editor\_tiptap

A change to existing behaviour in apps/zotonic\_mod\_editor\_tiptap — 5 commits, 30 files: “Add media size 'xsmall' for extra small images. (\#4599)”; “Disambiguate translatable texts (\#4634)”; “mod\_editor\_tiptap: add alternative editor to replace TinyMCE (\#4574)”; and 2 more (refs \#4599, \#4634, \#4574, \#4603).

_apps/zotonic\_mod\_editor\tiptap · medium confidence · unverified

8 commits (1 fix) modifying apps/zotonic\_core/src/media

A change to existing behaviour in apps/zotonic\_core/src/media — 8 commits (1 fix), 26 files: “core: add support for a pool of mediarunners (\#4536)”; “core: add sandboxing for imagemagick et al (\#4531)”; “core: add mediarunner option for http/https protocol selection (\#4539)”; and 5 more (refs \#4536, \#4531, \#4539, \#4658, \#2747, …).

_apps/zotonic\core/src/media · medium confidence · unverified

8 commits (2 fixes) modifying apps/zotonic\_mod\_clamav/src/support

A change to existing behaviour in apps/zotonic\_mod\_clamav/src/support — 8 commits (2 fixs), 2 files: “Add more structured logging. Issue \#2860 (\#2997)”; “mod\_clamav: add Unix socket support (\#4533)”; “Extra ACL update check, small fixes, re-enable the temporary\_rsc filter. (\#2545)”; and 5 more (refs \#2860, \#2997, \#4533, \#2545, \#2477, …).

_apps/zotonic\_mod\clamav/src/support · medium confidence · unverified

9 commits (0 fixes) modifying apps/zotonic\_mod\_import\_feed

A change to existing behaviour in apps/zotonic\_mod\_import\_feed — 9 commits, 47 files: “Disambiguate translatable texts (\#4634)”; “mod\_import\_feed: add log and spinners; cleanup transactions (\#4581)”; “mod\_import\_feed/mod\_export: support ical feeds (\#4619)”; and 6 more (refs \#4634, \#4581, \#4619, \#4610, \#4575, …).

_apps/zotonic\_mod\_import\feed · medium confidence · unverified

Add Apache 2.0 license and update build configuration

The authentication module now includes an Apache License 2.0 file, clarifying the licensing terms for users and redistributors. Additionally, the build configuration has been updated to specify dependencies on zotonic\_core, zotonic\_mod\_admin, and termit (version \~\> 2.0), and is configured to generate Hex documentation using ex\_doc.

_apps/zotonic\_mod\authentication · high confidence

Add Zotonic launcher configuration and user apps placeholder

The zotonic\_launcher application now includes a header file defining default node names for production and test environments, along with a maximum wait constant, to support the new erlscript-based launcher. Additionally, a placeholder file has been added to the apps\_user directory to facilitate user-defined application integration.

_apps/zotonic\_launcher/include, apps\user · medium confidence

Add base UI assets and update datepicker styling

This change introduces several new CSS and JavaScript libraries to the base module, including jQuery LoadMask, jQuery Timepicker, PrismJS (v1.29.0) for code syntax highlighting, and styles for bridge connection warnings, growl notifications, and icon fonts (FontAwesome, Material Design). It also renames the datepicker stylesheet to jquery-ui.datepicker.css and updates its background image URLs to absolute paths (/lib/images/...) to ensure correct loading. Additionally, the active state of the datepicker is visually updated to use a solid blue background (\#0088cc) with white text instead of the previous glass-effect image.

_apps/zotonic\_mod\base/priv/lib/css · high confidence

Admin UI refreshed with lighter theme and modern fonts

The admin interface now features a lighter visual style, including a light gray background (\#f8f8f8) and updated color variables for primary, success, info, warning, and danger states. The typography has been upgraded to use modern system fonts (such as -apple-system, Segoe UI, and Roboto) instead of the previous defaults, and form input borders are now square (zero border-radius) for a cleaner look.

_apps/zotonic\_mod\admin/priv/lib-src/admin-bootstrap3 · high confidence

Admin UI styling overhaul with floating labels and validation feedback

The admin interface CSS has been replaced with a new compiled stylesheet that introduces floating label behavior for form inputs (\.label-floating\), where labels appear above the input field when focused or filled. It also adds visual feedback for form validation, applying red bottom borders and label coloring for invalid or error states, and updates the general form control styling to use a minimal bottom-border design with a yellow background on focus.

_apps/zotonic\_mod\admin/priv/lib/css · high confidence

Admin UI updates Bootstrap JavaScript to v3.4.1

The admin interface now uses Bootstrap JavaScript version 3.4.1 (replacing the previous 3.3.5) for both the development and minified bundles. This update brings bug fixes and improvements to core components such as modals, tooltips, popovers, and scrollspy, ensuring better compatibility with jQuery 1.9.1+ and resolving issues related to transition handling and DOM manipulation within the admin panel.

_apps/zotonic\_mod\admin/priv/lib/js/bootstrap3 · high confidence

Admin action modules migrated to new OTP layout with enhanced documentation and behavior fixes

The admin action modules (such as resource deletion, media management, and dialog handling) have been moved from the legacy modules directory to the new apps/zotonic\_mod\_admin/src/actions structure. This migration includes comprehensive documentation updates with structured keywords and usage examples, and enforces stricter permission checks by replacing the generic 'editable' ACL check with specific 'deletable' checks for delete operations. Additionally, several behavioral fixes are included: the resource duplication dialog now correctly sets the new resource as unpublished, the media upload dialog properly handles the 'stay' parameter to prevent unwanted redirects, and the edit basics dialog now correctly handles undefined titles to avoid errors.

_apps/zotonic\_mod\admin/src/actions · high confidence

Admin backup interface restructured with enhanced restore and encryption options

The backup administration UI has been redesigned to support encrypted backups, filestore integration, and more granular restore controls. The backup list now displays encryption status and filestore upload indicators, while the configuration panel allows enabling encryption and choosing between full or database-only daily backups. The revision view now includes a confirmation dialog that lets users restore deleted pages by selecting a new category and content group, and recover page connections. Additionally, the import panel now accepts JSON resource export files alongside the existing BERT format.

_apps/zotonic\_mod\backup/priv/templates · high confidence

Admin category module: SQL query optimization and error message improvements

The admin category management module now uses the SQL 'any' operator instead of 'unnest' for querying resources within categories, which improves database compatibility and performance. Additionally, the module provides clearer feedback to users when deleting categories fails: it displays a specific alert if a category contains pages that prevent deletion, and shows a growl message if the user lacks permission to delete the selected items.

_apps/zotonic\_mod\_admin\category/src · high confidence

Admin config actions: new toggle action and ACL-based access control

The admin configuration module now includes a new \config\_toggle\ wire action that allows administrators to toggle configuration values via checkboxes in the UI. Additionally, all configuration actions (create, edit, delete, and toggle) now enforce access control using \z\_acl:is\_admin\_editable\ instead of the previous \z\_acl:has\_role(admin)\ check, ensuring that only users with specific admin edit permissions can modify configuration settings. The existing actions have also been refactored to use modern Erlang postback patterns and include improved documentation.

_apps/zotonic\_mod\_admin\config/src/actions · high confidence

Admin config editor now filters out non-string configuration entries

The admin configuration controller now restricts the displayed settings to simple string values only. It explicitly filters out configuration records that contain structured properties or non-string data, preventing the generic editor from overwriting settings that are managed by specialized interfaces. This ensures that complex configuration items remain untouched by the basic key/value editor.

_apps/zotonic\_mod\_admin\config/src/controllers · high confidence

Admin identity module adds password complexity rules and legacy migration support

The admin identity module now enforces configurable password complexity via a new \password\_regex\ setting, allowing administrators to define regular expressions for password validation. It also introduces support for migrating legacy password hashes (such as MD5) by implementing the \identity\_password\_match\ notification, which validates old formats and triggers re-hashing to the native scheme. Additionally, the module configures new users into a specific category and content group by default, and handles identity verification and admin menu integration.

_apps/zotonic\_mod\_admin\identity/src · high confidence

Admin interface styles migrated from LESS to SCSS

The admin interface styling has been refactored from LESS to SCSS, introducing a modular file structure (e.g., \_base.scss, \_buttons.scss, \_edit.scss) and modern CSS features like CSS Grid for layout components such as the resource editor and connection dialogs. This migration also incorporates updated visual treatments for UI elements including buttons, dropdowns, and media thumbnails, alongside specific fixes for Safari layout bugs and improved support for live preview and drag-and-drop interactions.

_apps/zotonic\_mod\admin/priv/lib-src/zotonic-admin/scss · high confidence

Admin merge interface now supports media comparison and translation merging

The page merge workflow in the admin interface has been enhanced to display media (depiction/medium) differences during the comparison step, allowing editors to see visual content before choosing a winner. Additionally, the merge confirmation dialog now includes an option to automatically add missing language translations from the loser page to the winner, ensuring content consistency across localized versions.

_apps/zotonic\_mod\_admin\merge/priv/templates · high confidence

Admin module URL routing configuration

The admin module now defines its URL dispatch rules in a dedicated configuration file, mapping paths such as /admin, /admin/overview, /admin/media, /admin/edit, /admin/referrer, /admin/media/preview, and /admin/status to their respective controllers and templates.

_apps/zotonic\_mod\admin/priv/dispatch · high confidence

Admin statistics route replaces admin config route

The dispatch configuration for the admin module has been updated to serve statistics under the /admin/statistics path instead of configuration settings under /admin/config. This change redirects users from the previous configuration overview to the new statistics controller, reflecting the module's shift from managing configuration to displaying statistical data.

_apps/zotonic\_mod\_admin\statistics/priv/dispatch · high confidence

Audio metadata editing and display enhancements

The admin interface now supports editing specific audio metadata fields (album, artist, composer, genre, etc.) via a dedicated form, and the media details view displays audio bit rate in kbps for values over 1024 bps along with a sorted list of audio tags. Additionally, the audio viewer template provides a standardized HTML5 audio player with configurable autoplay and preload behavior.

_apps/zotonic\_mod\audio/priv · high confidence

Authentication URL routing and SEO configuration

The authentication module now defines explicit URL dispatch rules for logon, logoff, and session management endpoints. Logon-related pages (logon, change password, reminder, reset, confirm) are configured to use a shared template and include SEO directives (noindex) and tracking restrictions (notrack) to prevent search engine indexing and analytics interference. A new endpoint for session overview is added, and a standard .well-known/change-password path is introduced to support password managers by redirecting to the change-password view.

_apps/zotonic\_mod\authentication/priv/dispatch · high confidence

Authentication styles migrated from Less to Sass

The login page styles have been converted from Less to Sass, introducing a new build process via a Makefile that compiles logon.scss into logon.css. This change updates the styling infrastructure for the authentication module, ensuring the logon interface renders correctly with the new preprocessor output.

_apps/zotonic\_mod\authentication/priv/lib-src · high confidence

Authentication templates restructured for modular, client-side rendering

The authentication UI templates have been completely reorganized into a modular structure to support a new client-side rendering approach via the \zotonic.auth-ui.worker.js\. The previous monolithic logon forms are now split into specialized components (e.g., \\_logon\_box.tpl\, \\_logon\_login\_form.tpl\, \\_logon\_change\_form.tpl\) that are dynamically assembled based on the dispatch state. This change introduces a two-step login flow (username check followed by password/passcode entry) and adds dedicated templates for password changes, account verification, and external service error handling, while also introducing a new session management dialog for force-closing active sessions.

_apps/zotonic\_mod\authentication/priv/templates · high confidence

Backup module refactored with centralized configuration and encryption support

The backup module's support layer has been restructured to introduce a centralized configuration module (backup\_config) that manages settings like encryption, retention periods, and admin panel visibility, resolving previous issues where incorrect config keys prevented encryption. A new dedicated crypto module (backup\_file\_crypto) now handles AES-256-CFB8 file encryption and decryption with password-based key derivation, enabling secure backup storage. The backup creation process (backup\_create) has been updated to integrate this encryption and support PostgreSQL Unix sockets via .pgpass file generation. Additionally, a new migration worker (backup\_gone\_migration) ensures that deleted resource metadata is correctly migrated during upgrades, and the restore process (backup\_restore) now supports selective restoration of database, files, security, and config components.

_apps/zotonic\_mod\backup/src/support · high confidence

Comment insertion now captures peer IP address

The comment model now stores the visitor's IP address in the database by retrieving it via the request context (\m\_req:get(peer)\). Previously, this field was not populated during comment insertion, meaning comment records lacked network origin data.

_apps/zotonic\_mod\comment/src/models · high confidence

Core include files restructured and updated for 1.0.0-rc.17

The Zotonic core include directory has been reorganized into dedicated header files (zotonic.hrl, zotonic\_deprecated.hrl, zotonic\_file.hrl, zotonic\_log.hrl, zotonic\_notifications.hrl, zotonic\_release.hrl, and zotonic\_wired.hrl) to improve maintainability. The main context record now explicitly supports MQTT-based client routing (client\_id, client\_topic, routing\_id) and uses maps for metadata and search arguments. Logging has been migrated from the legacy lager library to the Erlang standard logger, introducing new severity macros and log record types. Security headers are now managed via a foldr notification for Content Security Policy (CSP) and a first-notice notification for general security headers. The release version is set to 1.0.0-rc.17.

_apps/zotonic\core/include · high confidence

Custom redirect model now blocks .zotonic and .well-known paths

The custom redirect model now prevents redirects for paths starting with .zotonic or .well-known. This ensures that internal system paths and standard well-known URI identifiers are not intercepted by custom redirect rules, preserving access to essential site infrastructure and security endpoints.

_apps/zotonic\_mod\_custom\redirect/src/models · high confidence

Custom redirect module ignores hidden paths

The custom redirect module now explicitly ignores paths starting with a dot (e.g., /.well-known). This prevents redirect rules from accidentally matching hidden or system-specific paths, ensuring that only intended public paths are redirected.

_apps/zotonic\_mod\_custom\redirect/src · high confidence

DKIM signing now covers List-Unsubscribe headers

The mod\_email\_dkim module now includes the List-Unsubscribe and List-Unsubscribe-Post headers in the DKIM signature for outgoing emails, aligning with RFC 8058 requirements for one-click unsubscribe support. This ensures that these critical mailing list headers are authenticated alongside standard headers like From, To, and Subject, improving email deliverability and compliance with modern email standards.

_apps/zotonic\_mod\_email\dkim · high confidence

Database layer refactored with PostgreSQL codec and connection pool improvements

The database interface in zotonic\_core has been restructured to improve reliability and data handling. A new PostgreSQL codec (z\_db\_pgsql\_codec) now handles encoding and decoding of JSONB, bytea, and datetime values, ensuring correct type conversion between the application and the database. Connection management has been enhanced with better timeout handling, retry logic, and the ability to cancel running queries on timeout to prevent resource leaks. The default database connection pool size has been increased to 20, and the system now supports connecting via Unix sockets for improved security and performance. Additionally, new functions for table management (create\_table, alter\_table, drop\_table) and foreign key inspection have been added to the public API.

_apps/zotonic\core/src/db · high confidence

EXIF metadata now displays in the media edit interface with improved formatting

The media administration interface now includes a dedicated 'EXIF' section below the main media details, listing extracted metadata fields such as GPS coordinates, dates, and camera settings. This change introduces a new template (\\_admin\_edit\_media\_metadata\_extra.tpl\) and a dedicated template filter (\media\_exif\_value\) that formats raw EXIF data (like GPS ratios and date strings) into human-readable text, resolving previous issues where certain GPS and subject values were displayed incorrectly or caused errors.

_apps/zotonic\_mod\_media\exif · high confidence

Emailer module replaced with gen\_smtp-based SMTP implementation

The mod\_emailer module has been refactored to use a new gen\_smtp-based SMTP implementation, replacing the previous esmtp library. This change removes the old esmtp source files (including the FSM, MIME encoding, and RFC2047 modules) and updates the emailer's internal logic to work with the new library, ensuring better standards compliance and reliability for sending emails.

_modules/mod\emailer · high confidence

Enhanced module management with dependency warnings and version visibility

The Modules overview page now displays the version number for each module and provides clearer visual indicators for dependency status, showing checkmarks for satisfied dependencies and crosses for missing ones. Activating or deactivating a module now triggers a confirmation dialog that explicitly lists any dependent modules that will be affected, helping administrators avoid accidental service disruptions. Additionally, a new 'Rescan modules' button allows users to rebuild the module index and reload dispatch rules directly from the interface.

_apps/zotonic\_mod\_admin\modules/priv/templates · high confidence

Filestore module restructured with new admin UI and global configuration support

The filestore module has been reorganized to support a new 'Cloud File Store' configuration panel in the admin interface, allowing administrators to manage S3, FTP, and WebDAV settings directly. This change introduces a new \filestore\_config\ module that enables global system-wide configuration (with site-specific overrides) and adds a 'test credentials' button to validate connectivity before saving. The module now depends on upgraded \s3filez\, \ftpfilez\, \webdavfilez\, and \filezcache\ libraries (all \~\> 2.0) and requires OTP 26 or later, as reflected in the new \rebar.config\ and license files.

_apps/zotonic\_mod\filestore · high confidence

Filewatcher refactored into a standalone application with native OS monitoring

The filewatching capability has been extracted from the core into its own \zotonic\_filewatcher\ application. This change introduces native file-system monitoring via \inotify\ (Linux) and \fswatch\ (macOS) for faster, more reliable change detection, with a fallback to periodic polling when these tools are unavailable. The new architecture includes a dedicated beam reloader to automatically reload changed modules and updates the dispatch info and module index, ensuring that development workflows benefit from immediate hot-reloading of code changes.

_apps/zotonic\filewatcher/src · high confidence

Fix TinyMCE editor overlaying save buttons

The admin frontend CSS has been updated to prevent the TinyMCE editor popup from obscuring the save buttons. A new rule sets the height of the \.tox.tox-tinymce-aux\ container to 0, ensuring the editor interface no longer covers critical action controls.

_apps/zotonic\_mod\_admin\frontend/priv/lib/css · high confidence

GeoIP module now requires a MaxMind license key and uses the Locus library

The zotonic\_mod\_geoip module has been updated to use the Locus library for IP geolocation, which requires a valid MaxMind license key to download the GeoLite2 database. Users must now configure their license key in zotonic.config via the maxmind\_license\_key setting, as the module will log an error and fail to start the database loader without it. The module exposes two template filters: ip2country, which returns the ISO country code for an IP, and ip2geo, which returns a map of detailed geographic information including city, continent, country, location, and subdivisions. The module also specifies a minimum OTP version of 26 and includes Apache 2.0 licensing.

_apps/zotonic\_mod\geoip · high confidence

Introduce zotonic\_launcher application with structured startup and shutdown logic

The Zotonic server now uses a dedicated zotonic\_launcher application to manage the startup sequence, configuration loading, and shutdown process. This change ensures that the yamerl library is started before parsing configuration files, enforces that the server refuses to run as root, and implements a structured shutdown that stops all sites and applications in a specific order to prevent data corruption. The launcher also introduces structured logging for startup and stop events, and provides an await\_startup mechanism to coordinate test sandbox initialization.

_apps/zotonic\launcher/src · high confidence

Introduction of new CLI scripts and updated launcher behavior

The bin directory now includes a new escript for generating edoc documentation (bin/generate\_edoc.escript) and a disabled placeholder for the mergepot translation script. The main zotonic launcher script has been updated to explicitly protect the ZOTONIC and PATH environment variables from runtime modification and delegates execution to the zotonic\_launcher application, ensuring a more secure and consistent startup process.

bin · high confidence

Let's Encrypt module rewritten with ACME HTTP-01 support and admin UI

The \mod\_ssl\_letsencrypt\ module has been completely rewritten to support the Let's Encrypt ACME HTTP-01 challenge. Administrators can now request and manage certificates directly from the System \> SSL Certificates panel, which displays real-time status, certificate validity, and renewal information. The module introduces new HTTP endpoints (\.well-known/acme-challenge\ and \.zotonic/letsencrypt-self-ping\) to handle validation, and includes a template filter to verify that hostnames are publicly reachable and resolvable before requesting a certificate. This change also updates the module's license to Apache 2.0 and adds a dedicated dispatch configuration for the new challenge handlers.

_apps/zotonic\_mod\_ssl\letsencrypt · high confidence

Markdown conversion now uses markdownz and markupz libraries

The markdown module has been replaced with a new implementation that delegates Markdown-to-HTML conversion to the \markdownz\ library and HTML-to-Markdown conversion to the \markupz\ library. This change introduces support for converting Markdown documents while retaining front matter via \to\_html\_document/1\, and allows HTML-to-Markdown conversion to accept specific configuration presets or options (including legacy options like \no\_html\ and \no\_tables\ for backward compatibility). The original \markdown:conv/1\ function is now deprecated in favor of \z\_markdown:to\_html/1\.

_apps/zotonic\core/src/markdown · high confidence

The menu editor interface has been redesigned with a modern grid-based layout for menu items, replacing the previous styling. This update introduces a new drag-and-drop hierarchy sorter for organizing menu structures, adds visual indicators for submenu states (expand/collapse icons), and improves the overall appearance of the admin menu editing widgets. The changes also include updated CSS for the menu tree list and refined JavaScript handling for menu item insertion and sorting within the admin interface.

_apps/zotonic\_mod\menu · high confidence

The mod\_base styling source has migrated from LESS to SCSS, introducing new build infrastructure via a Makefile and a comprehensive set of SCSS modules for icons (supporting Zotonic, FontAwesome, and Material Design), bridge connection status indicators, and modal dialogs. This change enables a new UI behavior where modal footers can be made sticky within the modal body by adding the \modal-footer-sticky\ class, which positions the footer at the bottom with a semi-transparent background to remain visible during scrolling.

_apps/zotonic\_mod\base/priv/lib-src/scss · high confidence

Mochiweb dependency updated to r153

The Mochiweb dependency has been upgraded to revision 153. This update includes fixes for HTML parsing (handling unescaped characters, quoted attributes with newlines, and singleton tags), cookie handling (HttpOnly support and RFC 2109 compliant expiration dates), and IPv6 listening capabilities. It also removes the local \mochifmt\ module and related build artifacts, relying on the upstream version.

deps/mochiweb · high confidence

New CSS styles for the development debug pane and template overlay

This change introduces the stylesheet for the development module's debug interface, enabling the resizable template source view, the floating trace status indicators, and the styling for the template code highlighting and data viewer components.

_apps/zotonic\_mod\development/priv/lib/css · high confidence

New Docker development environment with OTP 28 and s6 supervision

The Docker development setup has been rebuilt from scratch, introducing a new base image based on Erlang/OTP 28.5 and adopting the s6-svscan process supervisor for managing the Zotonic and PostgreSQL services. The new entrypoint script dynamically detects the host user's UID/GID to ensure correct file permissions within the container, resolving previous ownership issues on macOS and Linux. It also includes specific support for running in Podman by granting the zotonic user root privileges when necessary. The configuration now uses dedicated directories for config, data, logs, and security, with logging handled via the Erlang logger framework writing to disk files, and the default database connection is pre-configured to point to a separate PostgreSQL container.

docker · high confidence

New HTTP controllers for authentication, logoff, and post-logon redirection

The authentication module now exposes dedicated HTTP controllers to handle user sessions. The new \controller\_authentication\ endpoint manages core actions including logon, logoff, session refresh, password changes and resets, user switching, one-time tokens, and status checks via POST requests. A separate \controller\_logoff\ endpoint handles session destruction and removes 'remember me' cookies, ensuring that the post-logoff redirect URL is sanitized to only accept same-site paths. Additionally, \controller\_logon\_done\ manages the post-authentication redirect flow, allowing observers to determine the final destination page or defaulting to the home page if no specific target is provided.

_apps/zotonic\_mod\authentication/src/controllers · high confidence

New authentication model API for login and password management

The authentication module now exposes a structured model API (m\_authentication) that provides endpoints for validating credentials, checking password policies, and managing verification flows. Users can now interact with authentication state via specific paths such as /authenticate/password for login, /acceptable-password for policy validation, and /request-reminder for password resets. This change introduces a standardized way to handle authentication status, remember-me support, and identity verification messages, replacing or supplementing previous controller-based interactions with a more explicit model-driven interface.

_apps/zotonic\_mod\authentication/src/models · high confidence

New base email templates with improved layout and RTL support

The email rendering system now uses a new set of base templates (\_block, \_button, \_spacer, etc.) that provide a cleaner structure for email blocks, including centered buttons and consistent spacing. These templates introduce support for right-to-left (RTL) text direction in body content and correct previous margin issues in email text blocks, resulting in better visual alignment and accessibility for users.

_apps/zotonic\_mod\base/priv/templates/email · high confidence

New base templates and Cotonic integration

The base templates have been rewritten to integrate the Cotonic framework, introducing a new base layout (base.tpl) that initializes the Cotonic websocket and buffers events before the framework is ready. The update includes new partials for action dialogs, type selection results, and a redesigned debug view that respects Content-Security-Policy nonces. Additionally, the system now supports a new 'link\_new' image option in media rendering, provides a standard security.txt template for vulnerability reporting, and adds a bridge warning template with a connection test link.

_apps/zotonic\_mod\base/priv/templates · high confidence

New core behaviours for model operations, notifications, and screen components

This change introduces three new Erlang behaviours in the core library to standardize and type-check key extension points. The \zotonic\_model\ behaviour defines callbacks for resource retrieval (\m\_get\), creation (\m\_post\), and deletion (\m\_delete\), allowing modules to handle data operations via MQTT and API. The \zotonic\_observer\ behaviour provides a comprehensive interface for intercepting system notifications, including dispatch routing, Content Security Policy (CSP) header modification, and CSP violation reporting, enabling developers to hook into request lifecycle and security events with type safety. Additionally, the \zotonic\_scomp\ behaviour standardizes screen components by defining callbacks for rendering content and managing cache variation parameters.

_apps/zotonic\core/src/behaviours · high confidence

New dispatch rules for Cotonic integration, security, and testing

The base module now includes dedicated dispatch configurations for Cotonic (handling MQTT transport and the service worker), security compliance (serving a security.txt file), and site diagnostics (a connection test page and initial postback test). These changes enable the new Cotonic architecture while providing standard security and testing endpoints.

_apps/zotonic\_mod\base/priv/dispatch · high confidence

New frontend-based admin edit interface

The admin edit experience now uses a new set of templates (\_admin\_frontend\_edit.tpl, page\_admin\_frontend\_edit.tpl, etc.) that render the editing UI directly in the browser using the Cotonic framework, replacing the previous server-side rendered edit pages. This change introduces a tabbed interface for content, language, and access control, integrates TinyMCE with specific configuration blocks (including lists and searchreplace plugins), and adds client-side logic for saving, publishing, and handling unsaved changes. It also includes support for native date/time pickers and specific JavaScript modules for menu editing and form state management.

_apps/zotonic\_mod\_admin\frontend/priv/templates · high confidence

New i18n infrastructure with dedicated translation server and language data modules

The i18n subsystem in zotonic\_core has been restructured with the introduction of several new modules: z\_gettext handles PO/POT file parsing; z\_trans provides translation lookup and fallback logic; z\_trans\_server manages an ETS table for active translations and listens for module changes to reload them; z\_language manages language configuration, enabled/editable status, and fallback chains; and z\_language\_data provides a generated lookup map for language metadata. This change shifts translation management from ad-hoc handling to a centralized, server-backed architecture with improved performance and reliability.

_apps/zotonic\core/src/i18n · high confidence

New localized error messages for authentication failures

The authentication module now provides specific, user-friendly error messages for various login and password scenarios. Users will see tailored feedback for issues such as incorrect credentials, password strength requirements (including data breach checks via Have I Been Pwned), two-factor authentication passcode errors, rate limiting, and account status (e.g., unverified email or external identity restrictions).

_apps/zotonic\_mod\_authentication/priv/templates/logon\error · high confidence

New pivot templates for improved search indexing and content structure

The pivot indexing templates in mod\_base have been replaced with a new set of files (\_title.tpl, \_main\_text.tpl, \_block\_text.tpl, etc.) to better structure how resource content is indexed for search. This change introduces specific handling for block texts, refines the indexing of titles and related resources, and adds support for indexing medium filenames. These updates improve the accuracy of search results and the relevance of content grouping by ensuring that all relevant text fields, including addresses and custom blocks, are properly included in the search index.

_apps/zotonic\_mod\base/priv/templates/pivot · high confidence

OAuth module replaced with a new implementation

The existing OAuth module has been removed and replaced with a new implementation. This change affects the entire OAuth subsystem, including the removal of the old dispatch rules, core module logic, data models, resource handlers, and admin templates, indicating a complete overhaul of how OAuth authentication and API access are handled.

_modules/mod\oauth · high confidence

OAuth2 module restructured with new admin UI and client credentials support

The zotonic\_mod\_oauth2 module has been reorganized to provide a more robust administrative interface for managing OAuth2 applications and consumers. This update introduces dedicated admin screens for creating and editing OAuth2 apps (acting as providers) and consumers (acting as clients), including new templates for managing access tokens and configuring consumer details. A key behavioral addition is support for the Client Credentials grant type, allowing administrators to configure apps to fetch tokens automatically with configurable expiration and user association, as well as the ability to manually manage consumer tokens. The module also includes a new JavaScript worker for handling the OAuth2 authorization flow and updated dispatch rules to route admin and service endpoints correctly.

_apps/zotonic\_mod\oauth2 · high confidence

OEmbed module restructured and updated with new providers and admin templates

The mod\_oembed application has been reorganized into the standard OTP apps directory structure and updated to require OTP 26. This change introduces new admin templates for managing OEmbed settings (including Embedly API key configuration), viewing media metadata, and fixing broken embeds. The module now supports additional OEmbed providers such as Spotify, Prezi, and Issuu, and includes specific templates for responsive embedding of YouTube and Vimeo videos. Additionally, the module's license has been standardized to Apache 2.0.

_apps/zotonic\_mod\oembed · high confidence

Redesigned ACL administration interface with visibility controls and collaboration group support

The ACL admin interface has been completely overhauled to support finer-grained access control and a lighter UI. Administrators can now define ACL rules for content, collaboration groups, and modules, with specific support for visibility levels (public, private, etc.) on resource and collaboration rules. The interface includes new dialogs for editing rules, importing/exporting configurations, and testing rules via a generated URL. Collaboration groups are now fully integrated into the content group selection and rule management workflows, allowing administrators to manage permissions for these specific group types. User management dialogs have also been updated to allow setting content groups and user roles during user addition and editing.

_apps/zotonic\_mod\_acl\_user\groups/priv/templates · high confidence

Redesigned admin configuration, SSL, and email management interfaces

The admin interface for system configuration, SSL certificates, and email settings has been completely rewritten with a modern UI. The Configuration page now features a searchable list of available keys with documentation and defaults, alongside dialog-based editing and deletion. The SSL page provides detailed certificate information, a button to regenerate self-signed certificates, and specific instructions for trusting self-signed certificates on various operating systems (macOS, Windows, Linux, iOS, Android) in development mode. The Email page includes a comprehensive form for SMTP relay settings, email interception (with exception handling), and a test email tool that displays status and links to logs.

_apps/zotonic\_mod\_admin\config/priv/templates · high confidence

Redesigned admin identity management with username/password support and email verification

The admin interface now provides comprehensive user identity management. Administrators can create new users with specific content categories and roles, and set or change usernames and passwords via dedicated dialogs. The users overview page displays usernames and last login times, and allows admins to impersonate other users. Email handling has been enhanced with a live-editable list of addresses, verification status indicators, and the ability to add or remove email identities. Additionally, a quick-search feature now matches email addresses, and new email templates guide users through account creation and email verification.

_apps/zotonic\_mod\_admin\identity/priv/templates · high confidence

Redesigned admin resource connection and media upload dialogs

The admin interface now uses a unified, tabbed dialog system for connecting resources and uploading media. The new \\_action\_dialog\_connect.tpl\ template replaces the previous single-purpose dialogs with a structured layout supporting tabs for finding existing pages, creating new ones, attaching media, and importing from URLs. This change introduces a predicate selection step for complex connections, displays connected media as a dedicated 'Attached media' tab, and enforces content-group and ACL filtering on search results. Additionally, the media upload experience is enhanced with a new \\_action\_dialog\_media\_upload.tpl\ that provides file preview for images, explicit 'Delete if not connected anymore' options, and a URL/Embed tab for discovering external content, while the basic edit dialog now includes a dedicated 'Media content' tab for viewing and editing media properties.

_apps/zotonic\_mod\admin/priv/templates · high confidence

Refactor admin identity actions to support username management and improved security

The admin identity actions have been restructured to explicitly handle username and password operations, replacing the previous media-deletion-focused logic. A new action allows administrators to delete a username from a user without confirmation, while the dialog for setting usernames/passwords now includes safeguards preventing the admin user from being modified and blocking users from removing their own usernames. The user-add dialog has been updated to create the person resource and identity in a single database transaction, ensuring consistency, and now supports sending a welcome email upon creation. Additionally, the delete-username dialog now verifies that a username actually exists before prompting for confirmation, and all actions enforce stricter ACL checks requiring explicit permission to use mod\_admin\_identity.

_apps/zotonic\_mod\_admin\identity/src/actions · high confidence

Removed embedded git repositories and dependency source code from deps/

The embedded git repository metadata (\.git\ directories) and source code for the \erlang-oauth\, \mochiweb\, and \webmachine\ dependencies have been removed from the \deps/\ directory. This change eliminates the local git history and build artifacts for these libraries, indicating they are now managed as external submodules or fetched from separate repositories rather than being committed directly into this codebase.

deps · high confidence

Survey module receives comprehensive UI and styling overhaul

The survey module's interface has been significantly updated with new SCSS/CSS styles for result charts, status labels, and test scores, alongside a refactored admin editor that now uses a tabbed layout (Basics, Settings, Questions, Results) and enhanced JavaScript for question block management.

_apps/zotonic\_mod\survey · high confidence

Test module internals moved to testsandbox

The test module's internal implementation—specifically the dispatch rules, the gen\_server module, and the associated templates and resources—has been removed from the main module directory and relocated to the testsandbox. This change decouples the test module from the gen\_server behavior, making gen\_server optional for any module, and consolidates the testing infrastructure into the testsandbox area.

_modules/mod\test · high confidence

TinyMCE editor upgraded to version 5.10.2

The TinyMCE rich-text editor library used by the Zotonic mod\_editor\_tinymce module has been updated from version 4.5.5 to 5.10.2. This upgrade replaces the previous library files with the new version, which includes updated plugins such as advlist, anchor, autolink, autoresize, autosave, bbcode, charmap, code, and codesample. Users interacting with the editor will benefit from the bug fixes, performance improvements, and feature enhancements included in the TinyMCE 5.10.2 release.

(repo-wide) · high confidence

Unsaved changes warning and tab support in admin edit pages

The admin frontend now warns users with a confirmation dialog if they attempt to navigate away from an edit page while unsaved changes are present, allowing them to cancel the navigation to keep their work. Additionally, the edit page now supports linking to specific tabs within the resource editor, enabling direct navigation to a particular section of the form via URL hash parameters.

_apps/zotonic\_mod\_admin\frontend/priv/lib/js · high confidence

Updated Bootstrap theme assets to v3.4.1

The \mod\_bootstrap\ module now ships with Bootstrap v3.4.1 theme files (\bootstrap-theme.css\, \bootstrap-theme.min.css\, and the corresponding \.map\ source map). This update refreshes the visual styling of buttons, alerts, progress bars, and other themed components to match the latest Bootstrap release.

_apps/zotonic\_mod\bootstrap/priv · high confidence

Updated Font Awesome library to version 4.2.0

The \zotonic\_mod\_artwork\ module now ships with Font Awesome 4.2.0, replacing the previous version. This update includes the full set of CSS styles and SVG font definitions, ensuring that icon rendering and styling in the artwork module are consistent with the latest Font Awesome release.

_apps/zotonic\_mod\artwork/priv · high confidence

Updated translation files for multiple languages

The translation files in the core application have been refreshed with new content from Crowdin, including updates to the main application strings, country names, and language names for Arabic, Azerbaijani, German, English, Spanish, and other supported locales.

_apps/zotonic\core/priv/translations · high confidence

The zmedia plugin for the TinyMCE editor has been updated to version 5.10.2, introducing new English, Dutch, and Russian localization strings for the 'Insert media item' actions. The plugin now supports a 'link\_new' option in its default attributes and properties dialog, allowing users to specify whether media links should open in a new browser tab. Additionally, the plugin logic has been adjusted to handle embedded media items more robustly when other image tags are present in the content.

_apps/zotonic\_mod\_editor\tinymce/priv/lib/js/tinymce-5.10.2/tinymce/plugins/zmedia · high confidence

Video embed module now uses responsive wrappers and exposes detailed metadata in the admin

The video embed module now wraps iframe-based embeds in a responsive container that maintains the original aspect ratio, improving layout consistency on different screen sizes. Additionally, the admin interface now displays detailed metadata for video embeds—including service, ID, author, tags, and URLs—with one-click copy buttons for easy reference.

_apps/zotonic\_mod\_video\embed · high confidence

Video module restructured with improved metadata display and conversion logic

The video module has been reorganized into a new OTP-compliant structure, requiring Erlang/OTP 26 or later. For users, this brings a refined admin experience where video metadata (format, codecs, bit rates, sample rates) is now displayed with appropriate units (kbps/kHz for values over 1024) and includes audio details. The video viewer template now supports a 'processing' state with a visual indicator while conversions run, and improves handling of broken or processing videos. Internally, the conversion process was refactored to skip re-encoding files that are already in the desired H.264/AAC format, and race conditions in job queue creation were fixed.

_apps/zotonic\_mod\video · high confidence

Zotonic 1.0.0-rc.17 release with OTP 26 requirement and rebar3 build system

This release updates Zotonic to version 1.0.0-rc.17 and enforces a minimum Erlang/OTP 26 requirement, as defined in the new rebar.config. The build system has been standardized on rebar3, replacing the previous Emakefile with a comprehensive GNUmakefile that manages dependency compilation and project structure. A new rebar.lock file pins all Hex dependencies to specific versions, including template\_compiler 3.7.0, zotonic\_stdlib 1.33.0, and epgsql 4.7.1. Development workflows are enhanced with new Docker and Podman support via docker-compose.yml and dedicated start scripts, alongside configuration files for EditorConfig, Erlang LS, and Elvis code style checks.

(repo-wide) · high confidence

Zotonic Status site refactored to SCSS and Cotonic

The Zotonic Status site's user interface has been updated to use modern tooling and architecture. The CSS styling has been migrated from the legacy Less framework (3L) to SCSS, providing a more maintainable source for the site's appearance. Additionally, the frontend JavaScript has been switched from the older 'wired' bundle to the Cotonic framework, enabling reactive, real-time updates for the site status overview and improving the overall responsiveness of the management interface.

_apps/zotonic\_site\status · high confidence

Zotonic core application structure and initialization

The zotonic\_core application has been restructured to provide a robust initialization sequence for the Zotonic runtime. The new zotonic\_core module handles environment detection (project vs. testsandbox), loads required OTP applications, and ensures the Mnesia schema is created in a node-specific data directory before startup. The zotonic\_core\_sup supervisor now manages core services including the media runner, HTTP request metrics ring buffers, email server, file watchers, and site managers. Configuration is centralized, with specific handling for Ranch TLS error intensity, FileZCache data directories, and SSL DH file generation. The application also enforces a minimum scheduler count for bcrypt compatibility and integrates with the logger for structured logging.

_apps/zotonic\core/src · high confidence

Zotonic media plugin adds delete button and language files

The zmedia plugin for the TinyMCE editor now includes a delete button in the media properties dialog, allowing users to remove inserted media items directly. Additionally, language files for English, Dutch, and Russian have been added to support internationalization of the 'Insert a media item' and 'Insert media item' UI strings.

_apps/zotonic\_mod\_editor\tinymce/priv/lib/js/tinymce-4.9.3/tinymce/plugins/zmedia · high confidence

Fixes

Upgraded TinyMCE to version 3.3.2

The TinyMCE editor library has been updated to version 3.3.2, which includes enabling the paste plugin to improve content import capabilities. This update also resolves a JavaScript error that occurred when saving a newly created page with an empty body, ensuring a smoother editing experience for new content.

_modules/mod\base/lib/js/modules/tinymce · high confidence

Test coverage

1 commit adding/updating tests in apps/zotonic\_filewatcher/test; 2 commits adding/updating tests in apps/zotonic\_mod\_clamav/test; 6 commits adding/updating tests in apps/zotonic\_mod\_admin/test; 6 commits adding/updating tests in apps/zotonic\_mod\_backup/test; 9 commits adding/updating tests in apps/zotonic\_filehandler/test; Added EUnit tests for ACL user-group authorization logic; Added EUnit tests for base filters, SVG charts, CSP reports, and admin wire updates; Added comprehensive test coverage for core Zotonic modules; Added diagnostic test pages for connection, charts, and postbacks; Added test fixtures for configuration, email, and file parsing; Added tests for development editor and LSP features; Added tests for signup policy and username/password enforcement; Removed ErlyDTL test suite and fixtures.

Dependencies

Add Zotonic LSP and Tiptap editor dependencies

The development module now includes a VS Code extension manifest and lockfile for the Zotonic LSP server, introducing the vscode-languageclient dependency to enable site-aware template diagnostics and navigation. Additionally, the Tiptap editor module adds its own package manifest and lockfile, pinning the @tiptap suite (core, starter-kit, and extensions) at version 3.31.4 along with the lucide icon library, esbuild, and jsdom for building and testing the alternative editor.

(dependencies) · high confidence

Nix package source pinned to nixpkgs 26.05

The project now uses a Nix flake or derivation configuration that explicitly imports the nixpkgs repository at the 26.05 tag. This change establishes the specific version of the Nix package set used to resolve system dependencies, ensuring reproducible builds based on this snapshot of the nixpkgs collection.

nix · high confidence

Standardize licensing and build configuration across admin modules

The \zotonic\_mod\_acl\_mock\, \zotonic\_mod\_acl\_user\_groups\, \zotonic\_mod\_admin\, \zotonic\_mod\_admin\_category\, \zotonic\_mod\_admin\_config\, and \zotonic\_mod\_admin\_frontend\ applications now include explicit Apache License 2.0 \LICENSE\ files and standardized \rebar.config\ build scripts. These configurations enforce a minimum OTP version of 26, enable debug info, and configure \ex\_doc\ for Hex documentation publishing, ensuring consistent legal attribution and build requirements for these core administrative components.

(repo-wide) · high confidence

Upgrade jQuery to version 3.7.1

The bundled jQuery library in the base module has been updated from previous versions to 3.7.1. This upgrade brings the latest bug fixes, performance improvements, and security patches to the client-side JavaScript environment used by the application.

_apps/zotonic\_mod\base/priv/lib/js/apps · high confidence

zotonic\_mod\_cron now depends on erlcron 1.2.3

The cron module has been updated to rely on the external erlcron library (version 1.2.3) for handling scheduled tasks, replacing its previous internal implementation. This change also sets the minimum required Erlang/OTP version to 26 and adds the Apache 2.0 license file to the project.

_apps/zotonic\_mod\cron · high confidence

Housekeeping

Clarified ClamAV availability check documentation; Documentation updates and release notes.

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 39 → 37 (-2.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 28 → 27 (-1.6)
  • Architecture 99 → 98 (-0.1)
  • Maturity 65 → 68 (+3.2)
  • Readiness 42 → 46 (+4.1)
  • Security 55 → 38 (-17.3)
  • Event-Driven 80 (new)
  • Event Sourcing 100 (new)
  • Accessibility 39 → 41 (+1.7)
  • Performance 100 → 70 (-30.0)

Resolved (7)

  • Medium CVE: EEF-[CVE redacted] (rebar.lock)
  • Off-boarding risk: anonymized user #1
  • Secret: generic-api-key (doc/developer-guide/getting-started.rst)
  • Secret: generic-api-key (doc/ref/configuration/zotonic-configuration.rst)
  • Secret: private-key (apps/zotonic_mod_ssl_ca/src/mod_ssl_ca.erl)
  • Secret: private-key (deps/mochiweb/examples/https/server_key.pem)
  • TodoComment (apps/zotonic_core/src/media/z_media_preview.erl)

New (967)

  • (anonymous) (cognitive 27) (apps/zotonic_mod_base/priv/lib/js/models/loadmore.js)
  • (anonymous) (cognitive 27) (apps/zotonic_mod_search/priv/lib/js/zotonic-search-view.js)
  • (anonymous) (cognitive 28) (apps/zotonic_mod_base/priv/lib/js/apps/jquery-migrate-1.4.1.js)
  • (anonymous) (cognitive 35) (apps/zotonic_mod_admin_frontend/priv/lib/js/modules/admin-frontend.js)
  • (anonymous) (cognitive 38) (apps/zotonic_mod_admin/priv/lib/js/admin-edit-preview.js)
  • (anonymous) (cyclomatic 16) (apps/zotonic_mod_admin_predicate/priv/lib/js/admin-graph.js)
  • (anonymous) (cyclomatic 16) (apps/zotonic_mod_search/priv/lib/js/zotonic-search-view.js)
  • (anonymous) (cyclomatic 25) (apps/zotonic_mod_base/priv/lib/js/apps/jquery-migrate-1.4.1.js)
  • (anonymous) (cyclomatic 25) (apps/zotonic_mod_base/priv/lib/js/models/loadmore.js)
  • (anonymous) (cyclomatic 27) (apps/zotonic_mod_admin_frontend/priv/lib/js/modules/admin-frontend.js)
  • (anonymous) (cyclomatic 42) (apps/zotonic_mod_admin/priv/lib/js/admin-edit-preview.js)
  • (anonymous).best_dst_match (cognitive 25) (apps/zotonic_mod_l10n/priv/lib/js/modules/jstz.js)
  • (anonymous).windows7_adaptions (cognitive 41) (apps/zotonic_mod_l10n/priv/lib/js/modules/jstz.js)
  • (anonymous).windows7_adaptions (cyclomatic 24) (apps/zotonic_mod_l10n/priv/lib/js/modules/jstz.js)
  • Change coupling: zotonic_filewatcher_fswatch.erl ↔ zotonic_filewatcher_inotify.erl (apps/zotonic_filewatcher/src/zotonic_filewatcher_fswatch.erl)
  • Date (cognitive 18) (apps/zotonic_mod_wires/priv/lib/js/modules/livevalidation-1.3.js)
  • Duplicated block (10 lines × 2) (apps/zotonic_core/src/media/z_media_import.erl)
  • Duplicated block (10 lines × 2) (apps/zotonic_core/src/smtp/z_email_server.erl)
  • Duplicated block (10 lines × 2) (apps/zotonic_listen_http/src/zotonic_listen_http.erl)
  • Duplicated block (10 lines × 2) (apps/zotonic_mod_admin_category/src/mod_admin_category.erl)
  • …and 947 more

Changes since last survey

  • 102 commits — 90 feature/other, 12 fixes

By area

  • apps/zotonic_core — 50 commits
  • (root) — 14 commits
  • apps/zotonic_mod_admin — 8 commits
  • apps/zotonic_mod_analytics — 7 commits
  • .agents/skills — 2 commits
  • apps/zotonic_filehandler — 2 commits
  • apps/zotonic_mod_development — 2 commits
  • apps/zotonic_mod_filestore — 2 commits
  • apps/zotonic_mod_site_update — 2 commits
  • apps/zotonic_mod_admin_modules — 1 commit
  • apps/zotonic_mod_agent_discovery — 1 commit
  • apps/zotonic_mod_base — 1 commit
  • apps/zotonic_mod_export — 1 commit
  • apps/zotonic_mod_mailinglist — 1 commit
  • apps/zotonic_mod_menu — 1 commit
  • apps/zotonic_mod_search — 1 commit
  • apps/zotonic_mod_survey — 1 commit
  • apps/zotonic_mod_traffic_guard — 1 commit
  • apps/zotonic_mod_websub — 1 commit
  • doc/guides — 1 commit

Notable commits

  • fix: Add support for saving hierarchies in manage_data. Fix #2543 (#2544)
  • fix: Fix an issue where controller_file waited only 5 secs for image resizes (#4658)
  • fix: Fix analytics css
  • fix: Fix line-endings
  • fix: Fix pot generation, new pot files
  • fix: Fix reference to rebar3
  • fix: Fix translations, document addition of ja, cs, ko, vi and ro.
  • fix: Upgrade erlexec, fix test
  • fix: core: fix a caching issue with module activation (#4631)
  • fix: core: fix a problem with long filenames for previews
  • fix: core: fix an issue with the startup order of z_stats and depcache (#4630)
  • fix: mod_search: fix some issues with counting facet values (#4621)
  • change: Add content addressable storage for media uploads and previews (#4654)
  • change: Add crowdin context
  • change: Add doc/guides and doc/reference for import by zotonic doc site (#4643)
  • change: Add mod_analytics for lightweight site analytics and stats (#4659)
  • change: Add protection against agressive crawling and IP deny/allow lists (#4668)
  • change: Add start-docker.cmd and instructions
  • change: Add stop-docker commands
  • change: Add translation skills and 'payments' topic (#4632)
  • …and 82 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

zotonic/zotonic was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit ae7768c74c4641c51de9824d192702d7f5526239 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-b8b1a43ae4c3.