2024-05-22 22:19:07 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
Flag.seed do |s|
|
|
|
|
s.id = 3
|
|
|
|
s.name = "off_topic"
|
|
|
|
s.position = 2
|
|
|
|
s.notify_type = true
|
|
|
|
s.auto_action_type = true
|
|
|
|
s.custom_type = false
|
|
|
|
s.applies_to = %w[Post Chat::Message]
|
|
|
|
end
|
|
|
|
Flag.seed do |s|
|
|
|
|
s.id = 4
|
|
|
|
s.name = "inappropriate"
|
|
|
|
s.position = 3
|
|
|
|
s.notify_type = true
|
|
|
|
s.auto_action_type = true
|
|
|
|
s.custom_type = false
|
|
|
|
s.applies_to = %w[Post Topic Chat::Message]
|
|
|
|
end
|
|
|
|
Flag.seed do |s|
|
|
|
|
s.id = 8
|
|
|
|
s.name = "spam"
|
|
|
|
s.position = 4
|
|
|
|
s.notify_type = true
|
|
|
|
s.auto_action_type = true
|
|
|
|
s.custom_type = false
|
|
|
|
s.applies_to = %w[Post Topic Chat::Message]
|
|
|
|
end
|
|
|
|
Flag.seed do |s|
|
|
|
|
s.id = 6
|
|
|
|
s.name = "notify_user"
|
|
|
|
s.position = 0
|
|
|
|
s.notify_type = false
|
|
|
|
s.auto_action_type = false
|
|
|
|
s.custom_type = true
|
|
|
|
s.applies_to = %w[Post Chat::Message]
|
|
|
|
end
|
|
|
|
Flag.seed do |s|
|
|
|
|
s.id = 7
|
|
|
|
s.name = "notify_moderators"
|
|
|
|
s.position = 1
|
|
|
|
s.notify_type = true
|
|
|
|
s.auto_action_type = false
|
|
|
|
s.custom_type = true
|
|
|
|
s.applies_to = %w[Post Topic Chat::Message]
|
|
|
|
end
|
|
|
|
Flag.seed do |s|
|
|
|
|
s.id = 10
|
|
|
|
s.name = "illegal"
|
|
|
|
s.position = 5
|
|
|
|
s.notify_type = true
|
|
|
|
s.auto_action_type = false
|
|
|
|
s.custom_type = true
|
|
|
|
s.applies_to = %w[Post Topic Chat::Message]
|
|
|
|
end
|
2024-06-04 23:27:06 -04:00
|
|
|
Flag.unscoped.seed do |s|
|
2024-05-29 00:39:58 -04:00
|
|
|
s.id = 9
|
|
|
|
s.name = "needs_approval"
|
|
|
|
s.position = 6
|
|
|
|
s.notify_type = false
|
|
|
|
s.auto_action_type = false
|
|
|
|
s.custom_type = false
|
|
|
|
s.score_type = true
|
|
|
|
s.applies_to = %w[]
|
|
|
|
end
|