diff --git a/.vscode/settings.json b/.vscode/settings.json
index 2fced71..8846ac0 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -7,6 +7,7 @@
"Inequal",
"KRISTWALLET",
"KRISTWALLETEXTENSION",
+ "Lemmy",
"Lngs",
"Mutex",
"Popconfirm",
diff --git a/README.md b/README.md
index 1721b59..99b3118 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@
-
+STILL IN DEVELOPMENT
*This project is heavily under development. It is currently in the design
stages, meaning there is **no useful functionality yet***.
@@ -79,18 +79,6 @@
If you need any help with specific i18next features (e.g. handling plurals),
don't hesitate to contact Lemmmy.
-### Providing host attribution
-
-To provide hosting credits in the sidebar footer, create the file
-`host.json` in `src/__data__` with the following contents:
-
-```json
-{
- "name": "Lemmmy",
- "url": "https://github.com/Lemmmy"
-}
-```
-
### Donate
If you like my work, and want to help me with this hobby project and many more
@@ -98,4 +86,6 @@
### License
+**Copyright (c) 2020-2021 Drew Lemmy**
+
This project is licensed under the GPL v3 license. See LICENSE.txt for more.
diff --git a/craco.config.js b/craco.config.js
index 76218fe..a3d3698 100644
--- a/craco.config.js
+++ b/craco.config.js
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
const CracoLessPlugin = require("craco-less");
const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer");
const WebpackBar = require("webpackbar");
diff --git a/src/App.less b/src/App.less
index 708b05a..47833d4 100644
--- a/src/App.less
+++ b/src/App.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import "~antd/dist/antd.dark.less";
@import "./style/theme.less";
@import "./style/components.less";
diff --git a/src/App.tsx b/src/App.tsx
index 388203b..8f41e80 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { Suspense } from "react";
import { BrowserRouter as Router } from "react-router-dom";
diff --git a/src/__tests__/App.tsx b/src/__tests__/App.tsx
index ef001a1..cb0cede 100644
--- a/src/__tests__/App.tsx
+++ b/src/__tests__/App.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { render, screen } from "@testing-library/react";
import App from "../App";
diff --git a/src/components/ContextualAddress.less b/src/components/ContextualAddress.less
index 7b86b40..156acdf 100644
--- a/src/components/ContextualAddress.less
+++ b/src/components/ContextualAddress.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../App.less";
.contextual-address {
diff --git a/src/components/ContextualAddress.tsx b/src/components/ContextualAddress.tsx
index bd6573b..87c560a 100644
--- a/src/components/ContextualAddress.tsx
+++ b/src/components/ContextualAddress.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Tooltip } from "antd";
diff --git a/src/components/CopyInputButton.tsx b/src/components/CopyInputButton.tsx
index ea92f67..ac69451 100644
--- a/src/components/CopyInputButton.tsx
+++ b/src/components/CopyInputButton.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState } from "react";
import { Tooltip, Button, ButtonProps, Input } from "antd";
import { CopyOutlined } from "@ant-design/icons";
diff --git a/src/components/DateTime.tsx b/src/components/DateTime.tsx
index 4203c90..4cedf79 100644
--- a/src/components/DateTime.tsx
+++ b/src/components/DateTime.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Tooltip } from "antd";
diff --git a/src/components/Flag.tsx b/src/components/Flag.tsx
index 8b233f2..3e2cbce 100644
--- a/src/components/Flag.tsx
+++ b/src/components/Flag.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { HTMLProps } from "react";
import "./Flag.css";
diff --git a/src/components/KristName.tsx b/src/components/KristName.tsx
index ed0a53a..7405114 100644
--- a/src/components/KristName.tsx
+++ b/src/components/KristName.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { useSelector } from "react-redux";
diff --git a/src/components/KristSymbol.tsx b/src/components/KristSymbol.tsx
index b7acfab..732ca51 100644
--- a/src/components/KristSymbol.tsx
+++ b/src/components/KristSymbol.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import Icon from "@ant-design/icons";
diff --git a/src/components/KristValue.less b/src/components/KristValue.less
index 2fa06bd..e1fcba9 100644
--- a/src/components/KristValue.less
+++ b/src/components/KristValue.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../App.less";
.krist-value {
diff --git a/src/components/KristValue.tsx b/src/components/KristValue.tsx
index cdaf960..df206a4 100644
--- a/src/components/KristValue.tsx
+++ b/src/components/KristValue.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { useSelector } from "react-redux";
diff --git a/src/components/SmallResult.tsx b/src/components/SmallResult.tsx
index 690f801..f26ea36 100644
--- a/src/components/SmallResult.tsx
+++ b/src/components/SmallResult.tsx
@@ -1,3 +1,7 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
+
/** This is ant-design's Result component, but without importing 54 kB of
* images that we don't even use */
diff --git a/src/components/auth/AuthMasterPasswordPopover.tsx b/src/components/auth/AuthMasterPasswordPopover.tsx
index 540565b..7a921dc 100644
--- a/src/components/auth/AuthMasterPasswordPopover.tsx
+++ b/src/components/auth/AuthMasterPasswordPopover.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState, useRef, FunctionComponent } from "react";
import { Popover, Button, Input, Form } from "antd";
import { TooltipPlacement } from "antd/lib/tooltip";
diff --git a/src/components/auth/AuthorisedAction.less b/src/components/auth/AuthorisedAction.less
index de85785..970e934 100644
--- a/src/components/auth/AuthorisedAction.less
+++ b/src/components/auth/AuthorisedAction.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
.authorised-action-popover {
width: 320px;
diff --git a/src/components/auth/AuthorisedAction.tsx b/src/components/auth/AuthorisedAction.tsx
index cfd0b26..360966e 100644
--- a/src/components/auth/AuthorisedAction.tsx
+++ b/src/components/auth/AuthorisedAction.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { FunctionComponent, useState } from "react";
import { TooltipPlacement } from "antd/lib/tooltip";
diff --git a/src/components/auth/FakeUsernameInput.tsx b/src/components/auth/FakeUsernameInput.tsx
index 77ae19c..ffdae38 100644
--- a/src/components/auth/FakeUsernameInput.tsx
+++ b/src/components/auth/FakeUsernameInput.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Input } from "antd";
diff --git a/src/components/auth/ForcedAuth.tsx b/src/components/auth/ForcedAuth.tsx
index f63f558..4d0018b 100644
--- a/src/components/auth/ForcedAuth.tsx
+++ b/src/components/auth/ForcedAuth.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { message } from "antd";
import { useTranslation, TFunction } from "react-i18next";
diff --git a/src/components/auth/MasterPasswordInput.tsx b/src/components/auth/MasterPasswordInput.tsx
index 891564d..915b14c 100644
--- a/src/components/auth/MasterPasswordInput.tsx
+++ b/src/components/auth/MasterPasswordInput.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Input } from "antd";
diff --git a/src/components/auth/SetMasterPasswordModal.tsx b/src/components/auth/SetMasterPasswordModal.tsx
index 8cac781..acc96ef 100644
--- a/src/components/auth/SetMasterPasswordModal.tsx
+++ b/src/components/auth/SetMasterPasswordModal.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useRef } from "react";
import { Modal, Form, Input, Button } from "antd";
import { useTranslation, Trans } from "react-i18next";
diff --git a/src/components/wallets/SelectWalletCategory.tsx b/src/components/wallets/SelectWalletCategory.tsx
index e659472..a851e68 100644
--- a/src/components/wallets/SelectWalletCategory.tsx
+++ b/src/components/wallets/SelectWalletCategory.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState } from "react";
import { Select, Input, Button, Typography, Divider } from "antd";
import { PlusOutlined } from "@ant-design/icons";
diff --git a/src/components/wallets/SelectWalletFormat.tsx b/src/components/wallets/SelectWalletFormat.tsx
index 2ecf6b7..e125bec 100644
--- a/src/components/wallets/SelectWalletFormat.tsx
+++ b/src/components/wallets/SelectWalletFormat.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Select } from "antd";
diff --git a/src/components/wallets/SyncWallets.tsx b/src/components/wallets/SyncWallets.tsx
index fd0d45b..0937a1c 100644
--- a/src/components/wallets/SyncWallets.tsx
+++ b/src/components/wallets/SyncWallets.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { useEffect } from "react";
import { useDispatch, useSelector } from "react-redux";
diff --git a/src/components/ws/SyncMOTD.tsx b/src/components/ws/SyncMOTD.tsx
index a6e6bd2..62a306f 100644
--- a/src/components/ws/SyncMOTD.tsx
+++ b/src/components/ws/SyncMOTD.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { useEffect } from "react";
import { useDispatch, useSelector, shallowEqual } from "react-redux";
diff --git a/src/components/ws/SyncWork.tsx b/src/components/ws/SyncWork.tsx
index a3628dd..edd9e45 100644
--- a/src/components/ws/SyncWork.tsx
+++ b/src/components/ws/SyncWork.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { useEffect } from "react";
import { useDispatch, useSelector } from "react-redux";
diff --git a/src/components/ws/WebsocketService.tsx b/src/components/ws/WebsocketService.tsx
index a920a9a..d22b862 100644
--- a/src/components/ws/WebsocketService.tsx
+++ b/src/components/ws/WebsocketService.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { useState, useEffect } from "react";
import { useSelector, shallowEqual, useDispatch } from "react-redux";
diff --git a/src/index.css b/src/index.css
index ec2585e..a352364 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,3 +1,6 @@
+/* Copyright (c) 2020-2021 Drew Lemmy
+ * This file is part of KristWeb 2 under GPL-3.0.
+ * Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt */
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
diff --git a/src/index.tsx b/src/index.tsx
index 7dc949a..21d92cf 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import "./utils/setup";
import React from "react";
diff --git a/src/krist/AddressAlgo.ts b/src/krist/AddressAlgo.ts
index dfbb5c1..db74732 100644
--- a/src/krist/AddressAlgo.ts
+++ b/src/krist/AddressAlgo.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { sha256, doubleSHA256 } from "../utils/crypto";
const hexToBase36 = (input: number): string => {
diff --git a/src/krist/api/lookup.ts b/src/krist/api/lookup.ts
index 130456c..cc43517 100644
--- a/src/krist/api/lookup.ts
+++ b/src/krist/api/lookup.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { APIResponse, KristAddress } from "./types";
interface LookupAddressesResponse {
diff --git a/src/krist/api/types.ts b/src/krist/api/types.ts
index 9c2603a..d9177dc 100644
--- a/src/krist/api/types.ts
+++ b/src/krist/api/types.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
export interface KristAddress {
address: string;
diff --git a/src/krist/wallets/Wallet.ts b/src/krist/wallets/Wallet.ts
index 46ae46d..1750418 100644
--- a/src/krist/wallets/Wallet.ts
+++ b/src/krist/wallets/Wallet.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { v4 as uuid } from "uuid";
import { applyWalletFormat, WalletFormatName } from "./formats/WalletFormat";
diff --git a/src/krist/wallets/WalletManager.ts b/src/krist/wallets/WalletManager.ts
index c43a68a..08ad7a2 100644
--- a/src/krist/wallets/WalletManager.ts
+++ b/src/krist/wallets/WalletManager.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { toHex } from "../../utils";
import { aesGcmEncrypt, aesGcmDecrypt } from "../../utils/crypto";
diff --git a/src/krist/wallets/formats/WalletFormat.ts b/src/krist/wallets/formats/WalletFormat.ts
index 3c0cc10..397c123 100644
--- a/src/krist/wallets/formats/WalletFormat.ts
+++ b/src/krist/wallets/formats/WalletFormat.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { sha256 } from "../../../utils/crypto";
export interface WalletFormat {
diff --git a/src/layout/AppLayout.less b/src/layout/AppLayout.less
index 485ae1d..d737903 100644
--- a/src/layout/AppLayout.less
+++ b/src/layout/AppLayout.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../App.less";
.site-header + .ant-layout {
diff --git a/src/layout/AppLayout.tsx b/src/layout/AppLayout.tsx
index 649a1a3..7a77da5 100644
--- a/src/layout/AppLayout.tsx
+++ b/src/layout/AppLayout.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState } from "react";
import { Layout, Grid } from "antd";
diff --git a/src/layout/AppRouter.tsx b/src/layout/AppRouter.tsx
index 15399df..3bf16ed 100644
--- a/src/layout/AppRouter.tsx
+++ b/src/layout/AppRouter.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Switch, Route } from "react-router-dom";
diff --git a/src/layout/PageLayout.less b/src/layout/PageLayout.less
index 24cb28d..c673197 100644
--- a/src/layout/PageLayout.less
+++ b/src/layout/PageLayout.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../App.less";
.page-layout {
diff --git a/src/layout/PageLayout.tsx b/src/layout/PageLayout.tsx
index c38ec9c..2ecca73 100644
--- a/src/layout/PageLayout.tsx
+++ b/src/layout/PageLayout.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { FunctionComponent, useEffect } from "react";
import { PageHeader } from "antd";
diff --git a/src/layout/nav/AppHeader.tsx b/src/layout/nav/AppHeader.tsx
index 149bccd..908bd01 100644
--- a/src/layout/nav/AppHeader.tsx
+++ b/src/layout/nav/AppHeader.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Layout, Menu, AutoComplete, Input, Grid } from "antd";
import { SendOutlined, DownloadOutlined, MenuOutlined, SettingOutlined } from "@ant-design/icons";
diff --git a/src/layout/nav/Brand.tsx b/src/layout/nav/Brand.tsx
index 88b3689..a7ec5ee 100644
--- a/src/layout/nav/Brand.tsx
+++ b/src/layout/nav/Brand.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Link } from "react-router-dom";
diff --git a/src/layout/nav/ConnectionIndicator.less b/src/layout/nav/ConnectionIndicator.less
index 466b0dc..fa3a82d 100644
--- a/src/layout/nav/ConnectionIndicator.less
+++ b/src/layout/nav/ConnectionIndicator.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../../App.less";
.connection-indicator {
diff --git a/src/layout/nav/ConnectionIndicator.tsx b/src/layout/nav/ConnectionIndicator.tsx
index 5f5d521..c64efee 100644
--- a/src/layout/nav/ConnectionIndicator.tsx
+++ b/src/layout/nav/ConnectionIndicator.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Tooltip } from "antd";
diff --git a/src/layout/nav/CymbalIndicator.tsx b/src/layout/nav/CymbalIndicator.tsx
index 82e356d..68b6761 100644
--- a/src/layout/nav/CymbalIndicator.tsx
+++ b/src/layout/nav/CymbalIndicator.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import Icon from "@ant-design/icons";
diff --git a/src/layout/sidebar/Sidebar.tsx b/src/layout/sidebar/Sidebar.tsx
index 4bc5506..0e0d7a0 100644
--- a/src/layout/sidebar/Sidebar.tsx
+++ b/src/layout/sidebar/Sidebar.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState, useEffect } from "react";
import { Layout, Menu, MenuItemProps } from "antd";
import { HomeOutlined, WalletOutlined, TeamOutlined, BankOutlined, TagsOutlined, SketchOutlined, BuildOutlined, StockOutlined } from "@ant-design/icons";
diff --git a/src/layout/sidebar/SidebarFooter.tsx b/src/layout/sidebar/SidebarFooter.tsx
index 8710ab6..fb06b7b 100644
--- a/src/layout/sidebar/SidebarFooter.tsx
+++ b/src/layout/sidebar/SidebarFooter.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState } from "react";
import { useTranslation, Trans } from "react-i18next";
@@ -8,13 +11,13 @@
export function SidebarFooter(): JSX.Element {
const { t } = useTranslation();
- const [host, setHost] = useState<{ name: string; url: string } | undefined>();
+ const [host, setHost] = useState<{ host: { name: string; url: string } } | undefined>();
useMountEffect(() => {
(async () => {
try {
// Add the host information if host.json exists
- const hostFile = "host"; // Trick webpack into dynamic importing
+ const hostFile = "host-attribution"; // Trick webpack into dynamic importing
const hostData = await import("../../__data__/" + hostFile + ".json");
setHost(hostData);
} catch (ignored) {
@@ -34,7 +37,7 @@
{ host &&
}
diff --git a/src/layout/sidebar/SidebarTotalBalance.tsx b/src/layout/sidebar/SidebarTotalBalance.tsx
index 68ffdf4..f16df59 100644
--- a/src/layout/sidebar/SidebarTotalBalance.tsx
+++ b/src/layout/sidebar/SidebarTotalBalance.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { useTranslation } from "react-i18next";
diff --git a/src/pages/CheckStatus.tsx b/src/pages/CheckStatus.tsx
index 7209fa1..67bea1b 100644
--- a/src/pages/CheckStatus.tsx
+++ b/src/pages/CheckStatus.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { AppLayout } from "../layout/AppLayout";
diff --git a/src/pages/NotFoundPage.less b/src/pages/NotFoundPage.less
index 9b8785b..544062e 100644
--- a/src/pages/NotFoundPage.less
+++ b/src/pages/NotFoundPage.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../App.less";
.page-not-found {
diff --git a/src/pages/NotFoundPage.tsx b/src/pages/NotFoundPage.tsx
index e054d8e..a73f95b 100644
--- a/src/pages/NotFoundPage.tsx
+++ b/src/pages/NotFoundPage.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Button } from "antd";
import { FrownOutlined } from "@ant-design/icons";
diff --git a/src/pages/StatusPage.tsx b/src/pages/StatusPage.tsx
index 125ae1a..33ef19c 100644
--- a/src/pages/StatusPage.tsx
+++ b/src/pages/StatusPage.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Alert } from "antd";
diff --git a/src/pages/credits/CreditsPage.less b/src/pages/credits/CreditsPage.less
index 65871ea..4c78014 100644
--- a/src/pages/credits/CreditsPage.less
+++ b/src/pages/credits/CreditsPage.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../../App.less";
.page-credits {
diff --git a/src/pages/credits/CreditsPage.tsx b/src/pages/credits/CreditsPage.tsx
index 5c162e6..c44a2a1 100644
--- a/src/pages/credits/CreditsPage.tsx
+++ b/src/pages/credits/CreditsPage.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Typography, Divider } from "antd";
import { useTranslation, Trans } from "react-i18next";
diff --git a/src/pages/credits/Supporters.tsx b/src/pages/credits/Supporters.tsx
index af91137..8c99d1b 100644
--- a/src/pages/credits/Supporters.tsx
+++ b/src/pages/credits/Supporters.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState } from "react";
import { Space, Spin, Button } from "antd";
import { DollarOutlined } from "@ant-design/icons";
diff --git a/src/pages/credits/Translators.tsx b/src/pages/credits/Translators.tsx
index 652496a..24252e5 100644
--- a/src/pages/credits/Translators.tsx
+++ b/src/pages/credits/Translators.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Space, Button, List, Typography } from "antd";
import { GlobalOutlined } from "@ant-design/icons";
diff --git a/src/pages/dashboard/BlockDifficultyCard.tsx b/src/pages/dashboard/BlockDifficultyCard.tsx
index 552ac73..eb9c7b5 100644
--- a/src/pages/dashboard/BlockDifficultyCard.tsx
+++ b/src/pages/dashboard/BlockDifficultyCard.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Card } from "antd";
diff --git a/src/pages/dashboard/BlockValueCard.tsx b/src/pages/dashboard/BlockValueCard.tsx
index 04b6a8a..555d91c 100644
--- a/src/pages/dashboard/BlockValueCard.tsx
+++ b/src/pages/dashboard/BlockValueCard.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Card, Skeleton, Typography, Progress } from "antd";
diff --git a/src/pages/dashboard/DashboardPage.less b/src/pages/dashboard/DashboardPage.less
index 5fcd3f3..c551412 100644
--- a/src/pages/dashboard/DashboardPage.less
+++ b/src/pages/dashboard/DashboardPage.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../../App.less";
.dashboard-page {
diff --git a/src/pages/dashboard/DashboardPage.tsx b/src/pages/dashboard/DashboardPage.tsx
index 803d3de..91c4cd1 100644
--- a/src/pages/dashboard/DashboardPage.tsx
+++ b/src/pages/dashboard/DashboardPage.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Row, Col } from "antd";
diff --git a/src/pages/dashboard/Statistic.tsx b/src/pages/dashboard/Statistic.tsx
index 5a89ee3..a1f5b4a 100644
--- a/src/pages/dashboard/Statistic.tsx
+++ b/src/pages/dashboard/Statistic.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { useTranslation } from "react-i18next";
diff --git a/src/pages/dashboard/TransactionItem.tsx b/src/pages/dashboard/TransactionItem.tsx
index 35c3a07..7ef776f 100644
--- a/src/pages/dashboard/TransactionItem.tsx
+++ b/src/pages/dashboard/TransactionItem.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Row, Col, Tooltip, Grid } from "antd";
diff --git a/src/pages/dashboard/TransactionsCard.tsx b/src/pages/dashboard/TransactionsCard.tsx
index 72ae8b0..92e3f1e 100644
--- a/src/pages/dashboard/TransactionsCard.tsx
+++ b/src/pages/dashboard/TransactionsCard.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Card } from "antd";
diff --git a/src/pages/dashboard/WalletItem.tsx b/src/pages/dashboard/WalletItem.tsx
index 5b5e7ff..f6e7b88 100644
--- a/src/pages/dashboard/WalletItem.tsx
+++ b/src/pages/dashboard/WalletItem.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Row, Col } from "antd";
diff --git a/src/pages/dashboard/WalletOverviewCard.tsx b/src/pages/dashboard/WalletOverviewCard.tsx
index 77ab0f2..b04f7ee 100644
--- a/src/pages/dashboard/WalletOverviewCard.tsx
+++ b/src/pages/dashboard/WalletOverviewCard.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Card, Row, Col, Button } from "antd";
diff --git a/src/pages/settings/SettingBoolean.tsx b/src/pages/settings/SettingBoolean.tsx
index 6ca718f..ad8a47d 100644
--- a/src/pages/settings/SettingBoolean.tsx
+++ b/src/pages/settings/SettingBoolean.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React from "react";
import { Switch } from "antd";
diff --git a/src/pages/settings/SettingsPage.tsx b/src/pages/settings/SettingsPage.tsx
index 801f6f5..f8e54ec 100644
--- a/src/pages/settings/SettingsPage.tsx
+++ b/src/pages/settings/SettingsPage.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { FunctionComponent } from "react";
import { Menu } from "antd";
import { BugOutlined, GlobalOutlined } from "@ant-design/icons";
diff --git a/src/pages/settings/SettingsTranslations.tsx b/src/pages/settings/SettingsTranslations.tsx
index f3326eb..89ebe7b 100644
--- a/src/pages/settings/SettingsTranslations.tsx
+++ b/src/pages/settings/SettingsTranslations.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState } from "react";
import { Table, Progress, Typography, Tooltip, Button } from "antd";
import { ExclamationCircleOutlined, FileExcelOutlined } from "@ant-design/icons";
diff --git a/src/pages/wallets/AddWalletModal.tsx b/src/pages/wallets/AddWalletModal.tsx
index 3bc3997..89f569e 100644
--- a/src/pages/wallets/AddWalletModal.tsx
+++ b/src/pages/wallets/AddWalletModal.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState, useRef, useEffect } from "react";
import { Modal, Form, Input, Checkbox, Collapse, Button, Tooltip, Typography, Row, Col, message, notification, Grid } from "antd";
import { ReloadOutlined } from "@ant-design/icons";
diff --git a/src/pages/wallets/WalletsPage.less b/src/pages/wallets/WalletsPage.less
index 2dea0a3..41dfca8 100644
--- a/src/pages/wallets/WalletsPage.less
+++ b/src/pages/wallets/WalletsPage.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
@import (reference) "../../App.less";
.wallet-actions .ant-btn {
diff --git a/src/pages/wallets/WalletsPage.tsx b/src/pages/wallets/WalletsPage.tsx
index c621d9a..6ccf122 100644
--- a/src/pages/wallets/WalletsPage.tsx
+++ b/src/pages/wallets/WalletsPage.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState } from "react";
import { Button } from "antd";
import { DatabaseOutlined, PlusOutlined } from "@ant-design/icons";
diff --git a/src/pages/wallets/WalletsTable.tsx b/src/pages/wallets/WalletsTable.tsx
index 9e58bee..4c7e5d8 100644
--- a/src/pages/wallets/WalletsTable.tsx
+++ b/src/pages/wallets/WalletsTable.tsx
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import React, { useState } from "react";
import { Table, Tooltip, Dropdown, Tag, Menu, Popconfirm } from "antd";
import { EditOutlined, DeleteOutlined } from "@ant-design/icons";
diff --git a/src/react-app-env.d.ts b/src/react-app-env.d.ts
index 6431bc5..d951324 100644
--- a/src/react-app-env.d.ts
+++ b/src/react-app-env.d.ts
@@ -1 +1,5 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
+
///
diff --git a/src/reportWebVitals.ts b/src/reportWebVitals.ts
index 41784a3..0837b8d 100644
--- a/src/reportWebVitals.ts
+++ b/src/reportWebVitals.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { ReportHandler } from "web-vitals";
const reportWebVitals = (onPerfEntry?: ReportHandler): void => {
diff --git a/src/setupTests.ts b/src/setupTests.ts
index d0de870..7215604 100644
--- a/src/setupTests.ts
+++ b/src/setupTests.ts
@@ -1 +1,4 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import "@testing-library/jest-dom";
diff --git a/src/store/actions/NodeActions.ts b/src/store/actions/NodeActions.ts
index 34412c8..e9718f7 100644
--- a/src/store/actions/NodeActions.ts
+++ b/src/store/actions/NodeActions.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { createAction } from "typesafe-actions";
import { KristWorkDetailed, KristCurrency } from "../../krist/api/types";
diff --git a/src/store/actions/SettingsActions.ts b/src/store/actions/SettingsActions.ts
index 97e5898..5b09350 100644
--- a/src/store/actions/SettingsActions.ts
+++ b/src/store/actions/SettingsActions.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { PickByValue } from "utility-types";
import { createAction } from "typesafe-actions";
diff --git a/src/store/actions/WalletManagerActions.ts b/src/store/actions/WalletManagerActions.ts
index d6a2392..9585933 100644
--- a/src/store/actions/WalletManagerActions.ts
+++ b/src/store/actions/WalletManagerActions.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { createAction } from "typesafe-actions";
import * as constants from "../constants";
diff --git a/src/store/actions/WalletsActions.ts b/src/store/actions/WalletsActions.ts
index 2bb47df..793354f 100644
--- a/src/store/actions/WalletsActions.ts
+++ b/src/store/actions/WalletsActions.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { createAction } from "typesafe-actions";
import * as constants from "../constants";
diff --git a/src/store/actions/WebsocketActions.ts b/src/store/actions/WebsocketActions.ts
index b697367..c1b5147 100644
--- a/src/store/actions/WebsocketActions.ts
+++ b/src/store/actions/WebsocketActions.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { createAction } from "typesafe-actions";
import { WSConnectionState } from "../../krist/api/types";
diff --git a/src/store/actions/index.ts b/src/store/actions/index.ts
index 18d0f62..6d8996f 100644
--- a/src/store/actions/index.ts
+++ b/src/store/actions/index.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import * as walletManagerActions from "./WalletManagerActions";
import * as walletsActions from "./WalletsActions";
import * as settingsActions from "./SettingsActions";
diff --git a/src/store/constants.ts b/src/store/constants.ts
index 04ae167..0ccf516 100644
--- a/src/store/constants.ts
+++ b/src/store/constants.ts
@@ -1,3 +1,7 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
+
// Wallet Manager
// ---
export const AUTH_MASTER_PASSWORD = "AUTH_MASTER_PASSWORD";
diff --git a/src/store/index.ts b/src/store/index.ts
index 092381e..f7a20f3 100644
--- a/src/store/index.ts
+++ b/src/store/index.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { ActionType, StateType } from "typesafe-actions";
export type Store = StateType;
diff --git a/src/store/reducers/NodeReducer.ts b/src/store/reducers/NodeReducer.ts
index b7f956e..8857f14 100644
--- a/src/store/reducers/NodeReducer.ts
+++ b/src/store/reducers/NodeReducer.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { createReducer, ActionType } from "typesafe-actions";
import { KristWorkDetailed, KristCurrency, DEFAULT_CURRENCY } from "../../krist/api/types";
import { setSyncNode, setLastBlockID, setDetailedWork, setCurrency } from "../actions/NodeActions";
diff --git a/src/store/reducers/RootReducer.ts b/src/store/reducers/RootReducer.ts
index 4e687f4..0919019 100644
--- a/src/store/reducers/RootReducer.ts
+++ b/src/store/reducers/RootReducer.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { combineReducers } from "redux";
import { WalletManagerReducer } from "./WalletManagerReducer";
diff --git a/src/store/reducers/SettingsReducer.ts b/src/store/reducers/SettingsReducer.ts
index b148d3a..5e61b86 100644
--- a/src/store/reducers/SettingsReducer.ts
+++ b/src/store/reducers/SettingsReducer.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { createReducer, ActionType } from "typesafe-actions";
import { loadSettings, SettingsState } from "../../utils/settings";
import { setBooleanSetting } from "../actions/SettingsActions";
diff --git a/src/store/reducers/WalletManagerReducer.ts b/src/store/reducers/WalletManagerReducer.ts
index 5b2316f..903a30f 100644
--- a/src/store/reducers/WalletManagerReducer.ts
+++ b/src/store/reducers/WalletManagerReducer.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { createReducer, ActionType } from "typesafe-actions";
import { authMasterPassword, setMasterPassword } from "../actions/WalletManagerActions";
diff --git a/src/store/reducers/WalletsReducer.ts b/src/store/reducers/WalletsReducer.ts
index f53fb3a..dab3c1c 100644
--- a/src/store/reducers/WalletsReducer.ts
+++ b/src/store/reducers/WalletsReducer.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import * as actions from "../actions/WalletsActions";
import { createReducer, ActionType } from "typesafe-actions";
diff --git a/src/store/reducers/WebsocketReducer.ts b/src/store/reducers/WebsocketReducer.ts
index a002037..f69ca6a 100644
--- a/src/store/reducers/WebsocketReducer.ts
+++ b/src/store/reducers/WebsocketReducer.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { createReducer, ActionType } from "typesafe-actions";
import { WSConnectionState } from "../../krist/api/types";
import { setConnectionState } from "../actions/WebsocketActions";
diff --git a/src/store/types.d.ts b/src/store/types.d.ts
index 1cfe857..c8260f4 100644
--- a/src/store/types.d.ts
+++ b/src/store/types.d.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { Store, RootAction, RootState } from "./";
declare module "typesafe-actions" {
diff --git a/src/style/components.less b/src/style/components.less
index 0e87835..6a27f61 100644
--- a/src/style/components.less
+++ b/src/style/components.less
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
.big-menu.ant-menu.ant-menu-inline {
width: 100%;
diff --git a/src/style/theme.less b/src/style/theme.less
index bc11c07..eca2fe9 100644
--- a/src/style/theme.less
+++ b/src/style/theme.less
@@ -1,3 +1,7 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
+
// Colours
// ---
@kw-text: #eaf0fe;
diff --git a/src/utils/CryptoJS.ts b/src/utils/CryptoJS.ts
index e559f5c..a9a6721 100644
--- a/src/utils/CryptoJS.ts
+++ b/src/utils/CryptoJS.ts
@@ -1,3 +1,7 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
+
/** This file contains a polyfill for CryptoJS AES decryption and password
* derivation function. */
diff --git a/src/utils/commonmeta.ts b/src/utils/commonmeta.ts
index 91c54c0..1396454 100644
--- a/src/utils/commonmeta.ts
+++ b/src/utils/commonmeta.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { getNameRegex } from "./currency";
export interface CommonMeta {
diff --git a/src/utils/crypto.ts b/src/utils/crypto.ts
index d38a8d6..d737e44 100644
--- a/src/utils/crypto.ts
+++ b/src/utils/crypto.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import base64 from "base64-arraybuffer";
import { toHex, fromHex } from "./";
diff --git a/src/utils/currency.ts b/src/utils/currency.ts
index d402048..793fd31 100644
--- a/src/utils/currency.ts
+++ b/src/utils/currency.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { memoize, escapeRegExp, truncate, toString } from "lodash-es";
const _cleanNameSuffix = (nameSuffix: string | undefined | null): string => {
diff --git a/src/utils/i18n.ts b/src/utils/i18n.ts
index cf62e80..aa26852 100644
--- a/src/utils/i18n.ts
+++ b/src/utils/i18n.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { isLocalhost } from "./";
import i18n from "i18next";
diff --git a/src/utils/index.ts b/src/utils/index.ts
index 9d20cad..4a045a5 100644
--- a/src/utils/index.ts
+++ b/src/utils/index.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { EffectCallback, useEffect } from "react";
export const toHex = (input: ArrayBufferLike | Uint8Array): string =>
diff --git a/src/utils/settings.ts b/src/utils/settings.ts
index 2f35fbd..440630c 100644
--- a/src/utils/settings.ts
+++ b/src/utils/settings.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { PickByValue } from "utility-types";
import { AppDispatch } from "../App";
diff --git a/src/utils/setup.ts b/src/utils/setup.ts
index e2e45ca..fb5e7fa 100644
--- a/src/utils/setup.ts
+++ b/src/utils/setup.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2020-2021 Drew Lemmy
+// This file is part of KristWeb 2 under GPL-3.0.
+// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt
import { toHex } from "./";
import Debug from "debug";