From d9a23a17288f1b0ed609ba8fb1bb6f7082b82a9a Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Wed, 29 Nov 2023 10:43:52 +0100 Subject: [PATCH] License header update for Python files --- VIPSWeb/__init__.py | 20 ++++++++++++ VIPSWeb/context_processors.py | 31 ++++++++++--------- VIPSWeb/local_settings_sample.py | 31 ++++++++++--------- VIPSWeb/settings.py | 29 +++++++++-------- VIPSWeb/templatetags/__init__.py | 20 ++++++++++++ VIPSWeb/templatetags/template_helper.py | 20 ++++++++++++ VIPSWeb/test.py | 20 ++++++++++++ VIPSWeb/urls.py | 29 +++++++++-------- VIPSWeb/views.py | 30 +++++++++--------- VIPSWeb/wsgi.py | 29 +++++++++-------- applefruitmoth/__init__.py | 20 ++++++++++++ applefruitmoth/admin.py | 20 ++++++++++++ applefruitmoth/migrations/__init__.py | 20 ++++++++++++ applefruitmoth/models.py | 20 ++++++++++++ applefruitmoth/tests.py | 20 ++++++++++++ applefruitmoth/urls.py | 29 +++++++++-------- applefruitmoth/views.py | 20 ++++++++++++ calculators/__init__.py | 20 ++++++++++++ calculators/admin.py | 20 ++++++++++++ calculators/models.py | 20 ++++++++++++ calculators/tests.py | 20 ++++++++++++ calculators/urls.py | 29 +++++++++-------- calculators/views.py | 20 ++++++++++++ cerealblotchmodels/__init__.py | 20 ++++++++++++ cerealblotchmodels/admin.py | 20 ++++++++++++ cerealblotchmodels/models.py | 20 ++++++++++++ cerealblotchmodels/tests.py | 20 ++++++++++++ cerealblotchmodels/urls.py | 29 +++++++++-------- cerealblotchmodels/views.py | 20 ++++++++++++ common/__init__.py | 20 ++++++++++++ common/middleware/__init__.py | 20 ++++++++++++ common/middleware/whodid.py | 20 ++++++++++++ common/util.py | 29 +++++++++-------- cydiapomonella/__init__.py | 20 ++++++++++++ cydiapomonella/admin.py | 20 ++++++++++++ cydiapomonella/apps.py | 20 ++++++++++++ cydiapomonella/migrations/__init__.py | 20 ++++++++++++ cydiapomonella/models.py | 20 ++++++++++++ cydiapomonella/tests.py | 20 ++++++++++++ cydiapomonella/urls.py | 20 ++++++++++++ cydiapomonella/views.py | 20 ++++++++++++ forecasts/__init__.py | 20 ++++++++++++ forecasts/admin.py | 29 +++++++++-------- forecasts/models.py | 29 +++++++++-------- forecasts/templatetags/forecast_extras.py | 29 +++++++++-------- forecasts/tests.py | 20 ++++++++++++ forecasts/urls.py | 29 +++++++++-------- forecasts/views.py | 28 +++++++++-------- fusarium/__init__.py | 20 ++++++++++++ fusarium/admin.py | 20 ++++++++++++ fusarium/migrations/__init__.py | 20 ++++++++++++ fusarium/models.py | 20 ++++++++++++ fusarium/tests.py | 20 ++++++++++++ fusarium/urls.py | 29 +++++++++-------- fusarium/views.py | 20 ++++++++++++ information/__init__.py | 20 ++++++++++++ information/admin.py | 29 +++++++++-------- information/migrations/__init__.py | 20 ++++++++++++ information/models.py | 20 ++++++++++++ information/tests.py | 20 ++++++++++++ information/urls.py | 29 +++++++++-------- information/views.py | 29 +++++++++-------- ipmd/__init__.py | 20 ++++++++++++ ipmd/admin.py | 20 ++++++++++++ ipmd/apps.py | 20 ++++++++++++ ipmd/migrations/__init__.py | 20 ++++++++++++ ipmd/models.py | 20 ++++++++++++ ipmd/tests.py | 20 ++++++++++++ ipmd/urls.py | 29 +++++++++-------- ipmd/views.py | 20 ++++++++++++ manage.py | 20 ++++++++++++ mock/__init__.py | 20 ++++++++++++ mock/admin.py | 20 ++++++++++++ mock/migrations/__init__.py | 20 ++++++++++++ mock/models.py | 20 ++++++++++++ mock/tests.py | 20 ++++++++++++ mock/urls.py | 29 +++++++++-------- mock/views.py | 20 ++++++++++++ observations/__init__.py | 20 ++++++++++++ observations/admin.py | 20 ++++++++++++ observations/forms.py | 20 ++++++++++++ observations/migrations/__init__.py | 20 ++++++++++++ observations/models.py | 20 ++++++++++++ observations/tests.py | 20 ++++++++++++ observations/urls.py | 30 +++++++++--------- observations/views.py | 28 +++++++++-------- organisms/__init__.py | 20 ++++++++++++ organisms/admin.py | 20 ++++++++++++ organisms/models.py | 29 +++++++++-------- organisms/tests.py | 20 ++++++++++++ organisms/urls.py | 29 +++++++++-------- organisms/views.py | 29 +++++++++-------- roughage/__init__.py | 20 ++++++++++++ roughage/admin.py | 20 ++++++++++++ roughage/migrations/__init__.py | 20 ++++++++++++ roughage/models.py | 20 ++++++++++++ roughage/tests.py | 20 ++++++++++++ roughage/urls.py | 29 +++++++++-------- roughage/views.py | 29 +++++++++-------- security/__init__.py | 20 ++++++++++++ security/admin.py | 20 ++++++++++++ security/middleware/__init__.py | 20 ++++++++++++ security/middleware/check_login_middleware.py | 30 +++++++++--------- security/migrations/__init__.py | 20 ++++++++++++ security/models.py | 29 +++++++++-------- security/tests.py | 20 ++++++++++++ security/urls.py | 29 +++++++++-------- security/views.py | 29 +++++++++-------- spatial/__init__.py | 20 ++++++++++++ spatial/admin.py | 20 ++++++++++++ spatial/apps.py | 20 ++++++++++++ spatial/migrations/__init__.py | 20 ++++++++++++ spatial/models.py | 20 ++++++++++++ spatial/tests.py | 20 ++++++++++++ spatial/urls.py | 20 ++++++++++++ spatial/views.py | 20 ++++++++++++ vips_messages/__init__.py | 20 ++++++++++++ vips_messages/admin.py | 29 +++++++++-------- vips_messages/apps.py | 20 ++++++++++++ vips_messages/forms.py | 20 ++++++++++++ vips_messages/migrations/__init__.py | 20 ++++++++++++ vips_messages/models.py | 29 +++++++++-------- vips_messages/tests.py | 20 ++++++++++++ vips_messages/urls.py | 29 +++++++++-------- vips_messages/views.py | 29 +++++++++-------- 125 files changed, 2356 insertions(+), 473 deletions(-) diff --git a/VIPSWeb/__init__.py b/VIPSWeb/__init__.py index e69de29b..2a8f9409 100755 --- a/VIPSWeb/__init__.py +++ b/VIPSWeb/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/VIPSWeb/context_processors.py b/VIPSWeb/context_processors.py index c401f6cb..ef3b3e76 100755 --- a/VIPSWeb/context_processors.py +++ b/VIPSWeb/context_processors.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. -# -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.conf import settings as _settings diff --git a/VIPSWeb/local_settings_sample.py b/VIPSWeb/local_settings_sample.py index d0870a6f..fee12ee5 100755 --- a/VIPSWeb/local_settings_sample.py +++ b/VIPSWeb/local_settings_sample.py @@ -1,22 +1,25 @@ # -*- coding: UTF-8 -*- # -# Copyright (c) 2016 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. -# -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# ## SAMPLE local_settings file. Copy to local_settings.py and configure as needed. ## Keep local_settings.py out of repository!! (already added to .gitignore) diff --git a/VIPSWeb/settings.py b/VIPSWeb/settings.py index 65ef58f0..885bcc0b 100755 --- a/VIPSWeb/settings.py +++ b/VIPSWeb/settings.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# # Django settings for VIPSWeb project. import os diff --git a/VIPSWeb/templatetags/__init__.py b/VIPSWeb/templatetags/__init__.py index e69de29b..2a8f9409 100755 --- a/VIPSWeb/templatetags/__init__.py +++ b/VIPSWeb/templatetags/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/VIPSWeb/templatetags/template_helper.py b/VIPSWeb/templatetags/template_helper.py index 0c3006ea..3cf4f5e0 100755 --- a/VIPSWeb/templatetags/template_helper.py +++ b/VIPSWeb/templatetags/template_helper.py @@ -1,4 +1,24 @@ # -*- coding: UTF-8 -*- +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django import template from django.utils.translation import gettext as _ from django.utils import translation diff --git a/VIPSWeb/test.py b/VIPSWeb/test.py index cc1c5a96..895f7ee1 100644 --- a/VIPSWeb/test.py +++ b/VIPSWeb/test.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase import unittest from selenium import webdriver diff --git a/VIPSWeb/urls.py b/VIPSWeb/urls.py index 268850ec..c93f4219 100755 --- a/VIPSWeb/urls.py +++ b/VIPSWeb/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path, path, include diff --git a/VIPSWeb/views.py b/VIPSWeb/views.py index 74f2fee7..d2e71e4f 100755 --- a/VIPSWeb/views.py +++ b/VIPSWeb/views.py @@ -1,21 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# -# @author: Tor-Einar Skog <tor-einar.skog@nibio.no> import datetime from django.shortcuts import render from django.http import HttpResponse, HttpResponseBadRequest, HttpResponseNotAllowed diff --git a/VIPSWeb/wsgi.py b/VIPSWeb/wsgi.py index ff95b082..0b89e49c 100755 --- a/VIPSWeb/wsgi.py +++ b/VIPSWeb/wsgi.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# """ WSGI config for VIPSWeb project. diff --git a/applefruitmoth/__init__.py b/applefruitmoth/__init__.py index e69de29b..2a8f9409 100755 --- a/applefruitmoth/__init__.py +++ b/applefruitmoth/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/applefruitmoth/admin.py b/applefruitmoth/admin.py index 8c38f3f3..ad4f682f 100755 --- a/applefruitmoth/admin.py +++ b/applefruitmoth/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/applefruitmoth/migrations/__init__.py b/applefruitmoth/migrations/__init__.py index e69de29b..2a8f9409 100755 --- a/applefruitmoth/migrations/__init__.py +++ b/applefruitmoth/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/applefruitmoth/models.py b/applefruitmoth/models.py index 71a83623..c3f26f1f 100755 --- a/applefruitmoth/models.py +++ b/applefruitmoth/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.db import models # Create your models here. diff --git a/applefruitmoth/tests.py b/applefruitmoth/tests.py index 7ce503c2..222e293f 100755 --- a/applefruitmoth/tests.py +++ b/applefruitmoth/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/applefruitmoth/urls.py b/applefruitmoth/urls.py index f694372d..9cd9b031 100755 --- a/applefruitmoth/urls.py +++ b/applefruitmoth/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2016 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path from applefruitmoth import views diff --git a/applefruitmoth/views.py b/applefruitmoth/views.py index 2636be88..b9a0e437 100755 --- a/applefruitmoth/views.py +++ b/applefruitmoth/views.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.shortcuts import render # Create your views here. diff --git a/calculators/__init__.py b/calculators/__init__.py index e69de29b..2a8f9409 100755 --- a/calculators/__init__.py +++ b/calculators/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/calculators/admin.py b/calculators/admin.py index 8c38f3f3..ad4f682f 100755 --- a/calculators/admin.py +++ b/calculators/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/calculators/models.py b/calculators/models.py index 71a83623..c3f26f1f 100755 --- a/calculators/models.py +++ b/calculators/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.db import models # Create your models here. diff --git a/calculators/tests.py b/calculators/tests.py index 7ce503c2..222e293f 100755 --- a/calculators/tests.py +++ b/calculators/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/calculators/urls.py b/calculators/urls.py index 6c1644cb..a08269b9 100755 --- a/calculators/urls.py +++ b/calculators/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path from calculators import views diff --git a/calculators/views.py b/calculators/views.py index bcaeb63e..abe90548 100755 --- a/calculators/views.py +++ b/calculators/views.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.shortcuts import render # Create your views here. diff --git a/cerealblotchmodels/__init__.py b/cerealblotchmodels/__init__.py index e69de29b..2a8f9409 100755 --- a/cerealblotchmodels/__init__.py +++ b/cerealblotchmodels/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/cerealblotchmodels/admin.py b/cerealblotchmodels/admin.py index 8c38f3f3..ad4f682f 100755 --- a/cerealblotchmodels/admin.py +++ b/cerealblotchmodels/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/cerealblotchmodels/models.py b/cerealblotchmodels/models.py index 71a83623..c3f26f1f 100755 --- a/cerealblotchmodels/models.py +++ b/cerealblotchmodels/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.db import models # Create your models here. diff --git a/cerealblotchmodels/tests.py b/cerealblotchmodels/tests.py index 7ce503c2..222e293f 100755 --- a/cerealblotchmodels/tests.py +++ b/cerealblotchmodels/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/cerealblotchmodels/urls.py b/cerealblotchmodels/urls.py index e4368fe9..82665a0f 100755 --- a/cerealblotchmodels/urls.py +++ b/cerealblotchmodels/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path from cerealblotchmodels import views diff --git a/cerealblotchmodels/views.py b/cerealblotchmodels/views.py index b968b101..d81434eb 100755 --- a/cerealblotchmodels/views.py +++ b/cerealblotchmodels/views.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.shortcuts import render from django.conf import settings from datetime import datetime diff --git a/common/__init__.py b/common/__init__.py index e69de29b..2a8f9409 100755 --- a/common/__init__.py +++ b/common/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/common/middleware/__init__.py b/common/middleware/__init__.py index e69de29b..2a8f9409 100755 --- a/common/middleware/__init__.py +++ b/common/middleware/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/common/middleware/whodid.py b/common/middleware/whodid.py index 8a40f004..c6c8947b 100755 --- a/common/middleware/whodid.py +++ b/common/middleware/whodid.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# """ # # Copyright (c) 2014 NIBIO <http://www.nibio.no/> diff --git a/common/util.py b/common/util.py index 74015f0a..dfa458f4 100755 --- a/common/util.py +++ b/common/util.py @@ -1,21 +1,24 @@ # coding: utf-8 # -# Copyright (c) 2018 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# # Author: Tor-Einar Skog <tor-einar.skog@nibio.no> diff --git a/cydiapomonella/__init__.py b/cydiapomonella/__init__.py index e69de29b..2a8f9409 100644 --- a/cydiapomonella/__init__.py +++ b/cydiapomonella/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/cydiapomonella/admin.py b/cydiapomonella/admin.py index 13be29d9..96139602 100644 --- a/cydiapomonella/admin.py +++ b/cydiapomonella/admin.py @@ -1,4 +1,24 @@ # -*- coding: utf-8 -*- +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from __future__ import unicode_literals from django.contrib import admin diff --git a/cydiapomonella/apps.py b/cydiapomonella/apps.py index 47324dfe..4f116fef 100644 --- a/cydiapomonella/apps.py +++ b/cydiapomonella/apps.py @@ -1,4 +1,24 @@ # -*- coding: utf-8 -*- +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from __future__ import unicode_literals from django.apps import AppConfig diff --git a/cydiapomonella/migrations/__init__.py b/cydiapomonella/migrations/__init__.py index e69de29b..2a8f9409 100644 --- a/cydiapomonella/migrations/__init__.py +++ b/cydiapomonella/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/cydiapomonella/models.py b/cydiapomonella/models.py index 1dfab760..67fe01bf 100644 --- a/cydiapomonella/models.py +++ b/cydiapomonella/models.py @@ -1,4 +1,24 @@ # -*- coding: utf-8 -*- +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from __future__ import unicode_literals from django.db import models diff --git a/cydiapomonella/tests.py b/cydiapomonella/tests.py index 5982e6bc..994369db 100644 --- a/cydiapomonella/tests.py +++ b/cydiapomonella/tests.py @@ -1,4 +1,24 @@ # -*- coding: utf-8 -*- +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from __future__ import unicode_literals from django.test import TestCase diff --git a/cydiapomonella/urls.py b/cydiapomonella/urls.py index 5005bba0..a0f60cca 100644 --- a/cydiapomonella/urls.py +++ b/cydiapomonella/urls.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.urls import re_path diff --git a/cydiapomonella/views.py b/cydiapomonella/views.py index f05e2bca..d94b97a5 100644 --- a/cydiapomonella/views.py +++ b/cydiapomonella/views.py @@ -1,4 +1,24 @@ # -*- coding: utf-8 -*- +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from __future__ import unicode_literals from django.shortcuts import render diff --git a/forecasts/__init__.py b/forecasts/__init__.py index e69de29b..2a8f9409 100755 --- a/forecasts/__init__.py +++ b/forecasts/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/forecasts/admin.py b/forecasts/admin.py index 07dd750e..23155321 100755 --- a/forecasts/admin.py +++ b/forecasts/admin.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.contrib import admin from forecasts.models import ResultParameter, ResultParameterLocal, MeasurementUnit, ModelGraphParameter, HighChartsType diff --git a/forecasts/models.py b/forecasts/models.py index cf56d754..1def18fc 100755 --- a/forecasts/models.py +++ b/forecasts/models.py @@ -1,21 +1,24 @@ # coding: utf-8 # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# import math import requests diff --git a/forecasts/templatetags/forecast_extras.py b/forecasts/templatetags/forecast_extras.py index 5c6104ff..e6098a59 100755 --- a/forecasts/templatetags/forecast_extras.py +++ b/forecasts/templatetags/forecast_extras.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django import template register = template.Library() diff --git a/forecasts/tests.py b/forecasts/tests.py index 501deb77..f4bac652 100755 --- a/forecasts/tests.py +++ b/forecasts/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# """ This file demonstrates writing tests using the unittest module. These will pass when you run "manage.py test". diff --git a/forecasts/urls.py b/forecasts/urls.py index 9c3499ec..400e856f 100755 --- a/forecasts/urls.py +++ b/forecasts/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path from django.views.decorators.cache import cache_page diff --git a/forecasts/views.py b/forecasts/views.py index f8f8f9ae..6dce05de 100755 --- a/forecasts/views.py +++ b/forecasts/views.py @@ -1,21 +1,23 @@ # -# Copyright (c) 2017 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. # -# @author: Tor-Einar Skog <tor-einar.skog@nibio.no> from datetime import datetime from dateutil.relativedelta import relativedelta diff --git a/fusarium/__init__.py b/fusarium/__init__.py index e69de29b..2a8f9409 100755 --- a/fusarium/__init__.py +++ b/fusarium/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/fusarium/admin.py b/fusarium/admin.py index 8c38f3f3..ad4f682f 100755 --- a/fusarium/admin.py +++ b/fusarium/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/fusarium/migrations/__init__.py b/fusarium/migrations/__init__.py index e69de29b..2a8f9409 100755 --- a/fusarium/migrations/__init__.py +++ b/fusarium/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/fusarium/models.py b/fusarium/models.py index 71a83623..c3f26f1f 100755 --- a/fusarium/models.py +++ b/fusarium/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.db import models # Create your models here. diff --git a/fusarium/tests.py b/fusarium/tests.py index 7ce503c2..222e293f 100755 --- a/fusarium/tests.py +++ b/fusarium/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/fusarium/urls.py b/fusarium/urls.py index 9fb1f77f..7f2e24fc 100755 --- a/fusarium/urls.py +++ b/fusarium/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2016 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path from fusarium import views diff --git a/fusarium/views.py b/fusarium/views.py index 35d201f9..2b828d27 100755 --- a/fusarium/views.py +++ b/fusarium/views.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.shortcuts import render # Create your views here. diff --git a/information/__init__.py b/information/__init__.py index e69de29b..2a8f9409 100755 --- a/information/__init__.py +++ b/information/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/information/admin.py b/information/admin.py index 17493e56..926c8dad 100755 --- a/information/admin.py +++ b/information/admin.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.contrib import admin diff --git a/information/migrations/__init__.py b/information/migrations/__init__.py index e69de29b..2a8f9409 100755 --- a/information/migrations/__init__.py +++ b/information/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/information/models.py b/information/models.py index 1911f446..f0e03245 100755 --- a/information/models.py +++ b/information/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.utils.translation import gettext as _ from django.db import models from tinymce import models as tinymce_models diff --git a/information/tests.py b/information/tests.py index 7ce503c2..222e293f 100755 --- a/information/tests.py +++ b/information/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/information/urls.py b/information/urls.py index c13d2d73..bf1a63c2 100755 --- a/information/urls.py +++ b/information/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path from information import views diff --git a/information/views.py b/information/views.py index c330d5ef..c3c0d57b 100755 --- a/information/views.py +++ b/information/views.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.shortcuts import render from django.core.exceptions import ObjectDoesNotExist diff --git a/ipmd/__init__.py b/ipmd/__init__.py index e69de29b..2a8f9409 100644 --- a/ipmd/__init__.py +++ b/ipmd/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/ipmd/admin.py b/ipmd/admin.py index 8c38f3f3..ad4f682f 100644 --- a/ipmd/admin.py +++ b/ipmd/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/ipmd/apps.py b/ipmd/apps.py index a56463fc..72efff68 100644 --- a/ipmd/apps.py +++ b/ipmd/apps.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.apps import AppConfig diff --git a/ipmd/migrations/__init__.py b/ipmd/migrations/__init__.py index e69de29b..2a8f9409 100644 --- a/ipmd/migrations/__init__.py +++ b/ipmd/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/ipmd/models.py b/ipmd/models.py index 71a83623..c3f26f1f 100644 --- a/ipmd/models.py +++ b/ipmd/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.db import models # Create your models here. diff --git a/ipmd/tests.py b/ipmd/tests.py index 7ce503c2..222e293f 100644 --- a/ipmd/tests.py +++ b/ipmd/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/ipmd/urls.py b/ipmd/urls.py index f076576d..cf4a473d 100755 --- a/ipmd/urls.py +++ b/ipmd/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2023 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path from ipmd import views diff --git a/ipmd/views.py b/ipmd/views.py index 8f147afb..b47d27a8 100644 --- a/ipmd/views.py +++ b/ipmd/views.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.shortcuts import render # Create your views here. diff --git a/manage.py b/manage.py index a549fe98..325a77cf 100755 --- a/manage.py +++ b/manage.py @@ -1,4 +1,24 @@ #!/usr/bin/env python +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# import os import sys diff --git a/mock/__init__.py b/mock/__init__.py index e69de29b..2a8f9409 100755 --- a/mock/__init__.py +++ b/mock/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/mock/admin.py b/mock/admin.py index 8c38f3f3..ad4f682f 100755 --- a/mock/admin.py +++ b/mock/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/mock/migrations/__init__.py b/mock/migrations/__init__.py index e69de29b..2a8f9409 100755 --- a/mock/migrations/__init__.py +++ b/mock/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/mock/models.py b/mock/models.py index 71a83623..c3f26f1f 100755 --- a/mock/models.py +++ b/mock/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.db import models # Create your models here. diff --git a/mock/tests.py b/mock/tests.py index 7ce503c2..222e293f 100755 --- a/mock/tests.py +++ b/mock/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/mock/urls.py b/mock/urls.py index c30c0dd0..ce2540d0 100644 --- a/mock/urls.py +++ b/mock/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path from mock import views diff --git a/mock/views.py b/mock/views.py index 9987ce40..55070209 100755 --- a/mock/views.py +++ b/mock/views.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.shortcuts import render # Create your views here. diff --git a/observations/__init__.py b/observations/__init__.py index e69de29b..2a8f9409 100755 --- a/observations/__init__.py +++ b/observations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/observations/admin.py b/observations/admin.py index 8c38f3f3..ad4f682f 100755 --- a/observations/admin.py +++ b/observations/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/observations/forms.py b/observations/forms.py index 2b8c8a02..3f012fff 100644 --- a/observations/forms.py +++ b/observations/forms.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django import forms class ObservationTimeFilterForm(forms.Form): diff --git a/observations/migrations/__init__.py b/observations/migrations/__init__.py index e69de29b..2a8f9409 100755 --- a/observations/migrations/__init__.py +++ b/observations/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/observations/models.py b/observations/models.py index 71a83623..c3f26f1f 100755 --- a/observations/models.py +++ b/observations/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.db import models # Create your models here. diff --git a/observations/tests.py b/observations/tests.py index 7ce503c2..222e293f 100755 --- a/observations/tests.py +++ b/observations/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/observations/urls.py b/observations/urls.py index 09e94d6f..0f75f017 100755 --- a/observations/urls.py +++ b/observations/urls.py @@ -1,21 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# -#from django.conf.urls import url from django.urls import re_path #from django.views.decorators.cache import cache_page diff --git a/observations/views.py b/observations/views.py index 56d52329..94caa444 100755 --- a/observations/views.py +++ b/observations/views.py @@ -1,22 +1,24 @@ # -*- coding: UTF-8 -*- # -# Copyright (c) 2016 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. # -# @author: Tor-Einar Skog <tor-einar.skog@nibio.no> from django.shortcuts import render from django.utils import translation diff --git a/organisms/__init__.py b/organisms/__init__.py index e69de29b..2a8f9409 100755 --- a/organisms/__init__.py +++ b/organisms/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/organisms/admin.py b/organisms/admin.py index 8c38f3f3..ad4f682f 100755 --- a/organisms/admin.py +++ b/organisms/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/organisms/models.py b/organisms/models.py index 9486a993..54343a36 100755 --- a/organisms/models.py +++ b/organisms/models.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# import requests from django.conf import settings diff --git a/organisms/tests.py b/organisms/tests.py index 7ce503c2..222e293f 100755 --- a/organisms/tests.py +++ b/organisms/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/organisms/urls.py b/organisms/urls.py index b597deb8..fe90be6e 100755 --- a/organisms/urls.py +++ b/organisms/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path diff --git a/organisms/views.py b/organisms/views.py index f46d30bc..2529f88d 100755 --- a/organisms/views.py +++ b/organisms/views.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.shortcuts import render, get_object_or_404 diff --git a/roughage/__init__.py b/roughage/__init__.py index e69de29b..2a8f9409 100755 --- a/roughage/__init__.py +++ b/roughage/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/roughage/admin.py b/roughage/admin.py index 8c38f3f3..ad4f682f 100755 --- a/roughage/admin.py +++ b/roughage/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/roughage/migrations/__init__.py b/roughage/migrations/__init__.py index e69de29b..2a8f9409 100755 --- a/roughage/migrations/__init__.py +++ b/roughage/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/roughage/models.py b/roughage/models.py index 71a83623..c3f26f1f 100755 --- a/roughage/models.py +++ b/roughage/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.db import models # Create your models here. diff --git a/roughage/tests.py b/roughage/tests.py index 7ce503c2..222e293f 100755 --- a/roughage/tests.py +++ b/roughage/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/roughage/urls.py b/roughage/urls.py index d5b77151..49b249ba 100755 --- a/roughage/urls.py +++ b/roughage/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path diff --git a/roughage/views.py b/roughage/views.py index 82676eb3..28c04af3 100755 --- a/roughage/views.py +++ b/roughage/views.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.shortcuts import render # Create your views here. diff --git a/security/__init__.py b/security/__init__.py index e69de29b..2a8f9409 100755 --- a/security/__init__.py +++ b/security/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/security/admin.py b/security/admin.py index 8c38f3f3..ad4f682f 100755 --- a/security/admin.py +++ b/security/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/security/middleware/__init__.py b/security/middleware/__init__.py index e69de29b..2a8f9409 100755 --- a/security/middleware/__init__.py +++ b/security/middleware/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/security/middleware/check_login_middleware.py b/security/middleware/check_login_middleware.py index e8c856a7..e08f2c38 100755 --- a/security/middleware/check_login_middleware.py +++ b/security/middleware/check_login_middleware.py @@ -1,21 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# -# @author: Tor-Einar Skog <tor-einar.skog@nibio.no> from security.models import VipsLogicUser from django.conf import settings diff --git a/security/migrations/__init__.py b/security/migrations/__init__.py index e69de29b..2a8f9409 100755 --- a/security/migrations/__init__.py +++ b/security/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/security/models.py b/security/models.py index e3d365a1..6ae2fcf3 100755 --- a/security/models.py +++ b/security/models.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# #from django.db import models from django.conf import settings diff --git a/security/tests.py b/security/tests.py index 7ce503c2..222e293f 100755 --- a/security/tests.py +++ b/security/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/security/urls.py b/security/urls.py index 88849498..016cc51c 100755 --- a/security/urls.py +++ b/security/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path diff --git a/security/views.py b/security/views.py index 06983135..06c4216b 100755 --- a/security/views.py +++ b/security/views.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2015 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# #from django.shortcuts import render from django.http import JsonResponse, HttpResponseRedirect diff --git a/spatial/__init__.py b/spatial/__init__.py index e69de29b..2a8f9409 100644 --- a/spatial/__init__.py +++ b/spatial/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/spatial/admin.py b/spatial/admin.py index 8c38f3f3..ad4f682f 100644 --- a/spatial/admin.py +++ b/spatial/admin.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.contrib import admin # Register your models here. diff --git a/spatial/apps.py b/spatial/apps.py index ebdfcc75..6a7a424e 100644 --- a/spatial/apps.py +++ b/spatial/apps.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.apps import AppConfig diff --git a/spatial/migrations/__init__.py b/spatial/migrations/__init__.py index e69de29b..2a8f9409 100644 --- a/spatial/migrations/__init__.py +++ b/spatial/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/spatial/models.py b/spatial/models.py index 71a83623..c3f26f1f 100644 --- a/spatial/models.py +++ b/spatial/models.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.db import models # Create your models here. diff --git a/spatial/tests.py b/spatial/tests.py index 7ce503c2..222e293f 100644 --- a/spatial/tests.py +++ b/spatial/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.test import TestCase # Create your tests here. diff --git a/spatial/urls.py b/spatial/urls.py index 63dd488d..b5724f32 100644 --- a/spatial/urls.py +++ b/spatial/urls.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.urls import re_path from spatial import views diff --git a/spatial/views.py b/spatial/views.py index 9b04a6b8..eea91a82 100644 --- a/spatial/views.py +++ b/spatial/views.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.shortcuts import render, redirect from django.http import Http404 from django.conf import settings diff --git a/vips_messages/__init__.py b/vips_messages/__init__.py index 0658db54..f5fc01cf 100755 --- a/vips_messages/__init__.py +++ b/vips_messages/__init__.py @@ -1 +1,21 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# default_app_config = 'vips_messages.apps.VIPSMessagesConfig' \ No newline at end of file diff --git a/vips_messages/admin.py b/vips_messages/admin.py index 4941afa9..b695f2bd 100755 --- a/vips_messages/admin.py +++ b/vips_messages/admin.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.contrib import admin from vips_messages.models import Advertisement diff --git a/vips_messages/apps.py b/vips_messages/apps.py index 23e0313e..9c10a6a4 100755 --- a/vips_messages/apps.py +++ b/vips_messages/apps.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django.apps import AppConfig class VIPSMessagesConfig(AppConfig): diff --git a/vips_messages/forms.py b/vips_messages/forms.py index 995d3f43..9bb1d6d6 100755 --- a/vips_messages/forms.py +++ b/vips_messages/forms.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# from django import forms class MessagePublishedDateFilterForm(forms.Form): diff --git a/vips_messages/migrations/__init__.py b/vips_messages/migrations/__init__.py index e69de29b..2a8f9409 100755 --- a/vips_messages/migrations/__init__.py +++ b/vips_messages/migrations/__init__.py @@ -0,0 +1,20 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# diff --git a/vips_messages/models.py b/vips_messages/models.py index f4724ace..7916ab2d 100755 --- a/vips_messages/models.py +++ b/vips_messages/models.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# import requests from django.conf import settings diff --git a/vips_messages/tests.py b/vips_messages/tests.py index 501deb77..f4bac652 100755 --- a/vips_messages/tests.py +++ b/vips_messages/tests.py @@ -1,3 +1,23 @@ +# +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# """ This file demonstrates writing tests using the unittest module. These will pass when you run "manage.py test". diff --git a/vips_messages/urls.py b/vips_messages/urls.py index 4a42a90e..fa4a7e6e 100755 --- a/vips_messages/urls.py +++ b/vips_messages/urls.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# from django.urls import re_path diff --git a/vips_messages/views.py b/vips_messages/views.py index 61d0e8b4..54e0d2e9 100755 --- a/vips_messages/views.py +++ b/vips_messages/views.py @@ -1,20 +1,23 @@ # -# Copyright (c) 2014 NIBIO <http://www.nibio.no/>. -# -# This file is part of VIPSWeb. -# VIPSWeb is free software: you can redistribute it and/or modify -# it under the terms of the NIBIO Open Source License as published by -# NIBIO, either version 1 of the License, or (at your option) any -# later version. -# -# VIPSWeb is distributed in the hope that it will be useful, +# Copyright (c) 2013-2023 NIBIO. +# +# This file is part of VIPSWeb +# (see https://gitlab.nibio.no/VIPS/VIPSWeb). +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# NIBIO Open Source License for more details. +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # -# You should have received a copy of the NIBIO Open Source License -# along with VIPSWeb. If not, see <http://www.nibio.no/licenses/>. -# import json -- GitLab