v2.1.1
MagicMirrorOrg/MagicMirrorv2.1.1Apr 1, 2017by MichMich
AI Summary
This April Fools' release introduces Docker support, a comprehensive testing suite (Travis CI, e2e tests), and several new translations (Russian, Afrikaans, etc.). It also addresses calendar synchronization issues by swapping dependencies.
Key Highlights
- Docker support
- Extensive testing infrastructure (Travis CI, e2e, mocha)
- New translations (Russian, Afrikaans, Estonian, Korean, Hungarian, Icelandic)
- Calendar bug fixes via `rrule-alt` package swap
- Mouse event pass-through for fullscreen regions
New Features
- Docker support
- Async `loaded` function for modules
- Gesture events support for newsfeed module
- PM2 support for Raspberry Pi installer
- `MM_CONFIG_FILE` environment variable
- Colored min/max temperature options
- `ignoreOldItems` and `ignoreOlderThan` options for News Feed module
- Configurable Week section for the Clock module
Full Release Notes
## [2.1.1] - 2017-04-01 **Note:** This update uses new dependencies. Please update using the following command: `git pull && npm install` ### Changed - Add `anytime` group for Compliments module. - Compliments module can use remoteFile without default daytime arrays defined - Installer: Use init config.js from config.js.sample. - Switched out `rrule` package for `rrule-alt` and fixes in `ical.js` in order to fix calendar issues. ([#565](https://github.com/MichMich/MagicMirror/issues/565)) - Make mouse events pass through the region fullscreen_above to modules below. - Scaled the splash screen down to make it a bit more subtle. - Replace HTML tables with markdown tables in README files. - Added `DAYAFTERTOMORROW`, `UPDATE_NOTIFICATION` and `UPDATE_NOTIFICATION_MODULE` to Finnish translations. - Run `npm test` on Travis automatically - Show the splash screen image even when is reboot or halted. - Added some missing translaton strings in the sv.json file. - Run task jsonlint to check translation files. - Restructured Test Suite ### Added - Added Docker support (Pull Request [#673](https://github.com/MichMich/MagicMirror/pull/673)). - Calendar-specific support for `maximumEntries`, and ` maximumNumberOfDays`. - Add loaded function to modules, providing an async callback. - Made default newsfeed module aware of gesture events from [MMM-Gestures](https://github.com/thobach/MMM-Gestures) - Add use pm2 for manager process into Installer RaspberryPi script. - Russian Translation. - Afrikaans Translation. - Add postinstall script to notify user that MagicMirror installed successfully despite warnings from NPM. - Init tests using mocha. - Option to use RegExp in Calendar's titleReplace. - Hungarian Translation. - Icelandic Translation. - Add use a script to prevent when is run by SSH session set DISPLAY enviroment. - Enable ability to set configuration file by the enviroment variable called MM_CONFIG_FILE. - Option to give each calendar a different color. - Option for colored min-temp and max-temp. - Add test e2e helloworld. - Add test e2e enviroment. - Add `chai-as-promised` npm module to devDependencies. - Basic set of tests for clock module. - Run e2e test in Travis. - Estonian Translation. - Add test for compliments module for parts of day. - Korean Translation. - Added console warning on startup when deprecated config options are used. - Add option to display temperature unit label to the current weather module. - Added ability to disable wrapping of news items. - Added in the ability to hide events in the calendar module based on simple string filters. - Updated Norwegian translation. - Added hideLoading option for News Feed module. - Added configurable dateFormat to clock module. - Added multiple calendar icon support. - Added tests for Translations, dev argument, version, dev console. - Added test anytime feature compliments module. - Added test ipwhitelist configuration directive. - Added test for calendar module: default, basic-auth, backward compability, fail-basic-auth. - Added meta tags to support fullscreen mode on iOS (for server mode) - Added `ignoreOldItems` and `ignoreOlderThan` options to the News Feed module - Added test for MM_PORT enviroment variable. - Added a configurable Week section to the clock module. ### Fixed - Update .gitignore to not ignore default modules folder. - Remove white flash on boot up. - Added `update` in Raspberry Pi installation script. - Fix an issue where the analog clock looked scrambled. ([#611](https://github.com/MichMich/MagicMirror/issues/611)) - If units is set to imperial, the showRainAmount option of weatherforecast will show the correct unit. - Module currentWeather: check if temperature received from api is defined. - Fix an issue with module hidden status changing to `true` although lock string prevented showing it. - Fix newsfeed module bug (removeStartTags) - Fix when is set MM_PORT enviroment variable. - Fixed missing animation on `this.show(speed)` when module is alone in a region.