dont allow custom chud phrases anymore since HTML checking greately limits them https://images-ext-2.discordapp.net/external/nv4shIUSH3FJQDTaBuUqi7VmUgrVzj0Uxr_tTVcx5JE/https/pomf2.lain.la/f/xkfw1f1.webp?width=271&height=588
parent
38bd91a20a
commit
d8af55068b
|
@ -1135,3 +1135,22 @@ Eventually it'll be too much to bear - you'll buy a rope, tie a noose, put it ar
|
|||
This is your fate. This is what you chose. There is no turning back.
|
||||
|
||||
"""
|
||||
|
||||
CHUD_PHRASES = (
|
||||
"Trans lives matter",
|
||||
"Black lives matter",
|
||||
"Black trans lives matter",
|
||||
"The future is female",
|
||||
"I say this as a feminist ally",
|
||||
"I stand with israel",
|
||||
"Vaccines work",
|
||||
"Trans women are women",
|
||||
"Furry rights are human rights",
|
||||
"Trans furry lives matter",
|
||||
"Trump for prison",
|
||||
"Hillary 2024",
|
||||
"Jewish lives matter",
|
||||
"White extinction is long overdue",
|
||||
"Climate action now",
|
||||
"Long live the CCP"
|
||||
)
|
||||
|
|
|
@ -322,8 +322,8 @@ def award_thing(v, thing_type, id):
|
|||
|
||||
if not note: abort(400, "Missing phrase!")
|
||||
|
||||
if len(note) > 35:
|
||||
abort(400, "Max length for phrase is 35 characters!")
|
||||
if note not in CHUD_PHRASES:
|
||||
abort(400, "Invalid phrase!")
|
||||
|
||||
author.agendaposter_phrase = note.lower()
|
||||
|
||||
|
|
|
@ -138,4 +138,5 @@ def inject_constants():
|
|||
"BIO_FRIENDS_ENEMIES_LENGTH_LIMIT":BIO_FRIENDS_ENEMIES_LENGTH_LIMIT,
|
||||
"IMMUNE_TO_AWARDS": IMMUNE_TO_AWARDS, "SITE_FULL_IMAGES": SITE_FULL_IMAGES,
|
||||
"IS_FISTMAS":IS_FISTMAS, "IS_HOMOWEEN":IS_HOMOWEEN, "IS_DKD":IS_DKD, "IS_EVENT":IS_EVENT,
|
||||
"CHUD_PHRASES":CHUD_PHRASES,
|
||||
}
|
||||
|
|
|
@ -39,25 +39,6 @@
|
|||
</div>
|
||||
<input autocomplete="off" id="kind" hidden>
|
||||
|
||||
{% set CHUD_PHRASES = [
|
||||
"Trans lives matter",
|
||||
"Black lives matter",
|
||||
"Black trans lives matter",
|
||||
"The future is female",
|
||||
"I say this as a feminist ally",
|
||||
"I stand with israel",
|
||||
"Vaccines work",
|
||||
"Trans women are women",
|
||||
"Furry rights are human rights",
|
||||
"Trans furry lives matter",
|
||||
"Trump for prison",
|
||||
"Hillary 2024",
|
||||
"Jewish lives matter",
|
||||
"White extinction is long overdue",
|
||||
"Climate action now",
|
||||
"Long live the CCP",
|
||||
] %}
|
||||
|
||||
<div id="phrase_section" class="d-none">
|
||||
<label for="note" class="pt-4">The phrase the recipient will have to say:</label>
|
||||
|
||||
|
|
Loading…
Reference in New Issue