From 96533921c3ac5c431d1b1342051f4c4e3bcfa22c Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 25 Dec 2022 01:12:05 +0200 Subject: [PATCH] add randomized taglines --- env | 1 - files/helpers/config/const.py | 246 ++++++++++++++++++---------------- files/routes/jinja2.py | 2 +- files/templates/home.html | 2 +- 4 files changed, 130 insertions(+), 121 deletions(-) diff --git a/env b/env index 4362446aa..f82fd5185 100644 --- a/env +++ b/env @@ -29,7 +29,6 @@ export DEFAULT_COLOR="805ad5" export EMAIL="blahblahblah@gmail.com" export MAILGUN_KEY="blahblahblah" export DESCRIPTION="rdrama.net caters to drama in all forms such as: Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn't drama we won't touch, and we want it all!" -export TAGLINE="the world's largest gay orgy" export CF_KEY="blahblahblah" export CF_ZONE="blahblahblah" export TELEGRAM_LINK="blahblahblah" diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index 8c922afa1..b5cde2bad 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -38,7 +38,6 @@ DEFAULT_COLOR = environ.get("DEFAULT_COLOR").strip() EMAIL = environ.get("EMAIL").strip() MAILGUN_KEY = environ.get("MAILGUN_KEY").strip() DESCRIPTION = environ.get("DESCRIPTION").strip() -TAGLINE = environ.get("TAGLINE").strip() CF_KEY = environ.get("CF_KEY").strip() CF_ZONE = environ.get("CF_ZONE").strip() TELEGRAM_LINK = environ.get("TELEGRAM_LINK").strip() @@ -118,7 +117,21 @@ SLURS = { "daisy destruction": "Cars 2", } +patron = "Patron" if SITE_NAME == 'rDrama': + patron = "Paypig" + + BAN_EVASION_DOMAIN = 'stupidpol.site' + BAN_EVASION_FULL = f'https://{BAN_EVASION_DOMAIN}' + + TAGLINES = ( + "world's largest gay orgy", + "world's largest shemale porn site", + "world's largest cat fetish furfest", + "world's largest basket-weaving forum", + "world's largest autism support group", + ) + RDRAMA_SLURS = { "retarded": "r-slurred", "retard": "r-slur", @@ -159,6 +172,120 @@ if SITE_NAME == 'rDrama': } SLURS.update(RDRAMA_SLURS) + BOOSTED_SITES = { + #youtube-like + 'bitchute.com', + 'goyimtv.tv', + 'odysee.com', + + #4chan-like + '4chan.org', + 'boards.4channel.org', + 'boards.4chan.org', + 'archive.4plebs.org', + 'lolcow.farm', + '8kun.top', + 'soyjak.party', + 'crystal.cafe', + + #forums + 'kiwifarms.net', + 'onionfarms.com', + 'clay.party', + 'incels.is', + 'tattle.life', + 'looksmax.org', + 'stormfront.org', + 'looksmax.org', + 'bluelight.org', + 'thecoli.com', + 'nairaland.com', + 'resetera.com', + 'steamcommunity.com', + 'lipstickalley.com', + 'tigerdroppings.com', + 'groups.google.com', + 'bungie.net', + + #twitter-like + 'gab.com', + 'gettr.com', + 'parler.com', + 'truthsocial.com', + 'blacktwitterapp.com', + 'rdrama.cc', + 'marsey.club', + 'kiwifarms.cc', + 'freespeechextremist.com' + 'mstdn.social', + 'mastodon.social', + 'mastodon.online', + 'poa.st', + 'shitposter.club', + 'sneed.social', + 'seal.cafe', + 'trp.red', + + #reddit-like + 'news.ycombinator.com', + 'scored.co', + 'scrd.app', + 'steemit.com', + 'ovarit.com', + 'watchpeopledie.tv', + 'rdrama.net', + BAN_EVASION_DOMAIN, + 'themotte.org', + 'hexbear.net', + 'cumtown.org', + 'hive.blog', + 'poal.co', + 'saidit.net', + 'lobste.rs', + 'retalk.com', + 'thepinkpill.co', + 'talk.lol', + 'lemmy.ml', + 'lemmygrad.ml', + 'raddle.me', + 'stacker.news', + 'tildes.net', + 'notabug.io', + 'syzitus.com', + 'phuks.co', + 'arete.network', + 'pcmemes.net', + 'discussions.app', + 'wolfballs.com', + 'dojo.press', + 'livefilter.com', + 'mainchan.com', + + #misc + 'quora.com', + 'givesendgo.com', + 'groups.google.com', + 't.me', + 'web.telegram.org', + 'instagram.com', + 'facebook.com', + 'twitch.tv', + 'tiktok.com', + 'vm.tiktok.com', + 'github.com', + 'breitbart.com', + 'teamblind.com', + 'encyclopediadramatica.online', + 'datalounge.com', + 'metafilter.com', + 'sqwok.im', + } +elif SITE_NAME == 'WPD': + TAGLINES = ( + "People dying and cartoon cats <3", + ) + + PROFANITIES = { 'motherfucker': 'motherlover', 'fuck': 'frick', @@ -673,19 +800,12 @@ else: # localhost or testing environment implied FEATURES['USERS_PERMANENT_WORD_FILTERS'] = True SUB_BANNER_LIMIT = 69420 -patron = "Patron" -if SITE_NAME == 'rDrama': - patron = "Paypig" - HOUSES = ("None","Furry","Femboy","Vampire","Racist") if FEATURES['HOUSES'] else ("None") bots = {AUTOJANNY_ID, SNAPPY_ID, LONGPOSTBOT_ID, ZOZBOT_ID} COLORS = {'ff66ac','805ad5','62ca56','38a169','80ffff','2a96f3','eb4963','ff0000','f39731','30409f','3e98a7','e4432d','7b9ae4','ec72de','7f8fa6', 'f8db58','8cdbe6', DEFAULT_COLOR} -BAN_EVASION_DOMAIN = 'stupidpol.site' -BAN_EVASION_FULL = f'https://{BAN_EVASION_DOMAIN}' - ### COMMENT NOTIFICATIONS ### FORTUNE_REPLIES = ('Your fortune: Allah Wills It','Your fortune: Inshallah, Only Good Things Shall Come To Pass','Your fortune: Allah Smiles At You This Day','Your fortune: Your Bussy Is In For A Blasting','Your fortune: You Will Be Propositioned By A High-Tier Twink','Your fortune: Repent, You Have Displeased Allah And His Vengeance Is Nigh','Your fortune: Reply Hazy, Try Again','Your fortune: lmao you just lost 100 coins','Your fortune: Yikes 😬','Your fortune: You Will Be Blessed With Many Black Bulls','Your fortune: NEETmax, The Day Is Lost If You Venture Outside','Your fortune: A Taste Of Jannah Awaits You Today','Your fortune: Watch Your Back','Your fortune: Outlook good','Your fortune: Godly Luck','Your fortune: Good Luck','Your fortune: Bad Luck','Your fortune: Good news will come to you by mail','Your fortune: Very Bad Luck','Your fortune: キタ━━━━━━(゚∀゚)━━━━━━ !!!!','Your fortune: Better not tell you now','Your fortune: You will meet a dark handsome stranger','Your fortune: ( ´_ゝ`)フーン','Your fortune: Excellent Luck','Your fortune: Average Luck') @@ -855,116 +975,6 @@ forced_hats = { EMAIL_REGEX_PATTERN = '[A-Za-z0-9._%+-]{1,64}@[A-Za-z0-9.-]{2,63}\.[A-Za-z]{2,63}' -if SITE_NAME == 'rDrama': - BOOSTED_SITES = { - #youtube-like - 'bitchute.com', - 'goyimtv.tv', - 'odysee.com', - - #4chan-like - '4chan.org', - 'boards.4channel.org', - 'boards.4chan.org', - 'archive.4plebs.org', - 'lolcow.farm', - '8kun.top', - 'soyjak.party', - 'crystal.cafe', - - #forums - 'kiwifarms.net', - 'onionfarms.com', - 'clay.party', - 'incels.is', - 'tattle.life', - 'looksmax.org', - 'stormfront.org', - 'looksmax.org', - 'bluelight.org', - 'thecoli.com', - 'nairaland.com', - 'resetera.com', - 'steamcommunity.com', - 'lipstickalley.com', - 'tigerdroppings.com', - 'groups.google.com', - 'bungie.net', - - #twitter-like - 'gab.com', - 'gettr.com', - 'parler.com', - 'truthsocial.com', - 'blacktwitterapp.com', - 'rdrama.cc', - 'marsey.club', - 'kiwifarms.cc', - 'freespeechextremist.com' - 'mstdn.social', - 'mastodon.social', - 'mastodon.online', - 'poa.st', - 'shitposter.club', - 'sneed.social', - 'seal.cafe', - 'trp.red', - - #reddit-like - 'news.ycombinator.com', - 'scored.co', - 'scrd.app', - 'steemit.com', - 'ovarit.com', - 'watchpeopledie.tv', - 'rdrama.net', - BAN_EVASION_DOMAIN, - 'themotte.org', - 'hexbear.net', - 'cumtown.org', - 'hive.blog', - 'poal.co', - 'saidit.net', - 'lobste.rs', - 'retalk.com', - 'thepinkpill.co', - 'talk.lol', - 'lemmy.ml', - 'lemmygrad.ml', - 'raddle.me', - 'stacker.news', - 'tildes.net', - 'notabug.io', - 'syzitus.com', - 'phuks.co', - 'arete.network', - 'pcmemes.net', - 'discussions.app', - 'wolfballs.com', - 'dojo.press', - 'livefilter.com', - 'mainchan.com', - - #misc - 'quora.com', - 'givesendgo.com', - 'groups.google.com', - 't.me', - 'web.telegram.org', - 'instagram.com', - 'facebook.com', - 'twitch.tv', - 'tiktok.com', - 'vm.tiktok.com', - 'github.com', - 'breitbart.com', - 'teamblind.com', - 'encyclopediadramatica.online', - 'datalounge.com', - 'metafilter.com', - 'sqwok.im', - } - IMAGE_FORMATS = ['png','gif','jpg','jpeg','webp'] VIDEO_FORMATS = ['mp4','webm','mov','avi','mkv','flv','m4v','3gp'] AUDIO_FORMATS = ['mp3','wav','ogg','aac','m4a','flac'] diff --git a/files/routes/jinja2.py b/files/routes/jinja2.py index 7ffe92f0d..4ac85163c 100644 --- a/files/routes/jinja2.py +++ b/files/routes/jinja2.py @@ -96,5 +96,5 @@ def inject_constants(): "HOUSE_JOIN_COST":HOUSE_JOIN_COST, "HOUSE_SWITCH_COST":HOUSE_SWITCH_COST, "IMAGE_FORMATS":IMAGE_FORMATS, "PAGE_SIZES":PAGE_SIZES, "THEMES":THEMES, "COMMENT_SORTS":COMMENT_SORTS, "SORTS":SORTS, "TIME_FILTERS":TIME_FILTERS, "HOUSES":HOUSES, "TIERS_ID_TO_NAME":TIERS_ID_TO_NAME, - "DEFAULT_CONFIG_VALUE":DEFAULT_CONFIG_VALUE, "IS_LOCALHOST":IS_LOCALHOST, "BACKGROUND_CATEGORIES":BACKGROUND_CATEGORIES, "PAGE_SIZE":PAGE_SIZE, "TAGLINE":TAGLINE, "HOLIDAY_EVENT":HOLIDAY_EVENT, "get_alt_graph":get_alt_graph + "DEFAULT_CONFIG_VALUE":DEFAULT_CONFIG_VALUE, "IS_LOCALHOST":IS_LOCALHOST, "BACKGROUND_CATEGORIES":BACKGROUND_CATEGORIES, "PAGE_SIZE":PAGE_SIZE, "TAGLINES":TAGLINES, "HOLIDAY_EVENT":HOLIDAY_EVENT, "get_alt_graph":get_alt_graph } diff --git a/files/templates/home.html b/files/templates/home.html index c25a2188e..420c9e983 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -3,7 +3,7 @@ {% if sub %} /h/{{sub.name}} {% elif request.path == '/' %} - {{SITE_NAME}}: {{TAGLINE}} + {{SITE_NAME}}{% if TAGLINES %}: {{TAGLINES|random()}}{% endif %} {% else %} {{super()}} {% endif %}