Advanced Notifications

Blocks ::: block_advnotifications
Maintained by Picture of Zander PotgieterZander Potgieter, Picture of Learning WorksLearning Works
Easily create, manage and display notifications/alerts to users.

Advanced Notifications v1.4.2

Moodle 3.5, 3.6, 3.7, 3.8, 3.9, 3.10
Released: Wednesday, February 10, 2021, 12:16 PM

Changelog

v1.4.2 - 10/02/2021

Changed

  • Bumped version number.

Fixed

  • Privacy API provider cleanup - removed mtrace (prevent Unit Test warnings) & whitespaces.

v1.4.1 - 06/01/2021

Added

  • JS source maps.

Changed

  • Increased 'precision'/length of seen field in database (from 4 to 10).
  • Minor Moodle code-check fixes.
  • Bumped version number.

v1.4.0 - 18/12/2020

Added

  • Users can now create/manage their own (instance-based/non-global) notifications
    • Enable via capability/permissions - manageownnotifications.
  • A package.json file for easier (local) testing, checks & generation of code.

Changed

  • General code, UI & language strings cleanup.
  • Updated README.md with new feature listed.
  • Bumped version number.

Fixed

  • TravisCI file - updated moodle-plugin-ci to use Moodle HQ's.

v1.3.12 - 13/10/2020

Changed

  • Bumped version number.

Fixed

  • Improper default settings value. Now sets first date format as default.

v1.3.11 - 06/10/2020

Added

  • Gruntfile - scss & js processing.
  • More date formats available.

Changed

  • UI/UX Improvements.
  • Cleaned up unused SCSS variables & functions.
  • Bumped version number.

Fixed

  • 'Date-to' would not be shown if 'Date-from' was not set (0). It now correctly checks if date-to is set instead.
  • Various travis & moodle plugin db-recommended code style fixes.

v1.3.10 - 02/10/2020

Added

  • Setting to customise 'date format' shown by plugin.

Changed

  • Utilised bootstrap more for form styling.
  • Bumped version number.

v1.3.9 - 22/06/2020

Changed

  • Travis file updated to Moodle 3.9.
  • Updated buttons classes to be more consistent - primary, secondary, light.
  • Bumped version number.

v1.3.8 - 29/04/2020

Changed

  • Update imagery - video and gif.
  • Simplify README.
  • Bumped version number.

Fixed

  • Announcement alert type now works properly for preview alert - allowing live preview if custom CSS exists for announcement type alert.

v1.3.7 - 19/12/2019

Changed

  • Travis file updated to Moodle 3.8.
  • Bumped version number.

v1.3.6 - 19/09/2019

Changed

  • Code style fixes.
  • Bumped version number.

v1.3.5 - 17/09/2019

Changed

  • Moved JS to AMD format.
  • Updated TravisCI file to Ubuntu Xenial - MDL-65992.
  • Bumped version number.

v1.3.4 - 11/07/2019

Changed

  • Removed redundant global variable.
  • Bumped version number.

Fixed

  • Use lang string for notification type in table(s).

v1.3.3 - 11/07/2019

Added

  • Support for theme to override images - thanks @amandadoughty.

Changed

  • 'Message' field width enlarged.
  • Minor CSS updates.
  • Bumped version number.

Fixed

  • Placeholder for date fields updated to expected format - for browsers that don't support 'date' input types.

v1.3.2 - 23/01/2019

Changed

  • TravisCI file update - ci tool version/source.
  • README tweak.
  • Bumped version number.

Fixed

  • Squashed regression bug - filter removed data attributes required for AJAX calls to dismiss notifications.
  • Seen count SQL - when user exports data "Yes" or "No" was shown instead of the seen count.
  • Only show manage-related links if the user has permission.

v1.3.1 - 21/01/2019

Changed

  • TravisCI file update.
  • Bumped version number.

Fixed

  • Minor code style fixes.
  • EOL fixes.

v1.3.0 - 21/01/2019

Added

  • Support for Privacy API (GDPR Compliance).
  • Language strings for Privacy API.

Changed

  • Bumped version number.

v1.2.4 - 18/07/2018

Added

  • Support added for multilang (and other) filters.

Changed

  • Bumped version number.

v1.2.3 - 13/07/2018

Changed

  • If the from/to dates are not set, a - is now displayed instead of 01/01/1970.
  • If the from/to dates match the 'to date' is displayed as a -.
  • Updated README - HTML allowed since previous update.
  • Bumped version number.

v1.2.2 - 05/07/2018

Added

  • 'Allow HTML' setting - toggles if basic HTML is allowed in the Title and Message (filtered for scripts, etc).

Changed

  • Preview & Form-related JavaScript improved - more robust and responsive UI/UX.
  • Minor styling update for status indicator (Saving/Done).
  • Bumped version number.

v1.2.1 - 27/04/2018

Added

  • Added .stylelintignore file to exclude scss files (only check final css file).

Changed

  • Bumped version number.

v1.2.0 - 24/04/2018

Added

  • Added breadcrumbs to manage & restore pages.
  • Added language strings for breadcrumbs.

Changed

  • Updated dates in Changelog (typos).
  • Bumped version number.

Fixed

  • Fixed minor illogical JS error.

v1.1.1 - 12/03/2018

Changed

  • Small UX Improvement - better padding for dismiss button.
  • Bumped version number.

Fixed

  • Fixed bug that caused illogical redirect(s).

v1.1.0 - 05/03/2018

Added

  • Added locallib file to manage preparation of notifications to be rendered.
  • Added CHANGELOG.md file to start keeping track of changes.

Changed

  • Moved database calls out of renderer function 'render_notification' - it now purely renders the notifications.
  • PHPDocs corrections for class 'advnotifications'.
  • Updated 'Message' field to be texarea - allowing for resizing of field.
  • Updated SCSS (and therefore CSS) to support resizing of textarea & improved UX for dismiss/close button.
  • Bumped version number.

Version information

Version build number
2021021012
Version release name
v1.4.2
Can be updated from
v1.2.3, v1.2.4 (2018071817), v1.3.2 (2019012311), v1.3.4, v1.3.5, v1.3.6 (2019091715), v1.3.7, v1.3.8 (2020042913), v1.3.9, v1.3.11, v1.3.12 (2020101317), v1.4.0, v1.4.1
Maturity
Stable version
MD5 Sum
c4220e72f9e49307377b4ab20de5dad3
Supported software
PHP 7.0, PHP 7.1, PHP 7.2, Moodle 3.5, Moodle 3.6, Moodle 3.7, PHP 7.3, PHP 7.4, Moodle 3.8, Moodle 3.9, Moodle 3.10
  • Latest release for Moodle 3.5
  • Latest release for Moodle 3.6
  • Latest release for Moodle 3.7
  • Latest release for Moodle 3.8
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
v1.4.2

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit http://yoursite.com/admin to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.