From 84b0c264503ee1d86fff88f16f04082a54c8e12a Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Fri, 26 Mar 2021 04:17:02 +0430 Subject: [PATCH] change the copyright owner to Contributors to the Suwayomi project --- .../main/java/xyz/nulldev/ts/config/ConfigManager.kt | 7 +++++++ AndroidCompat/getAndroid.ps1 | 8 +++++++- AndroidCompat/getAndroid.sh | 7 +++++++ README.md | 2 +- server/src/main/kotlin/eu/kanade/tachiyomi/App.kt | 7 +++++++ .../src/main/kotlin/eu/kanade/tachiyomi/AppModule.kt | 7 +++++++ .../tachiyomi/extension/api/ExtensionGithubApi.kt | 7 +++++++ .../tachiyomi/extension/util/ExtensionLoader.kt | 7 +++++++ .../kanade/tachiyomi/network/CloudflareInterceptor.kt | 7 +++++++ .../eu/kanade/tachiyomi/network/MemoryCookieJar.kt | 7 +++++++ .../eu/kanade/tachiyomi/network/NetworkHelper.kt | 7 +++++++ server/src/main/kotlin/ir/armor/tachidesk/Main.kt | 5 ++++- .../main/kotlin/ir/armor/tachidesk/ServerConfig.kt | 7 +++++++ .../src/main/kotlin/ir/armor/tachidesk/ServerSetup.kt | 7 +++++++ .../kotlin/ir/armor/tachidesk/database/DBMangaer.kt | 5 ++++- .../tachidesk/database/dataclass/CategoryDataClass.kt | 5 ++++- .../tachidesk/database/dataclass/ChapterDataClass.kt | 5 ++++- .../database/dataclass/ExtensionDataClass.kt | 5 ++++- .../tachidesk/database/dataclass/MangaDataClass.kt | 5 ++++- .../tachidesk/database/dataclass/PageDataClass.kt | 5 ++++- .../tachidesk/database/dataclass/SourceDataClass.kt | 5 ++++- .../tachidesk/database/entity/ExtensionEntity.kt | 5 ++++- .../ir/armor/tachidesk/database/entity/MangaEntity.kt | 5 ++++- .../armor/tachidesk/database/entity/SourceEntity.kt | 5 ++++- .../tachidesk/database/table/CategoryMangaTable.kt | 10 +++++++--- .../armor/tachidesk/database/table/CategoryTable.kt | 5 ++++- .../ir/armor/tachidesk/database/table/ChapterTable.kt | 5 ++++- .../armor/tachidesk/database/table/ExtensionTable.kt | 5 ++++- .../ir/armor/tachidesk/database/table/MangaTable.kt | 5 ++++- .../ir/armor/tachidesk/database/table/PageTable.kt | 5 ++++- .../ir/armor/tachidesk/database/table/SourceTable.kt | 5 ++++- .../ir/armor/tachidesk/util}/APKExtractor.java | 8 +++++--- .../main/kotlin/ir/armor/tachidesk/util/Category.kt | 11 +++++++---- .../kotlin/ir/armor/tachidesk/util/CategoryManga.kt | 11 +++++++---- .../main/kotlin/ir/armor/tachidesk/util/Chapter.kt | 5 ++++- .../main/kotlin/ir/armor/tachidesk/util/Extension.kt | 6 ++++-- .../kotlin/ir/armor/tachidesk/util/ExtensionsList.kt | 5 ++++- .../src/main/kotlin/ir/armor/tachidesk/util/File.kt | 5 ++++- .../main/kotlin/ir/armor/tachidesk/util/Library.kt | 10 +++++++--- .../src/main/kotlin/ir/armor/tachidesk/util/Manga.kt | 5 ++++- .../kotlin/ir/armor/tachidesk/util/MangaDexHelper.kt | 5 ++++- .../main/kotlin/ir/armor/tachidesk/util/MangaList.kt | 5 ++++- .../src/main/kotlin/ir/armor/tachidesk/util/Page.kt | 5 ++++- .../src/main/kotlin/ir/armor/tachidesk/util/Search.kt | 5 ++++- .../main/kotlin/ir/armor/tachidesk/util/SourceList.kt | 5 ++++- .../src/main/kotlin/ir/armor/tachidesk/util/Util.kt | 5 ++++- webUI/react/src/App.tsx | 5 ++++- webUI/react/src/components/CategorySelect.tsx | 5 ++++- webUI/react/src/components/ChapterCard.tsx | 5 ++++- webUI/react/src/components/ExtensionCard.tsx | 5 ++++- webUI/react/src/components/ExtensionLangSelect.tsx | 5 ++++- webUI/react/src/components/MangaCard.tsx | 5 ++++- webUI/react/src/components/MangaDetails.tsx | 5 ++++- webUI/react/src/components/MangaGrid.tsx | 5 ++++- webUI/react/src/components/NavBar.tsx | 6 ++++-- webUI/react/src/components/Page.tsx | 5 ++++- webUI/react/src/components/ReaderNavBar.tsx | 5 ++++- webUI/react/src/components/SourceCard.tsx | 5 ++++- webUI/react/src/components/TemporaryDrawer.tsx | 5 ++++- webUI/react/src/context/DarkTheme.tsx | 5 ++++- webUI/react/src/context/NavbarContext.tsx | 5 ++++- webUI/react/src/index.css | 5 ++++- webUI/react/src/index.tsx | 5 ++++- webUI/react/src/react-app-env.d.ts | 5 ++++- webUI/react/src/screens/Extensions.tsx | 5 ++++- webUI/react/src/screens/Library.tsx | 5 ++++- webUI/react/src/screens/Manga.tsx | 5 ++++- webUI/react/src/screens/Reader.tsx | 5 ++++- webUI/react/src/screens/SearchSingle.tsx | 5 ++++- webUI/react/src/screens/Settings.tsx | 5 ++++- webUI/react/src/screens/SourceMangas.tsx | 5 ++++- webUI/react/src/screens/Sources.tsx | 5 ++++- webUI/react/src/screens/settings/Categories.jsx | 5 ++++- webUI/react/src/typings.d.ts | 5 ++++- webUI/react/src/util/client.tsx | 5 ++++- webUI/react/src/util/language.tsx | 5 ++++- webUI/react/src/util/localStorage.tsx | 5 ++++- webUI/react/src/util/useLocalStorage.tsx | 5 ++++- 78 files changed, 358 insertions(+), 81 deletions(-) rename server/src/main/{java/ir/armor/tachidesk => kotlin/ir/armor/tachidesk/util}/APKExtractor.java (98%) diff --git a/AndroidCompat/Config/src/main/java/xyz/nulldev/ts/config/ConfigManager.kt b/AndroidCompat/Config/src/main/java/xyz/nulldev/ts/config/ConfigManager.kt index b9d3f54..59a43c1 100644 --- a/AndroidCompat/Config/src/main/java/xyz/nulldev/ts/config/ConfigManager.kt +++ b/AndroidCompat/Config/src/main/java/xyz/nulldev/ts/config/ConfigManager.kt @@ -1,5 +1,12 @@ package xyz.nulldev.ts.config +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import com.typesafe.config.Config import com.typesafe.config.ConfigFactory import com.typesafe.config.ConfigRenderOptions diff --git a/AndroidCompat/getAndroid.ps1 b/AndroidCompat/getAndroid.ps1 index ca743ec..45d2a9e 100644 --- a/AndroidCompat/getAndroid.ps1 +++ b/AndroidCompat/getAndroid.ps1 @@ -1,4 +1,10 @@ -# This is a windows only powershell script to create android.jar stubs +# Copyright (C) Contributors to the Suwayomi project +# +# 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/. + +# This is a windows only PowerShell script to create android.jar stubs # foolproof against running from AndroidCompat dir instead of running from project root if ($(Split-Path -Path (Get-Location) -Leaf) -eq "AndroidCompat" ) { diff --git a/AndroidCompat/getAndroid.sh b/AndroidCompat/getAndroid.sh index 2eef7cb..78b7b52 100755 --- a/AndroidCompat/getAndroid.sh +++ b/AndroidCompat/getAndroid.sh @@ -1,4 +1,11 @@ #!/usr/bin/env bash + +# Copyright (C) Contributors to the Suwayomi project +# +# 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/. + # This is a bash script to create android.jar stubs # foolproof against running from AndroidCompat dir instead of running from project root diff --git a/README.md b/README.md index c35a670..35d4092 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ Changes to both codebases is licensed under `MPL v. 2.0` as the rest of this pro ## License - Copyright (C) 2020-2021 Aria Moradi and contributors + Copyright (C) Contributors to the Suwayomi project 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 diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/App.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/App.kt index 8366e24..86ad195 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/App.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/App.kt @@ -1,5 +1,12 @@ package eu.kanade.tachiyomi +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import android.app.Application import android.content.Context // import android.content.res.Configuration diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/AppModule.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/AppModule.kt index ffeacbd..60a17ac 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/AppModule.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/AppModule.kt @@ -1,5 +1,12 @@ package eu.kanade.tachiyomi +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import android.app.Application import com.google.gson.Gson // import eu.kanade.tachiyomi.data.cache.ChapterCache diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt index a6c3b1f..f96e9ac 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt @@ -1,5 +1,12 @@ package eu.kanade.tachiyomi.extension.api +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + // import android.content.Context // import eu.kanade.tachiyomi.data.preference.PreferencesHelper import eu.kanade.tachiyomi.extension.model.Extension diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt index 92c4f68..4cff898 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/extension/util/ExtensionLoader.kt @@ -1,5 +1,12 @@ package eu.kanade.tachiyomi.extension.util +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + // import android.annotation.SuppressLint // import android.content.Context // import android.content.pm.PackageInfo diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/network/CloudflareInterceptor.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/network/CloudflareInterceptor.kt index d52f746..beb9761 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/network/CloudflareInterceptor.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/network/CloudflareInterceptor.kt @@ -1,5 +1,12 @@ package eu.kanade.tachiyomi.network +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + // import android.annotation.SuppressLint // import android.content.Context // import android.os.Build diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/network/MemoryCookieJar.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/network/MemoryCookieJar.kt index 100c66e..89c402f 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/network/MemoryCookieJar.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/network/MemoryCookieJar.kt @@ -1,5 +1,12 @@ package eu.kanade.tachiyomi.network +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import okhttp3.Cookie import okhttp3.CookieJar import okhttp3.HttpUrl diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/network/NetworkHelper.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/network/NetworkHelper.kt index dbf87cc..ca11826 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/network/NetworkHelper.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/network/NetworkHelper.kt @@ -1,5 +1,12 @@ package eu.kanade.tachiyomi.network +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + // import android.content.Context // import eu.kanade.tachiyomi.BuildConfig // import eu.kanade.tachiyomi.data.preference.PreferencesHelper diff --git a/server/src/main/kotlin/ir/armor/tachidesk/Main.kt b/server/src/main/kotlin/ir/armor/tachidesk/Main.kt index 64cb9cf..8ef8878 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/Main.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/Main.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/ServerConfig.kt b/server/src/main/kotlin/ir/armor/tachidesk/ServerConfig.kt index 26dc6ec..96d34a6 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/ServerConfig.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/ServerConfig.kt @@ -1,5 +1,12 @@ package ir.armor.tachidesk +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import com.typesafe.config.Config import xyz.nulldev.ts.config.ConfigModule import java.io.File diff --git a/server/src/main/kotlin/ir/armor/tachidesk/ServerSetup.kt b/server/src/main/kotlin/ir/armor/tachidesk/ServerSetup.kt index d2ea04c..a54dafb 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/ServerSetup.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/ServerSetup.kt @@ -1,5 +1,12 @@ package ir.armor.tachidesk +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import eu.kanade.tachiyomi.App import ir.armor.tachidesk.database.makeDataBaseTables import ir.armor.tachidesk.util.systemTray diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/DBMangaer.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/DBMangaer.kt index 8f16197..8873204 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/DBMangaer.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/DBMangaer.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/CategoryDataClass.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/CategoryDataClass.kt index 81e0a87..250d013 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/CategoryDataClass.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/CategoryDataClass.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.dataclass -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/ChapterDataClass.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/ChapterDataClass.kt index 8b59a03..d0fdf9d 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/ChapterDataClass.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/ChapterDataClass.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.dataclass -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/ExtensionDataClass.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/ExtensionDataClass.kt index c8eac3a..8df7f76 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/ExtensionDataClass.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/ExtensionDataClass.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.dataclass -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/MangaDataClass.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/MangaDataClass.kt index e7e81f0..dffe8ee 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/MangaDataClass.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/MangaDataClass.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.dataclass -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/PageDataClass.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/PageDataClass.kt index 6b3401a..0d58d5d 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/PageDataClass.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/PageDataClass.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.dataclass -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/SourceDataClass.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/SourceDataClass.kt index 53a02ca..2d6990a 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/SourceDataClass.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/dataclass/SourceDataClass.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.dataclass -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/entity/ExtensionEntity.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/entity/ExtensionEntity.kt index 9ef2f33..06a5f8d 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/entity/ExtensionEntity.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/entity/ExtensionEntity.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.entity -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/entity/MangaEntity.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/entity/MangaEntity.kt index 51a18af..7890c6d 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/entity/MangaEntity.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/entity/MangaEntity.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.entity -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/entity/SourceEntity.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/entity/SourceEntity.kt index 460c003..b516ed1 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/entity/SourceEntity.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/entity/SourceEntity.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.entity -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryMangaTable.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryMangaTable.kt index dee38f2..1e1e9c9 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryMangaTable.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryMangaTable.kt @@ -1,10 +1,14 @@ package ir.armor.tachidesk.database.table +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import org.jetbrains.exposed.dao.id.IntIdTable -/* 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/. */ object CategoryMangaTable : IntIdTable() { val category = reference("category", CategoryTable) diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryTable.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryTable.kt index d645c92..6f9c1c6 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryTable.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/table/CategoryTable.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.table -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/table/ChapterTable.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/table/ChapterTable.kt index bc4e8fd..8ecf6ae 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/table/ChapterTable.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/table/ChapterTable.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.table -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/table/ExtensionTable.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/table/ExtensionTable.kt index c044c60..b9b7351 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/table/ExtensionTable.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/table/ExtensionTable.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.table -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/table/MangaTable.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/table/MangaTable.kt index 1312aac..9f454b6 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/table/MangaTable.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/table/MangaTable.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.table -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/table/PageTable.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/table/PageTable.kt index 35ab8a0..c56816b 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/table/PageTable.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/table/PageTable.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.table -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/database/table/SourceTable.kt b/server/src/main/kotlin/ir/armor/tachidesk/database/table/SourceTable.kt index 25f54d4..4af6cc5 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/table/SourceTable.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/table/SourceTable.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.database.table -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/java/ir/armor/tachidesk/APKExtractor.java b/server/src/main/kotlin/ir/armor/tachidesk/util/APKExtractor.java similarity index 98% rename from server/src/main/java/ir/armor/tachidesk/APKExtractor.java rename to server/src/main/kotlin/ir/armor/tachidesk/util/APKExtractor.java index 99fb8e4..2f8e7f9 100644 --- a/server/src/main/java/ir/armor/tachidesk/APKExtractor.java +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/APKExtractor.java @@ -1,6 +1,9 @@ -package ir.armor.tachidesk; +package ir.armor.tachidesk.util; -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ @@ -16,7 +19,6 @@ import java.nio.file.Files; import java.nio.file.Paths; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; -import java.util.zip.ZipInputStream; public class APKExtractor { // decompressXML -- Parse the 'compressed' binary form of Android XML docs diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Category.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Category.kt index ae851b5..0bf0119 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Category.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Category.kt @@ -1,5 +1,12 @@ package ir.armor.tachidesk.util +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import ir.armor.tachidesk.database.dataclass.CategoryDataClass import ir.armor.tachidesk.database.table.CategoryMangaTable import ir.armor.tachidesk.database.table.CategoryTable @@ -12,10 +19,6 @@ import org.jetbrains.exposed.sql.selectAll import org.jetbrains.exposed.sql.transactions.transaction import org.jetbrains.exposed.sql.update -/* 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/. */ - fun createCategory(name: String) { transaction { val count = CategoryTable.selectAll().count() diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/CategoryManga.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/CategoryManga.kt index 01a4716..440f890 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/CategoryManga.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/CategoryManga.kt @@ -1,5 +1,12 @@ package ir.armor.tachidesk.util +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import ir.armor.tachidesk.database.dataclass.CategoryDataClass import ir.armor.tachidesk.database.dataclass.MangaDataClass import ir.armor.tachidesk.database.table.CategoryMangaTable @@ -14,10 +21,6 @@ import org.jetbrains.exposed.sql.select import org.jetbrains.exposed.sql.transactions.transaction import org.jetbrains.exposed.sql.update -/* 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/. */ - fun addMangaToCategory(mangaId: Int, categoryId: Int) { transaction { if (CategoryMangaTable.select { (CategoryMangaTable.category eq categoryId) and (CategoryMangaTable.manga eq mangaId) }.firstOrNull() == null) { diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Chapter.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Chapter.kt index 4cae703..92d9562 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Chapter.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Chapter.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Extension.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Extension.kt index 44d5a42..eb73758 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Extension.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Extension.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ @@ -12,7 +15,6 @@ import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.NetworkHelper import eu.kanade.tachiyomi.source.SourceFactory import eu.kanade.tachiyomi.source.online.HttpSource -import ir.armor.tachidesk.APKExtractor import ir.armor.tachidesk.applicationDirs import ir.armor.tachidesk.database.table.ExtensionTable import ir.armor.tachidesk.database.table.SourceTable diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/ExtensionsList.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/ExtensionsList.kt index 22dbef5..cb30be6 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/ExtensionsList.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/ExtensionsList.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/File.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/File.kt index f37304a..c48de68 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/File.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/File.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Library.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Library.kt index b37ca2d..e2e4a72 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Library.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Library.kt @@ -1,5 +1,12 @@ package ir.armor.tachidesk.util +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ + import ir.armor.tachidesk.database.dataclass.MangaDataClass import ir.armor.tachidesk.database.table.CategoryMangaTable import ir.armor.tachidesk.database.table.MangaTable @@ -11,9 +18,6 @@ import org.jetbrains.exposed.sql.select import org.jetbrains.exposed.sql.transactions.transaction import org.jetbrains.exposed.sql.update -/* 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/. */ fun addMangaToLibrary(mangaId: Int) { val manga = getManga(mangaId) diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Manga.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Manga.kt index 85daf78..51ebfc2 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Manga.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Manga.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/MangaDexHelper.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/MangaDexHelper.kt index f8115ec..687a408 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/MangaDexHelper.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/MangaDexHelper.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/MangaList.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/MangaList.kt index 2a7ffe0..e0b4c3d 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/MangaList.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/MangaList.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Page.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Page.kt index eb2cc98..3f2312e 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Page.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Page.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Search.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Search.kt index 69b7b20..6670b61 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Search.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Search.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/SourceList.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/SourceList.kt index e7105dc..e78ee49 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/SourceList.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/SourceList.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt index 0e62037..ad7acae 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt @@ -1,6 +1,9 @@ package ir.armor.tachidesk.util -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/App.tsx b/webUI/react/src/App.tsx index c4ce248..3cbaa05 100644 --- a/webUI/react/src/App.tsx +++ b/webUI/react/src/App.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/CategorySelect.tsx b/webUI/react/src/components/CategorySelect.tsx index 2e31893..166a858 100644 --- a/webUI/react/src/components/CategorySelect.tsx +++ b/webUI/react/src/components/CategorySelect.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/ChapterCard.tsx b/webUI/react/src/components/ChapterCard.tsx index 0aa65e9..7521386 100644 --- a/webUI/react/src/components/ChapterCard.tsx +++ b/webUI/react/src/components/ChapterCard.tsx @@ -1,5 +1,8 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/ExtensionCard.tsx b/webUI/react/src/components/ExtensionCard.tsx index 245075a..e44afa0 100644 --- a/webUI/react/src/components/ExtensionCard.tsx +++ b/webUI/react/src/components/ExtensionCard.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/ExtensionLangSelect.tsx b/webUI/react/src/components/ExtensionLangSelect.tsx index c5e65c7..95382ac 100644 --- a/webUI/react/src/components/ExtensionLangSelect.tsx +++ b/webUI/react/src/components/ExtensionLangSelect.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/MangaCard.tsx b/webUI/react/src/components/MangaCard.tsx index 7340011..82220ec 100644 --- a/webUI/react/src/components/MangaCard.tsx +++ b/webUI/react/src/components/MangaCard.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/MangaDetails.tsx b/webUI/react/src/components/MangaDetails.tsx index 45c4e52..517745f 100644 --- a/webUI/react/src/components/MangaDetails.tsx +++ b/webUI/react/src/components/MangaDetails.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/MangaGrid.tsx b/webUI/react/src/components/MangaGrid.tsx index a08e6e3..2af00d4 100644 --- a/webUI/react/src/components/MangaGrid.tsx +++ b/webUI/react/src/components/MangaGrid.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/NavBar.tsx b/webUI/react/src/components/NavBar.tsx index 702dedb..87f09ab 100644 --- a/webUI/react/src/components/NavBar.tsx +++ b/webUI/react/src/components/NavBar.tsx @@ -1,5 +1,7 @@ -// TODO: remove above! -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/Page.tsx b/webUI/react/src/components/Page.tsx index c738a06..58350d3 100644 --- a/webUI/react/src/components/Page.tsx +++ b/webUI/react/src/components/Page.tsx @@ -1,6 +1,9 @@ /* eslint-disable react/no-unused-prop-types */ /* eslint-disable @typescript-eslint/no-unused-vars */ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/ReaderNavBar.tsx b/webUI/react/src/components/ReaderNavBar.tsx index def80dc..654c83c 100644 --- a/webUI/react/src/components/ReaderNavBar.tsx +++ b/webUI/react/src/components/ReaderNavBar.tsx @@ -1,5 +1,8 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/SourceCard.tsx b/webUI/react/src/components/SourceCard.tsx index bd71d08..e1562fe 100644 --- a/webUI/react/src/components/SourceCard.tsx +++ b/webUI/react/src/components/SourceCard.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/components/TemporaryDrawer.tsx b/webUI/react/src/components/TemporaryDrawer.tsx index c486588..86b8f7b 100644 --- a/webUI/react/src/components/TemporaryDrawer.tsx +++ b/webUI/react/src/components/TemporaryDrawer.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/context/DarkTheme.tsx b/webUI/react/src/context/DarkTheme.tsx index 313bb0d..011762c 100644 --- a/webUI/react/src/context/DarkTheme.tsx +++ b/webUI/react/src/context/DarkTheme.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/context/NavbarContext.tsx b/webUI/react/src/context/NavbarContext.tsx index b4d80c2..c59b5b5 100644 --- a/webUI/react/src/context/NavbarContext.tsx +++ b/webUI/react/src/context/NavbarContext.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/index.css b/webUI/react/src/index.css index e78bdd2..3c9044a 100644 --- a/webUI/react/src/index.css +++ b/webUI/react/src/index.css @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/index.tsx b/webUI/react/src/index.tsx index c10d98b..c3f91a3 100644 --- a/webUI/react/src/index.tsx +++ b/webUI/react/src/index.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/react-app-env.d.ts b/webUI/react/src/react-app-env.d.ts index b74f6f9..87b106f 100644 --- a/webUI/react/src/react-app-env.d.ts +++ b/webUI/react/src/react-app-env.d.ts @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/screens/Extensions.tsx b/webUI/react/src/screens/Extensions.tsx index 4eb6244..9e6124b 100644 --- a/webUI/react/src/screens/Extensions.tsx +++ b/webUI/react/src/screens/Extensions.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/screens/Library.tsx b/webUI/react/src/screens/Library.tsx index 814032f..f14206b 100644 --- a/webUI/react/src/screens/Library.tsx +++ b/webUI/react/src/screens/Library.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/screens/Manga.tsx b/webUI/react/src/screens/Manga.tsx index a5ff2f6..ea05f0e 100644 --- a/webUI/react/src/screens/Manga.tsx +++ b/webUI/react/src/screens/Manga.tsx @@ -1,5 +1,8 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/screens/Reader.tsx b/webUI/react/src/screens/Reader.tsx index 2c0a2d4..5a787ba 100644 --- a/webUI/react/src/screens/Reader.tsx +++ b/webUI/react/src/screens/Reader.tsx @@ -1,5 +1,8 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/screens/SearchSingle.tsx b/webUI/react/src/screens/SearchSingle.tsx index c23ac48..06a5a6d 100644 --- a/webUI/react/src/screens/SearchSingle.tsx +++ b/webUI/react/src/screens/SearchSingle.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/screens/Settings.tsx b/webUI/react/src/screens/Settings.tsx index 529bf68..d1b6d67 100644 --- a/webUI/react/src/screens/Settings.tsx +++ b/webUI/react/src/screens/Settings.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/screens/SourceMangas.tsx b/webUI/react/src/screens/SourceMangas.tsx index 15868e1..e0f4381 100644 --- a/webUI/react/src/screens/SourceMangas.tsx +++ b/webUI/react/src/screens/SourceMangas.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/screens/Sources.tsx b/webUI/react/src/screens/Sources.tsx index 0c68f21..7b37b25 100644 --- a/webUI/react/src/screens/Sources.tsx +++ b/webUI/react/src/screens/Sources.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/screens/settings/Categories.jsx b/webUI/react/src/screens/settings/Categories.jsx index 8ac1d98..1e0d2bd 100644 --- a/webUI/react/src/screens/settings/Categories.jsx +++ b/webUI/react/src/screens/settings/Categories.jsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/typings.d.ts b/webUI/react/src/typings.d.ts index 9de7960..018165c 100644 --- a/webUI/react/src/typings.d.ts +++ b/webUI/react/src/typings.d.ts @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/util/client.tsx b/webUI/react/src/util/client.tsx index 1f69400..024d1ae 100644 --- a/webUI/react/src/util/client.tsx +++ b/webUI/react/src/util/client.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/util/language.tsx b/webUI/react/src/util/language.tsx index b6c2fb8..920f6c9 100644 --- a/webUI/react/src/util/language.tsx +++ b/webUI/react/src/util/language.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/util/localStorage.tsx b/webUI/react/src/util/localStorage.tsx index bdb836b..1861a5a 100644 --- a/webUI/react/src/util/localStorage.tsx +++ b/webUI/react/src/util/localStorage.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */ diff --git a/webUI/react/src/util/useLocalStorage.tsx b/webUI/react/src/util/useLocalStorage.tsx index 119f73f..8339283 100644 --- a/webUI/react/src/util/useLocalStorage.tsx +++ b/webUI/react/src/util/useLocalStorage.tsx @@ -1,4 +1,7 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public +/* + * Copyright (C) Contributors to the Suwayomi project + * + * 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/. */