Skip to content

Commit

Permalink
Merge pull request #5608 from dodona-edu/fix/disable-plgiarism-lang
Browse files Browse the repository at this point in the history
Update list of languages supported by dolos
  • Loading branch information
jorg-vr authored Jun 13, 2024
2 parents 59e11a2 + 2dfdfaa commit 624619e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/dolos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { i18n } from "i18n/i18n";

const LOADER_ID = "dolos-loader";
const DOLOS_URL = "/dolos_reports";
// List from https://github.com/dodona-edu/dolos/issues/1029 on 2024-06-13
const SUPPORTED_LANGUAGES = new Set(["sh", "c", "cpp", "csharp", "elm", "java", "javascript", "python", "typescript", "tsx"]);
// List from https://github.com/dodona-edu/dolos/tree/main/parsers on 2024-06-13
const SUPPORTED_LANGUAGES = new Set(["sh", "c", "cpp", "csharp", "elm", "groovy", "java", "javascript", "modelica", "php", "python", "r", "scala", "sql", "typescript", "verilog"]);

export function initDolosBtn(btnID: string, url: string, lang: string): void {
const btn = document.getElementById(btnID) as HTMLLinkElement;
Expand Down

0 comments on commit 624619e

Please sign in to comment.