From 0ea8dac96283fc9e02ea34e0f63772fb42e9c645 Mon Sep 17 00:00:00 2001 From: donghyeon0915 Date: Sat, 11 Mar 2023 00:24:27 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[#7]=20Fixed=20:=20Github=20=EC=9D=B8?= =?UTF-8?q?=EC=A6=9D=20=ED=92=80=EB=A0=B8=EC=9D=84=20=EB=95=8C,=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=EB=A5=BC=20=ED=91=9C=EC=8B=9C=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/baekjoon/uploadFunctions.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/baekjoon/uploadFunctions.js b/scripts/baekjoon/uploadFunctions.js index 3e0fcbb..0e7439d 100644 --- a/scripts/baekjoon/uploadFunctions.js +++ b/scripts/baekjoon/uploadFunctions.js @@ -13,6 +13,10 @@ async function uploadOneSolveProblemOnGit(bojData, cb) { const hook = await getHook(); if (isNull(token) || isNull(hook)) { console.error('token or hook is null', token, hook); + + const elem = document.getElementById('BaekjoonHub_progress_elem'); + elem.className = 'markuploadfailed'; + alert('Github 인증 토큰이 만료되었습니다. 재인증 후 다시 시도해주세요.'); return; } return upload(token, hook, bojData.code, bojData.readme, bojData.directory, bojData.fileName, bojData.message, cb); From 94cd9ee0c7edcc3c769464dd64add2e41ca73f02 Mon Sep 17 00:00:00 2001 From: donghyeon0915 Date: Sat, 11 Mar 2023 00:39:45 +0900 Subject: [PATCH 2/2] =?UTF-8?q?RELEASE=20:=20v0.0.8=20=EB=B2=84=EC=A0=84?= =?UTF-8?q?=20=EB=A6=B4=EB=A6=AC=EC=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index c0873e7..96904ae 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "NKLCBHub(네카라쿠배 허브)", "description": "백준 온라인 저지(BOJ)의 문제를 Github에 쉽게 업로드할 수 있습니다.", - "version": "0.0.8", + "version": "0.0.9", "manifest_version": 3, "permissions": [ "tabs",