moodle-plagiarism_turnitinsim's People
moodle-plagiarism_turnitinsim's Issues
registryConf.module.create is not a function error when trying to display EULA
I'm running Moodle 4.3, which produces a warning saying the modal_factory has been deprecated (but it should still work). I'm running the latest release of turnitinsim under the Boost theme.
Whenever a user tries to display the EULA, there is a JavaScript error in the console saying the above, and clicking on the "show me the eula" link appears to do nothing.
There is no way therefore to accept the EULA.
Is there a quick fix please?
Thanks!
Jules.
Upgrade fails over CLI
Hi,
Just tried to upgrade from 2020092301
(pre-predecessor version) to the2021030201
(actual version) .
Notice: we did not upgrade to the last version, because of the bug reported here.
As we usually do, we started the upgrade over admin/cli/upgrade.php
, which is now broken because of the following error:
[vagrant@moodle public_html]$ php admin/cli/upgrade.php
== Upgrading Moodle database from version 3.5.16 (Build: 20210118) (2018051716) to 3.5.16 (Build: 20210118) (2018051716) ==
Your Moodle files have been changed, and you are about to automatically
upgrade your server to this version:
3.5.16 (BUILD: 20210118) (2018051716)
Once you do this you can not go back again. Please note that this process
can take a long time.
Are you sure you want to upgrade this server to this version?
type y (means yes) or n (means no)
: y
-->plagiarism_turnitinsim
Default exception handler: Exception - Class 'handle_deprecation' not found Debug:
Error code: generalexceptionmessage
* line 310 of /plagiarism/turnitinsim/db/upgrade.php: Error thrown
* line 632 of /lib/upgradelib.php: call to xmldb_plagiarism_turnitinsim_upgrade()
* line 1857 of /lib/upgradelib.php: call to upgrade_plugins()
* line 182 of /admin/cli/upgrade.php: call to upgrade_noncore()
!!! Exception - Class 'handle_deprecation' not found !!!
!!
Error code: generalexceptionmessage !!
!! Stack trace: * line 310 of /plagiarism/turnitinsim/db/upgrade.php: Error thrown
* line 632 of /lib/upgradelib.php: call to xmldb_plagiarism_turnitinsim_upgrade()
* line 1857 of /lib/upgradelib.php: call to upgrade_plugins()
* line 182 of /admin/cli/upgrade.php: call to upgrade_noncore()
!!
The upgrade goes well via user interface
foreach() argument must be of type array|object, null given
We see this in our log files (PHP 8.0, Moodle 4.2.2)
[05-Sep-2023 13:59:32 Europe/Amsterdam] PHP Warning: foreach() argument must be of type array|object, null given in /home/learn/public_html/plagiarism/turnitinsim/backup/moodle2/restore_plagiarism_turnitinsim_plugin.class.php on line 115
Quiz preview is broken
Create a quiz with Turnitin similarity reports enabled and a few essay questions.
Preview the quiz and answer the questions.
Submit all and finish.
Turnitin returns the following:
Can't find data record in database table quiz_attempts.
More information about this error
× Debug info: SELECT * FROM {quiz_attempts} WHERE id = ?
[array (
0 => '160',
)]
Error code: invalidrecord
× Stack trace:
line 1654 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1630 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 671 of /mod/quiz/attemptlib.php: call to moodle_database->get_record()
line 689 of /mod/quiz/attemptlib.php: call to quiz_attempt::create_helper()
line 865 of /plagiarism/turnitinsim/lib.php: call to quiz_attempt::create()
line 676 of /plagiarism/turnitinsim/lib.php: call to plagiarism_plugin_turnitinsim->quiz_handler()
line 370 of /plagiarism/turnitinsim/lib.php: call to plagiarism_plugin_turnitinsim->submission_handler()
line 48 of /lib/plagiarismlib.php: call to plagiarism_plugin_turnitinsim->get_links()
line 72 of /question/type/essay/renderer.php: call to plagiarism_get_links()
line 403 of /question/engine/renderer.php: call to qtype_essay_renderer->formulation_and_controls()
line 108 of /question/engine/renderer.php: call to core_question_renderer->formulation()
line 113 of /question/behaviour/behaviourbase.php: call to core_question_renderer->question()
line 907 of /question/engine/questionattempt.php: call to question_behaviour->render()
line 461 of /question/engine/questionusage.php: call to question_attempt->render()
line 1783 of /mod/quiz/attemptlib.php: call to question_usage_by_activity->render_question()
line 1745 of /mod/quiz/attemptlib.php: call to quiz_attempt->render_question_helper()
line 187 of /mod/quiz/renderer.php: call to quiz_attempt->render_question()
line 56 of /mod/quiz/renderer.php: call to mod_quiz_renderer->questions()
line 264 of /mod/quiz/review.php: call to mod_quiz_renderer->review_page()
What it's doing is calling the quiz_attempt::create function and sending the uniqueid of the quiz instead of the id.
I'm going to go ahead and fix this and submit a pull request as we cannot wait for you guys to do it.
Turnitin-icon missing from file submission row
Students can not upload a file if an assignment was posted with a file attachment by the teacher
After installing the 3/3/2021 updated plugin students are no longer able to upload a file as part of an assignment submission if the assignment was posted with a file attachment from the teacher.
Steps to replicate:
Create an assignment as a teacher, post assignment with an attachment, or access an existing assignment that has an attachment
Switch to student
Upload a file for submission to the assignment
The "save changes" button will not function.
Issue appeared immediately after installation of the updated plugin
Default settings in site administration
Hi,
We would like to make default settings for the plugin that will be used for each new assignment.
-
It is possible to make a preselection under "Generate Similarity Reports", but this does not apply to the other elements.
-
For the other elements, it is only possible to set defaults when Turnitin has been activated for all assignments. However, we cannot use that, because not all assignments should be checked with Turnitin. Turnitin should be activated manually for each assignment.
It would therefore be very helpful for us if there were the possibility to set Turnitin default settings (see screenshot) without activating Turnitin for all courses.
Many thanks and best regards
Maria
Moodle | Assignment activity | Settings do not remain enabled during back up and restore on different Moodle instances
We are using Moodle 3.7.2+ (Build 20190920)
The Turnitin plugin is configured correctly and enabled across all our Moodle instances. We use the same API key and URL across the board (same integration).
We have a Moodle instance that houses our master shells or courses that are backed up and restored to our production Moodle instances.
The master shells have Turnitin enabled for all assignment activities. The new iterations do not carry over the activity settings for Turnitin from one Moodle instance to another. The plugin needs to be manually enabled for all assignment activities for each new course (iteration). This is not scalable.
Is there a way we can retain Turnitin as enabled on assignment activities when restoring?
Issue with Plugin Setting
Hi!
I installed the latest plugin on my site and when I click on settings in plugin overview section, it takes me to https://my.moodle.site/settings.php which gives a 404 error as such page doesn't exist. Generally all the other plugins call for settings.php at admin/settings.php with some parameter.
Kindly look into it.
Feedback files in assignment activity
in an assignment activity, teachers can upload files as feedback on the files already submitted (and graded)
If Turnitin is enabled in the assignment activity, these feedback files are also checked for plagiarism, which makes no sense.
These files should be excluded from plagiarism checking.
TII Integrity plugin breaks amending default activity completion
Plugin version: v1.2 2021030901
Going to a course > Edit course completion > Select 'Default Activity Completion' > Pick an assignment activity and click 'Edit'
This error appears:
Coding error detected, it must be fixed by a programmer: JavaScript collection has already been started.
More information about this error
×Debug info:
Error code: codingerror
×Stack trace:
line 900 of /lib/pagelib.php: coding_exception thrown
line 86 of /completion/classes/defaultedit_form.php: call to moodle_page->start_collecting_javascript_requirements()
line 109 of /completion/classes/defaultedit_form.php: call to core_completion_defaultedit_form->get_module_form()
line 214 of /lib/formslib.php: call to core_completion_defaultedit_form->definition()
line 56 of /course/editdefaultcompletion.php: call to moodleform->__construct()
Turning off these allows the page to work normally:
numerous warnings whenever creating, editing or saving activities
Observed in
- Moodle version 3.9.9 when debug mod is active
- Turnitinsim Plugin version: 2021030901
Turnitin generates numerous warnings whenever creating, editing or saving activities. Generally, these warnings appear whether Turnitin is activated or not.
Case 1: Creating and saving an activity (except Assignment) in a course
Steps to reproduce the warning below:
Add an Activity or Resource (as a teacher or manager) > Choose any except for Assignment (Tested with: Label, Group Choice, Scheduler) > Add the required information > Save and Return to Course.
Steps to reproduce the warning below:
Edit any Activity (as a teacher or manager) > Save and Return to Course
The activity can be saved after clicking Continue and ignoring the warnings.
Case 2: Creating and saving an Assignment with or without Turnitin enabled
Steps to reproduce the warning below:
Add an activity or resource (as teacher or manager) > Assignment > Directly when first creating the assingment or when editing any existing assignment activity (as teacher or manager), the following warnings appear:
Steps to reproduce the warning below:
Save and Return to Course in the Assignment just created, irrespective of whether Turnitin is enabled or not - or simply edit an existing visible assignment activitiy > Save and Return to Course
Steps to reproduce the warning below:
Edit a hidden Assignment activity (as teacher or manager) > Save and Return to Course
It is possible to click Continue and the assignment is created or saved normally.
Case 3: Uploading a file to an assignment
Steps to reproduce the warning below:
Open a currently open assignment (as student), irrespective of whether Turnitin is enabled or not > Continue to the „add submission“ window
Steps to reproduce the warning below:
Add a submission file and Save (as student) to the assignment created before, irrespective of whether Turnitin is enabled or not
Case 4: Viewing submissions
Steps to reproduce the warning below:
Go to the assignment created before (as teacher or manager), no matter if Turnitin is enabled or not > View all submissionsORGo to the assignment created before, irrespective of whether Turnitin is enabled or not (as student) > Edit submission
Need to add AI score to Moodle Assignment and Discussion Pages
We have a situation where a student has been getting low percentage scores on their discussion posts but receiving 100% AI scores. Professors aren't going into the Turnitin Reports to review the AI score because there is no warning on the assignment or discussion pages letting professors know there is an issue. We'd love to see a second score under student content that indicates the AI score as we are highly concerned with AI usage and cheating. Is this possible to add to the plugin?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.