diff --git a/CHANGELOG.md b/CHANGELOG.md
index 26ecd5e16..6da5758b5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,11 @@
## v1.13.0
+**v1.13.0.25** *(2016-11-13)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.25/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.25/builds/4chan-X-noupdate.crx)]
+- Fix bug from v1.13.0.0 causing errors on index refresh in certain cases when creating threads with cookies disabled. #1184
+- Better link text in file error message: 'delete' -> 'delete post'. #1186
+- Fix bug causing auto-pruning if you refreshed the index too soon after creating a thread.
+
**v1.13.0.24** *(2016-11-09)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.0.24/builds/4chan-X-noupdate.crx)]
- Fix bug from v1.13.0.0 causing lack of scroll bar when `Fit width` is disabled and images overflow screen.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 53957fae7..a4f19680f 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 e28d5a4ed..b627c3c5e 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.0.24
+// @version 1.13.0.25
// @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 2fa107e62..16a493df1 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.0.24
+// @version 1.13.0.25
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.13.0.24',
+ VERSION: '1.13.0.25',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -18201,14 +18201,18 @@ ThreadWatcher = (function() {
ThreadWatcher.setToggler(toggler, !!data);
$.on(toggler, 'click', ThreadWatcher.cb.toggle);
if (data && (data.excerpt == null)) {
- ThreadWatcher.db.extend({
- boardID: boardID,
- threadID: threadID,
- val: {
- excerpt: Get.threadExcerpt(this.thread)
- }
- });
- return ThreadWatcher.refresh();
+ return $.queueTask((function(_this) {
+ return function() {
+ ThreadWatcher.db.extend({
+ boardID: boardID,
+ threadID: threadID,
+ val: {
+ excerpt: Get.threadExcerpt(_this.thread)
+ }
+ });
+ return ThreadWatcher.refresh();
+ };
+ })(this));
}
},
catalogNode: function() {
@@ -18301,6 +18305,11 @@ ThreadWatcher = (function() {
if (!(!(data != null ? data.isDead : void 0) && (ref1 = boardID + "." + threadID, indexOf.call(e.detail.threads, ref1) < 0))) {
continue;
}
+ if (!e.detail.threads.some(function(fullID) {
+ return +fullID.split('.')[1] > threadID;
+ })) {
+ continue;
+ }
nKilled++;
if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
db["delete"]({
@@ -21996,7 +22005,7 @@ QR = (function() {
className: className
});
$.extend(div, {
- innerHTML: E(message) + "
[delete] [delete all]"
+ innerHTML: E(message) + "
[delete post] [delete all]"
});
(this.errors || (this.errors = [])).push(div);
ref = $$('a', div), rm = ref[0], rmAll = ref[1];
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 2154b0823..83b8a5f4d 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 a59c40181..9f52bebc1 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.0.24
+// @version 1.13.0.25
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.13.0.24',
+ VERSION: '1.13.0.25',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -18201,14 +18201,18 @@ ThreadWatcher = (function() {
ThreadWatcher.setToggler(toggler, !!data);
$.on(toggler, 'click', ThreadWatcher.cb.toggle);
if (data && (data.excerpt == null)) {
- ThreadWatcher.db.extend({
- boardID: boardID,
- threadID: threadID,
- val: {
- excerpt: Get.threadExcerpt(this.thread)
- }
- });
- return ThreadWatcher.refresh();
+ return $.queueTask((function(_this) {
+ return function() {
+ ThreadWatcher.db.extend({
+ boardID: boardID,
+ threadID: threadID,
+ val: {
+ excerpt: Get.threadExcerpt(_this.thread)
+ }
+ });
+ return ThreadWatcher.refresh();
+ };
+ })(this));
}
},
catalogNode: function() {
@@ -18301,6 +18305,11 @@ ThreadWatcher = (function() {
if (!(!(data != null ? data.isDead : void 0) && (ref1 = boardID + "." + threadID, indexOf.call(e.detail.threads, ref1) < 0))) {
continue;
}
+ if (!e.detail.threads.some(function(fullID) {
+ return +fullID.split('.')[1] > threadID;
+ })) {
+ continue;
+ }
nKilled++;
if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
db["delete"]({
@@ -21996,7 +22005,7 @@ QR = (function() {
className: className
});
$.extend(div, {
- innerHTML: E(message) + "
[delete] [delete all]"
+ innerHTML: E(message) + "
[delete post] [delete all]"
});
(this.errors || (this.errors = [])).push(div);
ref = $$('a', div), rm = ref[0], rmAll = ref[1];
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 4157ab049..c053b4082 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 23b6ce838..10b4e278c 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.13.0.24
+// @version 1.13.0.25
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 0abbcb8bb..334ec69be 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.13.0.24
+// @version 1.13.0.25
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.13.0.24',
+ VERSION: '1.13.0.25',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -18201,14 +18201,18 @@ ThreadWatcher = (function() {
ThreadWatcher.setToggler(toggler, !!data);
$.on(toggler, 'click', ThreadWatcher.cb.toggle);
if (data && (data.excerpt == null)) {
- ThreadWatcher.db.extend({
- boardID: boardID,
- threadID: threadID,
- val: {
- excerpt: Get.threadExcerpt(this.thread)
- }
- });
- return ThreadWatcher.refresh();
+ return $.queueTask((function(_this) {
+ return function() {
+ ThreadWatcher.db.extend({
+ boardID: boardID,
+ threadID: threadID,
+ val: {
+ excerpt: Get.threadExcerpt(_this.thread)
+ }
+ });
+ return ThreadWatcher.refresh();
+ };
+ })(this));
}
},
catalogNode: function() {
@@ -18301,6 +18305,11 @@ ThreadWatcher = (function() {
if (!(!(data != null ? data.isDead : void 0) && (ref1 = boardID + "." + threadID, indexOf.call(e.detail.threads, ref1) < 0))) {
continue;
}
+ if (!e.detail.threads.some(function(fullID) {
+ return +fullID.split('.')[1] > threadID;
+ })) {
+ continue;
+ }
nKilled++;
if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
db["delete"]({
@@ -21996,7 +22005,7 @@ QR = (function() {
className: className
});
$.extend(div, {
- innerHTML: E(message) + "
[delete] [delete all]"
+ innerHTML: E(message) + "
[delete post] [delete all]"
});
(this.errors || (this.errors = [])).push(div);
ref = $$('a', div), rm = ref[0], rmAll = ref[1];
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 31303f693..678fe7dc2 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 7ad44ead9..3ffd2933a 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 38558cdd1..a20ce7e5c 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index 0cf85fa19..879ffbb6d 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.13.0.24",
- "date": "2016-11-09T07:36:58.703Z"
+ "version": "1.13.0.25",
+ "date": "2016-11-13T21:08:25.650Z"
}
\ No newline at end of file