From 3b92ae49a9ffac5e97a8abc7b6971612f2bb069b Mon Sep 17 00:00:00 2001 From: rico24 Date: Fri, 25 Jun 2021 10:58:05 +0200 Subject: [PATCH 1/3] Update nl.json Added the missing variables based on the en.json file. --- translations/nl.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/translations/nl.json b/translations/nl.json index 9d1db24d..f6404479 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -6,6 +6,7 @@ "DAYAFTERTOMORROW": "Overmorgen", "RUNNING": "Eindigt over", "EMPTY": "Geen geplande afspraken.", + "WEEK": "Week {weekNumber}", "N": "N", "NNE": "NNO", @@ -25,7 +26,11 @@ "NNW": "NNW", "FEELS": "Voelt als {DEGREE}", + "PRECIP": "Neerslagkans", + "MODULE_CONFIG_CHANGED": "De configuratie opties voor de module {MODULE_NAME} zijn gewijzigd.\nControleer de documentatie.", + "MODULE_CONFIG_ERROR": "Fout in de {MODULE_NAME} module. {ERROR}", + "UPDATE_NOTIFICATION": "MagicMirror² update beschikbaar.", "UPDATE_NOTIFICATION_MODULE": "Update beschikbaar voor {MODULE_NAME} module.", "UPDATE_INFO_SINGLE": "De huidige installatie loopt {COMMIT_COUNT} commit achter op de {BRANCH_NAME} branch.", From 7a5928ea244116ae70474182ca1c2d4551382fbc Mon Sep 17 00:00:00 2001 From: rico24 Date: Mon, 28 Jun 2021 21:03:05 +0200 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b08ab4c9..fb98aeff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,63 @@ This project adheres to [Semantic Versioning](https://semver.org/). ❤️ **Donate:** Enjoying MagicMirror²? [Please consider a donation!](https://magicmirror.builders/donate) With your help we can continue to improve the MagicMirror² +## [2.16.0] - Unreleased (Develop Branch) + +_This release is scheduled to be released on 2021-07-01._ + +Special thanks to the following contributors: @B1gG, @codac, @ezeholz, @khassel, @KristjanESPERANTO, @rejas, @earlman, Faizan Ahmed. + +### Added + +- Added French translations for "MODULE_CONFIG_ERROR" and "PRECIP". +- Added German translation for "PRECIP". +- Added Dutch translation for "WEEK", "PRECIP", "MODULE_CONFIG_CHANGED" and "MODULE_CONFIG_ERROR". +- Added first test for Alert module. +- Added support for `dateFormat` when not using `timeFormat: "absolute"` +- Added custom-properties for colors and fonts for improved styling experience, see `custom.css.sample` file +- Added custom-properties for gaps around body and between modules +- Added test case for recurring calendar events +- Added new Environment Canada provider for default WEATHER module (weather data for Canadian locations only) +- Added list view for newsfeed module. +- Added dev dependency jest, switching from mocha to jest + +### Updated + +- Bump node-ical to v0.13.0 (now last runtime dependency using deprecated `request` package is removed). +- Use codecov in informational mode +- Refactor code into es6 where possible (e.g. var -> let/const) +- Use node v16 in github workflow (replacing node v10) +- Moved some files into better suited directories +- Update dependencies in package.json, require node >= v12, remove `rrule-alt` and `rrule` +- Update dependencies in package.json and migrate husky to v6, fix husky setup in prod environment +- Cleaned up error handling in newsfeed and calendar modules for real +- Updated default WEATHER module such that a provider can optionally set a custom unit-of-measure for precipitation (`weatherObject.precipitationUnits`) +- Update documentation. +- Update jest tests: Reset changes on js/logger.js, mock logger.js in global_vars tests. +- Update dependencies in package.json + +### Removed + +- switching from mocha to jest so removed following dev dependencies: chai, chai-as-promised, mocha, mocha-each, mocha-logger + +### Fixed + +- Fix calendar start function logging inconsistency. +- Fix updatenotification start function logging inconsistency. +- Checks and applies the showDescription setting for the newsfeed module again +- Fix issue with openweathermap not showing current or forecast info when using onecall API +- Fix tests in weather module and add one for decimalPoint in forecast +- Fix decimalSymbol in the forecast part of the new weather module #2530 +- Fix wrong treatment of `appendLocationNameToHeader` when using `ukmetofficedatahub` +- Fix alert not recognizing multiple alerts (#2522) +- Fix fetch option httpsAgent to agent in calendar module (#466) +- Fix module updatenotification which did not work for repos with many refs (#1907) +- Fix config check failing when encountering let syntax ("Parsing error: Unexpected token config") +- Fix calendar debug check +- Really run prettier over all files +- Fix logger.js after jest changes, use --forceExit running jest +- Workaround for dev_console test using getWindowCount. + ## [2.15.0] - 2021-04-01 Special thanks to the following contributors: @EdgardosReis, @MystaraTheGreat, @TheDuffman85, @ashishtank, @buxxi, @codac, @fewieden, @khassel, @klaernie, @qu1que, @rejas, @sdetweil & @thomasrockhu. From b9c739df1f3c88c77b6d79d6fb7197f00f268262 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Tue, 29 Jun 2021 09:49:13 +0200 Subject: [PATCH 3/3] Fix prettier issues. --- CHANGELOG.md | 2 +- translations/nl.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb98aeff..7a43b7a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ Special thanks to the following contributors: @B1gG, @codac, @ezeholz, @khassel, - Added French translations for "MODULE_CONFIG_ERROR" and "PRECIP". - Added German translation for "PRECIP". -- Added Dutch translation for "WEEK", "PRECIP", "MODULE_CONFIG_CHANGED" and "MODULE_CONFIG_ERROR". +- Added Dutch translation for "WEEK", "PRECIP", "MODULE_CONFIG_CHANGED" and "MODULE_CONFIG_ERROR". - Added first test for Alert module. - Added support for `dateFormat` when not using `timeFormat: "absolute"` - Added custom-properties for colors and fonts for improved styling experience, see `custom.css.sample` file diff --git a/translations/nl.json b/translations/nl.json index f6404479..fdad7b08 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -30,7 +30,7 @@ "MODULE_CONFIG_CHANGED": "De configuratie opties voor de module {MODULE_NAME} zijn gewijzigd.\nControleer de documentatie.", "MODULE_CONFIG_ERROR": "Fout in de {MODULE_NAME} module. {ERROR}", - + "UPDATE_NOTIFICATION": "MagicMirror² update beschikbaar.", "UPDATE_NOTIFICATION_MODULE": "Update beschikbaar voor {MODULE_NAME} module.", "UPDATE_INFO_SINGLE": "De huidige installatie loopt {COMMIT_COUNT} commit achter op de {BRANCH_NAME} branch.",