MagicMirror -> MagicMirror²

This commit is contained in:
Kristjan SCHMIDT 2022-01-26 23:47:51 +01:00
parent 7e79547973
commit 6f27e5ae07
35 changed files with 51 additions and 51 deletions

View File

@ -44,7 +44,7 @@ When submitting a new issue, please supply the following information:
**Node Version**: Make sure it's version 14 or later (recommended is 16). **Node Version**: Make sure it's version 14 or later (recommended is 16).
**MagicMirror Version**: Please let us know which version of MagicMirror you are running. It can be found in the `package.json` file. **MagicMirror² Version**: Please let us know which version of MagicMirror² you are running. It can be found in the `package.json` 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. **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.

View File

@ -10,16 +10,16 @@ If you're not sure if it's a real bug or if it's just you, please open a topic o
Problems installing or configuring your MagicMirror? Check out: [https://forum.magicmirror.builders/category/10/troubleshooting](https://forum.magicmirror.builders/category/10/troubleshooting) Problems installing or configuring your MagicMirror? Check out: [https://forum.magicmirror.builders/category/10/troubleshooting](https://forum.magicmirror.builders/category/10/troubleshooting)
A common problem is that your config file could be invalid. Please run in your MagicMirror directory: `npm run config:check` and see if it reports an error. A common problem is that your config file could be invalid. Please run in your MagicMirror² directory: `npm run config:check` and see if it reports an error.
## I found a bug in the MagicMirror installer ## 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: 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) [https://github.com/sdetweil/MagicMirror_scripts](https://github.com/sdetweil/MagicMirror_scripts)
## I found a bug in the MagicMirror Docker image ## 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 corresponding repository: If you are facing an issue or found a bug while running MagicMirror² inside a Docker container please create an issue in the corresponding repository:
- karsten13/magicmirror: [https://gitlab.com/khassel/magicmirror](https://gitlab.com/khassel/magicmirror) - karsten13/magicmirror: [https://gitlab.com/khassel/magicmirror](https://gitlab.com/khassel/magicmirror)
- (deprecated) bastilimbach/docker-magicmirror: [https://github.com/bastilimbach/docker-MagicMirror](https://github.com/bastilimbach/docker-MagicMirror) - (deprecated) bastilimbach/docker-magicmirror: [https://github.com/bastilimbach/docker-MagicMirror](https://github.com/bastilimbach/docker-MagicMirror)
@ -35,7 +35,7 @@ When submitting a new issue, please supply the following information:
**Node Version**: Make sure it's version 14 or later (recommended is 16). **Node Version**: Make sure it's version 14 or later (recommended is 16).
**MagicMirror Version**: Please let us know which version of MagicMirror you are running. It can be found in the `package.json` file. **MagicMirror² Version**: Please let us know which version of MagicMirror² you are running. It can be found in the `package.json` 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. **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.

View File

@ -1,4 +1,4 @@
Hello and thank you for wanting to contribute to the MagicMirror project Hello and thank you for wanting to contribute to the MagicMirror² project
**Please make sure that you have followed these 4 rules before submitting your Pull Request:** **Please make sure that you have followed these 4 rules before submitting your Pull Request:**

View File

@ -301,8 +301,8 @@ Special thanks to the following contributors: @bryanzzhu, @bugsounet, @chamakura
### Added ### Added
- `--dry-run` Added option in fetch call within updatenotification node_helper. This is to prevent - `--dry-run` Added option in fetch call within updatenotification node_helper. This is to prevent
MagicMirror from consuming any fetch result. Causes conflict with MMPM when attempting to check MagicMirror² from consuming any fetch result. Causes conflict with MMPM when attempting to check
for updates to MagicMirror and/or MagicMirror modules. for updates to MagicMirror² and/or MagicMirror² modules.
- Test coverage with Istanbul, run it with `npm run test:coverage`. - Test coverage with Istanbul, run it with `npm run test:coverage`.
- Added lithuanian language. - Added lithuanian language.
- Added support in weatherforecast for OpenWeather onecall API. - Added support in weatherforecast for OpenWeather onecall API.
@ -375,7 +375,7 @@ Special thanks to the following contributors: @AndreKoepke, @andrezibaia, @bryan
🚨 READ THIS BEFORE UPDATING 🚨 🚨 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. 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). For more information regarding this major change, please check issue [#1860](https://github.com/MichMich/MagicMirror/issues/1860).
@ -576,7 +576,7 @@ Fixed `package.json` version number.
- Fixed unhandled error on bad git data in updatenotification module [#1285](https://github.com/MichMich/MagicMirror/issues/1285). - Fixed unhandled error on bad git data in updatenotification module [#1285](https://github.com/MichMich/MagicMirror/issues/1285).
- Weather forecast now works with openweathermap in new weather module. Daily data are displayed, see issue [#1504](https://github.com/MichMich/MagicMirror/issues/1504). - Weather forecast now works with openweathermap in new weather module. Daily data are displayed, see issue [#1504](https://github.com/MichMich/MagicMirror/issues/1504).
- Fixed analogue clock border display issue where non-black backgrounds used (previous fix for issue 611) - Fixed analogue clock border display issue where non-black backgrounds used (previous fix for issue 611)
- Fixed compatibility issues caused when modules request different versions of Font Awesome, see issue [#1522](https://github.com/MichMich/MagicMirror/issues/1522). MagicMirror now uses [Font Awesome 5 with v4 shims included for backwards compatibility](https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#shims). - Fixed compatibility issues caused when modules request different versions of Font Awesome, see issue [#1522](https://github.com/MichMich/MagicMirror/issues/1522). MagicMirror² now uses [Font Awesome 5 with v4 shims included for backwards compatibility](https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#shims).
- Installation script problems with raspbian - Installation script problems with raspbian
- Calendar: only show repeating count if the event is actually repeating [#1534](https://github.com/MichMich/MagicMirror/pull/1534) - Calendar: only show repeating count if the event is actually repeating [#1534](https://github.com/MichMich/MagicMirror/pull/1534)
- Calendar: Fix exdate handling when multiple values are specified (comma separated) - Calendar: Fix exdate handling when multiple values are specified (comma separated)
@ -688,7 +688,7 @@ A huge, huge, huge thanks to user @fewieden for all his hard work on the new `we
## [2.4.0] - 2018-07-01 ## [2.4.0] - 2018-07-01
⚠️ **Warning:** This release includes an updated version of Electron. This requires a Raspberry Pi configuration change to allow the best performance and prevent the CPU from overheating. Please read the information on the [MagicMirror Wiki](https://github.com/michmich/magicmirror/wiki/configuring-the-raspberry-pi#enable-the-open-gl-driver-to-decrease-electrons-cpu-usage). ⚠️ **Warning:** This release includes an updated version of Electron. This requires a Raspberry Pi configuration change to allow the best performance and prevent the CPU from overheating. Please read the information on the [MagicMirror² Wiki](https://github.com/michmich/magicmirror/wiki/configuring-the-raspberry-pi#enable-the-open-gl-driver-to-decrease-electrons-cpu-usage).
**Note:** This update uses new dependencies. Please update using the following command: `git pull && npm install` **Note:** This update uses new dependencies. Please update using the following command: `git pull && npm install`
@ -929,7 +929,7 @@ A huge, huge, huge thanks to user @fewieden for all his hard work on the new `we
- Add use pm2 for manager process into Installer RaspberryPi script. - Add use pm2 for manager process into Installer RaspberryPi script.
- Russian Translation. - Russian Translation.
- Afrikaans Translation. - Afrikaans Translation.
- Add postinstall script to notify user that MagicMirror installed successfully despite warnings from NPM. - Add postinstall script to notify user that MagicMirror² installed successfully despite warnings from NPM.
- Init tests using mocha. - Init tests using mocha.
- Option to use RegExp in Calendar's titleReplace. - Option to use RegExp in Calendar's titleReplace.
- Hungarian Translation. - Hungarian Translation.
@ -992,7 +992,7 @@ A huge, huge, huge thanks to user @fewieden for all his hard work on the new `we
- Add VSCode IntelliSense support. - Add VSCode IntelliSense support.
- Module API: Add Visibility locking to module system. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules#visibility-locking) for more information. - Module API: Add Visibility locking to module system. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules#visibility-locking) for more information.
- Module API: Method to overwrite the module's header. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules#getheader) for more information. - Module API: Method to overwrite the module's header. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules#getheader) for more information.
- Module API: Option to define the minimum MagicMirror version to run a module. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules#requiresversion) for more information. - Module API: Option to define the minimum MagicMirror² version to run a module. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules#requiresversion) for more information.
- Calendar module now broadcasts the event list to all other modules using the notification system. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules/default/calendar) for more information. - Calendar module now broadcasts the event list to all other modules using the notification system. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules/default/calendar) for more information.
- Possibility to use the calendar feed as the source for the weather (currentweather & weatherforecast) location data. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules/default/weatherforecast) for more information. - Possibility to use the calendar feed as the source for the weather (currentweather & weatherforecast) location data. [See documentation](https://github.com/MichMich/MagicMirror/tree/develop/modules/default/weatherforecast) for more information.
- Added option to show rain amount in the weatherforecast default module - Added option to show rain amount in the weatherforecast default module
@ -1139,6 +1139,6 @@ It includes (but is not limited to) the following features:
## [1.0.0] - 2014-02-16 ## [1.0.0] - 2014-02-16
### Initial release of MagicMirror. ### Initial release of MagicMirror².
This was part of the blogpost: [https://michaelteeuw.nl/post/83916869600/magic-mirror-part-vi-production-of-the](https://michaelteeuw.nl/post/83916869600/magic-mirror-part-vi-production-of-the) This was part of the blogpost: [https://michaelteeuw.nl/post/83916869600/magic-mirror-part-vi-production-of-the](https://michaelteeuw.nl/post/83916869600/magic-mirror-part-vi-production-of-the)

View File

@ -14,7 +14,7 @@ let config = {
// - "0.0.0.0", "::" to listen on any interface // - "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out or empty, is "localhost" // Default, when address config is left out or empty, is "localhost"
port: 8080, port: 8080,
basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
// you must set the sub path here. basePath must end with a / // you must set the sub path here. basePath must end with a /
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses 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 : // or add a specific IPv4 of 192.168.1.5 :

View File

@ -1,6 +1,6 @@
{ {
"name": "magicmirror-fonts", "name": "magicmirror-fonts",
"description": "Package for fonts use by MagicMirror Core.", "description": "Package for fonts use by MagicMirror² Core.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/MichMich/MagicMirror.git" "url": "git+https://github.com/MichMich/MagicMirror.git"

View File

@ -37,7 +37,7 @@ if (process.env.MM_PORT) {
process.on("uncaughtException", function (err) { process.on("uncaughtException", function (err) {
Log.error("Whoops! There was an uncaught exception..."); Log.error("Whoops! There was an uncaught exception...");
Log.error(err); Log.error(err);
Log.error("MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?"); Log.error("MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?");
Log.error("If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues"); Log.error("If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues");
}); });
@ -128,7 +128,7 @@ function App() {
let m = new Module(); let m = new Module();
if (m.requiresVersion) { if (m.requiresVersion) {
Log.log(`Check MagicMirror version for node helper '${moduleName}' - Minimum version: ${m.requiresVersion} - Current version: ${global.version}`); Log.log(`Check MagicMirror² version for node helper '${moduleName}' - Minimum version: ${m.requiresVersion} - Current version: ${global.version}`);
if (cmpVersions(global.version, m.requiresVersion) >= 0) { if (cmpVersions(global.version, m.requiresVersion) >= 0) {
Log.log("Version is ok!"); Log.log("Version is ok!");
} else { } else {

View File

@ -59,7 +59,7 @@ const defaults = {
position: "middle_center", position: "middle_center",
classes: "xsmall", classes: "xsmall",
config: { config: {
text: "If you get this message while your config file is already created,<br>" + "it probably contains an error. To validate your config file run in your MagicMirror directory<br>" + "<pre>npm run config:check</pre>" text: "If you get this message while your config file is already created,<br>" + "it probably contains an error. To validate your config file run in your MagicMirror² directory<br>" + "<pre>npm run config:check</pre>"
} }
}, },
{ {

View File

@ -480,7 +480,7 @@ const MM = (function () {
* Main init method. * Main init method.
*/ */
init: function () { init: function () {
Log.info("Initializing MagicMirror."); Log.info("Initializing MagicMirror².");
loadConfig(); loadConfig();
Log.setLogLevel(config.logLevel); Log.setLogLevel(config.logLevel);

View File

@ -12,7 +12,7 @@ const Module = Class.extend({
* All methods (and properties) below can be subclassed. * * All methods (and properties) below can be subclassed. *
*********************************************************/ *********************************************************/
// Set the minimum MagicMirror module version for this module. // Set the minimum MagicMirror² module version for this module.
requiresVersion: "2.0.0", requiresVersion: "2.0.0",
// Module config defaults. // Module config defaults.
@ -434,7 +434,7 @@ const Module = Class.extend({
}); });
/** /**
* Merging MagicMirror (or other) default/config script by @bugsounet * Merging MagicMirror² (or other) default/config script by @bugsounet
* Merge 2 objects or/with array * Merge 2 objects or/with array
* *
* Usage: * Usage:
@ -498,7 +498,7 @@ Module.create = function (name) {
Module.register = function (name, moduleDefinition) { Module.register = function (name, moduleDefinition) {
if (moduleDefinition.requiresVersion) { if (moduleDefinition.requiresVersion) {
Log.log("Check MagicMirror version for module '" + name + "' - Minimum version: " + moduleDefinition.requiresVersion + " - Current version: " + window.mmVersion); Log.log("Check MagicMirror² version for module '" + name + "' - Minimum version: " + moduleDefinition.requiresVersion + " - Current version: " + window.mmVersion);
if (cmpVersions(window.mmVersion, moduleDefinition.requiresVersion) >= 0) { if (cmpVersions(window.mmVersion, moduleDefinition.requiresVersion) >= 0) {
Log.log("Version is ok!"); Log.log("Version is ok!");
} else { } else {

View File

@ -23,7 +23,7 @@ const NodeHelper = Class.extend({
}, },
/* stop() /* stop()
* Called when the MagicMirror server receives a `SIGINT` * Called when the MagicMirror² server receives a `SIGINT`
* Close any open connections, stop any sub-processes and * Close any open connections, stop any sub-processes and
* gracefully exit the module. * gracefully exit the module.
* *

View File

@ -1,5 +1,5 @@
# Module: Alert # Module: Alert
The alert module is one of the default modules of the MagicMirror. This module displays notifications from other modules. The alert module is one of the default modules of the MagicMirror². This module displays notifications from other modules.
For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/alert.html). For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/alert.html).

View File

@ -1,4 +1,4 @@
{ {
"sysTitle": "MagicMirror нотификация", "sysTitle": "MagicMirror² нотификация",
"welcome": "Добре дошли, стартирането беше успешно" "welcome": "Добре дошли, стартирането беше успешно"
} }

View File

@ -1,4 +1,4 @@
{ {
"sysTitle": "MagicMirror Notifikation", "sysTitle": "MagicMirror² Notifikation",
"welcome": "Velkommen, modulet er succesfuldt startet!" "welcome": "Velkommen, modulet er succesfuldt startet!"
} }

View File

@ -1,4 +1,4 @@
{ {
"sysTitle": "MagicMirror Benachrichtigung", "sysTitle": "MagicMirror² Benachrichtigung",
"welcome": "Willkommen, Start war erfolgreich!" "welcome": "Willkommen, Start war erfolgreich!"
} }

View File

@ -1,4 +1,4 @@
{ {
"sysTitle": "MagicMirror Notification", "sysTitle": "MagicMirror² Notification",
"welcome": "Welcome, start was successful!" "welcome": "Welcome, start was successful!"
} }

View File

@ -1,4 +1,4 @@
{ {
"sysTitle": "MagicMirror Notificaciones", "sysTitle": "MagicMirror² Notificaciones",
"welcome": "Bienvenido, ¡se iniciado correctamente!" "welcome": "Bienvenido, ¡se iniciado correctamente!"
} }

View File

@ -1,4 +1,4 @@
{ {
"sysTitle": "MagicMirror Notification", "sysTitle": "MagicMirror² Notification",
"welcome": "Bienvenue, le démarrage a été un succès!" "welcome": "Bienvenue, le démarrage a été un succès!"
} }

View File

@ -1,4 +1,4 @@
{ {
"sysTitle": "MagicMirror értesítés", "sysTitle": "MagicMirror² értesítés",
"welcome": "Üdvözöljük, indulás sikeres!" "welcome": "Üdvözöljük, indulás sikeres!"
} }

View File

@ -1,4 +1,4 @@
{ {
"sysTitle": "MagicMirror Notificatie", "sysTitle": "MagicMirror² Notificatie",
"welcome": "Welkom, Succesvol gestart!" "welcome": "Welkom, Succesvol gestart!"
} }

View File

@ -1,4 +1,4 @@
{ {
"sysTitle": "MagicMirror Уведомление", "sysTitle": "MagicMirror² Уведомление",
"welcome": "Добро пожаловать, старт был успешным!" "welcome": "Добро пожаловать, старт был успешным!"
} }

View File

@ -1,6 +1,6 @@
# Module: Calendar # Module: Calendar
The `calendar` module is one of the default modules of the MagicMirror. The `calendar` module is one of the default modules of the MagicMirror².
This module displays events from a public .ical calendar. It can combine multiple calendars. This module displays events from a public .ical calendar. It can combine multiple calendars.
For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/calendar.html). For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/calendar.html).

View File

@ -1,6 +1,6 @@
/* CalendarFetcher Tester /* CalendarFetcher Tester
* use this script with `node debug.js` to test the fetcher without the need * use this script with `node debug.js` to test the fetcher without the need
* of starting the MagicMirror core. Adjust the values below to your desire. * of starting the MagicMirror² core. Adjust the values below to your desire.
* *
* By Michael Teeuw https://michaelteeuw.nl * By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed. * MIT Licensed.

View File

@ -1,6 +1,6 @@
# Module: Clock # Module: Clock
The `clock` module is one of the default modules of the MagicMirror. The `clock` module is one of the default modules of the MagicMirror².
This module displays the current date and time. The information will be updated realtime. This module displays the current date and time. The information will be updated realtime.
For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/clock.html). For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/clock.html).

View File

@ -1,6 +1,6 @@
# Module: Compliments # Module: Compliments
The `compliments` module is one of the default modules of the MagicMirror. The `compliments` module is one of the default modules of the MagicMirror².
This module displays a random compliment. This module displays a random compliment.
For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/compliments.html). For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/compliments.html).

View File

@ -1,5 +1,5 @@
# Module: Hello World # Module: Hello World
The `helloworld` module is one of the default modules of the MagicMirror. It is a simple way to display a static text on the mirror. The `helloworld` module is one of the default modules of the MagicMirror². It is a simple way to display a static text on the mirror.
For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/helloworld.html). For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/helloworld.html).

View File

@ -1,6 +1,6 @@
# Module: News Feed # Module: News Feed
The `newsfeed` module is one of the default modules of the MagicMirror. The `newsfeed` module is one of the default modules of the MagicMirror².
This module displays news headlines based on an RSS feed. Scrolling through news headlines happens time-based (`updateInterval`), but can also be controlled by sending news feed specific notifications to the module. This module displays news headlines based on an RSS feed. Scrolling through news headlines happens time-based (`updateInterval`), but can also be controlled by sending news feed specific notifications to the module.
For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/newsfeed.html). For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/newsfeed.html).

View File

@ -1,6 +1,6 @@
# Module: Update Notification # Module: Update Notification
The `updatenotification` module is one of the default modules of the MagicMirror. The `updatenotification` module is one of the default modules of the MagicMirror².
This will display a message whenever a new version of the MagicMirror application is available. This will display a message whenever a new version of the MagicMirror² application is available.
For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/updatenotification.html). For configuration options, please check the [MagicMirror² documentation](https://docs.magicmirror.builders/modules/updatenotification.html).

View File

@ -237,7 +237,7 @@ WeatherProvider.register("smhi", {
}, },
/** /**
* Map the icon value from SMHI to an icon that MagicMirror understands. * Map the icon value from SMHI to an icon that MagicMirror² understands.
* Uses different icons depending if its daytime or nighttime. * Uses different icons depending if its daytime or nighttime.
* SMHI's description of what the numeric value means is the comment after the case. * SMHI's description of what the numeric value means is the comment after the case.
* *

View File

@ -9,7 +9,7 @@
"server": "node ./serveronly", "server": "node ./serveronly",
"install": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error", "install": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error",
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error", "install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error",
"postinstall": "npm run install-fonts && echo \"MagicMirror installation finished successfully! \n\"", "postinstall": "npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
"test": "NODE_ENV=test jest -i --forceExit", "test": "NODE_ENV=test jest -i --forceExit",
"test:coverage": "NODE_ENV=test nyc --reporter=lcov --reporter=text jest -i --forceExit", "test:coverage": "NODE_ENV=test nyc --reporter=lcov --reporter=text jest -i --forceExit",
"test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit", "test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",

View File

@ -4,7 +4,7 @@ const express = require("express");
const app = express(); const app = express();
const basicAuth = auth({ const basicAuth = auth({
realm: "MagicMirror Area restricted.", realm: "MagicMirror² Area restricted.",
users: { MagicMirror: "CallMeADog" } users: { MagicMirror: "CallMeADog" }
}); });

View File

@ -9,7 +9,7 @@ describe("Check configuration without modules", function () {
helpers.stopApplication(); helpers.stopApplication();
}); });
it("Show the message MagicMirror title", function () { it("Show the message MagicMirror² title", function () {
helpers.waitForElement("#module_1_helloworld .module-content").then((elem) => { helpers.waitForElement("#module_1_helloworld .module-content").then((elem) => {
expect(elem).not.toBe(null); expect(elem).not.toBe(null);
expect(elem.textContent).toContain("MagicMirror²"); expect(elem.textContent).toContain("MagicMirror²");

View File

@ -28,7 +28,7 @@
"FEELS": "מרגיש כמו {DEGREE}", "FEELS": "מרגיש כמו {DEGREE}",
"PRECIP": "משקעים", "PRECIP": "משקעים",
"UPDATE_NOTIFICATION": "עדכון זמין ל-MagicMirror", "UPDATE_NOTIFICATION": "עדכון זמין ל-MagicMirror²",
"UPDATE_NOTIFICATION_MODULE": "עדכון זמין ב-{MODULE_NAME} מודול", "UPDATE_NOTIFICATION_MODULE": "עדכון זמין ב-{MODULE_NAME} מודול",
"UPDATE_INFO_SINGLE": "ההתקנה הנוכחית נמצאת מאחור הענף {BRANCH_NAME} ב-{COMMIT_COUNT} מופע", "UPDATE_INFO_SINGLE": "ההתקנה הנוכחית נמצאת מאחור הענף {BRANCH_NAME} ב-{COMMIT_COUNT} מופע",
"UPDATE_INFO_MULTIPLE": "ההתקנה הנוכחית נמצאת מאחור הענף {BRANCH_NAME} ב-{COMMIT_COUNT} מופעים" "UPDATE_INFO_MULTIPLE": "ההתקנה הנוכחית נמצאת מאחור הענף {BRANCH_NAME} ב-{COMMIT_COUNT} מופעים"

View File

@ -26,7 +26,7 @@
"FEELS": "Percebida {DEGREE}", "FEELS": "Percebida {DEGREE}",
"PRECIP": "PoP", "PRECIP": "PoP",
"UPDATE_NOTIFICATION": "Nova atualização para MagicMirror disponível.", "UPDATE_NOTIFICATION": "Nova atualização para MagicMirror² disponível.",
"UPDATE_NOTIFICATION_MODULE": "Atualização para o módulo {MODULE_NAME} disponível.", "UPDATE_NOTIFICATION_MODULE": "Atualização para o módulo {MODULE_NAME} disponível.",
"UPDATE_INFO_SINGLE": "Sua versão atual é a {COMMIT_COUNT} commit dentro do seguinte branch {BRANCH_NAME}.", "UPDATE_INFO_SINGLE": "Sua versão atual é a {COMMIT_COUNT} commit dentro do seguinte branch {BRANCH_NAME}.",
"UPDATE_INFO_MULTIPLE": "Sua versão atual é a {COMMIT_COUNT} commits dentro do seguinte branch {BRANCH_NAME}." "UPDATE_INFO_MULTIPLE": "Sua versão atual é a {COMMIT_COUNT} commits dentro do seguinte branch {BRANCH_NAME}."

2
vendor/package.json vendored
View File

@ -1,6 +1,6 @@
{ {
"name": "magicmirror-vendors", "name": "magicmirror-vendors",
"description": "Package for vendors use by MagicMirror Core.", "description": "Package for vendors use by MagicMirror² Core.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/MichMich/MagicMirror.git" "url": "git+https://github.com/MichMich/MagicMirror.git"