From 4600e8563d7aba589caab56635f74d6d817f36f7 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 17 Sep 2020 21:56:10 +0200 Subject: LICENSE'ing: Add individual license/copyright headers to (nearly) all files. --- config.py | 25 +++++++++++++++++++++++++ lock.py | 25 +++++++++++++++++++++++++ log.py | 25 +++++++++++++++++++++++++ org.ArcticaProject.RWA.service | 25 +++++++++++++++++++++++++ service.py | 26 ++++++++++++++++++++++++++ session.py | 25 +++++++++++++++++++++++++ test_client.py | 26 ++++++++++++++++++++++++++ trigger.py | 25 +++++++++++++++++++++++++ vnc.py | 25 +++++++++++++++++++++++++ 9 files changed, 227 insertions(+) diff --git a/config.py b/config.py index 06f2e6e..734ab00 100644 --- a/config.py +++ b/config.py @@ -1,3 +1,28 @@ +# This file is part of Remote Support Desktop +# https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service +# Copyright 2020 Jonathan Weth +# Copyright 2020 Daniel Teichmann +# Copyright 2020 Mike Gabriel +# SPDX-License-Identifier: GPL-2.0-or-later +# +# This program 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 2 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + from dynaconf import Dynaconf settings = Dynaconf( diff --git a/lock.py b/lock.py index 8be0651..0fe2b79 100644 --- a/lock.py +++ b/lock.py @@ -1,3 +1,28 @@ +# This file is part of Remote Support Desktop +# https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service +# Copyright 2020 Jonathan Weth +# Copyright 2020 Daniel Teichmann +# Copyright 2020 Mike Gabriel +# SPDX-License-Identifier: GPL-2.0-or-later +# +# This program 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 2 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import os import tempfile diff --git a/log.py b/log.py index 53a19ba..a18fb83 100644 --- a/log.py +++ b/log.py @@ -1,3 +1,28 @@ +# This file is part of Remote Support Desktop +# https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service +# Copyright 2020 Jonathan Weth +# Copyright 2020 Daniel Teichmann +# Copyright 2020 Mike Gabriel +# SPDX-License-Identifier: GPL-2.0-or-later +# +# This program 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 2 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import logging logging.basicConfig(format="%(asctime)s %(levelname)s: %(message)s", level=logging.INFO) diff --git a/org.ArcticaProject.RWA.service b/org.ArcticaProject.RWA.service index b545df9..7a82ef3 100644 --- a/org.ArcticaProject.RWA.service +++ b/org.ArcticaProject.RWA.service @@ -1,3 +1,28 @@ +# This file is part of Remote Support Desktop +# https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service +# Copyright 2020 Jonathan Weth +# Copyright 2020 Daniel Teichmann +# Copyright 2020 Mike Gabriel +# SPDX-License-Identifier: GPL-2.0-or-later +# +# This program 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 2 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + [D-BUS Service] Name=org.ArcticaProject.RWA Exec=/opt/rwa-session-service/service.py -o diff --git a/service.py b/service.py index a8e999f..17ab51d 100755 --- a/service.py +++ b/service.py @@ -1,4 +1,30 @@ #!/usr/bin/env python3 + +# This file is part of Remote Support Desktop +# https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service +# Copyright 2020 Jonathan Weth +# Copyright 2020 Daniel Teichmann +# Copyright 2020 Mike Gabriel +# SPDX-License-Identifier: GPL-2.0-or-later +# +# This program 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 2 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import argparse import json import logging diff --git a/session.py b/session.py index e7ab922..3146326 100644 --- a/session.py +++ b/session.py @@ -1,3 +1,28 @@ +# This file is part of Remote Support Desktop +# https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service +# Copyright 2020 Jonathan Weth +# Copyright 2020 Daniel Teichmann +# Copyright 2020 Mike Gabriel +# SPDX-License-Identifier: GPL-2.0-or-later +# +# This program 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 2 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import os import random import secrets diff --git a/test_client.py b/test_client.py index 4e60c29..67907b0 100755 --- a/test_client.py +++ b/test_client.py @@ -1,4 +1,30 @@ #!/usr/bin/env python3 + +# This file is part of Remote Support Desktop +# https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service +# Copyright 2020 Jonathan Weth +# Copyright 2020 Daniel Teichmann +# Copyright 2020 Mike Gabriel +# SPDX-License-Identifier: GPL-2.0-or-later +# +# This program 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 2 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import dbus bus = dbus.SessionBus() diff --git a/trigger.py b/trigger.py index 0faf9da..2e0d890 100644 --- a/trigger.py +++ b/trigger.py @@ -1,3 +1,28 @@ +# This file is part of Remote Support Desktop +# https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service +# Copyright 2020 Jonathan Weth +# Copyright 2020 Daniel Teichmann +# Copyright 2020 Mike Gabriel +# SPDX-License-Identifier: GPL-2.0-or-later +# +# This program 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 2 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import threading from typing import Any, Callable from wsgiref.simple_server import make_server diff --git a/vnc.py b/vnc.py index 066eda1..47d7405 100644 --- a/vnc.py +++ b/vnc.py @@ -1,3 +1,28 @@ +# This file is part of Remote Support Desktop +# https://gitlab.das-netzwerkteam.de/RemoteWebApp/remote-support-session-service +# Copyright 2020 Jonathan Weth +# Copyright 2020 Daniel Teichmann +# Copyright 2020 Mike Gabriel +# SPDX-License-Identifier: GPL-2.0-or-later +# +# This program 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 2 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import os import subprocess from typing import Dict -- cgit v1.2.3