From 277b8091735c11dc18e76043699e42fcdade57a4 Mon Sep 17 00:00:00 2001 From: Cliff Shaffer Date: Wed, 17 Jul 2024 23:24:55 -0400 Subject: [PATCH 1/3] Add CS1 book to supplemental reading books list --- app/views/home/books.html.haml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/home/books.html.haml b/app/views/home/books.html.haml index 302a443d..37dd2201 100644 --- a/app/views/home/books.html.haml +++ b/app/views/home/books.html.haml @@ -66,6 +66,11 @@ Supplemental reading versions: %ul + %li + - url = @config_url + '/OpenDSA/Books/IntroToSoftwareDesign/index.html' + %a{ href: url , target: "_blank" } + An objects-first CS1 course + %li - url = @config_url + '/OpenDSA/Books/CS2/index.html' %a{ href: url , target: "_blank" } @@ -85,8 +90,7 @@ %li - url = @config_url + '/OpenDSA/Books/CS3notes/index.html' %a{ href: url, target: "_blank" } - Coursenotes form of presentation slides for "CS3" course on Data - Structures. + Coursenotes form of presentation slides for "CS3" course on Data Structures. %li - url = @config_url + '/OpenDSA/Books/CS4104/index.html' From 9e455d75fbe4119512c64b15189520cb52d8cac5 Mon Sep 17 00:00:00 2001 From: Cliff Shaffer Date: Thu, 18 Jul 2024 11:10:22 -0400 Subject: [PATCH 2/3] Add CS1 course to Canvas course list --- app/views/home/books.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/home/books.html.haml b/app/views/home/books.html.haml index 37dd2201..4b2245ed 100644 --- a/app/views/home/books.html.haml +++ b/app/views/home/books.html.haml @@ -33,6 +33,10 @@ to view): %ul + %li + %a{ href: 'https://canvas.instructure.com/enroll/AA7HDH', target: "_blank" } + An objects-first CS1 course + %li %a{ href: 'https://canvas.instructure.com/enroll/TXJGTB', target: "_blank" } Data Structures topics for a CS2-level course From 45aca0b82e373a8c366db9f75636f43dcc6367bf Mon Sep 17 00:00:00 2001 From: Alex Hicks Date: Fri, 25 Oct 2024 11:02:35 -0400 Subject: [PATCH 3/3] Remove instructor ability to create terms --- app/models/ability.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/ability.rb b/app/models/ability.rb index 608913a3..6b9d6e09 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -98,7 +98,7 @@ def process_instructor(user) end can [:create, :read], InstBook - can [:create, :read], Term + can [:read], Term can [:create, :read], LatePolicy can [:update, :destroy], InstBook, user_id: user.id can [:create, :read], Organization