From 52857dc7ae7db22ee431c2d2b7748bce8430a492 Mon Sep 17 00:00:00 2001 From: Andrew Chen <52362806+achen4290@users.noreply.github.com> Date: Thu, 18 Jan 2024 09:31:46 -0500 Subject: [PATCH] Correct Autolab spelling (#2055) * Correct Autolab spelling * Corrected additional misspellings of Autolab * Corrected additional miscapitalizations (cherry picked from commit 306ebe5e1971938fc65529598b193ec6b5633d96) --- .env.template | 2 +- .gitignore | 4 ++-- CONTRIBUTING.md | 2 +- app/assets/javascripts/annotations.js | 2 +- app/helpers/assessment_autograde_core.rb | 4 ++-- docs/api-managing-authorized-apps.html | 4 ++-- docs/api-managing-authorized-apps.md | 4 ++-- spec/controllers/courses_controller_spec.rb | 6 +++--- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.env.template b/.env.template index 59edb0f26..e5574aa32 100644 --- a/.env.template +++ b/.env.template @@ -18,7 +18,7 @@ DEVISE_SECRET_KEY= GITHUB_CLIENT_ID= GITHUB_CLIENT_SECRET= -# Used to connect Tango with autolab +# Used to connect Tango with Autolab # Ensure variables are consistent with your Tango install's `config.py` settings # Hostname for Tango RESTful API diff --git a/.gitignore b/.gitignore index 87baa75ed..0d2e490b1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,7 @@ tmp/cache/ tmp/ !tmp/restart.txt -# autolab configs +# Autolab configs config/autogradeConfig.rb assessmentConfig/ courseConfig/ @@ -18,7 +18,7 @@ config/lti_config.yml config/lti_tool_jwk.json config/lti_platform_jwk.json -# autolab user documents +# Autolab user documents #app/views/home/_topannounce.html.erb attachments/ doc/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 31e364926..6e1992bea 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -90,7 +90,7 @@ git rebase origin/master ``` -7. Push branch to autolab repo +7. Push branch to Autolab repo ``` git push origin diff --git a/app/assets/javascripts/annotations.js b/app/assets/javascripts/annotations.js index a8e4d5c76..274d5adc1 100644 --- a/app/assets/javascripts/annotations.js +++ b/app/assets/javascripts/annotations.js @@ -316,7 +316,7 @@ function make_editable($editable) { } -/* Highlights lines longer than 80 characters autolab red color */ +/* Highlights lines longer than 80 characters Autolab red color */ var highlightLines = function (highlight) { var highlightColor = "rgba(255, 255, 0, 0.3)" $("#code-box > .code-table > .code-line > .code").each(function () { diff --git a/app/helpers/assessment_autograde_core.rb b/app/helpers/assessment_autograde_core.rb index 73e1322be..6caadba5a 100644 --- a/app/helpers/assessment_autograde_core.rb +++ b/app/helpers/assessment_autograde_core.rb @@ -321,7 +321,7 @@ def sendJob(course, assessment, submissions, cud) response_json = tango_add_job(course, assessment, upload_file_list, callback_url, job_name, output_file) - # If autolab user opts not to use a callback URL, we poll the job for 80 seconds + # If Autolab user opts not to use a callback URL, we poll the job for 80 seconds if callback_url.blank? tango_poll(course, assessment, submissions, output_file) end @@ -340,7 +340,7 @@ def sendJob(course, assessment, submissions, cud) # Can be overridden in the lab config file. # def autogradeInputFiles(ass_dir, assessment, submission) - # Absolute path names on the local autolab server of the input + # Absolute path names on the local Autolab server of the input # autograding input files: 1) The student's handin file, 2) # The makefile that runs the process, 3) The tarfile with all # of files needed by the autograder. Can be overridden in the diff --git a/docs/api-managing-authorized-apps.html b/docs/api-managing-authorized-apps.html index 6aa9ca704..b51c53c48 100644 --- a/docs/api-managing-authorized-apps.html +++ b/docs/api-managing-authorized-apps.html @@ -1016,8 +1016,8 @@

What this means for users is that you can now use third-party programs to access Autolab to view assignments, download handouts, and even submit your solutions. Rest assured that all developers and their clients will be manually vetted by our team to ensure quality and safety. However, it is still important that you understand how clients interact with your account.

Terminology

Granting access

diff --git a/docs/api-managing-authorized-apps.md b/docs/api-managing-authorized-apps.md index 34ed03b5b..14a583765 100644 --- a/docs/api-managing-authorized-apps.md +++ b/docs/api-managing-authorized-apps.md @@ -6,8 +6,8 @@ What this means for users is that you can now use third-party programs to access ### Terminology -- user: a user of autolab (student/instructor) -- client: a program that uses the autolab api +- user: a user of Autolab (student/instructor) +- client: a program that uses the Autolab api - developer: a person that develops clients ## Granting access diff --git a/spec/controllers/courses_controller_spec.rb b/spec/controllers/courses_controller_spec.rb index e4e100b0f..752ac96e8 100644 --- a/spec/controllers/courses_controller_spec.rb +++ b/spec/controllers/courses_controller_spec.rb @@ -84,7 +84,7 @@ describe "#update_lti_settings" do include_context "controllers shared context" - context "when user is autolab instructor" do + context "when user is Autolab instructor" do before(:each) do instructor = get_instructor_by_cid(course.id) sign_in(instructor) @@ -101,7 +101,7 @@ end describe "#unlink_course" do - context "when user is autolab instructor" do + context "when user is Autolab instructor" do include_context "controllers shared context" before(:each) do instructor = get_instructor_by_cid(course.id) @@ -139,7 +139,7 @@ end describe "#download_roster" do - context "when user is autolab instructor" do + context "when user is Autolab instructor" do include_context "controllers shared context" it "downloads roster" do instructor = get_instructor_by_cid(course.id)