fddfs
parent
7ae4856148
commit
f388d62c00
|
@ -143,6 +143,8 @@ if SITE == 'rdrama.net':
|
|||
LLM_ID = 253
|
||||
DAD_ID = 2513
|
||||
MOM_ID = 4588
|
||||
BUG_THREAD = 18459
|
||||
EMOJI_THREAD = 22479
|
||||
elif SITE == "pcmemes.net":
|
||||
BASEDBOT_ID = 800
|
||||
NOTIFICATIONS_ID = 1046
|
||||
|
@ -159,6 +161,8 @@ elif SITE == "pcmemes.net":
|
|||
LLM_ID = 0
|
||||
DAD_ID = 0
|
||||
MOM_ID = 0
|
||||
BUG_THREAD = 4103
|
||||
EMOJI_THREAD = 0
|
||||
else:
|
||||
BASEDBOT_ID = 0
|
||||
NOTIFICATIONS_ID = 1
|
||||
|
@ -175,6 +179,8 @@ else:
|
|||
LLM_ID = 0
|
||||
DAD_ID = 0
|
||||
MOM_ID = 0
|
||||
BUG_THREAD = 0
|
||||
EMOJI_THREAD = 0
|
||||
|
||||
PUSHER_INSTANCE_ID = '02ddcc80-b8db-42be-9022-44c546b4dce6'
|
||||
PUSHER_KEY = environ.get("PUSHER_KEY", "").strip()
|
||||
|
@ -756,7 +762,4 @@ TROLLTITLES = [
|
|||
"[META] Getting really sick of @{username}’s shit",
|
||||
"Pretty sure this is @{username}'s Reddit account",
|
||||
"Hey jannies can you please ban @{username}",
|
||||
]
|
||||
|
||||
BUG_THREAD = 18459
|
||||
EMOJI_THREAD = 22479
|
||||
]
|
|
@ -331,8 +331,7 @@ def unsubscribe(v, post_id):
|
|||
@app.get("/report_bugs")
|
||||
@auth_required
|
||||
def reportbugs(v):
|
||||
if request.host == 'rdrama.net': return redirect('https://rdrama.net/post/18459')
|
||||
return render_template("reportbugs.html", v=v)
|
||||
return redirect(f'https://rdrama.net/post/{BUG_THREAD}')
|
||||
|
||||
@app.post("/@<username>/message")
|
||||
@limiter.limit("1/second")
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
{% extends "default.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% include "emoji_modal.html" %}
|
||||
<h3 class="mt-4 mx-2">Report bugs or give suggestions</h3>
|
||||
<form class="mx-2 profile-toggleable-mobile" id='message-mobile' action="/@Aevann/message" method="post">
|
||||
<pre></pre>
|
||||
<textarea id="input-message-mobile" form="message-mobile" name="message" rows="9" maxlength="1000" class="form-control" required></textarea>
|
||||
<pre></pre>
|
||||
<pre class="btn btn-secondary format d-inline-block m-0 fas fa-bold" aria-hidden="true" onclick="makeBold('input-message-mobile')" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="Bold"></pre>
|
||||
|
||||
<pre class="btn btn-secondary format d-inline-block m-0 fas fa-italic" aria-hidden="true" onclick="makeItalics('input-message-mobile')" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="Italicize"></pre>
|
||||
|
||||
<pre class="btn btn-secondary format d-inline-block m-0 fas fa-quote-right" aria-hidden="true" onclick="makeQuote('input-message-mobile')" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="Quote"></pre>
|
||||
|
||||
<pre class="btn btn-secondary format d-inline-block m-0 fas fa-smile-beam" onclick="loadEmojis('input-message-mobile')" aria-hidden="true" data-bs-toggle="modal" data-bs-target="#emojiModal" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="Add Emoji"></pre>
|
||||
|
||||
<input type="submit" value="Submit" class="btn btn-primary mt-3">
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue