From 14977397fbd8d4b8440c3ce3e32f383cc48ff21d Mon Sep 17 00:00:00 2001 From: evazion Date: Thu, 5 Apr 2018 13:27:37 -0500 Subject: [PATCH 1/2] Fix "ArgumentError - wrong number of arguments" during tagging. --- app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index dc8b06c08..cff08f51b 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -554,7 +554,7 @@ class Post < ApplicationRecord PostKeeperManager.check_and_update(self, CurrentUser.id, increment_tags) # run this again async to check for race conditions - PostKeeperManager.queue_check(self) + PostKeeperManager.queue_check(self, CurrentUser.id) end end From 8e457c7331660fcf1aed370fa55e2582c86399b8 Mon Sep 17 00:00:00 2001 From: evazion Date: Thu, 5 Apr 2018 14:37:42 -0500 Subject: [PATCH 2/2] Disable user: blacklists (temp fix for #3596). --- app/assets/javascripts/blacklists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/blacklists.js b/app/assets/javascripts/blacklists.js index 0f8ba8cb5..f878464ee 100644 --- a/app/assets/javascripts/blacklists.js +++ b/app/assets/javascripts/blacklists.js @@ -147,7 +147,7 @@ var tags = String($post.attr("data-tags")).match(/\S+/g) || []; tags = tags.concat(String($post.attr("data-pools")).match(/\S+/g) || []); tags.push("rating:" + $post.data("rating")); - tags.push("user:" + $post.attr("data-uploader").toLowerCase()); + // tags.push("user:" + $post.attr("data-uploader").toLowerCase()); $.each(String($post.data("flags")).match(/\S+/g) || [], function(i, v) { tags.push("status:" + v); });