Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ora filter for submission step rendering #13

Conversation

BryanttV
Copy link

@BryanttV BryanttV commented Feb 6, 2024

Description

This PR triggers the ORA submission view filter. This filter changes the default template by a custom template with a warning message notifying the student that the Turnitin plagiarism check is enabled.

How to Test

  1. Install this xblock with changes in this branch in the LMS/CMS services.

  2. Install openedx-filters in the LMS/CMS services with these changes

  3. Install platform-plugin-turnitin in the LMS/CMS services with these changes

  4. Add the Open edX Filters configuration to your environment. You can use this inline plugin:

    name: filters-settings
    version: 0.1.0
    patches:
      openedx-common-settings: |
        OPEN_EDX_FILTERS_CONFIG = {
          "org.openedx.learning.ora.submission_view.render.started.v1": {
            "fail_silently": False,
            "pipeline": [
              "platform_plugin_turnitin.extensions.filters.ORASubmissionViewTurnitinWarning",
            ]
          },
        }
  5. Restart services

  6. In a unit of the course create a new ora assessment.

  7. In the LMS, in the submission step (1. Your Response), you'll see:

    image

@BryanttV BryanttV force-pushed the bav/ora-submission-view-filter branch from f369257 to 31ec762 Compare February 6, 2024 23:11
@BryanttV BryanttV changed the base branch from master to bav/add-created-submission-event February 6, 2024 23:11
@BryanttV BryanttV marked this pull request as ready for review February 6, 2024 23:11
@BryanttV BryanttV force-pushed the bav/ora-submission-view-filter branch 2 times, most recently from 395e8fc to 84060a5 Compare February 7, 2024 16:32
@BryanttV BryanttV force-pushed the bav/add-created-submission-event branch from af1a383 to ca9fd21 Compare April 11, 2024 02:27
@BryanttV BryanttV force-pushed the bav/ora-submission-view-filter branch 5 times, most recently from efd510f to 8a2b120 Compare April 11, 2024 17:57
@BryanttV BryanttV force-pushed the bav/add-created-submission-event branch 2 times, most recently from 0e49f33 to 4547106 Compare April 11, 2024 18:50
@BryanttV BryanttV force-pushed the bav/ora-submission-view-filter branch 3 times, most recently from 0181c8b to 3f8408a Compare April 15, 2024 13:47
@BryanttV BryanttV force-pushed the bav/add-created-submission-event branch 2 times, most recently from de5209c to d3047c4 Compare April 15, 2024 15:26
@BryanttV BryanttV force-pushed the bav/ora-submission-view-filter branch from 3f8408a to 6ba12da Compare April 15, 2024 15:27
@BryanttV BryanttV force-pushed the bav/add-created-submission-event branch from 45f6daa to 00f9f65 Compare April 16, 2024 14:11
@BryanttV BryanttV force-pushed the bav/ora-submission-view-filter branch from f4156f2 to 5ca3093 Compare April 17, 2024 14:11
@BryanttV BryanttV force-pushed the bav/add-created-submission-event branch 2 times, most recently from 2053983 to 8a2d520 Compare April 17, 2024 15:00
@BryanttV BryanttV force-pushed the bav/ora-submission-view-filter branch from 5ca3093 to 345869a Compare April 17, 2024 15:01
@BryanttV BryanttV force-pushed the bav/ora-submission-view-filter branch from 345869a to 8ced069 Compare April 17, 2024 15:09
@BryanttV BryanttV force-pushed the bav/add-created-submission-event branch 4 times, most recently from 0851e36 to a3c821b Compare April 18, 2024 20:00
@BryanttV
Copy link
Author

These changes are already in master 💯

@BryanttV BryanttV closed this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants