From 66e4e8dd6f5ec6e830b4b4cd33ed22d42569af16 Mon Sep 17 00:00:00 2001 From: nobody Date: Sat, 19 Sep 2020 08:01:31 +0200 Subject: [PATCH] Prepared v2.4.1 --- core/main.js | 11 ++---- core/migrate.js | 25 ------------- manifest.json | 2 +- pages/background/background.html | 6 --- pages/updates/updates.html | 63 ++++++++++++++------------------ pages/updates/updates.js | 22 +---------- 6 files changed, 34 insertions(+), 95 deletions(-) delete mode 100644 core/migrate.js diff --git a/core/main.js b/core/main.js index a14f3a9a..5d636760 100644 --- a/core/main.js +++ b/core/main.js @@ -81,13 +81,10 @@ main._showReleaseNotes = function (details) { [Setting.LAST_MAPPING_UPDATE]: lastMappingUpdate }, function() { if (!items.hideReleaseNotes) { - // ******************************************************************************** - // TODO: Change me in v2.4.1 - // chrome.tabs.create({ - // 'url': chrome.extension.getURL('pages/updates/updates.html?mappingupdate=' + mappingUpdate), - // 'active': false - // }); - // ******************************************************************************** + chrome.tabs.create({ + 'url': chrome.extension.getURL('pages/updates/updates.html?mappingupdate=' + mappingUpdate), + 'active': false + }); } }); } else { diff --git a/core/migrate.js b/core/migrate.js deleted file mode 100644 index e1aa4170..00000000 --- a/core/migrate.js +++ /dev/null @@ -1,25 +0,0 @@ -// ******************************************************************************** -// TODO: Remove me in v2.4.1 -chrome.runtime.onInstalled.addListener(function(details) { - if (details.reason === chrome.runtime.OnInstalledReason.UPDATE) { - chrome.storage.sync.get(null, function(items) { - // Workaround for https://codeberg.org/nobody/LocalCDN/issues/102 - setTimeout(function() { - chrome.storage.local.set(items, function() { - chrome.runtime.reload(); - }); - }, 5000); - }); - } -}); - -chrome.storage.local.get('extensionReloaded', function(items) { - if (!('extensionReloaded' in items)) { - chrome.tabs.create({ - 'url': chrome.extension.getURL('pages/updates/updates.html?mappingupdate=true'), - 'active': false - }); - chrome.storage.local.set({'extensionReloaded': true}); - } -}); -// ******************************************************************************** diff --git a/manifest.json b/manifest.json index c6d337d0..be98f176 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "LocalCDN", - "version": "2.4.0", + "version": "2.4.1", "browser_specific_settings": { "gecko": { "id": "{b86e4813-687a-43e6-ab65-0bde4ab75758}", diff --git a/pages/background/background.html b/pages/background/background.html index 11360710..34c80698 100644 --- a/pages/background/background.html +++ b/pages/background/background.html @@ -5,12 +5,6 @@ - - - - diff --git a/pages/updates/updates.html b/pages/updates/updates.html index b7678f31..2bf123ca 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -18,17 +18,6 @@
- -
-

Please notice

-

1.) Do you use Firefox/Chromium Sync or your own sync server?

-

In LocalCDN v2.4.0 the default storage type has been changed from sync to local. If you want to change this, you can do this in the settings. Please recognize that not all data are synced. More information can be found in the FAQs

-

2.) Extension settings

-

Your extension settings should be automatically transferred from sync to local, but in some cases the migration may fail. If you want, you can your extension settings to a file and import them on the options page.

-
-

Release notes

@@ -36,30 +25,7 @@ New in LocalCDN:
    -
  • Added CDN: gitcdn.github.io (#90)
  • -
  • Added: Bootstrap Toggle v2.2.2 (#90)
  • -
  • Implemented: Open options in new tab (#91)
  • -
  • Implemented: Storage handler (#92)
  • -
  • Updated: Options page (#93)
  • -
  • Updated: Google Material Icons (#94)
  • -
  • Added: P2P Media Loader Hls.js (v0.6.2) (#95)
  • -
  • Fixed: Rocket Loader (#99)
  • -
  • Added: videojs-seek-buttons v1.6.0 (#99)
  • -
  • Added: baguetteBox.js v1.11.1 (#100)
  • -
  • Added: jQuery Easing Plugin v1.4.1 (#101)
  • -
  • Updated: popper.js v2.4.4 (#103)
  • -
  • Added: AnchorJS v3.2.2 & v4.2.2 (#104)
  • -
  • Fixed: Import user settings (#102)
  • -
  • Implemented: Rules for AdGuard (#105)
  • -
  • Updated: AngularJS v1.3.15 -> v1.3.20 (#107)
  • -
  • Added: AngularJS Translate v2.7.2 (#107)
  • -
  • Added: Lodash v3.10.1 (#107)
  • -
  • Updated: Angular Material v0.x -> v1.1.21 (#107)
  • -
  • Added: Angular Material in cdnjs.cloudflare.com (#107)
  • -
  • Fixed: File name conversion (FontAwesomeJS, SwiperJS)
  • -
  • Added: Slick in cdn.jsdelivr.net (#108)
  • -
  • Added: Slick Lightbox v0.2.12 (#108)
  • -
  • Updated: Waypoints v4.0.0 -> v4.0.1 (and used the whole package) (#108)
  • +
@@ -91,6 +57,33 @@
+ Previous Versions