Snakes
5fb358a32a
Add more TLDs to sanitize.
2022-06-03 17:01:32 -04:00
Snakes
2008c09136
Add 'filter' to allowed_styles.
2022-06-02 06:14:20 -04:00
Snakes
cf46b8b3fe
Refactor e81edb711d
for modularity.
2022-05-30 00:30:10 -04:00
Aevann1
e81edb711d
fixed this https://rdrama.net/post/72013/-/2010109?context=8#context
2022-05-30 06:12:51 +02:00
Aevann1
6b6e2e8253
sfd
2022-05-27 20:28:54 +02:00
Aevann1
386db76c10
crgd is a king
2022-05-25 20:29:22 +02:00
Aevann1
de176280c8
e
2022-05-25 17:42:30 +02:00
Snakes
1c7458e111
Sanitize: modularize normalize_url, fix streamable.
...
Originally prompted by https://rdrama.net/post/18459/-/1984609 which
noticed that streamable.com/e/ links as posts would have another e/
added to them. This was in spite of logic in posts.py api_is_repost
and submit_post designed to specifically counteract this.
Proximal cause was a copypasta'd url.replace(...) chain which
caused the mistake before the streamable-specific logic had a chance
to avoid making it.
Solution: remove the streamable replacement from the chained statement
and create `helpers.normalize_url(url)` to get rid of the copypasta.
2022-05-25 04:43:16 -04:00
Snakes
7ead30014c
Upgrade bleach to 5.0.0.
2022-05-24 20:28:36 -04:00
Snakes
8c3b6cece1
Add 8-ball answers, like fortune & factcheck.
2022-05-24 19:08:41 -04:00
Snakes
d0d029a78a
sanitize: Add more neo-gTLDs to TLDs tuple-list.
...
Per https://rdrama.net/post/70341/-/1976650 added more gTLDs that
are actually desired by site users.
Also, hard wrapped the `TLDS` and `allowed_tags` tuple-lists at a
100char hard ruler for my sanity.
2022-05-24 15:16:55 -04:00
Snakes
a56ebc39dd
Add 'moe' to sanitize TLDS for linkifier.
2022-05-23 16:06:01 -04:00
Aevann1
15418ec1e6
sfd
2022-05-23 21:20:58 +02:00
Aevann1
649f8d5323
vdffsd
2022-05-23 00:45:04 +02:00
Aevann1
0a74a98ec5
big ass commit
2022-05-23 00:15:29 +02:00
Aevann1
37a6ce39f5
fixing https://rdrama.net/post/69817/tfw-you-will-never-troll-harder/1961118?context=8#context
2022-05-22 12:20:11 +02:00
Snakes
76fd1342f3
Fix @mention replacement.
...
Comments of the style e.g. "@TLSM / @TLSM2" would mistakenly be
`sanitize`d to have identical links only on "@TLSM", the latter
instance having a dangling 2 on the end. It seems this is purely an
issue with text formatting; alerts.py @ NOTIF_USERS had no such
issues. The root cause appears to be partly an optimization and
partly the use of str.replace without a count limit.
2022-05-20 17:04:36 -04:00
Aevann1
15f0b963c7
fc
2022-05-18 20:45:04 +02:00
Aevann1
c3cce7aaa5
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-05-17 21:58:43 +02:00
Aevann1
3491c9187d
pls review
2022-05-17 21:58:41 +02:00
HappyDOGE
e7349aec98
Fix <a> tag link injection, don't throw a ValueError when href attr is missing, properly count marseys (their usage wasn't counted for 20 days :marseygasp:) ( #265 )
2022-05-17 20:59:07 +02:00
Snakes
42e0b77ca7
Add <audio> support to sanitize.py.
...
Parallels the decisions made with <video>.
2022-05-15 18:47:37 -04:00
Aevann1
50b1ed8aa0
fds
2022-05-15 10:45:57 +02:00
Aevann1
ed0d225554
sfd
2022-05-14 15:11:11 +02:00
Absinthe
c3ae481048
#factcheck ( #261 )
...
Like #fortune but to check facts.
2022-05-12 16:21:11 +02:00
Aevann1
9a7c8f813f
sfd
2022-05-08 11:06:01 +02:00
Aevann1
1b86af8def
fg
2022-05-07 07:28:51 +02:00
Aevann1
6b10d097a2
mn
2022-05-05 01:09:46 +02:00
Aevann1
53702d5f13
dup
2022-05-04 05:14:14 +02:00
Aevann1
095e5cb0af
sanitize
2022-05-03 21:07:15 +02:00
Aevann1
e73fcbd56a
sfd
2022-04-29 17:17:14 +02:00
Aevann1
d0116ff2f8
sfd
2022-04-28 01:16:24 +02:00
Aevann1
952fdec513
fds
2022-04-27 18:28:00 +02:00
Aevann1
47978226e1
df
2022-04-27 17:15:41 +02:00
Aevann1
8296a580d1
xcv
2022-04-27 17:09:37 +02:00
Aevann1
583765f259
czx
2022-04-27 17:03:25 +02:00
float-trip
d85951d912
add :@userpat: emojis ( #231 )
...
* refactor emoji formatting
* add user patting
2022-04-27 16:46:47 +02:00
Aevann1
e60fe0bcd6
gf
2022-04-25 16:51:40 +02:00
Aevann1
e3b00f6c89
fsd
2022-04-22 17:17:10 +02:00
Aevann1
74a291e975
fds
2022-04-20 00:24:43 +02:00
Aevann1
aa498d89c7
gfd
2022-04-19 21:13:36 +02:00
Aevann1
0705e96770
fds
2022-04-18 20:45:18 +02:00
Aevann1
0e74b54424
fsd
2022-04-18 20:25:14 +02:00
Aevann1
d7fa942d85
fds
2022-04-18 18:01:03 +02:00
Aevann1
69d285b0f3
fds
2022-04-18 01:00:17 +02:00
Aevann1
8214e2c6f9
fds
2022-04-18 00:13:37 +02:00
Aevann1
9c0441aef9
fsd
2022-04-17 23:46:29 +02:00
Aevann1
78ea56837f
fds
2022-04-17 22:20:40 +02:00
Aevann1
e63dcc0c74
fds
2022-04-17 15:53:00 +02:00
Aevann1
2c27fed388
fds
2022-04-17 01:22:48 +02:00
Aevann1
5e18eb7222
fds'
2022-04-17 01:06:53 +02:00
Aevann1
520f2e32f0
fsd
2022-04-17 01:00:32 +02:00
Aevann1
d11f430e97
fsd
2022-04-17 01:00:21 +02:00
Aevann1
39c374a90d
fds
2022-04-17 00:42:12 +02:00
Aevann1
5c7c876218
dfs
2022-04-16 22:16:09 +02:00
Aevann1
248d3c7d25
fdssfd
2022-04-16 17:30:35 +02:00
Aevann1
c6230e5f50
fsd
2022-04-16 16:58:07 +02:00
Aevann1
d9a590ef9a
fsd
2022-04-16 02:18:41 +02:00
Aevann1
78530d6d17
fds
2022-04-16 01:06:13 +02:00
Aevann1
9c9b600afe
fds
2022-04-16 00:42:42 +02:00
Aevann1
7047953ce7
fdsdfs
2022-04-16 00:39:17 +02:00
Aevann1
9a5a07f6c3
fds
2022-04-10 20:46:55 +02:00
Aevann1
3575201f66
fds
2022-04-06 23:15:43 +02:00
Aevann1
9a75ddee97
dogecore
2022-04-05 17:50:56 +02:00
Aevann1
c26091c9cc
I have no idea what I'm doing
2022-04-04 19:23:35 +02:00
Aevann1
b538d2a24c
gdfg
2022-03-31 18:28:53 +02:00
Aevann1
3a3157def3
df
2022-03-29 19:32:36 +02:00
Aevann1
312a6b75f7
tre\
2022-03-28 12:06:57 +02:00
Aevann1
fef1a41dca
gfd
2022-03-27 16:34:56 +02:00
Aevann1
e0c52afc08
rwe
2022-03-27 16:15:41 +02:00
Aevann1
4a5fd4b99c
fds
2022-03-26 13:38:31 +02:00
Aevann1
e1db64f34a
c
2022-03-26 13:36:25 +02:00
Aevann1
eec1738d01
what a mess
2022-03-24 21:44:12 +02:00
Aevann1
0e4549333a
fds
2022-03-22 18:08:05 +02:00
Aevann1
25f27acd05
fds
2022-03-22 17:33:25 +02:00
Aevann1
b806c9987b
fsd
2022-03-22 17:28:30 +02:00
Aevann1
86d93a7ca2
dfs
2022-03-22 17:23:09 +02:00
Aevann1
86c261f246
fds
2022-03-22 17:20:48 +02:00
Aevann1
30e17954f7
fsd
2022-03-22 17:19:16 +02:00
Aevann1
243ee712ea
fds
2022-03-22 17:15:19 +02:00
Aevann1
ffe1964981
fds
2022-03-21 23:31:16 +02:00
Aevann1
ec80510e4b
fds
2022-03-21 22:56:43 +02:00
Aevann1
549c9ba394
arrr
2022-03-19 20:12:14 +02:00
Aevann1
7015e93a07
v
2022-03-19 13:37:43 +02:00
Aevann1
397dca9a83
publish fix
2022-03-18 21:05:54 +02:00
Aevann1
6a8fac96fc
fds
2022-03-17 20:38:14 +02:00
Aevann1
db4a1a39d1
yolo i guess
2022-03-17 18:45:54 +02:00
Aevann1
514d6ec126
right
2022-03-09 03:44:53 +02:00
Aevann1
acd3843632
fixed king
2022-03-06 21:03:50 +02:00
Aevann1
61e7bf32df
yikes sweety
2022-03-05 05:22:38 +02:00
Aevann1
6fbd56b757
golden
2022-03-05 04:05:19 +02:00
Aevann1
b6ad0da4b9
carp
2022-03-02 02:05:30 +02:00
Aevann1
94f2a69167
N
2022-03-01 01:30:44 +02:00
Aevann1
fa641a50c1
regex
2022-03-01 01:01:57 +02:00
Aevann1
c7656d0042
t
2022-02-28 22:14:56 +02:00
Aevann1
48ae53263a
gallery
2022-02-28 00:10:39 +02:00
Aevann1
ddbb610142
regex
2022-02-27 23:57:44 +02:00
Aevann1
4b9f3992f6
farting
2022-02-26 21:56:58 +02:00
Aevann1
ad761ac0ae
fds
2022-02-26 21:01:32 +02:00
Aevann1
e0dfe332c2
cope
2022-02-26 20:53:17 +02:00
Aevann1
bde9531ff3
cyrillic
2022-02-26 17:22:18 +02:00
Aevann1
0be18d93df
marregex
2022-02-26 12:21:25 +02:00
Aevann1
db61d95e1c
emoji
2022-02-25 14:43:25 +02:00
Aevann1
d38f5e3c63
e
2022-02-24 20:31:28 +02:00
Aevann1
00725d40e0
delay
2022-02-24 20:07:09 +02:00
Aevann1
9590e73b5d
farin
2022-02-24 11:24:22 +02:00
Aevann1
14c7148eed
fd
2022-02-24 10:28:13 +02:00
Aevann1
553d5e9d65
fsd
2022-02-24 06:27:50 +02:00
Aevann1
ead5d604f2
fds
2022-02-24 05:48:55 +02:00
Aevann1
f7ad6fcbcc
sfd
2022-02-23 07:38:56 +02:00
Aevann1
8529839d7c
cxvfd
2022-02-23 07:19:57 +02:00
Aevann1
6681ca4236
fds'
2022-02-23 07:17:03 +02:00
Aevann1
5d4b09ef62
fd
2022-02-23 07:02:07 +02:00
Aevann1
513d10e25a
fdg
2022-02-22 15:00:41 +02:00
Aevann1
da24cad406
gfd
2022-02-22 06:45:18 +02:00
Aevann1
afd6fd98f6
dfg
2022-02-19 23:44:23 +02:00
Aevann1
2875f28b82
xvc
2022-02-18 21:12:14 +02:00
Aevann1
cd22b37f61
fd
2022-02-17 03:30:59 +02:00
Aevann1
fb9c0a23dc
exiles
2022-02-16 06:33:13 +02:00
Aevann1
b9f50d42f6
gf
2022-02-16 02:23:46 +02:00
Aevann1
9a887863bd
fg
2022-02-14 04:33:27 +02:00
Aevann1
ac2e06b10f
fgd
2022-02-13 00:23:41 +02:00
Aevann1
c3e6b517cd
gf
2022-02-12 20:38:02 +02:00
Aevann1
97febe0080
big chungus commit
2022-02-12 01:32:14 +02:00
Aevann1
9386c7aacb
cvx
2022-02-09 00:30:57 +02:00
Aevann1
04b0088987
fgd
2022-02-06 18:51:52 +02:00
Aevann1
022e300d2f
SDF
2022-02-06 12:54:05 +02:00
Aevann1
c2748736fe
fsd
2022-02-05 20:47:21 +02:00
Aevann1
04a1b875ef
sfd
2022-02-04 11:15:59 +02:00
Aevann1
8dcfaf21f9
sfd
2022-02-04 04:22:58 +02:00
Aevann1
7c11aa3b97
fsd
2022-02-03 13:55:54 +02:00
Aevann1
41e0b97fef
gdf
2022-02-03 11:28:40 +02:00
Aevann1
ff3ba627c0
sd
2022-02-03 11:08:16 +02:00
Aevann1
1a362d29a3
c
2022-01-30 23:37:46 +02:00
Aevann1
b7311c61a3
dfs
2022-01-29 18:10:31 +02:00
Aevann1
84d4fa9a83
fds
2022-01-29 05:55:27 +02:00
Aevann1
485ae92e83
cxxc
2022-01-27 22:15:05 +02:00
Aevann1
cfb33e90d8
vvvvvvvvvvvvvvv
2022-01-27 19:04:02 +02:00
Aevann1
8b381284c6
yolo
2022-01-24 01:06:34 +02:00
Aevann1
527c9da071
fdssfd
2022-01-23 17:29:13 +02:00
Aevann1
7c6a5c8b1e
vcxvxc
2022-01-22 22:03:46 +02:00
Aevann1
65daa0d82c
cvxcvx
2022-01-22 21:49:12 +02:00
Aevann1
0b93902c2b
cxzzcx
2022-01-22 21:21:16 +02:00
Aevann1
5cc18bef1e
chaos unfolds
2022-01-22 16:08:14 +02:00
Aevann1
17b98ac619
fdssdf
2022-01-22 03:34:49 +02:00
Aevann1
386b2ddc43
fds
2022-01-21 23:14:45 +02:00
Aevann1
6dc7b55f4d
fsdfds
2022-01-21 23:13:52 +02:00
Aevann1
0233c58a2e
cxvxcv
2022-01-21 22:56:56 +02:00
Aevann1
775b378de2
cxvcvx
2022-01-21 19:21:46 +02:00
Aevann1
4b6176989e
cxvxvc
2022-01-21 16:22:44 +02:00
Aevann1
18a9903086
vxc
2022-01-21 13:55:53 +02:00
Aevann1
1e22d766f9
testing
2022-01-21 13:14:24 +02:00
Aevann1
81078c5877
fds
2022-01-19 11:07:16 +02:00
Aevann1
0f58d70cce
100000000k
2022-01-19 08:20:05 +02:00
Aevann1
9c7b981c2e
big one
2022-01-18 13:19:32 +02:00
Aevann1
7d772d0391
sdf
2022-01-18 02:37:36 +02:00
Aevann1
801dc09ae6
vcx
2022-01-18 02:35:33 +02:00
Aevann1
4013f84785
fsdsdf
2022-01-18 02:32:07 +02:00
Aevann1
011423eb47
bb
2022-01-17 15:48:12 +02:00
Aevann1
c05a8d8df0
bb
2022-01-17 15:39:05 +02:00
Aevann1
b95b401d7e
bbb
2022-01-17 13:51:03 +02:00
Aevann1
f20c8ae2a4
bbb
2022-01-17 13:50:03 +02:00
Aevann1
7a9a78c027
bbb
2022-01-17 13:47:30 +02:00
Aevann1
b4f082da0d
b
2022-01-16 01:23:36 +02:00
Aevann1
83498cc60d
bb
2022-01-14 12:45:30 +02:00
Aevann1
92a24b5b2f
bbb
2022-01-14 08:40:30 +02:00
Aevann1
e59bcfc467
bb
2022-01-14 06:38:27 +02:00
Aevann1
de641d5879
bb
2022-01-14 06:33:09 +02:00
Aevann1
9ae0a6ef24
bbb
2022-01-14 04:33:27 +02:00
Aevann1
641f004b4b
bb
2022-01-14 01:44:55 +02:00
Aevann1
837410187c
bbb
2022-01-13 23:15:36 +02:00
Aevann1
edfa44482d
bb
2022-01-13 03:21:37 +02:00
Aevann1
9e83f55b8c
bbf
2022-01-13 02:24:23 +02:00
Aevann1
7f9a979d3c
bb4
2022-01-12 07:31:01 +02:00
Aevann1
e0d9ef6094
bb
2022-01-12 05:28:49 +02:00
Aevann1
4a4efee50d
bv
2022-01-12 05:16:49 +02:00
Aevann1
b5762b2e86
fv
2022-01-12 03:19:13 +02:00
Aevann1
e5cd459911
bb
2022-01-11 21:53:26 +02:00
Aevann1
0e5218b2dc
bbbb
2022-01-11 21:46:50 +02:00
Aevann1
62b713b8c8
fsd
2021-12-31 14:37:42 +02:00
Aevann1
aebb90e8b0
fsd
2021-12-25 22:46:49 +02:00
Aevann1
622f00a41a
fsd
2021-12-25 01:09:08 +02:00
Aevann1
39e0ad5cf9
sdf
2021-12-25 01:00:09 +02:00
Aevann1
b852961f03
dsf
2021-12-20 19:39:07 +02:00
Aevann1
3c6b422427
fdsfsd
2021-12-19 08:19:25 +02:00
Aevann1
cd35d236ed
fsdsfd
2021-12-18 21:23:15 +02:00
Aevann1
5090fcd105
sfdsfdfsd
2021-12-18 04:59:40 +02:00
Aevann1
fe89c82198
sffsd
2021-12-17 05:25:05 +02:00
Aevann1
b8350f1aba
fsdsfd
2021-12-15 21:30:26 +02:00
Aevann1
3f0ef520fc
sdfsdf
2021-12-14 23:32:58 +02:00
Aevann1
481af28e35
fdsfsd
2021-12-14 22:25:57 +02:00
Aevann1
091e77fa47
fdsfds
2021-12-14 02:59:33 +02:00
Aevann1
5549588e7f
fsdsdf
2021-12-11 19:53:06 +02:00
Aevann1
ce65bfbd0e
fsdfsd
2021-12-11 19:38:16 +02:00
Aevann1
e24cea417e
sfdfsdfsd
2021-12-11 19:23:09 +02:00
Aevann1
fa0086da90
fdsfds
2021-12-11 01:22:02 +02:00
Aevann1
1619f9a342
dfsfd
2021-12-11 01:21:40 +02:00
Aevann1
f27a42bdcf
fdsfds
2021-12-10 20:24:35 +02:00
Aevann1
679c99e681
fdsdfs
2021-12-10 04:14:18 +02:00
Aevann1
c4db7eb300
localstorage for emojis
2021-12-10 02:39:39 +02:00
Aevann1
e129375fb8
fdsfsd
2021-12-09 22:30:14 +02:00
Aevann1
a60b658a90
fdfsdsd
2021-12-09 22:12:21 +02:00
Aevann1
e281262353
sffsd
2021-12-09 21:53:38 +02:00
Aevann1
99c560fb19
fsddfssfd
2021-12-08 20:44:37 +02:00
Aevann1
dd726be4c9
fds
2021-12-08 20:06:07 +02:00
Aevann1
969013a501
sfdfsd
2021-12-08 04:05:29 +02:00
Aevann1
44e90d9b7b
sfdsfd
2021-12-08 04:03:12 +02:00
Aevann1
8b398277d1
sfdsdf
2021-12-08 03:54:36 +02:00
Aevann1
8614b7142f
sdffsd
2021-12-08 03:03:57 +02:00
Aevann1
2fe2b8ac8e
fdssfd
2021-12-08 02:55:02 +02:00
Aevann1
89ca7db431
fdsfsd
2021-12-08 02:31:19 +02:00
Aevann1
3634fed841
fsfs
2021-12-08 01:18:06 +02:00
Aevann1
3faf28605d
fsdfds
2021-12-08 00:44:23 +02:00
Aevann1
4beb4646fb
fdsfsd
2021-12-06 22:16:34 +02:00
Aevann1
d4ee04a4cc
fsd
2021-12-06 22:02:51 +02:00
Aevann1
76ead80d6d
fsdfsd
2021-12-05 21:45:08 +02:00
Aevann1
38b82ad701
fdsfsd
2021-12-05 18:44:09 +02:00
Aevann1
c55915c1ac
sdffds
2021-12-05 05:42:06 +02:00
Aevann1
74d1921ab7
sfd
2021-12-05 03:30:06 +02:00
Aevann1
9562b858a4
fdsfds]
2021-12-05 01:07:47 +02:00
Aevann1
ae6579ad2c
sdfsdf
2021-12-05 01:05:12 +02:00
Aevann1
e30fa3bbea
fsdfsd
2021-12-04 00:52:00 +02:00
Aevann1
423639d29b
sfdsdf
2021-12-03 23:06:47 +02:00
Aevann1
b84c072b39
sdffds
2021-12-03 22:51:16 +02:00
Aevann1
7debf6766c
sfdds
2021-12-01 19:25:28 +02:00
Aevann1
5b76d5b2b3
dfsfds
2021-11-23 15:48:36 +02:00
Aevann1
26ffa2ea43
fd
2021-11-22 15:54:32 +02:00
Aevann1
8ae70b9b04
\
2021-11-11 20:58:09 +02:00
Aevann1
6f989fb2df
dffd
2021-11-09 07:45:12 +02:00
Aevann1
cef89f1365
fdfd
2021-11-08 14:54:08 +02:00
Aevann1
65efd84a35
fdfd
2021-11-07 23:08:57 +02:00
Aevann1
bcf35bf2fd
fdfd
2021-11-07 23:00:37 +02:00
Aevann1
3c881cd358
fdfd
2021-11-07 22:57:02 +02:00
Aevann1
5790430f78
dfsfds
2021-11-06 20:10:57 +02:00
Aevann1
58a998e7ec
fdssfd
2021-11-06 20:10:08 +02:00
Aevann1
0f282c10a9
dsfdfs
2021-11-06 20:08:52 +02:00
Aevann1
be5024cf2f
fdfd
2021-11-06 20:06:04 +02:00
Aevann1
e5dfdd701e
enemies and fixes
2021-11-06 17:21:05 +02:00
Aevann1
fb7d771daa
dfsfsd
2021-11-04 23:14:38 +02:00
Aevann1
765b595e35
sdfsdf
2021-11-04 17:41:18 +02:00
Aevann1
d863013e1b
sdffsd
2021-11-04 17:20:10 +02:00
Aevann1
8f2d8736ee
fdsfds
2021-11-04 16:13:09 +02:00
Aevann1
8e710ded7c
fdsdfs
2021-11-03 16:03:26 +02:00
Aevann1
c62090224b
sdffsd
2021-11-03 01:18:27 +02:00
Aevann1
f1cc59758a
fsdfsd
2021-11-03 00:50:55 +02:00
Aevann1
83dcd2b198
fds
2021-11-02 13:33:36 -07:00
Aevann1
4cbad50c0d
yt timestamps
2021-10-29 05:33:37 +02:00
Aevann1
c9a0e91e24
flairlock
2021-10-21 22:50:00 +02:00
Aevann1
c573808ab5
test
2021-10-21 15:02:47 +02:00
Aevann1
9c7878d7c9
fds
2021-10-20 01:43:11 +02:00