diff --git a/CHANGELOG.md b/CHANGELOG.md index 159bb4cde..d590af4c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### v1.14.6 +**v1.14.6.5** *(2019-04-04)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.6.5/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.6.5/builds/4chan-X-noupdate.crx)] +- Fix Thread Watcher bug that in certain circumstances caused the last check of an archived thread for new replies to be skipped. + **v1.14.6.4** *(2019-04-02)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.6.4/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.6.4/builds/4chan-X-noupdate.crx)] - Merge v1.14.5.16: Remove score/perks message. Fix Posting Success Notifications. - Merge v1.14.5.16: Remove like buttons. Continue to show like counts and scores where given in API. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 80a6fbde2..1207f77c3 100644 Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js index e18a3bfeb..9722e36f9 100644 --- a/builds/4chan-X-beta.meta.js +++ b/builds/4chan-X-beta.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.14.6.4 +// @version 1.14.6.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js index efb8d2d58..8a4a51141 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.14.6.4 +// @version 1.14.6.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -198,7 +198,7 @@ docSet = function() { }; g = { - VERSION: '1.14.6.4', + VERSION: '1.14.6.5', NAMESPACE: '4chan X.', boards: {} }; @@ -20260,12 +20260,19 @@ ThreadWatcher = (function() { })) { continue; } - nKilled++; if (Conf['Auto Prune'] || !(data && typeof data === 'object')) { db["delete"]({ boardID: boardID, threadID: threadID }); + nKilled++; + } else if (ThreadWatcher.unreadEnabled && Conf['Show Unread Count']) { + ThreadWatcher.fetchStatus({ + siteID: siteID, + boardID: boardID, + threadID: threadID, + data: data + }); } else { db.extend({ boardID: boardID, @@ -20274,14 +20281,7 @@ ThreadWatcher = (function() { isDead: true } }); - if (ThreadWatcher.unreadEnabled && Conf['Show Unread Count']) { - ThreadWatcher.fetchStatus({ - siteID: siteID, - boardID: boardID, - threadID: threadID, - data: data - }); - } + nKilled++; } } if (nKilled) { diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 4f14fdc97..9e28a77d6 100644 Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js index f77183ddc..237478493 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.6.4 +// @version 1.14.6.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -198,7 +198,7 @@ docSet = function() { }; g = { - VERSION: '1.14.6.4', + VERSION: '1.14.6.5', NAMESPACE: '4chan X.', boards: {} }; @@ -20260,12 +20260,19 @@ ThreadWatcher = (function() { })) { continue; } - nKilled++; if (Conf['Auto Prune'] || !(data && typeof data === 'object')) { db["delete"]({ boardID: boardID, threadID: threadID }); + nKilled++; + } else if (ThreadWatcher.unreadEnabled && Conf['Show Unread Count']) { + ThreadWatcher.fetchStatus({ + siteID: siteID, + boardID: boardID, + threadID: threadID, + data: data + }); } else { db.extend({ boardID: boardID, @@ -20274,14 +20281,7 @@ ThreadWatcher = (function() { isDead: true } }); - if (ThreadWatcher.unreadEnabled && Conf['Show Unread Count']) { - ThreadWatcher.fetchStatus({ - siteID: siteID, - boardID: boardID, - threadID: threadID, - data: data - }); - } + nKilled++; } } if (nKilled) { diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 5b9e1dbca..243f06366 100644 Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index 8c12ad017..daa9af90a 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.6.4 +// @version 1.14.6.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index a8b010a94..72866410c 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.6.4 +// @version 1.14.6.5 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -198,7 +198,7 @@ docSet = function() { }; g = { - VERSION: '1.14.6.4', + VERSION: '1.14.6.5', NAMESPACE: '4chan X.', boards: {} }; @@ -20260,12 +20260,19 @@ ThreadWatcher = (function() { })) { continue; } - nKilled++; if (Conf['Auto Prune'] || !(data && typeof data === 'object')) { db["delete"]({ boardID: boardID, threadID: threadID }); + nKilled++; + } else if (ThreadWatcher.unreadEnabled && Conf['Show Unread Count']) { + ThreadWatcher.fetchStatus({ + siteID: siteID, + boardID: boardID, + threadID: threadID, + data: data + }); } else { db.extend({ boardID: boardID, @@ -20274,14 +20281,7 @@ ThreadWatcher = (function() { isDead: true } }); - if (ThreadWatcher.unreadEnabled && Conf['Show Unread Count']) { - ThreadWatcher.fetchStatus({ - siteID: siteID, - boardID: boardID, - threadID: threadID, - data: data - }); - } + nKilled++; } } if (nKilled) { diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index ec0a41bec..5c3db063e 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.json b/builds/updates-beta.json index 634a4f746..87520c67a 100644 --- a/builds/updates-beta.json +++ b/builds/updates-beta.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.6.4", + "version": "1.14.6.5", "update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx" } ] diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index 2c0e40b54..f61a8046f 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.json b/builds/updates.json index 7c2367961..366d95e00 100644 --- a/builds/updates.json +++ b/builds/updates.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.6.4", + "version": "1.14.6.5", "update_link": "https://www.4chan-x.net/builds/4chan-X.crx" } ] diff --git a/builds/updates.xml b/builds/updates.xml index 25ae4eaba..8572053cf 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index 9eeda9400..be39abf96 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.14.6.4", - "date": "2019-04-02T13:16:33.368Z" + "version": "1.14.6.5", + "date": "2019-04-04T23:55:26.319Z" } \ No newline at end of file