Uploaded image for project: 'COmanage Framework Migration'
  1. COmanage Framework Migration
  2. CFM-110

In-browser informational messages - Replace Noty.js

    XMLWordPrintable

Details

    Description

      Ensure that in-browser messages (error, information, warning) notifications are working and documented. This functionality was previously supported by Noty.js.

      The Noty.js repository reads: "This repository is no longer supported, please consider using alternatives." The latest Noty.js release is from Dec 20, 2017

      A possible alternative (among many) is awesome-notifications (MIT license). As of January 2022 the project is about four years old, has recent updates, and seems to be popular. https://www.npmjs.com/package/awesome-notifications

      Support for Noty.js previously used FILTER_SANITIZE_MAGIC_QUOTES when preparing output for the javascript popup. This filter was deprecated in PHP 7.3 and replaced in PHP 8.0 with FILTER_SANITIZE_ADD_SLASHES. We should review the output filtering in this context, and see if we should continue to use it or replace it with some other type of cleansing.

      Attachments

        Issue Links

          Activity

            People

              arlen.johnson@at.internet2.edu Arlen Johnson (google.com)
              arlen.johnson@at.internet2.edu Arlen Johnson (google.com)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: