Commit Graph

269 Commits (31337145c4128c2839316d4a229be9fbaa474210)

Author SHA1 Message Date
Aevann 31337145c4 Revert "fix reddit user /s/ links without having to visit them"
This reverts commit 0cb0015127.
2023-10-06 20:11:20 +03:00
Aevann 8ec133087e remove unnecessary 2023-10-06 20:01:51 +03:00
Aevann 0cb0015127 fix reddit user /s/ links without having to visit them 2023-10-06 19:51:23 +03:00
Aevann c4d4d864ae compile search regex 2023-10-05 19:14:17 +03:00
Aevann 20f2db34e9 make a comment like this embed https://rdrama.net/h/countryclub/post/207073/-/5059583#context 2023-09-29 09:27:59 +03:00
Aevann a4071ba6b6 remove numbered lists generated by "1)" 2023-09-29 07:12:41 +03:00
Aevann 04c063bc0d fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/5053497#context 2023-09-26 21:09:37 +03:00
Aevann a9b078007e refactor slurs and profanities and put them in their own file 2023-09-22 20:01:30 +03:00
Aevann 0cbcc6ba3f fix bug with cat slur filter 2023-09-22 10:11:09 +03:00
Aevann f35f495b17 add this https://rdrama.net/h/countryclub/post/79285/-/5029126#context 2023-09-21 23:02:12 +03:00
Aevann 8efb8de6cb rename a variable for clarity 2023-09-21 22:32:59 +03:00
Aevann c930c21004 move some shit out of const.py into regex.py 2023-09-20 18:43:00 +03:00
Aevann 577ca190be fix this https://rdrama.net/post/205335/potential-huge-drama-for-reddit-fricking/5016437#context 2023-09-20 18:41:17 +03:00
Aevann 1eabaca2c1 use search-new + unify reddit profile url 2023-09-18 21:26:21 +03:00
Aevann c5511541d5 apparently s_urls are a thing in profile posts too https://rdrama.net/post/204924 2023-09-17 22:33:57 +03:00
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