Hi all,😀
Thanks to Andrew Caya
and the University of Montreal, the course templates plugin got a
huge update:
- Non-admin users (a Category Manager for example) will be able to create a course from a template
- Usage of standard Moodle forms for most of the plugin's forms.
- Client-side and server-side validation on all forms,
- Support for long-lasting course creation processes
- Moodle notifications when the course creation process fails
- French version of all translated strings submitted to the Amos database.
- Standard Moodle installation procedure,
- Silent upgrade for current users ($oldversion < 2021121500),
- Adds the 'Course templates' category if none is found (applies to both installation and upgrade procedures).
Also codewise, pluign got imrproved
- Fix of translation strings.
- All hard-coded strings were replaced with the 'get_string' function,
- English strings were mostly reordered alphabetically (only a few minor changes),
- Modifies files to match Moodle coding rules (PHPCodeSniffer/PHPCBF/Moodle CodeChecker),
- Adds and modifies DocBlocks in order to comply to Moodle DocBlock rules (PHPDocumentor/PHPDoc Checker)
The plugin can be found here: https://moodle.org/plugins/local_course_templates
Happy course templating!
Flotter