Archived
1
0
Fork 0

chore: Add license

Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
This commit is contained in:
Christoph Heiss 2022-09-07 22:15:24 +02:00
parent a5a9d5cca5
commit 7205ef8871
Signed by: c8h4
GPG key ID: 9C82009BEEDEA0FF
21 changed files with 59 additions and 0 deletions

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Christoph Heiss <contact@christoph-heiss.at>
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.

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
const crypto = require('node:crypto');
const blake2b = require('blake2b');
const sqlite3 = require('sqlite3');

1
package-lock.json generated
View file

@ -7,6 +7,7 @@
"": {
"name": "wgdash",
"version": "0.1.0",
"license": "MIT",
"dependencies": {
"@js-temporal/polyfill": "^0.4.1",
"blake2b": "^2.1.4",

View file

@ -3,6 +3,7 @@
"name": "wgdash",
"version": "0.1.0",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:christoph-heiss/wgdash.git"

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import { useState, ReactNode, SyntheticEvent } from 'react';
import Link from 'next/link';
import { useRouter } from 'next/router';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import Peer from 'components/peer';
import type { WireguardInterface } from 'lib/wireguard';
import { formatTraffic } from 'lib/utils';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import type { WireguardPeer } from 'lib/wireguard';
import { formatKeepAlive, formatTimeDelta, formatTraffic } from 'lib/utils';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import path from 'node:path';
import { Model } from 'objection';
import Knex from 'knex';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import { Temporal } from '@js-temporal/polyfill';
export function classNames(...args: any[]): string {

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import {
createRtNetlink,
createGenericNetlink,

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import {
GetServerSidePropsContext,
GetServerSidePropsResult,

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import { AppProps } from 'next/app';
import Head from 'next/head';
import 'styles/globals.scss';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import Document, {
Html, Head, Main, NextScript,
} from 'next/document';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import type { NextApiRequest, NextApiResponse } from 'next';
import { getWireguardInterfaces, WireguardInterface } from 'lib/wireguard';
import { withSessionRoute } from 'lib/withSession';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import { NextApiRequest, NextApiResponse } from 'next';
import blake2b from 'blake2b';
import { User } from 'lib/database';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import { NextApiRequest, NextApiResponse } from 'next';
import { withSessionRoute } from 'lib/withSession';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import { useEffect, useState } from 'react';
import BaseLayout from 'components/base-layout';
import Interface from 'components/interface';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
import { useState, SyntheticEvent } from 'react';
import { useRouter } from 'next/router';
import BaseLayout from 'components/base-layout';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
@tailwind base;
@tailwind components;
@tailwind utilities;

View file

@ -1 +1,3 @@
// SPDX-License-Identifier: MIT
declare module 'blake2b';

View file

@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
declare module 'iron-session' {
interface IronSessionData {
user?: string;