1 |
efrain |
1 |
This files describes API changes for code that uses the plagiarism API.
|
|
|
2 |
|
|
|
3 |
=== 4.2 ===
|
|
|
4 |
* Final deprecation and removal of the following functions:
|
|
|
5 |
- plagiarism_save_form_elements(), please use {plugin name}_coursemodule_edit_post_actions() instead.
|
|
|
6 |
- plagiarism_get_form_elements_module(), please use {plugin name}_coursemodule_standard_elements() instead.
|
|
|
7 |
- plagiarism_plugin::get_form_elements_module(), please use {plugin name}_coursemodule_edit_post_actions() instead.
|
|
|
8 |
- plagiarism_plugin::save_form_elements(), please use {plugin name}_coursemodule_standard_elements() instead.
|
|
|
9 |
|
|
|
10 |
=== 4.0 ===
|
|
|
11 |
* The method update_status() has been deprecated. Please use {plugin name}_before_standard_top_of_body_html() instead.
|
|
|
12 |
* The method get_configs() has been deprecated and will be removed from the abstract class as it was not used in core.
|
|
|
13 |
* The method plagiarism_get_file_results has been deprecated - it was not used in core - please call a plagiarism
|
|
|
14 |
plugins internal functions directly instead of using this function.
|
|
|
15 |
|
|
|
16 |
=== 3.11 ===
|
|
|
17 |
* Support for Essay question type in Quiz has now been implemented, allowing plagiarism plugins to display information
|
|
|
18 |
on the quiz overview report and when viewing an essay question response.
|
|
|
19 |
To implement support, plugins should add a listener to the \mod_quiz\event\attempt_submitted event to send the data
|
|
|
20 |
to the plagiarism api using the essay question response summary (plain text response from the user).
|
|
|
21 |
The function plagiarism_get_links should only be called to render the results.
|
|
|
22 |
|
|
|
23 |
=== 3.9 ===
|
|
|
24 |
|
|
|
25 |
* The method get_form_elements_module has been deprecated. Please use {plugin name}_coursemodule_standard_elements() instead.
|
|
|
26 |
* The method save_form_elements has been deprecated. Please use {plugin name}_coursemodule_edit_post_actions() instead.
|
|
|
27 |
|
|
|
28 |
=== 3.7 ===
|
|
|
29 |
|
|
|
30 |
* The plagiarism_cron() function has been deleted, plugins should implement their own scheduled tasks.
|
|
|
31 |
|
|
|
32 |
=== 3.4 ===
|
|
|
33 |
|
|
|
34 |
* plagiarism_plugin::get_links() now gets passed the unformated content of online assignment
|
|
|
35 |
|
|
|
36 |
=== 3.1 ===
|
|
|
37 |
|
|
|
38 |
1) The plagiarism_plugin::plagiarism_cron() and plagiarism_plugin::cron() methods have been deprecated.
|
|
|
39 |
Plugins should now use scheduled tasks.
|