mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block
This commit is contained in:
12
test/javascripts/fixtures/watched-words-fixtures.js.es6
Normal file
12
test/javascripts/fixtures/watched-words-fixtures.js.es6
Normal file
@@ -0,0 +1,12 @@
|
||||
export default {
|
||||
"/admin/watched_words.json": {
|
||||
"actions": ["block", "censor", "require_approval", "flag"],
|
||||
"words": [
|
||||
{id: 1, word: "liquorice", action: "block"},
|
||||
{id: 2, word: "anise", action: "block"},
|
||||
{id: 3, word: "pyramid", action: "flag"},
|
||||
{id: 4, word: "scheme", action: "flag"},
|
||||
{id: 5, word: "coupon", action: "require_approval"}
|
||||
]
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user