Release 4chan X v1.13.0.25.

This commit is contained in:
ccd0 2016-11-13 13:16:31 -08:00
parent 313d8c9478
commit e0521a5b38
13 changed files with 71 additions and 39 deletions

View File

@ -4,6 +4,11 @@
## v1.13.0 ## v1.13.0
**v1.13.0.25** *(2016-11-13)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.25/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.25/builds/4chan-X-noupdate.crx)]
- Fix bug from v1.13.0.0 causing errors on index refresh in certain cases when creating threads with cookies disabled. #1184
- Better link text in file error message: 'delete' -> 'delete post'. #1186
- Fix bug causing auto-pruning if you refreshed the index too soon after creating a thread.
**v1.13.0.24** *(2016-11-09)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.crx)] **v1.13.0.24** *(2016-11-09)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.crx)]
- Fix bug from v1.13.0.0 causing lack of scroll bar when `Fit width` is disabled and images overflow screen. - Fix bug from v1.13.0.0 causing lack of scroll bar when `Fit width` is disabled and images overflow screen.

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.0.24 // @version 1.13.0.25
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -147,7 +147,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.0.24', VERSION: '1.13.0.25',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -18201,14 +18201,18 @@ ThreadWatcher = (function() {
ThreadWatcher.setToggler(toggler, !!data); ThreadWatcher.setToggler(toggler, !!data);
$.on(toggler, 'click', ThreadWatcher.cb.toggle); $.on(toggler, 'click', ThreadWatcher.cb.toggle);
if (data && (data.excerpt == null)) { if (data && (data.excerpt == null)) {
ThreadWatcher.db.extend({ return $.queueTask((function(_this) {
boardID: boardID, return function() {
threadID: threadID, ThreadWatcher.db.extend({
val: { boardID: boardID,
excerpt: Get.threadExcerpt(this.thread) threadID: threadID,
} val: {
}); excerpt: Get.threadExcerpt(_this.thread)
return ThreadWatcher.refresh(); }
});
return ThreadWatcher.refresh();
};
})(this));
} }
}, },
catalogNode: function() { catalogNode: function() {
@ -18301,6 +18305,11 @@ ThreadWatcher = (function() {
if (!(!(data != null ? data.isDead : void 0) && (ref1 = boardID + "." + threadID, indexOf.call(e.detail.threads, ref1) < 0))) { if (!(!(data != null ? data.isDead : void 0) && (ref1 = boardID + "." + threadID, indexOf.call(e.detail.threads, ref1) < 0))) {
continue; continue;
} }
if (!e.detail.threads.some(function(fullID) {
return +fullID.split('.')[1] > threadID;
})) {
continue;
}
nKilled++; nKilled++;
if (Conf['Auto Prune'] || !(data && typeof data === 'object')) { if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
db["delete"]({ db["delete"]({
@ -21996,7 +22005,7 @@ QR = (function() {
className: className className: className
}); });
$.extend(div, { $.extend(div, {
innerHTML: E(message) + "<br>[<a href=\"javascript:;\">delete</a>] [<a href=\"javascript:;\">delete all</a>]" innerHTML: E(message) + "<br>[<a href=\"javascript:;\">delete post</a>] [<a href=\"javascript:;\">delete all</a>]"
}); });
(this.errors || (this.errors = [])).push(div); (this.errors || (this.errors = [])).push(div);
ref = $$('a', div), rm = ref[0], rmAll = ref[1]; ref = $$('a', div), rm = ref[0], rmAll = ref[1];

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.0.24 // @version 1.13.0.25
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -147,7 +147,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.0.24', VERSION: '1.13.0.25',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -18201,14 +18201,18 @@ ThreadWatcher = (function() {
ThreadWatcher.setToggler(toggler, !!data); ThreadWatcher.setToggler(toggler, !!data);
$.on(toggler, 'click', ThreadWatcher.cb.toggle); $.on(toggler, 'click', ThreadWatcher.cb.toggle);
if (data && (data.excerpt == null)) { if (data && (data.excerpt == null)) {
ThreadWatcher.db.extend({ return $.queueTask((function(_this) {
boardID: boardID, return function() {
threadID: threadID, ThreadWatcher.db.extend({
val: { boardID: boardID,
excerpt: Get.threadExcerpt(this.thread) threadID: threadID,
} val: {
}); excerpt: Get.threadExcerpt(_this.thread)
return ThreadWatcher.refresh(); }
});
return ThreadWatcher.refresh();
};
})(this));
} }
}, },
catalogNode: function() { catalogNode: function() {
@ -18301,6 +18305,11 @@ ThreadWatcher = (function() {
if (!(!(data != null ? data.isDead : void 0) && (ref1 = boardID + "." + threadID, indexOf.call(e.detail.threads, ref1) < 0))) { if (!(!(data != null ? data.isDead : void 0) && (ref1 = boardID + "." + threadID, indexOf.call(e.detail.threads, ref1) < 0))) {
continue; continue;
} }
if (!e.detail.threads.some(function(fullID) {
return +fullID.split('.')[1] > threadID;
})) {
continue;
}
nKilled++; nKilled++;
if (Conf['Auto Prune'] || !(data && typeof data === 'object')) { if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
db["delete"]({ db["delete"]({
@ -21996,7 +22005,7 @@ QR = (function() {
className: className className: className
}); });
$.extend(div, { $.extend(div, {
innerHTML: E(message) + "<br>[<a href=\"javascript:;\">delete</a>] [<a href=\"javascript:;\">delete all</a>]" innerHTML: E(message) + "<br>[<a href=\"javascript:;\">delete post</a>] [<a href=\"javascript:;\">delete all</a>]"
}); });
(this.errors || (this.errors = [])).push(div); (this.errors || (this.errors = [])).push(div);
ref = $$('a', div), rm = ref[0], rmAll = ref[1]; ref = $$('a', div), rm = ref[0], rmAll = ref[1];

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.0.24 // @version 1.13.0.25
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -147,7 +147,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.0.24', VERSION: '1.13.0.25',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -18201,14 +18201,18 @@ ThreadWatcher = (function() {
ThreadWatcher.setToggler(toggler, !!data); ThreadWatcher.setToggler(toggler, !!data);
$.on(toggler, 'click', ThreadWatcher.cb.toggle); $.on(toggler, 'click', ThreadWatcher.cb.toggle);
if (data && (data.excerpt == null)) { if (data && (data.excerpt == null)) {
ThreadWatcher.db.extend({ return $.queueTask((function(_this) {
boardID: boardID, return function() {
threadID: threadID, ThreadWatcher.db.extend({
val: { boardID: boardID,
excerpt: Get.threadExcerpt(this.thread) threadID: threadID,
} val: {
}); excerpt: Get.threadExcerpt(_this.thread)
return ThreadWatcher.refresh(); }
});
return ThreadWatcher.refresh();
};
})(this));
} }
}, },
catalogNode: function() { catalogNode: function() {
@ -18301,6 +18305,11 @@ ThreadWatcher = (function() {
if (!(!(data != null ? data.isDead : void 0) && (ref1 = boardID + "." + threadID, indexOf.call(e.detail.threads, ref1) < 0))) { if (!(!(data != null ? data.isDead : void 0) && (ref1 = boardID + "." + threadID, indexOf.call(e.detail.threads, ref1) < 0))) {
continue; continue;
} }
if (!e.detail.threads.some(function(fullID) {
return +fullID.split('.')[1] > threadID;
})) {
continue;
}
nKilled++; nKilled++;
if (Conf['Auto Prune'] || !(data && typeof data === 'object')) { if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
db["delete"]({ db["delete"]({
@ -21996,7 +22005,7 @@ QR = (function() {
className: className className: className
}); });
$.extend(div, { $.extend(div, {
innerHTML: E(message) + "<br>[<a href=\"javascript:;\">delete</a>] [<a href=\"javascript:;\">delete all</a>]" innerHTML: E(message) + "<br>[<a href=\"javascript:;\">delete post</a>] [<a href=\"javascript:;\">delete all</a>]"
}); });
(this.errors || (this.errors = [])).push(div); (this.errors || (this.errors = [])).push(div);
ref = $$('a', div), rm = ref[0], rmAll = ref[1]; ref = $$('a', div), rm = ref[0], rmAll = ref[1];

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://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.0.24' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.0.25' />
</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://www.4chan-x.net/builds/4chan-X.crx' version='1.13.0.24' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.0.25' />
</app> </app>
</gupdate> </gupdate>

View File

@ -1,4 +1,4 @@
{ {
"version": "1.13.0.24", "version": "1.13.0.25",
"date": "2016-11-09T07:36:58.703Z" "date": "2016-11-13T21:08:25.650Z"
} }