diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-12-10 14:06:17 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2015-12-10 14:06:17 +0100 |
commit | dd7cb0ffbb8c5b3bad320e4d27bd81cced3a9038 (patch) | |
tree | 563697c8c7b946ea674925a9a8aaedfe92e23e2a /server | |
parent | 655d894cce5b0f01567d0a3e94bbb9cad024ad3e (diff) |
Add copyright info
Diffstat (limited to 'server')
-rw-r--r-- | server/__init__.py | 16 | ||||
-rw-r--r-- | server/handlers.py | 16 | ||||
-rw-r--r-- | server/hints.py | 16 | ||||
-rw-r--r-- | server/problems.py | 16 | ||||
-rw-r--r-- | server/prolog_session.py | 16 | ||||
-rw-r--r-- | server/python_session.py | 16 | ||||
-rw-r--r-- | server/robot_session.py | 16 | ||||
-rw-r--r-- | server/socket.py | 16 | ||||
-rw-r--r-- | server/user_session.py | 16 |
9 files changed, 135 insertions, 9 deletions
diff --git a/server/__init__.py b/server/__init__.py index e174626..c8e4581 100644 --- a/server/__init__.py +++ b/server/__init__.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# 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/>. __all__ = ['socket', 'handlers', 'user_session', 'prolog_session', 'python_session', 'robot_session', 'problems', 'LanguageSession'] diff --git a/server/handlers.py b/server/handlers.py index da257c1..918067f 100644 --- a/server/handlers.py +++ b/server/handlers.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# 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/>. from concurrent.futures import ThreadPoolExecutor import traceback diff --git a/server/hints.py b/server/hints.py index 62999ca..9652ca2 100644 --- a/server/hints.py +++ b/server/hints.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# 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/>. # Hint.instantiate takes a hint object (dictionary) to be sent to the client # and sets additional fields based on previously sent hints. diff --git a/server/problems.py b/server/problems.py index a143e74..2b6f134 100644 --- a/server/problems.py +++ b/server/problems.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# 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/>. import sys import importlib.machinery diff --git a/server/prolog_session.py b/server/prolog_session.py index c5fa1de..7e0af90 100644 --- a/server/prolog_session.py +++ b/server/prolog_session.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# 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/>. import operator import threading diff --git a/server/python_session.py b/server/python_session.py index 4fcc3b5..555a55f 100644 --- a/server/python_session.py +++ b/server/python_session.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# 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/>. from fcntl import fcntl, F_GETFL, F_SETFL import io diff --git a/server/robot_session.py b/server/robot_session.py index 137c16a..410016b 100644 --- a/server/robot_session.py +++ b/server/robot_session.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# 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/>. import threading diff --git a/server/socket.py b/server/socket.py index 561ab29..a32c205 100644 --- a/server/socket.py +++ b/server/socket.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# 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/>. import socket import selectors diff --git a/server/user_session.py b/server/user_session.py index 19c29c6..906f610 100644 --- a/server/user_session.py +++ b/server/user_session.py @@ -1,4 +1,18 @@ -# coding=utf-8 +# 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/>. import base64 import datetime |