Full Read Only Notifier icon
Module Id
full-read-only-notifier
Group Id
org.jahia.community
Updated
Requires Jahia
8.2.1.0
Author
Florent BOURASSE
Category
Tools and Utilities
Status
COMMUNITY info

Full Read Only Notifier group_work

This (very) simple module displays once a notification when a Jahia instance is in full read-only mode and when it leaves this mode.

Dependencies & Dependants

Changelog 2.0.3

Highlights

  • Hardened security: JCR path-traversal prevention on siteKey, multi-character sanitization fixes for code-scanning alerts, and several CVE/Dependabot dependency upgrades.
  • Major accessibility overhaul of the admin UI to meet WCAG 2.1 AA (focus, contrast, live regions, ARIA, screen-reader announcements).
  • Test suite improvements (Cypress) and modernized developer/agent documentation.

Features

  • i18n: added settings.cancelled English key for cancel-action screen-reader announcement (60f6ed3).
  • Added agent context files: AGENTS.md and a CLAUDE.md pointer (b0310e31278878).

Fixes

  • Security — validate siteKey to prevent JCR path traversal in GraphQL extensions (b63c0a9; touches FronotifierConstants.javaFullReadOnlyNotifierMutationExtension.javaFullReadOnlyNotifierQueryExtension.java).
  • Security — two code-scanning fixes for incomplete multi-character sanitization (5354bc5bc69346).
  • Accessibility (WCAG 2.1 AA) in FullReadOnlyNotifier.jsx / .scss:
    • Two fixed live regions, aria-required / aria-invalid / aria-describedbyinert on disabled editors, dynamic document.title updates (f5d368d).
    • Contrast, :focus-visible, rem-based font sizes, removal of pointer-events on disabled editor (cbd4ebe).
    • Initial broad WCAG 2.1 AA pass on admin UI (f88edfd).
  • Fix typo in full-read-only-notifier.properties (60cf853).

Refactoring / Maintenance

  • Dependency upgrades:
    • systeminformation 5.31.5 → 5.31.6 (CVE) via resolution override (658b6d1).
    • @babel/plugin-transform-modules-systemjsfast-uriaxiosip-address Dependabot fixes (d70c3f0).
    • postcss 8.5.9 → 8.5.14 (9291789).
    • ip-address 10.1.0 → 10.2.0 (3d1c05b).
    • webpack 5.94.0 → 5.104.1 in /tests (47264d9).
    • General Dependabot remediation attempt (a7dff15).
  • Renamed CLAUDE.md → AGENTS.md with a backward-compatible reference (b0310e3).
  • Updated dependabot.ymlSECURITY.mdREADME.md (a34224cfaf546c84a75d9).
  • Removed obsolete docs and added .gitignore entries for tests (2c698b6e9feb24).
  • Maven release plugin: prepared for next development iteration (3ea3412).

Tests

  • Cypress test improvements (4c4f7f1).
  • Lint-driven corrections on Cypress tests (54483d7).
  • Updated tests/cypress/e2e/01-fronotifierSettings.cy.ts and 02-fronotifierPopup.cy.ts, plus tests/package.json and Yarn Berry configuration (.yarnrc.yml).
  •  

Full Changelog2_0_2...2_0_3

How To Install

Download the jar and deploy it on your instance then activate the module on the site you wish to use. Once it's done, drag the component "Full Read Only Notifier" to your page, ideally in an "absolute" area so this component will be accessible on all your pages. 

Message when enabling/disabling the FRO can be configured in the site settings.

License

MIT License

Copyright (c) 2018 - present Florent BOURASSÉ

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.