diff --git a/VIPSWeb/context_processors.py b/VIPSWeb/context_processors.py index d53aa934e06ab6cd14964dd7528ab2c249909049..a5e1a3c2e066c976ed77b209f5539f0402509796 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 2ea5e3758459021edf4cbfa6fd590149e0893555..c42485468440fa49c2fae184c0c5a832d5f424ac 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 1a4e566dabe1d6e89d8583a367eabfbe4aafc32e..278153aa249db976f8c1c8cd34e36740168a0451 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 08cc9be684e0c7f7be8bcc264b29e9d49ccae000..f2decc8a1902438f3e78229025c64ba3bf1ae23e 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 21d2cc9e25155ed1d41f8372adf44cd8aa16fb27..7418550bc653907478cc23ae9364a209c868e7b8 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 fc635f60f4e2f65dcbb2909829c5888adc172eda..ee306ef1e15e655b202b938e6aa927cfd17426e3 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 f99019aa491b5904ae227ac1ad21bd3eba4e86cc..c830e069cc9675cfd8a25969fb80d4cb8ecd686b 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 04e8a3145970bf02a8c4abade43fc6b2c58f7b9a..359daa0d86903afa3f99fe61eb5fd22cf06f8f9c 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 8149738e03e95889b56c7d7f13f7bdc72be5d5b9..5ae6a1a18390aeb7a22d973cf827c4a07a9dcd9b 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 8bf79f979df046f615948dcc0e4b0c9adde86ea3..04d38766ebaea76162f0c2cc8ac3aa02358e8e64 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 08063f0cdd497f65ff1a93a9c430bfcf00f289af..a68d9f3bc357e8ffcfbe9f7814d9bf7b97ba32a3 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 8a659d3770100483b50e2e8ca4ca18f927bf2d0a..cbe1f2eb292ddcf3b84eb384329ec21f321ff0c0 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 7db65ecc2127da371d87f9e83a7fea0ddd64e215..844731fe17127a6414aee43b28d29c27b67d39ff 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 6365e6dc11987767ee476c9d1fced7d0e74a627d..bd58575a6704ce245444bbafc236a094224d59dd 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 1d9e73968a299291aa6bf783f931610b01719578..51d7c8348aac431c849e4185cba8a264c815b782 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 e472cb5ced9f8a7e39bce78dd4f06046c1884e10..07c9af2eebc9d60bbfe3e8d88b6bb2c82e411522 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 db39efa37caf85eda2a5ee53c2bb643bcde6e753..b09fdd0567c3174f5ef3e4e244f84cd07ea987bb 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 ff2805a5137036d2762152c449d6d9640a3400de..cc0e16dc35e3a5dccc74335a0fe801400d204f07 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