From b4f0d60b9bbacebd862653a5e12ce96d4c6949a5 Mon Sep 17 00:00:00 2001 From: soup Date: Wed, 6 Nov 2024 21:37:42 +0100 Subject: [PATCH] chore: add missing license headers (#1811) * chore: add missing license headers * missing license in test files --- internal/database/tools/convert.go | 3 +++ internal/database/tools/seed.go | 3 +++ internal/domain/rejections.go | 3 +++ internal/domain/rejections_test.go | 3 +++ internal/indexer/definition_test.go | 3 +++ internal/indexer/parse.go | 3 +++ internal/logger/sanitize.go | 3 +++ internal/notification/lunasea.go | 3 +++ internal/notification/message_builder.go | 3 +++ internal/notification/message_builder_test.go | 3 +++ internal/notification/shoutrrr.go | 3 +++ internal/releasedownload/download_service.go | 3 +++ web/src/forms/settings/ProxyForms.tsx | 5 +++++ web/src/screens/settings/Proxy.tsx | 5 +++++ 14 files changed, 46 insertions(+) diff --git a/internal/database/tools/convert.go b/internal/database/tools/convert.go index 6d6dfb5..276345d 100644 --- a/internal/database/tools/convert.go +++ b/internal/database/tools/convert.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package tools import ( diff --git a/internal/database/tools/seed.go b/internal/database/tools/seed.go index 00ed9a5..2c4584e 100644 --- a/internal/database/tools/seed.go +++ b/internal/database/tools/seed.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package tools import ( diff --git a/internal/domain/rejections.go b/internal/domain/rejections.go index cdeea5d..1fef42c 100644 --- a/internal/domain/rejections.go +++ b/internal/domain/rejections.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package domain import ( diff --git a/internal/domain/rejections_test.go b/internal/domain/rejections_test.go index 2612fe1..b68be56 100644 --- a/internal/domain/rejections_test.go +++ b/internal/domain/rejections_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package domain import ( diff --git a/internal/indexer/definition_test.go b/internal/indexer/definition_test.go index 735db40..af40371 100644 --- a/internal/indexer/definition_test.go +++ b/internal/indexer/definition_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package indexer import ( diff --git a/internal/indexer/parse.go b/internal/indexer/parse.go index 85a229c..be4f6e8 100644 --- a/internal/indexer/parse.go +++ b/internal/indexer/parse.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package indexer import ( diff --git a/internal/logger/sanitize.go b/internal/logger/sanitize.go index f267797..d9a50c5 100644 --- a/internal/logger/sanitize.go +++ b/internal/logger/sanitize.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package logger import ( diff --git a/internal/notification/lunasea.go b/internal/notification/lunasea.go index 832d5ee..7f39f69 100644 --- a/internal/notification/lunasea.go +++ b/internal/notification/lunasea.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package notification import ( diff --git a/internal/notification/message_builder.go b/internal/notification/message_builder.go index 6b899ce..7737e60 100644 --- a/internal/notification/message_builder.go +++ b/internal/notification/message_builder.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package notification import ( diff --git a/internal/notification/message_builder_test.go b/internal/notification/message_builder_test.go index c347c39..4574397 100644 --- a/internal/notification/message_builder_test.go +++ b/internal/notification/message_builder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package notification import ( diff --git a/internal/notification/shoutrrr.go b/internal/notification/shoutrrr.go index 18cef51..88034eb 100644 --- a/internal/notification/shoutrrr.go +++ b/internal/notification/shoutrrr.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package notification import ( diff --git a/internal/releasedownload/download_service.go b/internal/releasedownload/download_service.go index 9df0ca9..2171a97 100644 --- a/internal/releasedownload/download_service.go +++ b/internal/releasedownload/download_service.go @@ -1,3 +1,6 @@ +// Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. +// SPDX-License-Identifier: GPL-2.0-or-later + package releasedownload import ( diff --git a/web/src/forms/settings/ProxyForms.tsx b/web/src/forms/settings/ProxyForms.tsx index b4603e0..724564b 100644 --- a/web/src/forms/settings/ProxyForms.tsx +++ b/web/src/forms/settings/ProxyForms.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. + * SPDX-License-Identifier: GPL-2.0-or-later + */ + import { Fragment } from "react"; import { Form, Formik, FormikValues } from "formik"; import { Dialog, DialogPanel, DialogTitle, Transition, TransitionChild } from "@headlessui/react"; diff --git a/web/src/screens/settings/Proxy.tsx b/web/src/screens/settings/Proxy.tsx index 072065d..757eb2e 100644 --- a/web/src/screens/settings/Proxy.tsx +++ b/web/src/screens/settings/Proxy.tsx @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2021-2024, Ludvig Lundgren and the autobrr contributors. + * SPDX-License-Identifier: GPL-2.0-or-later + */ + import { useToggle } from "@hooks/hooks.ts"; import { useMutation, useQueryClient, useSuspenseQuery } from "@tanstack/react-query"; import { PlusIcon } from "@heroicons/react/24/solid";