From 2d8e72c6a061a60779b7acb50063736e1827bcfb Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Wed, 17 Jan 2024 17:37:25 -0500 Subject: [PATCH 1/3] Correct Autolab spelling --- app/views/layouts/application.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 75b886910..69b748e47 100755 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -84,7 +84,7 @@ <% end %> From aa71c25bf6e9eee632412722eff50d07dbfb8890 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Wed, 17 Jan 2024 17:50:42 -0500 Subject: [PATCH 2/3] Corrected additional misspellings of Autolab --- .env.template | 2 +- docs/api-managing-authorized-apps.html | 4 ++-- docs/api-managing-authorized-apps.md | 4 ++-- spec/controllers/courses_controller_spec.rb | 6 +++--- 4 files changed, 8 insertions(+), 8 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/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

    -
  • 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/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) From af6b6b9b822065c5f79d6c04e0881ed0a930fe3d Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Wed, 17 Jan 2024 18:15:16 -0500 Subject: [PATCH 3/3] Corrected additional miscapitalizations --- .gitignore | 4 ++-- CONTRIBUTING.md | 2 +- app/assets/javascripts/annotations.js | 2 +- app/helpers/assessment_autograde_core.rb | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 2890d0e99..030d705d6 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 ac526c14b..05a0343a0 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 f43cce766..e0f88d19b 100644 --- a/app/helpers/assessment_autograde_core.rb +++ b/app/helpers/assessment_autograde_core.rb @@ -306,7 +306,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 @@ -325,7 +325,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