Date: Mon, 24 May 2021 22:49:51 +0300
Subject: [PATCH 011/253] docs: small fixes to README.md
---
README.md | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index c06ecf6..db4d96d 100755
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
ZeroUI - ZeroTier Controller Web UI - is a web user interface for a self-hosted ZeroTier network controller.
- Explore the docs »
+ Explore the screenshots »
Report Bug
@@ -101,6 +101,10 @@ The most simple one-minute installation. Great for the fresh VPS setup.
```sh
wget https://raw.githubusercontent.com/dec0dOS/zero-ui/main/docker-compose.yml
```
+ or
+ ```sh
+ curl -L -O https://raw.githubusercontent.com/dec0dOS/zero-ui/main/docker-compose.yml
+ ```
2. Replace `example.com` with your domain name in `docker-compose.yml`
3. Pull the images
```sh
@@ -182,9 +186,9 @@ The easiest way to create your ZeroUI data backup is to use the following comman
See the [open issues](https://github.com/dec0dOS/zero-ui/issues) for a list of proposed features (and known issues).
-- [Top Feature Requests ✨](https://github.com/dec0dOS/zero-ui/issues?q=label%3Aenhancement+is%3Aopen+sort%3Areactions-%2B1-desc) (Add your own votes using the 👍 reaction)
-- [Top Bugs 😱](https://github.com/dec0dOS/zero-ui/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Areactions-%2B1-desc) (Add your own votes using the 👍 reaction)
-- [Newest Bugs 🙀](https://github.com/dec0dOS/zero-ui/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
+- [Top Feature Requests](https://github.com/dec0dOS/zero-ui/issues?q=label%3Aenhancement+is%3Aopen+sort%3Areactions-%2B1-desc) (Add your own votes using the 👍 reaction)
+- [Top Bugs](https://github.com/dec0dOS/zero-ui/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Areactions-%2B1-desc) (Add your own votes using the 👍 reaction)
+- [Newest Bugs](https://github.com/dec0dOS/zero-ui/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
[](https://github.com/dec0dOS/zero-ui/issues)
From e41a7a11d9186c2a2356d9861513a58d9c652fab Mon Sep 17 00:00:00 2001
From: dec0dOS
Date: Tue, 25 May 2021 23:54:10 +0300
Subject: [PATCH 012/253] chore: better param name in
createNetworkAdditionalData
---
backend/services/network.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/services/network.js b/backend/services/network.js
index e4df076..5fd78e3 100644
--- a/backend/services/network.js
+++ b/backend/services/network.js
@@ -56,9 +56,9 @@ async function getNetworksData(nwids) {
}
exports.createNetworkAdditionalData = createNetworkAdditionalData;
-async function createNetworkAdditionalData(id) {
+async function createNetworkAdditionalData(nwid) {
const saveData = {
- id: id,
+ id: nwid,
additionalConfig: {
description: "",
rulesSource: constants.defaultRulesSource,
From 9fa0e7bf186fa12bde537d94e3ba1b3b64333a1a Mon Sep 17 00:00:00 2001
From: dec0dOS
Date: Thu, 27 May 2021 13:46:11 +0300
Subject: [PATCH 013/253] chore(LogInUser.jsx): console.log -> console.error
---
.../src/components/LogIn/components/LogInUser/LogInUser.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/src/components/LogIn/components/LogInUser/LogInUser.jsx b/frontend/src/components/LogIn/components/LogInUser/LogInUser.jsx
index 0c894b6..38256fd 100644
--- a/frontend/src/components/LogIn/components/LogInUser/LogInUser.jsx
+++ b/frontend/src/components/LogIn/components/LogInUser/LogInUser.jsx
@@ -65,7 +65,7 @@ function LogInUser() {
.catch(function (error) {
setPassword("");
setSnackbarOpen(true);
- console.log(error);
+ console.error(error);
});
};
From d7f58863f2a794070118d192ea5d408e563aa043 Mon Sep 17 00:00:00 2001
From: dec0dOS
Date: Fri, 28 May 2021 18:07:14 +0300
Subject: [PATCH 014/253] docs: update README.md
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index db4d96d..046ca71 100755
--- a/README.md
+++ b/README.md
@@ -46,8 +46,8 @@ This project is highly inspired by [ztncui](https://github.com/key-networks/ztnc
- Full React-powered lightweight [SPA](https://en.wikipedia.org/wiki/Single-page_application) that brings better user experience, and ZeroUI is mobile-friendly.
- ZeroUI has ZeroTier Central complitible API. That means you could use CLI tools and custom applications made only for ZeroTier Central to manage your networks.
-- ZeroUI implements controller-specific workarounds that address some existing [issues](https://github.com/zerotier/ZeroTierOne/issues/859).
-- ZeroUI is more feature complete. ZeroUI has almost all network-controller supported features like rule editor. The development process hasn't stopped, so you will enjoy new features and bug fixes in the near future.
+- ZeroUI implements controller-specific workarounds that address some existing [issues](https://github.com/zerotier/ZeroTierOne/issues/859). ZTNCUI [does not](https://github.com/key-networks/ztncui/issues/63).
+- ZeroUI is more feature complete. ZeroUI has almost all network-controller supported features, for example, rule editor. The development process hasn't stopped, so you will enjoy new features and bug fixes in the near future.
- ZeroUI deployment is simple. Please refer to [installation](#installation) for more info.
From 094a984495c6696c3b632d709a0843c1a9c66b39 Mon Sep 17 00:00:00 2001
From: dec0dOS
Date: Sat, 29 May 2021 22:08:14 +0300
Subject: [PATCH 015/253] docs: update README.md
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 046ca71..2adc984 100755
--- a/README.md
+++ b/README.md
@@ -244,8 +244,8 @@ _For other platforms, please refer to [ZeroTier manual](https://www.zerotier.com
Reach out to me at one of the following places:
-- Telegram: ***REMOVED***
-- E-Mail: *****REMOVED*****
+- [GitHub issues](https://github.com/dec0dOS/zero-ui/issues/new?assignees=&labels=question&template=03_SUPPORT_QUESTION.md&title=support%3A+)
+- Email: *****REMOVED*****
## Security
From 4df63dd4f7b7162f2e1c369e0a2f7e053caaad78 Mon Sep 17 00:00:00 2001
From: dec0dOS
Date: Sat, 29 May 2021 22:23:21 +0300
Subject: [PATCH 016/253] docs: update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 2adc984..05193f9 100755
--- a/README.md
+++ b/README.md
@@ -245,7 +245,7 @@ _For other platforms, please refer to [ZeroTier manual](https://www.zerotier.com
Reach out to me at one of the following places:
- [GitHub issues](https://github.com/dec0dOS/zero-ui/issues/new?assignees=&labels=question&template=03_SUPPORT_QUESTION.md&title=support%3A+)
-- Email: *****REMOVED*****
+- Email in GitHub profile
## Security
From d9d37597ea1d34d84ba9a34cc171df297ef692c4 Mon Sep 17 00:00:00 2001
From: dec0dOS
Date: Sat, 29 May 2021 22:44:09 +0300
Subject: [PATCH 017/253] chore: small changes to .github issues templates
---
.github/ISSUE_TEMPLATE/04_IMPROVEMENT.md | 7 +++++++
.github/ISSUE_TEMPLATE/04_REVIEW.md | 9 ---------
2 files changed, 7 insertions(+), 9 deletions(-)
create mode 100644 .github/ISSUE_TEMPLATE/04_IMPROVEMENT.md
delete mode 100644 .github/ISSUE_TEMPLATE/04_REVIEW.md
diff --git a/.github/ISSUE_TEMPLATE/04_IMPROVEMENT.md b/.github/ISSUE_TEMPLATE/04_IMPROVEMENT.md
new file mode 100644
index 0000000..e567643
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/04_IMPROVEMENT.md
@@ -0,0 +1,7 @@
+---
+name: Improvement
+about: Provide your feedback for the existing codebase. Suggest a better solution for algorithms, development tools, etc.
+title: "dev: "
+labels: "enhancement"
+assignees: ""
+---
diff --git a/.github/ISSUE_TEMPLATE/04_REVIEW.md b/.github/ISSUE_TEMPLATE/04_REVIEW.md
deleted file mode 100644
index c6fe596..0000000
--- a/.github/ISSUE_TEMPLATE/04_REVIEW.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-name: Review
-about: Provide your feedback for existing code base
-title: "review: "
-labels: "enhancement"
-assignees: ""
----
-
-# Review
From 74b542937e86ded34c631de5e87b05f5e11ef60d Mon Sep 17 00:00:00 2001
From: dec0dOS
Date: Sun, 30 May 2021 13:19:14 +0300
Subject: [PATCH 018/253] docs: update README.md
---
README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 05193f9..301da3a 100755
--- a/README.md
+++ b/README.md
@@ -16,6 +16,7 @@