summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhusudan.C.S2011-02-11 12:04:29 +0530
committerMadhusudan.C.S2011-02-11 12:11:31 +0530
commit2ae70bc48ab4bf70e0230fad6f378a962c4dc4d0 (patch)
treea12febd5d36745f31ee65d0accdf85b5aeaa5df2
parentac67e9b63762956122c1cc6b49058a436bec238b (diff)
downloadpytask-2ae70bc48ab4bf70e0230fad6f378a962c4dc4d0.tar.gz
pytask-2ae70bc48ab4bf70e0230fad6f378a962c4dc4d0.tar.bz2
pytask-2ae70bc48ab4bf70e0230fad6f378a962c4dc4d0.zip
Add copyright notice to all the files.
-rw-r--r--pytask/__init__.py22
-rwxr-xr-xpytask/helpers/__init__.py20
-rwxr-xr-xpytask/helpers/configuration.py20
-rwxr-xr-xpytask/helpers/exceptions.py20
-rwxr-xr-xpytask/middleware/__init__.py20
-rwxr-xr-xpytask/middleware/exceptions.py20
-rwxr-xr-xpytask/profile/__init__.py23
-rw-r--r--pytask/profile/admin.py25
-rw-r--r--pytask/profile/events.py0
-rw-r--r--pytask/profile/forms.py27
-rw-r--r--pytask/profile/management/__init__.py22
-rw-r--r--pytask/profile/management/commands/__init__.py22
-rw-r--r--pytask/profile/management/commands/seed_db.py25
-rwxr-xr-xpytask/profile/models.py26
-rw-r--r--pytask/profile/regbackend.py26
-rw-r--r--pytask/profile/templatetags/__init__.py22
-rw-r--r--pytask/profile/templatetags/user_tags.py25
-rwxr-xr-xpytask/profile/tests.py26
-rw-r--r--pytask/profile/urls.py26
-rw-r--r--pytask/profile/utils.py25
-rwxr-xr-xpytask/profile/views.py26
-rwxr-xr-xpytask/settings.py26
-rw-r--r--pytask/static/css/base.css23
-rw-r--r--pytask/static/js/create_task_form.js24
-rw-r--r--pytask/static/js/login.js24
-rw-r--r--pytask/static/js/uberbar.js26
-rwxr-xr-xpytask/taskapp/__init__.py23
-rw-r--r--pytask/taskapp/admin.py26
-rwxr-xr-xpytask/taskapp/context_processors.py20
-rw-r--r--pytask/taskapp/forms.py26
-rwxr-xr-xpytask/taskapp/models.py26
-rwxr-xr-xpytask/taskapp/tests.py31
-rw-r--r--pytask/taskapp/urls.py26
-rwxr-xr-xpytask/taskapp/views/__init__.py20
-rwxr-xr-xpytask/taskapp/views/task.py22
-rwxr-xr-xpytask/taskapp/views/textbook.py20
-rwxr-xr-xpytask/taskapp/views/utils.py20
-rw-r--r--pytask/templates/404.html20
-rw-r--r--pytask/templates/500.html20
-rw-r--r--pytask/templates/_left_sidebar.html20
-rw-r--r--pytask/templates/_right_sidebar.html20
-rw-r--r--pytask/templates/_user_login.html20
-rw-r--r--pytask/templates/base.html20
-rw-r--r--pytask/templates/emailscontent/tbc_firstsprint_body.html18
-rw-r--r--pytask/templates/emailscontent/tbc_firstsprint_subject.html18
-rw-r--r--pytask/templates/emailscontent/tbc_postworkshop_body.html18
-rw-r--r--pytask/templates/emailscontent/tbc_postworkshop_subject.html18
-rw-r--r--pytask/templates/emailscontent/tbc_scilab_workshop_body.html18
-rw-r--r--pytask/templates/emailscontent/tbc_scilab_workshop_subject.html18
-rw-r--r--pytask/templates/emailscontent/textbookcompanion_workshop_body.html18
-rw-r--r--pytask/templates/emailscontent/textbookcompanion_workshop_confusion_resolver_body.html18
-rw-r--r--pytask/templates/emailscontent/textbookcompanion_workshop_confustion_resolver_subject.html18
-rw-r--r--pytask/templates/emailscontent/textbookcompanion_workshop_subject.html18
-rw-r--r--pytask/templates/error.html20
-rw-r--r--pytask/templates/index.html20
-rw-r--r--pytask/templates/profile/browse_notifications.html20
-rw-r--r--pytask/templates/profile/edit.html19
-rw-r--r--pytask/templates/profile/view.html20
-rw-r--r--pytask/templates/profile/view_notification.html20
-rw-r--r--pytask/templates/registration/activate.html20
-rw-r--r--pytask/templates/registration/activation_complete.html20
-rw-r--r--pytask/templates/registration/activation_email.txt18
-rw-r--r--pytask/templates/registration/activation_email_subject.txt20
-rw-r--r--pytask/templates/registration/logged_out.html20
-rw-r--r--pytask/templates/registration/login.html20
-rw-r--r--pytask/templates/registration/logout.html20
-rw-r--r--pytask/templates/registration/password_change_done.html20
-rw-r--r--pytask/templates/registration/password_change_form.html20
-rw-r--r--pytask/templates/registration/password_reset_complete.html20
-rw-r--r--pytask/templates/registration/password_reset_confirm.html20
-rw-r--r--pytask/templates/registration/password_reset_done.html20
-rw-r--r--pytask/templates/registration/password_reset_email.html20
-rw-r--r--pytask/templates/registration/password_reset_form.html20
-rw-r--r--pytask/templates/registration/registration_complete.html20
-rw-r--r--pytask/templates/registration/registration_form.html20
-rw-r--r--pytask/templates/show_msg.html20
-rw-r--r--pytask/templates/task/addreviewer.html20
-rw-r--r--pytask/templates/task/approved_task.html20
-rw-r--r--pytask/templates/task/approved_textbook.html20
-rw-r--r--pytask/templates/task/browse.html20
-rw-r--r--pytask/templates/task/browse_textbooks.html20
-rw-r--r--pytask/templates/task/chapter_edit.html20
-rw-r--r--pytask/templates/task/claim.html20
-rw-r--r--pytask/templates/task/confirm_approval.html20
-rw-r--r--pytask/templates/task/confirm_textbook_approval.html20
-rw-r--r--pytask/templates/task/edit.html20
-rw-r--r--pytask/templates/task/select_user.html20
-rw-r--r--pytask/templates/task/submit_report.html20
-rw-r--r--pytask/templates/task/view.html20
-rw-r--r--pytask/templates/task/view_report.html20
-rw-r--r--pytask/templates/task/view_tag.html20
-rw-r--r--pytask/templates/task/view_textbook.html20
-rw-r--r--pytask/templates/task/view_work.html20
-rw-r--r--pytask/templates/templatetags/_as_browse_textbooks.html20
-rw-r--r--pytask/templates/templatetags/_as_div_field.html20
-rw-r--r--pytask/templates/templatetags/_as_div_form.html20
-rw-r--r--pytask/templates/templatetags/_as_modification_display.html20
-rw-r--r--pytask/templates/templatetags/_as_tags.html20
-rw-r--r--pytask/templates/templatetags/_as_uberbar.html20
-rw-r--r--pytask/templates/under_construction.html20
-rw-r--r--pytask/templatetags/__init__.py22
-rw-r--r--pytask/templatetags/browse_helpers.py20
-rw-r--r--pytask/templatetags/form_helpers.py20
-rwxr-xr-xpytask/urls.py26
-rw-r--r--pytask/views.py26
-rwxr-xr-xscripts/dumpdb.sh22
-rwxr-xr-xscripts/generate_tasks_from_csv.py20
-rw-r--r--scripts/mails.py20
-rwxr-xr-xscripts/profile_schemamigration.sh22
-rwxr-xr-xscripts/taskapp_schemamigration.sh22
-rw-r--r--scripts/utils.py20
111 files changed, 2319 insertions, 9 deletions
diff --git a/pytask/__init__.py b/pytask/__init__.py
index e69de29..d348b62 100644
--- a/pytask/__init__.py
+++ b/pytask/__init__.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+"""Package containing the PyTask related code.
+"""
diff --git a/pytask/helpers/__init__.py b/pytask/helpers/__init__.py
index 189502e..0007618 100755
--- a/pytask/helpers/__init__.py
+++ b/pytask/helpers/__init__.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Package containing the helper functions that may be used through out
the site.
"""
diff --git a/pytask/helpers/configuration.py b/pytask/helpers/configuration.py
index d23d0af..ce7dac6 100755
--- a/pytask/helpers/configuration.py
+++ b/pytask/helpers/configuration.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""A configuration settings file for PyTask project.
"""
diff --git a/pytask/helpers/exceptions.py b/pytask/helpers/exceptions.py
index 98e8fd8..6637c65 100755
--- a/pytask/helpers/exceptions.py
+++ b/pytask/helpers/exceptions.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Module containing the exceptions that can be raised.
"""
diff --git a/pytask/middleware/__init__.py b/pytask/middleware/__init__.py
index dc28655..1cbe9f0 100755
--- a/pytask/middleware/__init__.py
+++ b/pytask/middleware/__init__.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Package containing the middlewares for PyTask.
"""
diff --git a/pytask/middleware/exceptions.py b/pytask/middleware/exceptions.py
index b597cf0..8ad6ff5 100755
--- a/pytask/middleware/exceptions.py
+++ b/pytask/middleware/exceptions.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Module containing the middleware that processes exceptions for PyTask.
"""
diff --git a/pytask/profile/__init__.py b/pytask/profile/__init__.py
index e69de29..3e63256 100755
--- a/pytask/profile/__init__.py
+++ b/pytask/profile/__init__.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+"""Package containing the profile django app which contains all the
+profile management related code for PyTask.
+"""
diff --git a/pytask/profile/admin.py b/pytask/profile/admin.py
index 115fab4..8914abe 100644
--- a/pytask/profile/admin.py
+++ b/pytask/profile/admin.py
@@ -1,3 +1,28 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from django.contrib import admin
from pytask.profile.models import Profile
diff --git a/pytask/profile/events.py b/pytask/profile/events.py
deleted file mode 100644
index e69de29..0000000
--- a/pytask/profile/events.py
+++ /dev/null
diff --git a/pytask/profile/forms.py b/pytask/profile/forms.py
index 80205eb..0f4a39e 100644
--- a/pytask/profile/forms.py
+++ b/pytask/profile/forms.py
@@ -1,4 +1,29 @@
-import os
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
import re
from django import forms
diff --git a/pytask/profile/management/__init__.py b/pytask/profile/management/__init__.py
index 8b13789..2b31e4b 100644
--- a/pytask/profile/management/__init__.py
+++ b/pytask/profile/management/__init__.py
@@ -1 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+"""The management package in which app specific management scripts and
+commands live for profile app.
+"""
diff --git a/pytask/profile/management/commands/__init__.py b/pytask/profile/management/commands/__init__.py
index e69de29..5f683e0 100644
--- a/pytask/profile/management/commands/__init__.py
+++ b/pytask/profile/management/commands/__init__.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+"""Package containing the commands required to manage profile app.
+"""
diff --git a/pytask/profile/management/commands/seed_db.py b/pytask/profile/management/commands/seed_db.py
index e011ee8..d3a7c3d 100644
--- a/pytask/profile/management/commands/seed_db.py
+++ b/pytask/profile/management/commands/seed_db.py
@@ -1,3 +1,28 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
import sys
from datetime import datetime
from django.core.management.base import NoArgsCommand
diff --git a/pytask/profile/models.py b/pytask/profile/models.py
index 451dfc6..37c05d7 100755
--- a/pytask/profile/models.py
+++ b/pytask/profile/models.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from django.db import models
from django.contrib.auth.models import User
diff --git a/pytask/profile/regbackend.py b/pytask/profile/regbackend.py
index 1022aec..17e2710 100644
--- a/pytask/profile/regbackend.py
+++ b/pytask/profile/regbackend.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from pytask.profile.forms import CreateProfileForm
from registration.signals import user_registered
diff --git a/pytask/profile/templatetags/__init__.py b/pytask/profile/templatetags/__init__.py
index e69de29..5428e70 100644
--- a/pytask/profile/templatetags/__init__.py
+++ b/pytask/profile/templatetags/__init__.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+"""Package containing the templatetags for the profile app.
+"""
diff --git a/pytask/profile/templatetags/user_tags.py b/pytask/profile/templatetags/user_tags.py
index 6c09c53..6094a21 100644
--- a/pytask/profile/templatetags/user_tags.py
+++ b/pytask/profile/templatetags/user_tags.py
@@ -1,3 +1,28 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from django import template
register = template.Library()
diff --git a/pytask/profile/tests.py b/pytask/profile/tests.py
index 2247054..4298f95 100755
--- a/pytask/profile/tests.py
+++ b/pytask/profile/tests.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""
This file demonstrates two different styles of tests (one doctest and one
unittest). These will both pass when you run "manage.py test".
@@ -5,6 +25,12 @@ unittest). These will both pass when you run "manage.py test".
Replace these with more appropriate tests for your application.
"""
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ ]
+
+
from django.test import TestCase
class SimpleTest(TestCase):
diff --git a/pytask/profile/urls.py b/pytask/profile/urls.py
index 9b0e0fe..c4c1ab9 100644
--- a/pytask/profile/urls.py
+++ b/pytask/profile/urls.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import url
diff --git a/pytask/profile/utils.py b/pytask/profile/utils.py
index bc33464..d70827e 100644
--- a/pytask/profile/utils.py
+++ b/pytask/profile/utils.py
@@ -1,3 +1,28 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ ]
+
+
from django import shortcuts
from django.http import Http404
from django.contrib.auth.models import User
diff --git a/pytask/profile/views.py b/pytask/profile/views.py
index a50154a..78722f5 100755
--- a/pytask/profile/views.py
+++ b/pytask/profile/views.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from urllib2 import urlparse
from django import http
diff --git a/pytask/settings.py b/pytask/settings.py
index 9202109..61b5cf7 100755
--- a/pytask/settings.py
+++ b/pytask/settings.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
# Django settings for pytask project.
import os
diff --git a/pytask/static/css/base.css b/pytask/static/css/base.css
index 72594bd..b757acf 100644
--- a/pytask/static/css/base.css
+++ b/pytask/static/css/base.css
@@ -1,3 +1,26 @@
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+#
+# Authors = [
+# '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+# '"Nishanth Amuluru" <nishanth@fossee.in>',
+# ]
+
+
body {
font-family:'Cardo',Georgia,Palatino,'Palatino Linotype',Times,'Times New Roman',serif;
font-size: 14px;
diff --git a/pytask/static/js/create_task_form.js b/pytask/static/js/create_task_form.js
index bc6e265..012fb9e 100644
--- a/pytask/static/js/create_task_form.js
+++ b/pytask/static/js/create_task_form.js
@@ -1,3 +1,27 @@
+/* Copyright 2011 Authors of PyTask.
+*
+* This file is part of PyTask.
+*
+* PyTask 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.
+*
+* PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+*
+* Authors = [
+* '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+* ]
+*
+*/
+
+
var create_form = function (suggest_task_tags_url) {
$(function() {
function split( val ) {
diff --git a/pytask/static/js/login.js b/pytask/static/js/login.js
index 31f32a3..a3eca35 100644
--- a/pytask/static/js/login.js
+++ b/pytask/static/js/login.js
@@ -1,3 +1,27 @@
+/* Copyright 2011 Authors of PyTask.
+*
+* This file is part of PyTask.
+*
+* PyTask 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.
+*
+* PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+*
+* Authors = [
+* '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+* ]
+*
+*/
+
+
var login_user = function (login_url) {
/* Function that handles the post login request changes. */
diff --git a/pytask/static/js/uberbar.js b/pytask/static/js/uberbar.js
index dafe9e2..5874731 100644
--- a/pytask/static/js/uberbar.js
+++ b/pytask/static/js/uberbar.js
@@ -1,4 +1,28 @@
-/* Original code from http://davidwalsh.name/persistent-header-opacity#bottom */
+/* Copyright 2011 Authors of PyTask.
+*
+* This file is part of PyTask.
+*
+* PyTask 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.
+*
+* PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+*
+* Original code from http://davidwalsh.name/persistent-header-opacity#bottom
+* Authors = [
+* '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+* ]
+*
+*/
+
+
var create_uberbar = function () {
$(document).ready(function() {
$("#header").css("position", "relative");
diff --git a/pytask/taskapp/__init__.py b/pytask/taskapp/__init__.py
index e69de29..ccc98dd 100755
--- a/pytask/taskapp/__init__.py
+++ b/pytask/taskapp/__init__.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+"""Package containing the taskapp Django app which contains all the code
+required for task work flow management.
+"""
diff --git a/pytask/taskapp/admin.py b/pytask/taskapp/admin.py
index 6d4ab45..a721728 100644
--- a/pytask/taskapp/admin.py
+++ b/pytask/taskapp/admin.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from django.contrib import admin
from pytask.taskapp.models import Task, TaskComment, TaskClaim,\
diff --git a/pytask/taskapp/context_processors.py b/pytask/taskapp/context_processors.py
index 6b4b9ef..cc870c0 100755
--- a/pytask/taskapp/context_processors.py
+++ b/pytask/taskapp/context_processors.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Module containing the context processors for taskapp.
"""
diff --git a/pytask/taskapp/forms.py b/pytask/taskapp/forms.py
index 2484fdc..62b0d16 100644
--- a/pytask/taskapp/forms.py
+++ b/pytask/taskapp/forms.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from django import forms
from pytask.taskapp.models import Task, WorkReport, TaskComment, TaskClaim, \
TextBook
diff --git a/pytask/taskapp/models.py b/pytask/taskapp/models.py
index 1154207..5012e34 100755
--- a/pytask/taskapp/models.py
+++ b/pytask/taskapp/models.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from datetime import datetime
from django.db import models
diff --git a/pytask/taskapp/tests.py b/pytask/taskapp/tests.py
index 2247054..321332e 100755
--- a/pytask/taskapp/tests.py
+++ b/pytask/taskapp/tests.py
@@ -1,10 +1,35 @@
-"""
-This file demonstrates two different styles of tests (one doctest and one
-unittest). These will both pass when you run "manage.py test".
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+"""This file demonstrates two different styles of tests (one doctest
+and one unittest). These will both pass when you run "manage.py test".
Replace these with more appropriate tests for your application.
"""
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ ]
+
+
from django.test import TestCase
class SimpleTest(TestCase):
diff --git a/pytask/taskapp/urls.py b/pytask/taskapp/urls.py
index 3a035dd..1c33546 100644
--- a/pytask/taskapp/urls.py
+++ b/pytask/taskapp/urls.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import url
diff --git a/pytask/taskapp/views/__init__.py b/pytask/taskapp/views/__init__.py
index fb15fc1..72f42f0 100755
--- a/pytask/taskapp/views/__init__.py
+++ b/pytask/taskapp/views/__init__.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Package containing the views related to tasks and textbooks.
"""
diff --git a/pytask/taskapp/views/task.py b/pytask/taskapp/views/task.py
index 210a9a7..621189d 100755
--- a/pytask/taskapp/views/task.py
+++ b/pytask/taskapp/views/task.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Module containing the views for all the task related activities.
If there is something common to all other views. They sit here, here
@@ -7,8 +27,8 @@ for everything else.
__authors__ = [
- '"Nishanth Amuluru" <nishanth@fossee.in>',
'"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
]
diff --git a/pytask/taskapp/views/textbook.py b/pytask/taskapp/views/textbook.py
index 416856c..af2ff53 100755
--- a/pytask/taskapp/views/textbook.py
+++ b/pytask/taskapp/views/textbook.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Module containing the views for all the textbook project related activities.
"""
diff --git a/pytask/taskapp/views/utils.py b/pytask/taskapp/views/utils.py
index bb93049..877cf8e 100755
--- a/pytask/taskapp/views/utils.py
+++ b/pytask/taskapp/views/utils.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Module containing taskapp views specific utility functions
"""
diff --git a/pytask/templates/404.html b/pytask/templates/404.html
index d65d1a7..d8abc8d 100644
--- a/pytask/templates/404.html
+++ b/pytask/templates/404.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends 'base.html' %}
{% block content %}
The page you requested does not exist.<br />
diff --git a/pytask/templates/500.html b/pytask/templates/500.html
index 2815e2c..b33bbb7 100644
--- a/pytask/templates/500.html
+++ b/pytask/templates/500.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends 'base.html' %}
{% block content %}
There was an error in rendering the page you requested for. The admin has been notified about it.<br />
diff --git a/pytask/templates/_left_sidebar.html b/pytask/templates/_left_sidebar.html
index 7c80e02..afc279a 100644
--- a/pytask/templates/_left_sidebar.html
+++ b/pytask/templates/_left_sidebar.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% load user_tags %}
<div id="navheader">
diff --git a/pytask/templates/_right_sidebar.html b/pytask/templates/_right_sidebar.html
index de1c245..26e0946 100644
--- a/pytask/templates/_right_sidebar.html
+++ b/pytask/templates/_right_sidebar.html
@@ -1,4 +1,24 @@
{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
+{% comment %}
Currently this template only includes the user actions for logged
in and non-logged in users. This can be extended to include other,
side-wide actions on right sidemenu bar.
diff --git a/pytask/templates/_user_login.html b/pytask/templates/_user_login.html
index 2f51781..1470c58 100644
--- a/pytask/templates/_user_login.html
+++ b/pytask/templates/_user_login.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% load user_tags %}
<div id="useraction">
diff --git a/pytask/templates/base.html b/pytask/templates/base.html
index fdba33c..1fc3db9 100644
--- a/pytask/templates/base.html
+++ b/pytask/templates/base.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% load browse_helpers %}
<html>
diff --git a/pytask/templates/emailscontent/tbc_firstsprint_body.html b/pytask/templates/emailscontent/tbc_firstsprint_body.html
index 0193cc1..0e99282 100644
--- a/pytask/templates/emailscontent/tbc_firstsprint_body.html
+++ b/pytask/templates/emailscontent/tbc_firstsprint_body.html
@@ -1,3 +1,21 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
Hi {{ name }},
We are pleased to inform you that we are opening task claims from
today. This means that you can start working on your textbooks from
diff --git a/pytask/templates/emailscontent/tbc_firstsprint_subject.html b/pytask/templates/emailscontent/tbc_firstsprint_subject.html
index 08a2878..7b448a9 100644
--- a/pytask/templates/emailscontent/tbc_firstsprint_subject.html
+++ b/pytask/templates/emailscontent/tbc_firstsprint_subject.html
@@ -1 +1,19 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
[Textbook Companion Project] Launching task claims and announcing first round of Sprints. \ No newline at end of file
diff --git a/pytask/templates/emailscontent/tbc_postworkshop_body.html b/pytask/templates/emailscontent/tbc_postworkshop_body.html
index f28c513..1474cf8 100644
--- a/pytask/templates/emailscontent/tbc_postworkshop_body.html
+++ b/pytask/templates/emailscontent/tbc_postworkshop_body.html
@@ -1,3 +1,21 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
Dear {{ name }},
Ever since the "Kick-off workshop" got over, we have been continuously
diff --git a/pytask/templates/emailscontent/tbc_postworkshop_subject.html b/pytask/templates/emailscontent/tbc_postworkshop_subject.html
index 73a6de4..fbba5f7 100644
--- a/pytask/templates/emailscontent/tbc_postworkshop_subject.html
+++ b/pytask/templates/emailscontent/tbc_postworkshop_subject.html
@@ -1 +1,19 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
[Textbook Companion Project] Python, Sage Workshop slides & videos and other updates \ No newline at end of file
diff --git a/pytask/templates/emailscontent/tbc_scilab_workshop_body.html b/pytask/templates/emailscontent/tbc_scilab_workshop_body.html
index 6500a53..a3a0779 100644
--- a/pytask/templates/emailscontent/tbc_scilab_workshop_body.html
+++ b/pytask/templates/emailscontent/tbc_scilab_workshop_body.html
@@ -1,3 +1,21 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
Dear all,
Thanks for your participation during the Python workshop during 22nd, 23rd
diff --git a/pytask/templates/emailscontent/tbc_scilab_workshop_subject.html b/pytask/templates/emailscontent/tbc_scilab_workshop_subject.html
index 9cfdee0..f36d5c6 100644
--- a/pytask/templates/emailscontent/tbc_scilab_workshop_subject.html
+++ b/pytask/templates/emailscontent/tbc_scilab_workshop_subject.html
@@ -1 +1,19 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
[Textbook Companion Project] Scilab workshop details \ No newline at end of file
diff --git a/pytask/templates/emailscontent/textbookcompanion_workshop_body.html b/pytask/templates/emailscontent/textbookcompanion_workshop_body.html
index 9090488..86e305b 100644
--- a/pytask/templates/emailscontent/textbookcompanion_workshop_body.html
+++ b/pytask/templates/emailscontent/textbookcompanion_workshop_body.html
@@ -1,3 +1,21 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
Hello {{ name }},
Thanks for your interest in the Textbook Companion Project. We are
excited to work with you on this project. We would like to remind you
diff --git a/pytask/templates/emailscontent/textbookcompanion_workshop_confusion_resolver_body.html b/pytask/templates/emailscontent/textbookcompanion_workshop_confusion_resolver_body.html
index 339fc7d..abe1d8a 100644
--- a/pytask/templates/emailscontent/textbookcompanion_workshop_confusion_resolver_body.html
+++ b/pytask/templates/emailscontent/textbookcompanion_workshop_confusion_resolver_body.html
@@ -1,3 +1,21 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
Hello {{ name }},
After the previous email about the workshop reminder, we have been
continuously receiving calls and emails about the duration of the workshop.
diff --git a/pytask/templates/emailscontent/textbookcompanion_workshop_confustion_resolver_subject.html b/pytask/templates/emailscontent/textbookcompanion_workshop_confustion_resolver_subject.html
index a69cf06..6035f21 100644
--- a/pytask/templates/emailscontent/textbookcompanion_workshop_confustion_resolver_subject.html
+++ b/pytask/templates/emailscontent/textbookcompanion_workshop_confustion_resolver_subject.html
@@ -1 +1,19 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
[Textbook Companion Project] Resolving confusion about the workshop \ No newline at end of file
diff --git a/pytask/templates/emailscontent/textbookcompanion_workshop_subject.html b/pytask/templates/emailscontent/textbookcompanion_workshop_subject.html
index bb2c682..e472f04 100644
--- a/pytask/templates/emailscontent/textbookcompanion_workshop_subject.html
+++ b/pytask/templates/emailscontent/textbookcompanion_workshop_subject.html
@@ -1 +1,19 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
[Textbook Companion Project] Reminder about the workshop and software package requirements
diff --git a/pytask/templates/error.html b/pytask/templates/error.html
index 3ed9b6a..2d5d91b 100644
--- a/pytask/templates/error.html
+++ b/pytask/templates/error.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block content %}
<div class="exception">
diff --git a/pytask/templates/index.html b/pytask/templates/index.html
index 918e35f..4bab93c 100644
--- a/pytask/templates/index.html
+++ b/pytask/templates/index.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends 'base.html' %}
{% block content %}
{% if not user %}
diff --git a/pytask/templates/profile/browse_notifications.html b/pytask/templates/profile/browse_notifications.html
index 48da43f..be93c8c 100644
--- a/pytask/templates/profile/browse_notifications.html
+++ b/pytask/templates/profile/browse_notifications.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block content %}
diff --git a/pytask/templates/profile/edit.html b/pytask/templates/profile/edit.html
index 678eadd..5ea8fff 100644
--- a/pytask/templates/profile/edit.html
+++ b/pytask/templates/profile/edit.html
@@ -1,3 +1,22 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
{% extends "base.html" %}
{% load form_helpers %}
diff --git a/pytask/templates/profile/view.html b/pytask/templates/profile/view.html
index b682547..ac3a18a 100644
--- a/pytask/templates/profile/view.html
+++ b/pytask/templates/profile/view.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
diff --git a/pytask/templates/profile/view_notification.html b/pytask/templates/profile/view_notification.html
index 5d5529f..a31d934 100644
--- a/pytask/templates/profile/view_notification.html
+++ b/pytask/templates/profile/view_notification.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends 'base.html' %}
{% block content %}
{% if newest %}
diff --git a/pytask/templates/registration/activate.html b/pytask/templates/registration/activate.html
index 629c05a..7e68a1f 100644
--- a/pytask/templates/registration/activate.html
+++ b/pytask/templates/registration/activate.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block content %}
diff --git a/pytask/templates/registration/activation_complete.html b/pytask/templates/registration/activation_complete.html
index 6a3e2d4..8b52e7a 100644
--- a/pytask/templates/registration/activation_complete.html
+++ b/pytask/templates/registration/activation_complete.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block content %}
diff --git a/pytask/templates/registration/activation_email.txt b/pytask/templates/registration/activation_email.txt
index 8d2bc89..d944f6e 100644
--- a/pytask/templates/registration/activation_email.txt
+++ b/pytask/templates/registration/activation_email.txt
@@ -1,3 +1,21 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
Welcome to PyTasks
You are just a step away from using the website.
diff --git a/pytask/templates/registration/activation_email_subject.txt b/pytask/templates/registration/activation_email_subject.txt
index f28f7d7..0d23c14 100644
--- a/pytask/templates/registration/activation_email_subject.txt
+++ b/pytask/templates/registration/activation_email_subject.txt
@@ -1 +1,19 @@
-Welcome to PyTasks
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+Welcome to PyTasks \ No newline at end of file
diff --git a/pytask/templates/registration/logged_out.html b/pytask/templates/registration/logged_out.html
index 7890480..85f62c0 100644
--- a/pytask/templates/registration/logged_out.html
+++ b/pytask/templates/registration/logged_out.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load i18n %}
diff --git a/pytask/templates/registration/login.html b/pytask/templates/registration/login.html
index 9063e64..24d282f 100644
--- a/pytask/templates/registration/login.html
+++ b/pytask/templates/registration/login.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load form_helpers %}
diff --git a/pytask/templates/registration/logout.html b/pytask/templates/registration/logout.html
index 2f422b1..954d2db 100644
--- a/pytask/templates/registration/logout.html
+++ b/pytask/templates/registration/logout.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends 'base.html' %}
{% block content %}
You have successfully logged out.
diff --git a/pytask/templates/registration/password_change_done.html b/pytask/templates/registration/password_change_done.html
index 9e64fd4..8114ecd 100644
--- a/pytask/templates/registration/password_change_done.html
+++ b/pytask/templates/registration/password_change_done.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load i18n %}
diff --git a/pytask/templates/registration/password_change_form.html b/pytask/templates/registration/password_change_form.html
index 0b2849b..fe200d5 100644
--- a/pytask/templates/registration/password_change_form.html
+++ b/pytask/templates/registration/password_change_form.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load i18n %}
diff --git a/pytask/templates/registration/password_reset_complete.html b/pytask/templates/registration/password_reset_complete.html
index ee66d81..be8efce 100644
--- a/pytask/templates/registration/password_reset_complete.html
+++ b/pytask/templates/registration/password_reset_complete.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load i18n %}
diff --git a/pytask/templates/registration/password_reset_confirm.html b/pytask/templates/registration/password_reset_confirm.html
index a06438e..ebd7e96 100644
--- a/pytask/templates/registration/password_reset_confirm.html
+++ b/pytask/templates/registration/password_reset_confirm.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
diff --git a/pytask/templates/registration/password_reset_done.html b/pytask/templates/registration/password_reset_done.html
index 8da70e9..73320fc 100644
--- a/pytask/templates/registration/password_reset_done.html
+++ b/pytask/templates/registration/password_reset_done.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load i18n %}
diff --git a/pytask/templates/registration/password_reset_email.html b/pytask/templates/registration/password_reset_email.html
index 5bf0c6d..272b23a 100644
--- a/pytask/templates/registration/password_reset_email.html
+++ b/pytask/templates/registration/password_reset_email.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% load i18n %}{% autoescape off %}
{% trans "You're receiving this e-mail because you requested a password reset" %}
{% blocktrans %}for your user account at {{ site_name }}{% endblocktrans %}.
diff --git a/pytask/templates/registration/password_reset_form.html b/pytask/templates/registration/password_reset_form.html
index 3f3ec5d..c59fa25 100644
--- a/pytask/templates/registration/password_reset_form.html
+++ b/pytask/templates/registration/password_reset_form.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
diff --git a/pytask/templates/registration/registration_complete.html b/pytask/templates/registration/registration_complete.html
index 53e85bc..da73e0f 100644
--- a/pytask/templates/registration/registration_complete.html
+++ b/pytask/templates/registration/registration_complete.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends 'base.html' %}
{% block content %}
Please check your email for instructions on activating your account.
diff --git a/pytask/templates/registration/registration_form.html b/pytask/templates/registration/registration_form.html
index dc9b6bc..9182250 100644
--- a/pytask/templates/registration/registration_form.html
+++ b/pytask/templates/registration/registration_form.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load form_helpers %}
diff --git a/pytask/templates/show_msg.html b/pytask/templates/show_msg.html
index 7d857a7..975bec4 100644
--- a/pytask/templates/show_msg.html
+++ b/pytask/templates/show_msg.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends 'base.html' %}
{% block js_script %}
<script language="JavaScript">
diff --git a/pytask/templates/task/addreviewer.html b/pytask/templates/task/addreviewer.html
index 1862c63..a7a66dc 100644
--- a/pytask/templates/task/addreviewer.html
+++ b/pytask/templates/task/addreviewer.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
diff --git a/pytask/templates/task/approved_task.html b/pytask/templates/task/approved_task.html
index 5abb86d..1d6f1d3 100644
--- a/pytask/templates/task/approved_task.html
+++ b/pytask/templates/task/approved_task.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block content %}
diff --git a/pytask/templates/task/approved_textbook.html b/pytask/templates/task/approved_textbook.html
index 247bbea..6f8c2f6 100644
--- a/pytask/templates/task/approved_textbook.html
+++ b/pytask/templates/task/approved_textbook.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block content %}
diff --git a/pytask/templates/task/browse.html b/pytask/templates/task/browse.html
index 419ca15..478ba86 100644
--- a/pytask/templates/task/browse.html
+++ b/pytask/templates/task/browse.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
diff --git a/pytask/templates/task/browse_textbooks.html b/pytask/templates/task/browse_textbooks.html
index cf3d3ac..94ded48 100644
--- a/pytask/templates/task/browse_textbooks.html
+++ b/pytask/templates/task/browse_textbooks.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
diff --git a/pytask/templates/task/chapter_edit.html b/pytask/templates/task/chapter_edit.html
index 2d673d4..c903e6e 100644
--- a/pytask/templates/task/chapter_edit.html
+++ b/pytask/templates/task/chapter_edit.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load form_helpers %}
diff --git a/pytask/templates/task/claim.html b/pytask/templates/task/claim.html
index 7f24fdd..69f93c8 100644
--- a/pytask/templates/task/claim.html
+++ b/pytask/templates/task/claim.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load form_helpers %}
diff --git a/pytask/templates/task/confirm_approval.html b/pytask/templates/task/confirm_approval.html
index 55b47c6..832e248 100644
--- a/pytask/templates/task/confirm_approval.html
+++ b/pytask/templates/task/confirm_approval.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block content %}
diff --git a/pytask/templates/task/confirm_textbook_approval.html b/pytask/templates/task/confirm_textbook_approval.html
index b051e36..3612c13 100644
--- a/pytask/templates/task/confirm_textbook_approval.html
+++ b/pytask/templates/task/confirm_textbook_approval.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block content %}
diff --git a/pytask/templates/task/edit.html b/pytask/templates/task/edit.html
index 2a0a48e..7689f04 100644
--- a/pytask/templates/task/edit.html
+++ b/pytask/templates/task/edit.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load form_helpers %}
diff --git a/pytask/templates/task/select_user.html b/pytask/templates/task/select_user.html
index 5d950ba..2ab44fa 100644
--- a/pytask/templates/task/select_user.html
+++ b/pytask/templates/task/select_user.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load form_helpers %}
diff --git a/pytask/templates/task/submit_report.html b/pytask/templates/task/submit_report.html
index 80e8503..7cbbc49 100644
--- a/pytask/templates/task/submit_report.html
+++ b/pytask/templates/task/submit_report.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% load form_helpers %}
diff --git a/pytask/templates/task/view.html b/pytask/templates/task/view.html
index 66bc72a..4a352f7 100644
--- a/pytask/templates/task/view.html
+++ b/pytask/templates/task/view.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
diff --git a/pytask/templates/task/view_report.html b/pytask/templates/task/view_report.html
index 9627468..2b34026 100644
--- a/pytask/templates/task/view_report.html
+++ b/pytask/templates/task/view_report.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block content %}
diff --git a/pytask/templates/task/view_tag.html b/pytask/templates/task/view_tag.html
index ee49182..e8dca85 100644
--- a/pytask/templates/task/view_tag.html
+++ b/pytask/templates/task/view_tag.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
diff --git a/pytask/templates/task/view_textbook.html b/pytask/templates/task/view_textbook.html
index 1110c83..e3dba5e 100644
--- a/pytask/templates/task/view_textbook.html
+++ b/pytask/templates/task/view_textbook.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
diff --git a/pytask/templates/task/view_work.html b/pytask/templates/task/view_work.html
index 0083277..f784679 100644
--- a/pytask/templates/task/view_work.html
+++ b/pytask/templates/task/view_work.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends "base.html" %}
{% block title %}
diff --git a/pytask/templates/templatetags/_as_browse_textbooks.html b/pytask/templates/templatetags/_as_browse_textbooks.html
index 56a1a21..3959d55 100644
--- a/pytask/templates/templatetags/_as_browse_textbooks.html
+++ b/pytask/templates/templatetags/_as_browse_textbooks.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
<h2>{{ title }}</h2>
<h3>List of textbooks open for contribution</h3>
<ul>
diff --git a/pytask/templates/templatetags/_as_div_field.html b/pytask/templates/templatetags/_as_div_field.html
index 5a22b54..8c05cb0 100644
--- a/pytask/templates/templatetags/_as_div_field.html
+++ b/pytask/templates/templatetags/_as_div_field.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% load form_helpers %}
diff --git a/pytask/templates/templatetags/_as_div_form.html b/pytask/templates/templatetags/_as_div_form.html
index d7e571f..15e9a33 100644
--- a/pytask/templates/templatetags/_as_div_form.html
+++ b/pytask/templates/templatetags/_as_div_form.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% load form_helpers %}
<form action="{{ action_url }}" method="post"
diff --git a/pytask/templates/templatetags/_as_modification_display.html b/pytask/templates/templatetags/_as_modification_display.html
index a4a0d3c..1c72cfe 100644
--- a/pytask/templates/templatetags/_as_modification_display.html
+++ b/pytask/templates/templatetags/_as_modification_display.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
<div id="modification">
Created on {{ modification_datetime|date:"r" }} by
<a href="{% url view_user_profile user.id %}">
diff --git a/pytask/templates/templatetags/_as_tags.html b/pytask/templates/templatetags/_as_tags.html
index 58d7b30..0339895 100644
--- a/pytask/templates/templatetags/_as_tags.html
+++ b/pytask/templates/templatetags/_as_tags.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% for tag in tags %}
<a href="{% url view_tag tag.name %}">{{ tag }}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
diff --git a/pytask/templates/templatetags/_as_uberbar.html b/pytask/templates/templatetags/_as_uberbar.html
index 7005c68..52363ec 100644
--- a/pytask/templates/templatetags/_as_uberbar.html
+++ b/pytask/templates/templatetags/_as_uberbar.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
<script type="text/javascript"
src="/pytask/static/js/uberbar.js">
</script>
diff --git a/pytask/templates/under_construction.html b/pytask/templates/under_construction.html
index c13220a..393d6e6 100644
--- a/pytask/templates/under_construction.html
+++ b/pytask/templates/under_construction.html
@@ -1,3 +1,23 @@
+{% comment %}
+Copyright 2011 Authors of PyTask.
+
+This file is part of PyTask.
+
+PyTask 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.
+
+PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+{% endcomment%}
+
+
{% extends 'base.html' %}
{% block content %}
<h1> Page Under Construction </h1>
diff --git a/pytask/templatetags/__init__.py b/pytask/templatetags/__init__.py
index 8727752..642b5a0 100644
--- a/pytask/templatetags/__init__.py
+++ b/pytask/templatetags/__init__.py
@@ -1,2 +1,22 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Package containing templatetags used all across the site.
-""" \ No newline at end of file
+"""
diff --git a/pytask/templatetags/browse_helpers.py b/pytask/templatetags/browse_helpers.py
index b84f863..d678a79 100644
--- a/pytask/templatetags/browse_helpers.py
+++ b/pytask/templatetags/browse_helpers.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Module containing the templatetags for rendering data especially for
browsing.
"""
diff --git a/pytask/templatetags/form_helpers.py b/pytask/templatetags/form_helpers.py
index 4e9fa37..23ee03f 100644
--- a/pytask/templatetags/form_helpers.py
+++ b/pytask/templatetags/form_helpers.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Module containing the templatetags for constructing forms.
"""
diff --git a/pytask/urls.py b/pytask/urls.py
index 277db21..7d5a197 100755
--- a/pytask/urls.py
+++ b/pytask/urls.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from django.conf import settings
from django.conf.urls.defaults import *
from django.contrib import admin
diff --git a/pytask/views.py b/pytask/views.py
index 8f9af64..948c29a 100644
--- a/pytask/views.py
+++ b/pytask/views.py
@@ -1,3 +1,29 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
+__authors__ = [
+ '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+ '"Nishanth Amuluru" <nishanth@fossee.in>',
+ ]
+
+
from django.shortcuts import render_to_response
from django.template import RequestContext
diff --git a/scripts/dumpdb.sh b/scripts/dumpdb.sh
index 5c6df61..e6adfac 100755
--- a/scripts/dumpdb.sh
+++ b/scripts/dumpdb.sh
@@ -1,4 +1,26 @@
#! /bin/bash
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+#
+# authors__ = [
+# '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+# ]
+
pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d%H%M%s`.dump
./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d%H%M%s`.dump
diff --git a/scripts/generate_tasks_from_csv.py b/scripts/generate_tasks_from_csv.py
index 8e64d4f..df14629 100755
--- a/scripts/generate_tasks_from_csv.py
+++ b/scripts/generate_tasks_from_csv.py
@@ -1,4 +1,22 @@
-#! /usr/bin/python
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
"""Module to fill database with the tasks supplied in CSV.
This module takes the directory containing the csv files as
diff --git a/scripts/mails.py b/scripts/mails.py
index e657bc2..c2044f0 100644
--- a/scripts/mails.py
+++ b/scripts/mails.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Helper script to send emails to the users.
"""
diff --git a/scripts/profile_schemamigration.sh b/scripts/profile_schemamigration.sh
index 18b3629..3416aca 100755
--- a/scripts/profile_schemamigration.sh
+++ b/scripts/profile_schemamigration.sh
@@ -1,4 +1,26 @@
#! /bin/bash
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+#
+# authors__ = [
+# '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+# ]
+
pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d%H%M%s`.dump
./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d%H%M%s`.dump
diff --git a/scripts/taskapp_schemamigration.sh b/scripts/taskapp_schemamigration.sh
index ec321ea..9eaebf7 100755
--- a/scripts/taskapp_schemamigration.sh
+++ b/scripts/taskapp_schemamigration.sh
@@ -1,4 +1,26 @@
#! /bin/bash
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+#
+# authors__ = [
+# '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+# ]
+
pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d%H%M%s`.dump
./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d%H%M%s`.dump
diff --git a/scripts/utils.py b/scripts/utils.py
index eb5a714..2b64a35 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask 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.
+#
+# PyTask 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 PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Helper script that contains many utilities.
"""