MarseyWorld/files/helpers
justcool393 2dd74d3acd don't constantly check for reposts when it's obvious there can't be one
we currently spam the /is_repost api on every single character change in the URL box even though there is no way these URLs would ever be submitted to the site

introducing a frankly conservative limit to where we start actually pinging both the api and (on the backend) the database for reposts may help in some cases

the current constant was chosen by taking the length of "http://" and adding 2 to it
2022-10-14 03:27:45 -07:00
..
actions.py move antispam code to actions 2022-10-11 22:34:55 -07:00
alerts.py remove a _FOR_ 2022-10-06 00:38:33 -07:00
assetcache.py Rebuild assetcache on inotify events. 2022-09-27 02:07:32 -04:00
awards.py remove early life badge if status expired 2022-09-30 16:20:53 -07:00
casino.py Add gambling wager badge logic. 2022-09-29 00:26:50 -04:00
cloudflare.py use constant instead of literal 5 2022-10-13 00:58:33 -07:00
const.py don't constantly check for reposts when it's obvious there can't be one 2022-10-14 03:27:45 -07:00
cron.py PCM: disable gambling; extend FEATURES['GAMBLING']. 2022-10-07 20:31:46 -04:00
discord.py Add trailing final newlines to source files. 2022-09-29 01:43:29 -04:00
get.py update get.py redux 2022-10-12 08:40:43 -07:00
jinja2.py remove unnecessary shit in wrappers 2022-10-11 15:19:55 +02:00
lazy.py certified good commit 2022-05-25 19:01:29 +02:00
lottery.py use charge_account everywhere 2022-10-12 18:33:00 +02:00
marsify.py Add trailing final newlines to source files. 2022-09-29 01:43:29 -04:00
media.py create cloudflare helper 2022-10-13 00:55:15 -07:00
offsitementions.py convert a couple of the old constantified permissions to the new system 2022-10-07 01:50:20 -07:00
owoify.py Fix owoify award affecting links, emoji, markup. 2022-08-27 00:48:44 -04:00
regex.py Re-enable showmore_regex for Snappy (#389) 2022-10-06 02:17:28 -04:00
roulette.py cron: commit roulette txn early for long tasks. 2022-09-29 14:09:26 -04:00
sanitize.py pings bypass permission 2022-10-12 02:36:29 -07:00
security.py tweak env again 2022-10-10 11:06:27 +02:00
slots.py Add gambling wager badge logic. 2022-09-29 00:26:50 -04:00
sorting_and_time.py Revert "minor change in sorting_and_time" 2022-10-13 18:21:26 +02:00
stats.py remove unnecessary execution of function 2022-09-22 07:26:48 +02:00
treasure.py Add trailing final newlines to source files. 2022-09-29 01:43:29 -04:00
twentyone.py Add gambling wager badge logic. 2022-09-29 00:26:50 -04:00
wrappers.py remove annoyance 2022-10-13 14:02:31 +02:00