UNIMOODLE / moodle-local_notificationsagent

Unimoodle L5 P4
Other
3 stars 1 forks source link

Moodle Notifications Agent Plugin

Introduction

The Moodle Notifications Agent plugin enhances communication within Moodle courses by enabling automatic message delivery based on customizable rules. Developed by the UNIMOODLE consortium of 16 Spanish universities (Valladolid, Complutense de Madrid, País Vasco/EHU, León, Salamanca, Illes Balears, Valencia, Rey Juan Carlos, La Laguna, Zaragoza, Málaga, Córdoba, Extremadura, Vigo, Las Palmas y Burgos). Notifications Agent helps educators keep students informed about important events efficiently.

Project's web page.

Key Features

Who Should Use This?

Ideal for educational institutions and organizations utilizing Moodle, seeking to improve timely and relevant communication with students.

System Requirements

Compatible with Moodle 4.1 and newer versions.

Detailed Documentation

For comprehensive usage instructions, visit the official documentation.

Contribution Guidelines

Contributions are welcome! Please refer to our contributing guidelines on GitHub for more information.

Credits

This plugin is developed and maintained by the UNIMOODLE consortium. Special thanks to all contributors who have helped in its development.

Notifications Agent was designed by UNIMOODLE Universities Group

Notifications Agent was implemented by Moodle's Partner ISYC

This project was funded by the European Union Next Generation Program.

License

This project is licensed under the GNU General Public License. Please see the LICENSE file for details.

2023 UNIMOODLE

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Installation Guide

  1. Download the plugin from the GitHub repository.
  2. Unzip the plugin files into the /local directory of your Moodle installation.
  3. Complete the installation process via the Moodle admin interface.

Installing via uploaded ZIP file

  1. Log in to your Moodle site as an admin and go to Site administration > Plugins > Install plugins.
  2. Upload the ZIP file with the plugin code. You should only be prompted to add extra details if your plugin type is not automatically detected.
  3. Check the plugin validation report and finish the installation.

Plugin testing

PHPUNIT

On your Moodle installation run the command to setup the enviroment:

php admin/tool/phpunit/cli/init.php

This command will run all the test in the plug-in and subplugin suites.

vendor/bin/phpunit --group notificationsagent

If we only need to test one of the suites:

vendor/bin/phpunit --testsuite local_notificationsagent_testsuite

Or one particular test:

vendor/bin/phpunit local/notificationsagent/condition/weekend/tests/weekend_test.php

Some test use some uopz funcionality. Install it with the following commad:

pecl install uopz

For further information, visit:

PHPDOC

Generate Phpdoc documentation. Run this command on plugin directory.

docker run -ti -u $UID:$UID --rm -v $(pwd):/data phpdoc/phpdoc -t phpdoc