From 044dbd4a65ab384287421eda19d8a550dbd625f0 Mon Sep 17 00:00:00 2001 From: ubertao Date: Sat, 8 Sep 2018 23:05:19 +0800 Subject: [PATCH 1/3] Add gzip support to calendar fetcher. --- modules/default/calendar/calendarfetcher.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/default/calendar/calendarfetcher.js b/modules/default/calendar/calendarfetcher.js index ccd1f6c8..60ee8fc7 100644 --- a/modules/default/calendar/calendarfetcher.js +++ b/modules/default/calendar/calendarfetcher.js @@ -29,7 +29,8 @@ var CalendarFetcher = function(url, reloadInterval, excludedEvents, maximumEntri var opts = { headers: { "User-Agent": "Mozilla/5.0 (Node.js "+ nodeVersion + ") MagicMirror/" + global.version + " (https://github.com/MichMich/MagicMirror/)" - } + }, + gzip: true }; if (auth) { From 4aace5b95a1553e6cfe185fd1f7c2919f93b656e Mon Sep 17 00:00:00 2001 From: ubertao Date: Sat, 8 Sep 2018 23:44:12 +0800 Subject: [PATCH 2/3] update changelog with gzip calendar fix --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c242e50..47ccd52c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). --- +## [2.4.2] + +### Fixed + +- Fix gzip encoded calendar loading issue #1400. ## [2.4.1] - 2018-07-04 From 28f1498ec3697d6fb4569dd23a64ac4fff3b69ef Mon Sep 17 00:00:00 2001 From: ubertao Date: Wed, 12 Sep 2018 08:17:10 +0800 Subject: [PATCH 3/3] update CHANGELOG.md adding gzip fix for calendar module --- CHANGELOG.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1765ba0..b12a493e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,6 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). --- -## [2.4.2] - -### Fixed - -- Fix gzip encoded calendar loading issue #1400. - ## [2.5.0] - Unreleased *This release is scheduled to be released on 2018-10-01.* @@ -26,6 +20,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Support for showing end of events through config parameters showEnd and dateEndFormat ### Fixed +- Fixed gzip encoded calendar loading issue #1400. - Mixup between german and spanish translation for newsfeed. - Fixed close dates to be absolute, if no configured in the config.js - module Calendar - Fixed the UpdateNotification module message about new commits in the repository, so they can be correctly localized in singular and plural form.