Commit Graph

982 Commits (8d84748c4204c0258609520be230bd7c0adca0b6)

Author SHA1 Message Date
Aevann 8d84748c42 add spaces for consistency 2023-08-24 00:57:39 +03:00
Aevann b60deb44f1 try smth 2023-08-20 04:00:53 +03:00
Aevann e0921caf14 reduce frontpage delay on fish request 2023-08-17 04:54:13 +03:00
Aevann 465376f1f4 better idea to reduce user confusion 2023-08-14 17:37:32 +03:00
Aevann b7eb8170d0 make 'top' behavior exclusive to rdrama 2023-08-12 16:23:10 +03:00
Aevann 0f8c75f252 dont allow "hot" with "all" to prevent query timeout 2023-08-12 01:36:24 +03:00
Aevann 3ec2038caf same as last commit 2023-08-11 16:15:34 +03:00
Aevann fa0f082104 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4747309#context 2023-08-08 17:51:20 +03:00
Aevann 8beb2d7e8e remove typing (useless code bloat) 2023-07-30 03:42:06 +03:00
Aevann a57ff00e09 make the site faster by not having GET endpoints waiting for UPDATE statements to finish (they can take really long bc of locks) 2023-07-26 00:26:34 +03:00
Aevann 36e5845877 fix the last line of this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4609716#context 2023-07-22 22:20:00 +03:00
Aevann f192720dcf order holes by new by default 2023-07-18 16:06:00 +03:00
Aevann 2b9647a37e try random bullshit to fix timeouts 2023-07-17 17:49:26 +03:00
Aevann ff67e30949 dont count failed requests towards ratelimit 2023-07-13 16:50:46 +03:00
Aevann f1856a6ec2 only call calc_users when its necessary 2023-07-07 23:40:16 +03:00
Aevann 6dacba53b6 tinker with cache to stop insane cpu usage by redis-server 2023-07-07 22:08:23 +03:00
Aevann b2b5633c8b fix forgotten subdomain 2023-07-01 22:37:32 +03:00
Aevann d417fe14f0 rename property 2023-06-29 23:52:07 +03:00
Aevann 7493722457 redis cache frontpage 2023-06-27 23:03:14 +03:00
Aevann f2fb61c7f0 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4182880#context 2023-06-24 18:49:32 +03:00
Aevann 1b1e13f025 fix yearly badge logic 2023-06-24 16:43:15 +03:00
Aevann d9bed378a9 complement 32fa466e6a 2023-06-23 16:46:42 +03:00
Aevann 9b13dd2ab2 reorder LIMITED_WPD_HOLES for consistency 2023-06-14 02:41:49 +03:00
Aevann 9e26c4219b add /h/disaster and /h/fights to sidebar 2023-06-13 22:58:13 +03:00
Aevann d8bfc0a0a9 dont pass db session as an argument unless necessary 2023-06-08 03:49:37 +03:00
Aevann 32fa466e6a rename submissions to posts 2023-06-08 02:26:32 +03:00
Aevann e3e3cdf01a fix ppl receiving their badge 1 day late 2023-05-20 14:17:13 +03:00
Aevann 469ce39415 fix another 500 error for loggedout-cels 2023-05-13 05:05:24 +03:00
Aevann 060b5d5f2d fix 500 error 2023-05-13 05:04:25 +03:00
Aevann 50b23a064a move award timers to cron 2023-05-13 05:00:54 +03:00
Aevann f3a0080698 remove useless tabs 2023-05-06 00:47:07 +03:00
Aevann 92f0154e67 use new pagination system everywhere it isnt used 2023-05-06 00:47:07 +03:00
Aevann d9aeb1f111 dedup page defining 2023-05-05 08:23:59 +03:00
Aevann 081d0065a7 use new pagination system in /comments 2023-05-05 01:59:20 +03:00
Aevann 2d5a1ad95e delete the holes filter button 2023-05-04 19:48:30 +03:00
Aevann e296505dff remove unnecessary path 2023-05-03 23:22:52 +03:00
Aevann 1f62c63cf4 fix pagesize on wpd 2023-05-01 23:15:13 +03:00
Aevann 558be41b3d add page numbers to the frontpage 2023-05-01 22:50:32 +03:00
Aevann d43bed37d5 make it possible for non-jannies to see wall comments in /comments 2023-04-24 15:28:15 +02:00
Aevann 96330210e8 use SITE as a prefix for flask_cache 2023-03-25 22:57:27 +02:00
Aevann 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +02:00
Aevann 1e832b0027 Revert "remove hidevotedon"
This reverts commit d8cf302a43.
2023-03-15 08:03:11 +02:00
Aevann a068d22213 more fixes 2023-03-15 06:47:47 +02:00
Aevann f768d81103 keep db sessions open 2023-03-15 05:58:00 +02:00
Aevann 984aecec9a destroy the shadow realm (#135)
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: #135
2023-02-27 15:38:12 +00:00
Aevann 8c495c914a default ratelimit doesnt apply implicitly if theres other @limiter.limit before the function, so add it explicity before all functions 2023-02-26 10:41:04 +02:00
Aevann 7aaeedea36 better ratelimiting 2023-02-26 03:42:39 +02:00
Aevann 3efa1dfb04 remove unnecessary timeouts in cache.memoize 2023-02-02 02:42:47 +02:00
Aevann d38a9b8010 nerf "request" category 2023-01-28 12:45:51 +02:00
Aevann db24ff06e7 restore /comments 2023-01-25 13:10:58 +02:00