Moodle release 3.11.16
[moodle.git] / plagiarism / upgrade.txt
blobf726421053df39b60ed92a083c6988371ace4048
1 This files describes API changes for code that uses the plagiarism API.
3 === 3.11 ===
4 * Support for Essay question type in Quiz has now been implemented, allowing plagiarism plugins to display information
5   on the quiz overview report and when viewing an essay question response.
6   To implement support, plugins should add a listener to the \mod_quiz\event\attempt_submitted event to send the data
7   to the plagiarism api using the essay question response summary (plain text response from the user).
8   The function plagiarism_get_links should only be called to render the results.
10 === 3.9 ===
12 * The method get_form_elements_module has been deprecated. Please use {plugin name}_coursemodule_edit_post_actions() instead.
13 * The method save_form_elements has been deprecated. Please use {plugin name}_coursemodule_standard_elements() instead.
15 === 3.7 ===
17 * The plagiarism_cron() function has been deleted, plugins should implement their own scheduled tasks.
19 === 3.4 ===
21 * plagiarism_plugin::get_links() now gets passed the unformated content of online assignment
23 === 3.1 ===
25 1) The plagiarism_plugin::plagiarism_cron() and plagiarism_plugin::cron() methods have been deprecated.
26    Plugins should now use scheduled tasks.