Release 4chan X v1.13.7.2.

This commit is contained in:
ccd0 2017-02-06 00:50:24 -08:00
parent 42e8b63e65
commit 3f7df60f59
13 changed files with 43 additions and 27 deletions

View File

@ -4,6 +4,10 @@
### v1.13.7 ### 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)] **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. - Merge v1.13.5.3: Update for Recaptcha changes.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.7.1 // @version 1.13.7.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.7.1 // @version 1.13.7.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -151,7 +151,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.7.1', VERSION: '1.13.7.2',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -247,7 +247,7 @@ Config = (function() {
'Image Expansion': [true, 'Expand images / videos.'], 'Image Expansion': [true, 'Expand images / videos.'],
'Image Hover': [true, 'Show full image / video on mouseover.'], 'Image Hover': [true, 'Show full image / video on mouseover.'],
'Image Hover in Catalog': [true, 'Show full image / video on mouseover in 4chan X catalog.'], '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], 'Fullscreen Gallery': [false, 'Open gallery in fullscreen mode.', 1],
'PDF in Gallery': [false, 'Show PDF files in gallery.', 1], 'PDF in Gallery': [false, 'Show PDF files in gallery.', 1],
'Sauce': [true, 'Add sauce links to images.'], '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], '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], '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.'], '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], '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], '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.'], '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': [true, 'Automatically watch threads you start.'],
'Auto Watch Reply': [true, 'Automatically watch threads you reply to.'], 'Auto Watch Reply': [true, 'Automatically watch threads you reply to.'],
'Auto Prune': [false, 'Automatically remove dead threads.'], '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: { filter: {
postID: "# Highlight dubs on [s4s]:\n#/(\\d)\\1$/;highlight;top:no;boards:s4s", 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')); 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; return changes;
}, },
loadSettings: function(data, cb) { loadSettings: function(data, cb) {
@ -18977,7 +18981,7 @@ ThreadWatcher = (function() {
continue; continue;
} }
unread++; 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; quotingYou = true;
continue; continue;
} }
@ -19678,7 +19682,7 @@ Unread = (function() {
return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, { return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, {
isDead: Unread.thread.isDead, isDead: Unread.thread.isDead,
unread: Unread.posts.size, 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)
}); });
} }
}) })

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.7.1 // @version 1.13.7.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -151,7 +151,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.7.1', VERSION: '1.13.7.2',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -247,7 +247,7 @@ Config = (function() {
'Image Expansion': [true, 'Expand images / videos.'], 'Image Expansion': [true, 'Expand images / videos.'],
'Image Hover': [true, 'Show full image / video on mouseover.'], 'Image Hover': [true, 'Show full image / video on mouseover.'],
'Image Hover in Catalog': [true, 'Show full image / video on mouseover in 4chan X catalog.'], '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], 'Fullscreen Gallery': [false, 'Open gallery in fullscreen mode.', 1],
'PDF in Gallery': [false, 'Show PDF files in gallery.', 1], 'PDF in Gallery': [false, 'Show PDF files in gallery.', 1],
'Sauce': [true, 'Add sauce links to images.'], '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], '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], '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.'], '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], '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], '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.'], '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': [true, 'Automatically watch threads you start.'],
'Auto Watch Reply': [true, 'Automatically watch threads you reply to.'], 'Auto Watch Reply': [true, 'Automatically watch threads you reply to.'],
'Auto Prune': [false, 'Automatically remove dead threads.'], '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: { filter: {
postID: "# Highlight dubs on [s4s]:\n#/(\\d)\\1$/;highlight;top:no;boards:s4s", 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')); 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; return changes;
}, },
loadSettings: function(data, cb) { loadSettings: function(data, cb) {
@ -18977,7 +18981,7 @@ ThreadWatcher = (function() {
continue; continue;
} }
unread++; 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; quotingYou = true;
continue; continue;
} }
@ -19678,7 +19682,7 @@ Unread = (function() {
return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, { return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, {
isDead: Unread.thread.isDead, isDead: Unread.thread.isDead,
unread: Unread.posts.size, 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)
}); });
} }
}) })

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.7.1 // @version 1.13.7.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -151,7 +151,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.7.1', VERSION: '1.13.7.2',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -247,7 +247,7 @@ Config = (function() {
'Image Expansion': [true, 'Expand images / videos.'], 'Image Expansion': [true, 'Expand images / videos.'],
'Image Hover': [true, 'Show full image / video on mouseover.'], 'Image Hover': [true, 'Show full image / video on mouseover.'],
'Image Hover in Catalog': [true, 'Show full image / video on mouseover in 4chan X catalog.'], '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], 'Fullscreen Gallery': [false, 'Open gallery in fullscreen mode.', 1],
'PDF in Gallery': [false, 'Show PDF files in gallery.', 1], 'PDF in Gallery': [false, 'Show PDF files in gallery.', 1],
'Sauce': [true, 'Add sauce links to images.'], '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], '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], '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.'], '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], '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], '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.'], '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': [true, 'Automatically watch threads you start.'],
'Auto Watch Reply': [true, 'Automatically watch threads you reply to.'], 'Auto Watch Reply': [true, 'Automatically watch threads you reply to.'],
'Auto Prune': [false, 'Automatically remove dead threads.'], '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: { filter: {
postID: "# Highlight dubs on [s4s]:\n#/(\\d)\\1$/;highlight;top:no;boards:s4s", 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')); 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; return changes;
}, },
loadSettings: function(data, cb) { loadSettings: function(data, cb) {
@ -18977,7 +18981,7 @@ ThreadWatcher = (function() {
continue; continue;
} }
unread++; 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; quotingYou = true;
continue; continue;
} }
@ -19678,7 +19682,7 @@ Unread = (function() {
return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, { return ThreadWatcher.update(Unread.thread.board.ID, Unread.thread.ID, {
isDead: Unread.thread.isDead, isDead: Unread.thread.isDead,
unread: Unread.posts.size, 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)
}); });
} }
}) })

Binary file not shown.

View File

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

View File

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

View File

@ -1,4 +1,4 @@
{ {
"version": "1.13.7.1", "version": "1.13.7.2",
"date": "2017-02-02T13:29:52.847Z" "date": "2017-02-06T08:39:20.054Z"
} }