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 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 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 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 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`. 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
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) => {