diff --git a/cms/djangoapps/contentstore/rest_api/v2/views/tests/test_downstream_sync_integration.py b/cms/djangoapps/contentstore/rest_api/v2/views/tests/test_downstream_sync_integration.py index ffa8b0fa7089..984d9d87c5eb 100644 --- a/cms/djangoapps/contentstore/rest_api/v2/views/tests/test_downstream_sync_integration.py +++ b/cms/djangoapps/contentstore/rest_api/v2/views/tests/test_downstream_sync_integration.py @@ -168,7 +168,6 @@ def assertXmlEqual(self, xml_str_a: str, xml_str_b: str) -> None: # OLX attributes that will appear on capa problems when saved/exported. Excludes "markdown" standard_capa_attributes = """ markdown_edited="false" - matlab_api_key="null" name="null" rerandomize="never" source_code="null" diff --git a/cms/djangoapps/contentstore/tests/test_export_git.py b/cms/djangoapps/contentstore/tests/test_export_git.py index a986b342041d..1556d641f470 100644 --- a/cms/djangoapps/contentstore/tests/test_export_git.py +++ b/cms/djangoapps/contentstore/tests/test_export_git.py @@ -126,7 +126,7 @@ def test_dirty_repo(self): self.course_block.giturl, self.user) # Make arbitrary change to course to make diff - self.course_block.matlab_api_key = 'something' + self.course_block.display_name = 'something' modulestore().update_item(self.course_block, self.user.id) # Touch a file in the directory, export again, and make sure # the test file is gone diff --git a/cms/envs/mock.yml b/cms/envs/mock.yml index 3b219071ddf1..a43996e0eda9 100644 --- a/cms/envs/mock.yml +++ b/cms/envs/mock.yml @@ -792,14 +792,6 @@ XBLOCK_SETTINGS: ScormXBlock: S3_BUCKET_NAME: scorm STORAGE_FUNC: storage.s3 -XQUEUE_INTERFACE: - basic_auth: - - user - - pass - django_auth: - password: pass - username: user - url: https://xqueue.localhost YOUTUBE_API_KEY: test_youtube ZENDESK_API_KEY: test_zendesk ZENDESK_CUSTOM_FIELDS: diff --git a/cms/lib/xblock/test/test_upstream_sync.py b/cms/lib/xblock/test/test_upstream_sync.py index d32f2fb5809a..cc0069bb14c1 100644 --- a/cms/lib/xblock/test/test_upstream_sync.py +++ b/cms/lib/xblock/test/test_upstream_sync.py @@ -63,12 +63,12 @@ def setUp(self): ' force_save_button="false"' ' graceperiod="1d"' ' grading_method="last_attempt"' - ' matlab_api_key="abc"' ' max_attempts="10"' ' rerandomize=""always""' ' show_correctness="never"' ' show_reset_button="false"' ' showanswer="on_correct"' + ' source_code="abc"' ' submission_wait_seconds="10"' ' use_latex_compiler="false"' ' weight="1"' @@ -250,7 +250,7 @@ def test_sync_updates_to_downstream_only_fields(self): assert downstream.upstream_display_name == "Upstream Problem Title V2" assert downstream.display_name == "Upstream Problem Title V2" assert downstream.rerandomize == '"always"' - assert downstream.matlab_api_key == 'abc' + assert downstream.source_code == 'abc' assert not downstream.use_latex_compiler # These fields are "downstream only", so field defaults are preserved, and values are NOT copied from upstream @@ -275,12 +275,12 @@ def test_sync_updates_to_downstream_only_fields(self): ' force_save_button="false"' ' graceperiod=""' ' grading_method="final_attempt"' - ' matlab_api_key="def"' ' max_attempts="11"' ' rerandomize=""per_student""' ' show_correctness="past_due"' ' show_reset_button="false"' ' showanswer="attempted"' + ' source_code="def"' ' submission_wait_seconds="11"' ' use_latex_compiler="true"' ' weight="2"' @@ -304,7 +304,7 @@ def test_sync_updates_to_downstream_only_fields(self): # Modifying synchronized fields are "unsafe" customizations downstream.rerandomize = '"onreset"' - downstream.matlab_api_key = 'hij' + downstream.source_code = 'hij' save_xblock_with_callback(downstream, self.user) # Follow-up sync. @@ -313,7 +313,7 @@ def test_sync_updates_to_downstream_only_fields(self): # "unsafe" customizations are overridden by upstream assert downstream.upstream_display_name == "Upstream Problem Title V3" assert downstream.rerandomize == '"per_student"' - assert downstream.matlab_api_key == 'def' + assert downstream.source_code == 'def' assert downstream.use_latex_compiler # but "safe" customizations survive diff --git a/cms/templates/export.html b/cms/templates/export.html index 44922b5eedb7..d5872c25dc4e 100644 --- a/cms/templates/export.html +++ b/cms/templates/export.html @@ -48,7 +48,7 @@

${_("About Exporting Courses")}

${_("You can export courses and edit them outside of {studio_name}. The exported file is a .tar.gz file (that is, a .tar file compressed with GNU Zip) that contains the course structure and content. You can also re-import courses that you've exported.").format( studio_name=settings.STUDIO_SHORT_NAME )}

-

${Text(_("{em_start}Caution:{em_end} When you export a course, information such as MATLAB API keys, LTI passports, annotation secret token strings, and annotation storage URLs are included in the exported data. If you share your exported files, you may also be sharing sensitive or license-specific information.")).format( +

${Text(_("{em_start}Caution:{em_end} When you export a course, information such as LTI passports, annotation secret token strings, and annotation storage URLs are included in the exported data. If you share your exported files, you may also be sharing sensitive or license-specific information.")).format( em_start=HTML(''), em_end=HTML("") )}

@@ -151,7 +151,7 @@

em_end=HTML("") )}

${_("The following content is not exported.")}

${_("The following content is not imported.")}