themotte / rDrama

This code runs https://www.themotte.org. Forked from https://github.com/Aevann1/rDrama
GNU Affero General Public License v3.0
25 stars 31 forks source link

Remove shadowban alt virality. #729

Closed zorbathut closed 4 months ago

zorbathut commented 4 months ago

From Snakes:

re 729: that takes out the alt virality on shadowban, though there's still logic in the user registration route to check for ban evasion (if the user doesn't clear their cookies, it stores previous accounts used by that session). the behavior there is: on signup, if any of the other users in the session history are currently permabanned or shadowed, shadow the new account. see https://github.com/themotte/rDrama/blob/dd22ee61b982860a880b6b0387e5219fc8bcc19a/files/routes/login.py#L317

this might be acceptable to you, just it's really old logic and you might not've known it was there

otherwise you got the spots that do virality, lgtm