Release 4chan X v1.11.21.3.
This commit is contained in:
parent
14298e1e30
commit
1a9a0d7a4d
@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
|
||||
|
||||
### v1.11.21
|
||||
|
||||
**v1.11.21.3** *(2015-12-15)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.21.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.21.3/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Add `Remember Your Posts` option to control enable/disable post history, previously controlled by `Mark Quotes of You`.
|
||||
|
||||
**v1.11.21.2** *(2015-12-15)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.21.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.21.2/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Fix minor bugs in migration of old sauce settings.
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.21.2
|
||||
// @version 1.11.21.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.21.2
|
||||
// @version 1.11.21.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -260,9 +260,10 @@
|
||||
'Quote Previewing': [true, 'Show quoted post on hover.'],
|
||||
'Quote Highlighting': [true, 'Highlight the previewed post.', 1],
|
||||
'Resurrect Quotes': [true, 'Link dead quotes to the archives.'],
|
||||
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.'],
|
||||
'Remember Your Posts': [true, 'Remember your posting history.'],
|
||||
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.', 1],
|
||||
'Highlight Posts Quoting You': [true, 'Highlights any posts that contain a quote to your post.', 1],
|
||||
'Highlight Own Posts': [true, 'Highlights own posts if Mark Quotes of You is enabled.', 1],
|
||||
'Highlight Own Posts': [true, 'Highlights own posts.', 1],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
|
||||
'Quote Threading': [false, 'Thread conversations']
|
||||
@ -433,7 +434,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.21.2',
|
||||
VERSION: '1.11.21.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -6194,11 +6195,11 @@
|
||||
if (this.isClone || !this.quotes.length || this.isRebuilt) {
|
||||
return;
|
||||
}
|
||||
markYours = (ref = QR.db) != null ? ref.get({
|
||||
markYours = Conf['Mark Quotes of You'] && ((ref = QR.db) != null ? ref.get({
|
||||
boardID: this.board.ID,
|
||||
threadID: this.thread.ID,
|
||||
postID: this.ID
|
||||
}) : void 0;
|
||||
}) : void 0);
|
||||
a = $.el('a', {
|
||||
href: Build.postURL(this.board.ID, this.thread.ID, this.ID),
|
||||
className: this.isHidden ? 'filtered backlink' : 'backlink',
|
||||
@ -6759,7 +6760,7 @@
|
||||
QuoteYou = {
|
||||
init: function() {
|
||||
var ref;
|
||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Mark Quotes of You'] && Conf['Quick Reply'])) {
|
||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Remember Your Posts'] && Conf['Quick Reply'])) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Highlight Own Posts']) {
|
||||
@ -6798,7 +6799,9 @@
|
||||
if (!(QR.db.get(Get.postDataFromLink(quotelink)))) {
|
||||
continue;
|
||||
}
|
||||
$.add(quotelink, $.tn(QuoteYou.text));
|
||||
if (Conf['Mark Quotes of You']) {
|
||||
$.add(quotelink, $.tn(QuoteYou.text));
|
||||
}
|
||||
$.addClass(quotelink, 'you');
|
||||
$.addClass(this.nodes.root, 'quotesYou');
|
||||
}
|
||||
@ -6981,9 +6984,9 @@
|
||||
if (!Conf['Quick Reply']) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Mark Quotes of You']) {
|
||||
$.sync('Mark Quotes of You', function(enabled) {
|
||||
return Conf['Mark Quotes of You'] = enabled;
|
||||
if (Conf['Remember Your Posts']) {
|
||||
$.sync('Remember Your Posts', function(enabled) {
|
||||
return Conf['Remember Your Posts'] = enabled;
|
||||
});
|
||||
this.db = new DataBoard('yourPosts');
|
||||
}
|
||||
@ -7873,8 +7876,8 @@
|
||||
postID = +postID;
|
||||
threadID = +threadID || postID;
|
||||
isReply = threadID !== postID;
|
||||
$.forceSync('Mark Quotes of You');
|
||||
if (Conf['Mark Quotes of You']) {
|
||||
$.forceSync('Remember Your Posts');
|
||||
if (Conf['Remember Your Posts']) {
|
||||
if ((ref3 = QR.db) != null) {
|
||||
ref3.set({
|
||||
boardID: g.BOARD.ID,
|
||||
@ -8892,7 +8895,7 @@
|
||||
|
||||
PostSuccessful = {
|
||||
init: function() {
|
||||
if (!Conf['Mark Quotes of You']) {
|
||||
if (!Conf['Remember Your Posts']) {
|
||||
return;
|
||||
}
|
||||
return $.ready(this.ready);
|
||||
@ -17154,7 +17157,7 @@
|
||||
}
|
||||
},
|
||||
upgrade: function(data, version) {
|
||||
var boardID, changes, compareString, k, key, len1, name, record, ref, ref1, ref2, ref3, ref4, ref5, rice, type, uids, value;
|
||||
var boardID, changes, compareString, k, key, len1, name, record, ref, ref1, ref2, ref3, ref4, ref5, ref6, rice, type, uids, value;
|
||||
changes = {};
|
||||
compareString = version.replace(/\d+/g, function(x) {
|
||||
return ('0000' + x).slice(-5);
|
||||
@ -17240,6 +17243,11 @@
|
||||
changes['sauces'] = ((ref5 = changes['sauces']) != null ? ref5 : data['sauces']).replace(/^#?\s*https:\/\/www\.google\.com\/searchbyimage\?image_url=%(?:IMG|URL)(?=$|;)/mg, '$&%3Fs.jpg');
|
||||
}
|
||||
}
|
||||
if (compareString < '00001.00011.00021.00003') {
|
||||
if (data['Remember Your Posts'] == null) {
|
||||
changes['Remember Your Posts'] = (ref6 = data['Mark Quotes of You']) != null ? ref6 : true;
|
||||
}
|
||||
}
|
||||
return changes;
|
||||
},
|
||||
loadSettings: function(data, cb) {
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.21.2
|
||||
// @version 1.11.21.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -260,9 +260,10 @@
|
||||
'Quote Previewing': [true, 'Show quoted post on hover.'],
|
||||
'Quote Highlighting': [true, 'Highlight the previewed post.', 1],
|
||||
'Resurrect Quotes': [true, 'Link dead quotes to the archives.'],
|
||||
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.'],
|
||||
'Remember Your Posts': [true, 'Remember your posting history.'],
|
||||
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.', 1],
|
||||
'Highlight Posts Quoting You': [true, 'Highlights any posts that contain a quote to your post.', 1],
|
||||
'Highlight Own Posts': [true, 'Highlights own posts if Mark Quotes of You is enabled.', 1],
|
||||
'Highlight Own Posts': [true, 'Highlights own posts.', 1],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
|
||||
'Quote Threading': [false, 'Thread conversations']
|
||||
@ -433,7 +434,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.21.2',
|
||||
VERSION: '1.11.21.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -6194,11 +6195,11 @@
|
||||
if (this.isClone || !this.quotes.length || this.isRebuilt) {
|
||||
return;
|
||||
}
|
||||
markYours = (ref = QR.db) != null ? ref.get({
|
||||
markYours = Conf['Mark Quotes of You'] && ((ref = QR.db) != null ? ref.get({
|
||||
boardID: this.board.ID,
|
||||
threadID: this.thread.ID,
|
||||
postID: this.ID
|
||||
}) : void 0;
|
||||
}) : void 0);
|
||||
a = $.el('a', {
|
||||
href: Build.postURL(this.board.ID, this.thread.ID, this.ID),
|
||||
className: this.isHidden ? 'filtered backlink' : 'backlink',
|
||||
@ -6759,7 +6760,7 @@
|
||||
QuoteYou = {
|
||||
init: function() {
|
||||
var ref;
|
||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Mark Quotes of You'] && Conf['Quick Reply'])) {
|
||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Remember Your Posts'] && Conf['Quick Reply'])) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Highlight Own Posts']) {
|
||||
@ -6798,7 +6799,9 @@
|
||||
if (!(QR.db.get(Get.postDataFromLink(quotelink)))) {
|
||||
continue;
|
||||
}
|
||||
$.add(quotelink, $.tn(QuoteYou.text));
|
||||
if (Conf['Mark Quotes of You']) {
|
||||
$.add(quotelink, $.tn(QuoteYou.text));
|
||||
}
|
||||
$.addClass(quotelink, 'you');
|
||||
$.addClass(this.nodes.root, 'quotesYou');
|
||||
}
|
||||
@ -6981,9 +6984,9 @@
|
||||
if (!Conf['Quick Reply']) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Mark Quotes of You']) {
|
||||
$.sync('Mark Quotes of You', function(enabled) {
|
||||
return Conf['Mark Quotes of You'] = enabled;
|
||||
if (Conf['Remember Your Posts']) {
|
||||
$.sync('Remember Your Posts', function(enabled) {
|
||||
return Conf['Remember Your Posts'] = enabled;
|
||||
});
|
||||
this.db = new DataBoard('yourPosts');
|
||||
}
|
||||
@ -7873,8 +7876,8 @@
|
||||
postID = +postID;
|
||||
threadID = +threadID || postID;
|
||||
isReply = threadID !== postID;
|
||||
$.forceSync('Mark Quotes of You');
|
||||
if (Conf['Mark Quotes of You']) {
|
||||
$.forceSync('Remember Your Posts');
|
||||
if (Conf['Remember Your Posts']) {
|
||||
if ((ref3 = QR.db) != null) {
|
||||
ref3.set({
|
||||
boardID: g.BOARD.ID,
|
||||
@ -8892,7 +8895,7 @@
|
||||
|
||||
PostSuccessful = {
|
||||
init: function() {
|
||||
if (!Conf['Mark Quotes of You']) {
|
||||
if (!Conf['Remember Your Posts']) {
|
||||
return;
|
||||
}
|
||||
return $.ready(this.ready);
|
||||
@ -17154,7 +17157,7 @@
|
||||
}
|
||||
},
|
||||
upgrade: function(data, version) {
|
||||
var boardID, changes, compareString, k, key, len1, name, record, ref, ref1, ref2, ref3, ref4, ref5, rice, type, uids, value;
|
||||
var boardID, changes, compareString, k, key, len1, name, record, ref, ref1, ref2, ref3, ref4, ref5, ref6, rice, type, uids, value;
|
||||
changes = {};
|
||||
compareString = version.replace(/\d+/g, function(x) {
|
||||
return ('0000' + x).slice(-5);
|
||||
@ -17240,6 +17243,11 @@
|
||||
changes['sauces'] = ((ref5 = changes['sauces']) != null ? ref5 : data['sauces']).replace(/^#?\s*https:\/\/www\.google\.com\/searchbyimage\?image_url=%(?:IMG|URL)(?=$|;)/mg, '$&%3Fs.jpg');
|
||||
}
|
||||
}
|
||||
if (compareString < '00001.00011.00021.00003') {
|
||||
if (data['Remember Your Posts'] == null) {
|
||||
changes['Remember Your Posts'] = (ref6 = data['Mark Quotes of You']) != null ? ref6 : true;
|
||||
}
|
||||
}
|
||||
return changes;
|
||||
},
|
||||
loadSettings: function(data, cb) {
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.21.2
|
||||
// @version 1.11.21.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.21.2
|
||||
// @version 1.11.21.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -260,9 +260,10 @@
|
||||
'Quote Previewing': [true, 'Show quoted post on hover.'],
|
||||
'Quote Highlighting': [true, 'Highlight the previewed post.', 1],
|
||||
'Resurrect Quotes': [true, 'Link dead quotes to the archives.'],
|
||||
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.'],
|
||||
'Remember Your Posts': [true, 'Remember your posting history.'],
|
||||
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.', 1],
|
||||
'Highlight Posts Quoting You': [true, 'Highlights any posts that contain a quote to your post.', 1],
|
||||
'Highlight Own Posts': [true, 'Highlights own posts if Mark Quotes of You is enabled.', 1],
|
||||
'Highlight Own Posts': [true, 'Highlights own posts.', 1],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
'Mark Cross-thread Quotes': [true, 'Add \'(Cross-thread)\' to cross-threads quotes.'],
|
||||
'Quote Threading': [false, 'Thread conversations']
|
||||
@ -433,7 +434,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.21.2',
|
||||
VERSION: '1.11.21.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -6194,11 +6195,11 @@
|
||||
if (this.isClone || !this.quotes.length || this.isRebuilt) {
|
||||
return;
|
||||
}
|
||||
markYours = (ref = QR.db) != null ? ref.get({
|
||||
markYours = Conf['Mark Quotes of You'] && ((ref = QR.db) != null ? ref.get({
|
||||
boardID: this.board.ID,
|
||||
threadID: this.thread.ID,
|
||||
postID: this.ID
|
||||
}) : void 0;
|
||||
}) : void 0);
|
||||
a = $.el('a', {
|
||||
href: Build.postURL(this.board.ID, this.thread.ID, this.ID),
|
||||
className: this.isHidden ? 'filtered backlink' : 'backlink',
|
||||
@ -6759,7 +6760,7 @@
|
||||
QuoteYou = {
|
||||
init: function() {
|
||||
var ref;
|
||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Mark Quotes of You'] && Conf['Quick Reply'])) {
|
||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Remember Your Posts'] && Conf['Quick Reply'])) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Highlight Own Posts']) {
|
||||
@ -6798,7 +6799,9 @@
|
||||
if (!(QR.db.get(Get.postDataFromLink(quotelink)))) {
|
||||
continue;
|
||||
}
|
||||
$.add(quotelink, $.tn(QuoteYou.text));
|
||||
if (Conf['Mark Quotes of You']) {
|
||||
$.add(quotelink, $.tn(QuoteYou.text));
|
||||
}
|
||||
$.addClass(quotelink, 'you');
|
||||
$.addClass(this.nodes.root, 'quotesYou');
|
||||
}
|
||||
@ -6981,9 +6984,9 @@
|
||||
if (!Conf['Quick Reply']) {
|
||||
return;
|
||||
}
|
||||
if (Conf['Mark Quotes of You']) {
|
||||
$.sync('Mark Quotes of You', function(enabled) {
|
||||
return Conf['Mark Quotes of You'] = enabled;
|
||||
if (Conf['Remember Your Posts']) {
|
||||
$.sync('Remember Your Posts', function(enabled) {
|
||||
return Conf['Remember Your Posts'] = enabled;
|
||||
});
|
||||
this.db = new DataBoard('yourPosts');
|
||||
}
|
||||
@ -7873,8 +7876,8 @@
|
||||
postID = +postID;
|
||||
threadID = +threadID || postID;
|
||||
isReply = threadID !== postID;
|
||||
$.forceSync('Mark Quotes of You');
|
||||
if (Conf['Mark Quotes of You']) {
|
||||
$.forceSync('Remember Your Posts');
|
||||
if (Conf['Remember Your Posts']) {
|
||||
if ((ref3 = QR.db) != null) {
|
||||
ref3.set({
|
||||
boardID: g.BOARD.ID,
|
||||
@ -8892,7 +8895,7 @@
|
||||
|
||||
PostSuccessful = {
|
||||
init: function() {
|
||||
if (!Conf['Mark Quotes of You']) {
|
||||
if (!Conf['Remember Your Posts']) {
|
||||
return;
|
||||
}
|
||||
return $.ready(this.ready);
|
||||
@ -17154,7 +17157,7 @@
|
||||
}
|
||||
},
|
||||
upgrade: function(data, version) {
|
||||
var boardID, changes, compareString, k, key, len1, name, record, ref, ref1, ref2, ref3, ref4, ref5, rice, type, uids, value;
|
||||
var boardID, changes, compareString, k, key, len1, name, record, ref, ref1, ref2, ref3, ref4, ref5, ref6, rice, type, uids, value;
|
||||
changes = {};
|
||||
compareString = version.replace(/\d+/g, function(x) {
|
||||
return ('0000' + x).slice(-5);
|
||||
@ -17240,6 +17243,11 @@
|
||||
changes['sauces'] = ((ref5 = changes['sauces']) != null ? ref5 : data['sauces']).replace(/^#?\s*https:\/\/www\.google\.com\/searchbyimage\?image_url=%(?:IMG|URL)(?=$|;)/mg, '$&%3Fs.jpg');
|
||||
}
|
||||
}
|
||||
if (compareString < '00001.00011.00021.00003') {
|
||||
if (data['Remember Your Posts'] == null) {
|
||||
changes['Remember Your Posts'] = (ref6 = data['Mark Quotes of You']) != null ? ref6 : true;
|
||||
}
|
||||
}
|
||||
return changes;
|
||||
},
|
||||
loadSettings: function(data, cb) {
|
||||
|
||||
Binary file not shown.
@ -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://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.21.2' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.21.3' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -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://www.4chan-x.net/builds/4chan-X.crx' version='1.11.21.2' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.21.3' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"version": "1.11.21.2",
|
||||
"date": "2015-12-16T03:02:30.799Z"
|
||||
"version": "1.11.21.3",
|
||||
"date": "2015-12-16T07:24:58.151Z"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user