Moodle Plugins directory: Unimoodle Certifygen: Versions: v0.0.1 | Moodle.org
Unimoodle Certifygen
Unimoodle Certifygen v0.0.1
Code prechecks
![]()
Certifygen Custom Course Certificate Mod
Generation of PDF certificates with connection to digital signature systems and modular storage
Compatibility
The plugin has been tested on the following versions:
- Moodle 4.1.1 (Build: 20230116) - 2022112801.00
Requirements
- User configuration and REST Web Services
- Admin tool certificate v2024042300 or higher.
Languages
- English
- Spanish
- Catalan
- Euskera
- Galego
Installation via uploaded ZIP file
- Log in to your Moodle site as an administrator and go to Site Administration > Plugins > Install plugins.
- Upload the ZIP file with the plugin code. You should only be asked to add additional details if your plugin type is not automatically detected.
- Verify the plugin validation report and complete the installation.
Manual Installation
The plugin can also be installed by placing the contents of this directory in
{your/moodle/dirroot}/mod/certifygen
Then, log in to your Moodle site as an administrator and go to Site Administration > Notifications to complete the installation.
Alternatively, you can run
php admin/cli/upgrade.php
to complete the installation from the command line.
Global Configuration
{your/moodle/dirroot}/admin/settings.php?section=modsettingcertifygen
CLI Executions
Subplugins
Certifygen validation
- certifygenvalidation_cmd
- certifygenvalidation_csv
- certifygenvalidation_electronic
- certifygenvalidation_none
Certifygen report
- certifygenreport_basic
Certifygen repository
- certifygenrepository_csv
- certifygenrepository_localrepository
- certifygenrepository_onedrive
Tasks
Check status
There is a task, checkstatus, that is recomended to enable it when the validation subplugin used does not validate inmediately the certificate. This task verify the status of the certificate on the external aplication used by the validation subplugin.
php {your/moodle/dirroot}/admin/cli/scheduled_task.php --execute=\mod_certifygen\task\checkstatus
Check file
There is a task, checkfile, that is recomended to enable it when the validation subplugin used does not receive inmediately the certificate. This task get the certificate from the external aplication used by the validation subplugin.
php {your/moodle/dirroot}/admin/cli/scheduled_task.php --execute=\mod_certifygen\task\checkfile
Check error
There is a task, checkerror. It is responsible for searching for error states in the validation processes and returning them to the not started state, so that the user can start the process again.
php {your/moodle/dirroot}/admin/cli/scheduled_task.php --execute=\mod_certifygen\task\checkerror
Database Tables
- certifygen
Contains definitions about certifygens * certifygen_model
Contains information about stores each certifygen models * certifygen_context
Contains information about stores each context of a certifygen * certifygen_validations
Contains information about stores each validation of a certifygen
- certifygen_repository
Contains information about sotores certificate url
- certifygen__error
Contains information about stores certificate errors
Unit Test
You can run unit tests manually with the following command
php {your/moodle/dirroot}/vendor/bin/phpunit --testsuite mod_certifygen_testsuite
Version information
- Version build number
- 2024102500
- Version release name
- v0.0.1
- Maturity
- Beta
- MD5 Sum
- ca729af29ad6ac9c04c6cd2138f6efea
- Supported software
- Moodle 4.1
- Latest release for Moodle 4.1
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
Default installation instructions for plugins of the type Activities
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "assignment") in the "mod" subdirectory.
- Visit http://yoursite.com/admin to finish the installation