DEV: the ability to define setting areas (#28570)

A new setting attribute is used to define the areas (separated by `|`).

In addition, endpoint `/admin/config/site_settings.json` accepts new `filter_area` data.
This commit is contained in:
Krzysztof Kotlarek
2024-09-03 09:25:45 +10:00
committed by GitHub
parent 050c665160
commit 7577231ba2
9 changed files with 123 additions and 23 deletions

View File

@ -160,14 +160,14 @@ describe "Admin Flags Page", type: :system do
[
"silence new user sensitivity",
"num users to silence new user",
"flag sockpuppets",
"num flaggers to close topic",
"auto respond to flag actions",
"high trust flaggers auto hide posts",
"max flags per day",
"tl2 additional flags per day multiplier",
"tl3 additional flags per day multiplier",
"tl4 additional flags per day multiplier",
"flag sockpuppets",
"auto respond to flag actions",
"num flaggers to close topic",
"high trust flaggers auto hide posts",
],
)
end