MDL-75471 libraries: upgrade to version 1.8.0 of loglevel.
[moodle.git] / plagiarism / upgrade.txt
blobe871f36ddf61c34177776c6685111b08659fdbd2
1 This files describes API changes for code that uses the plagiarism API.
3 === 4.0 ===
4 * The method update_status() has been deprecated. Please use {plugin name}_before_standard_top_of_body_html() instead.
5 * The method get_configs() has been deprecated and will be removed from the abstract class as it was not used in core.
6 * The method plagiarism_get_file_results has been deprecated - it was not used in core - please call a plagiarism
7   plugins internal functions directly instead of using this function.
9 === 3.11 ===
10 * Support for Essay question type in Quiz has now been implemented, allowing plagiarism plugins to display information
11   on the quiz overview report and when viewing an essay question response.
12   To implement support, plugins should add a listener to the \mod_quiz\event\attempt_submitted event to send the data
13   to the plagiarism api using the essay question response summary (plain text response from the user).
14   The function plagiarism_get_links should only be called to render the results.
16 === 3.9 ===
18 * The method get_form_elements_module has been deprecated. Please use {plugin name}_coursemodule_edit_post_actions() instead.
19 * The method save_form_elements has been deprecated. Please use {plugin name}_coursemodule_standard_elements() instead.
21 === 3.7 ===
23 * The plagiarism_cron() function has been deleted, plugins should implement their own scheduled tasks.
25 === 3.4 ===
27 * plagiarism_plugin::get_links() now gets passed the unformated content of online assignment
29 === 3.1 ===
31 1) The plagiarism_plugin::plagiarism_cron() and plagiarism_plugin::cron() methods have been deprecated.
32    Plugins should now use scheduled tasks.