forked from rDrama/rDrama
1
0
Fork 0
retarD/files
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
..
classes Add following holes for notifications. 2022-06-09 16:24:24 -04:00
helpers Refactor stat timers, award timers. 2022-06-10 05:47:41 -04:00
mail fds 2022-05-26 00:26:03 +02:00
routes Refactor stat timers, award timers. 2022-06-10 05:47:41 -04:00
templates rename /create_sub to /create_hole 2022-06-10 00:29:45 +02:00
tests vdffsd 2022-05-23 00:45:04 +02:00
__init__.py Enable flask command, add cron target. 2022-06-07 06:57:26 -04:00
__main__.py Design improvements take 2 + Scroll to top (#291) 2022-05-30 01:36:06 -04:00
cli.py Refactor stat timers, award timers. 2022-06-10 05:47:41 -04:00