From 7fef1fb0d21f276a1e6aff68956903c842055654 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 17 May 2018 15:18:20 +0100 Subject: Add license to all JS/py files --- app/tasks/__init__.py | 17 +++++++++++++++++ app/tasks/emails.py | 17 +++++++++++++++++ app/tasks/forumtasks.py | 17 +++++++++++++++++ app/tasks/importtasks.py | 17 +++++++++++++++++ app/tasks/phpbbparser.py | 4 ++++ 5 files changed, 72 insertions(+) (limited to 'app/tasks') diff --git a/app/tasks/__init__.py b/app/tasks/__init__.py index fe566b8..05da6e2 100644 --- a/app/tasks/__init__.py +++ b/app/tasks/__init__.py @@ -1,3 +1,20 @@ +# Content DB +# Copyright (C) 2018 rubenwardy +# +# 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 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + import flask from flask.ext.sqlalchemy import SQLAlchemy from celery import Celery diff --git a/app/tasks/emails.py b/app/tasks/emails.py index 7040d38..fbefbc7 100644 --- a/app/tasks/emails.py +++ b/app/tasks/emails.py @@ -1,3 +1,20 @@ +# Content DB +# Copyright (C) 2018 rubenwardy +# +# 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 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + from flask import * from flask_mail import Message from app import mail diff --git a/app/tasks/forumtasks.py b/app/tasks/forumtasks.py index 27d90e7..df8dbb8 100644 --- a/app/tasks/forumtasks.py +++ b/app/tasks/forumtasks.py @@ -1,3 +1,20 @@ +# Content DB +# Copyright (C) 2018 rubenwardy +# +# 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 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + import flask, json from flask.ext.sqlalchemy import SQLAlchemy from app import app diff --git a/app/tasks/importtasks.py b/app/tasks/importtasks.py index 638e9ca..175e8a5 100644 --- a/app/tasks/importtasks.py +++ b/app/tasks/importtasks.py @@ -1,3 +1,20 @@ +# Content DB +# Copyright (C) 2018 rubenwardy +# +# 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 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + import flask, json, os from flask.ext.sqlalchemy import SQLAlchemy from urllib.error import HTTPError diff --git a/app/tasks/phpbbparser.py b/app/tasks/phpbbparser.py index 5b3d191..d27ccec 100644 --- a/app/tasks/phpbbparser.py +++ b/app/tasks/phpbbparser.py @@ -1,3 +1,7 @@ +# Copyright (c) 2016 Andrew "rubenwardy" Ward +# License: MIT +# Source: https://github.com/rubenwardy/python_phpbb_parser + import urllib, socket from bs4 import * from urllib.parse import urljoin -- cgit v1.2.3