From 1586ebe813ac3db5a4588d3cede28d2379f8af7c Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Sun, 5 Sep 2021 08:25:18 +0100 Subject: [PATCH] Changelogs and bump version Former-commit-id: 38547081ecd3e9a926120b9cf2a602a7155c442b [formerly 130551424313469e96f14ee26786aa797f93fd41] [formerly bc00d10383b1414e4629a5cc141893e811a05189] [formerly c3dc3cb72202c11f70de7d22731bf21c2a5a6e1d [formerly d3e655d47d3b82b6f168649f56800ac7281fb8c1 [formerly 55f1e9661f869297d5e0a056b667c5751452bc31]]] Former-commit-id: 745e8ee9b5f0f273b5e5a70e58eac44f23e52654 [formerly b6de39b0c37504fb2cbe641c656479f81eba7194 [formerly 5ea13b76e6782af0c9cb7da5cc0999e9d089bb96]] Former-commit-id: 441f39fc57b59b221255959a58003c36f8204a98 [formerly 610ecd74cac3dd5dde211ccc8d8c9ce5f215cfa9] Former-commit-id: ce23a54026253e527be6ace97d57eee2d5dd70bb --- CHANGELOG.md | 3 ++- pwabuilder-sw.js | 2 +- www/index.html | 1 + www/js/init.js | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ae0788f..0a616f78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Release 1.7.0 +## Release 1.7.1 * ENNHNCEMENT: Added more diagnostic APIs to the API panel in Configuration * ENHANCEMENT: Added refresh button for picked folder in Configuration (UWP or File System Access API) @@ -9,6 +9,7 @@ * ENHANCEMENT: Provide contextual warnings for features that do not work well with dynamic content * UPDATE: Sample ZIM changed to `wikipedia_en_100_nopic_2021-08.zim` in order to reduce app size * UPDATE: New option to change right click to double right click for opening new window or tab +* FIX: Issue preventing correct parsing of ZIM archive path in some contexts in SW mode * FIX: Some app crashes when switching the UWP app to SW mode * FIX: Printing in SW mode (load all images correctly before printing) * FIX: Restoring DOM after printing in SW mode diff --git a/pwabuilder-sw.js b/pwabuilder-sw.js index 461d02d5..73690544 100644 --- a/pwabuilder-sw.js +++ b/pwabuilder-sw.js @@ -4,7 +4,7 @@ // App version number - ENSURE IT MATCHES VALUE IN init.js // DEV: Changing this will cause the browser to recognize that the Service Worker has changed, and it will download and // install a new copy -const appVersion = '1.7.0'; +const appVersion = '1.7.1'; // Kiwix ZIM Archive Download Server in regex form // DEV: The server URL is defined in init.js, but is not available to us in SW diff --git a/www/index.html b/www/index.html index 169290d0..3b232837 100644 --- a/www/index.html +++ b/www/index.html @@ -125,6 +125,7 @@
  • Provide option for image manipulation (saving to disk or opening in new tab via right-click)
  • Provide contextual warnings for features that do not work well with active content
  • New option to change single right click to double right click for opening new window or tab
  • +
  • Fixed issue preventing correct parsing of ZIM archive links in some contexts in SW mode
  • Fixed printing in SW mode (all images are now loaded correctly before printing)
  • Fixed restoring the DOM after printing in SW mode
  • Fixed some app crashes when switching to SW mode
  • diff --git a/www/js/init.js b/www/js/init.js index 8ff9aef1..55f95cfc 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -49,7 +49,7 @@ var params = {}; */ var appstate = {}; /******** UPDATE VERSION IN pwabuilder-sw.js TO MATCH VERSION AND CHECK PWASERVER BELOW!!!!!!! *******/ -params['version'] = "1.7.0"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js +params['version'] = "1.7.1"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js /******* UPDATE THIS ^^^^^^ IN service worker AND PWA-SERVER BELOW !! ********************/ params['packagedFile'] = getSetting('packagedFile') || "wikipedia_en_100_nopic_2021-08.zim"; //For packaged Kiwix JS (e.g. with Wikivoyage file), set this to the filename (for split files, give the first chunk *.zimaa) and place file(s) in default storage params['archivePath'] = "archives"; //The directory containing the packaged archive(s) (relative to app's root directory)