From 73c19a75fbcdd167d6c3f9d33e7a5529752815ab Mon Sep 17 00:00:00 2001 From: Florian Loitsch Date: Tue, 7 Nov 2023 11:29:46 +0100 Subject: [PATCH] Add MIT license. --- LICENSE | 21 +++++++++++++++++++ src/App.tsx | 4 ++++ src/components/ExploreView.tsx | 4 ++++ src/components/MainView.tsx | 4 ++++ src/components/WelcomeView.tsx | 4 ++++ .../general/BorderLinearProgress.tsx | 4 ++++ src/components/general/Footer.tsx | 4 ++++ src/components/general/PackageCard.tsx | 4 ++++ src/components/general/PackageLineDetails.tsx | 4 ++++ src/components/general/ScrollToTop.tsx | 4 ++++ src/components/general/SnackBar.tsx | 4 ++++ src/components/header/AppBar.tsx | 4 ++++ src/components/header/ToolbarTop.tsx | 4 ++++ src/components/package/ActionBox.tsx | 4 ++++ src/components/package/DependenciesView.tsx | 4 ++++ src/components/package/InstallationView.tsx | 4 ++++ src/components/package/PackageMenuView.tsx | 4 ++++ src/components/package/PackageSkeleton.tsx | 4 ++++ src/components/package/PackageView.tsx | 4 ++++ src/components/package/VersionsView.tsx | 4 ++++ src/components/publish/PublishView.tsx | 4 ++++ src/components/search/SearchPackage.tsx | 4 ++++ src/components/search/SearchView.tsx | 4 ++++ src/index.tsx | 4 ++++ src/misc/icons.tsx | 4 ++++ 25 files changed, 117 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3eeccb8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Toitware ApS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/src/App.tsx b/src/App.tsx index 3578619..0c80d9c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { MuiThemeProvider } from "@material-ui/core/styles"; import CookieConsent from "@toitware/cookie-consent"; import React from "react"; diff --git a/src/components/ExploreView.tsx b/src/components/ExploreView.tsx index 1d15cb9..808706b 100644 --- a/src/components/ExploreView.tsx +++ b/src/components/ExploreView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, Grid, Theme, Typography, WithStyles, withStyles } from "@material-ui/core"; import React from "react"; import Footer, { footerHeight } from "./general/Footer"; diff --git a/src/components/MainView.tsx b/src/components/MainView.tsx index 192b101..33c09de 100644 --- a/src/components/MainView.tsx +++ b/src/components/MainView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, CssBaseline, Theme, withStyles, WithStyles } from "@material-ui/core"; import { History, UnregisterCallback } from "history"; import React from "react"; diff --git a/src/components/WelcomeView.tsx b/src/components/WelcomeView.tsx index 028eb78..e496b57 100644 --- a/src/components/WelcomeView.tsx +++ b/src/components/WelcomeView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { Button, createStyles, diff --git a/src/components/general/BorderLinearProgress.tsx b/src/components/general/BorderLinearProgress.tsx index db92ce1..a96c562 100644 --- a/src/components/general/BorderLinearProgress.tsx +++ b/src/components/general/BorderLinearProgress.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import LinearProgress from "@material-ui/core/LinearProgress"; import { createStyles, Theme, withStyles } from "@material-ui/core/styles"; import React from "react"; diff --git a/src/components/general/Footer.tsx b/src/components/general/Footer.tsx index 392f41a..8deda97 100644 --- a/src/components/general/Footer.tsx +++ b/src/components/general/Footer.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, Grid, Link, Theme, Typography, WithStyles, withStyles } from "@material-ui/core"; import { History } from "history"; import React from "react"; diff --git a/src/components/general/PackageCard.tsx b/src/components/general/PackageCard.tsx index 2a638b0..484c3b5 100644 --- a/src/components/general/PackageCard.tsx +++ b/src/components/general/PackageCard.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { Box, createStyles, Grid, Theme, Typography, WithStyles, withStyles } from "@material-ui/core"; import React from "react"; import { RouteComponentProps, withRouter } from "react-router"; diff --git a/src/components/general/PackageLineDetails.tsx b/src/components/general/PackageLineDetails.tsx index 785412c..9c1987a 100644 --- a/src/components/general/PackageLineDetails.tsx +++ b/src/components/general/PackageLineDetails.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, Grid, Theme, Typography, WithStyles, withStyles } from "@material-ui/core"; import React from "react"; diff --git a/src/components/general/ScrollToTop.tsx b/src/components/general/ScrollToTop.tsx index 0813565..4f3132a 100644 --- a/src/components/general/ScrollToTop.tsx +++ b/src/components/general/ScrollToTop.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { Location } from "history"; import React from "react"; import { RouteComponentProps, withRouter } from "react-router"; diff --git a/src/components/general/SnackBar.tsx b/src/components/general/SnackBar.tsx index 86584fb..8bba5a5 100644 --- a/src/components/general/SnackBar.tsx +++ b/src/components/general/SnackBar.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { Button, createStyles, IconButton, Snackbar, Theme, WithStyles, withStyles } from "@material-ui/core"; import SuccessIcon from "@material-ui/icons/CheckCircle"; import CloseIcon from "@material-ui/icons/Close"; diff --git a/src/components/header/AppBar.tsx b/src/components/header/AppBar.tsx index fa76ef5..c6a8c74 100644 --- a/src/components/header/AppBar.tsx +++ b/src/components/header/AppBar.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { AppBar as Bar, Button, diff --git a/src/components/header/ToolbarTop.tsx b/src/components/header/ToolbarTop.tsx index 3a04975..f6a20d2 100644 --- a/src/components/header/ToolbarTop.tsx +++ b/src/components/header/ToolbarTop.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { Button, createStyles, diff --git a/src/components/package/ActionBox.tsx b/src/components/package/ActionBox.tsx index 5aade2f..60f5761 100644 --- a/src/components/package/ActionBox.tsx +++ b/src/components/package/ActionBox.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { Box, createStyles, Grid, Link, Theme, Typography, WithStyles } from "@material-ui/core"; import { withStyles } from "@material-ui/styles"; import React from "react"; diff --git a/src/components/package/DependenciesView.tsx b/src/components/package/DependenciesView.tsx index ea6f702..0bfffb4 100644 --- a/src/components/package/DependenciesView.tsx +++ b/src/components/package/DependenciesView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, Grid, Link, Theme, Typography, WithStyles } from "@material-ui/core"; import { withStyles } from "@material-ui/styles"; import React from "react"; diff --git a/src/components/package/InstallationView.tsx b/src/components/package/InstallationView.tsx index 751b12e..1b89da3 100644 --- a/src/components/package/InstallationView.tsx +++ b/src/components/package/InstallationView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, Grid, Theme, Typography, WithStyles } from "@material-ui/core"; import { withStyles } from "@material-ui/styles"; import React from "react"; diff --git a/src/components/package/PackageMenuView.tsx b/src/components/package/PackageMenuView.tsx index 6c442fb..cdadd34 100644 --- a/src/components/package/PackageMenuView.tsx +++ b/src/components/package/PackageMenuView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { AppBar, Box, diff --git a/src/components/package/PackageSkeleton.tsx b/src/components/package/PackageSkeleton.tsx index 178d374..a094882 100644 --- a/src/components/package/PackageSkeleton.tsx +++ b/src/components/package/PackageSkeleton.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, Grid, Theme, WithStyles, withStyles } from "@material-ui/core"; import { Skeleton } from "@material-ui/lab"; import React from "react"; diff --git a/src/components/package/PackageView.tsx b/src/components/package/PackageView.tsx index 417418f..93b2de4 100644 --- a/src/components/package/PackageView.tsx +++ b/src/components/package/PackageView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, Grid, Theme, Typography, WithStyles } from "@material-ui/core"; import { withStyles } from "@material-ui/styles"; import { History } from "history"; diff --git a/src/components/package/VersionsView.tsx b/src/components/package/VersionsView.tsx index 7fe4ed7..807157e 100644 --- a/src/components/package/VersionsView.tsx +++ b/src/components/package/VersionsView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, Grid, Link, Theme, WithStyles } from "@material-ui/core"; import { withStyles } from "@material-ui/styles"; import React from "react"; diff --git a/src/components/publish/PublishView.tsx b/src/components/publish/PublishView.tsx index d050866..c6bd638 100644 --- a/src/components/publish/PublishView.tsx +++ b/src/components/publish/PublishView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { Button, CircularProgress, diff --git a/src/components/search/SearchPackage.tsx b/src/components/search/SearchPackage.tsx index f8e681f..2dadafe 100644 --- a/src/components/search/SearchPackage.tsx +++ b/src/components/search/SearchPackage.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { Box, createStyles, Grid, Theme, Typography, WithStyles, withStyles } from "@material-ui/core"; import React from "react"; import { Link, RouteComponentProps, withRouter } from "react-router-dom"; diff --git a/src/components/search/SearchView.tsx b/src/components/search/SearchView.tsx index 7c6fd33..d3e4824 100644 --- a/src/components/search/SearchView.tsx +++ b/src/components/search/SearchView.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { createStyles, Grid, Theme, Typography, WithStyles, withStyles } from "@material-ui/core"; import React from "react"; import { EmptyPackages } from "../../misc/icons"; diff --git a/src/index.tsx b/src/index.tsx index 86cec2f..fe6350d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import React from "react"; import ReactDOM from "react-dom"; import { BrowserRouter as Router } from "react-router-dom"; diff --git a/src/misc/icons.tsx b/src/misc/icons.tsx index a5ae358..9c77045 100644 --- a/src/misc/icons.tsx +++ b/src/misc/icons.tsx @@ -1,3 +1,7 @@ +// Copyright (C) 2023 Toitware ApS. All rights reserved. +// Use of this source code is governed by an MIT-style license that can be +// found in the LICENSE file. + import { ReactComponent as ChevronRight } from "../assets/images/chevron-right.svg"; import { ReactComponent as Copy } from "../assets/images/copy.svg"; import { ReactComponent as Empty } from "../assets/images/empty-packages.svg";