Release 4chan X v1.7.61.

This commit is contained in:
ccd0 2014-06-15 22:45:08 -07:00
parent c740dc0b7d
commit 04a0b95922
12 changed files with 37 additions and 28 deletions

View File

@ -1,3 +1,6 @@
### v1.7.61
*2014-06-15*
**ccd0**
- Fix new hiding/filtering bug from previous release.

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.7.60 - 2014-06-15
* 4chan X - Version 1.7.61 - 2014-06-15
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.7.60
// @version 1.7.61
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -24,7 +24,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.7.60 - 2014-06-15
* 4chan X - Version 1.7.61 - 2014-06-15
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -374,7 +374,7 @@
doc = d.documentElement;
g = {
VERSION: '1.7.60',
VERSION: '1.7.61',
NAMESPACE: '4chan X.',
boards: {}
};
@ -3488,6 +3488,7 @@
board = g.boards[boardID] || new Board(boardID);
thread = g.threads["" + boardID + "." + threadID] || new Thread(threadID, board);
post = new Post(Build.postFromObject(post, boardID), thread, board);
post.isFetchedQuote = true;
Main.callbackNodes(Post, [post]);
return Get.insert(post, root, context);
},
@ -3552,6 +3553,7 @@
post = new Post(Build.post(o, true), thread, board, {
isArchived: true
});
post.isFetchedQuote = true;
Main.callbackNodes(Post, [post]);
return Get.insert(post, root, context);
},
@ -4182,7 +4184,7 @@
},
node: function() {
var filter, key, result, value, _i, _len, _ref;
if (this.isClone || !this.nodes.root.parentNode) {
if (this.isClone || this.isFetchedQuote) {
return;
}
for (key in Filter.filters) {
@ -4377,7 +4379,7 @@
},
node: function() {
var data;
if (!this.isReply || this.isClone || !this.nodes.root.parentNode) {
if (!this.isReply || this.isClone || this.isFetchedQuote) {
return;
}
if (data = PostHiding.db.get({
@ -4665,7 +4667,7 @@
},
node: function() {
var i, obj, quote, recursive, _i, _j, _len, _len1, _ref, _ref1;
if (this.isClone || !this.nodes.root.parentNode) {
if (this.isClone || this.isFetchedQuote) {
return;
}
_ref = this.quotes;
@ -12480,7 +12482,7 @@
Settings.dialog = dialog = $.el('div', {
id: 'fourchanx-settings',
className: 'dialog',
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.60</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.61</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
});
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
@ -13325,7 +13327,7 @@
}
if (previousversion) {
el = $.el('span', {
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.60</a>.'
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.61</a>.'
});
new Notice('info', el, 15);
} else {

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "4chan X",
"version": "1.7.60",
"version": "1.7.61",
"manifest_version": 2,
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"icons": {

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* 4chan X - Version 1.7.60 - 2014-06-15
* 4chan X - Version 1.7.61 - 2014-06-15
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -349,7 +349,7 @@
doc = d.documentElement;
g = {
VERSION: '1.7.60',
VERSION: '1.7.61',
NAMESPACE: '4chan X.',
boards: {}
};
@ -3523,6 +3523,7 @@
board = g.boards[boardID] || new Board(boardID);
thread = g.threads["" + boardID + "." + threadID] || new Thread(threadID, board);
post = new Post(Build.postFromObject(post, boardID), thread, board);
post.isFetchedQuote = true;
Main.callbackNodes(Post, [post]);
return Get.insert(post, root, context);
},
@ -3587,6 +3588,7 @@
post = new Post(Build.post(o, true), thread, board, {
isArchived: true
});
post.isFetchedQuote = true;
Main.callbackNodes(Post, [post]);
return Get.insert(post, root, context);
},
@ -4207,7 +4209,7 @@
},
node: function() {
var filter, key, result, value, _i, _len, _ref;
if (this.isClone || !this.nodes.root.parentNode) {
if (this.isClone || this.isFetchedQuote) {
return;
}
for (key in Filter.filters) {
@ -4402,7 +4404,7 @@
},
node: function() {
var data;
if (!this.isReply || this.isClone || !this.nodes.root.parentNode) {
if (!this.isReply || this.isClone || this.isFetchedQuote) {
return;
}
if (data = PostHiding.db.get({
@ -4690,7 +4692,7 @@
},
node: function() {
var i, obj, quote, recursive, _i, _j, _len, _len1, _ref, _ref1;
if (this.isClone || !this.nodes.root.parentNode) {
if (this.isClone || this.isFetchedQuote) {
return;
}
_ref = this.quotes;
@ -12474,7 +12476,7 @@
Settings.dialog = dialog = $.el('div', {
id: 'fourchanx-settings',
className: 'dialog',
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.60</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.61</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
});
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
@ -13306,7 +13308,7 @@
}
if (previousversion) {
el = $.el('span', {
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.60</a>.'
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.61</a>.'
});
new Notice('info', el, 15);
} else {

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "4chan X",
"version": "1.7.60",
"version": "1.7.61",
"manifest_version": 2,
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"icons": {

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* 4chan X - Version 1.7.60 - 2014-06-15
* 4chan X - Version 1.7.61 - 2014-06-15
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -349,7 +349,7 @@
doc = d.documentElement;
g = {
VERSION: '1.7.60',
VERSION: '1.7.61',
NAMESPACE: '4chan X.',
boards: {}
};
@ -3523,6 +3523,7 @@
board = g.boards[boardID] || new Board(boardID);
thread = g.threads["" + boardID + "." + threadID] || new Thread(threadID, board);
post = new Post(Build.postFromObject(post, boardID), thread, board);
post.isFetchedQuote = true;
Main.callbackNodes(Post, [post]);
return Get.insert(post, root, context);
},
@ -3587,6 +3588,7 @@
post = new Post(Build.post(o, true), thread, board, {
isArchived: true
});
post.isFetchedQuote = true;
Main.callbackNodes(Post, [post]);
return Get.insert(post, root, context);
},
@ -4207,7 +4209,7 @@
},
node: function() {
var filter, key, result, value, _i, _len, _ref;
if (this.isClone || !this.nodes.root.parentNode) {
if (this.isClone || this.isFetchedQuote) {
return;
}
for (key in Filter.filters) {
@ -4402,7 +4404,7 @@
},
node: function() {
var data;
if (!this.isReply || this.isClone || !this.nodes.root.parentNode) {
if (!this.isReply || this.isClone || this.isFetchedQuote) {
return;
}
if (data = PostHiding.db.get({
@ -4690,7 +4692,7 @@
},
node: function() {
var i, obj, quote, recursive, _i, _j, _len, _len1, _ref, _ref1;
if (this.isClone || !this.nodes.root.parentNode) {
if (this.isClone || this.isFetchedQuote) {
return;
}
_ref = this.quotes;
@ -12474,7 +12476,7 @@
Settings.dialog = dialog = $.el('div', {
id: 'fourchanx-settings',
className: 'dialog',
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.60</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.61</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
});
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
@ -13306,7 +13308,7 @@
}
if (previousversion) {
el = $.el('span', {
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.60</a>.'
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.61</a>.'
});
new Notice('info', el, 15);
} else {

View File

@ -1,6 +1,6 @@
{
"name": "4chan-X",
"version": "1.7.60",
"version": "1.7.61",
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",