diff options
Diffstat (limited to 'js/codeq')
-rw-r--r-- | js/codeq/aaiLogin.js | 16 | ||||
-rw-r--r-- | js/codeq/about.js | 16 | ||||
-rw-r--r-- | js/codeq/change_password.js | 16 | ||||
-rw-r--r-- | js/codeq/comms.js | 16 | ||||
-rw-r--r-- | js/codeq/console.js | 16 | ||||
-rw-r--r-- | js/codeq/core.js | 16 | ||||
-rw-r--r-- | js/codeq/editor.js | 16 | ||||
-rw-r--r-- | js/codeq/hint.js | 16 | ||||
-rw-r--r-- | js/codeq/init.js | 16 | ||||
-rw-r--r-- | js/codeq/language.js | 16 | ||||
-rw-r--r-- | js/codeq/login.js | 16 | ||||
-rw-r--r-- | js/codeq/misc.js | 18 | ||||
-rw-r--r-- | js/codeq/navigation.js | 16 | ||||
-rw-r--r-- | js/codeq/problem_list.js | 16 | ||||
-rw-r--r-- | js/codeq/profile.js | 18 | ||||
-rw-r--r-- | js/codeq/prolog.js | 16 | ||||
-rw-r--r-- | js/codeq/python.js | 16 | ||||
-rw-r--r-- | js/codeq/robot.js | 16 | ||||
-rw-r--r-- | js/codeq/settings.js | 16 | ||||
-rw-r--r-- | js/codeq/signup.js | 16 | ||||
-rw-r--r-- | js/codeq/translation.js | 16 | ||||
-rw-r--r-- | js/codeq/upgrade_to_aai.js | 16 |
22 files changed, 353 insertions, 3 deletions
diff --git a/js/codeq/aaiLogin.js b/js/codeq/aaiLogin.js index 99cf7a3..a0a8e68 100644 --- a/js/codeq/aaiLogin.js +++ b/js/codeq/aaiLogin.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by robert on 10/14/15. */ diff --git a/js/codeq/about.js b/js/codeq/about.js index a0ca261..25fa829 100644 --- a/js/codeq/about.js +++ b/js/codeq/about.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by markop on 11/09/15. */ diff --git a/js/codeq/change_password.js b/js/codeq/change_password.js index 6bba0e9..dc5db39 100644 --- a/js/codeq/change_password.js +++ b/js/codeq/change_password.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by robert on 10/14/15. */ diff --git a/js/codeq/comms.js b/js/codeq/comms.js index b5296a8..e964f20 100644 --- a/js/codeq/comms.js +++ b/js/codeq/comms.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + (function () { // ================================================================================ // Errors generated in this module diff --git a/js/codeq/console.js b/js/codeq/console.js index 63d01fc..e275d50 100644 --- a/js/codeq/console.js +++ b/js/codeq/console.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Takes a div element and runs a console simulator within. */ diff --git a/js/codeq/core.js b/js/codeq/core.js index e4ead27..28767f7 100644 --- a/js/codeq/core.js +++ b/js/codeq/core.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + (function () { window.siteDefinition = {logLevel: 'debug'}; // for debug purposes diff --git a/js/codeq/editor.js b/js/codeq/editor.js index 2f8476c..4b0ba6f 100644 --- a/js/codeq/editor.js +++ b/js/codeq/editor.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + codeq.makeEditor = function (elt, options, onEscape) { var statusBar = $(elt).siblings(".block-statusbar")[0], updateStatusBar = function (pos) { diff --git a/js/codeq/hint.js b/js/codeq/hint.js index d402313..565b54f 100644 --- a/js/codeq/hint.js +++ b/js/codeq/hint.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Creates a hint handler, displaying hints inside the provided jqHints <div>. */ diff --git a/js/codeq/init.js b/js/codeq/init.js index 98a41a2..f9506ec 100644 --- a/js/codeq/init.js +++ b/js/codeq/init.js @@ -1,6 +1,20 @@ -(function () { +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. +This program 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 Affero General Public License for more +details. +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +(function () { var loadGuiTranslations = function () { var langs = codeq.availableLangs, loaders = [], diff --git a/js/codeq/language.js b/js/codeq/language.js index 45dffdc..5433c84 100644 --- a/js/codeq/language.js +++ b/js/codeq/language.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by robert on 9/18/15. */ diff --git a/js/codeq/login.js b/js/codeq/login.js index 68cf14a..162e336 100644 --- a/js/codeq/login.js +++ b/js/codeq/login.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by robert on 9/17/15. */ diff --git a/js/codeq/misc.js b/js/codeq/misc.js index b83f271..367e62b 100644 --- a/js/codeq/misc.js +++ b/js/codeq/misc.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /* Detect if we're on a phone, browser and platform type */ (function browserDetection() { var platform = navigator.platform, @@ -68,4 +84,4 @@ codeq.runningOnPhone = runningOnPhone; codeq.browserType = browserType; codeq.platformType = platformType; -})();
\ No newline at end of file +})(); diff --git a/js/codeq/navigation.js b/js/codeq/navigation.js index be56740..da2b04a 100644 --- a/js/codeq/navigation.js +++ b/js/codeq/navigation.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by robert on 9/15/15. */ diff --git a/js/codeq/problem_list.js b/js/codeq/problem_list.js index 3fb9653..8c3808e 100644 --- a/js/codeq/problem_list.js +++ b/js/codeq/problem_list.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + (function(){ var jqScreen = $('#screen_problem_list'), languageCache = {}, // keyed by language identifier: processed data about languages diff --git a/js/codeq/profile.js b/js/codeq/profile.js index cc1cd28..cb9ad07 100644 --- a/js/codeq/profile.js +++ b/js/codeq/profile.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor.
+ Copyright (C) 2015 UL FRI
+
+This program is free software: you can redistribute it and/or modify it under
+the terms of the GNU Affero General Public License as published by the Free
+Software Foundation, either version 3 of the License, or (at your option) any
+later version.
+
+This program 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 Affero General Public License for more
+details.
+
+You should have received a copy of the GNU Affero General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
/**
* Created by markop on 9/29/15.
*/
@@ -66,4 +82,4 @@ $('#loggedInViaSamlSpan').css("display","none");
}
});
-})();
\ No newline at end of file +})();
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js index 565e0ce..7f74aaf 100644 --- a/js/codeq/prolog.js +++ b/js/codeq/prolog.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by robert on 9/17/15. * diff --git a/js/codeq/python.js b/js/codeq/python.js index fc826a8..4033a63 100644 --- a/js/codeq/python.js +++ b/js/codeq/python.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by robert on 9/17/15. * diff --git a/js/codeq/robot.js b/js/codeq/robot.js index a6748dc..0dca6f3 100644 --- a/js/codeq/robot.js +++ b/js/codeq/robot.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * The robot state of the state machine. When it is entered it'll prepare the code editor and load a sub-state machine which represents the 3 different parts of the screen. */ diff --git a/js/codeq/settings.js b/js/codeq/settings.js index 172a154..3e72cbd 100644 --- a/js/codeq/settings.js +++ b/js/codeq/settings.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by robert on 9/29/15. */ diff --git a/js/codeq/signup.js b/js/codeq/signup.js index 3498201..2667fe4 100644 --- a/js/codeq/signup.js +++ b/js/codeq/signup.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by robert on 10/14/15. */ diff --git a/js/codeq/translation.js b/js/codeq/translation.js index 1e85273..945cb52 100644 --- a/js/codeq/translation.js +++ b/js/codeq/translation.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + (function () { var dicts = {}, diff --git a/js/codeq/upgrade_to_aai.js b/js/codeq/upgrade_to_aai.js index e37761a..6ea5855 100644 --- a/js/codeq/upgrade_to_aai.js +++ b/js/codeq/upgrade_to_aai.js @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program 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 Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + /** * Created by markop on 11/02/15. */ |