diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21d8605ff..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.
@@ -19,7 +23,7 @@
**v1.13.6.0** *(2017-01-30)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.6.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.6.0/builds/4chan-X-noupdate.crx)]
- Based on v1.13.5.2.
- Add item in the post menu to mark/unmark posts as yours. #195
-- When you are the OP of a thread, any unread reply to the thread will now light up the `Thread Watcher` icon, not just replies directly to you. #913
+- When you are the OP of a thread, any unread reply to the thread will now light up the `Thread Watcher` icon, not just replies with quote links to you. #913
- Show `##Manager`, `##Founder`, and `##Verified` capcodes in posts loaded from the archives. Also support searching for them from the post menu.
- Make `Anonymize` more efficient, and extend it to the /f/ index and native catalog. #1111
- If `Quote Preview` is enabled, links to threads in the internal archive will show previews of the OP on hover, as in the native extension. #1256
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/src/General/Settings.coffee b/src/General/Settings.coffee
index 9d6a4815f..5e3650d11 100644
--- a/src/General/Settings.coffee
+++ b/src/General/Settings.coffee
@@ -414,6 +414,8 @@ Settings =
if data['sauces']?
set 'sauces', data['sauces'].replace(/^(#?\s*)http:\/\/regex\.info\/exif\.cgi/mg, '$1http://exif.regex.info/exif.cgi')
addSauces Config['sauces'].match(/# Known filename formats:(?:\n.+)*|$/)[0].split('\n')
+ if compareString < '00001.00013.00007.00002'
+ setD 'Require OP Quote Link', true
changes
loadSettings: (data, cb) ->
diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee
index 0a4dab033..970921c60 100644
--- a/src/Monitoring/ThreadWatcher.coffee
+++ b/src/Monitoring/ThreadWatcher.coffee
@@ -248,7 +248,7 @@ ThreadWatcher =
unread++
- if !quotingYou and youOP and not Filter.isHidden(Build.parseJSON postObj, boardID)
+ if !quotingYou and !Conf['Require OP Quote Link'] and youOP and not Filter.isHidden(Build.parseJSON postObj, boardID)
quotingYou = true
continue
diff --git a/src/Monitoring/Unread.coffee b/src/Monitoring/Unread.coffee
index 52d9ca4ea..3b8040796 100644
--- a/src/Monitoring/Unread.coffee
+++ b/src/Monitoring/Unread.coffee
@@ -238,4 +238,4 @@ Unread =
ThreadWatcher.update Unread.thread.board.ID, Unread.thread.ID,
isDead: Unread.thread.isDead
unread: Unread.posts.size
- quotingYou: !!(if QuoteYou.isYou(Unread.thread.OP) then Unread.posts.size else Unread.postsQuotingYou.size)
+ quotingYou: !!(if !Conf['Require OP Quote Link'] and QuoteYou.isYou(Unread.thread.OP) then Unread.posts.size else Unread.postsQuotingYou.size)
diff --git a/src/config/Config.coffee b/src/config/Config.coffee
index 2bc61816d..3c3c89cc7 100644
--- a/src/config/Config.coffee
+++ b/src/config/Config.coffee
@@ -207,7 +207,7 @@ Config =
]
'Gallery': [
true
- 'Adds a simple and cute image gallery.'
+ 'Adds a simple and cute image gallery. Has more options in the gallery menu.'
]
'Fullscreen Gallery': [
false
@@ -398,7 +398,7 @@ Config =
]
'Thread Watcher': [
true
- 'Bookmark threads.'
+ 'Bookmark threads. Has more options in the thread watcher menu.'
]
'Fixed Thread Watcher': [
true
@@ -661,6 +661,10 @@ Config =
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: """
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