From 5eb8dc66a8a5d83a39f444c923069f0daf6bb63d Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Tue, 26 Jan 2021 23:32:12 +0330 Subject: [PATCH] add license notice to everything --- server/src/main/java/ir/armor/tachidesk/APKExtractor.java | 4 ++++ server/src/main/kotlin/ir/armor/tachidesk/Config.kt | 4 ++++ server/src/main/kotlin/ir/armor/tachidesk/Main.kt | 4 ++++ .../src/main/kotlin/ir/armor/tachidesk/database/DBMangaer.kt | 4 ++++ .../ir/armor/tachidesk/database/dataclass/ChapterDataClass.kt | 4 ++++ .../armor/tachidesk/database/dataclass/ExtensionDataClass.kt | 4 ++++ .../ir/armor/tachidesk/database/dataclass/MangaDataClass.kt | 4 ++++ .../ir/armor/tachidesk/database/dataclass/PageDataClass.kt | 4 ++++ .../ir/armor/tachidesk/database/dataclass/SourceDataClass.kt | 4 ++++ .../ir/armor/tachidesk/database/entity/ExtensionEntity.kt | 4 ++++ .../kotlin/ir/armor/tachidesk/database/entity/MangaEntity.kt | 4 ++++ .../kotlin/ir/armor/tachidesk/database/entity/SourceEntity.kt | 4 ++++ server/src/main/kotlin/ir/armor/tachidesk/util/APK.kt | 4 ++++ server/src/main/kotlin/ir/armor/tachidesk/util/Chapter.kt | 4 ++++ .../src/main/kotlin/ir/armor/tachidesk/util/ExtensionsList.kt | 4 ++++ server/src/main/kotlin/ir/armor/tachidesk/util/Manga.kt | 4 ++++ server/src/main/kotlin/ir/armor/tachidesk/util/MangaList.kt | 4 ++++ server/src/main/kotlin/ir/armor/tachidesk/util/Search.kt | 4 ++++ server/src/main/kotlin/ir/armor/tachidesk/util/SourceList.kt | 4 ++++ server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt | 4 ++++ webUI/react/src/App.tsx | 4 ++++ webUI/react/src/components/ChapterCard.tsx | 4 ++++ webUI/react/src/components/ExtensionCard.tsx | 4 ++++ webUI/react/src/components/MangaCard.tsx | 4 ++++ webUI/react/src/components/MangaDetails.tsx | 4 ++++ webUI/react/src/components/MangaGrid.tsx | 4 ++++ webUI/react/src/components/NavBar.tsx | 4 ++++ webUI/react/src/components/SourceCard.tsx | 4 ++++ webUI/react/src/components/TemporaryDrawer.tsx | 4 ++++ webUI/react/src/context/DarkTheme.tsx | 4 ++++ webUI/react/src/context/NavbarTitle.tsx | 4 ++++ webUI/react/src/index.css | 4 ++++ webUI/react/src/index.tsx | 4 ++++ webUI/react/src/react-app-env.d.ts | 4 ++++ webUI/react/src/reportWebVitals.ts | 4 ++++ webUI/react/src/screens/Extensions.tsx | 4 ++++ webUI/react/src/screens/Home.tsx | 4 ++++ webUI/react/src/screens/Manga.tsx | 4 ++++ webUI/react/src/screens/MangaList.tsx | 4 ++++ webUI/react/src/screens/Reader.tsx | 4 ++++ webUI/react/src/screens/SearchSingle.tsx | 4 ++++ webUI/react/src/screens/Sources.tsx | 4 ++++ webUI/react/src/typings.d.ts | 4 ++++ 43 files changed, 172 insertions(+) diff --git a/server/src/main/java/ir/armor/tachidesk/APKExtractor.java b/server/src/main/java/ir/armor/tachidesk/APKExtractor.java index 623487dc..99fb8e4b 100644 --- a/server/src/main/java/ir/armor/tachidesk/APKExtractor.java +++ b/server/src/main/java/ir/armor/tachidesk/APKExtractor.java @@ -1,5 +1,9 @@ package ir.armor.tachidesk; +/* 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.w3c.dom.Document; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.NodeList; diff --git a/server/src/main/kotlin/ir/armor/tachidesk/Config.kt b/server/src/main/kotlin/ir/armor/tachidesk/Config.kt index 0824286b..6597c78b 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/Config.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/Config.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk +/* 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 net.harawata.appdirs.AppDirsFactory object Config { diff --git a/server/src/main/kotlin/ir/armor/tachidesk/Main.kt b/server/src/main/kotlin/ir/armor/tachidesk/Main.kt index 74462296..105acb12 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/Main.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/Main.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk +/* 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 io.javalin.Javalin import ir.armor.tachidesk.util.applicationSetup 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 429d654f..b6a3215b 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/database/DBMangaer.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/database/DBMangaer.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk.database +/* 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.Config import ir.armor.tachidesk.database.table.ChapterTable import ir.armor.tachidesk.database.table.ExtensionsTable 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 972a1f03..c3ca0463 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,5 +1,9 @@ package ir.armor.tachidesk.database.dataclass +/* 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/. */ + data class ChapterDataClass( val id: Int, val url: String, 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 70c90148..c8eac3af 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,5 +1,9 @@ package ir.armor.tachidesk.database.dataclass +/* 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/. */ + data class ExtensionDataClass( val name: String, val pkgName: String, 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 07e7057d..61020ba4 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,5 +1,9 @@ package ir.armor.tachidesk.database.dataclass +/* 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.table.MangaStatus data class MangaDataClass( 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 d799c383..6b3401a0 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,5 +1,9 @@ package ir.armor.tachidesk.database.dataclass +/* 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/. */ + data class PageDataClass( val index: Int, var imageUrl: String, 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 740d6893..badd3979 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,5 +1,9 @@ package ir.armor.tachidesk.database.dataclass +/* 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/. */ + data class SourceDataClass( val id: String, val name: String, 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 6c9e8567..1b1ce477 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,5 +1,9 @@ package ir.armor.tachidesk.database.entity +/* 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.table.ExtensionsTable import org.jetbrains.exposed.dao.IntEntity import org.jetbrains.exposed.dao.IntEntityClass 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 f0d6b464..51a18af0 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,5 +1,9 @@ package ir.armor.tachidesk.database.entity +/* 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.table.MangaTable import org.jetbrains.exposed.dao.IntEntity import org.jetbrains.exposed.dao.IntEntityClass 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 6f0cbc6f..460c0037 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,5 +1,9 @@ package ir.armor.tachidesk.database.entity +/* 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.table.SourceTable import org.jetbrains.exposed.dao.EntityClass import org.jetbrains.exposed.dao.LongEntity diff --git a/server/src/main/kotlin/ir/armor/tachidesk/util/APK.kt b/server/src/main/kotlin/ir/armor/tachidesk/util/APK.kt index a0793e52..4b5ba158 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/APK.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/APK.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk.util +/* 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.googlecode.dex2jar.tools.Dex2jarCmd import eu.kanade.tachiyomi.extension.api.ExtensionGithubApi import eu.kanade.tachiyomi.network.NetworkHelper 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 aeb556a0..11b50166 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Chapter.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Chapter.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk.util +/* 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.source.model.Page import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SManga 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 41f90775..558d729a 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/ExtensionsList.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/ExtensionsList.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk.util +/* 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.extension.api.ExtensionGithubApi import eu.kanade.tachiyomi.extension.model.Extension import ir.armor.tachidesk.database.dataclass.ExtensionDataClass 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 4b7fa44e..ed95ff37 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Manga.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Manga.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk.util +/* 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.source.model.SManga import ir.armor.tachidesk.database.dataclass.MangaDataClass import ir.armor.tachidesk.database.table.MangaStatus 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 54af9117..de537099 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/MangaList.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/MangaList.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk.util +/* 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.source.model.MangasPage import ir.armor.tachidesk.database.dataclass.MangaDataClass import ir.armor.tachidesk.database.dataclass.PagedMangaListDataClass 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 5c21ab3c..ed0057a1 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Search.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Search.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk.util +/* 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.PagedMangaListDataClass fun sourceFilters(sourceId: Long) { 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 13a397eb..cf3edc7a 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/SourceList.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/SourceList.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk.util +/* 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.source.SourceFactory import eu.kanade.tachiyomi.source.online.HttpSource import ir.armor.tachidesk.Config 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 233d54df..5f9aa9fa 100644 --- a/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt +++ b/server/src/main/kotlin/ir/armor/tachidesk/util/Util.kt @@ -1,5 +1,9 @@ package ir.armor.tachidesk.util +/* 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.Config import ir.armor.tachidesk.database.makeDataBaseTables import java.io.File diff --git a/webUI/react/src/App.tsx b/webUI/react/src/App.tsx index 96d30847..d8dc9104 100644 --- a/webUI/react/src/App.tsx +++ b/webUI/react/src/App.tsx @@ -1,3 +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/. */ + import React, { useState } from 'react'; import { BrowserRouter as Router, Route, Switch, diff --git a/webUI/react/src/components/ChapterCard.tsx b/webUI/react/src/components/ChapterCard.tsx index be532bfb..19df0170 100644 --- a/webUI/react/src/components/ChapterCard.tsx +++ b/webUI/react/src/components/ChapterCard.tsx @@ -1,3 +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/. */ + import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Card from '@material-ui/core/Card'; diff --git a/webUI/react/src/components/ExtensionCard.tsx b/webUI/react/src/components/ExtensionCard.tsx index 636f9059..75182b58 100644 --- a/webUI/react/src/components/ExtensionCard.tsx +++ b/webUI/react/src/components/ExtensionCard.tsx @@ -1,3 +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/. */ + import React, { useState } from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Card from '@material-ui/core/Card'; diff --git a/webUI/react/src/components/MangaCard.tsx b/webUI/react/src/components/MangaCard.tsx index 24aed2a2..12ae32a3 100644 --- a/webUI/react/src/components/MangaCard.tsx +++ b/webUI/react/src/components/MangaCard.tsx @@ -1,3 +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/. */ + import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Card from '@material-ui/core/Card'; diff --git a/webUI/react/src/components/MangaDetails.tsx b/webUI/react/src/components/MangaDetails.tsx index df50d1e3..3da6a551 100644 --- a/webUI/react/src/components/MangaDetails.tsx +++ b/webUI/react/src/components/MangaDetails.tsx @@ -1,3 +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/. */ + import React from 'react'; interface IProps{ diff --git a/webUI/react/src/components/MangaGrid.tsx b/webUI/react/src/components/MangaGrid.tsx index e50f8aab..ac2d7524 100644 --- a/webUI/react/src/components/MangaGrid.tsx +++ b/webUI/react/src/components/MangaGrid.tsx @@ -1,3 +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/. */ + import React, { useEffect, useRef } from 'react'; import Grid from '@material-ui/core/Grid'; import MangaCard from './MangaCard'; diff --git a/webUI/react/src/components/NavBar.tsx b/webUI/react/src/components/NavBar.tsx index 4348b03d..2c7702e9 100644 --- a/webUI/react/src/components/NavBar.tsx +++ b/webUI/react/src/components/NavBar.tsx @@ -1,3 +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/. */ + import React, { useContext, useState } from 'react'; import { makeStyles } from '@material-ui/core/styles'; import MoreIcon from '@material-ui/icons/MoreVert'; diff --git a/webUI/react/src/components/SourceCard.tsx b/webUI/react/src/components/SourceCard.tsx index ceb139d4..be4bfa36 100644 --- a/webUI/react/src/components/SourceCard.tsx +++ b/webUI/react/src/components/SourceCard.tsx @@ -1,3 +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/. */ + import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Card from '@material-ui/core/Card'; diff --git a/webUI/react/src/components/TemporaryDrawer.tsx b/webUI/react/src/components/TemporaryDrawer.tsx index 93b92443..ace737a2 100644 --- a/webUI/react/src/components/TemporaryDrawer.tsx +++ b/webUI/react/src/components/TemporaryDrawer.tsx @@ -1,3 +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/. */ + import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Drawer from '@material-ui/core/Drawer'; diff --git a/webUI/react/src/context/DarkTheme.tsx b/webUI/react/src/context/DarkTheme.tsx index fabf32b6..313bb0de 100644 --- a/webUI/react/src/context/DarkTheme.tsx +++ b/webUI/react/src/context/DarkTheme.tsx @@ -1,3 +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/. */ + import React from 'react'; type ContextType = { diff --git a/webUI/react/src/context/NavbarTitle.tsx b/webUI/react/src/context/NavbarTitle.tsx index 9e2a13d6..b98b6c05 100644 --- a/webUI/react/src/context/NavbarTitle.tsx +++ b/webUI/react/src/context/NavbarTitle.tsx @@ -1,3 +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/. */ + import React from 'react'; type ContextType = { diff --git a/webUI/react/src/index.css b/webUI/react/src/index.css index 4e41b69a..e78bdd20 100644 --- a/webUI/react/src/index.css +++ b/webUI/react/src/index.css @@ -1,3 +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/. */ + body { margin: 0; } \ No newline at end of file diff --git a/webUI/react/src/index.tsx b/webUI/react/src/index.tsx index e28316a2..93235156 100644 --- a/webUI/react/src/index.tsx +++ b/webUI/react/src/index.tsx @@ -1,3 +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/. */ + import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; diff --git a/webUI/react/src/react-app-env.d.ts b/webUI/react/src/react-app-env.d.ts index 6431bc5f..b74f6f93 100644 --- a/webUI/react/src/react-app-env.d.ts +++ b/webUI/react/src/react-app-env.d.ts @@ -1 +1,5 @@ +/* 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/reportWebVitals.ts b/webUI/react/src/reportWebVitals.ts index be87314a..a7c0b683 100644 --- a/webUI/react/src/reportWebVitals.ts +++ b/webUI/react/src/reportWebVitals.ts @@ -1,3 +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/. */ + import { ReportHandler } from 'web-vitals'; const reportWebVitals = (onPerfEntry?: ReportHandler) => { diff --git a/webUI/react/src/screens/Extensions.tsx b/webUI/react/src/screens/Extensions.tsx index a7961d41..74cb7c2c 100644 --- a/webUI/react/src/screens/Extensions.tsx +++ b/webUI/react/src/screens/Extensions.tsx @@ -1,3 +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/. */ + import React, { useContext, useEffect, useState } from 'react'; import ExtensionCard from '../components/ExtensionCard'; import NavBarTitle from '../context/NavbarTitle'; diff --git a/webUI/react/src/screens/Home.tsx b/webUI/react/src/screens/Home.tsx index 08edfc25..fe82eb8a 100644 --- a/webUI/react/src/screens/Home.tsx +++ b/webUI/react/src/screens/Home.tsx @@ -1,3 +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/. */ + import React from 'react'; export default function Home() { diff --git a/webUI/react/src/screens/Manga.tsx b/webUI/react/src/screens/Manga.tsx index 8f74ff76..ae51e8cc 100644 --- a/webUI/react/src/screens/Manga.tsx +++ b/webUI/react/src/screens/Manga.tsx @@ -1,3 +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/. */ + import React, { useEffect, useState, useContext } from 'react'; import { useParams } from 'react-router-dom'; import ChapterCard from '../components/ChapterCard'; diff --git a/webUI/react/src/screens/MangaList.tsx b/webUI/react/src/screens/MangaList.tsx index a3d854c3..78dd7dd2 100644 --- a/webUI/react/src/screens/MangaList.tsx +++ b/webUI/react/src/screens/MangaList.tsx @@ -1,3 +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/. */ + import React, { useContext, useEffect, useState } from 'react'; import { useParams } from 'react-router-dom'; import MangaGrid from '../components/MangaGrid'; diff --git a/webUI/react/src/screens/Reader.tsx b/webUI/react/src/screens/Reader.tsx index 90e4bd8c..c8f65351 100644 --- a/webUI/react/src/screens/Reader.tsx +++ b/webUI/react/src/screens/Reader.tsx @@ -1,3 +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/. */ + import React, { useContext, useEffect, useState } from 'react'; import { useParams } from 'react-router-dom'; import NavBarTitle from '../context/NavbarTitle'; diff --git a/webUI/react/src/screens/SearchSingle.tsx b/webUI/react/src/screens/SearchSingle.tsx index b40cac57..c91aa232 100644 --- a/webUI/react/src/screens/SearchSingle.tsx +++ b/webUI/react/src/screens/SearchSingle.tsx @@ -1,3 +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/. */ + import React, { useContext, useEffect, useState } from 'react'; import { makeStyles } from '@material-ui/core/styles'; import TextField from '@material-ui/core/TextField'; diff --git a/webUI/react/src/screens/Sources.tsx b/webUI/react/src/screens/Sources.tsx index 7426e6ab..0a73e82e 100644 --- a/webUI/react/src/screens/Sources.tsx +++ b/webUI/react/src/screens/Sources.tsx @@ -1,3 +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/. */ + import React, { useContext, useEffect, useState } from 'react'; import SourceCard from '../components/SourceCard'; import NavBarTitle from '../context/NavbarTitle'; diff --git a/webUI/react/src/typings.d.ts b/webUI/react/src/typings.d.ts index d064afce..c4b209d4 100644 --- a/webUI/react/src/typings.d.ts +++ b/webUI/react/src/typings.d.ts @@ -1,3 +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/. */ + interface IExtension { name: string lang: string