crabber-net / crabber

A Twitter clone written in Python + Flask with extended features and a focus on inclusivity.
https://crabber.net
GNU General Public License v2.0
48 stars 15 forks source link

Marking sensitive content and such #38

Closed vagabondsun closed 2 years ago

vagabondsun commented 2 years ago

as an adult, i can imagine that sometimes i might want to talk about Adult Things on crabber. but given that i'm pretty sure there are also minors on the site, and especially since you can indiscriminately view a feed of literally everyone's molts, i think it's pretty imperative that there be some kind of feature(s) to make sure kids aren't seeing someone's lewd posts. this could be any (or all?) of the following:

twitter has the latter of these two features already, so i think it also makes sense to have them on that front as well.

jakeledoux commented 2 years ago

Definitely. I think a NSFW visibility toggle (should default to 'off') in the account settings and the ability to mark molts or entire accounts as NSFW is the way to go.

hqnna commented 2 years ago

Setting up the database would in theory be simple for this if i'm not wrong, by adding a sensitive column, default to false, set true when someone sets a molt to sensitive, I'd make a PR for this but I'm absolutely horrible with web design.

jakeledoux commented 2 years ago

Right. This wouldn't be super difficult to implement, just really tedious. Gonna have to update all of the molt queries to filter for NSFW preferences as well as figure out UI for marking Molts as NSFW.

@xpyxel Let me know if you're interested in doing the backend stuff here and I'll get started on the UI. Otherwise I'll take care of it.

hqnna commented 2 years ago

Possibly, i'm quite rusty with my python so i'll have to look and see what I can do.

jakeledoux commented 2 years ago

Actually I think I've got this one under control. Thanks!