filter and error message updates

removed unnecessary \W nonsense from profanity filter wherever possible, covered verb conjugations that could lead to spelling errors when filtered, added a few new rdrama-specific slurs filters, touched up a few error messages
remotes/1693176582716663532/tmp_refs/heads/watchparty
carp 2022-11-05 19:13:59 -04:00 committed by justcool393
parent d3f67faa50
commit f03a34b308
1 changed files with 40 additions and 31 deletions

View File

@ -106,27 +106,33 @@ SLURS = {
}
PROFANITIES = {
' motherfucker ': ' motherlover ',
' fuck ': [' frick ', ' fudge ', ' freak ', ' f-word ', ' f-bomb ', ' cuss '],
' asshole ': [' butthole ', ' ahole '],
' arsehole ': [' butthole ', ' ahole '],
'motherfucker': 'motherlover',
'fucking': ['fricking', 'fudging', 'freaking', 'f-wording', 'f-bombing', 'cussing'],
'fucked': ['fricked', 'fudged', 'freaked', 'f-worded', 'f-bombed', 'cussed'],
'fucker': ['fricker', 'fudger', 'freaker', 'f-worder', 'f-bomber', 'cusser'],
'fuck': ['frick', 'fudge', 'freak', 'f-word', 'f-bomb', 'cuss'],
' asshole': [' butthole ', ' ahole '],
' arsehole': [' butthole ', ' ahole '],
' ass ': [' butt ', ' backside ', ' rear end ', ' bum ', ' tochus '],
' ass ': [' butt ', ' backside ', ' rear end ', ' bum ', ' touchs '],
' arse ': [' butt ', ' backside ', ' rear end ', ' bum ', ' tochus '],
' arse ': [' butt ', ' backside ', ' rear end ', ' bum ', ' touchs '],
' shit ': [' poop ', ' poop ', ' crap ', ' puckey '],
' lmao ': ' lmbo ',
' damn ': [' dang ', ' darn '],
' bastard ': [' fatherless child '],
' piss ': ' pee ',
' bitch ': [' b-word ', ' mean lady '],
' dick ': ' weiner ',
' cock ': ' weiner ',
' penis ': ' peepee ',
' pussy ': ' girl weiner ',
' vagina ': ' girl peepee ',
' cunt ': ' rude lady ',
'shitting': ['pooping', 'crapping'],
'shitted': ['pooped', 'crapped', 'puckeyed'],
'shit': ['poop', 'crap', 'puckey'],
'lmao': 'lmbo',
'damn': ['dang', 'darn'],
'bastard': ['fatherless child'],
' piss': ' pee',
'bitch': ['b-word', 'mean lady'],
'dick': 'weiner',
'cock': 'weiner',
'penis': 'peepee',
'pussy': 'girl weiner',
'vagina': 'girl peepee',
'cunt': 'rude lady',
' hell ': [' heck ', ' h-e-double-hockey-sticks '],
' hell.': [' heck.', ' h-e-double-hockey-sticks.'],
' sex ': ' intercourse ',
' sexual intercourse ': ' sexual congress ',
' god ': ' gosh ',
@ -134,7 +140,7 @@ PROFANITIES = {
' twat ': ' girl weiner ',
' cum ': ' c*m ',
' orgasm ': ' sexual climax ',
' toilet ': ' potty ',
'toilet': 'potty',
' rape ': ' r*pe ',
}
@ -175,8 +181,11 @@ if SITE_NAME == 'rDrama':
"democrat": ['demonrat', 'demoncrat', 'demoncrap', 'demoKKKrat'],
"kill all furries": "stop the fursecution",
"palestine": "occupied Israel",
"israeli": "illegal occupant of occupied Palestine",
"israel": "occupied Palestine",
"nurse": "n*rse",
"holes are fine": "holes were a mistake",
"holes are good": "holes were a mistake",
}
SLURS.update(RDRAMA_SLURS)
@ -321,33 +330,33 @@ WERKZEUG_ERROR_DESCRIPTIONS = {
}
ERROR_TITLES = {
400: "Bad Request",
401: "Unauthorized",
403: "Forbidden",
404: "Not Found",
405: "Method Not Allowed",
406: "Too Many Pings",
409: "Conflict",
413: "Payload Too Large",
415: "Unsupported Media Type",
400: "Naughty Request",
401: "🚫 Unauthorized 🚫",
403: "Forbidden🙅‍♀️",
404: "Not Found - where did it go?",
405: "Method Not Allowed, BAD.",
406: "Too Many Pings fuck off",
409: "Cumflict",
413: "Gayload Too Large",
415: "Weird Media Type",
418: "I'm a teapot",
429: "Too Many Requests",
500: "Internal Server Error",
500: "Balls-Deep Server Error",
}
ERROR_MSGS = {
400: "That request was bad and you should feel bad.",
401: "What you're trying to do requires an account. I think. The original error message said something about a castle and I hated that.",
401: "What you're trying to do requires an account. I think. The original error message said something about a castle and I hated that. If you see this error and you're logged into an account, something went pretty wrong somewhere.",
403: "YOU AREN'T WELCOME HERE GO AWAY",
404: "Someone typed something wrong and it was probably you, please do better.",
405: "idk how anyone gets this error but if you see this, remember to follow @carpathianflorist<br>the original error text here talked about internet gremlins and wtf",
406: "Max limit is 5 for comments and 50 for posts",
406: "Max limit is 5 for comments and 50 for posts (what is it referring to? what does it mean? no one knows)",
409: "There's a conflict between what you're trying to do and what you or someone else has done and because of that you can't do what you're trying to do. So maybe like... don't try and do that? Sorry not sorry",
413: "That's a heckin' chonker of a file! Please make it smaller or maybe like upload it somewhere else idk",
413: "That's a heckin' chonker of a file! Please make it smaller or maybe like upload it somewhere else idk<BR>jc wrote this one hi jc!<br>- carp",
415: "Please upload only Image, Video, or Audio files!",
418: "this really shouldn't happen now that we autoconvert webm files but if it does there's a cool teapot marsey so there's that",
429: "go spam somewhere else nerd",
500: "Hiiiii it's carp! I think this error means that there's a timeout error. And I think that means something took too long to load so it decided not to work at all. If you keep seeing this on the same page <I>but not other pages</I>, then something is probably wrong with that specific function. It may not be called a function, but that sounds right to me. Anyway, ping me and I'll whine to someone smarter to fix it. Don't bother them. Thanks ily &lt;3",
500: "Hiiiii it's carp! I think this error means that there's a timeout error. And I think that means something took too long to load so it decided not to work at all. If you keep seeing this on the same page <I>but not other pages</I>, then something is probably wrong with that specific function. It may not be called a function, but that sounds right to me. Anyway, <s>ping me and I'll whine to someone smarter to fix it. Don't bother them.</s> <B>After a year and a half of infuriating pings, the new instructions are to quit whining and just wait until it works again oh my god shut UP.</B><BR><BR> Thanks ily &lt;3",
}
ERROR_MARSEYS = {