diff options
author | Yorhel <git@yorhel.nl> | 2020-04-14 11:01:55 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-04-14 11:05:55 +0200 |
commit | fa4e3b1e4806d98a991c0b2d42723e692ae058bf (patch) | |
tree | faa61c1899776f0d62fd6f5fa0df639868b37e74 /lib/VNWeb/Elm.pm | |
parent | 3d1b51a37e21cc30c3f1f0794fadc0d929a4d6ba (diff) |
imgflag: Make image browser public + add NSFW warning
Decided to make the "vote difference" sort option a non-moderator
feature, too. It's too useful to hide, I think.
The NSFW warning makes use of the 'show_nsfw' setting and the
viewget/viewset machinery to do this somewhat safely. In the future I
suppose this would use a "Show Explicit / Brutal images by default"
setting.
Diffstat (limited to 'lib/VNWeb/Elm.pm')
-rw-r--r-- | lib/VNWeb/Elm.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNWeb/Elm.pm b/lib/VNWeb/Elm.pm index e0812ab5..70871bdd 100644 --- a/lib/VNWeb/Elm.pm +++ b/lib/VNWeb/Elm.pm @@ -99,6 +99,7 @@ our %apis = ( } }, votes => { aoh => { user => {}, + uid => { uint => 1 }, sexual => { uint => 1 }, violence => { uint => 1 }, } }, |