Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SPDX license identifiers to .vue, .ts, and .py files #1081

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/authentication/admin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
from typing import Any

from django import forms
Expand Down
1 change: 1 addition & 0 deletions backend/authentication/apps.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
from django.apps import AppConfig


Expand Down
3 changes: 2 additions & 1 deletion backend/core/settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
"""
Django settings for activist.org.

Expand All @@ -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

Expand Down
3 changes: 2 additions & 1 deletion backend/core/urls.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

"""
URL configuration for the activist backend.

Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions backend/manage.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
#!/usr/bin/env python

"""
Django's command-line utility for administrative tasks.
"""
Expand Down
1 change: 1 addition & 0 deletions frontend/components/card/CardTopicSelection.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
<template v-model="value">
<div class="card-style w-full flex-col space-y-3 px-5 py-6">
<p class="responsive-h3 font-medium text-primary-text">
Expand Down
1 change: 1 addition & 0 deletions frontend/components/card/about/CardAboutOrganization.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
<template>
<CardAbout>
<ModalQRCodeBtn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
<template>
<CardChangeAccountInfo
:ctaLabel="$t('components.card_change_account_info_username.header_cta')"
Expand Down
1 change: 1 addition & 0 deletions frontend/components/form/FormViewSelector.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
<template>
<RadioGroup
v-model="value"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- SPDX-License-Identifier: AGPL-3.0-or-later -->
<template>
<div class="flex flex-col">
<div
Expand Down
1 change: 1 addition & 0 deletions frontend/utils/btnUtils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
export function getBtnDynamicClass(
cta: boolean,
fontSize: string,
Expand Down
1 change: 1 addition & 0 deletions utils/used_api_calls.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
"""
Checks the API calls used in the frontend to against what's been defined in the backend.

Expand Down
Loading