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
f79b44504b
fix + improve heytroon's PR
2023-09-20 18:10:39 +03:00
Aevann
2355ea9f6a
make CHUD_MSGS a tuple
2023-09-20 18:05:42 +03:00
HeyMoon
c410b5b4d0
Add new chud msgs ( #202 )
...
yeah
Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: rDrama/rDrama#202
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-09-20 15:01:03 +00:00
Aevann
1eabaca2c1
use search-new + unify reddit profile url
2023-09-18 21:26:21 +03:00
Aevann
03e9c5bc1e
fix bug
2023-09-18 21:18:08 +03:00
Aevann
f0a5349519
Revert "Revert "Adds blackjack split ( #197 )""
...
This reverts commit 9daa939cae
.
2023-09-18 19:31:58 +03:00
Aevann
bb87673a90
restore transform without "scale"
2023-09-18 19:28:12 +03:00
Aevann
d314506fbf
fix error in get_mentions
2023-09-18 14:47:06 +03:00
Aevann
5347f58382
fix 500 error
2023-09-18 14:40:29 +03:00
Aevann
0b375b2269
boost /h/traps
2023-09-18 14:36:07 +03:00
Aevann
a1f3b11fa6
dont filter based when preceded by a -
2023-09-18 14:32:53 +03:00
Aevann
be8cc7643f
boost forum
2023-09-18 14:32:30 +03:00
Aevann
a94171f1e7
Update files/helpers/media.py
2023-09-17 23:03:38 +00:00
Aevann
60580cc6fa
add orgy icon
2023-09-17 23:58:08 +03:00
Aevann
ac6a71223d
fix mp3 songs
2023-09-17 23:14:41 +03:00
Aevann
c8a3a5a569
prevent malicious use by excluding user subreddits
2023-09-17 22:56:00 +03:00
Aevann
2c1fecc724
based -> keyed
2023-09-17 22:40:35 +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
e53eb20084
fix this https://rdrama.net/post/204734/reddit-admins-decide-the-best-path/5002037#context
2023-09-17 22:23:08 +03:00
Aevann
73618fa2c2
remove coon slur filter for funny wootfatigue interactions
2023-09-17 21:55:13 +03:00
Aevann
762870e3c6
fix catholic slur filter
2023-09-17 21:54:36 +03:00
Aevann
a9a16c8376
remove redundant function
2023-09-16 02:48:33 +03:00
Aevann
e4d663d241
pin the 1st post for 11 hours
2023-09-15 20:06:24 +03:00
Aevann
7423ac7959
re-add y'all seein' eye
2023-09-15 18:43:42 +03:00
Aevann
8deea6e608
use codeblock
2023-09-15 16:26:10 +03:00
Aevann
9daa939cae
Revert "Adds blackjack split ( #197 )"
...
This reverts commit 30d10f638e
.
2023-09-15 14:30:08 +03:00
top
30d10f638e
Adds blackjack split ( #197 )
...
Holy shit this was a massive pain, done now though lol.
I recommend additional testing, I mean I did test this a ton locally but I also spent 3 hours fixing bugs and maybe missed something
Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#197
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-09-15 11:27:00 +00: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
9f505a17fd
fix youtu.be links being jumbled like this https://rdrama.net/post/200792
2023-09-15 04:20:18 +03:00
Aevann
efa82d4c32
remove unnecessary youtube archival that doesnt even work
2023-09-15 04:19:09 +03:00
Aevann
70a3510ed4
counter a cp spammer
2023-09-15 03:10:11 +03:00
Aevann
b3ef4734a5
more accurate function name
2023-09-15 03:07:17 +03:00
Aevann
a22c14f21c
remove unnecessary shit
2023-09-15 02:19:44 +03:00
Aevann
6b86b24148
better staging support
2023-09-15 01:55:16 +03:00
Aevann
4071dead5b
fix broken mention pfps in localhost
2023-09-15 00:02:20 +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
1a6df0086c
fix for old versions of reddit api
2023-09-14 23:19:06 +03:00
Aevann
398d301ece
remove raw.githubusercontent.com from approved_embed_hosts, repos get deleted and we'd end up with broken images
2023-09-14 23:05:24 +03:00
Aevann
1bd7a7a81c
stop spam
2023-09-14 22:57:48 +03:00
Aevann
112841cf9e
make offsite_mentions_task take 3 seconds instead of 14 seconds
2023-09-14 20:36:15 +03:00
Aevann
b029ae2c38
only print "Cron tasks finished" when they're actually finished
2023-09-14 20:36:14 +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
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
12a3d7b026
fix ppl not getting kicked from !verifiedrich when their paypig expires
2023-09-14 02:48:20 +03:00
Aevann
9b75debb2d
automate movie night
2023-09-14 01:39:47 +03:00
Aevann
e489314ab9
remove repeated commit statements
2023-09-14 01:19:07 +03:00
Aevann
506bf91dc0
test last commit
2023-09-13 23:57:03 +03:00
Aevann
6afd8d64ab
add every_fri cron flag
2023-09-13 23:55:59 +03:00
Aevann
e80244e79b
restore r*pe
2023-09-13 22:39:31 +03:00
Aevann
210e97dff0
fix transaction timeout issues and prevent long locks
2023-09-13 21:11:58 +03:00
Aevann
f33cb8efaf
remove fonts.googleapis.com since it hosts css and not font files
2023-09-13 20:11:31 +03:00
Aevann
e639da6d89
remove duplicate sources from CSP
2023-09-13 19:58:36 +03:00
Aevann
3e7d558a77
letmegooglethat.com & lmgtfy.app > google.com
2023-09-13 19:35:10 +03:00
Aevann
dfb195714a
simpler code
2023-09-12 23:28:10 +03:00
Aevann
9ce6027621
remove print-debugging
2023-09-12 23:27:43 +03:00
Aevann
645d510d6d
fix bug with offsite mentions
2023-09-12 23:26:26 +03:00
Aevann
4b1fb5eec1
print-debugging
2023-09-12 22:55:05 +03:00
Aevann
b2c17d1701
dont break
2023-09-12 22:54:17 +03:00
Aevann
dbddee2fa1
remove forgotten line
2023-09-12 22:53:31 +03:00
Aevann
35f7b46fc8
handle error
2023-09-12 17:32:07 +03:00
Aevann
4c87c88cfc
revert last commit
2023-09-11 22:49:02 +03:00
Aevann
ac46269278
try smth
2023-09-11 22:43:15 +03:00
Aevann
b0a05e5871
handle old comments
2023-09-11 21:39:23 +03:00
Aevann
be91cca7da
delete unused parameter
2023-09-11 21:30:13 +03:00
Aevann
d65e3ab6c7
fix error in _sub_inactive_purge_task
2023-09-11 21:30:05 +03:00
Aevann
c4b12d01b5
im retarded?
2023-09-11 21:16:16 +03:00
Aevann
6fe7c655d2
same as last commit
2023-09-11 21:12:10 +03:00
Aevann
b7e3f7719e
try smth to fix error
2023-09-11 21:06:41 +03:00
Aevann
b0f6e81ccc
restore offsite_mentions_task for normal every-5-minute usage
2023-09-11 20:55:46 +03:00
Aevann
0ccbe7aad3
Revert "remove soren mention notif"
...
This reverts commit 4718df733b
.
2023-09-11 20:34:19 +03:00
Aevann
809112b8e1
restore offsite_mentions_task
2023-09-11 20:26:30 +03:00
Aevann
3254186c5b
delete unused perm
2023-09-11 20:24:46 +03:00
Aevann
18dd872f7a
move bets to JL2
2023-09-11 20:24:38 +03:00
Aevann
5c04a2e4e7
remove unnecessary 'localhost'
2023-09-09 21:59:00 +03:00
Aevann
7f1a713956
disable offsite_mentions_task temporarily
2023-09-09 21:57:59 +03:00
Aevann
2804210981
fix site crashing
2023-09-09 21:57:15 +03:00
Aevann
b1ae6a324a
restore y'all-seeing-eye function using pullpush (initial commit)
2023-09-09 21:51:09 +03:00
Aevann
2a2b299f70
delete annoying padding
2023-09-09 21:09:36 +03:00
Aevann
671c9024b1
undo dtama filter
2023-09-09 21:09:35 +03:00
Aevann
1dba2d7aa2
use undelete.pullpush.io
2023-09-09 18:44:47 +03:00
Aevann
dc02ac42f5
add to CSP to prevent docker breaking
2023-09-09 18:20:57 +03:00
Aevann
b105151af5
remove weird redundancy
2023-09-09 18:17:02 +03:00
Aevann
d02e36b966
Revert "boost /h/marseycrossing"
...
This reverts commit 5dce8e9d28
.
2023-09-09 18:15:14 +03:00
Aevann
5dce8e9d28
boost /h/marseycrossing
2023-09-09 17:40:48 +03:00
Aevann
bc40ba9eda
boost /h/love4fatpeople
2023-09-09 17:24:44 +03:00
Aevann
7eaec0ce17
kill `transform`
2023-09-09 04:47:43 +03:00
Aevann
f3fdafd811
move img-src and media-src to the end and remove 'self' for being redundant
2023-09-09 02:47:56 +03:00
Aevann
1bb16c6e65
try smth on devrama
2023-09-09 02:29:50 +03:00
Aevann
7996feacc5
use proper order in regex (doesnt rly matter)
2023-09-09 01:53:47 +03:00
Aevann
c828ce3d9e
make "conext=8" be in all contexts
2023-09-09 01:47:46 +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
65684ef3e8
Revert "increase unblockable price from 20k to 40k"
...
This reverts commit f50535a1a3
.
2023-09-09 01:14:55 +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
76952d4f43
make mentioning someone who muted u blank to signify the lack of notif
2023-09-08 20:07:40 +03:00
Aevann
2a91531599
fix url(" https://i.rdrama.net/someimage.webp "); not being accepted
2023-09-08 19:31:40 +03:00
Aevann
ee7d8fb14c
do this https://rdrama.net/@gsa/wall/comment/4946383#context
2023-09-08 19:26:40 +03:00
Aevann
3c26d4da80
sort removed and deleted comments too (instead of older -> newer)
2023-09-07 23:08:16 +03:00
Aevann
90ef380d01
allow transform
2023-09-07 22:12:47 +03:00
Aevann
74b60a1854
improvement since ) is optional if its the last characters
2023-09-07 21:32:43 +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
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
fade711992
only pin deleted objects to the bottom in the "hot" sorting (the default)
2023-09-07 11:57:32 +03:00
Aevann
51c46292f5
drama -> dtama
2023-09-07 11:44:22 +03:00
Aevann
725edfa1fa
Revert "shit->poop"
...
This reverts commit ab22b4b385
.
https://rdrama.net/post/202523/wake-up-babe-new-operations-room/4936165#context
2023-09-06 22:38:15 +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
7cd1fbd08f
remove unnecessary graceful=True from get_user() usages
2023-09-06 21:13:32 +03:00
Aevann
6662eb0606
do this https://rdrama.net/h/countryclub/post/79285/-/4899909#context
2023-09-06 21:02:47 +03:00
Aevann
ab22b4b385
shit->poop
2023-09-06 20:17:06 +03:00
Aevann
d6ec67d720
actually readable labels for charts
2023-09-06 20:13:11 +03:00
Aevann
22e7dbc6eb
fix insanely long unreadable error message
2023-09-06 15:55:02 +03:00
Aevann
4a0e216c28
improve css_url_regex
2023-09-06 15:54:49 +03:00
Aevann
b42b20d5bf
fix localhost being impossible to use
2023-09-06 01:14:14 +03:00
Aevann
0b4582f2ae
fix transaction timeout
2023-09-06 00:57:46 +03:00
Aevann
6c0935d6b9
refresh shit stored in redis when redis gets wiped
2023-09-06 00:53:43 +03:00
Aevann
77b7ee26f2
fix krayon filter
2023-09-06 00:38:58 +03:00
Aevann
c8781af310
add SNAPPY_THREAD to WPD
2023-09-05 23:04:56 +03:00
Aevann
7facf9ff5b
do this https://rdrama.net/h/countryclub/post/79285/-/4911807#context
2023-09-05 21:24:10 +03:00
Aevann
3e21b935cb
remove "saves" sort for comments (cuz error)
2023-09-05 18:42:04 +03:00
Aevann
f2ed74ec6a
dedup sorting in the jinja templates
2023-09-05 17:32:36 +03:00
Aevann
462bb23e6d
remove unused JL0 perms (bloat)
2023-09-05 15:30:16 +03:00
Aevann
6f0211be58
increase UNDO_AWARD_PINS perm from lvl3 to lvl4
2023-09-05 15:24:27 +03:00
Aevann
df6562802f
add 3 profanity filters
2023-09-04 22:13:48 +03:00
Aevann
6b66c632ef
simpler syntax
2023-09-04 21:28:38 +03:00
Aevann
9f1c2d6db0
disallow devrama users from starting orgies
2023-09-01 11:31:24 +03:00
Aevann
1771728a3e
fix old award name
2023-09-01 11:27:50 +03:00