Commit Graph

6 Commits

Author SHA1 Message Date
nee cc5f89431a Add an option so the blocker can be activated for not-logged-in visitors. Remove redundant setting retrival code.
An example config.php entry to activate the new config:

$config['site']['sensitivecontent']['hideforvisitors'] = true;

Signed-off-by: Moon Man <moonman@shitposter.club>
2018-05-01 21:53:15 -07:00
nee 72bda1fc01 workaround a bug where the blocker is invisible in conversation and timeline view.
Signed-off-by: Moon Man <moonman@shitposter.club>
2018-05-01 21:53:15 -07:00
nee 79eb6c2025 fix: don't append 'auto px', thats invalid css. Append just 'auto' instead. 2016-11-02 06:33:59 +01:00
nee 186d730468 SensitiveContentPlugin: don't crash in GNU/Social Classic,
when an attachment has no thumbnail (for example when it is a video)
2016-11-02 04:56:29 +01:00
Moon Man a096bbe0cf Added warning and more usage info to readme; switched the default bg color to match default image. 2016-07-17 23:16:02 -07:00
Moon Man 616f4c1484 Initial commit 2016-07-17 21:42:38 -07:00