diff --git a/files/helpers/const.py b/files/helpers/const.py index c4513ca44..3dbde713e 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -558,4 +558,6 @@ NOTIFIED_USERS = { 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 dramacoin','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') -no_pass_phrase = """
Sorry whiteboy, we're gonna need to see some ID before you start throwin that word around like it's nothing.\n\nTake a 10 minute time-out and come back when you've learned your lesson and/or paid reparations (by purchasing a BIPOC Approved™ Rdrama NWord Pass© from the shop) \n\nThis is an automated message; if you need help, you can message us here.
""" \ No newline at end of file +no_pass_phrase = """Sorry whiteboy, we're gonna need to see some ID before you start throwin that word around like it's nothing.\n\nTake a 10 minute time-out and come back when you've learned your lesson and/or paid reparations (by purchasing a BIPOC Approved™ Rdrama NWord Pass© from the shop) \n\nThis is an automated message; if you need help, you can message us here.
""" + +holes = ('2balkan4u') \ No newline at end of file diff --git a/files/routes/front.py b/files/routes/front.py index 4fbffe3db..3c06e1ee5 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -133,6 +133,7 @@ def notifications(v): @limiter.limit("3/second;30/minute;400/hour;2000/day") @auth_desired def front_all(v, hole=None): + if hole not in holes: hole = None if g.webview and not session.get("session_id"): session.permanent = True session["session_id"] = secrets.token_hex(49) diff --git a/files/routes/posts.py b/files/routes/posts.py index e507f510f..a818be27d 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -91,6 +91,7 @@ def publish(pid, v): @app.get("/submit/