From 90cf0d32b59fcf66d08b9a697fa939a8a112c211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Thu, 2 May 2019 18:48:48 +0900 Subject: [PATCH 01/13] Update README.md [AUTOGEN] (#4827) --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 1fae71df4e..bd4f0a045e 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,6 @@ Please see the [Contribution Guide](./CONTRIBUTING.md). gutfuckllc mydarkstar Peter G. -itiradi nemu sikyosyounin YUKIMOCHI @@ -132,7 +131,6 @@ Please see the [Contribution Guide](./CONTRIBUTING.md). gutfuckllc mydarkstar Peter G. -itiradi nemu sikyosyounin YUKIMOCHI @@ -167,7 +165,7 @@ Please see the [Contribution Guide](./CONTRIBUTING.md). Takashi Shibuya -**Last updated:** Wed, 24 Apr 2019 05:56:07 UTC +**Last updated:** Wed, 01 May 2019 10:33:06 UTC :four_leaf_clover: Copyright From 7c1bc1d6bc607eebf7bbc20324833ac2b349a81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Thu, 2 May 2019 19:44:59 +0900 Subject: [PATCH 02/13] Update README.md [AUTOGEN] (#4832) --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bd4f0a045e..97667d1ac0 100644 --- a/README.md +++ b/README.md @@ -140,32 +140,32 @@ Please see the [Contribution Guide](./CONTRIBUTING.md). - + - - + -
takimuraDamillora Atsuko Tominaga natalie HiratakeCG Hekovic dansup GargronNokotaro Takeda
takimuraDamillora Atsuko Tominaga natalie HiratakeCG Hekovic dansup GargronNokotaro Takeda
+ +
Nokotaro Takeda Takashi Shibuya
Nokotaro Takeda Takashi Shibuya
-**Last updated:** Wed, 01 May 2019 10:33:06 UTC +**Last updated:** Thu, 02 May 2019 09:49:12 UTC :four_leaf_clover: Copyright From 289c76a8020477d0361bdc5b5dadc06b2df75a9a Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 3 May 2019 08:22:44 +0900 Subject: [PATCH 03/13] Disable ServiceWorker --- src/client/app/mios.ts | 7 ++++--- src/client/app/sw.js | 36 ------------------------------------ 2 files changed, 4 insertions(+), 39 deletions(-) diff --git a/src/client/app/mios.ts b/src/client/app/mios.ts index 191b72e5bf..3ebee35804 100644 --- a/src/client/app/mios.ts +++ b/src/client/app/mios.ts @@ -173,9 +173,10 @@ export default class MiOS extends EventEmitter { // Init service worker if (this.shouldRegisterSw) { - this.getMeta().then(data => { - this.registerSw(data.swPublickey); - }); + // #4813 + //this.getMeta().then(data => { + // this.registerSw(data.swPublickey); + //}); } }; diff --git a/src/client/app/sw.js b/src/client/app/sw.js index ccf6dc818e..92f2ac8284 100644 --- a/src/client/app/sw.js +++ b/src/client/app/sw.js @@ -3,12 +3,6 @@ */ import composeNotification from './common/scripts/compose-notification'; -import { erase } from '../../prelude/array'; - -// キャッシュするリソース -const cachee = [ - '/' -]; // インストールされたとき self.addEventListener('install', ev => { @@ -16,31 +10,9 @@ self.addEventListener('install', ev => { ev.waitUntil(Promise.all([ self.skipWaiting(), // Force activate - caches.open(_VERSION_).then(cache => cache.addAll(cachee)) // Cache ])); }); -// アクティベートされたとき -self.addEventListener('activate', ev => { - // Clean up old caches - ev.waitUntil( - caches.keys().then(keys => Promise.all( - erase(_VERSION_, keys) - .map(key => caches.delete(key)) - )) - ); -}); - -// リクエストが発生したとき -self.addEventListener('fetch', ev => { - ev.respondWith( - // キャッシュがあるか確認してあればそれを返す - caches.match(ev.request).then(response => - response || fetch(ev.request) - ) - ); -}); - // プッシュ通知を受け取ったとき self.addEventListener('push', ev => { // クライアント取得 @@ -59,11 +31,3 @@ self.addEventListener('push', ev => { }); })); }); - -self.addEventListener('message', ev => { - if (ev.data == 'clear') { - caches.keys().then(keys => { - for (const key of keys) caches.delete(key); - }); - } -}); From 5553c3fb179b32550fb5e202b009c58fbb4ad8ac Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 3 May 2019 08:27:46 +0900 Subject: [PATCH 04/13] Improve usability --- .../page-editor/page-editor.container.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/client/app/common/views/components/page-editor/page-editor.container.vue b/src/client/app/common/views/components/page-editor/page-editor.container.vue index 4127cd39e0..a3a501afb4 100644 --- a/src/client/app/common/views/components/page-editor/page-editor.container.vue +++ b/src/client/app/common/views/components/page-editor/page-editor.container.vue @@ -1,12 +1,15 @@