Commit Graph

1077 Commits (6ba28d22226f3f0333450e39d7aa78eeefbbad48)

Author SHA1 Message Date
Aevann 3a851a09cb fix this https://rdrama.net/h/slackernews/post/221597/is-wikipedian-rslured/5393132#context 2023-11-17 09:16:28 +02:00
Aevann ca3b5a31fa fix shit being marked as nsfw in WPD 2023-11-16 17:47:52 +02:00
Aevann 39123997f0 unquote url after normalizing too (some forums have the path inside a query parameter and quoting breaks their links)
https://rdrama.net/search/posts/?q=%3Fforums
2023-11-16 15:14:39 +02:00
Aevann c33798965f add route to whitelisted keys 2023-11-15 14:52:47 +02:00
Aevann 461567c699 replace fxtwitter 2023-11-15 09:59:17 +02:00
Aevann e7ecde3415 fix youtube nonsense 2023-11-15 09:47:52 +02:00
Aevann 093e75da94 fix prev commit 2023-11-15 00:24:21 +02:00
Aevann 995c2f2cc9 whitelist valueless keys 2023-11-15 00:20:01 +02:00
Aevann a19ea08222 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/5315238#context 2023-11-04 23:28:44 +02:00
Aevann 0a4d315017 fix last commit 2023-11-04 22:58:12 +02:00
Aevann 5dd3e841cd fix this https://rdrama.net/post/217764/when-donny-has-been-a-naughty/5314887#context 2023-11-04 22:54:29 +02:00
Aevann b30d19a376 put kind in blackjack mod note and ban reason 2023-10-31 23:34:58 +03:00
Aevann b2dca32181 add <blink> support 2023-10-28 22:21:26 +03:00
Aevann 8b4682268e fix sharpen + chud with "trans women are women" phrase 2023-10-27 02:16:49 +03:00
Aevann 409c9ad75b nasty hack to fix this https://rdrama.net/post/215249/i-saved-a-dramatards-life/5251156#context 2023-10-27 01:25:41 +03:00
Aevann a6f3a4a05b fix this https://rdrama.net/post/214596/do-you-think-student-hiking-groups/5238784#context 2023-10-26 19:55:29 +03:00
Aevann 772721fdbc dont use proxy here cuz its times out 2023-10-24 18:15:52 +03:00
Aevann 83e8c07279 fix this https://rdrama.net/h/countryclub/post/214272/-/5229069#context 2023-10-23 18:17:07 +03:00
Aevann f7353a931a print normalize_url_gevent errors 2023-10-20 18:53:14 +03:00
Aevann 063fd1e322 perserve case in ping group mentions 2023-10-15 18:34:51 +03:00
Aevann f6f254307f dedup effortpost protection and raise the limit from 1k to 3k characters 2023-10-15 16:54:29 +03:00
Aevann e63df33a2a patch hole https://imgur.com/a/2xPrzrZ 2023-10-15 16:15:39 +03:00
Aevann 1f0dd04406 rename column and award kind 2023-10-13 22:04:45 +03:00
Aevann 9f6042ce50 make chud award work with owoify award 2023-10-13 21:56:48 +03:00
Aevann fcac9b50be like last commit but better 2023-10-13 21:49:21 +03:00
Aevann 4a6cd663cd make chud award work with marsify award 2023-10-13 21:17:50 +03:00
Aevann 672fee15ef actually fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/5162971#context 2023-10-12 23:49:04 +03:00
Aevann a7bdf87255 fix this https://rdrama.net/h/sandshit/post/211264/israel-cannot-confirm-the-specific-claim/5158807#context 2023-10-12 21:59:26 +03:00
Aevann 38e836f804 fix 500 error 2023-10-12 21:19:40 +03:00
Aevann f58b6605a4 fix 500 errors 2023-10-11 23:53:12 +03:00
Aevann 678faa9e73 make it not possible for a post to have "queen" or "sharpened" css class without having the body replacements (through editing above the 1000 mark) 2023-10-11 23:18:52 +03:00
Aevann 8877e41dd9 replace redd.it links too 2023-10-10 22:12:19 +03:00
Aevann bbdd279772 disallow bounce cide repititive nesting 2023-10-10 21:59:48 +03:00
Aevann 15a4b3e70f handle reddit timing out 2023-10-08 21:24:28 +03:00
Aevann 39f7283f53 better error messages 2023-10-07 22:16:40 +03:00
Aevann 2b8c076249 fix this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/5118144#context 2023-10-07 22:15:28 +03:00
Aevann 62d1940a8f sub -> hole 2023-10-07 20:55:50 +03:00
Aevann 625ff6b006 more consistency between body-altering awards + effortpost protection 2023-10-07 18:35:16 +03:00
Aevann a2503e3a5b dont proceed with sanitizing if blackjack 2023-10-07 18:06:08 +03:00
Aevann 06001dd9e6 move some regex to regex.py for consistency 2023-10-07 17:58:45 +03:00
Aevann f83427bb12 prevent retards from doxing themselves through tiktok links - comment edition 2023-10-06 22:22:11 +03:00
Aevann 1fd6295e8c prevent retards from doxing themselves through tiktok links - post edition 2023-10-06 22:10:06 +03:00
Aevann d1108f1fad emote -> emoji 2023-10-06 21:56:56 +03:00
Aevann 19e293f73a use the superior u over user for consistentcy with other regex 2023-10-06 20:14:18 +03:00
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 0cb0015127 fix reddit user /s/ links without having to visit them 2023-10-06 19:51:23 +03:00
Aevann 7a4df417cb replace DONATE_LINK 2023-10-05 16:23:15 +03:00
Aevann bb7192c929 rename over_18 to nsfw 2023-10-05 13:19:50 +03:00
Aevann 8d539e6ff9 fix this https://rdrama.net/post/208836/the-bird-of-the-day-is/5101413#context crashing phones 2023-10-04 13:33:07 +03:00
Aevann 57841f00cf remove random.seed on all sites by devrama (potential exploit) 2023-10-04 12:56:28 +03:00
Aevann 43822b3322 add nsfw emojis 2023-09-29 10:15:29 +03:00
Aevann b74ba0a317 get rid of some TODOs 2023-09-29 06:19:51 +03:00
Aevann 0455ad4910 capitalization consistency 2023-09-29 04:29:14 +03:00
Aevann dbb856bd70 embed live youtube urls https://rdrama.net/post/207580/critical-update-yale-rpe-student-takes 2023-09-29 04:11:13 +03:00
Aevann e998234a9e Revert "dedup"
This reverts commit e530767645.
2023-09-24 22:27:36 +03:00
Aevann e530767645 dedup 2023-09-24 22:25:57 +03:00
Aevann e23b528049 minor improvement 2023-09-24 22:25:12 +03:00
Aevann bd6feec978 do this https://rdrama.net/h/chudrama/post/206086/-/5036401#context 2023-09-22 19:22:36 +03:00
Aevann 1649879a69 better solution to the transform question 2023-09-22 09:51:45 +03:00
Aevann 249a9e685f do smth i missed in a previous commit 2023-09-21 22:37:29 +03:00
Aevann 8efb8de6cb rename a variable for clarity 2023-09-21 22:32:59 +03:00
Aevann cc44c09008 hopefully-unbreakable fix to the transform issue 2023-09-21 22:12:23 +03:00
Aevann 0b15290ccf simpler fix to the transform exploit 2023-09-20 18:54:57 +03:00
Aevann 1eabaca2c1 use search-new + unify reddit profile url 2023-09-18 21:26:21 +03:00
Aevann bb87673a90 restore transform without "scale" 2023-09-18 19:28:12 +03:00
Aevann 9f505a17fd fix youtu.be links being jumbled like this https://rdrama.net/post/200792 2023-09-15 04:20:18 +03:00
Aevann db7501629c make sure useless "/" is always removed for better repost checking 2023-09-14 03:34:13 +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 3e7d558a77 letmegooglethat.com & lmgtfy.app > google.com 2023-09-13 19:35:10 +03:00
Aevann 7eaec0ce17 kill `transform` 2023-09-09 04:47:43 +03:00
Aevann c828ce3d9e make "conext=8" be in all contexts 2023-09-09 01:47:46 +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 33f8d5a88c minor rename for less future confusion 2023-09-08 20:56:23 +03:00
Aevann 76952d4f43 make mentioning someone who muted u blank to signify the lack of notif 2023-09-08 20:07:40 +03:00
Aevann 90ef380d01 allow transform 2023-09-07 22:12:47 +03:00
Aevann 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +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 c03b7faa67 Revert "fix ipgrapper exploit"
This reverts commit 06ac5df959.
2023-09-07 15:22:17 +03:00
Aevann eb049a627c make 'transform' devrama exclusive 2023-09-07 15:07:19 +03:00
Aevann 06ac5df959 fix ipgrapper exploit 2023-09-07 15:06:02 +03:00
Aevann 973667ff17 try smth on devrama 2023-09-07 12:35:37 +03:00
Aevann 50439f988f remove graceful=True from filter_emojis_only cuz its not useful at all 2023-09-06 21:14:07 +03:00
Aevann 22e7dbc6eb fix insanely long unreadable error message 2023-09-06 15:55:02 +03:00
Aevann 7facf9ff5b do this https://rdrama.net/h/countryclub/post/79285/-/4911807#context 2023-09-05 21:24:10 +03:00
Aevann 23ea663892 handle weird error 2023-08-31 16:18:52 +03:00
Aevann d6cbbc05c6 simplar syntax 2023-08-31 13:46:07 +03:00
Aevann f08c728692 use this https://rdrama.net/h/chudrama/post/200604/-/4892230#context 2023-08-30 12:02:01 +03:00
Aevann 3cf865dfec improve videos 2023-08-29 14:05:10 +03:00
Aevann f8f6e5f37f fix cnn urls broken bc of amp stripping 2023-08-24 03:57:03 +03:00
Aevann 5b1840dff3 fix kick.com links 2023-08-24 02:40:26 +03:00
Aevann 8c9191c822 fix countingdownto.com links 2023-08-23 23:24:25 +03:00
Aevann ed30144194 commit amp-cide 2023-08-23 02:37:39 +03:00
Aevann a20de69507 fix mobile wikipedia links 2023-08-23 02:16:07 +03:00
Aevann deaba5e779 Restore behavior useful for repost-checking
This reverts commit 74a112ba98.
2023-08-20 19:41:11 +03:00
Aevann 0ac19b8af0 use nitter.net again 2023-08-20 05:03:31 +03:00
Aevann 1854b38d32 why didnt top try this lol 2023-08-20 04:06:52 +03:00
Aevann c89bcc3f43 try hashtags and see what happens 2023-08-20 04:02:11 +03:00
Aevann 49bc6bbba9 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4831722#context 2023-08-20 03:52:22 +03:00
Aevann 01d8d5605a whitelist tz1 2023-08-19 01:11:42 +03:00
Aevann 78dbee5ab1 whitelist tz2 2023-08-18 21:26:45 +03:00
Aevann 7e4c8018e3 renamed the `heart` modifier to `love` 2023-08-17 18:37:30 +03:00
Aevann 1ab5968155 add .soy to supported tlds 2023-08-15 19:09:00 +03:00
Aevann fc6862188c Revert "remove <details> and <summary> from acceptaed tags bc of this https://rdrama.net/post/196663"
This reverts commit 2c3f7f291f.
2023-08-14 22:08:37 +03:00
Aevann 2c3f7f291f remove <details> and <summary> from acceptaed tags bc of this https://rdrama.net/post/196663 2023-08-14 20:47:33 +03:00
Aevann bd1ea70a1a - make rainbow, sharpen, queen not retroactive
- make sharpen fully affect all future posts
- make old posts and comments affected by these awards unfixable after they expire
2023-08-14 14:00:29 +03:00
Aevann ebe2606e7e minor reordering 2023-08-14 10:09:27 +03:00
Aevann 1c113c6ba5 replace x.com with twitter.com 2023-08-14 10:07:31 +03:00
Aevann 74a112ba98 some sites break when u strip / 2023-08-14 00:51:23 +03:00
Aevann b06fc47a02 restrict the behavior added in last commit to post titles only 2023-08-13 17:23:47 +03:00
Aevann 990791e59b do this https://rdrama.net/h/countryclub/post/79285/-/4788305#context 2023-08-13 17:22:04 +03: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 ef77784d7a Final solution to the saltus question (#190)
See https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4783702#context

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: #190
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-12 11:04:31 +00:00
Aevann c2701b2aeb fix this #192 2023-08-12 14:00:52 +03:00
Aevann 5eb2c0dc27 add !followers 2023-08-11 16:34:56 +03:00
Aevann 3ec2038caf same as last commit 2023-08-11 16:15:34 +03:00
top de1cb6f817 Adds marseylove (marseyheart so it doesn't interfere with marseylove) (#184)
This was the emoji modifier I wanted to add all along, seems to work well with all of the other modifiers.

Made the modifer :-heart: so that it doesn't interfere with all of the current love emotes that everyone put so much work into.

Check out the screenshot for how it looks locally.

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: #184
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-10 12:36:32 +00:00
Aevann 357e682077 whitelist all pullpush.io parameters 2023-08-09 18:48:38 +03:00
Aevann 95deb197a5 remove leftover print statement (@top is literally me) 2023-08-09 16:23:06 +03:00
Aevann 44b30048e4 scratch that, just make the fraud impossible 2023-08-09 12:28:21 +03:00
Aevann 72215411bb make it easier to detect golden, glow, party fraud 2023-08-09 12:26:44 +03:00
Aevann 290117a72c fix this https://rdrama.net/post/195315/actual-proof-that-plsnope-isnt-doe666/4763105#context 2023-08-09 11:57:28 +03:00
top 3558a41860 Adds marseycide! (#182)
Fun modifier for emotes that some people had asked about here: https://rdrama.net/post/194966/ricecop-gets-5-years-for-watching/4753853#context

-Doesn't work with reverse due to the way transform works. Might come up with a solution to that later but doesn't matter much for this one since it's hard to tell it's turned with the animation anyways
-This breaks current emotes just like talking did since they have the same ending unfortunately.

Mostly did this to clean up the ending logic for emotes since it was not extensible, this should scale better (could still be improved). Let me know if you don't like it and I will keep just those changes.

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: #182
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-09 08:33:14 +00:00
Aevann 670455e7ff add more whitelisted parameters 2023-08-08 18:50:28 +03:00
Aevann 8d7fee009b add run to is_whitelisted 2023-08-07 09:32:10 +03:00
Aevann 3811babd75 discord changed their username scheme 2023-08-06 10:42:31 +03:00
Aevann 53855fa080 fix this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/4739435#context 2023-08-06 09:57:35 +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 133c3b9ac3 order parameters alphabetically 2023-08-06 05:14:44 +03:00
Aevann 450f510fe4 whitelist more parameters 2023-08-06 05:14:17 +03:00
Aevann ce1bd616dd fix hackernews links 2023-08-06 00:59:32 +00:00
Aevann a89d2ac5d5 fix this https://rdrama.net/h/chudrama/post/194293/-/4736559#context 2023-08-06 00:23:21 +03:00
Aevann c7d1200b6b improve is_whitelisted 2023-08-05 23:39:35 +03:00
Aevann ed34558f33 remove unnecessary .all() 2023-08-05 22:26:42 +03:00
Aevann 630731b109 same as last commit 2023-08-05 22:01:42 +03:00
Aevann 3df7fb98d8 fix 500 error 2023-08-05 21:59:11 +03:00
Aevann 663854e7c3 fix 500 error 2023-08-05 21:57:55 +03:00
Aevann 3330c2517f total tracking parameter death 2023-08-05 21:51:09 +03:00
Aevann 15b2d0399c add party chance for marseys 2023-08-05 19:06:03 +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
top 1b4d70759b Fixed issue where flipped talking wouldn't flip the marsey just the talking (#179)
-Also made the preview work closer to the actual behavior from the server.
-Fixed issue where multiple talking or pats would remove all instances rather than just the one from the end.
-Added a hidden feature to double flip the talking bubble (for non-patted emotes).
-Made the pat look better with the talking when -pattalking emotes are shown.
-Fixed issue with username mentions with pat or talking requiring the # or ! at the start.
-Now allows for # or ! to be within the talking or pat.

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: #179
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-05 01:49:51 +00:00
Aevann eae7aec5f8 fix marseyunpettable being petted 2023-08-04 21:07:36 +03:00
Aevann 013dfce0ca increase filter_emojis_only timeout to 2 seconds 2023-08-04 16:25:25 +03:00
top f36ed94e69 Talking emotes! (#176)
Also adds the following:
talking emotes:
- Any emote can be talking now
- If an emote is talking it can also be pettable
- users can be talking and pettable
- talking works both directions, large and small

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: #176
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-04 10:13:36 +00:00
Aevann 5e179953d5 fix the 2nd bug reported in this comment https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4714508#context 2023-08-03 11:28:52 +03:00
Aevann 7fd46442d2 make !verifiecdrich a real ping group so ppl are able to leave it 2023-08-02 00:56:17 +03:00
Aevann bd942fe12e remove useless tabs 2023-08-01 10:38:58 +03:00
Aevann 0900277226 add !verifiedrich and /h/highrollerclub for paypigs 2023-08-01 09:46:00 +03:00