From 6805dfa95cc7ebe81dbacbb3c8cc04aa8ea7c0a1 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@bioforsk.no>
Date: Fri, 7 Feb 2014 15:46:30 +0100
Subject: [PATCH] Added license notice headers

---
 VIPSWeb/context_processors.py             | 17 +++++++++++++++++
 VIPSWeb/locale/nb/LC_MESSAGES/django.po   | 20 ++++++++++++++++----
 VIPSWeb/locale/nb/LC_MESSAGES/djangojs.po | 20 ++++++++++++++++----
 VIPSWeb/wsgi.py                           | 17 +++++++++++++++++
 forecasts/admin.py                        | 17 +++++++++++++++++
 forecasts/locale/nb/LC_MESSAGES/django.po | 22 ++++++++++++++++++----
 forecasts/models.py                       | 18 ++++++++++++++++++
 forecasts/templates/forecasts/detail.html | 19 +++++++++++++++++++
 forecasts/templates/forecasts/index.html  | 19 +++++++++++++++++++
 forecasts/templates/models/detail.html    | 19 +++++++++++++++++++
 forecasts/templates/models/index.html     | 19 +++++++++++++++++++
 forecasts/templatetags/forecast_extras.py | 17 +++++++++++++++++
 forecasts/urls.py                         | 17 +++++++++++++++++
 messages/admin.py                         | 17 +++++++++++++++++
 messages/locale/nb/LC_MESSAGES/django.po  | 20 ++++++++++++++++----
 messages/models.py                        | 18 ++++++++++++++++++
 messages/urls.py                          | 17 +++++++++++++++++
 messages/views.py                         | 17 +++++++++++++++++
 18 files changed, 314 insertions(+), 16 deletions(-)

diff --git a/VIPSWeb/context_processors.py b/VIPSWeb/context_processors.py
index d53aa934..a5e1a3c2 100644
--- a/VIPSWeb/context_processors.py
+++ b/VIPSWeb/context_processors.py
@@ -1,3 +1,20 @@
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
 from django.conf import settings as _settings
 
 # This makes settings available from templates
diff --git a/VIPSWeb/locale/nb/LC_MESSAGES/django.po b/VIPSWeb/locale/nb/LC_MESSAGES/django.po
index 2ea5e375..c4248546 100644
--- a/VIPSWeb/locale/nb/LC_MESSAGES/django.po
+++ b/VIPSWeb/locale/nb/LC_MESSAGES/django.po
@@ -1,7 +1,19 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
 #
 #, fuzzy
 msgid ""
diff --git a/VIPSWeb/locale/nb/LC_MESSAGES/djangojs.po b/VIPSWeb/locale/nb/LC_MESSAGES/djangojs.po
index 1a4e566d..278153aa 100644
--- a/VIPSWeb/locale/nb/LC_MESSAGES/djangojs.po
+++ b/VIPSWeb/locale/nb/LC_MESSAGES/djangojs.po
@@ -1,7 +1,19 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
 #
 #, fuzzy
 msgid ""
diff --git a/VIPSWeb/wsgi.py b/VIPSWeb/wsgi.py
index 08cc9be6..f2decc8a 100644
--- a/VIPSWeb/wsgi.py
+++ b/VIPSWeb/wsgi.py
@@ -1,3 +1,20 @@
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
 """
 WSGI config for VIPSWeb project.
 
diff --git a/forecasts/admin.py b/forecasts/admin.py
index 21d2cc9e..7418550b 100644
--- a/forecasts/admin.py
+++ b/forecasts/admin.py
@@ -1,3 +1,20 @@
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
 from django.contrib import admin
 from forecasts.models import ResultParameter, MeasurementUnit, ModelGraphParameter
 
diff --git a/forecasts/locale/nb/LC_MESSAGES/django.po b/forecasts/locale/nb/LC_MESSAGES/django.po
index fc635f60..ee306ef1 100644
--- a/forecasts/locale/nb/LC_MESSAGES/django.po
+++ b/forecasts/locale/nb/LC_MESSAGES/django.po
@@ -1,7 +1,21 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
+# Tor-Einar Skog <tor-einar.skog@bioforsk.no>, 2013.
 #
 #, fuzzy
 msgid ""
diff --git a/forecasts/models.py b/forecasts/models.py
index f99019aa..c830e069 100644
--- a/forecasts/models.py
+++ b/forecasts/models.py
@@ -1,4 +1,22 @@
 # coding: utf-8
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
+
 from datetime import datetime
 import math
 import requests
diff --git a/forecasts/templates/forecasts/detail.html b/forecasts/templates/forecasts/detail.html
index 04e8a314..359daa0d 100644
--- a/forecasts/templates/forecasts/detail.html
+++ b/forecasts/templates/forecasts/detail.html
@@ -1,4 +1,23 @@
 {% extends "base.html" %}
+{% comment %}
+
+ Copyright (c) 2013-2014 Bioforsk <http://www.bioforsk.no/>. 
+ 
+ This file is part of VIPSWeb.
+ VIPSWeb 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.
+ 
+ VIPSWeb is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Affero General Public License for more details.
+ 
+ You should have received a copy of the GNU Affero General Public License
+ along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+ 
+{% endcomment %}
 {% load i18n l10n staticfiles forecast_extras %}
 {% block title%}{% trans "Details" %}{%endblock%}
 {% block content %}
diff --git a/forecasts/templates/forecasts/index.html b/forecasts/templates/forecasts/index.html
index 8149738e..5ae6a1a1 100644
--- a/forecasts/templates/forecasts/index.html
+++ b/forecasts/templates/forecasts/index.html
@@ -1,4 +1,23 @@
 {% extends "base.html" %}
+{% comment %}
+
+ Copyright (c) 2013-2014 Bioforsk <http://www.bioforsk.no/>. 
+ 
+ This file is part of VIPSWeb.
+ VIPSWeb 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.
+ 
+ VIPSWeb is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Affero General Public License for more details.
+ 
+ You should have received a copy of the GNU Affero General Public License
+ along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+ 
+{% endcomment %}
 {% load i18n %}
 {% block title%}{% trans "Forecasts" %}{%endblock%}
 {% block content %}
diff --git a/forecasts/templates/models/detail.html b/forecasts/templates/models/detail.html
index 8bf79f97..04d38766 100644
--- a/forecasts/templates/models/detail.html
+++ b/forecasts/templates/models/detail.html
@@ -1,4 +1,23 @@
 {% extends "base.html" %}
+{% comment %}
+
+ Copyright (c) 2013-2014 Bioforsk <http://www.bioforsk.no/>. 
+ 
+ This file is part of VIPSWeb.
+ VIPSWeb 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.
+ 
+ VIPSWeb is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Affero General Public License for more details.
+ 
+ You should have received a copy of the GNU Affero General Public License
+ along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+ 
+{% endcomment %}
 {% load i18n %}
 {% block title%}{{model.local_name}} - {% trans "Models" %}{%endblock%}
 {% block content %}
diff --git a/forecasts/templates/models/index.html b/forecasts/templates/models/index.html
index 08063f0c..a68d9f3b 100644
--- a/forecasts/templates/models/index.html
+++ b/forecasts/templates/models/index.html
@@ -1,4 +1,23 @@
 {% extends "base.html" %}
+{% comment %}
+
+ Copyright (c) 2013-2014 Bioforsk <http://www.bioforsk.no/>. 
+ 
+ This file is part of VIPSWeb.
+ VIPSWeb 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.
+ 
+ VIPSWeb is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Affero General Public License for more details.
+ 
+ You should have received a copy of the GNU Affero General Public License
+ along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+ 
+{% endcomment %}
 {% load i18n %}
 {% block title%}{% trans "Models" %}{%endblock%}
 {% block content %}
diff --git a/forecasts/templatetags/forecast_extras.py b/forecasts/templatetags/forecast_extras.py
index 8a659d37..cbe1f2eb 100644
--- a/forecasts/templatetags/forecast_extras.py
+++ b/forecasts/templatetags/forecast_extras.py
@@ -1,3 +1,20 @@
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
 from django import template
 
 register = template.Library()
diff --git a/forecasts/urls.py b/forecasts/urls.py
index 7db65ecc..844731fe 100644
--- a/forecasts/urls.py
+++ b/forecasts/urls.py
@@ -1,3 +1,20 @@
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
 from django.conf.urls import patterns, url
 from django.views.decorators.cache import cache_page
 
diff --git a/messages/admin.py b/messages/admin.py
index 6365e6dc..bd58575a 100644
--- a/messages/admin.py
+++ b/messages/admin.py
@@ -1,3 +1,20 @@
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
 from django.contrib import admin
 from messages.models import Message, MessageTag
 
diff --git a/messages/locale/nb/LC_MESSAGES/django.po b/messages/locale/nb/LC_MESSAGES/django.po
index 1d9e7396..51d7c834 100644
--- a/messages/locale/nb/LC_MESSAGES/django.po
+++ b/messages/locale/nb/LC_MESSAGES/django.po
@@ -1,7 +1,19 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
 #
 #, fuzzy
 msgid ""
diff --git a/messages/models.py b/messages/models.py
index e472cb5c..07c9af2e 100644
--- a/messages/models.py
+++ b/messages/models.py
@@ -1,3 +1,21 @@
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
+
 from django.db import models
 from django.contrib.auth.models import User
 from datetime import timedelta
diff --git a/messages/urls.py b/messages/urls.py
index db39efa3..b09fdd05 100644
--- a/messages/urls.py
+++ b/messages/urls.py
@@ -1,3 +1,20 @@
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
 from django.conf.urls import patterns, url
 
 from messages import views
diff --git a/messages/views.py b/messages/views.py
index ff2805a5..cc0e16dc 100644
--- a/messages/views.py
+++ b/messages/views.py
@@ -1,3 +1,20 @@
+#    Copyright (C) 2014 Bioforsk
+#    
+#    This file is part of VIPSWeb
+#
+#    VIPSWeb 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.
+#
+#    VIPSWeb is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with VIPSWeb.  If not, see <http://www.gnu.org/licenses/>.
+
 from django.shortcuts import render, get_object_or_404
 
 from messages.models import Message
-- 
GitLab