Commit Graph

254 Commits (1f6a31617b96ed55156f2f419ae614bbe5de4d3c)

Author SHA1 Message Date
Aevann 4b69ff1b0d improve css_url_regex 2023-09-15 04:40:53 +03:00
Aevann e824a3a476 put all youtube regexes next to eachother like reddit 2023-09-15 04:25:38 +03:00
Aevann e78a6f539d remove unnecessary slash 2023-09-15 04:24:16 +03:00
Aevann e74926a5a3 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4941566#context 2023-09-15 04:23:38 +03:00
Aevann 7c1520d37d minor unnecessary improvement to a couple of regexes 2023-09-15 04:23:15 +03:00
Aevann efa82d4c32 remove unnecessary youtube archival that doesnt even work 2023-09-15 04:19:09 +03:00
Aevann 407f718613 add .title() slur replacer (tested on staging, max time it delayed the request by was 20 milliseconds, worth it IMO) 2023-09-14 23:46:20 +03:00
Aevann 5e6ebb3599 only add ?context=8 to comment links 2023-09-14 03:32:22 +03:00
Aevann 03b33deb26 allow subreddit links to get converted to old.reddit.com too 2023-09-14 03:30:47 +03:00
Aevann e375e44645 remove unnecessary dashes 2023-09-14 03:23:24 +03:00
Aevann 4dbd55d372 simplify regex 2023-09-14 03:11:00 +03:00
Aevann 497a39e266 remove unnecessary garbage from reddit_domain_regex 2023-09-14 03:09:32 +03:00
Aevann 54717e21b1 replace reddit.com/user/blahblah too 2023-09-14 03:06:54 +03:00
Aevann 7996feacc5 use proper order in regex (doesnt rly matter) 2023-09-09 01:53:47 +03:00
Aevann b3d61fb515 dedup shit and make it work in all contexts 2023-09-09 01:41:17 +03:00
Aevann ee5748abd1 rename variable to prevent future confusion 2023-09-09 01:31:18 +03:00
Aevann ca9482b520 the final solution to reddit /s/ links --- in posts only 2023-09-09 00:32:23 +03:00
Aevann 99f28d1355 like last commit 2023-09-08 22:02:41 +03:00
Aevann 8419fcc265 css_url_regex improvement 2023-09-08 22:02:10 +03:00
Aevann c84c508962 Revert "destroy the /s/ menace"
This reverts commit f84ba52d9c.
2023-09-08 21:12:49 +03:00
Aevann f84ba52d9c destroy the /s/ menace 2023-09-08 21:08:02 +03:00
Aevann 9828c6781f put all reddit regexes together 2023-09-08 21:00:04 +03:00
Aevann 33f8d5a88c minor rename for less future confusion 2023-09-08 20:56:23 +03:00
Aevann 6a30528634 fix edge case + add warning for future me 2023-09-08 20:11:55 +03:00
Aevann 2a91531599 fix url("https://i.rdrama.net/someimage.webp"); not being accepted 2023-09-08 19:31:40 +03:00
Aevann 74b60a1854 improvement since ) is optional if its the last characters 2023-09-07 21:32:43 +03:00
Aevann 67d86bc53d fix css_url_regex 2023-09-07 16:04:10 +03:00
Aevann 9386a55933 better fix to ip exploit 2023-09-07 15:25:09 +03:00
Aevann 4a0e216c28 improve css_url_regex 2023-09-06 15:54:49 +03:00
Aevann 0c66183986 fix 1-letter and 2-letter names not accounted for 2023-08-18 21:59:13 +03:00
Aevann ab26a09e61 there can be 2-letter subreddit (like /r/de) 2023-08-18 21:58:55 +03:00
Aevann 88bfaa3326 allow carp to delete image assets 2023-08-17 03:07:13 +03:00
Aevann ccdb853266 add unnecessary backslashes 2023-08-17 02:48:15 +03:00
Aevann 02e98b6a91 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4813698#context 2023-08-17 02:08:25 +03:00
Aevann cb48c6428d add escape in regex (unnecessary) 2023-08-16 22:07:33 +03:00
Aevann fa222922b9 fix reddit-app-generated links 2023-08-16 00:18:48 +03:00
Aevann 99b0aab584 make sharpen award not affect codeblocks 2023-08-15 23:11:05 +03:00
Aevann c20513b7ca remove leftover code breaking shit 2023-08-14 14:56:55 +03:00
HeyMoon 341be49a31 Fix rumble orgies (#193)
Aevann broke it 😭😭😭 HeyMoon fixed it 😎😎😎

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: #193
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-08-12 21:33:37 +00:00
Aevann 77ddfa6a7b fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4788376#context 2023-08-12 17:17:55 +03:00
top 6ce7a042ea Update emoji regex (#185)
Quick change to double the emoji regex since I've added a shitload of new modifiers that can all be used together

Prevented marseys such as :marseytransgenocidegenocidepattalking: from working

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: #185
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-10 12:36:58 +00:00
Aevann aa5a56aec7 decrease edge chance from 5% to 1% 2023-08-07 16:11:10 +03:00
Aevann 008e0c9791 add #coinflip 2023-08-06 11:07:48 +03:00
Aevann 3811babd75 discord changed their username scheme 2023-08-06 10:42:31 +03:00
Aevann e50de38705 apparently reddit subs can be 2 letters (like /r/de) 2023-08-06 10:39:56 +03:00
Aevann dc59bfc5a5 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4738827#context 2023-08-06 05:47:12 +03:00
Aevann 1977941bb3 dont execute image_sub_regex in code or links 2023-08-06 05:41:53 +03:00
Aevann 3330c2517f total tracking parameter death 2023-08-05 21:51:09 +03:00
Aevann c7b7eb26e1 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4693984#context 2023-08-05 18:47:29 +03:00
Aevann 175a3df9a8 fix regex 2023-08-03 13:27:29 +03:00