Skip to content

Commit

Permalink
Add MIT license.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Nov 7, 2023
1 parent 1805a24 commit 73c19a7
Show file tree
Hide file tree
Showing 25 changed files with 117 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 4 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/ExploreView.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/MainView.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/WelcomeView.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
4 changes: 4 additions & 0 deletions src/components/general/BorderLinearProgress.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/general/Footer.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/general/PackageCard.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/general/PackageLineDetails.tsx
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
4 changes: 4 additions & 0 deletions src/components/general/ScrollToTop.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/general/SnackBar.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/header/AppBar.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
4 changes: 4 additions & 0 deletions src/components/header/ToolbarTop.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
4 changes: 4 additions & 0 deletions src/components/package/ActionBox.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/package/DependenciesView.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/package/InstallationView.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/package/PackageMenuView.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
4 changes: 4 additions & 0 deletions src/components/package/PackageSkeleton.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/package/PackageView.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/package/VersionsView.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/publish/PublishView.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
4 changes: 4 additions & 0 deletions src/components/search/SearchPackage.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/components/search/SearchView.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 4 additions & 0 deletions src/misc/icons.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit 73c19a7

Please sign in to comment.