Commit Graph

55 Commits

Author SHA1 Message Date
Felix Wiedenbach b18d98f5ea exposed logger as node module 2021-02-18 19:14:53 +01:00
veeck 58939bfd8c Update documentation and help screen about invalid config files 2021-01-20 22:44:37 +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 38f10b6e3e clean up app 2021-01-05 19:35:11 +01:00
rejas 522f7644a3 Add typedef for Module, use it in other jsdocs 2020-08-01 16:31:42 +02:00
rejas 5ec51d0ccc Cleanup app jsdoc 2020-07-28 16:49:02 +02:00
rejas 43bcf4ab98 Run eslint over files, see what gets fixed automatically and clean up 2020-07-27 14:25:43 +02:00
rejas 9f5e1b59fb Set logLevel after loading config 2020-07-04 22:02:39 +02:00
rejas 963b1aa6b1 Final cleanups I think 2020-06-02 15:05:31 +02:00
Veeck 13073bc98d Lint stuff 2020-06-02 15:03:59 +02:00
rejas c60446a015 Fix tests 2020-06-02 15:03:59 +02:00
rejas f2d03a511e User logger in node files 2020-06-02 15:03:59 +02:00
rejas 367233c318 Add console-stamp to node-logger 2020-06-02 15:03:59 +02:00
Veeck abb5dc5739 Run prettier over ALL files once
No other changes done in this commit
2020-05-11 22:22:32 +02:00
rejas e7fc4ef1e7 Replace unsecure links with https ones 2020-04-28 23:05:28 +02:00
rejas 941d5d7cd9 Fix mixed tabs and whitespace errors 2020-04-21 12:23:50 +02:00
rejas 5a4ae99283 Add no-multi-spaces rule to eslint and run it 2020-03-15 15:49:34 +01:00
Rico 65ea341ed0 feat: use date in log timestamp
I find it quite hard to look something up in the logs, when there is no date in the log file. The time itself is not sufficient for debugging, hence I suggest also logging the date.
2020-02-03 21:39:46 +01:00
Michael Teeuw 21dbaa1a03 Move DISPLAY default to electron script. 2020-02-01 13:59:13 +01:00
Michael Teeuw 09c1ea992c Update start methods. 2020-02-01 13:56:15 +01:00
Michael Teeuw 04dde74572 Move and alias node_module. 2020-01-01 19:17:23 +01:00
Chris van Marle a6aae70a55 Add UTC timestamp to console log 2019-10-23 10:16:01 +00:00
rejas 835668d96d Add eslint semi rule 2019-06-05 10:23:58 +02:00
rejas ea1715384e Revert "Revert "Fix some == with ===""
This reverts commit d9a4ee4f65.
2019-06-05 08:48:22 +02:00
rejas d9a4ee4f65 Revert "Fix some == with ==="
This reverts commit 5d39d85215.
2019-06-04 11:04:47 +02:00
rejas 5d39d85215 Fix some == with === 2019-06-04 09:51:51 +02:00
rejas 99b4c43fd5 Fix typos and some whitespaces 2019-06-04 09:33:53 +02:00
Michaël Arnauts 17425dcaf7 Add CHANGELOG entry. Fix test. 2019-04-07 16:41:05 +02:00
Michaël Arnauts fd53541719 Handle SIGTERM messages 2019-04-06 20:50:54 +02:00
Veeck 02d36e22ee Show more verbose error message on console if the config is malformed 2019-03-06 10:01:44 +01:00
shbatm f646360af6 Gracefully shutdown node_helpers (Fixes #1056)
Updated documentation


Corrected Typo in Documentation


Style correction
2017-10-13 16:43:11 -05:00
Rodrigo Ramírez Norambuena 1e3b866c8b Use color red for error when the configuration file is not found. 2017-03-05 22:20:35 -03:00
Rodrigo Ramírez Norambuena 2168838365 Use just one callback statement in case of failure on loader of the
configuration file.
2017-03-05 22:05:54 -03:00
Rodrigo Ramírez Norambuena ddff2b2982 Move colors into utils file 2017-02-28 01:41:21 -03:00
Michael Teeuw 3badafaa82 Merge pull request #737 from roramirez/deprecated-options
Deprecated options
2017-02-25 11:38:30 +01:00
Rodrigo Ramírez Norambuena 365bc900b0 Add more information and tag FIXME on Hotfix code 2017-02-24 18:52:33 -03:00
Rodrigo Ramírez Norambuena bd0da63f4c use colors for warning message in deprecated options 2017-02-21 20:28:12 -03:00
Rodrigo Ramírez Norambuena db0b663a3d Put file deprecated into js directory
Request in Pull Request #569
Initial work by @olexs
2017-02-21 19:28:53 -03:00
Rodrigo Ramírez Norambuena fd7fe129e2 Merge remote-tracking branch 'olexs/deprecated-config-notify' into deprecated-options 2017-02-21 19:13:33 -03:00
Rodrigo Ramírez Norambuena ee0418e719 hotfix PL #673 2017-01-31 22:08:38 -03:00
Olexandr Savchuk 90616c82b6 Added console warning for deprecated config options 2017-01-27 18:02:50 +01:00
Rodrigo Ramírez Norambuena 2f9a272696 Improvement of code block about from discussion Pull Request #653
https://github.com/MichMich/MagicMirror/pull/653
2017-01-27 13:13:04 -03:00
Rodrigo Ramírez Norambuena 1e9b35d18f Fix bug validation when is not set MM_CONFIG_FILE enviroment variable 2017-01-26 21:13:58 -03:00
Rodrigo Ramírez Norambuena 3818e48218 remove console.log 2017-01-25 19:05:40 -03:00
Rodrigo Ramírez Norambuena 86e553e756 Set configuration file by enviroment variable:
Enable ability to set configuration file by the enviroment variable
called MM_CONFIG_FILE.
2017-01-24 02:59:20 -03:00
Chris van Marle 3947deb7bd Add async callback to module when loaded 2017-01-02 13:04:15 +01:00
Rodrigo Ramírez Norambuena 2f933a90fd global.root_path for js core
Use global.root_path instead of "/../" syntax to go back directory
2016-12-29 19:09:28 -03:00
Rodrigo Ramírez Norambuena f58e758a41 global: Add the root_path variable in global.
This will can be help for work the better way in use the path into
the core and modules.
2016-12-27 14:31:35 -03:00
Rodrigo Ramírez Norambuena 62567264f0 Config: Add option disabled for modules configuration 2016-11-14 14:45:59 -03:00