forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

1197 Commits (940963809e03b48d18a69f3162fc6328551ef6bf)

Author SHA1 Message Date
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
Aevann 718951f6a6 make it possible to message someone by id 2023-07-11 15:30:44 +03:00
Aevann 54137299ac same as last commit 2023-07-10 04:24:58 +03:00
Aevann 2a785acd5b same as last commit 2023-07-10 04:23:00 +03:00
Aevann 05040a4224 fix 500 error 2023-07-10 04:21:47 +03:00
Aevann 02acb35752 use claim_rewards_all_users everywhere 2023-07-10 04:17:31 +03:00
Aevann e7e2b49c84 remove console spam that scrolls me to the bottom 2023-07-10 03:30:30 +03:00
Aevann fca27c37eb remove unnecessary v shit 2023-07-08 16:32:14 +03:00
Aevann 9652c13286 cache /leaderboard for 24hrs 2023-07-08 16:22:14 +03:00
Aevann d84b3220c3 test leaderboard in wpd 2023-07-08 16:09:58 +03:00
Aevann f11f58ed81 fix typo 2023-07-07 23:40:19 +03:00
Aevann 6747557a95 fix this https://rdrama.net/post/185672/the-best-advice-i-ever-received/4524955#context 2023-07-07 08:41:57 +03:00
Aevann 7ed0b8b494 improve GLOBAL 2023-07-05 21:44:57 +03:00
Aevann 9f8ffb528b fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4496247#context 2023-07-05 21:36:13 +03:00
Aevann 3e6622c511 cleanup in aisle 4 2023-07-03 03:26:20 +03:00
Aevann 2eeb0dcbdf disable leaderboard in wpd temporarily 2023-06-30 23:38:59 +03:00
Aevann 778f4f045e rename variable 2023-06-29 23:10:31 +03:00
Aevann 8bd657b726 add /blockers and /blocking to profile pages 2023-06-24 20:39:50 +03:00
Aevann 5fe6c599df make the unblockable and fish notifs actually get sent 2023-06-24 20:34:07 +03:00
Aevann af1581be66 update emoji leaderboard description 2023-06-24 17:50:44 +03:00
Aevann d9bed378a9 complement 32fa466e6a 2023-06-23 16:46:42 +03:00
Aevann a15d5eabef rename "agendaposter" to "chud" 2023-06-23 14:07:47 +03:00
Aevann a404210cc7 fix one-time donations not getting registered 2023-06-14 01:21:49 +03:00
Aevann 9e7c417f52 try to fix /gumroad 2023-06-14 00:55:25 +03:00
Aevann f9a72d1ea9 stop modmail notif spam 2023-06-08 06:52:23 +03:00
Aevann d7d44606ac add "saves" and "subscriptions" sorts everywhere 2023-06-08 04:56:12 +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 1b501c1d17 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4183836#context 2023-06-07 21:22:46 +03:00
Aevann 0f6b36f40b fix 500 error 2023-05-20 03:16:45 +03:00
Aevann 75cb768bed fix wrong modmail if statement 2023-05-17 19:23:16 +03:00
Aevann cd88e4a4d6 fix wrong logic for modmail notifs 2023-05-15 12:36:52 +03:00
Aevann 5c4e0a5b79 stacked changes 2023-05-15 12:27:24 +03:00
Aevann f69d73d82d do this https://rdrama.net/post/170459/paypigs-poll-on-tier-badges 2023-05-15 01:24:13 +03:00
Aevann 460a9a686a show tier name in tooltip + standardize patron constants 2023-05-15 01:17:22 +03:00
Aevann 3287053ab3 clearer leaderboard titles and whatnot 2023-05-14 03:13:40 +03:00
Aevann e52fd57141 Add marseybux leaderboard 2023-05-14 02:23:09 +03:00
Aevann d0f07a781b fix leaderboard description 2023-05-14 02:06:55 +03:00
Aevann 864f770762 add namelock award 2023-05-13 07:53:14 +03:00
Aevann 6eff7abe49 replace "bots" with "BOT_IDs" 2023-05-13 01:29:34 +03:00
Aevann f3a3be1ef2 add lifetime_donated badges 2023-05-13 00:04:26 +03:00
Aevann 586bd02db0 remove unnecessary entries 2023-05-12 23:33:50 +03:00
Aevann 1d1f3d1a3b dont give me modmail notifs on WPD (if its important they'll tell me) 2023-05-12 22:37:26 +03:00
Aevann 519fbef9a7 rename dm_images to dm_media 2023-05-12 18:27:46 +03:00
Aevann f1275793e7 minor fix to annoying unique constraint errors 2023-05-10 19:30:47 +03:00
Aevann 3699aa5b84 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4113483#context 2023-05-09 23:39:30 +03:00
Aevann c5d1662566 same as prev commit 2023-05-07 21:35:11 +03:00
Aevann d3cf9a6116 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4106096#context 2023-05-07 21:25:37 +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 c87242270b fix this https://rdrama.net/h/meta/post/168273/toggle-pins-button-no-longer-works 2023-05-05 22:14:58 +03:00
Aevann 60ecfbd65b use new pagination system in /followers and /following 2023-05-05 09:01:14 +03:00
Aevann af74a752ad use new pagination system in /@<username>/blockers 2023-05-05 08:57:02 +03:00
Aevann d9aeb1f111 dedup page defining 2023-05-05 08:23:59 +03:00
Aevann 7a4c2a1091 fix 500 error 2023-05-05 04:40:30 +03:00
Aevann 5d1737c16c use new pagination system in profile views 2023-05-05 04:08:40 +03:00
Aevann 74bc00199d implement new pagination system in profile pages 2023-05-05 04:04:07 +03:00
Aevann 0dc8b5ccb1 don't use pomf for DM images anymore and allow for video and audio in DMs 2023-05-05 00:52:37 +03:00
Aevann cd089f2445 don't cache profile song redirect 2023-05-04 22:24:47 +03:00
Aevann 2d5a1ad95e delete the holes filter button 2023-05-04 19:48:30 +03:00
Aevann 9c64b891e5 revise my exceptions 2023-05-04 19:24:40 +03:00
Aevann f5a97ae709 add new patron tier for benefactor-cels 2023-05-03 18:29:31 +03:00
Aevann 744c95f7ca lock user profiles from logged-out-cels 2023-05-03 17:50:42 +03:00
Aevann f1c66a31e3 add P̵͇̕S̶̔̇Ȳ̴͙C̶͋͗H̵͒̉O̴̎̍ tier to WPD 2023-05-02 22:27:39 +03:00
Aevann 8ef54cb720 fix 500 errors 2023-04-29 15:33:29 +02:00
Aevann b46bd80c97 move location in /kofi 2023-04-28 12:02:10 +02:00
Aevann 58ea68306a more accurate created_utc from gumroad tx 2023-04-27 18:17:00 +02:00
Aevann 9ad113fdaa print gumroad webhook data for testing 2023-04-27 18:09:50 +02:00
Aevann c50d97a343 print kofi IP 2023-04-27 18:09:19 +02:00
Aevann 3576dec07f dont ratelimit /gumroad and /kofi 2023-04-27 17:54:42 +02:00
Aevann 507924b8a3 fix modmail replies not generating notifs and unread modmail replies being collapsed and not being highlighted 2023-04-25 13:48:25 +02:00
Aevann b952de3cee restore "downvotes received" leaderboard 2023-04-25 11:50:47 +02:00
Aevann bde4b10813 put "upvotes given" at the bottom 2023-04-25 11:38:42 +02:00
Aevann 8f7a0bc4e7 restore upvotes given leaderboard (testing on dev.rdrama.net) 2023-04-25 10:59:26 +02:00
Aevann a37fca393d combined buy button for awards and hats 2023-04-24 17:08:40 +02:00
Aevann c4263c9439 fix prev commit 2023-04-02 10:04:32 +02:00
Aevann 5bc6597188 add 1/1 second ratelimiter for user ids to fix blackjack exploit 2023-04-02 08:52:26 +02:00
Aevann 96330210e8 use SITE as a prefix for flask_cache 2023-03-25 22:57:27 +02:00
Aevann 6e713ca930 revert the new comments system 2023-03-25 20:25:38 +02:00
Aevann f0ab7f7490 claim the paypig awards on the highest truescore account of accounts using the same email 2023-03-25 15:29:32 +02:00
Aevann 4ecb552169 comments overhaul 2023-03-24 18:30:27 +02:00
Aevann e1e05c799d dont barf up the whole comment chain when clicking "more comments" in /@<username>/comments 2023-03-24 18:09:12 +02:00
Aevann 71b97c1a15 check for existing in /gumroad 2023-03-23 15:33:57 +02:00
Aevann 28b4f07493 minor syntax change 2023-03-23 15:25:44 +02:00
Aevann dab55d53c9 make sure all votes are there in /@<username>/comments 2023-03-22 22:14:12 +02:00
Aevann afdf3ebc78 fix 500 error for loggedout-cels 2023-03-22 21:55:24 +02:00
Aevann 1971dc1b73 improve /@<user>/comments 2023-03-22 21:53:59 +02:00
Aevann 177ed092d0 use set in /<user>/comments (doesnt rly matter i just have OCD) 2023-03-22 21:40:04 +02:00
Aevann 5b8da52ab8 fix duplicate comments in /@<user>/comments 2023-03-22 21:39:50 +02:00
Aevann 5b61df70a6 fix last comment 2023-03-22 19:11:04 +02:00
Aevann 3e122bbd59 show parent comment in /@username/comments 2023-03-22 19:02:04 +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 a392fbb86d restore autoflush 2023-03-16 06:21:57 +02:00
Aevann c6a7051200 flush instead of committing inside requests 2023-03-15 07:19:35 +02:00
Aevann f768d81103 keep db sessions open 2023-03-15 05:58:00 +02:00
Aevann 096fb962f1 remove notify_jannies_of_grooming 2023-03-15 04:20:56 +02:00
Aevann bd2355007c remove retarded ratelimit 2023-03-13 21:26:38 +02:00
Aevann 0f62958024 minor fix 2023-03-12 10:31:17 +02:00
Aevann ccf6ccd468 same as last commit 2023-03-11 11:50:29 +02:00
Aevann 2ed9571176 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3754221#context 2023-03-10 04:21:57 +02:00
Aevann 77e7663476 remove leftover shit 2023-03-08 08:01:53 +02:00
Aevann 56fe72d294 better tier logic in claim_rewards 2023-03-07 16:22:25 +02:00
Aevann 2ac830467b use STARS const 2023-03-06 22:49:01 +02:00
Aevann 0c91650a1d remove jc insanity 2023-03-06 00:50:06 +02:00
Aevann 01f671d19a remove the .json endpoints 2023-03-03 03:53:04 +02:00
Aevann 117624f313 add session["GLOBAL"] 2023-03-02 22:29:22 +02:00
Aevann 82af0d4528 fix not being able to see ur own replies in DMs 2023-02-28 22:52:43 +02:00
Aevann 86b0d2f5c1 fix comments not appearing 2023-02-27 18:16:12 +02:00
Aevann 984aecec9a destroy the shadow realm (#135)
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#135
2023-02-27 15:38:12 +00:00
Aevann 668499846b try to fix mbux bug 2023-02-27 17:02:45 +02:00
Aevann 9559c6e93a hide ghosts in push notifs 2023-02-27 15:35:53 +02:00
Aevann 17bb6dad48 blackjack fix exploit 2023-02-27 07:33:45 +02:00
Aevann 9a618508f7 consistency 2023-02-27 02:48:19 +02:00
Perjury 20bbc9ff24 Pointless bullshit checks for people who like to use mitmproxy a bit too much (#134)
Does it do anything meaningful? No
Does it do anything harmful? No
Did I test it? uhhhhhm

Co-authored-by: Perjury <perjury@sabotaged.email>
Reviewed-on: rDrama/rDrama#134
Co-authored-by: Perjury <perjury@noreply.fsdfsd.net>
Co-committed-by: Perjury <perjury@noreply.fsdfsd.net>
2023-02-27 00:47:51 +00:00
Aevann 6ac9b32834 allow positioning of files 2023-02-26 14:08:37 +02:00
Aevann fe0b8887bc change 1/second ratelimit to 1/2 second 2023-02-26 12:26:26 +02:00
Aevann 3a07858639 revert back from \n to \n\n for easier to read source and making linefeeds work when theres <pre> or ``` 2023-02-26 12:20:32 +02:00