Commit Graph

40 Commits (c21b3909f98e5b3c5be1808a8a77759281360718)

Author SHA1 Message Date
Aevann a971858e05 make generate_chart_tasks take 6 seconds instead of 20 seconds 2023-05-13 05:00:31 +03:00
Aevann f3a0080698 remove useless tabs 2023-05-06 00:47:07 +03:00
Aevann db6ac78658 include year and make chart larger 2023-05-05 00:25:23 +03:00
Aevann 96330210e8 use SITE as a prefix for flask_cache 2023-03-25 22:57:27 +02:00
Aevann dd54413cf3 convert marsey submission form to include all emojis 2023-03-18 15:34:04 +02:00
Aevann 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +02:00
Aevann f768d81103 keep db sessions open 2023-03-15 05:58:00 +02:00
Aevann 1dd20d512d same as last commit 2023-02-03 02:12:19 +02:00
Aevann 6ad1c88391 fix WPD charts 2023-02-03 02:08:00 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann eec2992be8 use user timezone in /stats 2022-12-26 04:45:55 +02:00
Aevann1 69dee20918 Revert "print debugging for stats"
This reverts commit 02bb36159f.
2022-12-20 03:01:14 +02:00
Aevann1 02bb36159f print debugging for stats 2022-12-20 03:00:33 +02:00
Aevann1 c10c00473a make is_banned fkey on user id 2022-12-14 00:02:53 +02:00
justcool393 ab41db22b7 [DO NOT MERGE] multiple sub banners (#59)
allows multiple sub banners

Snakes note: By request of Carp, especially for WPD.

Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
justcool393 67bfe5a5bd remove unnecessary `str()` 2022-11-29 14:29:27 -06:00
Aevann1 05b7e79b76 remove the code i added for rdrama.com 2022-11-11 15:52:18 +02:00
justcool393 0fffa7efc0 rename truecoins to truescore 2022-11-06 23:04:34 -08:00
justcool393 0e7a7307e4 stats: add time
this is useful for knowing what anchor point stats is bound to
2022-11-05 19:15:13 -05:00
justcool393 3343b8487d stats: rename `comments last_24h` to `comments last 24h` 2022-11-05 19:01:18 -05:00
Aevann1 07a12380de accomodate alt domain 2022-11-03 17:29:14 +02:00
Aevann1 f73c6d46df accomodate rdrama.com users 2022-11-02 08:31:04 +02:00
Aevann1 1c536de93d add commas to stats 2022-11-02 07:06:01 +02:00
Aevann1 17038e31da remove 2 useless stats that took 3 and 9 seconds respectively 2022-11-02 06:59:23 +02:00
Aevann1 0008acbabe make /stats slightly faster 2022-11-02 06:50:18 +02:00
Aevann1 d575abe1a7 Revert "debug /stats"
This reverts commit daf5fd9359.
2022-11-02 06:45:17 +02:00
Aevann1 daf5fd9359 debug /stats 2022-11-02 06:32:38 +02:00
justcool393 ff84f32e45 make stats charts tight 2022-10-23 10:46:03 -05:00
Aevann1 d8ac954d53 remove unnecessary execution of function 2022-09-22 07:26:48 +02:00
Aevann1 47890d771d add Marsey Submission UI 2022-09-09 11:13:50 +02:00
Aevann1 0c32d56cd6 casino + style shit 2022-09-05 01:15:37 +02:00
Aevann1 5234c8ef21 remove weird spaes 2022-08-17 22:30:07 +02:00
Aevann1 45753ee166 I hate programming 2022-08-01 21:37:57 +02:00
Snakes 0c43deeee6
FEATURES: pronouns, kys, chat, house, /vote perm. 2022-07-18 02:43:20 -04:00
Aevann1 a8fe49f232 kitchen sink commit, all over the place 2022-07-08 21:03:04 +02:00
Snakes f59556cac3 stats: add WAU based on activity timestamp. 2022-06-20 16:33:47 -04:00
Aevann1 0f49c8e32f replace spaces with tabs 2022-06-13 20:33:25 +02:00
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
Aevann1 39e0e6d017 make cron also calculate stats (based and cronpilled) 2022-06-09 20:09:49 +02:00
Snakes 152315f73e cron: Move charts from static to helper. 2022-06-07 08:31:24 -04:00