nyaa/nyaa/views
Nicolas F 4019343d50 Implement torrent nuking ability for mods (#377)
* Implement torrent nuking ability for mods

This deletes all torrents of a specific user.
A current caveat is that it will delete both sukebei and nyaa torrents,
but will only leave a log entry in the current flavour's log.

Also did some bootstrap untangling on the user view page.

* Per-flavour logging

Hopefully this works. Maybe.

* Tracker API: chunk into 100-element sublists

* isort

* Restrict nuking to superadmins

Also do a lint.sh.
2017-10-16 18:17:12 -07:00
..
__init__.py Read-only maintenance mode setting for config.py (#356) 2017-09-04 18:16:52 -04:00
account.py Explicitly tell users they were banned (#379) 2017-10-07 19:16:24 -07:00
admin.py Better bans (#341) 2017-08-25 18:53:35 -04:00
main.py Read-only maintenance mode setting for config.py (#356) 2017-09-04 18:16:52 -04:00
site.py Move static routes into a blueprint 2017-07-27 14:14:00 +03:00
torrents.py [Config change] Upload ratelimit for non-trusted uploaders (#384) 2017-10-09 18:41:18 -07:00
users.py Implement torrent nuking ability for mods (#377) 2017-10-16 18:17:12 -07:00