diff --git a/VIPSWeb/__init__.py b/VIPSWeb/__init__.py index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 c401f6cbd48eca91ca8156544db3977790c89dd1..ef3b3e765d59ef5da139d5bd4c1545d52c3a4678 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 d0870a6f31172a700f6528bb606b9877733d5d04..fee12ee535aa95325b945d17fa722fd4e1522528 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 65ef58f06bbf9af829c27d57d530dd276f014a84..885bcc0b40be1f0319fc462f8f3865ea594ffeec 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 0c3006ea621f0dd8c1fbd3e3d14a348d359ef1f2..3cf4f5e07908a30de505b2564a7207bd47192e2d 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 cc1c5a96702b086f4dad4aa69b913772186f3c5a..895f7ee1de56e33da04f3080a205ef00520ccd59 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 268850ec116eeaca4631b0a52ef472b93e39a552..c93f42198d6310f4787fd1fde06700ac9a7c1a3f 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 74f2fee79de9e9896d5f2a92231139a040213b02..d2e71e4fcb14e14372a4ddfdd83747310b2de1c4 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 ff95b082818085ce939804325a72d1f6b190c22a..0b89e49c8e9683045de917b1e379086dfea833dd 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 71a836239075aa6e6e4ecb700e9c42c95c022d91..c3f26f1ffe0fe2ebe715664d8a62e61a0cc6b9a4 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 f694372d9ee5f0ea4b13168d2c3f43b10c8f3569..9cd9b0317891153efa6323aa5d5d2719e282b5e6 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 2636be88df7de06fcf1856fa2b5a5a6f503760f1..b9a0e437ac8e1b95bb2fe47322efcb3fbe6f156d 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 71a836239075aa6e6e4ecb700e9c42c95c022d91..c3f26f1ffe0fe2ebe715664d8a62e61a0cc6b9a4 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 6c1644cb7752a1bde6d101bc1f3073fbacf5c996..a08269b9e9cec93d1729c467f08f906d59c7e9e2 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 bcaeb63e2b53c31c637727f649e0577306c10089..abe90548d927f3e69163f3b7034caf0fbb630e65 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 71a836239075aa6e6e4ecb700e9c42c95c022d91..c3f26f1ffe0fe2ebe715664d8a62e61a0cc6b9a4 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 e4368fe9d1603f1442fe5d7eb6050f19bada898e..82665a0fa6a385c847ebf2393e18aa1088b8dfef 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 b968b1012f836adde8f57af346e98f5acc4c54f8..d81434eb3b801dacfa002b182f0bc8512102b8fd 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8a40f0042b4ddcd23925ee697e881f0f360f43e1..c6c8947b06b11ebcc54a2f4635084507c5d8da92 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 74015f0aac788479dc27e6fd0b32c3493baef232..dfa458f408ad91e39fedc61b89f2a8da7d966850 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 13be29d96fa090f33674d220cade585cf961ad8f..961396020284bfc40d40a1bfd5ded17f1ea43a41 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 47324dfe946a2957c9613a52db2ae8c9eca7f4c0..4f116fef5ab4f82e1dcfa0531f2fcf5ea4c46d06 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 1dfab76043e92738de321f817d6185000e0a9440..67fe01bfbe41560fdf1c18915a083d6cc79d472e 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 5982e6bcd29dd7a86f95cb9ce468697474e59287..994369db66fc41c70b77839739003e61062b871b 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 5005bba0554d72f317d49fab6a4214057d665fc5..a0f60cca70fad7a53271438443a5b172aba70f2a 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 f05e2bcaed1d46d6cadd4faee13a2935693444eb..d94b97a5064b1490c4df3870f8560e9359a55477 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 07dd750edf8bbec0b7744f281032e3751e5581fc..231553214809e0fe9226a93b92a50f339b19f7e1 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 cf56d7542afa24a628cd6da3012929a73cac375b..1def18fcdb916d0363de755d4c72f221c574f0e2 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 5c6104ff3bdde5a9dfc18a9fa25a77e9b088636c..e6098a592151ce443a7d0dfb201be303772039e1 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 501deb776c16733b19f3509d86e125df78958261..f4bac6527d0d6c6822d5477dbdf96c0f9c7071f4 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 9c3499ec655f14f1c02dd877988c9951d3198eea..400e856fbc37a60a067412645b5b64b3d1561919 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 f8f8f9aeb0a69176a50483595b9e8f3d7c129ef3..6dce05debd5b941312f4c0d2a735556c0dfdc5d2 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 71a836239075aa6e6e4ecb700e9c42c95c022d91..c3f26f1ffe0fe2ebe715664d8a62e61a0cc6b9a4 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 9fb1f77f68c7553c518ba04bc2e8512e632b1345..7f2e24fceb8667a6bf9ee912f3479953b3676cf7 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 35d201f965d2ccf9279dc842a7353a7b368549c3..2b828d279fe474501b2cbe6838bd98eeda8170f0 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 17493e564fe79e2520962fa12811ad57b9f1600c..926c8dad9b0eec3e2116fe93df2712b1e19659f6 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 1911f446918a8b466d6cd48c126bb53b41220115..f0e0324578609ee38b4e8a15cc875ae62e503653 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 c13d2d73615216771a0bd2aaf81741523ec3d767..bf1a63c2a31cb909ee729f1c11ad69b5e9ae632e 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 c330d5ef754376c15f8fefb25f974384dcfa3c6c..c3c0d57b0e4990da1637aac683e011c6af93952f 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 a56463fc5eee2c0ef41757642b2e8e989138e104..72efff685e43b1c5927756141dddf290eb29f252 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 71a836239075aa6e6e4ecb700e9c42c95c022d91..c3f26f1ffe0fe2ebe715664d8a62e61a0cc6b9a4 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 f076576d0af1a217592b2cfe4d0aa935b34e70c2..cf4a473ddc69b6cb559ec23aa2cf01bc8b15ef24 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 8f147afb1e7c08c34243d1d064549172b45ef64f..b47d27a8326b23b69706771e973a4768400f9559 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 a549fe986d0cfb91436bebbd276c1101ccf44347..325a77cfc2b846e362679de38383dc4451851eb5 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 71a836239075aa6e6e4ecb700e9c42c95c022d91..c3f26f1ffe0fe2ebe715664d8a62e61a0cc6b9a4 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 c30c0dd0f53185d7d1aee1b8906a19f3d05557a2..ce2540d08cfc5630263b54e83700585729332edd 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 9987ce40b7e79a54e6bf7794148b01baf9d72d45..55070209a7ee5a66b413e55d5b229b6428fc928b 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 2b8c8a02315043c06437c2a1f26019b954d8f7ae..3f012fffd8f2b206282807de29917c0cd773174f 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 71a836239075aa6e6e4ecb700e9c42c95c022d91..c3f26f1ffe0fe2ebe715664d8a62e61a0cc6b9a4 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 09e94d6fc4de20141c21e7fc16c5f04a0c1c706a..0f75f017609c5a9b3844f67a759b656444156451 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 56d52329e2a2281777602497f208b5da6cee29c9..94caa4442f660865d9d69296ce1ccc97d3abc021 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 9486a9931a4360c4d48e6f5a4b5af606eef3117b..54343a36962f8376aac410c4e93dd752cb414ef9 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 b597deb886cc0205166f4086ea661056aca62731..fe90be6e08f25f67e341725f27ae6b7ae35c30b1 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 f46d30bc564eb914cb17571fe54e2d2d0d9255bf..2529f88d48ded8fad163a093337dc1b8ea2d766a 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 71a836239075aa6e6e4ecb700e9c42c95c022d91..c3f26f1ffe0fe2ebe715664d8a62e61a0cc6b9a4 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 d5b771515ca2f0b21ea190945c3cf21a2b884150..49b249bae994c56f96b17da2a70dd3df21c1984c 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 82676eb3b60ca4ec1c47aa4c5cd667afd4accc84..28c04af3a81c0930ac76b2d544cd72dc424c4b6d 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 e8c856a77b16d8181f52d6da8543cb0042686b20..e08f2c3885d3603810119ece7f1f271e4cdc8f04 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 e3d365a130663af8cc853142088478af7d1167c6..6ae2fcf3c032b8d8bfc8d31be419604d308f7bac 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 88849498a7b6a84943824f0fceab6f264c900ad1..016cc51c1d50f03003974799823929bd1ceab7c9 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 06983135d8d0d71526ea7b7eacf996b8977b300e..06c4216b9031cf3843ba27690e89db1d5321d693 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..ad4f682fd44d35dc3b50bf0befd25189e6db53a1 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 ebdfcc751bac3a4e6204439e3d0283a56fe12d38..6a7a424ee04a53fc3b93c8796e07703a454fd405 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 71a836239075aa6e6e4ecb700e9c42c95c022d91..c3f26f1ffe0fe2ebe715664d8a62e61a0cc6b9a4 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 7ce503c2dd97ba78597f6ff6e4393132753573f6..222e293f86b80e9507a1cf2ac4b3e806dac6b420 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 63dd488dad9a53d166eae215451006753b5803eb..b5724f32cceff1b3cd2573036c81b1ca15696792 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 9b04a6b8bc6f11eba8c2e82b85be21f63cb51157..eea91a82abbfafcf3c08a5263b080c2beb45fec7 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 0658db543a4ccd2225828dd6084faba1ee97eb46..f5fc01cf7ba6ebd58fb9d0b5bf45d81ca4d63ca5 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 4941afa9a3b8c71aad131691b4452bf99c32ce08..b695f2bdff744994ae6709bb6d8dd9c4e4b1e960 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 23e0313e280360642afc1faf0099a5cf884359ae..9c10a6a48654c2a0cf97f4b2210ac3e469744b24 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 995d3f43db8969730b968324778774b977da3025..9bb1d6d63f8c78b303ef1c53da8be37de789537a 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2a8f9409f12ebd3de876407c7b7a28252a3952ad 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 f4724ace674d330d263953b5c0c3e3d5939b3ab1..7916ab2dab6c14a54f564c9c3b08228f6e441eb2 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 501deb776c16733b19f3509d86e125df78958261..f4bac6527d0d6c6822d5477dbdf96c0f9c7071f4 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 4a42a90ea5a07cb6523afc33f0220fa1c2f6dce1..fa4a7e6e457638d7922871f6ea9e348ceb9cf57a 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 61d0e8b4686c17952c2a9d8173995fdf7bde7ad4..54e0d2e9441265b0b634a65825aa49f8d142f727 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