MarseyWorld/files/helpers
Snakes 5f7b38b477 Refactor stat timers, award timers.
Prior to this comment, the every-1d cron.py command was broken due
to lack of proper stats import. However, while refactoring this, it
was convenient to move other recurring tasks that had been stuffed in
odd places--not least `stats(...)`--into the new cron system. This
entailed a number of refactorings of other things.

1. Move stats(...) from static.py to helpers/stats.py.
2. Move hole inactivity purge task from stats(...) to routes/subs.py.
3. Move bot award timer checks from stats(...) to helpers/awards.py.
4. Unify award timer logic formerly in routes/front.py into the new
   helpers/awards.py.
2022-06-10 05:47:41 -04:00
..
actions.py Add lottershe badge logic, badge helper. 2022-06-06 00:07:38 -04:00
alerts.py a 500 error is much better than an XSS, bro 2022-06-07 12:03:51 +02:00
awards.py Refactor stat timers, award timers. 2022-06-10 05:47:41 -04:00
blackjack.py Add can_gamble user setting. 2022-05-30 05:32:45 -04:00
const.py Refactor stat timers, award timers. 2022-06-10 05:47:41 -04:00
cron.py Refactor stat timers, award timers. 2022-06-10 05:47:41 -04:00
discord.py sfd 2022-05-07 06:13:19 +02:00
get.py fds 2022-05-25 22:16:26 +02:00
jinja2.py Add user title coin cost parameter. 2022-06-06 19:02:23 -04:00
lazy.py certified good commit 2022-05-25 19:01:29 +02:00
lottery.py Lottery: fix negative ticket quantity exploit. 2022-06-07 17:50:31 -04:00
media.py sfd 2022-05-27 19:19:12 +02:00
offsitementions.py Refactor reddit mentions, move to cron. 2022-06-07 10:42:24 -04:00
sanitize.py Add more TLDs to sanitize. 2022-06-03 17:01:32 -04:00
security.py mn 2022-05-05 01:09:46 +02:00
slots.py Add can_gamble user setting. 2022-05-30 05:32:45 -04:00
stats.py Refactor stat timers, award timers. 2022-06-10 05:47:41 -04:00
treasure.py Treasure: raise minimum reward 10 -> 12. 2022-05-31 20:23:19 -04:00
wrappers.py don't whitelist fagmins 2022-06-07 12:34:46 +02:00