diff --git a/cms/djangoapps/api/v1/views/course_runs.py b/cms/djangoapps/api/v1/views/course_runs.py index 7b27193d17..31c30d2d13 100644 --- a/cms/djangoapps/api/v1/views/course_runs.py +++ b/cms/djangoapps/api/v1/views/course_runs.py @@ -123,7 +123,7 @@ class CourseRunViewSet(viewsets.GenericViewSet): # lint-amnesty, pylint: disabl **Response Values** If the request parameters are valid and a course has been cloned - succesfully, an HTTP 201 "Created" response is returned. + successfully, an HTTP 201 "Created" response is returned. If source course id and/or destination course id are invalid, or source course doesn't exist, or destination course already exist, diff --git a/cms/djangoapps/contentstore/management/commands/reindex_course.py b/cms/djangoapps/contentstore/management/commands/reindex_course.py index 275eff5062..0bd52b6cc1 100644 --- a/cms/djangoapps/contentstore/management/commands/reindex_course.py +++ b/cms/djangoapps/contentstore/management/commands/reindex_course.py @@ -177,7 +177,7 @@ class Command(BaseCommand): logging.exception('Error indexing course %s due to the error: %s.', course_key, exc) t = time() - start - logging.warning(f'{success} of {total} courses reindexed succesfully. Total running time: {t:.1f} seconds.') + logging.warning(f'{success} of {total} courses reindexed successfully. Total running time: {t:.1f} seconds.') if errors: logging.warning('Reindex failed for %s courses:', len(errors)) for course_key in errors: diff --git a/common/static/common/js/spec/components/feedback_spec.js b/common/static/common/js/spec/components/feedback_spec.js index f9a74a620d..c8a40a50ef 100644 --- a/common/static/common/js/spec/components/feedback_spec.js +++ b/common/static/common/js/spec/components/feedback_spec.js @@ -93,7 +93,7 @@ expect(noIntent).toThrow(); return expect(both).not.toThrow(); }); - it('does not show on initalize', function() { + it('does not show on initialize', function() { var view; view = new AlertView.Confirmation(this.options); expect(this.renderSpy).not.toHaveBeenCalled(); diff --git a/lms/djangoapps/courseware/tests/test_word_cloud.py b/lms/djangoapps/courseware/tests/test_word_cloud.py index 8e225e1433..286ebfcde0 100644 --- a/lms/djangoapps/courseware/tests/test_word_cloud.py +++ b/lms/djangoapps/courseware/tests/test_word_cloud.py @@ -113,7 +113,7 @@ class _TestWordCloudBase(BaseTestXmodule): self.assertListEqual(top_words_content, top_words_correct) def test_initial_state(self): - """Inital state of word cloud is correct. Those state that + """Initial state of word cloud is correct. Those state that is sended from server to frontend, when students load word cloud page. """ @@ -135,7 +135,7 @@ class _TestWordCloudBase(BaseTestXmodule): assert response_content == correct_initial_data def test_post_words(self): - """Students can submit data succesfully. + """Students can submit data successfully. Word cloud data properly updates after students submit. """ input_words = [ @@ -178,16 +178,16 @@ class _TestWordCloudBase(BaseTestXmodule): def test_collective_users_submits(self): """Test word cloud data flow per single and collective users submits. - Make sures that: + Makes sure that: - 1. Inital state of word cloud is correct. Those state that + 1. Initial state of word cloud is correct. Those state that is sended from server to frontend, when students load word cloud page. - 2. Students can submit data succesfully. + 2. Students can submit data successfully. 3. Next submits produce "already voted" error. Next submits for user - are not allowed by user interface, but techically it possible, and + are not allowed by user interface, but technically it possible, and word_cloud should properly react. 4. State of word cloud after #3 is still as after #2. diff --git a/lms/static/js/wiki/CodeMirror.init.js b/lms/static/js/wiki/CodeMirror.init.js index 934b6d88c5..c6a5bfc00a 100644 --- a/lms/static/js/wiki/CodeMirror.init.js +++ b/lms/static/js/wiki/CodeMirror.init.js @@ -7,7 +7,7 @@ $(document).ready(function() { keyMap: 'accessible' }); - // Store the inital contents so we can compare for unsaved changes + // Store the initial contents so we can compare for unsaved changes var initialContents = editor.getValue(); // The Wiki associates a label with the text area that has ID "id_content". However, when we swap in diff --git a/openedx/core/djangoapps/safe_sessions/middleware.py b/openedx/core/djangoapps/safe_sessions/middleware.py index 950a3e08c5..60de38284a 100644 --- a/openedx/core/djangoapps/safe_sessions/middleware.py +++ b/openedx/core/djangoapps/safe_sessions/middleware.py @@ -121,7 +121,7 @@ LOG_REQUEST_USER_CHANGES = getattr(settings, 'LOG_REQUEST_USER_CHANGES', False) # headers will be logged for all requests up until LOG_REQUEST_USER_CHANGE_HEADERS_DURATION seconds after # the time of the last mismatch. The header details will be encrypted, and only available with the private key. # .. toggle_warning: Logging headers of subsequent requests following a mismatch will only work if -# LOG_REQUEST_USER_CHANGES is enabled and ENFORCE_SAFE_SESSIONS is disabled; otherwise, only headers of the inital +# LOG_REQUEST_USER_CHANGES is enabled and ENFORCE_SAFE_SESSIONS is disabled; otherwise, only headers of the initial # mismatch will be logged. Also, SAFE_SESSIONS_DEBUG_PUBLIC_KEY must be set. See # https://github.com/openedx/edx-platform/blob/master/common/djangoapps/util/log_sensitive.py # for instructions. diff --git a/openedx/core/djangoapps/user_api/management/commands/retire_user.py b/openedx/core/djangoapps/user_api/management/commands/retire_user.py index f1ef928e27..e2db5c48b3 100644 --- a/openedx/core/djangoapps/user_api/management/commands/retire_user.py +++ b/openedx/core/djangoapps/user_api/management/commands/retire_user.py @@ -170,4 +170,4 @@ class Command(BaseCommand): error_message = f'500 error deactivating account: {exc}' logger.error(error_message) raise CommandError(error_message) # lint-amnesty, pylint: disable=raise-missing-from - logger.info("User succesfully moved to the retirment pipeline") + logger.info("User successfully moved to the retirement pipeline") diff --git a/openedx/core/djangoapps/user_authn/utils.py b/openedx/core/djangoapps/user_authn/utils.py index 1ed91efd71..e5a75637ec 100644 --- a/openedx/core/djangoapps/user_authn/utils.py +++ b/openedx/core/djangoapps/user_authn/utils.py @@ -38,7 +38,7 @@ def is_safe_login_or_logout_redirect(redirect_to, request_host, dot_client_id, r This is always considered an acceptable redirect target. dot_client_id (str|None): ID of Django OAuth Toolkit client. - It is acceptable to redirect to any of the DOT client's redirct URIs. + It is acceptable to redirect to any of the DOT client's redirect URIs. This argument is ignored if it is None. require_https (str): Whether HTTPs should be required in the redirect URL.