mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-13 23:29:02 +00:00
Add trusted application functionality (#533)
* Add trusted application functionality This lets users apply for trusted status, given certain minimum requirements. Moderators can then review the applications, giving a recommendation, and administrators can accept or reject them. If an application is accepted or rejected, the user receives an e-mail about it. Markdown images are not rendered in applications to prevent browsers from sending automatic requests to untrusted webservers. Users who have had their application rejected cannot re-apply for a set amount of days. * minor fixes
This commit is contained in:
@@ -176,3 +176,15 @@ EDITING_TIME_LIMIT = 0
|
||||
# Whether to use Gravatar or just always use the default avatar
|
||||
# (Useful if run as development instance behind NAT/firewall)
|
||||
ENABLE_GRAVATAR = True
|
||||
|
||||
##########################
|
||||
## Trusted Requirements ##
|
||||
##########################
|
||||
|
||||
# Minimum number of uploads the user needs to have in order to apply for trusted
|
||||
TRUSTED_MIN_UPLOADS = 10
|
||||
# Minimum number of cumulative downloads the user needs to have across their
|
||||
# torrents in order to apply for trusted
|
||||
TRUSTED_MIN_DOWNLOADS = 10000
|
||||
# Number of days an applicant needs to wait before re-applying
|
||||
TRUSTED_REAPPLY_COOLDOWN = 90
|
||||
|
||||
Reference in New Issue
Block a user