MystaraTheGreat
8f2980c23d
Fixed unnecessarily verbose way of looping thanks to @rejas :)
2021-03-07 20:34:26 +00:00
MystaraTheGreat
b72556b9a9
Merge branch 'master' of https://github.com/MystaraTheGreat/MagicMirror
2021-03-07 20:14:36 +00:00
MystaraTheGreat
49be3cbd6b
Changed var to let as requested
2021-03-07 20:13:57 +00:00
MystaraTheGreat
fbb0c59b4e
Merge branch 'develop' into master
2021-03-07 13:16:18 +00:00
MystaraTheGreat
d83e696a8d
Changed variable name to appease tester
2021-03-07 11:23:52 +00:00
MystaraTheGreat
a467d900c9
Changed iterative variable from m to n to appease tester
2021-03-07 11:20:19 +00:00
MystaraTheGreat
8b1ce26fa6
Added hiddenOnStartup flag to module configuration options to cause a module to be iniitally hidden after starting up
2021-03-07 11:05:29 +00:00
rejas
6ff85ebe54
Enable contextIsolation in electron
...
Fixes warning when starting MM
2021-02-27 13:19:16 +01:00
Michael Teeuw
b2a21b937d
Change error string.
2021-02-23 14:11:54 +01:00
Michael Teeuw
13010ecaee
Merge branch 'develop' into feature/add-error-to-callback
2021-02-23 14:10:35 +01:00
Felix Wiedenbach
b18d98f5ea
exposed logger as node module
2021-02-18 19:14:53 +01:00
Felix Wiedenbach
652e1a528f
Merge branch 'develop' into feature/add-error-to-callback
...
# Conflicts:
# CHANGELOG.md
2021-02-13 08:43:23 +01:00
Felix Wiedenbach
9d85baee37
move error callback into options and rename it
2021-02-13 08:29:13 +01:00
rejas
221eadcc20
Make function callbacks and returns more readable
2021-02-06 22:55:59 +01:00
veeck
8c83dc9494
Cleanup jsdoc
2021-02-06 22:20:49 +01:00
Felix Wiedenbach
88ed5ed373
add error separate callback
2021-02-06 21:22:13 +01:00
Felix Wiedenbach
84995c9252
Merge branch 'develop' into feature/add-error-to-callback
...
# Conflicts:
# CHANGELOG.md
2021-02-06 11:29:17 +01:00
rejas
88c80973f1
Dont updateDOM when the module is not displayed
2021-02-05 22:40:05 +01:00
Felix Wiedenbach
308774c2a6
remove callback hell
2021-01-29 22:34:12 +01:00
Felix Wiedenbach
db24f20289
cleaned up function and added test in case no file should be loaded
2021-01-29 22:25:49 +01:00
Felix Wiedenbach
41da6f455a
use error object for callback to include stack trace
2021-01-28 21:23:48 +01:00
Felix Wiedenbach
d2a7a3b0bb
more error like message
2021-01-28 21:13:17 +01:00
Felix Wiedenbach
2324579057
add error to module show callback
2021-01-28 07:33:02 +01:00
Karsten Hassel
5116a2fc82
fix socket.io backward compatibility with socket v2 clients
2021-01-27 20:52:50 +01:00
Michael Teeuw
4d28688f30
Merge branch 'develop' into update_defaults
2021-01-21 15:11:31 +01:00
Michael Teeuw
78190d9c7f
Merge branch 'develop' into Issue-TranslateEncodedHtml
2021-01-21 15:10:14 +01:00
veeck
58939bfd8c
Update documentation and help screen about invalid config files
2021-01-20 22:44:37 +01:00
Dan Forsyth
ca48663efd
Merge remote-tracking branch 'origin/develop' into Issue-TranslateEncodedHtml
2021-01-20 07:31:11 -05:00
Dan Forsyth
b520b4c37a
Marked all translated strings as safe before passing them to the nunjuck template
2021-01-20 07:16:09 -05:00
Andre Klärner
3ee4bd65c6
prevent empty path components for module main scripts
...
The module.path component has by definition in line 97 a trailing slash.
Hence adding another is unneeded, but results in an additional folder in the inspector.
2021-01-15 23:09:07 +01:00
Karsten Hassel
2deab31187
fix socket.io cors errors, see breaking change since socket.io v3 https://socket.io/docs/v3/handling-cors/
2021-01-09 23:20:36 +01:00
Felix Wiedenbach
a9a70fd2e9
linting and fix defualt module test
2021-01-05 20:04:02 +01:00
Felix Wiedenbach
f90856808b
fix config file path
2021-01-05 19:39:31 +01:00
Felix Wiedenbach
7dbcaa83bc
clean up deprecated
2021-01-05 19:36:20 +01:00
Felix Wiedenbach
38f10b6e3e
clean up app
2021-01-05 19:35:11 +01:00
Felix Wiedenbach
9c8fa06ce1
clean up config checker
2021-01-05 19:01:59 +01:00
Felix Wiedenbach
4efe04774c
clean up electron
2021-01-05 18:48:55 +01:00
Felix Wiedenbach
5d60534dc9
clean up node helper
2021-01-05 18:44:36 +01:00
Felix Wiedenbach
ac141a4316
clean up server
2021-01-05 18:37:16 +01:00
Felix Wiedenbach
d22064c6f4
clean up utils
2021-01-05 18:37:01 +01:00
veeck
e65bb84f9f
Add default values for log levels
2021-01-04 10:01:56 +01:00
fewieden
8286d5a06e
Highlight required version mismatch
2021-01-01 14:44:39 +01:00
Ashish Tank
4a341b381e
Added support for variables in nunjucks templates for translate filter
2020-12-31 18:58:21 +01:00
Mike Bishop
9ea7de8b44
Permit substituting a falsy value in translator variables
2020-12-31 10:10:01 -05:00
Karsten Hassel
e6cefcf948
Merge branch 'develop' into fix_modules_array
...
# Conflicts:
# CHANGELOG.md
2020-12-29 22:24:19 +01:00
Karsten Hassel
e507f95b2a
added suggestion from @rejas
2020-12-29 21:45:35 +01:00
Karsten Hassel
61cf92c67a
removes undefined objects from modules array, see issue #2382
2020-12-29 21:14:42 +01:00
rejas
7a4eddc592
Adjust some log levels
2020-12-29 18:50:27 +01:00
rejas
efafb1c28a
Cleanup jsdoc
2020-12-29 18:48:45 +01:00
rejas
67bedf8648
Add missing function ()
2020-12-29 18:38:38 +01:00