aboutsummaryrefslogtreecommitdiff
path: root/app/tasks
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-17 15:18:20 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-17 15:18:20 +0100
commit7fef1fb0d21f276a1e6aff68956903c842055654 (patch)
treeaff2032e0931e9bd3b4a51cbef78e22477be76f0 /app/tasks
parentcfb92273ff9b3fb22bdfa215fb2912a62f6f0baa (diff)
downloadcheatdb-7fef1fb0d21f276a1e6aff68956903c842055654.tar.xz
Add license to all JS/py files
Diffstat (limited to 'app/tasks')
-rw-r--r--app/tasks/__init__.py17
-rw-r--r--app/tasks/emails.py17
-rw-r--r--app/tasks/forumtasks.py17
-rw-r--r--app/tasks/importtasks.py17
-rw-r--r--app/tasks/phpbbparser.py4
5 files changed, 72 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>.
+
+
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 <https://www.gnu.org/licenses/>.
+
+
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 <https://www.gnu.org/licenses/>.
+
+
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 <https://www.gnu.org/licenses/>.
+
+
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