Release 4chan X v1.10.1.16.

This commit is contained in:
ccd0 2015-02-26 22:09:17 -08:00
parent d10b833ca0
commit 29459f540b
13 changed files with 53 additions and 44 deletions

View File

@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
### v1.10.1 ### v1.10.1
**v1.10.1.16** *(2015-02-26)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.16/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.16/builds/4chan-X-noupdate.crx "Chromium version")]
- Fix thread watcher data corruption issue.
**v1.10.1.15** *(2015-02-23)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.15/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.15/builds/4chan-X-noupdate.crx "Chromium version")] **v1.10.1.15** *(2015-02-23)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.15/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.15/builds/4chan-X-noupdate.crx "Chromium version")]
- (VoH) Restore Nyafuu archive. - (VoH) Restore Nyafuu archive.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.10.1.15 // @version 1.10.1.16
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.10.1.15 // @version 1.10.1.16
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -26,7 +26,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.10.1.15 * 4chan X
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE * https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -406,7 +406,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.10.1.15', VERSION: '1.10.1.16',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
NAME: '4chan X', NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -1681,8 +1681,8 @@
var ID, board, boardID, defaultValue, postID, thread, threadID, val, _i, _len; var ID, board, boardID, defaultValue, postID, thread, threadID, val, _i, _len;
boardID = _arg.boardID, threadID = _arg.threadID, postID = _arg.postID, defaultValue = _arg.defaultValue; boardID = _arg.boardID, threadID = _arg.threadID, postID = _arg.postID, defaultValue = _arg.defaultValue;
if (board = this.data.boards[boardID]) { if (board = this.data.boards[boardID]) {
if (!threadID) { if (threadID == null) {
if (postID) { if (postID != null) {
for (thread = _i = 0, _len = board.length; _i < _len; thread = ++_i) { for (thread = _i = 0, _len = board.length; _i < _len; thread = ++_i) {
ID = board[thread]; ID = board[thread];
if (postID in thread) { if (postID in thread) {
@ -1694,7 +1694,7 @@
val = board; val = board;
} }
} else if (thread = board[threadID]) { } else if (thread = board[threadID]) {
val = postID ? thread[postID] : thread; val = postID != null ? thread[postID] : thread;
} }
} }
return val || defaultValue; return val || defaultValue;
@ -12595,8 +12595,8 @@
_ref = db.data.boards[boardID]; _ref = db.data.boards[boardID];
for (threadID in _ref) { for (threadID in _ref) {
data = _ref[threadID]; data = _ref[threadID];
if (!data.isDead && !(threadID in g.BOARD.threads)) { if (!(data != null ? data.isDead : void 0) && !(threadID in g.BOARD.threads)) {
if (Conf['Auto Prune']) { if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
ThreadWatcher.db["delete"]({ ThreadWatcher.db["delete"]({
boardID: boardID, boardID: boardID,
threadID: threadID threadID: threadID
@ -12778,11 +12778,13 @@
} }
for (threadID in threads) { for (threadID in threads) {
data = threads[threadID]; data = threads[threadID];
all.push({ if (data && typeof data === 'object') {
boardID: boardID, all.push({
threadID: threadID, boardID: boardID,
data: data threadID: threadID,
}); data: data
});
}
} }
} }
return all; return all;

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.10.1.15 // @version 1.10.1.16
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.10.1.15 * 4chan X
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE * https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -405,7 +405,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.10.1.15', VERSION: '1.10.1.16',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
NAME: '4chan X', NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -1680,8 +1680,8 @@
var ID, board, boardID, defaultValue, postID, thread, threadID, val, _i, _len; var ID, board, boardID, defaultValue, postID, thread, threadID, val, _i, _len;
boardID = _arg.boardID, threadID = _arg.threadID, postID = _arg.postID, defaultValue = _arg.defaultValue; boardID = _arg.boardID, threadID = _arg.threadID, postID = _arg.postID, defaultValue = _arg.defaultValue;
if (board = this.data.boards[boardID]) { if (board = this.data.boards[boardID]) {
if (!threadID) { if (threadID == null) {
if (postID) { if (postID != null) {
for (thread = _i = 0, _len = board.length; _i < _len; thread = ++_i) { for (thread = _i = 0, _len = board.length; _i < _len; thread = ++_i) {
ID = board[thread]; ID = board[thread];
if (postID in thread) { if (postID in thread) {
@ -1693,7 +1693,7 @@
val = board; val = board;
} }
} else if (thread = board[threadID]) { } else if (thread = board[threadID]) {
val = postID ? thread[postID] : thread; val = postID != null ? thread[postID] : thread;
} }
} }
return val || defaultValue; return val || defaultValue;
@ -12594,8 +12594,8 @@
_ref = db.data.boards[boardID]; _ref = db.data.boards[boardID];
for (threadID in _ref) { for (threadID in _ref) {
data = _ref[threadID]; data = _ref[threadID];
if (!data.isDead && !(threadID in g.BOARD.threads)) { if (!(data != null ? data.isDead : void 0) && !(threadID in g.BOARD.threads)) {
if (Conf['Auto Prune']) { if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
ThreadWatcher.db["delete"]({ ThreadWatcher.db["delete"]({
boardID: boardID, boardID: boardID,
threadID: threadID threadID: threadID
@ -12777,11 +12777,13 @@
} }
for (threadID in threads) { for (threadID in threads) {
data = threads[threadID]; data = threads[threadID];
all.push({ if (data && typeof data === 'object') {
boardID: boardID, all.push({
threadID: threadID, boardID: boardID,
data: data threadID: threadID,
}); data: data
});
}
} }
} }
return all; return all;

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.10.1.15 // @version 1.10.1.16
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.10.1.15 // @version 1.10.1.16
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -26,7 +26,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.10.1.15 * 4chan X
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE * https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -406,7 +406,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.10.1.15', VERSION: '1.10.1.16',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
NAME: '4chan X', NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -1681,8 +1681,8 @@
var ID, board, boardID, defaultValue, postID, thread, threadID, val, _i, _len; var ID, board, boardID, defaultValue, postID, thread, threadID, val, _i, _len;
boardID = _arg.boardID, threadID = _arg.threadID, postID = _arg.postID, defaultValue = _arg.defaultValue; boardID = _arg.boardID, threadID = _arg.threadID, postID = _arg.postID, defaultValue = _arg.defaultValue;
if (board = this.data.boards[boardID]) { if (board = this.data.boards[boardID]) {
if (!threadID) { if (threadID == null) {
if (postID) { if (postID != null) {
for (thread = _i = 0, _len = board.length; _i < _len; thread = ++_i) { for (thread = _i = 0, _len = board.length; _i < _len; thread = ++_i) {
ID = board[thread]; ID = board[thread];
if (postID in thread) { if (postID in thread) {
@ -1694,7 +1694,7 @@
val = board; val = board;
} }
} else if (thread = board[threadID]) { } else if (thread = board[threadID]) {
val = postID ? thread[postID] : thread; val = postID != null ? thread[postID] : thread;
} }
} }
return val || defaultValue; return val || defaultValue;
@ -12595,8 +12595,8 @@
_ref = db.data.boards[boardID]; _ref = db.data.boards[boardID];
for (threadID in _ref) { for (threadID in _ref) {
data = _ref[threadID]; data = _ref[threadID];
if (!data.isDead && !(threadID in g.BOARD.threads)) { if (!(data != null ? data.isDead : void 0) && !(threadID in g.BOARD.threads)) {
if (Conf['Auto Prune']) { if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
ThreadWatcher.db["delete"]({ ThreadWatcher.db["delete"]({
boardID: boardID, boardID: boardID,
threadID: threadID threadID: threadID
@ -12778,11 +12778,13 @@
} }
for (threadID in threads) { for (threadID in threads) {
data = threads[threadID]; data = threads[threadID];
all.push({ if (data && typeof data === 'object') {
boardID: boardID, all.push({
threadID: threadID, boardID: boardID,
data: data threadID: threadID,
}); data: data
});
}
} }
} }
return all; return all;

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'> <app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.1.15' /> <updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.1.16' />
</app> </app>
</gupdate> </gupdate>

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'> <app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.1.15' /> <updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.1.16' />
</app> </app>
</gupdate> </gupdate>

View File

@ -3,7 +3,7 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.", "description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": { "meta": {
"name": "4chan X", "name": "4chan X",
"version": "1.10.1.15", "version": "1.10.1.16",
"repo": "https://github.com/ccd0/4chan-x/", "repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x", "page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/", "downloads": "https://ccd0.github.io/4chan-x/builds/",