From f700f31904e2fc3e95a1b409da9f8ce02042dd8f Mon Sep 17 00:00:00 2001 From: PlusaN <61884717+PlusaN@users.noreply.github.com> Date: Sun, 22 May 2022 00:58:59 +0300 Subject: [PATCH 1/7] Add HOST environment This is necessary in order to override which IP the Dashy process will bind to. --- server.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index b9b39988..5c83f81e 100644 --- a/server.js +++ b/server.js @@ -38,6 +38,9 @@ const isDocker = !!process.env.IS_DOCKER; /* Checks env var for port. If undefined, will use Port 80 for Docker, or 4000 for metal */ const port = process.env.PORT || (isDocker ? 80 : 4000); +/* Checks env var for host. If undefined, will use 0.0.0.0 */ +const host = process.env.HOST || '0.0.0.0'; + /* Attempts to get the users local IP, used as part of welcome message */ const getLocalIp = () => { const dnsLookup = util.promisify(dns.lookup); @@ -48,7 +51,7 @@ const getLocalIp = () => { const printWelcomeMessage = () => { try { getLocalIp().then(({ address }) => { - const ip = address || 'localhost'; + const ip = process.env.HOST || address || 'localhost'; console.log(printMessage(ip, port, isDocker)); // eslint-disable-line no-console }); } catch (e) { @@ -122,7 +125,7 @@ const app = express() /* Create HTTP server from app on port, and print welcome message */ http.createServer(app) - .listen(port, () => { + .listen(port, host, () => { printWelcomeMessage(); }) .on('error', (err) => { From a0052a9524a609626346bc264fc50d63c40b0028 Mon Sep 17 00:00:00 2001 From: liss-bot Date: Sun, 22 May 2022 02:28:41 +0100 Subject: [PATCH 2/7] :purple_heart: Updates contributors list --- docs/credits.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/credits.md b/docs/credits.md index 02251a2d..e3b12292 100644 --- a/docs/credits.md +++ b/docs/credits.md @@ -13,7 +13,7 @@ - emlazzarin + emlazzarin
Eddy Lazzarin
@@ -56,7 +56,7 @@ - shadowking001 + shadowking001
LawrenceP.
@@ -68,6 +68,13 @@ Kieren Connell + + + Antiz96 +
+ Robin Candau +
+ ratty222 @@ -81,7 +88,8 @@
Undefined
- + + jtfinley72 @@ -171,7 +179,7 @@ stanly0726
- stanly0726 + Stanly0726
From 3a095778a466ec6662e2a342580743a82c3bd022 Mon Sep 17 00:00:00 2001 From: liss-bot Date: Sun, 22 May 2022 02:28:43 +0100 Subject: [PATCH 3/7] :yellow_heart: Updates sponsors table --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38c155ce..be7d7139 100644 --- a/README.md +++ b/README.md @@ -529,7 +529,7 @@ Huge thanks to the sponsors helping to support Dashy's development! - emlazzarin + emlazzarin
Eddy Lazzarin
@@ -572,7 +572,7 @@ Huge thanks to the sponsors helping to support Dashy's development! - shadowking001 + shadowking001
LawrenceP.
@@ -584,6 +584,13 @@ Huge thanks to the sponsors helping to support Dashy's development! Kieren Connell + + + Antiz96 +
+ Robin Candau +
+ ratty222 @@ -597,7 +604,8 @@ Huge thanks to the sponsors helping to support Dashy's development!
Undefined
- + + jtfinley72 From a16a96045c20e96ec1d5b040a3c21ee7d22b1494 Mon Sep 17 00:00:00 2001 From: Alicia Bot <87835202+liss-bot@users.noreply.github.com> Date: Sun, 22 May 2022 02:28:44 +0100 Subject: [PATCH 4/7] :blue_heart: Updates contributor SVG --- docs/assets/CONTRIBUTORS.svg | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/assets/CONTRIBUTORS.svg b/docs/assets/CONTRIBUTORS.svg index 5764b47c..3eb46817 100644 --- a/docs/assets/CONTRIBUTORS.svg +++ b/docs/assets/CONTRIBUTORS.svg @@ -1,4 +1,4 @@ - + @@ -81,28 +81,31 @@ + + + - + - + - + - + - + - + - + - + \ No newline at end of file From ff57a9aac2ae72f8228d527724610b4e7942b7b4 Mon Sep 17 00:00:00 2001 From: Alicia Bot <87835202+liss-bot@users.noreply.github.com> Date: Sun, 22 May 2022 02:28:49 +0100 Subject: [PATCH 5/7] :blue_heart: Makes author list --- .github/AUTHORS.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/AUTHORS.txt b/.github/AUTHORS.txt index bc7370b5..dfccf405 100644 --- a/.github/AUTHORS.txt +++ b/.github/AUTHORS.txt @@ -12,6 +12,7 @@ Jemy - 1 commits Jeremy - 1 commits Kieren - 1 commits Leonardo - 1 commits +PlusaN <61884717+PlusaN@users.noreply.github.com> - 1 commits Rune - 1 commits Ryan - 1 commits Shreya - 1 commits @@ -49,12 +50,12 @@ snyk-bot - 18 commits aterox - 19 commits EVOTk <45015615+EVOTk@users.noreply.github.com> - 22 commits Alicia - 28 commits -repo-visualizer - 36 commits -snyk-bot - 40 commits -Alicia - 72 commits +repo-visualizer - 37 commits +snyk-bot - 43 commits +Alicia - 74 commits Lissy93 - 78 commits -liss-bot - 83 commits -Alicia - 110 commits +liss-bot - 85 commits +Alicia - 112 commits Lissy93 - 207 commits -Alicia - 368 commits +Alicia - 395 commits Alicia - 1488 commits \ No newline at end of file From 5b9a2738388cd8bf458e6703e978d8b58d90cbed Mon Sep 17 00:00:00 2001 From: repo-visualizer Date: Sun, 22 May 2022 01:29:49 +0000 Subject: [PATCH 6/7] :yellow_heart: Updates repo diagram --- docs/assets/repo-visualization.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/assets/repo-visualization.svg b/docs/assets/repo-visualization.svg index d4febe76..f1d9ad6e 100644 --- a/docs/assets/repo-visualization.svg +++ b/docs/assets/repo-visualization.svg @@ -1 +1 @@ -viewsviewsutilsutilsstylesstylesmixinsmixinsdirectivesdirectivescomponentscomponentsassetsassetsWorkspaceWorkspaceWidgetsWidgetsSettingsSettingsPageStrcturePageStrctureMinimalViewMinimalViewLinkItemsLinkItemsInteractiveEditorInteractiveEditorFormElementsFormElementsConfigurationConfigurationChartsChartslocaleslocalesinterface-iconsinterface-iconsLogin.vueLogin.vueLogin.vueHome.vueHome.vueHome.vueemojis.jsonemojis.jsonemojis.jsonConfigSch...ConfigSch...ConfigSch...defaults.jsdefaults.jsdefaults.jscolor-the...color-the...color-the...store.jsstore.jsstore.jsWidgetBas...WidgetBas...WidgetBas...AnonAddy.vueAnonAddy.vueAnonAddy.vueSportsSc...SportsSc...SportsSc...CustomThe...CustomThe...CustomThe...Section.vueSection.vueSection.vueItemIcon.vueItemIcon.vueItemIcon.vueItem.vueItem.vueItem.vueEditItem.vueEditItem.vueEditItem.vueConfigCon...ConfigCon...ConfigCon...JsonEdit...JsonEdit...JsonEdit...Gauge.vueGauge.vueGauge.vuehi.jsonhi.jsonhi.jsonpt.jsonpt.jsonpt.jsonit.jsonit.jsonit.jsonfr.jsonfr.jsonfr.jsonen.jsonen.jsonen.jsonsv.jsonsv.jsonsv.jsonru.jsonru.jsonru.jsonsl.jsonsl.jsonsl.jsonar.jsonar.jsonar.jsonja.jsonja.jsonja.json.js.json.scss.svg.vueeach dot sized by file size \ No newline at end of file +viewsviewsutilsutilsstylesstylesmixinsmixinsdirectivesdirectivescomponentscomponentsassetsassetsWorkspaceWorkspaceWidgetsWidgetsSettingsSettingsPageStrcturePageStrctureMinimalViewMinimalViewLinkItemsLinkItemsInteractiveEditorInteractiveEditorFormElementsFormElementsConfigurationConfigurationChartsChartslocaleslocalesinterface-iconsinterface-iconsLogin.vueLogin.vueLogin.vueHome.vueHome.vueHome.vueemojis.jsonemojis.jsonemojis.jsonConfigSch...ConfigSch...ConfigSch...defaults.jsdefaults.jsdefaults.jscolor-the...color-the...color-the...store.jsstore.jsstore.jsWidgetBas...WidgetBas...WidgetBas...AnonAddy.vueAnonAddy.vueAnonAddy.vueSportsSc...SportsSc...SportsSc...CustomThe...CustomThe...CustomThe...Section.vueSection.vueSection.vueItemIcon.vueItemIcon.vueItemIcon.vueItem.vueItem.vueItem.vueEditItem.vueEditItem.vueEditItem.vueConfigCon...ConfigCon...ConfigCon...JsonEdit...JsonEdit...JsonEdit...Gauge.vueGauge.vueGauge.vuehi.jsonhi.jsonhi.jsonpt.jsonpt.jsonpt.jsonit.jsonit.jsonit.jsonfr.jsonfr.jsonfr.jsonen.jsonen.jsonen.jsonsv.jsonsv.jsonsv.jsonru.jsonru.jsonru.jsonsl.jsonsl.jsonsl.jsonar.jsonar.jsonar.jsonja.jsonja.jsonja.json.js.json.scss.svg.vueeach dot sized by file size \ No newline at end of file From 87d66ae847928fbc99fbe60d9ea5f03f15dc4706 Mon Sep 17 00:00:00 2001 From: Alejandro Pinar Ruiz <37040888+pinarruiz@users.noreply.github.com> Date: Thu, 26 May 2022 20:26:40 +0200 Subject: [PATCH 7/7] Fix: Typo on a word Typo on a word i found while reading the documentation. --- docs/configuring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuring.md b/docs/configuring.md index 2ef8268c..a2d88aaf 100644 --- a/docs/configuring.md +++ b/docs/configuring.md @@ -312,7 +312,7 @@ When updating the config through the JSON editor in the UI, you have two save op If you have authentication set up, then any user who is not an admin (with `type: admin`) will not be able to write changes to disk. -You can also prevent changes fro any user being written to disk, using `preventWriteToDisk`. Or prevent any changes from being saved locally in browser storage, using `preventLocalSave`. +You can also prevent changes from any user being written to disk, using `preventWriteToDisk`. Or prevent any changes from being saved locally in browser storage, using `preventLocalSave`. To disable all UI config features, set `disableConfiguration`.