diff --git a/CHANGELOG.md b/CHANGELOG.md index cf9441366..cc95dc5cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ ### v1.13.7 +**v1.13.7.2** *(2017-02-06)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.7.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.7.2/builds/4chan-X-noupdate.crx)] +- Add `Require OP Quote Link` option (off by default in new installs) to Thread Watcher menu: For purposes of thread watcher highlighting, only consider posts with a quote link to the OP as replies to the OP. +- Turn on `Require OP Quote Link` for upgrading users as it is the old behavior. + **v1.13.7.1** *(2017-02-02)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.7.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.7.1/builds/4chan-X-noupdate.crx)] - Merge v1.13.5.3: Update for Recaptcha changes. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 74e31b0fc..b6d10cb58 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 1c0f16917..71e6be1aa 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.13.7.1 +// @version 1.13.7.2 // @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 800d5f384..f4bbee6c8 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.13.7.1 +// @version 1.13.7.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -151,7 +151,7 @@ docSet = function() { }; g = { - VERSION: '1.13.7.1', + VERSION: '1.13.7.2', NAMESPACE: '4chan X.', boards: {} }; @@ -247,7 +247,7 @@ Config = (function() { 'Image Expansion': [true, 'Expand images / videos.'], 'Image Hover': [true, 'Show full image / video on mouseover.'], 'Image Hover in Catalog': [true, 'Show full image / video on mouseover in 4chan X catalog.'], - 'Gallery': [true, 'Adds a simple and cute image gallery.'], + 'Gallery': [true, 'Adds a simple and cute image gallery. Has more options in the gallery menu.'], 'Fullscreen Gallery': [false, 'Open gallery in fullscreen mode.', 1], 'PDF in Gallery': [false, 'Show PDF files in gallery.', 1], 'Sauce': [true, 'Add sauce links to images.'], @@ -294,7 +294,7 @@ Config = (function() { 'IP Count in Stats': [true, 'Display the unique IP count in the thread stats.', 1], 'Page Count in Stats': [true, 'Display the page count in the thread stats.', 1], 'Updater and Stats in Header': [true, 'Places the thread updater and thread stats in the header instead of floating them.'], - 'Thread Watcher': [true, 'Bookmark threads.'], + 'Thread Watcher': [true, 'Bookmark threads. Has more options in the thread watcher menu.'], 'Fixed Thread Watcher': [true, 'Makes the thread watcher scroll with the page.', 1], 'Persistent Thread Watcher': [false, 'The thread watcher will be visible when the page is loaded.', 1], 'Mark New IPs': [false, 'Label each post from a new IP with the thread\'s current IP count.'], @@ -364,7 +364,8 @@ Config = (function() { 'Auto Watch': [true, 'Automatically watch threads you start.'], 'Auto Watch Reply': [true, 'Automatically watch threads you reply to.'], 'Auto Prune': [false, 'Automatically remove dead threads.'], - 'Show Unread Count': [true, 'Show number of unread posts in watched threads.'] + 'Show Unread Count': [true, 'Show number of unread posts in watched threads.'], + 'Require OP Quote Link': [false, 'For purposes of thread watcher highlighting, only consider posts with a quote link to the OP as replies to the OP.'] }, filter: { postID: "# Highlight dubs on [s4s]:\n#/(\\d)\\1$/;highlight;top:no;boards:s4s", @@ -11270,6 +11271,9 @@ Settings = (function() { } addSauces(Config['sauces'].match(/# Known filename formats:(?:\n.+)*|$/)[0].split('\n')); } + if (compareString < '00001.00013.00007.00002') { + setD('Require OP Quote Link', true); + } return changes; }, loadSettings: function(data, cb) { @@ -18977,7 +18981,7 @@ ThreadWatcher = (function() { continue; } unread++; - if (!quotingYou && youOP && !Filter.isHidden(Build.parseJSON(postObj, boardID))) { + if (!quotingYou && !Conf['Require OP Quote Link'] && youOP && !Filter.isHidden(Build.parseJSON(postObj, boardID))) { quotingYou = true; continue; } @@ -19678,7 +19682,7 @@ Unread = (function() { return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, { isDead: Unread.thread.isDead, unread: Unread.posts.size, - quotingYou: !!(QuoteYou.isYou(Unread.thread.OP) ? Unread.posts.size : Unread.postsQuotingYou.size) + quotingYou: !!(!Conf['Require OP Quote Link'] && QuoteYou.isYou(Unread.thread.OP) ? Unread.posts.size : Unread.postsQuotingYou.size) }); } }) diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index ba08493ba..3bea05509 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 45a70e299..829112813 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.7.1 +// @version 1.13.7.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -151,7 +151,7 @@ docSet = function() { }; g = { - VERSION: '1.13.7.1', + VERSION: '1.13.7.2', NAMESPACE: '4chan X.', boards: {} }; @@ -247,7 +247,7 @@ Config = (function() { 'Image Expansion': [true, 'Expand images / videos.'], 'Image Hover': [true, 'Show full image / video on mouseover.'], 'Image Hover in Catalog': [true, 'Show full image / video on mouseover in 4chan X catalog.'], - 'Gallery': [true, 'Adds a simple and cute image gallery.'], + 'Gallery': [true, 'Adds a simple and cute image gallery. Has more options in the gallery menu.'], 'Fullscreen Gallery': [false, 'Open gallery in fullscreen mode.', 1], 'PDF in Gallery': [false, 'Show PDF files in gallery.', 1], 'Sauce': [true, 'Add sauce links to images.'], @@ -294,7 +294,7 @@ Config = (function() { 'IP Count in Stats': [true, 'Display the unique IP count in the thread stats.', 1], 'Page Count in Stats': [true, 'Display the page count in the thread stats.', 1], 'Updater and Stats in Header': [true, 'Places the thread updater and thread stats in the header instead of floating them.'], - 'Thread Watcher': [true, 'Bookmark threads.'], + 'Thread Watcher': [true, 'Bookmark threads. Has more options in the thread watcher menu.'], 'Fixed Thread Watcher': [true, 'Makes the thread watcher scroll with the page.', 1], 'Persistent Thread Watcher': [false, 'The thread watcher will be visible when the page is loaded.', 1], 'Mark New IPs': [false, 'Label each post from a new IP with the thread\'s current IP count.'], @@ -364,7 +364,8 @@ Config = (function() { 'Auto Watch': [true, 'Automatically watch threads you start.'], 'Auto Watch Reply': [true, 'Automatically watch threads you reply to.'], 'Auto Prune': [false, 'Automatically remove dead threads.'], - 'Show Unread Count': [true, 'Show number of unread posts in watched threads.'] + 'Show Unread Count': [true, 'Show number of unread posts in watched threads.'], + 'Require OP Quote Link': [false, 'For purposes of thread watcher highlighting, only consider posts with a quote link to the OP as replies to the OP.'] }, filter: { postID: "# Highlight dubs on [s4s]:\n#/(\\d)\\1$/;highlight;top:no;boards:s4s", @@ -11270,6 +11271,9 @@ Settings = (function() { } addSauces(Config['sauces'].match(/# Known filename formats:(?:\n.+)*|$/)[0].split('\n')); } + if (compareString < '00001.00013.00007.00002') { + setD('Require OP Quote Link', true); + } return changes; }, loadSettings: function(data, cb) { @@ -18977,7 +18981,7 @@ ThreadWatcher = (function() { continue; } unread++; - if (!quotingYou && youOP && !Filter.isHidden(Build.parseJSON(postObj, boardID))) { + if (!quotingYou && !Conf['Require OP Quote Link'] && youOP && !Filter.isHidden(Build.parseJSON(postObj, boardID))) { quotingYou = true; continue; } @@ -19678,7 +19682,7 @@ Unread = (function() { return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, { isDead: Unread.thread.isDead, unread: Unread.posts.size, - quotingYou: !!(QuoteYou.isYou(Unread.thread.OP) ? Unread.posts.size : Unread.postsQuotingYou.size) + quotingYou: !!(!Conf['Require OP Quote Link'] && QuoteYou.isYou(Unread.thread.OP) ? Unread.posts.size : Unread.postsQuotingYou.size) }); } }) diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index df8029d23..cbe5f658e 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 0563bc73b..2a0bdfd07 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.7.1 +// @version 1.13.7.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 90aeedd73..e7fc0da3c 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.7.1 +// @version 1.13.7.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -151,7 +151,7 @@ docSet = function() { }; g = { - VERSION: '1.13.7.1', + VERSION: '1.13.7.2', NAMESPACE: '4chan X.', boards: {} }; @@ -247,7 +247,7 @@ Config = (function() { 'Image Expansion': [true, 'Expand images / videos.'], 'Image Hover': [true, 'Show full image / video on mouseover.'], 'Image Hover in Catalog': [true, 'Show full image / video on mouseover in 4chan X catalog.'], - 'Gallery': [true, 'Adds a simple and cute image gallery.'], + 'Gallery': [true, 'Adds a simple and cute image gallery. Has more options in the gallery menu.'], 'Fullscreen Gallery': [false, 'Open gallery in fullscreen mode.', 1], 'PDF in Gallery': [false, 'Show PDF files in gallery.', 1], 'Sauce': [true, 'Add sauce links to images.'], @@ -294,7 +294,7 @@ Config = (function() { 'IP Count in Stats': [true, 'Display the unique IP count in the thread stats.', 1], 'Page Count in Stats': [true, 'Display the page count in the thread stats.', 1], 'Updater and Stats in Header': [true, 'Places the thread updater and thread stats in the header instead of floating them.'], - 'Thread Watcher': [true, 'Bookmark threads.'], + 'Thread Watcher': [true, 'Bookmark threads. Has more options in the thread watcher menu.'], 'Fixed Thread Watcher': [true, 'Makes the thread watcher scroll with the page.', 1], 'Persistent Thread Watcher': [false, 'The thread watcher will be visible when the page is loaded.', 1], 'Mark New IPs': [false, 'Label each post from a new IP with the thread\'s current IP count.'], @@ -364,7 +364,8 @@ Config = (function() { 'Auto Watch': [true, 'Automatically watch threads you start.'], 'Auto Watch Reply': [true, 'Automatically watch threads you reply to.'], 'Auto Prune': [false, 'Automatically remove dead threads.'], - 'Show Unread Count': [true, 'Show number of unread posts in watched threads.'] + 'Show Unread Count': [true, 'Show number of unread posts in watched threads.'], + 'Require OP Quote Link': [false, 'For purposes of thread watcher highlighting, only consider posts with a quote link to the OP as replies to the OP.'] }, filter: { postID: "# Highlight dubs on [s4s]:\n#/(\\d)\\1$/;highlight;top:no;boards:s4s", @@ -11270,6 +11271,9 @@ Settings = (function() { } addSauces(Config['sauces'].match(/# Known filename formats:(?:\n.+)*|$/)[0].split('\n')); } + if (compareString < '00001.00013.00007.00002') { + setD('Require OP Quote Link', true); + } return changes; }, loadSettings: function(data, cb) { @@ -18977,7 +18981,7 @@ ThreadWatcher = (function() { continue; } unread++; - if (!quotingYou && youOP && !Filter.isHidden(Build.parseJSON(postObj, boardID))) { + if (!quotingYou && !Conf['Require OP Quote Link'] && youOP && !Filter.isHidden(Build.parseJSON(postObj, boardID))) { quotingYou = true; continue; } @@ -19678,7 +19682,7 @@ Unread = (function() { return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, { isDead: Unread.thread.isDead, unread: Unread.posts.size, - quotingYou: !!(QuoteYou.isYou(Unread.thread.OP) ? Unread.posts.size : Unread.postsQuotingYou.size) + quotingYou: !!(!Conf['Require OP Quote Link'] && QuoteYou.isYou(Unread.thread.OP) ? Unread.posts.size : Unread.postsQuotingYou.size) }); } }) diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index ed8e8c643..4fbb6e2cc 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 07ca9beba..e93a66afc 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 f02276937..a6382b51b 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index 57aad884c..bf9eab7c4 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.13.7.1", - "date": "2017-02-02T13:29:52.847Z" + "version": "1.13.7.2", + "date": "2017-02-06T08:39:20.054Z" } \ No newline at end of file