From 697927da9ad978a8f4f4c157dfe66130b73dfbb5 Mon Sep 17 00:00:00 2001 From: ANDRE Simon Date: Fri, 20 Oct 2023 07:38:46 +0200 Subject: [PATCH] Integrate license to all skii/ python files --- skii/__init__.py | 7 +++++++ skii/endpoint/__init__.py | 7 +++++++ skii/endpoint/api.py | 7 +++++++ skii/endpoint/apps.py | 7 +++++++ skii/endpoint/filters.py | 7 +++++++ skii/endpoint/routers/__init__.py | 7 +++++++ skii/endpoint/routers/abstract.py | 7 +++++++ skii/endpoint/routers/agenda.py | 7 +++++++ skii/endpoint/routers/lesson.py | 7 +++++++ skii/endpoint/routers/location.py | 7 +++++++ skii/endpoint/routers/mixins.py | 7 +++++++ skii/endpoint/routers/student.py | 7 +++++++ skii/endpoint/routers/teacher.py | 7 +++++++ skii/endpoint/schemas/__init__.py | 7 +++++++ skii/endpoint/schemas/identifier.py | 7 +++++++ skii/endpoint/schemas/ninja.py | 7 +++++++ skii/endpoint/schemas/response.py | 7 +++++++ skii/endpoint/utils.py | 7 +++++++ skii/platform/__init__.py | 7 +++++++ skii/platform/admin.py | 7 +++++++ skii/platform/apps.py | 7 +++++++ skii/platform/constants.py | 7 +++++++ skii/platform/controllers.py | 7 +++++++ skii/platform/entities.py | 7 +++++++ skii/platform/factories/__init__.py | 7 +++++++ skii/platform/factories/agent.py | 7 +++++++ skii/platform/factories/common.py | 7 +++++++ skii/platform/factories/event.py | 7 +++++++ skii/platform/factories/resource.py | 7 +++++++ skii/platform/forms.py | 7 +++++++ skii/platform/migrations/0001_initial.py | 7 +++++++ .../0002_rename_uuid_lessonevent_guid_and_more.py | 7 +++++++ .../0003_remove_lessonevent_check_no_overlap_and_more.py | 7 +++++++ ...0004_alter_studentagent_user_alter_teacheragent_user.py | 7 +++++++ skii/platform/migrations/__init__.py | 7 +++++++ skii/platform/models/__init__.py | 7 +++++++ skii/platform/models/agent.py | 7 +++++++ skii/platform/models/common.py | 7 +++++++ skii/platform/models/event.py | 7 +++++++ skii/platform/models/resource.py | 7 +++++++ skii/platform/models/user.py | 7 +++++++ skii/platform/schemas/__init__.py | 7 +++++++ skii/platform/schemas/agent.py | 7 +++++++ skii/platform/schemas/common.py | 7 +++++++ skii/platform/schemas/entities.py | 7 +++++++ skii/platform/schemas/event.py | 7 +++++++ skii/platform/schemas/resource.py | 7 +++++++ skii/platform/schemas/vuejs.py | 7 +++++++ 48 files changed, 336 insertions(+) diff --git a/skii/__init__.py b/skii/__init__.py index 3d26edf..b4223db 100644 --- a/skii/__init__.py +++ b/skii/__init__.py @@ -1 +1,8 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja __version__ = "0.4.1" diff --git a/skii/endpoint/__init__.py b/skii/endpoint/__init__.py index e69de29..4d6e599 100644 --- a/skii/endpoint/__init__.py +++ b/skii/endpoint/__init__.py @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja diff --git a/skii/endpoint/api.py b/skii/endpoint/api.py index 0facf2e..7f61a05 100644 --- a/skii/endpoint/api.py +++ b/skii/endpoint/api.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja import json import logging from ipaddress import IPv4Address, IPv6Address diff --git a/skii/endpoint/apps.py b/skii/endpoint/apps.py index d8c3617..22742cd 100644 --- a/skii/endpoint/apps.py +++ b/skii/endpoint/apps.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django.apps import AppConfig diff --git a/skii/endpoint/filters.py b/skii/endpoint/filters.py index 48d6f5b..585d9cc 100644 --- a/skii/endpoint/filters.py +++ b/skii/endpoint/filters.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from datetime import datetime from django.db.models import Q diff --git a/skii/endpoint/routers/__init__.py b/skii/endpoint/routers/__init__.py index 085cbad..7f94943 100644 --- a/skii/endpoint/routers/__init__.py +++ b/skii/endpoint/routers/__init__.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from .student import sub_route as route_student from .teacher import sub_route as route_teacher from .location import router as route_location diff --git a/skii/endpoint/routers/abstract.py b/skii/endpoint/routers/abstract.py index f841d1a..1e87cee 100644 --- a/skii/endpoint/routers/abstract.py +++ b/skii/endpoint/routers/abstract.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from typing import List from ninja import Router, NinjaAPI diff --git a/skii/endpoint/routers/agenda.py b/skii/endpoint/routers/agenda.py index 70786fd..42760fa 100644 --- a/skii/endpoint/routers/agenda.py +++ b/skii/endpoint/routers/agenda.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django.http import HttpRequest from django.contrib.auth import get_user_model from django.utils.translation import gettext_lazy as _ diff --git a/skii/endpoint/routers/lesson.py b/skii/endpoint/routers/lesson.py index 563784d..8efd2ab 100644 --- a/skii/endpoint/routers/lesson.py +++ b/skii/endpoint/routers/lesson.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from typing import List from django.http import HttpRequest diff --git a/skii/endpoint/routers/location.py b/skii/endpoint/routers/location.py index 6e68512..f223640 100644 --- a/skii/endpoint/routers/location.py +++ b/skii/endpoint/routers/location.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from typing import List from django.db.models import Model diff --git a/skii/endpoint/routers/mixins.py b/skii/endpoint/routers/mixins.py index e017628..bd73790 100644 --- a/skii/endpoint/routers/mixins.py +++ b/skii/endpoint/routers/mixins.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja import logging from typing import List, Any diff --git a/skii/endpoint/routers/student.py b/skii/endpoint/routers/student.py index c89c7f8..fe44ea3 100644 --- a/skii/endpoint/routers/student.py +++ b/skii/endpoint/routers/student.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja """ Profile and user are related by foreign key. """ from typing import List diff --git a/skii/endpoint/routers/teacher.py b/skii/endpoint/routers/teacher.py index ad1a3d6..a8769a0 100644 --- a/skii/endpoint/routers/teacher.py +++ b/skii/endpoint/routers/teacher.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja """ Profile and user are related by foreign key. """ from typing import List diff --git a/skii/endpoint/schemas/__init__.py b/skii/endpoint/schemas/__init__.py index e69de29..4d6e599 100644 --- a/skii/endpoint/schemas/__init__.py +++ b/skii/endpoint/schemas/__init__.py @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja diff --git a/skii/endpoint/schemas/identifier.py b/skii/endpoint/schemas/identifier.py index abaf76a..0cf36a2 100644 --- a/skii/endpoint/schemas/identifier.py +++ b/skii/endpoint/schemas/identifier.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from typing import Type from ninja.schema import Schema diff --git a/skii/endpoint/schemas/ninja.py b/skii/endpoint/schemas/ninja.py index 859b686..67a7fab 100644 --- a/skii/endpoint/schemas/ninja.py +++ b/skii/endpoint/schemas/ninja.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from typing import List, Any, Dict from ninja import Schema diff --git a/skii/endpoint/schemas/response.py b/skii/endpoint/schemas/response.py index 6de5c93..881310c 100644 --- a/skii/endpoint/schemas/response.py +++ b/skii/endpoint/schemas/response.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from typing import List, Type from ninja import Schema diff --git a/skii/endpoint/utils.py b/skii/endpoint/utils.py index 3cf824b..290c908 100644 --- a/skii/endpoint/utils.py +++ b/skii/endpoint/utils.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from devtools import debug from django.http import HttpRequest from ninja import Schema diff --git a/skii/platform/__init__.py b/skii/platform/__init__.py index e69de29..4d6e599 100644 --- a/skii/platform/__init__.py +++ b/skii/platform/__init__.py @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja diff --git a/skii/platform/admin.py b/skii/platform/admin.py index 66ee1c3..2775961 100644 --- a/skii/platform/admin.py +++ b/skii/platform/admin.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django.contrib import admin from skii.platform.models.agent import ( diff --git a/skii/platform/apps.py b/skii/platform/apps.py index 9cf5c07..dc43cf4 100644 --- a/skii/platform/apps.py +++ b/skii/platform/apps.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django.apps import AppConfig diff --git a/skii/platform/constants.py b/skii/platform/constants.py index af197f3..004883f 100644 --- a/skii/platform/constants.py +++ b/skii/platform/constants.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja import copy LATITUDE_RANGE_CONFIG = { diff --git a/skii/platform/controllers.py b/skii/platform/controllers.py index 2dd6c40..366f23a 100644 --- a/skii/platform/controllers.py +++ b/skii/platform/controllers.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from datetime import datetime from typing import Iterable diff --git a/skii/platform/entities.py b/skii/platform/entities.py index cebc235..381c6a5 100644 --- a/skii/platform/entities.py +++ b/skii/platform/entities.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja import uuid from dataclasses import dataclass from datetime import datetime, timedelta, time diff --git a/skii/platform/factories/__init__.py b/skii/platform/factories/__init__.py index a1d2e48..1dc1795 100644 --- a/skii/platform/factories/__init__.py +++ b/skii/platform/factories/__init__.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from skii.platform.factories.agent import ( SuperUserFactory, UserFactory, diff --git a/skii/platform/factories/agent.py b/skii/platform/factories/agent.py index 4685bc1..7829c91 100644 --- a/skii/platform/factories/agent.py +++ b/skii/platform/factories/agent.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja import factory from django.contrib.auth import get_user_model diff --git a/skii/platform/factories/common.py b/skii/platform/factories/common.py index 9553eb3..bd45687 100644 --- a/skii/platform/factories/common.py +++ b/skii/platform/factories/common.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja import factory from skii.platform.constants import LATITUDE_RANGE_CONFIG, LONGITUDE_RANGE_CONFIG diff --git a/skii/platform/factories/event.py b/skii/platform/factories/event.py index edc0821..4b0f106 100644 --- a/skii/platform/factories/event.py +++ b/skii/platform/factories/event.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from datetime import timedelta, datetime, UTC from django.db.models import Model diff --git a/skii/platform/factories/resource.py b/skii/platform/factories/resource.py index 8af2d1e..3911662 100644 --- a/skii/platform/factories/resource.py +++ b/skii/platform/factories/resource.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja import factory from .common import GeoCoordinateFactory, VisualAlbumFactory, VisualPictureFactory diff --git a/skii/platform/forms.py b/skii/platform/forms.py index 2183106..f475baf 100644 --- a/skii/platform/forms.py +++ b/skii/platform/forms.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django import forms from skii.platform.entities import mutate_event_state diff --git a/skii/platform/migrations/0001_initial.py b/skii/platform/migrations/0001_initial.py index d8540ae..64326d3 100644 --- a/skii/platform/migrations/0001_initial.py +++ b/skii/platform/migrations/0001_initial.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja # Generated by Django 4.2.5 on 2023-09-17 05:38 from decimal import Decimal diff --git a/skii/platform/migrations/0002_rename_uuid_lessonevent_guid_and_more.py b/skii/platform/migrations/0002_rename_uuid_lessonevent_guid_and_more.py index bd57e10..af18025 100644 --- a/skii/platform/migrations/0002_rename_uuid_lessonevent_guid_and_more.py +++ b/skii/platform/migrations/0002_rename_uuid_lessonevent_guid_and_more.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja # Generated by Django 4.2.5 on 2023-09-28 18:40 from django.db import migrations diff --git a/skii/platform/migrations/0003_remove_lessonevent_check_no_overlap_and_more.py b/skii/platform/migrations/0003_remove_lessonevent_check_no_overlap_and_more.py index 644fc4b..b0e785f 100644 --- a/skii/platform/migrations/0003_remove_lessonevent_check_no_overlap_and_more.py +++ b/skii/platform/migrations/0003_remove_lessonevent_check_no_overlap_and_more.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja # Generated by Django 4.2.6 on 2023-10-05 00:22 from django.db import migrations, models diff --git a/skii/platform/migrations/0004_alter_studentagent_user_alter_teacheragent_user.py b/skii/platform/migrations/0004_alter_studentagent_user_alter_teacheragent_user.py index dda451f..b184224 100644 --- a/skii/platform/migrations/0004_alter_studentagent_user_alter_teacheragent_user.py +++ b/skii/platform/migrations/0004_alter_studentagent_user_alter_teacheragent_user.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja # Generated by Django 4.2.6 on 2023-10-09 16:28 from django.conf import settings diff --git a/skii/platform/migrations/__init__.py b/skii/platform/migrations/__init__.py index e69de29..4d6e599 100644 --- a/skii/platform/migrations/__init__.py +++ b/skii/platform/migrations/__init__.py @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja diff --git a/skii/platform/models/__init__.py b/skii/platform/models/__init__.py index 4a0acf9..7c698d3 100644 --- a/skii/platform/models/__init__.py +++ b/skii/platform/models/__init__.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from .user import SkiiUser __all__ = [ diff --git a/skii/platform/models/agent.py b/skii/platform/models/agent.py index f9db529..0e1fc83 100644 --- a/skii/platform/models/agent.py +++ b/skii/platform/models/agent.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django.contrib.auth import get_user_model from django.db import models from django.utils.translation import gettext_lazy as _ diff --git a/skii/platform/models/common.py b/skii/platform/models/common.py index e3c83f3..6b26e6f 100644 --- a/skii/platform/models/common.py +++ b/skii/platform/models/common.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from decimal import Decimal from django.db import models from django.db.models import Manager diff --git a/skii/platform/models/event.py b/skii/platform/models/event.py index a73506b..a6558f9 100644 --- a/skii/platform/models/event.py +++ b/skii/platform/models/event.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from django.db import models from django.db.models import F, Q, CheckConstraint diff --git a/skii/platform/models/resource.py b/skii/platform/models/resource.py index ddd8106..0f0a4eb 100644 --- a/skii/platform/models/resource.py +++ b/skii/platform/models/resource.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja ###################### # RESOURCES ENTITIES # ###################### diff --git a/skii/platform/models/user.py b/skii/platform/models/user.py index 33e48aa..1d6b006 100644 --- a/skii/platform/models/user.py +++ b/skii/platform/models/user.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from typing import List from django.apps import apps diff --git a/skii/platform/schemas/__init__.py b/skii/platform/schemas/__init__.py index e69de29..4d6e599 100644 --- a/skii/platform/schemas/__init__.py +++ b/skii/platform/schemas/__init__.py @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja diff --git a/skii/platform/schemas/agent.py b/skii/platform/schemas/agent.py index e9c9b97..95039d2 100644 --- a/skii/platform/schemas/agent.py +++ b/skii/platform/schemas/agent.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from typing import Optional from django.contrib.auth import get_user_model diff --git a/skii/platform/schemas/common.py b/skii/platform/schemas/common.py index 1fa15fe..2237df0 100644 --- a/skii/platform/schemas/common.py +++ b/skii/platform/schemas/common.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from datetime import datetime, timedelta from typing import Optional, List from ninja import Schema, ModelSchema diff --git a/skii/platform/schemas/entities.py b/skii/platform/schemas/entities.py index 9ece437..6d91528 100644 --- a/skii/platform/schemas/entities.py +++ b/skii/platform/schemas/entities.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from ninja import ModelSchema from skii.platform.entities import RecordIdentityHistory diff --git a/skii/platform/schemas/event.py b/skii/platform/schemas/event.py index 3e63ca2..86db274 100644 --- a/skii/platform/schemas/event.py +++ b/skii/platform/schemas/event.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from datetime import datetime from typing import List from skii.endpoint.schemas.identifier import IntStrUUID4 diff --git a/skii/platform/schemas/resource.py b/skii/platform/schemas/resource.py index 742f7a7..4c4ef68 100644 --- a/skii/platform/schemas/resource.py +++ b/skii/platform/schemas/resource.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from typing import Optional from ninja import ModelSchema, Field diff --git a/skii/platform/schemas/vuejs.py b/skii/platform/schemas/vuejs.py index 059f900..387ea59 100644 --- a/skii/platform/schemas/vuejs.py +++ b/skii/platform/schemas/vuejs.py @@ -1,3 +1,10 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. +# Copyright © Simon ANDRÉ synw (https://github.com/synw/) +# project: SkiiSchoolPlatform +# github: https://github.com/boot-sandre/skii-school-platform/ +# template: https://github.com/synw/django-spaninja from ninja import Schema