{"id":20156101,"url":"https://github.com/openfun/xblock-proctor-exam","last_synced_at":"2025-04-09T22:21:03.725Z","repository":{"id":54542717,"uuid":"171489094","full_name":"openfun/xblock-proctor-exam","owner":"openfun","description":"Xblock to integrate Open edX with ProctorExam","archived":false,"fork":false,"pushed_at":"2021-02-11T18:55:06.000Z","size":238,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-24T00:14:12.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openfun.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-19T14:33:22.000Z","updated_at":"2024-03-19T09:35:19.000Z","dependencies_parsed_at":"2022-08-13T19:10:38.286Z","dependency_job_id":null,"html_url":"https://github.com/openfun/xblock-proctor-exam","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfun%2Fxblock-proctor-exam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfun%2Fxblock-proctor-exam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfun%2Fxblock-proctor-exam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openfun%2Fxblock-proctor-exam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openfun","download_url":"https://codeload.github.com/openfun/xblock-proctor-exam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248120061,"owners_count":21050886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T23:37:34.624Z","updated_at":"2025-04-09T22:21:03.703Z","avatar_url":"https://github.com/openfun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Proctor Exam Xblock\n=========================\n\nXblock restricting access to course test to Proctor Exam monitoring process.\n\n[![CircleCI](https://circleci.com/gh/openfun/xblock-proctor-exam/tree/master.svg?style=svg)](https://circleci.com/gh/openfun/xblock-proctor-exam/tree/master)\n\n## Installation\n\nInstall this package with `pip` using FUN package index _via_:\n\n```bash\n$ pip install --extra-index-url https://pypi.fury.io/openfun xblock-proctor-exam\n```\n\nAlternatively, if you intend to work on this project, clone this repository\nfirst, and then make an editable installation _via_:\n\n```bash\n$ pip install -e \".[dev]\"\n```\n\n## Configuration\n\nProctor Exam xblock relies on [Configurable LTI Consumer](https://github.com/openfun/xblock-configurable-lti-consumer)\nwhich should also be installed in Python environment, therefore it also use its Django settings for configuration,\nsee [Configurable LTI Consumer documentation](https://github.com/openfun/xblock-configurable-lti-consumer/blob/master/README.md#configuration-examples).\n\nA typical Proctor Exam LTI configuration should look like this:\n\n```python\nLTI_XBLOCK_CONFIGURATIONS = [\n    {\n        \"shared_secret\": \"TestSharedSecret\",\n        \"oauth_consumer_key\": \"TestOauthConsumerKey\",\n        \"display_name\": \"\",  # this is required to let xblock register itself in studio\n        \"is_launch_url_regex\": False,\n        \"automatic_resizing\": None,\n        \"inline_ratio\": None,\n        \"ignore_configuration\": True,\n        \"show_button\": False,\n        \"pattern\": \".*fun\\.proctorexam\\.com/lti\\?id=(?P\u003cexam_id\u003e[0-9]+)\",\n        \"hidden_fields\": [\n            \"display_name\",\n            \"description\",\n            \"lti_id\",\n            \"launch_target\",\n            \"inline_height\",\n            \"accept_grades_past_due\",\n            \"ask_to_send_username\",\n            \"ask_to_send_email\",\n            \"custom_parameters\",\n            \"has_score\",\n            \"hide_launch\",\n            \"modal_height\",\n            \"modal_width\",\n            \"weight\",\n            \"button_text\"\n        ],\n        \"defaults\": {\n            \"launch_target\": \"new_window\",\n            \"lti_id\": \"proctor_exam\",\n        },\n    }]\n```\n\n`configurable-lti-provide` also allows to set LTI OAuth credentials in LTI_XBLOCK_CONFIGURATION,\nor in an other constant LTI_XBLOCK_SECRETS which then can be stored in encrypted vault.\n\n```python\nLTI_XBLOCK_SECRETS = {\n    \"proctor_exam\": {\n        \"shared_secret\": \"TestSharedSecret\",\n        \"oauth_consumer_key\": \"TestOauthConsumerKey\",\n    }\n}\n```\n\nOr they can be set at course level in advanced settings\n\nAdd finally, `proctor_exam` to the list of advanced modules in the\n\"advanced settings\" of a course.\n\n\nPlease note that the workbench included in the present repository is running a standard configuration with fake credentials. (see [config/settings.yml.dist](./config/settings.yml.dist))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfun%2Fxblock-proctor-exam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenfun%2Fxblock-proctor-exam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenfun%2Fxblock-proctor-exam/lists"}