From 99a6242026e8bb4e76251167c5221d2cff06d730 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 12 Jan 2025 19:43:29 +0000 Subject: [PATCH 01/10] Added SPDX license identifiers to .vue, .ts, and .py files --- backend/authentication/admin.py | 1 + backend/authentication/apps.py | 1 + backend/core/settings.py | 3 ++- backend/core/urls.py | 3 ++- backend/manage.py | 2 ++ frontend/components/card/CardTopicSelection.vue | 1 + frontend/components/card/about/CardAboutOrganization.vue | 1 + .../card/change-account-info/CardChangeAccountInfoUsername.vue | 1 + frontend/components/form/FormViewSelector.vue | 1 + .../components/sidebar/left/filters/SidebarLeftFilters.vue | 1 + frontend/utils/btnUtils.ts | 1 + utils/used_api_calls.py | 1 + 12 files changed, 15 insertions(+), 2 deletions(-) diff --git a/backend/authentication/admin.py b/backend/authentication/admin.py index f0fb8b9eb..767f4d9f4 100644 --- a/backend/authentication/admin.py +++ b/backend/authentication/admin.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later from typing import Any from django import forms diff --git a/backend/authentication/apps.py b/backend/authentication/apps.py index c65f1d28b..643d6d5fc 100644 --- a/backend/authentication/apps.py +++ b/backend/authentication/apps.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later from django.apps import AppConfig diff --git a/backend/core/settings.py b/backend/core/settings.py index b72eeb731..6db723cb1 100644 --- a/backend/core/settings.py +++ b/backend/core/settings.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """ Django settings for activist.org. @@ -7,7 +8,7 @@ For the full list of settings and their values, see: https://docs.djangoproject.com/en/4.1/ref/settings/ """ - +# SPDX-License-Identifier: AGPL-3.0-or-later import os from pathlib import Path diff --git a/backend/core/urls.py b/backend/core/urls.py index 84363e488..053b830a7 100644 --- a/backend/core/urls.py +++ b/backend/core/urls.py @@ -1,3 +1,4 @@ + """ URL configuration for the activist backend. @@ -14,7 +15,7 @@ 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ - +# SPDX-License-Identifier: AGPL-3.0-or-later import os from django.contrib import admin diff --git a/backend/manage.py b/backend/manage.py index 13b8df4b1..e6541bb9b 100755 --- a/backend/manage.py +++ b/backend/manage.py @@ -1,4 +1,6 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later #!/usr/bin/env python + """ Django's command-line utility for administrative tasks. """ diff --git a/frontend/components/card/CardTopicSelection.vue b/frontend/components/card/CardTopicSelection.vue index 506f5c76f..6631d9f04 100644 --- a/frontend/components/card/CardTopicSelection.vue +++ b/frontend/components/card/CardTopicSelection.vue @@ -1,3 +1,4 @@ +