remotes/1693045480750635534/spooky-22
Aevann1 2022-03-31 16:25:49 +02:00
parent e80421ecef
commit 1042072ad8
6 changed files with 13 additions and 8 deletions

View File

@ -141,10 +141,10 @@ def cached_chart(days):
if days > 31:
file = "/weekly_chart.png"
day_cutoffs = [today_cutoff - 86400 * 7 * i for i in range(45)][1:]
day_cutoffs = [today_cutoff - 86400 * 7 * i for i in range(47)][1:]
else:
file = "/daily_chart.png"
day_cutoffs = [today_cutoff - 86400 * i for i in range(45)][1:]
day_cutoffs = [today_cutoff - 86400 * i for i in range(47)][1:]
day_cutoffs.insert(0, calendar.timegm(now))

View File

@ -19,7 +19,7 @@ def admin_vote_info_get(v):
else: abort(400)
except: abort(400)
if thing.ghost and v.admin_level < 3: abort(403)
if thing.ghost and v.id != AEVANN_ID: abort(403)
if not thing.author:
print(thing.id, flush=True)

View File

@ -431,7 +431,7 @@
{% endif %}
{% if not c.ghost %}<a href="/votes?link={{c.fullname}}" class="btn caction nobackground px-1 text-muted"><i class="fas fa-arrows-v"></i>Votes</a>{% endif %}
{% if not c.ghost and v.id != AEVANN_ID %}<a href="/votes?link={{c.fullname}}" class="btn caction nobackground px-1 text-muted"><i class="fas fa-arrows-v"></i>Votes</a>{% endif %}
<a class="btn caction nobackground px-1 text-muted" href="{{c.permalink}}"><i class="fas fa-book-open"></i>Context</a>
@ -629,7 +629,7 @@
<div class="modal-body">
<ul class="list-group comment-actions">
{% if not c.ghost %}<a href="/votes?link={{c.fullname}}"><li class="list-group-item"><i class="fas fa-arrows-v mr-2"></i>Votes</li></a>{% endif %}
{% if not c.ghost and v.id != AEVANN_ID %}<a href="/votes?link={{c.fullname}}"><li class="list-group-item"><i class="fas fa-arrows-v mr-2"></i>Votes</li></a>{% endif %}
<a class="list-group-item" href="{{c.permalink}}"><i class="fas fa-book-open mr-2"></i>Context</a>

View File

@ -6,7 +6,7 @@
{% endif %}
{% if not p.ghost %}<a class="list-inline-item" href="/votes?link={{p.fullname}}"><i class="fas fa-arrows-v"></i>Votes</a>{% endif %}
{% if not p.ghost and v.id != AEVANN_ID %}<a class="list-inline-item" href="/votes?link={{p.fullname}}"><i class="fas fa-arrows-v"></i>Votes</a>{% endif %}
{% if v %}
<a class="list-inline-item text-muted d-none d-md-inline-block" role="button" data-bs-toggle="modal" data-bs-target="#awardModal" onclick="awardModal('/award_post/{{p.id}}')"><i class="fas fa-gift fa-fw"></i>Give Award</a>

View File

@ -6,7 +6,7 @@
{% endif %}
{% if not p.ghost %}<a class="btn-block" href="/votes?link={{p.fullname}}"><button class="nobackground btn btn-link btn-block btn-lg text-left text-muted"><i class="fas fa-arrows-v text-center text-muted mr-3"></i>Votes</button></a>{% endif %}
{% if not p.ghost and v.id != AEVANN_ID %}<a class="btn-block" href="/votes?link={{p.fullname}}"><button class="nobackground btn btn-link btn-block btn-lg text-left text-muted"><i class="fas fa-arrows-v text-center text-muted mr-3"></i>Votes</button></a>{% endif %}
<button data-bs-dismiss="modal" class="copy-link nobackground btn btn-link btn-block btn-lg text-left text-muted" data-clipboard-text="{% if request.host == 'rdrama.net' %}https://rdrama.gay{{p.shortlink}}{% else %}{{p.permalink}}{% endif %}"><i class="far fa-copy text-center text-muted mr-3"></i>Copy link</button>

View File

@ -3644,3 +3644,8 @@ My husband use to snore like a chainsaw then he got nose surgery and it was like
The only thing that is advanced from this thread is my stage 4 cancer from reading it.
{[para]}
You've got good passion and have some sense of what the big issues are. Unfortunately you're combining that with absolute shit for brains.
{[para]}
Wtf are you talking about you fucking idiot out of my last 20 posts only 4 are links and the majority are longposts
You don't know shit you dumb motherfucker this is literally MY SITE I am the mascot and everyone loves me and my posts are great.
GTFO you've just made an enemy of a very big dog around here and it's going to make your life very difficult. You are best off just making a new account now. Not that I won't know any alt you make but I might be merciful.
Seriously you clearly aren't rdrama material your powers of deduction are subpar, you aren't funny, you can't recognize funny, and you should k*lol yourself.