modqueue: move quality warning tags into config file.

This commit is contained in:
evazion
2018-04-17 17:15:06 -05:00
parent 41eba9d6b4
commit 17aabaca29
5 changed files with 32 additions and 31 deletions

View File

@@ -520,6 +520,16 @@ module Danbooru
tag =~ /replaceme|.*_sample|resized|upscaled|downscaled|md5_mismatch|jpeg_artifacts|corrupted_image/i
end
# Posts with these tags will be highlighted yellow in the modqueue.
def modqueue_quality_warning_tags
%w[hard_translated self_upload nude_filter photoshop screencap]
end
# Posts with these tags will be highlighted red in the modqueue.
def modqueue_sample_warning_tags
%w[duplicate image_sample md5_mismatch resized upscaled downscaled]
end
def shared_dir_path
"/var/www/danbooru2/shared"
end