diff --git a/CHANGELOG.md b/CHANGELOG.md
index 28a3c18cb..989113d7b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 16035f0ae..1391ffe23 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 d3e65f459..851f772cc 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.11.21.2
+// @version 1.11.21.3
// @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 97a1c4673..7ad17cf19 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -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) {
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index faf3021b5..eb92cd8de 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 d5d2dc528..49f6c58c6 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -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) {
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 60da2285b..af95ec506 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 6f556f674..e08abe4a1 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -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
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 2e6d3c98d..e7ed9adfe 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -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) {
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 943fb1d23..a4d74fb93 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index 6d4f9c6bc..005a952d3 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.xml b/builds/updates.xml
index bfd5030c5..fc3e11ee9 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index 3d28d58b2..80cdecef5 100644
--- a/version.json
+++ b/version.json
@@ -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"
}