Remove obsolete features
Removes d.tech institution-specific customizations, CBL grade
calculation, changelogs, remote configuration, grade calculation,
external/prerelease branches, and more.
Change-Id: I199b489f7395d36f97965e281b91895dae263006
Reviewed-on: https://src.jottocraft.com/c/dtps/+/137
Reviewed-by: spike <[email protected]>
diff --git a/scripts/search.js b/scripts/search.js
index 5744548..3fd4d79 100644
--- a/scripts/search.js
+++ b/scripts/search.js
@@ -96,28 +96,7 @@
var res = [];
course.assignments.forEach(assignment => {
- if (dtpsLMS.useRubricGrades && assignment.rubric) {
- assignment.rubric.forEach(rubric => {
- if (rubric.score) {
- res.push({
- title: assignment.title,
- class: course.num,
- onclick: "dtps.assignment('" + assignment.id + "', " + assignment.class + ")",
- locatedIn: rubric.title,
- icon: "assessment",
- infoIcons: [
- "bar_chart",
- dtps.user.parent ? "person" : null
- ].filter(i => i),
- info: [
- "Score: " + rubric.score + "/" + rubric.value + (rubric.scoreName ? " " + rubric.scoreName : ""),
- dtps.user.parent ? dtps.user.children.find(c => c.id == course.userID).name : null
- ].filter(i => i).join("$|$"),
- icons: []
- });
- }
- });
- } else if (assignment.grade) {
+ if (assignment.grade) {
res.push({
title: assignment.title,
class: course.num,