forked from MarseyWorld/MarseyWorld
master
parent
bf31533fcb
commit
fb8ec7a343
|
@ -6,7 +6,7 @@ services:
|
|||
context: .
|
||||
volumes:
|
||||
- "./:/service"
|
||||
env_file: env
|
||||
env_file: ../env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://postgres@postgres:5432
|
||||
- REDIS_URL=redis://redis
|
||||
|
|
|
@ -5,7 +5,7 @@ import time
|
|||
from urllib.parse import urlparse
|
||||
from flask import render_template
|
||||
from sqlalchemy import *
|
||||
from sqlalchemy.orm import relationship
|
||||
from sqlalchemy.orm import relationship, deferred
|
||||
from files.__main__ import Base
|
||||
from files.helpers.const import *
|
||||
from files.helpers.lazy import lazy
|
||||
|
@ -60,6 +60,8 @@ class Submission(Base):
|
|||
comments = relationship("Comment", primaryjoin="Comment.parent_submission==Submission.id")
|
||||
subr = relationship("Sub", primaryjoin="foreign(Submission.sub)==remote(Sub.name)", viewonly=True)
|
||||
|
||||
comment_count_distinct = deferred(Column(Float, server_default=FetchedValue()))
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
if "created_utc" not in kwargs: kwargs["created_utc"] = int(time.time())
|
||||
super().__init__(*args, **kwargs)
|
||||
|
|
|
@ -130,7 +130,7 @@ def torture_ap(body, username):
|
|||
return body
|
||||
|
||||
|
||||
LONGPOST_REPLIES = ('Wow, you must be a JP fan.', 'This is one of the worst posts I have EVER seen. Delete it.', "No, don't reply like this, please do another wall of unhinged rant please.", '# 😴😴😴', "Ma'am we've been over this before. You need to stop.", "I've known more coherent downies.", "Your pulitzer's in the mail", "That's great and all, but I asked for my burger without cheese.", 'That degree finally paying off', "That's nice sweaty. Why don't you have a seat in the time out corner with Pizzashill until you calm down, then you can have your Capri Sun.", "All them words won't bring your pa back.", "You had a chance to not be completely worthless, but it looks like you threw it away. At least you're consistent.", 'Some people are able to display their intelligence by going on at length on a subject and never actually saying anything. This ability is most common in trades such as politics, public relations, and law. You have impressed me by being able to best them all, while still coming off as an absolute idiot.', "You can type 10,000 characters and you decided that these were the one's that you wanted.", 'Have you owned the libs yet?', "I don't know what you said, because I've seen another human naked.", 'Impressive. Normally people with such severe developmental disabilities struggle to write much more than a sentence or two. He really has exceded our expectations for the writing portion. Sadly the coherency of his writing, along with his abilities in the social skills and reading portions, are far behind his peers with similar disabilities.', "This is a really long way of saying you don't fuck.", "Sorry ma'am, looks like his delusions have gotten worse. We'll have to admit him.", ':#marseywoah:', 'If only you could put that energy into your relationships', 'Posts like this is why I do Heroine.', 'still unemployed then?', 'K', 'look im gunna have 2 ask u 2 keep ur giant dumps in the toilet not in my replys 😷😷😷', "Mommy is soooo proud of you, sweaty. Let's put this sperg out up on the fridge with all your other failures.", "Good job bobby, here's a star", "That was a mistake. You're about to find out the hard way why.", f'You sat down and wrote all this shit. You could have done so many other things with your life. What happened to your life that made you decide writing novels of bullshit on {SITE} was the best option?', "I don't have enough spoons to read this shit", "All those words won't bring daddy back.", 'OUT!', "Damn, you're really mad over this, but thanks for the effort you put into typing that all out! Sadly I won't read it all.", "Jesse what the fuck are you talking about??", "you're fucking bananas if you think I'm reading all that, take my downvote and shut up idiot")
|
||||
LONGPOST_REPLIES = ('Wow, you must be a JP fan.', 'This is one of the worst posts I have EVER seen. Delete it.', "No, don't reply like this, please do another wall of unhinged rant please.", '# 😴😴😴', "Ma'am we've been over this before. You need to stop.", "I've known more coherent downies.", "Your pulitzer's in the mail", "That's great and all, but I asked for my burger without cheese.", 'That degree finally paying off', "That's nice sweaty. Why don't you have a seat in the time out corner with Pizzashill until you calm down, then you can have your Capri Sun.", "All them words won't bring your pa back.", "You had a chance to not be completely worthless, but it looks like you threw it away. At least you're consistent.", 'Some people are able to display their intelligence by going on at length on a subject and never actually saying anything. This ability is most common in trades such as politics, public relations, and law. You have impressed me by being able to best them all, while still coming off as an absolute idiot.', "You can type 10,000 characters and you decided that these were the one's that you wanted.", 'Have you owned the libs yet?', "I don't know what you said, because I've seen another human naked.", 'Impressive. Normally people with such severe developmental disabilities struggle to write much more than a sentence or two. He really has exceded our expectations for the writing portion. Sadly the coherency of his writing, along with his abilities in the social skills and reading portions, are far behind his peers with similar disabilities.', "This is a really long way of saying you don't fuck.", "Sorry ma'am, looks like his delusions have gotten worse. We'll have to admit him.", ':#marseywoah:', 'If only you could put that energy into your relationships', 'Posts like this is why I do Heroine.', 'still unemployed then?', 'K', 'look im gunna have 2 ask u 2 keep ur giant dumps in the toilet not in my replys 😷😷😷', "Mommy is soooo proud of you, sweaty. Let's put this sperg out up on the fridge with all your other failures.", "Good job bobby, here's a star", "That was a mistake. You're about to find out the hard way why.", f'You sat down and wrote all this shit. You could have done so many other things with your life. What happened to your life that made you decide writing novels of bullshit on {SITE} was the best option?', "I don't have enough spoons to read this shit", "All those words won't bring daddy back.", 'OUT!', "Damn, you're really mad over this, but thanks for the effort you put into typing that all out! Sadly I won't read it all.", "Jesse what the fuck are you talking about??", "▼you're fucking bananas if you think I'm reading all that, take my downvote and shut up idiot")
|
||||
|
||||
AGENDAPOSTER_PHRASE = 'black lives matter'
|
||||
|
||||
|
|
|
@ -476,6 +476,19 @@ def api_comment(v):
|
|||
|
||||
body = random.choice(LONGPOST_REPLIES)
|
||||
|
||||
|
||||
if body.startswith('▼'):
|
||||
body = body[1:]
|
||||
vote = CommentVote(user_id=LONGPOSTBOT_ID,
|
||||
vote_type=-1,
|
||||
comment_id=c.id,
|
||||
real = True
|
||||
)
|
||||
g.db.add(vote)
|
||||
c.downvotes = 1
|
||||
|
||||
|
||||
|
||||
body_html2 = sanitize(body)
|
||||
|
||||
c2 = Comment(author_id=LONGPOSTBOT_ID,
|
||||
|
|
|
@ -322,7 +322,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, ccmode="false"
|
|||
|
||||
if sort == "hot":
|
||||
ti = int(time.time()) + 3600
|
||||
posts = posts.order_by(-1000000*(Submission.realupvotes + 1 + Submission.comment_count/5 + (func.length(Submission.body_html)-func.length(func.replace(Submission.body_html,'</a>',''))))/(func.power(((ti - Submission.created_utc)/1000), 1.23)))
|
||||
posts = posts.order_by(-1000000*(Submission.realupvotes + 1 + Submission.comment_count_distinct/2 + (func.length(Submission.body_html)-func.length(func.replace(Submission.body_html,'</a>',''))))/(func.power(((ti - Submission.created_utc)/1000), 1.23)))
|
||||
elif sort == "new":
|
||||
posts = posts.order_by(Submission.created_utc.desc())
|
||||
elif sort == "old":
|
||||
|
|
|
@ -27,7 +27,7 @@ db.close()
|
|||
if path.exists(f'snappy_{SITE_NAME}.txt'):
|
||||
with open(f'snappy_{SITE_NAME}.txt', "r", encoding="utf-8") as f:
|
||||
if SITE == 'pcmemes.net': snappyquotes = tuple(f.read().split("{[para]}"))
|
||||
else: snappyquotes = tuple(f.read().split("{[para]}")) + marseys
|
||||
else: snappyquotes = tuple(f.read().split("\n{[para]}\n")) + marseys
|
||||
else: snappyquotes = marseys
|
||||
|
||||
IMGUR_KEY = environ.get("IMGUR_KEY").strip()
|
||||
|
@ -1289,7 +1289,22 @@ def submit_post(v, sub=None):
|
|||
elif v.id == LAWLZ_ID:
|
||||
if random.random() < 0.5: body = "wow, this lawlzpost sucks!"
|
||||
else: body = "wow, a good lawlzpost for once!"
|
||||
else: body = random.choice(snappyquotes)
|
||||
else:
|
||||
body = random.choice(snappyquotes)
|
||||
if body.startswith('▼'):
|
||||
body = body[1:]
|
||||
vote = Vote(user_id=SNAPPY_ID,
|
||||
vote_type=-1,
|
||||
submission_id=new_post.id,
|
||||
real = True
|
||||
)
|
||||
g.db.add(vote)
|
||||
new_post.downvotes = 1
|
||||
if body.startswith('OP is a Trump supporter'):
|
||||
flag = Flag(post_id=new_post.id, user_id=SNAPPY_ID, reason='Trump supporter')
|
||||
g.db.add(flag)
|
||||
|
||||
|
||||
body += "\n\n"
|
||||
|
||||
if new_post.url:
|
||||
|
|
|
@ -151,7 +151,7 @@
|
|||
{% if SITE_NAME == 'Drama' %}
|
||||
<a class="dropdown-item" href="https://play.google.com/store/apps/details?id=com.rdrama"><i class="fab fa-android fa-fw text-left mr-3"></i>Android app</a>
|
||||
{% else %}
|
||||
<a class="dropdown-item" href="/assets/{{config('SITE_NAME')}}_v1.7.apk?a=2"><i class="fab fa-android fa-fw text-left mr-3"></i>Android app</a>
|
||||
<a class="dropdown-item" href="/assets/{{config('SITE_NAME')}}_v1.9.apk?a=2"><i class="fab fa-android fa-fw text-left mr-3"></i>Android app</a>
|
||||
{% endif %}
|
||||
|
||||
<a class="dropdown-item" href="/changelog"><i class="fas fa-clipboard fa-fw text-left mr-3"></i>Changelog</a>
|
||||
|
@ -217,7 +217,7 @@
|
|||
{% if SITE_NAME == 'Drama' %}
|
||||
<a class="nav-item nav-link" href="https://play.google.com/store/apps/details?id=com.rdrama"><i class="fab fa-android fa-fw mr-3"></i>Android app</a>
|
||||
{% else %}
|
||||
<a class="nav-item nav-link" href="/assets/{{config('SITE_NAME')}}_v1.7.apk?a=2"><i class="fab fa-android fa-fw mr-3"></i>Android app</a>
|
||||
<a class="nav-item nav-link" href="/assets/{{config('SITE_NAME')}}_v1.9.apk?a=2"><i class="fab fa-android fa-fw mr-3"></i>Android app</a>
|
||||
{% endif %}
|
||||
|
||||
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="https://github.com/Aevann1/Drama"><i class="fab fa-github fa-fw mr-3"></i>Source code</a>
|
||||
|
|
|
@ -60,7 +60,7 @@ You win this one, I'm not allowed to make fun of you anymore. Enjoy living your
|
|||
{[para]}
|
||||
Have you posted bussy yet?
|
||||
{[para]}
|
||||
Congratulations! I do not often downvote. You have earned mine.
|
||||
▼Congratulations! I do not often downvote. You have earned mine.
|
||||
{[para]}
|
||||
I don't give a fuck how much you call your flimsy delusions "enlightenment." There is no amount of ceaseless self-deception that will make you accept the charred hellscape of being a miserable useless destitute fucking junkie piece of shit. You know what you are, and it is deeply ugly on every level.
|
||||
{[para]}
|
||||
|
@ -328,7 +328,7 @@ Shut the fuck up. Chances are you will never have to face issues related to abus
|
|||
{[para]}
|
||||
You're not a femboy, you're a sissy slut with a god complex, go back to your dildos and your fantasies you fat fuck, and leave me alone.
|
||||
{[para]}
|
||||
Listen📢👂up⬆️ kid🔞. This is 🔥🔥Reddit🔥🔥 and I just ⬇️downvoted👎 you. Do you really🙈think🧠🚫 your opinion😂😂 can exist🦄 being so grossly🤢🤮 different (more like wrong😂) to my own?🤦♂️Think again edgelord🙅♂️ ⚰RIP☠ in✌peace☮ to your karma buddy📉 because that arrow🏹 is gonna be ⬇️down👇 and 🥶blue😱 when I get through with you😂 Perhaps🤔 you should think🧠✌ twice✌ before disagreeing🙅♂️🙅♂️with 🃏🧐me😎🃏
|
||||
▼Listen📢👂up⬆️ kid🔞. This is 🔥🔥Reddit🔥🔥 and I just ⬇️downvoted👎 you. Do you really🙈think🧠🚫 your opinion😂😂 can exist🦄 being so grossly🤢🤮 different (more like wrong😂) to my own?🤦♂️Think again edgelord🙅♂️ ⚰RIP☠ in✌peace☮ to your karma buddy📉 because that arrow🏹 is gonna be ⬇️down👇 and 🥶blue😱 when I get through with you😂 Perhaps🤔 you should think🧠✌ twice✌ before disagreeing🙅♂️🙅♂️with 🃏🧐me😎🃏
|
||||
{[para]}
|
||||
I will never be with a female who defecates. The whole reason my last girlfriend and I split was because I found out she did, in fact, poop.
|
||||
{[para]}
|
||||
|
@ -348,7 +348,7 @@ Anyone who refers to moderators as "Janitors" is involved in a propaganda and ha
|
|||
{[para]}
|
||||
Every straight man wants to fuck another mans daughter, but no man actually wants his daughter to get fucked, its more something that men just accept because you have to expect to go through what your wife's father had to endure, if you plan on having children. There are however the rare cases of men who do what I referred to in my mind as "Closing The Loop". Around that time when I was talking to my friends about this, about a week after the school scheduled for us to be given an inspirational speech by some rich white guy, basically all we heard were the same BS normie rhetoric which is just a denial of reality, you know like "Just be yourself and work hard", statements that outright deny reality and the inherent advantages, genetic or otherwise, that differentiate everyone. One thing in particular that he said proved to me how lucky this guy was, he had multiple children and they were all boys, he said that he even kept trying to have a daughter but he only got sons, one of his sons even went on to become a millionaire. Seriously how fucking lucky is that, all I could think while sitting in that class, is that this lucky bastard closed the loop, without even trying. He got to fuck the shit out of the daughters of many men, but he will never be forced to live through the awkward phase of having to let an extension of yourself be sexually dominated by another man, he'll never have to face the awkwardly repulsive thoughts that a lot of fathers probably have to face, like the fact that in these times your daughter is likely going to be taking it in the ass, and will probably have all sought's of sick shit done to her. At the end of the day there are only two ways to close the loop, to only have sons by luck, or don't have any children at all.
|
||||
{[para]}
|
||||
I just downvoted your post.
|
||||
▼I just downvoted your post.
|
||||
|
||||
# FAQ
|
||||
|
||||
|
@ -663,7 +663,7 @@ Just reflects the average Reddit age tbh. A lot of the kids posting here come fr
|
|||
|
||||
The poster clearly needs mental guidance. So do most of the people here.
|
||||
{[para]}
|
||||
OP is a Trump supporter.
|
||||
▼OP is a Trump supporter.
|
||||
|
||||
I have downvoted every post you have ever posted and have reported this post. If this behaviour does not change, your punishment will further continue.
|
||||
{[para]}
|
||||
|
@ -3425,16 +3425,16 @@ Fast forward, she is insanely intoxicated with me, hints and outright says frequ
|
|||
{[para]}
|
||||
Some scientists think it could be lifestyle related (herbs, garlic, unknown), but it is a FACT : JEWISH WOMEN UNDERGARMENTS are rated LEAST ATTRACTIVE SMELL to all men, in many studies.
|
||||
{[para]}
|
||||
I made a CLEAR BACKGROUND PNG flag for them (they have actual trannies on rdrama dot net) :
|
||||
https://files.catbox.moe/n66kna.png
|
||||
cat CLEAR BACKGROUND PNG by itself of rdrama marsey cat :
|
||||
https://files.catbox.moe/91m1h0.png
|
||||
BEWARE! they are more dangerous than you think because they have many liberal tech workers at companies to DOXX YOU!!!!
|
||||
They doxx people who are right of center!
|
||||
rdrama is so dangerous to us here, that typing the domain is INSTANT COMMENT BAN!!
|
||||
"rdrama and .net" without the and, spelled properly is AUTO INSTANT SHADOWBAN of comment on this site!
|
||||
THAT is how dangerous they are to innocent unwary people.
|
||||
They hold grudges for about 72 hours.
|
||||
be careful fucking with them Insurgent they read this conpro and they LIVE for drama brigading.
|
||||
just visting their site and not logging in , but reading, as a lurker creates an ip address they try to cross correlate using leftist tranny workers of theirs at FACEBOOK, APPLE, TWITTER, GOOGLE, AMAZON
|
||||
I made a CLEAR BACKGROUND PNG flag for them (they have actual trannies on rdrama dot net) :
|
||||
https://files.catbox.moe/n66kna.png
|
||||
cat CLEAR BACKGROUND PNG by itself of rdrama marsey cat :
|
||||
https://files.catbox.moe/91m1h0.png
|
||||
BEWARE! they are more dangerous than you think because they have many liberal tech workers at companies to DOXX YOU!!!!
|
||||
They doxx people who are right of center!
|
||||
rdrama is so dangerous to us here, that typing the domain is INSTANT COMMENT BAN!!
|
||||
"rdrama and .net" without the and, spelled properly is AUTO INSTANT SHADOWBAN of comment on this site!
|
||||
THAT is how dangerous they are to innocent unwary people.
|
||||
They hold grudges for about 72 hours.
|
||||
be careful fucking with them Insurgent they read this conpro and they LIVE for drama brigading.
|
||||
just visting their site and not logging in , but reading, as a lurker creates an ip address they try to cross correlate using leftist tranny workers of theirs at FACEBOOK, APPLE, TWITTER, GOOGLE, AMAZON
|
||||
keep your IP away from those tranny militant rdrama homos
|
Loading…
Reference in New Issue