bb
This commit is contained in:
parent
2aebbbba0e
commit
61729dd955
5 changed files with 8 additions and 8 deletions
|
@ -73,7 +73,7 @@ r=redis.Redis(host=environ.get("REDIS_URL", "redis://localhost"), decode_respons
|
|||
limiter = Limiter(
|
||||
app,
|
||||
key_func=get_ipaddr,
|
||||
default_limits=["3/second;30/minute;200/hour;500/day"],
|
||||
default_limits=["3/second;30/minute;200/hour;1000/day"],
|
||||
headers_enabled=True,
|
||||
strategy="fixed-window"
|
||||
)
|
||||
|
|
|
@ -293,7 +293,7 @@ const EMOJIS_STRINGS = [
|
|||
"marseycarp2": {"author":"mom", "tags":"harm cutting selfharm cutter reaction carpathianflorist self animated"},
|
||||
"marseycarp3": {"author":"chapose", "tags":"reaction fish carpathianflorist catfish"},
|
||||
"marseycarpcrying": {"author":"chapose", "tags":"tear reaction carpathianflorist fish sob tears sad"},
|
||||
"marseycarppat": {"author":"unknown", "tags":"petting carpathianflorist fish animated patting"},
|
||||
"marseycarppat": {"author":"dramarama", "tags":"petting carpathianflorist fish animated patting"},
|
||||
"marseycat": {"author":"chiobu", "tags":"fursona skin animal costume furry neko fursuit cat"},
|
||||
"marseycatgirl": {"author":"chapose", "tags":"uwu waifu anime fursona furry owo weebshit fursuit"},
|
||||
"marseycatgirl2": {"author":"dramarama", "tags":"anime weebsit"},
|
||||
|
@ -780,7 +780,7 @@ const EMOJIS_STRINGS = [
|
|||
"marseytinfoil": {"author":"chapose", "tags":"alex jones psycho crazy schizo alexjones conspiracy"},
|
||||
"marseytinfoil2": {"author":"dramarama", "tags":"alex jones rightoid psycho schizo alexjones conspiracy"},
|
||||
"marseytoilet": {"author":"altaccountumbreon", "tags":"flush loo bog roll toilet paper swirly"},
|
||||
"marseytrad": {"author":"unknown", "tags":"dramarama dress foid tradwife floral girl"},
|
||||
"marseytrad": {"author":"dramarama", "tags":"dramarama dress foid tradwife floral girl"},
|
||||
"marseytrain": {"author":"dramarama", "tags":"troomer tranny transgender trains troid transsexual animated"},
|
||||
"marseytrans2": {"author":"chapose", "tags":"troon tranny transgender troomer lgbt trannies troid transsexual"},
|
||||
"marseytrickortreat": {"author":"uwu", "tags":"candy trick or treat halloween holiday"},
|
||||
|
@ -848,7 +848,7 @@ const EMOJIS_STRINGS = [
|
|||
"mcmarsey": {"author":"dramarama", "tags":"wageslave poor mcdonalds wagecuck maccas antiwork college wagie"},
|
||||
"mersya": {"author":"dramarama", "tags":"the best adorable aww marsey favorite cute"},
|
||||
"mersya2": {"author":"dramarama", "tags":"drawing art"},
|
||||
"mersyapat": {"author":"unknown", "tags":"petting reaction dramarama animated cute patting"},
|
||||
"mersyapat": {"author":"dramarama", "tags":"petting reaction dramarama animated cute patting"},
|
||||
"mlm": {"author":"chiobu", "tags":"marseylivesmatter marsey lives matter blm"},
|
||||
"owlsey": {"author":"dramarama", "tags":"bird hoot feathers"},
|
||||
"plarsy": {"author":"chapose", "tags":"platy crossover platypus marsey plarsey"},
|
||||
|
|
|
@ -22,7 +22,7 @@ site = environ.get("DOMAIN").strip()
|
|||
site_name = environ.get("SITE_NAME").strip()
|
||||
defaulttheme = environ.get("DEFAULT_THEME", "midnight").strip()
|
||||
defaultcolor = environ.get("DEFAULT_COLOR", "fff").strip()
|
||||
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "all").strip()
|
||||
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "day").strip()
|
||||
cardview = bool(int(environ.get("CARD_VIEW", 1)))
|
||||
|
||||
class User(Base):
|
||||
|
|
|
@ -3,7 +3,7 @@ from files.helpers.get import *
|
|||
from files.__main__ import app, cache
|
||||
from files.classes.submission import Submission
|
||||
|
||||
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "all").strip()
|
||||
defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "day").strip()
|
||||
SITE_NAME = environ.get("SITE_NAME", "").strip()
|
||||
|
||||
@app.get("/post/")
|
||||
|
|
|
@ -508,7 +508,7 @@
|
|||
<input autocomplete="off" id="file-upload-reply-{{c.fullname}}" type="file" name="file" accept="image/*, video/*" {% if request.headers.get('cf-ipcountry')=="T1" %}disabled{% endif %} onchange="document.getElementById('filename-show-reply-{{c.fullname}}').innerHTML='image/video';" hidden>
|
||||
</label>
|
||||
</div>
|
||||
<a id="save-reply-to-{{c.fullname}}" class="btn btn-primary text-white ml-2 fl-r commentmob" onclick="post_comment('{{c.fullname}}', '{{c.post.id}}');" role="button">Comment</a>
|
||||
<a id="save-reply-to-{{c.fullname}}" class="btn btn-primary ml-2 fl-r commentmob" onclick="post_comment('{{c.fullname}}', '{{c.post.id}}');" role="button">Comment</a>
|
||||
<a role="button" onclick="document.getElementById('reply-to-{{c.id}}').classList.add('d-none')" class="btn btn-link text-muted ml-auto cancel-form fl-r commentmob">Cancel</a>
|
||||
</form>
|
||||
<div id="reply-edit-{{c.id}}" class="mb-3 mt-5"></div>
|
||||
|
@ -533,7 +533,7 @@
|
|||
</div>
|
||||
|
||||
<a role="button" onclick="document.getElementById('reply-message-{{c.id}}').classList.add('d-none')" class="btn btn-link text-muted ml-auto cancel-form">Cancel</a>
|
||||
<a id="save-reply-to-{{c.id}}" class="btn btn-primary text-white ml-2" onclick="post_reply('{{c.id}}');" role="button">Reply</a>
|
||||
<a id="save-reply-to-{{c.id}}" class="btn btn-primary ml-2" onclick="post_reply('{{c.id}}');" role="button">Reply</a>
|
||||
</form>
|
||||
<div id="message-reply-{{c.id}}" class="preview-edit mt-2"></div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue