diff --git a/dta.zip b/dta.zip index 0989f34f5c9409feed051c194fad6f36ec252ac7..97275a3081dca3d9f2c3bec385c0939025ecf263 100644 Binary files a/dta.zip and b/dta.zip differ diff --git a/dta/db/upgrade.php b/dta/db/upgrade.php index e869825cd3d08455c19b2cc02d0b36f61a479387..66321f5a42fd9bb54a7393942396e97f01d83eec 100644 --- a/dta/db/upgrade.php +++ b/dta/db/upgrade.php @@ -1,4 +1,18 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Upgrade code for install @@ -17,17 +31,5 @@ defined('MOODLE_INTERNAL') || die(); function xmldb_assignsubmission_dta_upgrade($oldversion) { global $CFG; - // Moodle v2.8.0 release upgrade line. - // Put any upgrade step following this. - - // Moodle v2.9.0 release upgrade line. - // Put any upgrade step following this. - - // Moodle v3.0.0 release upgrade line. - // Put any upgrade step following this. - - // Moodle v3.1.0 release upgrade line. - // Put any upgrade step following this. - return true; } diff --git a/dta/lang/en/assignsubmission_dta.php b/dta/lang/en/assignsubmission_dta.php index cf15ad2f0c8650f1bf6b68b29feecb9a6c2af4b4..dced807a8eb55d53273443e7547145f1b52ec037 100644 --- a/dta/lang/en/assignsubmission_dta.php +++ b/dta/lang/en/assignsubmission_dta.php @@ -1,4 +1,18 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Strings for component "assignsubmission_dta", language "en" diff --git a/dta/lib.php b/dta/lib.php index a28c90b25f8d8293031a8e353c7fe089fd40ad24..058e217a950c714b1f32c76a52361400605d7adf 100644 --- a/dta/lib.php +++ b/dta/lib.php @@ -1,4 +1,18 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * This file contains the moodle hooks for the submission DTA plugin diff --git a/dta/locallib.php b/dta/locallib.php index f0fff612537a34aeccb53a6e599444d9a72c0e47..25bba02db872da80ba57f2f528cd845fa3636459 100644 --- a/dta/locallib.php +++ b/dta/locallib.php @@ -1,4 +1,18 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. defined('MOODLE_INTERNAL') || die(); diff --git a/dta/models/DtaResult.php b/dta/models/DtaResult.php index 97d67bd46f565ad4dad7eadc13a9272feed27251..e96e84bef32dba328bff5908e335e8f401ce3a3a 100644 --- a/dta/models/DtaResult.php +++ b/dta/models/DtaResult.php @@ -1,4 +1,18 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. class DtaResult { diff --git a/dta/settings.php b/dta/settings.php index 1ec52a8a5b06e2c10d5aba3405575f5de6573cd8..1dcd60a518042eb19dd94017961f0e78a42f2dcf 100644 --- a/dta/settings.php +++ b/dta/settings.php @@ -1,4 +1,18 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * This file defines the admin settings for this plugin diff --git a/dta/styles.css b/dta/styles.css index 2f749516d407b03f019c8ba79980625e3dcfe108..09195036147157d65a997d37b4eb621eb0bca596 100644 --- a/dta/styles.css +++ b/dta/styles.css @@ -1,15 +1,15 @@ /* Prevent word breaking in the grading table */ -.dttSubmissionSummary { +.dtaSubmissionSummary { white-space: nowrap; } -.dttSubmissionSummary, -.dttSubmissionDetails { +.dtaSubmissionSummary, +.dtaSubmissionDetails { margin-top: 15px; } /* empty div between summary and detail table */ -.dttSpacer { +.dtaSpacer { margin-top: 30px; } @@ -17,7 +17,7 @@ * Layout for the Detail view ****************************************************************/ -.dttTable { +.dtaTable { display: inline-block; max-width: 100%; overflow: auto; @@ -27,48 +27,48 @@ overflow-x: hidden; } -.dttTableHeaderRow { +.dtaTableHeaderRow { font-weight: bold; color: white !important; background-color: gray !important; } -.dttTableRow { +.dtaTableRow { background-color: unset !important; border-top: .05rem solid lightgray; } -.dttTableHeaderRow th, -.dttTableRow td { +.dtaTableHeaderRow th, +.dtaTableRow td { padding: .9375em 1.25em; } -.dttStacktraceDetails { +.dtaStacktraceDetails { max-height: 300px; max-width: 70%; overflow: auto; } -.dttResultUnknown { +.dtaResultUnknown { border-left: 10px solid gray; } -.dttResultSuccess { +.dtaResultSuccess { border-left: 10px solid green; } -.dttResultFailure { +.dtaResultFailure { border-left: 10px solid orange; } -.dttResultCompilationError { +.dtaResultCompilationError { border-left: 10px solid red; } -.dttTableRow:hover { +.dtaTableRow:hover { background-color: lightgray !important; } -.dttTableSpacer { +.dtaTableSpacer { border-bottom: 2px solid darkgray; } diff --git a/dta/utils/backend.php b/dta/utils/backend.php index f6d44200fbc57c322a313b7a7b96a497a494313b..4e790a855f2d9dfdef8334285b1a9dec4b1a1ef6 100644 --- a/dta/utils/backend.php +++ b/dta/utils/backend.php @@ -1,4 +1,18 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. class DtaBackendUtils { diff --git a/dta/utils/database.php b/dta/utils/database.php index 182ad5feb9993cb2c4ab3b5eff492d209a733d68..a704541d71e97421626bcd56aac09efff07ff261 100644 --- a/dta/utils/database.php +++ b/dta/utils/database.php @@ -1,4 +1,18 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. class DbUtils { diff --git a/dta/utils/view.php b/dta/utils/view.php index 4c494c546b68e85203621da7fe29e3391d5cd57d..8487870e100587243e0589ad45f40e8657ca7d29 100644 --- a/dta/utils/view.php +++ b/dta/utils/view.php @@ -1,4 +1,18 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. class ViewSubmissionUtils { diff --git a/dta/version.php b/dta/version.php index c411f6caf727a26b64f2407ef56787e8c0ed2c8a..ddff0ae07e9612d4c0d4e217805445e8ca60ec3f 100644 --- a/dta/version.php +++ b/dta/version.php @@ -1,4 +1,19 @@ <?php +// This file is part of Moodle - http://moodle.org/ +// +// Moodle is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Moodle is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Moodle. If not, see <http://www.gnu.org/licenses/>. + /** * This file contains the version information for the onlinetext DTA plugin *