Commit Graph

1214 Commits (ee3b1a5e06b316b43446fa9acfec0c780cc8bce9)

Author SHA1 Message Date
Aevann fa756382d1 better paypig reward error message when no matching email found 2023-10-26 20:11:35 +03:00
Aevann cae4ba38cf consistency in webhook ip printing 2023-10-25 11:52:40 +03:00
Aevann b81bc4d687 remove unnecessary 2023-10-24 19:28:20 +03:00
Aevann 032472968c fix case-sensitive emails 2023-10-24 18:01:06 +03:00
Aevann 2c509be171 dont abort 2023-10-23 23:56:42 +03:00
Aevann 1fa2d7b291 deploy /bm 2023-10-23 21:42:23 +03:00
Aevann 3e26b1f59a add "insert transaction" form 2023-10-18 21:17:50 +03:00
Aevann 5496e2b6bc dont look mbux-received to tiers, and instead just multiply by 500 2023-10-13 15:31:12 +03:00
Aevann b39c2ad216 use audio tags so i can use preload="None" and hopefully help site speed 2023-10-12 22:58:28 +03:00
Aevann 3f9913fc7f stop using 204 2023-10-10 22:34:38 +03:00
Aevann 11e15a0b24 remove KOFI_TOKEN2 2023-10-10 21:32:09 +03:00
Aevann 62d1940a8f sub -> hole 2023-10-07 20:55:50 +03:00
Aevann 02f8e8b733 print-debugging 2023-10-06 15:20:44 +03:00
Aevann c592d8a958 same as last commit 2023-10-06 14:43:29 +03:00
Aevann de72ba49eb add /bm 2023-10-06 14:38:58 +03:00
Aevann 4bcd56c17d remove print-debugging 2023-10-05 17:46:58 +03:00
Aevann 7ff7b29249 print-debugging 2023-10-05 17:45:30 +03:00
Aevann 61d2d621f1 add KOFI_TOKEN2 2023-10-05 16:23:47 +03:00
Aevann 019621490a refactor can_see and use it more 2023-10-05 13:09:58 +03:00
Aevann d952bf49db Revert "refactor can_see and use it more"
This reverts commit a0cf583460.
2023-10-05 12:55:35 +03:00
Aevann 74587b12da use can_see_shadowbanned 2023-10-05 12:44:42 +03:00
Aevann e1872dceff message2 -> message 2023-10-05 12:27:33 +03:00
Aevann a0cf583460 refactor can_see and use it more 2023-10-05 12:22:05 +03:00
Aevann d44bd1241c dont generate notifs that wont be seen 2023-10-05 11:48:49 +03:00
Aevann 544adc4de6 allow jannies to get all kinds of notifs from shadowbanned users 2023-10-04 22:34:00 +03:00
Aevann c3870505ea use get_user whenever possible instead of repeating code 2023-09-27 00:57:33 +03:00
Aevann 0bfeabd682 Revert "remove unnecessary response code"
This reverts commit f7e4c77898.
2023-09-27 00:30:03 +03:00
Aevann e7ab0be33b make /notifications/messages LIVE 2023-09-26 23:05:39 +03:00
Aevann f7e4c77898 remove unnecessary response code 2023-09-26 18:20:43 +03:00
Aevann b49b2d0381 handle edges cases when redirecting 2023-09-20 16:54:34 +03:00
Aevann 17bef3e42b better headers 2023-09-15 18:46:58 +03:00
Aevann c7d09a5c0a add average upvotes leaderboards 2023-09-15 17:26:20 +03:00
Aevann f392c6bb9c disallow permabanned-cels from all POST endpoints that require auth except /reply /contact /delete/post /delete/comment 2023-09-14 19:49:46 +03:00
Aevann 6ee03f143b more intuitive css urls for easier css sharing 2023-09-07 19:16:13 +03:00
Aevann 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +03:00
Aevann e6883ba613 add /@<username>/muters and /@<username>/muting 2023-09-07 12:35:06 +03:00
Aevann 6662eb0606 do this https://rdrama.net/h/countryclub/post/79285/-/4899909#context 2023-09-06 21:02:47 +03:00
Aevann f97552b076 handle error 2023-09-06 17:25:01 +03:00
Aevann 78ba2f4a62 dont cache notification count in /leaderboard to prevent user confusion 2023-09-05 22:10:49 +03:00
Aevann f5b8147567 fix sunshine annoyance 2023-09-05 21:28:59 +03:00
Aevann 462bb23e6d remove unused JL0 perms (bloat) 2023-09-05 15:30:16 +03:00
Aevann ef6ead1f82 handle edge case when a new user tried to DM a janny and gets undersieged, resulting in duplicate notifications 2023-09-05 15:04:27 +03:00
Aevann a113e15ba2 fix prev commit 2023-09-04 21:48:06 +03:00
Aevann 19ac58bce1 remove redundant perm 2023-08-31 14:04:51 +03:00
Aevann d6cbbc05c6 simplar syntax 2023-08-31 13:46:07 +03:00
Aevann df45eb3c57 rename some perms 2023-08-31 13:38:01 +03:00
Aevann 7ce4e34453 user PERMS whenever u can 2023-08-31 13:31:04 +03:00
Aevann 8d84748c42 add spaces for consistency 2023-08-24 00:57:39 +03:00
Aevann bccc2fb35f same as last commit 2023-08-23 00:39:04 +03:00
Aevann e1d6c97465 Revert "use gevent.with_timeout whenever u can"
This reverts commit eb0af76e46.
2023-08-20 19:24:53 +03:00
Aevann eb0af76e46 use gevent.with_timeout whenever u can 2023-08-20 19:14:02 +03:00
Aevann 8097c16b55 remove now-unnecessary lines relating to int vals 2023-08-20 19:03:34 +03:00
Aevann e1eecfc0f2 make sure shadowbanned-cels cant generate push notifs 2023-08-20 05:36:43 +03:00
Aevann 4993c3a889 remove auto-flush to reduce average lock duration 2023-08-20 05:00:35 +03:00
Aevann 39098fe323 kitchen sink commit 2023-08-12 00:50:23 +03:00
Aevann 45be4132ce remove fish award 2023-08-11 16:18:13 +03:00
Aevann 3ec2038caf same as last commit 2023-08-11 16:15:34 +03:00
Aevann 9127b58a36 order votes by vote creation 2023-08-10 20:23:33 +03:00
Aevann 5f8bc0442b per carp request, dont use user_cards for badge owners and hat owners 2023-08-08 17:49:00 +03:00
Aevann ed34558f33 remove unnecessary .all() 2023-08-05 22:26:42 +03:00
Aevann 13173376a4 use usernames instead of ids in GET urls visible to users whenever u can 2023-08-05 19:03:14 +03:00
Aevann 4918e284d5 minor fix to winnings leaderboards 2023-08-04 01:14:16 +03:00
Aevann c3d32fa344 testing complete 2023-08-04 01:01:34 +03:00
Aevann b95ffac73b restore winnings leaderboards (testing on staging) 2023-08-04 00:57:50 +03:00
Aevann 1b8cc20659 fix capitalization 2023-08-04 00:38:36 +03:00
Aevann 144d7a31be rename is_activated to email_verified 2023-08-03 11:02:31 +03:00
Aevann 69ec9dab2f fix top 10 patrons badge 2023-08-01 10:16:47 +03:00
Aevann 6fcea07e46 comment broken code 2023-08-01 10:00:20 +03:00
Aevann 106f8da561 add badge to top 10 patrons by lifetime_donated 2023-08-01 09:43:50 +03:00
Aevann 10d138db5d fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4691321#context 2023-08-01 02:12:42 +03:00
Aevann 6e9d3d68dc strip after not before 2023-07-30 09:20:02 +03:00
Aevann 8beb2d7e8e remove typing (useless code bloat) 2023-07-30 03:42:06 +03:00
Aevann e1853befaa restore needful .strip() 2023-07-29 22:17:50 +03:00
Aevann 7c462bc17f remove a bunch of unnecessary/confusing garbage 2023-07-29 22:13:37 +03:00
Aevann 16dfd64cdc add spaces 2023-07-27 22:49:36 +03:00
Aevann 5cbb2c7428 dont select all user columns when updating 2023-07-27 22:49:36 +03:00
Aevann ffba8b3b2d only query the columns u need 2023-07-26 15:31:44 +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 333e1329f9 move some functions to the top to help with making the next commit 2023-07-25 23:06:18 +03:00
Aevann 8222711e56 remove testing shit 2023-07-25 21:57:09 +03:00
Aevann e9e6ed5c7f test in wpd too 2023-07-25 21:54:26 +03:00
Aevann ce3e62b128 test smth 2023-07-25 21:52:29 +03:00
Aevann 645af47309 dont allow ppl to reply to normal comments like they're a message, @ThousandBestLives did this 2023-07-22 22:43:29 +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 e353e67f19 fix this https://rdrama.net/@Aevann/wall/comment/4624316#context 2023-07-21 15:26:43 +03:00
Aevann 851329acb0 mute annoying error 2023-07-18 20:39:55 +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 6576934dca Revert "fix wrong coin and mbux count in /leaderboard"
This reverts commit 1359384560.
2023-07-13 16:03:04 +03:00
Aevann 1359384560 fix wrong coin and mbux count in /leaderboard 2023-07-13 15:59:34 +03:00
Aevann 5e6fb299dc fix typo 2023-07-13 13:50:36 +03:00
Aevann cbd23b53d9 flush 2023-07-12 14:59:27 +03:00
Aevann 8c95a9e9d2 combine endpoints 2023-07-12 04:13:40 +03:00
Aevann 05fd2c60dd consistency 2023-07-12 04:11:47 +03:00
Aevann e5aaca4a18 consistency 2023-07-12 04:10:55 +03:00
Aevann 90824d0f5f another fix 2023-07-12 04:09:02 +03:00
Aevann 7356d52edc another fix 2023-07-12 04:07:58 +03:00
Aevann 251ed10cec Revert "Revert "make it possible to message someone by id""
This reverts commit fd17dab06c.
2023-07-11 20:55:38 +03:00
Aevann 8e57ece096 make it possible to message someone by id 2023-07-11 17:36:46 +03:00
Aevann fd17dab06c Revert "make it possible to message someone by id"
This reverts commit 718951f6a6.
2023-07-11 17:31:07 +03:00