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 turnitin api #5

Merged
merged 13 commits into from
Jan 31, 2024
Merged

feat: add turnitin api #5

merged 13 commits into from
Jan 31, 2024

Conversation

BryanttV
Copy link
Contributor

@BryanttV BryanttV commented Jan 29, 2024

Description

This plugin moves all implementation in the Turnitin Xblock to an API in the plugin.

How to Test

  1. Clone this repo and checkout to this branch.

  2. Install the plugin in your environment.

  3. Add these settings to your environment:

    name: turnitin-settings
    version: 0.1.0
    patches:
      openedx-common-settings: |
        TURNITIN_TII_API_URL = "<YOUR-API-URL>"
        TURNITIN_TCA_INTEGRATION_FAMILY = "MySweetLMS"
        TURNITIN_TCA_INTEGRATION_VERSION = "3.2.4"
        TURNITIN_TCA_API_KEY = "<YOUR-API-KEY>"
  4. Test the endpoints. You can use this Postman collection: plugin-turnitin.postman_collection.json. The endpoint flow you should follow is:

    • Create Access Token
    • Upload File
    • Get Submission
    • Generate Similarity Report
    • Get Similarity Report
    • Get Viewer URL

@BryanttV BryanttV force-pushed the bav/turnitin-api branch 2 times, most recently from 07a062f to eb6d3d5 Compare January 30, 2024 15:46
@BryanttV BryanttV marked this pull request as ready for review January 30, 2024 16:00
@BryanttV BryanttV requested a review from a team January 30, 2024 16:00
@BryanttV BryanttV changed the base branch from main to FG/turnitin_api_test_xblock January 30, 2024 16:05
@BryanttV BryanttV changed the base branch from FG/turnitin_api_test_xblock to main January 30, 2024 16:05
Copy link
Member

@mariajgrimaldi mariajgrimaldi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few questions left to address

@BryanttV BryanttV merged commit 9e837ff into main Jan 31, 2024
5 checks passed
@mariajgrimaldi mariajgrimaldi deleted the bav/turnitin-api branch April 24, 2024 21:34
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.

3 participants