Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
525c235
Merge pull request #31 from MichMich/develop
sdetweil Dec 28, 2019
e884cc1
Merge pull request #32 from MichMich/develop
sdetweil Dec 29, 2019
2b511b6
Prepare for 2.11.0
MichMich Jan 1, 2020
10d5529
Add missing translations for fi
ZakarFin Jan 1, 2020
94ff8a9
force declaration of public ip adress in config file (ISSUE #1852)
HeikoGr Jan 2, 2020
7609957
Update CHANGELOG.md
HeikoGr Jan 2, 2020
0a4df19
Merge branch 'develop' into master
MichMich Jan 2, 2020
c51c093
Merge pull request #1857 from HeikoGr/master
MichMich Jan 2, 2020
01c1d15
Merge branch 'develop' into fi-translations
MichMich Jan 2, 2020
69a887f
Merge pull request #1851 from ZakarFin/fi-translations
MichMich Jan 2, 2020
c51e613
Merge pull request #34 from MichMich/develop
sdetweil Jan 2, 2020
20a9150
fix run-start.sh: if running in docker-container, just start electron…
khassel Jan 3, 2020
eea8b4d
Update README.md
shahrukh-alizai Jan 8, 2020
d500353
Merge pull request #1871 from shahrukh-alizai/patch-1
MichMich Jan 8, 2020
0afe403
Merge pull request #1861 from khassel/develop
MichMich Jan 8, 2020
d2afdc8
Merge branch 'master' into develop.
MichMich Jan 10, 2020
1152689
Remove docs and link to docs.magicmirror.builders.
MichMich Jan 12, 2020
8380896
Merge pull request #42 from MichMich/develop
sdetweil Jan 12, 2020
7866416
cleanup installers folder
sdetweil Jan 12, 2020
a2c7431
cleanup installers foldr
sdetweil Jan 12, 2020
0ca00e5
Merge pull request #1874 from sdetweil/develop
MichMich Jan 12, 2020
818ed5d
Add different GitHub repos
bastilimbach Jan 12, 2020
61256f9
Fix typo
bastilimbach Jan 13, 2020
ceaf478
Merge pull request #1875 from bastilimbach/master
MichMich Jan 13, 2020
1fd5fd4
Update ISSUE_TEMPLATE.md
MichMich Jan 14, 2020
81aab7e
Added the ability to hide the temp label and weather icon in the `cur…
adi-miller Jan 16, 2020
63950f5
Adding trailing enter to avoid build warning.
adi-miller Jan 16, 2020
8aa7454
fix: Issue #1798 - fixing recurrent calendar events crosstime DST
kblankenship1989 Jan 18, 2020
2b738fa
Merge branch 'develop' of github.com:MichMich/MagicMirror into fix-ti…
kblankenship1989 Jan 18, 2020
762bae9
perf: updating changelog
kblankenship1989 Jan 18, 2020
84f74c5
perf: fix wording on changelog
kblankenship1989 Jan 18, 2020
08b9e7b
add sun/moon rise/set times
dtreskunov Jan 18, 2020
af9f555
fix: fixing copy / paste error on futureLocal
kblankenship1989 Jan 18, 2020
70ca9ce
fix: fixing lint error
kblankenship1989 Jan 18, 2020
5ed7974
Merge branch 'fix-timeshift-calendar' of github.com:kblankenship1989/…
kblankenship1989 Jan 18, 2020
85a5252
show sun/moon as bright rather than bold if obj is visible
dtreskunov Jan 18, 2020
40a9f9d
fix stylelint:simple
dtreskunov Jan 18, 2020
36762a6
add duration until next sunset/sunrise
dtreskunov Jan 18, 2020
97e5d92
Merge pull request #1882 from adi-miller/hide_weather
MichMich Jan 18, 2020
d6f1bf1
Merge pull request #1884 from kblankenship1989/fix-timeshift-calendar
MichMich Jan 18, 2020
e24d1a1
Fix newlines?
MichMich Jan 18, 2020
a85ed70
Remove newlines.
MichMich Jan 18, 2020
db72e22
Fuck it.
MichMich Jan 18, 2020
fefe565
Merge branch 'develop' into dtreskunov/sun-and-moon
MichMich Jan 18, 2020
7b3a594
Merge pull request #1885 from dtreskunov/dtreskunov/sun-and-moon
MichMich Jan 18, 2020
9cffa3d
fix calculation of duration until next sunrise
dtreskunov Jan 19, 2020
cce57c7
Fix the vendor_spec test:
roramirez Jan 19, 2020
81b3100
Revert permission mode for CHANGELOG
roramirez Jan 19, 2020
6e7edd9
Revert error logging introduced in 1e97b5c
roramirez Jan 19, 2020
a7ee2ef
Upgrade to Electron 6:
roramirez Jan 20, 2020
ac8f679
Merge remote-tracking branch 'upstream/develop' into dtreskunov/sun-a…
Jan 22, 2020
7ad0cfd
update CHANGELOG.md
Jan 22, 2020
5ec9704
Merge pull request #1893 from roramirez/vendor-fix-test
MichMich Jan 22, 2020
9f4dc1e
Merge pull request #1887 from dtreskunov/dtreskunov/sun-and-moon
MichMich Jan 22, 2020
2ca81f9
Add hebrew translation
adi-miller Jan 22, 2020
b44ab88
adds PRECIP polish translation
sejka Jan 23, 2020
7fc4f61
Merge pull request #1892 from roramirez/upgrade-electron-6
MichMich Jan 23, 2020
c30693b
Merge pull request #1894 from roramirez/mode-permission-changelog
MichMich Jan 23, 2020
c10e615
Merge pull request #1895 from adi-miller/heb
MichMich Jan 23, 2020
89a9368
Merge pull request #1896 from sejka/patch-1
MichMich Jan 23, 2020
95dedf0
Skip weather tests for now
MichMich Jan 23, 2020
13ebe6d
Check method
MichMich Jan 23, 2020
50b4d05
Merge pull request #1899 from MichMich/Skip-weather
MichMich Jan 23, 2020
6ba5056
Fix regression causing 'undefined' to show up when config.hideTemp is…
kolbyjack Jan 24, 2020
a5b09d7
Update CHANGELOG.md
kolbyjack Jan 24, 2020
9487af1
Merge pull request #1901 from kolbyjack/fix-97e5d92-regression
MichMich Jan 24, 2020
85d26f7
Grammar fixes to config.
mmphego Jan 26, 2020
5a26fef
Merge pull request #1903 from roramirez/not-log-error-vendor-test
MichMich Jan 26, 2020
4c2a9b4
Merge pull request #1906 from mmphego/develop
MichMich Jan 26, 2020
602119f
Ukrainian translation added
sergge1 Jan 31, 2020
c41d696
added Ukrainian translation
sergge1 Jan 31, 2020
d7f6f46
2.11.0 - added Ukrainian translation
sergge1 Jan 31, 2020
28ebbd2
Merge pull request #1910 from sergge1/develop
MichMich Jan 31, 2020
88b1579
fix: add missing +1 for month
kblankenship1989 Feb 1, 2020
ca49d8a
fix: correcting syntax
kblankenship1989 Feb 1, 2020
3bb801f
Merge pull request #1914 from kblankenship1989/fix-iso-string
MichMich Feb 1, 2020
c8c327b
Add HTTPS support
Feb 1, 2020
09c1ea9
Update start methods.
MichMich Feb 1, 2020
21dbaa1
Move DISPLAY default to electron script.
MichMich Feb 1, 2020
7f2ecbd
Cleanup.
MichMich Feb 1, 2020
e2afee3
Add feedback.
MichMich Feb 1, 2020
1b38e73
Fix install scripts.
MichMich Feb 1, 2020
65b1d61
Improve feedback.
MichMich Feb 1, 2020
e2d4a0f
Improve Feedback.
MichMich Feb 1, 2020
8ef8388
Set default DISPLAY in package.json.
MichMich Feb 1, 2020
a41bae3
Cleanup
MichMich Feb 1, 2020
cbcc893
Restore MM.sh to keep PM2 working.
MichMich Feb 1, 2020
19afd89
Fix Typo
MichMich Feb 1, 2020
1315ace
Remove duplicate 2.11 entry.
MichMich Feb 1, 2020
561827e
Remove logging.
MichMich Feb 1, 2020
65ea341
feat: use date in log timestamp
d-Rickyy-b Feb 3, 2020
e160f9a
docs: add info about changed timestamp in changelog
d-Rickyy-b Feb 3, 2020
5511c15
Update description in config.js.sample
Feb 5, 2020
89c9d4d
Merge branch 'develop' into develop
MichMich Feb 5, 2020
4abb790
Merge pull request #1916 from d-Rickyy-b/log-date-timestamp
MichMich Feb 5, 2020
271f1cd
to make logic of name to actual behaviour
sergge1 Feb 5, 2020
e5cdcd1
Merge pull request #1918 from sergge1/develop
MichMich Feb 6, 2020
30e93a9
Merge pull request #1915 from normankong/develop
MichMich Feb 6, 2020
d5c02d1
Update hr.json
wast Feb 9, 2020
845c257
Update CHANGELOG.md
wast Feb 9, 2020
0d461e1
Merge pull request #1 from wast/patch-2
wast Feb 9, 2020
f4c3e41
fix bugs in showMoonTimes in clock module
dtreskunov Feb 10, 2020
d729594
Merge pull request #1925 from dtreskunov/dtreskunov/fix-clock-module-…
MichMich Feb 10, 2020
de6a9f5
fix timing issue in weather tests => returning response by url instea…
fewieden Feb 10, 2020
cd7b645
Run tests also on lts and last stable version of nodejs
fewieden Feb 10, 2020
56392e4
Add 1840 to changelog
fewieden Feb 10, 2020
c925e88
Adding support for ignoring update check for certain modules
buxxi Feb 11, 2020
142d30b
Merge pull request #1929 from buxxi/develop
MichMich Feb 11, 2020
3dff3a1
Merge branch 'develop' into fix/weather-tests
MichMich Feb 12, 2020
f67310c
Merge pull request #1927 from fewieden/fix/weather-tests
MichMich Feb 12, 2020
56846b2
Merge branch 'develop' into patch-1
MichMich Feb 12, 2020
be07ff2
Merge pull request #1923 from wast/patch-1
MichMich Feb 12, 2020
75c8c3f
Using promises to resolve which modules has a git remote so the modul…
buxxi Feb 17, 2020
7b56817
use relative path for socket.io fix #1934
Legion2 Feb 18, 2020
b6fc063
Turkish translation updated
tosbaha Feb 19, 2020
3b7df1d
Changelog updated
tosbaha Feb 19, 2020
3f78c66
fix floating point bug in moon illumination calc
dtreskunov Feb 19, 2020
6aeec81
removed additional slash from the socket.io path
Legion2 Feb 19, 2020
c877b5f
Add new default config to 'current weather' module
bibaldo Feb 21, 2020
f338b68
Update CHANGELOG.md
bibaldo Feb 21, 2020
2b2b07f
Merge pull request #1936 from buxxi/develop
MichMich Feb 27, 2020
883c169
Merge branch 'develop' into develop
MichMich Feb 27, 2020
9d4e237
Merge pull request #1938 from tosbaha/develop
MichMich Feb 27, 2020
daa13b4
Merge pull request #1941 from bibaldo/bibaldo-currentweather
MichMich Feb 27, 2020
ef7720f
Merge pull request #1939 from dtreskunov/dtreskunov/fix-moon-illumina…
MichMich Feb 27, 2020
5517a91
Run linter manually
rejas Feb 13, 2020
6c926b8
Add husky for pre-commit hook
rejas Mar 8, 2020
ca2571b
Update changelog
rejas Mar 8, 2020
c3d57ee
Remove husky again, move lint as test to travis
rejas Mar 11, 2020
0b2e836
Commit a faulty js to see if travis complains
rejas Mar 11, 2020
7470a3b
Dont fix eslint errors automatically
rejas Mar 11, 2020
f22e39e
Add switch to auto fix eslint and stylelint issues
rejas Mar 11, 2020
f3d45ef
Fix js error but add a stylelint error
rejas Mar 11, 2020
437d030
Remove some dead files, fix stylelint error
rejas Mar 11, 2020
5a4ae99
Add no-multi-spaces rule to eslint and run it
rejas Mar 15, 2020
a91f2de
Remove jshint dependency, use eslint for config verification
rejas Mar 15, 2020
e946158
Update changelog
rejas Mar 15, 2020
8aa7a55
issue #1956
Mar 19, 2020
fe1c5df
Merge pull request #1958 from bugsounet/master
MichMich Mar 19, 2020
c342f7b
Update pt-br.json
effelle Mar 23, 2020
8f20385
Update CHANGELOG.md
effelle Mar 24, 2020
7ac97f8
Merge pull request #1937 from Legion2/develop
MichMich Mar 24, 2020
a49816f
Merge pull request #1948 from rejas/lint
MichMich Mar 24, 2020
fe6645a
Merge pull request #1955 from rejas/jshint
MichMich Mar 24, 2020
39cb582
Merge pull request #1960 from effelle/develop
MichMich Mar 24, 2020
82b50d3
Add basic compliment on a specific day of the year
rejas Mar 8, 2020
cafa421
Update changelog and add another birtday
rejas Mar 9, 2020
2a31ece
Refactor code
rejas Mar 10, 2020
b08f882
Add (failing) test for new date field
rejas Mar 14, 2020
e2427fe
Try out a mockdate class
rejas Mar 15, 2020
65e1b60
Fix error when no compliments are set
rejas Mar 15, 2020
3659b5b
Update mockdate info
rejas Mar 15, 2020
4e4d341
LInt mockdate helper
rejas Mar 25, 2020
ff7dc95
Implement suggestions from Michael
rejas Mar 28, 2020
2674bf2
Let's use sensible defaults. :)
MichMich Apr 1, 2020
f7f4e92
Merge branch 'develop' of https://github.com/MichMich/MagicMirror int…
MichMich Apr 1, 2020
66642a1
Merge branch 'date' of https://github.com/rejas/MagicMirror into reja…
MichMich Apr 1, 2020
2464d01
Fix date test.
MichMich Apr 1, 2020
8c85e24
Merge pull request #1967 from MichMich/rejas-date
MichMich Apr 1, 2020
46df59d
Prepare release 2.11.0
MichMich Apr 1, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"curly": "error",
"camelcase": ["error", {"properties": "never"}],
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }],
"no-multi-spaces": "error",
"no-trailing-spaces": ["error", {"ignoreComments": false }],
"no-irregular-whitespace": ["error"]
},
Expand Down
21 changes: 17 additions & 4 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
Please only submit reproducible issues.

## I'm not sure if this is a bug
If you're not sure if it's a real bug or if it's just you, please open a topic on the forum: [https://forum.magicmirror.builders/category/15/bug-hunt](https://forum.magicmirror.builders/category/15/bug-hunt)

## I'm having troubles installing or configuring MagicMirror
Problems installing or configuring your MagicMirror? Check out: [https://forum.magicmirror.builders/category/10/troubleshooting](https://forum.magicmirror.builders/category/10/troubleshooting)

## I found a bug in the MagicMirror installer
If you are facing an issue or found a bug while trying to install MagicMirror via the installer please report it in the respective GitHub repository:
[https://github.com/sdetweil/MagicMirror_scripts](https://github.com/sdetweil/MagicMirror_scripts)

## I found a bug in the MagicMirror Docker image
If you are facing an issue or found a bug while running MagicMirror inside a Docker container please create an issue in the GitHub repository of the MagicMirror Docker image:
[https://github.com/bastilimbach/docker-MagicMirror](https://github.com/bastilimbach/docker-MagicMirror)

---

## I found a bug in MagicMirror
Please make sure to only submit reproducible issues. You can safely remove everything above the dividing line.
When submitting a new issue, please supply the following information:

**Platform**: Place your platform here... give us your web browser/Electron version *and* your hardware (Raspberry Pi 2/3, Windows, Mac, Linux, System V UNIX).

**Node Version**: Make sure it's version 0.12.13 or later.
**Node Version**: Make sure it's version 8 or later.

**MagicMirror Version**: Now that the versions have split, tell us if you are using the PHP version (v1) or the newer JavaScript version (v2).
**MagicMirror Version**: Please let us now which version of MagicMirror you are running. It can be found in the `package.log` file.

**Description**: Provide a detailed description about the issue and include specific details to help us understand the problem. Adding screenshots will help describing the problem.

Expand Down
27 changes: 15 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
dist: trusty
language: node_js
node_js:
- "10"
- 10
- lts/*
- node
before_install:
- npm i -g npm
before_script:
- yarn danger ci
- npm install grunt-cli -g
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 5
- yarn danger ci
- npm install grunt-cli -g
- "export DISPLAY=:99.0"
- "export ELECTRON_DISABLE_SANDBOX=1"
- "sh -e /etc/init.d/xvfb start"
- sleep 5
script:
- npm run test:e2e
- npm run test:unit
- grunt
- npm run test:lint
- npm run test:e2e
- npm run test:unit
after_script:
- npm list
- npm list
cache:
directories:
- node_modules
directories:
- node_modules
59 changes: 54 additions & 5 deletions CHANGELOG.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,54 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

❤️ **Donate:** Enjoying MagicMirror²? [Please consider a donation!](https://magicmirror.builders/donate) With your help we can continue to improve the MagicMirror² core.
❤️ **Donate:** Enjoying MagicMirror²? [Please consider a donation!](https://magicmirror.builders/donate) With your help we can continue to improve the MagicMirror²

## [2.11.0] - 2020-04-01

🚨 READ THIS BEFORE UPDATING 🚨

In the past years the project has grown a lot. This came with a huge downside: poor maintainability. If I let the project continue the way it was, it would eventually crash and burn. More important: I would completely lose the drive and interest to continue the project. Because of this the decision was made to simplify the core by removing all side features like automatic installers and support for exotic platforms. This release (2.11.0) is the first real release that will reflect (parts) of these changes. As a result of this, some things might break. So before you continue make sure to backup your installation. Your config, your modules or better yet: your full MagicMirror folder. In other words: update at your own risk.

For more information regarding this major change, please check issue [#1860](https://github.com/MichMich/MagicMirror/issues/1860).

### Deleted
- Remove installers.
- Remove externalized scripts.
- Remove jshint dependency, instead eslint checks your config file now

### Added
- Brazilian translation for "FEELS".
- Ukrainian translation.
- Finnish translation for "PRECIP", "UPDATE_INFO_MULTIPLE" and "UPDATE_INFO_SINGLE".
- Added the ability to hide the temp label and weather icon in the `currentweather` module to allow showing only information such as wind and sunset/rise.
- The `clock` module now optionally displays sun and moon data, including rise/set times, remaining daylight, and percent of moon illumination.
- Added Hebrew translation.
- Add HTTPS support and update config.js.sample
- Run tests on long term support and latest stable version of nodejs
- Added the ability to configure a list of modules that shouldn't be update checked.
- Run linters on git commits
- Added date functionality to compliments: display birthday wishes or celebrate an anniversary

### Fixed
- Force declaration of public ip address in config file (ISSUE #1852)
- Fixes `run-start.sh`: If running in docker-container, don't check the environment, just start electron (ISSUE #1859)
- Fix calendar time offset for recurring events crossing Daylight Savings Time (ISSUE #1798)
- Fix regression in currentweather module causing 'undefined' to show up when config.hideTemp is false
- Fix FEELS translation for Croatian
- Fixed weather tests [#1840](https://github.com/MichMich/MagicMirror/issues/1840)
- Fixed Socket.io can't be used with Reverse Proxy in serveronly mode [#1934](https://github.com/MichMich/MagicMirror/issues/1934)
- Fix update checking skipping 3rd party modules the first time

### Changed
- Remove documentation from core repository and link to new dedicated docs site: [docs.magicmirror.builders](https://docs.magicmirror.builders).
- Updated config.js.sample: Corrected some grammar on `config.js.sample` comment section.
- Removed `run-start.sh` script and update start commands:
- To start using electron, use `npm run start`.
- To start in server only mode, use `npm run server`.
- Remove redundant logging from modules.
- Timestamp in log output now also contains the date
- Turkish translation.
- Option to configure the size of the currentweather module.

## [2.10.1] - 2020-01-10

Expand All @@ -12,6 +59,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [2.10.0] - 2020-01-01

Special thanks to @sdetweil for all his great contributions!

ℹ️ **Note:** This update uses new dependencies. Please update using the following command: `git pull && npm install`.

### Added
Expand All @@ -32,9 +81,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Fixed issue in weatherforecast module where predicted amount of rain was not using the decimal symbol specified in config.js.
- Module header now updates correctly, if a module need to dynamically show/hide its header based on a condition.
- Fix handling of config.js for serverOnly mode commented out.
- Fixed issue in calendar module where the debug script didn't work correctly with authentication
- Fixed issue that some full day events were not correctly recognized as such
- Display full day events lasting multiple days as happening today instead of some days ago if they are still ongoing
- Fixed issue in calendar module where the debug script didn't work correctly with authentication.
- Fixed issue that some full day events were not correctly recognized as such.
- Display full day events lasting multiple days as happening today instead of some days ago if they are still ongoing.

## [2.9.0] - 2019-10-01

Expand Down Expand Up @@ -541,7 +590,7 @@ A huge, huge, huge thanks to user @fewieden for all his hard work on the new `we
- Added option `remoteFile` to compliments module to load compliment array from filesystem.
- Added option `zoom` to scale the whole mirror display with a given factor.
- Added option `roundTemp` for currentweather and weatherforecast modules to display temperatures rounded to nearest integer.
- Added abilty set the classes option to compliments module for style and text size of compliments.
- Added ability set the classes option to compliments module for style and text size of compliments.
- Added ability to configure electronOptions
- Calendar module: option to hide private events
- Add root_path for global vars
Expand Down
13 changes: 7 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = function(grunt) {
require("time-grunt")(grunt);
var fix = (grunt.option("env") || "lint") === "lint";
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
eslint: {
options: {
fix: "true",
fix: fix,
configFile: ".eslintrc.json"
},
target: [
Expand All @@ -20,13 +20,13 @@ module.exports = function(grunt) {
"!modules/default/alert/classie.js",
"config/*",
"translations/translations.js",
"vendor/vendor.js",
"modules/node_modules/node_helper/index.js"
"vendor/vendor.js"
]
},
stylelint: {
simple: {
options: {
fix: fix,
configFile: ".stylelintrc.json"
},
src: [
Expand All @@ -44,7 +44,6 @@ module.exports = function(grunt) {
"package.json",
".eslintrc.json",
".stylelintrc.json",
"installers/pm2_MagicMirror.json",
"translations/*.json",
"modules/default/*/translations/*.json",
"vendor/package.json"
Expand Down Expand Up @@ -77,7 +76,8 @@ module.exports = function(grunt) {
"MD018": false,
"MD012": false,
"MD026": false,
"MD038": false
"MD038": false,
"MD047": false
}
},
src: [
Expand All @@ -101,5 +101,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-jsonlint");
grunt.loadNpmTasks("grunt-yamllint");
grunt.loadNpmTasks("grunt-markdownlint");

grunt.registerTask("default", ["eslint", "stylelint", "jsonlint", "markdownlint", "yamllint"]);
};
2 changes: 0 additions & 2 deletions clientonly/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* jshint esversion: 6 */

"use strict";

// Use separate scope to prevent global scope pollution
Expand Down
18 changes: 11 additions & 7 deletions config/config.js.sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information how you can configurate this file
* For more information on how you can configure this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
Expand All @@ -12,24 +12,28 @@ var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
// - "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out or empty, is "localhost"
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],

useHttps: false, // Support HTTPS or not, default "false" will use HTTP
httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true

language: "en",
timeFormat: 24,
units: "metric",
// serverOnly: true/false/"local" ,
// local for armv6l processors, default
// local for armv6l processors, default
// starts serveronly and then starts chrome browser
// false, default for all NON-armv6l devices
// true, force serveronly mode, because you want to.. no UI on this device

modules: [
{
module: "alert",
Expand Down Expand Up @@ -63,7 +67,7 @@ var config = {
position: "top_right",
config: {
location: "New York",
locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
Expand All @@ -73,7 +77,7 @@ var config = {
header: "Weather Forecast",
config: {
location: "New York",
locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div class="region bottom right"><div class="container"></div></div>
</div>
<div class="region fullscreen above"><div class="container"></div></div>
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
<script type="text/javascript" src="socket.io/socket.io.js"></script>
<script type="text/javascript" src="vendor/node_modules/nunjucks/browser/nunjucks.min.js"></script>
<script type="text/javascript" src="js/defaults.js"></script>
<script type="text/javascript" src="#CONFIG_FILE#"></script>
Expand Down
15 changes: 0 additions & 15 deletions installers/dumpactivemodules.js

This file was deleted.

Loading