Aevann
d9056abfa8
add .wiki tld
2023-01-23 04:15:44 +02:00
Aevann
a560958c3a
fix youtube timestamps
2023-01-23 04:06:56 +02:00
Aevann
f0ce77fd0e
fix typo
2023-01-23 01:35:15 +02:00
official-techsupport
5902fa5822
showmore on too many newlines (works now) ( #90 )
...
At this point I think we should stop abusing regexes to implement the showmore logic.
I also reduced the character constant to 3000/2500 and increased the line constant to 20 but I don't have any strong feelings about them.
Co-authored-by: official-techsupport <official_techsupport@protonmail.com>
Reviewed-on: rDrama/rDrama#90
Co-authored-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
Co-committed-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
2023-01-22 23:27:24 +00:00
Aevann
e8323127f9
fix this https://stupidpol.site/post/141309/marseyxdmarseywall-twitter-influencer-seethemaxxing-after-being/3453484#context
2023-01-22 11:04:09 +02:00
Aevann
d5f6296e70
remove fauulty slur filter
2023-01-22 10:41:42 +02:00
Aevann
24edb49f3b
add jl5 (for me)
2023-01-22 10:04:49 +02:00
Aevann
fff3fac07c
do this https://stupidpol.site/post/141476/kavanaugh/3457056#context
2023-01-22 09:35:26 +02:00
Aevann
51808b6f40
make it possible to mute without @
2023-01-22 02:15:07 +02:00
Aevann
55298766af
remove unnecessary printing
2023-01-22 02:12:32 +02:00
Aevann
9a82c3f1c6
use tabs instead of spaces
2023-01-21 07:53:56 +02:00
Aevann
df803791ef
exclude snappy from fishylinks_regex
2023-01-21 06:18:02 +02:00
Aevann
96eacd73df
same as last commit
2023-01-21 02:40:32 +02:00
Aevann
c380572c13
fix posting
2023-01-21 02:21:51 +02:00
Aevann
eae3f51c56
stop using mailgun
2023-01-21 02:19:07 +02:00
Aevann
c560d1d9fe
improve the "show more" button
2023-01-21 01:47:27 +02:00
Aevann
96a692114e
don't spam the console
2023-01-20 11:07:42 +02:00
Aevann
897b2f6604
add it's almost like to slur filter
2023-01-20 09:20:06 +02:00
Aevann
7ccf87aa9a
add econjobrumors.com to BOOSTED_SITES
2023-01-20 09:17:33 +02:00
Aevann
f17fade8a6
purge discord from site code
2023-01-20 07:31:53 +02:00
Aevann
61202cb5aa
dont replace "cool it" with "fetch it"
2023-01-20 07:23:19 +02:00
Aevann
9f0b238370
increase ts gate for masterbaiters from 0 to 100 and ban merari from it
2023-01-20 07:13:53 +02:00
Aevann
630dc9cf55
reduce chudrama ts gate from 5k to 1488
2023-01-20 07:10:50 +02:00
Aevann
74c482f312
add 2 boosted sites
2023-01-20 07:09:45 +02:00
Aevann
1919fc822a
give me push notifs for DMs
2023-01-20 05:42:05 +02:00
Aevann
7c7fab6a36
introduce JL4
2023-01-20 03:27:00 +02:00
Aevann
30dd9bc5d5
restore chat for rdrama
2023-01-20 02:12:36 +02:00
Aevann
736acc094b
add new tagline
2023-01-16 16:22:56 +02:00
official-techsupport
0f4e66c070
Halve the offsite notifs spam ( #83 )
...
don't notify for /u/Automoderator messages
Co-authored-by: official-techsupport <official_techsupport@protonmail.com>
Reviewed-on: rDrama/rDrama#83
Co-authored-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
Co-committed-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
2023-01-13 11:36:10 +00:00
Aevann
8d2b342c81
use my own email server
2023-01-08 20:40:07 +02:00
Aevann
748e39a43a
add 3 new slur filters
2023-01-03 13:29:05 +02:00
Aevann
898ef997f0
boost slackernews
2023-01-03 13:27:43 +02:00
Aevann
daad32d0ce
fix nonces in py files
2023-01-02 06:20:59 +02:00
Aevann
dd3dfa5197
make users list viewable by everypony
2023-01-01 16:52:16 +02:00
Aevann
37aa25c139
change homoween timespan
2023-01-01 16:35:52 +02:00
Aevann
f7874b2c4e
fix show more button
2023-01-01 14:26:25 +02:00
Aevann
044664a25e
get rid of useless tabs and spaces
2023-01-01 13:36:20 +02:00
Aevann
b0b70d2f0f
better 200w behavior
2023-01-01 13:30:33 +02:00
Aevann
91b8602714
Revert "stop using 200w"
...
This reverts commit cabc0d3603
.
2023-01-01 13:18:24 +02:00
Aevann
cabc0d3603
stop using 200w
2023-01-01 10:10:06 +02:00
Aevann
dce00a0d3f
more chud images
2023-01-01 09:55:22 +02:00
Aevann
db6db63836
change event structure
2023-01-01 07:33:09 +02:00
Aevann
224b339df3
add func for homoween
2023-01-01 06:48:36 +02:00
Aevann
661646f134
fix IMAGE_FORMATS
2023-01-01 05:38:37 +02:00
Aevann
03fb84e618
fix HOLIDAY_EVENT check
2023-01-01 04:50:11 +02:00
Aevann
e2bd765b62
fix 500 error on badge geant
2023-01-01 04:36:04 +02:00
Aevann
7fc1796b1e
fix fistmas timespan
2023-01-01 04:08:59 +02:00
Aevann
78351abc4c
clean up legacy stuff
2023-01-01 03:17:07 +02:00
Aevann
9f73e7bb34
do length checks in badge_grant
2023-01-01 02:38:41 +02:00
Aevann
7cb721e6bb
make HOLIDAY_EVENT a function
2023-01-01 02:27:45 +02:00
Aevann
9bd64ed1f6
increase chat length limit from 200 to 1000 on rdrama
2022-12-31 16:03:51 +02:00
Aevann
8362a4c497
js fixes
2022-12-30 21:35:23 +02:00
Aevann
c4872ecb07
Revert "attempt to fix ratelimiting user"
...
This reverts commit 99597fc36c
.
2022-12-30 20:43:13 +02:00
Aevann
99597fc36c
attempt to fix ratelimiting user
2022-12-30 20:40:58 +02:00
Aevann
9a8c986f93
attempt to fix ratelimiting user
2022-12-30 20:33:07 +02:00
Aevann
ddf4e1ee46
make fistmas end earlier
2022-12-30 19:31:23 +02:00
Aevann
9490f1796c
check badge names
2022-12-30 18:28:24 +02:00
Aevann
e0e8eb3dd6
fix mod log links
2022-12-30 18:10:29 +02:00
Aevann
fa15b1fdf8
minor syntax change
2022-12-30 17:47:40 +02:00
Aevann
3bdfa2b13f
add new chud image
2022-12-30 16:59:05 +02:00
Aevann
2805ecbfca
improve fishylinks_regex
2022-12-30 15:20:42 +02:00
Aevann
9e43cf0724
minor css fix
2022-12-30 05:40:06 +02:00
Aevann
e0941af957
add gamefaqs to boosted sites
2022-12-30 05:35:15 +02:00
Aevann
8cb3337c19
remove bad slur filter
2022-12-30 05:34:01 +02:00
Aevann
54b49d374c
minor fix
2022-12-27 07:37:21 +02:00
Aevann
d9de913cb9
add yt3.ggpht.com to approved image hosts
2022-12-27 04:17:04 +02:00
Aevann
68673292c1
Revert "notify idio3 too"
...
This reverts commit ee264631b9
.
2022-12-27 04:10:22 +02:00
Aevann
ee264631b9
notify idio3 too
2022-12-27 04:08:23 +02:00
Aevann
7b8483b83f
fix
2022-12-27 04:07:38 +02:00
Aevann
bff5723d4e
fix 500 error
2022-12-27 03:31:21 +02:00
Aevann
44a8c2338e
Revert "handle race condition for signup notifs"
...
This reverts commit 4d5440a7f3
.
2022-12-26 22:14:33 +02:00
Aevann
4d5440a7f3
handle race condition for signup notifs
2022-12-26 22:08:42 +02:00
Aevann
604aed2d96
edit slur filter
2022-12-26 18:59:18 +02:00
Aevann
7b8e7b33aa
add slur filter
2022-12-26 18:58:35 +02:00
Aevann
0886c39674
fix push notifs on localhost
2022-12-26 05:13:48 +02:00
Aevann
eec2992be8
use user timezone in /stats
2022-12-26 04:45:55 +02:00
Aevann
f37e1dc702
disallow jannoids from undoing chud awards
2022-12-26 04:38:32 +02:00
Aevann
561b14cfd6
make post thumbnails not animated
2022-12-26 04:16:46 +02:00
Aevann
abb905b1de
exclude emojis
2022-12-26 01:41:00 +02:00
Aevann
78bccfb089
notify me for "capy"
2022-12-25 22:43:33 +02:00
Aevann
205ca3dc6f
same as last commit
2022-12-25 22:41:36 +02:00
Aevann
c4e4a8d853
give jannies push notifs for chat
2022-12-25 22:30:50 +02:00
Aevann
d30d6b8314
limit chat on rdrama to jannoids
2022-12-25 22:13:29 +02:00
Aevann
ca4ffdb91a
replace fistmas with christmas in snappy quotes
2022-12-25 19:17:15 +02:00
Aevann
b0430f82e7
change carp_id on WPD
2022-12-25 07:46:38 +02:00
Aevann
a122986111
fix giphy framerate
2022-12-25 06:10:54 +02:00
Aevann
f255a6d8c8
move more env vars to const.py
2022-12-25 05:28:57 +02:00
Aevann
80322388bd
conslidate if statements in const.py
2022-12-25 05:12:35 +02:00
Aevann
bd0890dc57
move 3 env vars to const.py
2022-12-25 05:09:24 +02:00
Aevann
f8a8779537
fix wpd
2022-12-25 03:59:59 +02:00
Aevann
663541d0ce
use 200w_d.webp for giphy
2022-12-25 03:22:17 +02:00
Aevann
366f445f2e
replace giphy.gif with giphy.webp
2022-12-25 02:54:47 +02:00
Aevann
96533921c3
add randomized taglines
2022-12-25 01:12:05 +02:00
Aevann
727a6d0180
add slur filter entry
2022-12-25 00:22:28 +02:00
Aevann
2aabe19a53
add onionfarms.com into BOOSTED_SITES
2022-12-24 21:12:17 +02:00
Aevann
568e2ddbe8
change hole neglector description
2022-12-24 20:55:26 +02:00
Aevann
1f899c5821
add this https://stupidpol.site/post/134079/new-image-to-spam-at-transphobic/3299559
2022-12-24 20:22:49 +02:00
Aevann
a63b02470d
use sets with in statements
2022-12-24 00:22:41 +02:00
Aevann
9a49b66940
fix 500 error
2022-12-23 23:42:12 +02:00
Aevann
b82d29dfde
randomize chud addendums
2022-12-23 03:55:11 +02:00
Aevann
6a222e5ee5
categorize boosted sites
2022-12-23 00:28:49 +02:00
Aevann
5d6d108dd5
remove redundant domain bans
2022-12-23 00:25:31 +02:00
Aevann
9da1287c6e
add 3 boosted sites
2022-12-22 23:33:47 +02:00
Aevann
e6274e06f3
delete ability of jannies to clear internal cache
2022-12-22 22:52:36 +02:00
Aevann
0e6b144ed7
alt graph
2022-12-22 22:03:40 +02:00
Aevann
23faabd467
make fistmas end one day earlier
2022-12-22 19:15:16 +02:00
Aevann
57b37634bb
make fistmas automated
2022-12-22 19:13:03 +02:00
Aevann1
837000505f
remove DONT_LINK_ALTS in favor of DONT_SHADOWBAN
2022-12-22 00:38:12 +02:00
Aevann1
697e7d60b0
same as last commit but for @jimjones
2022-12-22 00:23:24 +02:00
Aevann1
e1fdd64d31
try to fix weird error
2022-12-21 19:05:50 +02:00
Aevann1
6df9ac1b53
stop using exiv2
2022-12-21 18:59:16 +02:00
Aevann1
46225890ef
fix this https://stupidpol.site/h/classified/post/133139/sweet-sasquatch-statue/3279824
2022-12-21 18:47:13 +02:00
Aevann1
ea70e4473e
fix prev commit
2022-12-21 15:11:07 +02:00
Aevann1
745e741d95
remove most env defaults (i dislike them, cope and sneeze)
2022-12-21 15:09:23 +02:00
Aevann1
4be65cab86
remove unused IMGUR_KEY env var
2022-12-21 15:05:01 +02:00
Aevann1
1d3fa2f93f
remove CARD_VIEW env var
2022-12-21 15:04:45 +02:00
Aevann1
3ae5292ce4
remove pcm from code
2022-12-21 14:42:41 +02:00
Aevann1
ab00277c72
fix repo link
2022-12-21 13:06:20 +02:00
Aevann1
9b7c0a674b
fix /stats
2022-12-21 01:44:53 +02:00
Aevann1
11ed781b7a
wtf?
2022-12-21 01:30:05 +02:00
Aevann1
1b7eb7cb87
Revert "add print statements for debugging /stats"
...
This reverts commit a7ec033698
.
2022-12-21 01:00:26 +02:00
Aevann1
a7ec033698
add print statements for debugging /stats
2022-12-21 00:50:51 +02:00
Aevann1
7fabf323f8
remove leftover print statements for debugging
2022-12-21 00:35:02 +02:00
Aevann1
90aff8f086
remove redundant boosted sites
2022-12-20 22:07:14 +02:00
Aevann1
7bec755cb0
fix boosted site
2022-12-20 22:05:08 +02:00
Aevann1
2b56bf5c51
fix bladebot
2022-12-20 04:36:05 +02:00
Aevann1
6d9171bdae
fix prev commit
2022-12-20 04:30:42 +02:00
Aevann1
c3dc1dc20e
add missing import
2022-12-20 04:29:04 +02:00
Aevann1
74457e5468
rework stats a bit
2022-12-20 04:26:27 +02:00
Aevann1
373a6cf0db
add grinch
2022-12-20 03:13:34 +02:00
Aevann1
69dee20918
Revert "print debugging for stats"
...
This reverts commit 02bb36159f
.
2022-12-20 03:01:14 +02:00
Aevann1
02bb36159f
print debugging for stats
2022-12-20 03:00:33 +02:00
Aevann1
4b5647993c
fix modmail I hope
2022-12-20 02:51:09 +02:00
Aevann1
bd02df4177
fix reddit mention notifs
2022-12-20 02:36:53 +02:00
Aevann1
f6c1f94614
more print debugging
2022-12-20 02:27:09 +02:00
Aevann1
4594a6ecb8
more print debugging
2022-12-20 02:23:36 +02:00
Aevann1
569f0269e3
print debugging for reddit mentions
2022-12-20 02:20:16 +02:00
Aevann1
9a96fd643b
reduce post ratelimit from 50/day to 20/day
2022-12-20 01:28:56 +02:00
Aevann1
e386caf581
Revert "generate mod log item for removals"
...
This reverts commit e4d4c4798d
.
2022-12-19 23:52:06 +02:00
Aevann1
e4d4c4798d
generate mod log item for removals
2022-12-19 23:48:50 +02:00
Aevann1
e4734f4ec4
fix 2 notifs on same comment
2022-12-19 23:44:46 +02:00
Aevann1
3fa6e4d020
fix
2022-12-19 23:36:41 +02:00
Aevann1
9ceca862d9
notify me too
2022-12-19 23:32:52 +02:00
Aevann1
c99f4bd2c5
blackjack rework
2022-12-19 23:29:21 +02:00
Aevann1
248c7ef50d
fix errors
2022-12-19 23:00:48 +02:00
Aevann1
c842d44384
minor css change
2022-12-19 22:54:45 +02:00
Aevann1
e325e537af
add /themes to cachebusting system
2022-12-19 21:45:21 +02:00
Aevann1
80a12a1c0b
move lootbox to be first award
2022-12-19 21:31:01 +02:00
Aevann1
f19bbb1c09
double XP
2022-12-19 21:09:51 +02:00
Aevann1
e6c26659b0
anchor lootboxes to the top
2022-12-19 21:00:48 +02:00
Aevann1
29fa5bcf4d
add lootboxes
2022-12-19 19:12:07 +02:00
Aevann1
2028216c45
do this https://stupidpol.site/h/slackernews/post/132440/ml-engineer-analyzes-what-chatgpt-marks/3265102#context
2022-12-19 19:12:07 +02:00
Aevann1
98afe7d2c3
don't use linux symlinks so the site works in windows
2022-12-19 19:12:05 +02:00
geese_suck
1574b4da63
fistmas ( #79 )
...
Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: Nekobit Bitneko <me@ow.nekobit.net>
Reviewed-on: rDrama/rDrama#79
Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Co-committed-by: geese_suck <deandre.williams@geese-suck.us>
2022-12-19 01:20:14 +00:00
Aevann1
e0bc8a22e2
generate modlog items for autojanny
2022-12-18 16:25:28 +02:00
Aevann1
cafe3c47d3
overwrite ban reason
2022-12-18 16:25:28 +02:00
Aevann1
8cf4e49a5b
fix #roll comand (JC broke it 2 weeks ago)
2022-12-17 17:33:29 +02:00
Aevann1
3627889b60
use magick command
2022-12-16 23:21:47 +02:00
Aevann1
bba1dbc10b
remove pings
2022-12-16 22:50:22 +02:00
Aevann1
6a65a15852
fix
2022-12-16 22:11:38 +02:00
Aevann1
e5aa3c3e92
Revert "retvrn to imagemagick 6.9 as an experiment"
...
This reverts commit dcc087f6fd
.
2022-12-16 20:13:58 +02:00
Aevann1
beba0a499d
add longpostbot reply
2022-12-16 20:04:45 +02:00
Aevann1
e85eb63fa3
end my misery
2022-12-16 19:58:20 +02:00
Aevann1
8dcc5ba0bb
end my misery
2022-12-16 19:45:24 +02:00
Aevann1
8400cade0a
try fix for imagemagick
2022-12-15 23:56:09 +02:00
Aevann1
0ba5469424
increase sanitize timeout from 5 seconds to 10 seconds
2022-12-15 21:31:33 +02:00
Aevann1
e48d133977
rename Casino_Game to CasinoGame for consistency
2022-12-14 21:30:05 +02:00
Aevann1
d1642c980c
add clay.party to BOOSTED SITES
2022-12-14 17:21:36 +02:00
Snakes
e4c9472c92
PCM: adjust TRUESCORE_CLUB_MINIMUM
...
By Kippy request. Also discussed the precise truescore breakpoints
with him in detail so this _should_ be the last time we have to
change it.
2022-12-13 23:20:34 -05:00
Aevann1
c10c00473a
make is_banned fkey on user id
2022-12-14 00:02:53 +02:00
Aevann1
5be1fbd3fb
add taglines
2022-12-13 23:24:45 +02:00
Aevann1
6ad67b97c3
reduce all-seeing eye price to 5k
2022-12-13 21:51:07 +02:00
Aevann1
36fca9caab
minor bugfix
2022-12-13 20:50:38 +02:00
Aevann1
c9bfd1ca33
addendum to last commit
2022-12-13 20:13:25 +02:00
Aevann1
dcc087f6fd
retvrn to imagemagick 6.9 as an experiment
2022-12-13 20:05:13 +02:00
Aevann1
c4b2e5fc4b
do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3233481?context=8#context
2022-12-13 18:36:16 +02:00
Aevann1
ab5cd4c60e
add datalounge.com to BOOSTED sites
2022-12-13 18:34:26 +02:00
Aevann1
012f9ffd31
capitalize rocket daddy
2022-12-12 09:51:21 +02:00
justcool393
ab41db22b7
[DO NOT MERGE] multiple sub banners ( #59 )
...
allows multiple sub banners
Snakes note: By request of Carp, especially for WPD.
Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Aevann1
89b2c978e5
add thecoli to boosted sites
2022-12-11 23:53:06 +02:00
Aevann1
2258b18566
show the votes button to logged-out niggas
2022-12-11 21:32:30 +02:00
Aevann1
d59543891f
add BAN_EVASION_FULL constant
2022-12-11 20:56:04 +02:00
Aevann1
235cfb0dfa
do this https://stupidpol.site/h/marsey/post/130585/marsey-lost-and-found-who-made/3224501?context=8#context
2022-12-11 20:52:15 +02:00
Aevann1
2e09951716
fix this https://stupidpol.site/h/programming/post/129962/advent-of-code-2022-day-9/3219293?context=8#context
2022-12-11 20:33:44 +02:00
Aevann1
2f8fefe76b
add encyclopediadramatica to boosted sites
2022-12-11 20:24:33 +02:00
Aevann1
dab0097128
whoops
2022-12-11 18:24:50 +02:00
Aevann1
d8b29a85e6
bump bet amount
2022-12-11 17:57:39 +02:00
Aevann1
4439f03ef5
resizable videos
2022-12-10 21:12:14 +02:00
Aevann1
b2d457c028
increase css limit from 4000 to 10000
2022-12-10 20:30:19 +02:00
Aevann1
d023d6109b
fix
2022-12-10 17:36:52 +02:00
Aevann1
7d317e1fa8
if /h/programming assimilates, move its posts to /h/slackernews
2022-12-10 16:00:58 +02:00
Aevann1
5e52a86500
cleanup user ids in const.py
2022-12-10 16:00:03 +02:00
Aevann1
84b1d2a7d7
dont check badges for duplicate images
2022-12-10 10:26:55 +02:00
Aevann1
5dbb5c1317
add mainchan.com to BOOSTED_SITES
2022-12-10 09:28:19 +02:00
geese_suck
6a56f036cb
whitelist table class for tables in sanitizer
2022-12-09 13:04:28 -08:00
Aevann1
00a2bc4b0d
fix 500 error
2022-12-09 19:04:00 +02:00
Aevann1
d01fdf5d25
add cringetopia.org to reddit mentions
2022-12-09 14:46:11 +02:00
Aevann1
8d116272fe
p-do
2022-12-09 08:01:16 +02:00
Snakes
0d580b8b4f
Fix post comment count logic not activating.
...
Also standardize parameter list order for comment games.
2022-12-09 00:56:08 -05:00
Snakes
25b5675ac4
Amend PR 52, 53: standardize style, basedbot bug
2022-12-08 22:48:40 -05:00
justcool393
f848f68799
walls: remove duplication among routes/templates ( #52 )
...
removes a bunch of duplicated code in commenting and userpages
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#52
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-09 03:35:28 +00:00
Aevann1
b89f9103d3
the advent of fixing codeblocks
2022-12-08 15:02:51 +02:00
Aevann1
5d11c820f7
remove an estoric profanity filter
2022-12-08 07:22:46 +02:00
Snakes
05691b980d
PCM: Christmas lottery hyperinflation (by request).
2022-12-07 19:50:44 -05:00
Aevann1
9f8d2fc8a0
increase max size for site assets from 500kb to 1MB
2022-12-07 22:53:52 +02:00
Aevann1
f95f4f2c97
simplify badge granting/removal
2022-12-07 21:03:06 +02:00
Aevann1
93063516ce
tie transparent theme to backgrounds
2022-12-07 19:53:29 +02:00
Aevann1
75bd617c47
all wpd jannies to grant/remove y'all seeing eye badge
2022-12-07 19:15:53 +02:00
mummified-corroding-granny
7a5750a408
Uniformization of verbiage. Purge every dot ( #54 )
...
As one would expect, pointless to have a dot at the end of the subject of a very important message (dot)
Were it not for the extraneous dot, the legitimacy of the message would still be in question due to its lack of verbiage uniformization. The verbiage is "verify" everywhere else except for some parts of the code itself. This is egregious. With this single-commit pull request, we erradicate the last of "Validate".
Co-authored-by: mmadeira <marcos_madeira@outlook.com>
Reviewed-on: rDrama/rDrama#54
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2022-12-07 16:54:18 +00:00
Aevann
81267ef1c6
do this https://stupidpol.site/h/countryclub/post/79285/tired-of-some-cute-twink-jannies/3194721?context=8#context ( #53 )
...
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#53
2022-12-07 16:51:51 +00:00
Aevann1
1a4600bd95
imagemagick is really cringe
2022-12-07 10:42:23 +02:00
Aevann1
5d2dbee95e
increase MAX_IMAGE_CONVERSION_TIMEOUT from 15 to 30
2022-12-07 10:30:11 +02:00
Aevann1
ab51e97e09
better error message
2022-12-07 10:28:01 +02:00
Aevann1
a3f1b85e16
fix this https://stupidpol.site/h/programming/post/129189/advent-of-code-day-6/3195992?context=8#context
2022-12-07 09:58:46 +02:00
Aevann1
14aaed820c
boost scrd.app
2022-12-07 09:36:56 +02:00
Aevann1
5e87e53335
make poll limit 20 on rdrama and 30 on wpd
2022-12-07 07:30:03 +02:00
justcool393
6dbad04f08
band-aid fix for frozen session issue on signup ( #50 )
...
through some reason or another, people are somehow getting cookies that aren't prepended with a dot.
this is a problem because both sessions at, as best as I can tell, mix so it tries to read from a different cookie than we write to. this essentially "freezes" the session in place. users are unable to login, logout, signup, toggle poor mode, toggle NSFW, etc.
~~this attempts to delete bad session cookies (i.e. cookies with a domain that don't start with a dot).~~
~~we don't do this on "dotless" domains (and by extension localhost) because browser support for setting cookies on FQDNs that only have one dot has tenuous support among browsers anyway).~~
~~this *may* log some people out, but... their days of being able to do stuff on the site were numbered anyway.~~
**edit: as amazing as this thought was, browsers just wipe the entire cookies completely and there's no way to specifically target dotless cookies. for an issue that affects a few users, better to just tell them to clear their cookies. if *this* doesn't work, delete service-worker.js and be done with the whole service worker crap. forever. permanently. this PR also includes some QOL improvements.**
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#50
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-06 22:07:12 +00:00
justcool393
c12bf5105f
WPD: remove poll limit ( #51 )
...
by request of the wpd mops
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#51
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-06 18:24:41 +00:00
Snakes
9160a853ec
Remove !YOU!.
...
Security mess and stale joke.
2022-12-05 20:06:04 -05:00
Snakes
fe5ffd1bcf
security: sanitize !YOU! in <a href="">.
...
Unlike the recent auto-embed exploits which have been patched, this
requires active user action. However our userbase, like all userbases,
contains quite a few retards and phoneposters who don't check links
before clicking.
Example exploit:
<a href="https://example.com/log?username=!YOU !">Bardfinn Dox</a>
2022-12-05 19:05:02 -05:00
Snakes
616634158c
Narrow approved_embed_hosts for security.
...
Probably will break some peoples' profilecss and irritate the
newsposters, but in light of recent live proven exploits to disclose
user IP & username pairs to remote servers, the broad list of embed
hosts was unsustainable and impossible to prove safe.
We extend is_safe_url to allow whitelisting subdomains, specifically
to solve the s.lain.la open redirect exploit. Also, open media proxies
like external-content.duckduckgo.com were concerning enough, despite
likely being safe, to warrant removal. Anything infrequently used and
difficult to review, or has a reasonable alternative, was also removed.
In general: we want people to be rehosting, and if we want to allow
more external content, we need to run a media proxy. The central issue
is that any user-configurable 302 is a potential disclosure risk, and
Lord knows how many ways there were to get <arbitrarynewssite>.com to
do so. Maybe zero, but the problem is we just don't know.
2022-12-05 18:57:35 -05:00
float-trip
bca9aff068
Disallow !YOU! in URLs. ( #49 )
...
!YOU! + an escape for `approved_embed_hosts` could let you grab the IP and username of everyone who views your comment
https://rdrama.net/post/129053/you-callout-thread/3191218?context=8#context
lain.la has a URL shortener that also works to get around embed hosts, fwiw
Co-authored-by: float trip <float-trip@rdrama.net>
Reviewed-on: rDrama/rDrama#49
Co-authored-by: float-trip <float-trip@noreply.fsdfsd.net>
Co-committed-by: float-trip <float-trip@noreply.fsdfsd.net>
2022-12-05 21:20:59 +00:00
Aevann1
159cb52e46
add looksmax.org to BOOSTED_SITES
2022-12-05 15:59:01 +02:00
Aevann1
9dacb7c307
add teamblind.com to boosted sites
2022-12-05 08:13:11 +02:00
Aevann
18df70caab
allow JL3 to edit rules ( #39 )
...
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00
Aevann1
5473cb3084
add snus mentions
2022-12-05 04:01:55 +02:00
Aevann1
f2c4dc429a
fix for MIMW_ID
2022-12-05 04:01:01 +02:00
Aevann1
66aeb82823
add pings for MIMW
2022-12-05 03:57:24 +02:00
Aevann1
468fd5f5f4
add (((heymoon))) notifs
2022-12-05 03:40:51 +02:00
Snakes
be2b210df4
Remove superfluous #disablepoll command.
...
Already resolved by 29070c78a9
.
2022-12-04 17:15:52 -05:00
justcool393
ed0981cbdb
add functionality to disable poll formatting ( #35 )
...
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#35
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-04 21:46:27 +00:00
Aevann1
892e35b1c3
splash mountain for PCM
2022-12-04 23:28:39 +02:00
Aevann1
e66234eb6a
fix offsitementions
2022-12-04 21:48:28 +02:00
Aevann1
da643ea88b
sneed
2022-12-04 21:30:33 +02:00
Aevann
e105035272
remove country club system and replace it with a 3 tier thing: ( #41 )
...
- /h/masterbaiters: 1 TS - for gayops
- /h/countryclub: 1000 TS - for anything requiring secrecy and doesnt need critical mass - have to make it a rule that u cant post gayops in /h/countryclub
- /h/chudrama: 5000 TS - for chad+stud posts
EDIT: i removed the /h/masterbaiters gate, but u can bring it back if u want
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#41
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 18:39:06 +00:00
Aevann1
29070c78a9
fix this and related stuff https://stupidpol.site/h/programming/post/128394/advent-of-code-day-3-i/3182179?context=8#context
2022-12-04 17:53:41 +02:00
Aevann1
30405e1841
slur fix
2022-12-04 16:44:59 +02:00
Aevann1
1f675c61e5
minor regex fix for emojis
2022-12-04 00:26:05 +02:00
Aevann1
a92737b85c
re-add kylie slur filter
2022-12-04 00:01:24 +02:00
Aevann1
8d218c28e2
fix this https://stupidpol.site/h/programming/post/128511/nostalgia-post-heres-a-shitty-tictactoe/3179456?context=8#context
2022-12-03 22:09:12 +02:00
Aevann1
0046e63bc7
boost /h/programming temporarily - revert at will
2022-12-03 21:56:27 +02:00
Aevann1
a13311d72e
sneed
2022-12-03 21:10:59 +02:00
Aevann1
a193952c5e
fix this https://stupidpol.site/h/slackernews/post/128394/advent-of-code-day-3-i/3177263?context=8#context
2022-12-03 10:02:26 +02:00
Aevann1
3907a2f25f
make the gevent sequential
2022-12-03 01:25:48 +02:00
Snakes
9b09181e28
Dispatch push notifications using greenlets.
2022-12-02 18:15:58 -05:00
Snakes
d79465517d
Rename siege log filename.
2022-12-02 17:50:48 -05:00
Aevann1
9947e635ab
make supportjews.webp an image instead
2022-12-03 00:32:51 +02:00
Aevann1
6248042e46
add supportjews emoji and use it in chud message
2022-12-03 00:22:18 +02:00
Aevann
5c2dab73c7
stop using pusher ( #37 )
...
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#37
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-02 22:21:18 +00:00
Aevann1
3542703ced
Revert "make it so only the post author can declare winner and not all admins"
...
This reverts commit 9e1425d93e
.
2022-12-03 00:08:46 +02:00
Aevann1
9e1425d93e
make it so only the post author can declare winner and not all admins
2022-12-03 00:06:57 +02:00
Aevann1
25be392e3b
add soyjak.party to BOOSTED SITES
2022-12-03 00:02:04 +02:00
Aevann1
064b5878f9
add "media" tld
2022-12-02 12:38:07 +02:00
Aevann1
acd4a61232
add dramarama to boosted users
2022-12-01 18:22:00 +02:00
Aevann1
238c92b703
make PAGE_SIZES ordered
2022-12-01 14:28:00 +02:00
Aevann1
845e13b4ae
minor bug fix
2022-12-01 14:27:15 +02:00
Snakes
1bc086ad1b
PCM: adjust perms, add christmas banner.
2022-11-30 23:38:25 -05:00
Snakes
4585323275
Fix monthly jannie patron badge granting.
2022-11-30 23:38:25 -05:00
Snakes
885601e0ab
Fix offsitementions on localhost testing.
2022-11-30 19:24:45 -05:00
Aevann1
e1ed46fa36
rework reddit notifs - testing on pcm lol
2022-12-01 00:29:13 +02:00
Snakes
d03f3092fa
Adjust badge black/whitelists more.
2022-11-30 16:55:48 -05:00
Aevann1
87ae34966b
badge perm shit
2022-11-30 23:15:10 +02:00
Snakes
312abcbed7
offsitementions: use proper cache key in setter.
2022-11-30 15:44:01 -05:00
justcool393
34f10321fa
antispam: adjust siege threshold
2022-11-30 13:25:32 -06:00
justcool393
d55455d51c
settings: make filename an env var
2022-11-30 13:13:52 -06:00
justcool393
46f2b805ef
config: fix _SETTINGS dict and stray signups
2022-11-30 13:03:46 -06:00
justcool393
497c9bcff1
logging: don't use \n in f-string
2022-11-30 12:49:22 -06:00
justcool393
d783bc8901
logging: make logging an env var
2022-11-30 12:38:55 -06:00
justcool393
d395bcab69
logging: create somewhat sane logging
2022-11-30 12:09:31 -06:00
justcool393
0106a4e340
antispam: under siege mode
2022-11-30 11:37:35 -06:00
Aevann1
9798d2714d
add blizzard forums and bungie forums to BOOSTED_SITES
2022-11-30 13:51:01 +02:00
Aevann1
abe07e7754
this is retarded
2022-11-30 13:35:57 +02:00
justcool393
11059d1665
move calc users to context processor ( #31 )
...
jinja more like i can't think of anything witty
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#31
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-29 23:50:32 +00:00
Aevann1
955ec104f2
use the new /icon.webp link everywhere
2022-11-30 01:25:11 +02:00
Aevann1
b6efc27551
use "i" instead of "assets/images"
2022-11-30 00:52:19 +02:00
geese_suck
d79ad8c1f0
event asset caching
2022-11-29 14:01:25 -08:00
justcool393
5056f09380
chat: fix 500 on some... weird... state... i think?
...
cache: get out of jinja templates
chat: threshold is now a const
2022-11-29 15:49:23 -06:00
justcool393
67bfe5a5bd
remove unnecessary `str()`
2022-11-29 14:29:27 -06:00
geese_suck
a3fa96242c
holiday event manager (actually works now edition) ( #22 )
...
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#22
Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Co-committed-by: geese_suck <deandre.williams@geese-suck.us>
2022-11-29 20:20:26 +00:00
SneedBot
a7614a5dd2
sneed
2022-11-29 14:11:34 +00:00
Aevann1
53d5f40037
sneed
2022-11-29 04:59:41 +02:00
Aevann1
60d6246a38
add "homo" to slur filter
2022-11-29 03:46:35 +02:00
Snakes
e370a52ecc
PCM: raise upload limit for patrons (by request).
2022-11-28 20:13:22 -05:00
Aevann1
3acc525e0c
truncate odds of lottery winning
2022-11-29 00:21:48 +02:00
SneedBot
c494f006f2
sneed
2022-11-28 06:05:21 +00:00
geese_suck
030710e5db
add fallback award so I dont get fucked by aevann asking me to change something for a site that has 3 active users
2022-11-27 21:24:05 -08:00
Aevann1
94f788ffe9
use exiv2 to remove metadata instead of imagemagick, much much much faster
2022-11-28 05:49:17 +02:00
Aevann1
0fd8157fa6
move CSP to nginx-level
2022-11-28 04:19:59 +02:00
Aevann1
4656fa0b8d
pin posts by pizza/impassionata/TGTW automatically for 1 hour
2022-11-28 04:07:06 +02:00
Aevann
9b50ab7219
minor fix to AGENDAPOSTER_MSG_HTML
2022-11-28 00:44:50 +02:00
Snakes
427f54175c
WPD: constantify badge whitelist, extend set.
2022-11-27 16:49:20 -05:00
justcool393
767cc467bb
marseys: cache marseys and emojis and fun stuff ( #15 )
...
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#15
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-27 16:59:36 +00:00
justcool393
77bdb6e87f
themes: add glitter bg category per joan request
2022-11-27 10:15:15 -06:00
Aevann1
575a5080bd
unpaywall profile views
2022-11-27 02:20:54 +02:00
justcool393
3fb647dd13
const: use dict.update instead of... what I did initially
2022-11-26 14:31:20 -06:00
justcool393
ae50cc2772
const: rename constants from LIMIT to MINIMUM
...
the new name is much much clearer
2022-11-26 14:20:44 -06:00
Marco
af74c7c1fc
Update chud award to include forced trans/pride flag hats ( #10 )
...
Disclaimer: I made these changes in Notepad and didn't bother to test this change locally.
Co-authored-by: Marco <bussylmao@gmail.com>
Reviewed-on: rDrama/rDrama#10
Co-authored-by: Marco <marco@noreply.fsdfsd.net>
Co-committed-by: Marco <marco@noreply.fsdfsd.net>
2022-11-26 20:14:31 +00:00
Aevann1
bb153e541d
Revert "you posts: constantify truescore requirement"
...
This reverts commit 1b721126a2
.
2022-11-26 22:09:07 +02:00
justcool393
1b721126a2
you posts: constantify truescore requirement
2022-11-26 13:39:31 -06:00
Aevann1
86b352d301
"my brother in christ" becomes "my brother in Allah"
2022-11-26 07:06:52 +02:00
Aevann1
a641acaf8f
use sets instead of lists in some statements
2022-11-26 06:52:47 +02:00
justcool393
46204ea223
ranking: be site specific when boosting users or excluding users from boosts
...
otherwise we may unintentionally rank for the wrong users (since we're using literal IDs)
2022-11-25 20:04:09 -06:00
Aevann1
6a94ac3aa9
since lawlz got demopped, make his automatic mod actions be executed by autojanny instead
2022-11-26 03:56:04 +02:00
Aevann1
e96274308a
sneed
2022-11-26 03:31:17 +02:00
Aevann1
0f984b121a
add "negroid" to slur filter
2022-11-26 03:19:22 +02:00
justcool393
35b1532bb4
admin: remove meme admin vestige
2022-11-25 19:15:39 -06:00
Aevann1
0bd96112d1
add joan to BOOSTED_USERS
2022-11-26 01:49:21 +02:00
Aevann1
88ed437c9b
add quad to BOOSTED_USERS
2022-11-26 01:43:23 +02:00
Aevann1
68060ee56e
add dailystormer.in to BOOSTED_SITES
2022-11-26 01:39:37 +02:00
Aevann1
bf4031c832
remove annoying excalmation sign in notifs
2022-11-26 01:18:24 +02:00
justcool393
7e403469cd
polls: constantify max poll options
2022-11-25 16:12:25 -06:00
justcool393
f86d351ac4
fix saved subscribers stuff
2022-11-25 16:06:18 -06:00
Aevann1
c5446b3a39
do this https://rdrama.life/post/125878/colorado-shooter-proves-his-idpol-credentials/3129042?context=8#context
2022-11-25 23:01:35 +02:00
Aevann1
3dee4afa6f
make "snekchad" ping sneks
2022-11-25 21:36:37 +02:00
Aevann1
f672037021
remove lmbo profanity filter
2022-11-25 21:36:09 +02:00
Snakes
0254ff6567
Restrict New User hat to rDrama.
2022-11-23 20:28:39 -05:00
AverageBen10Enjoyer
c37c8be209
Removing references to old repo
2022-11-23 21:19:39 +00:00
justcool393
042edf15bd
make antispam a bit less :marseyshook:
2022-11-23 14:45:09 -06:00
Snakes
654da03435
De-Githubify repo.
...
- Remove Github-specific tooling.
- Add fsdfsd.net to approved embed hosts.
- Switch link in navigation menu.
2022-11-23 12:24:13 -05:00
Snakes
c4df942846
Fix roulette '0' bet placement & display.
2022-11-22 21:00:03 -05:00
Snakes
00880ccadc
zoz
...
zle
zozzle
2022-11-22 19:09:42 -05:00
Aevann1
8b57b5dc9d
fix wrong variable (good thing i didnt pull to prod lol)
2022-11-22 23:58:57 +02:00
Aevann1
8776cbca53
do this https://rdrama.net/post/125190/gamingcirclejerk-marseygamer-plays-themselves/3115522?context=8#context
2022-11-22 23:45:50 +02:00
Aevann1
3ecb79d1d3
Revert "stop spamming the console"
...
This reverts commit 3cd1734390
.
2022-11-22 23:42:52 +02:00
Aevann1
1e4e0c5391
add a space after one profanity filter
2022-11-22 23:37:37 +02:00
Aevann1
ff9e0956ef
sneed
2022-11-22 23:24:14 +02:00
Aevann1
d9dd562814
sneed
2022-11-22 23:23:31 +02:00
Aevann1
3336e267df
sneed
2022-11-22 23:23:23 +02:00
Aevann1
1ab3835a09
add .host and .art
2022-11-22 23:20:24 +02:00
Aevann1
4640abed4b
remove hole nerf
2022-11-22 22:25:48 +02:00
Aevann1
5f628d7c41
move purge_files_in_cache to the bottom
2022-11-22 17:49:15 +02:00
justcool393
b0ff8916a5
win loss stats to casino games ( #475 )
...
* casino: add stats to casino
* casino: stats should target the right thing
casino: properly style
* pluralize properly
* refactor casino leaderboards :marseytroublemarker:
* fsfsdsd
* fsdsdsdsd
* i'm r-slurred
* -
2022-11-22 07:11:01 -08:00
Snakes
b8a3c8ea96
assetcache: include js/vendor dir.
2022-11-21 19:02:39 -05:00
Snakes
adeb7acb38
archive_url: suppress errors on remote failure.
...
ghostarchive has been giving us 500 backs lately. They are making
an absolute mess of the log for a non-central, opportunistic feature,
and we already eat exceptions for archive.org. We merely extend that
to ghostarchive.
2022-11-21 18:52:21 -05:00
justcool393
272e2ee936
sneed (rename procoins to marseybux) ( #472 )
...
* sneed (rename procoins to marseybux)
* literally unusable
Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 18:08:29 -05:00
justcool393
9cf1c026b3
remove checks that are needful
2022-11-21 15:51:47 -06:00
justcool393
6ea052b98a
roulette: only check greenness where needful
2022-11-21 15:36:38 -06:00
Snakes
94e0e2fb5d
Extend ghost award prohibition to HOUSE_AWARDS.
2022-11-21 16:25:47 -05:00
Aevann1
f272989735
Revert "stop adding target="_blank" in the backend and move it to the frontend (to accomodate PWA users) - THANK YOU GEESE I LOVE YOU SO MUCH ( #473 )"
...
This reverts commit 88f3cd519d
.
2022-11-21 19:37:38 +02:00
Aevann1
88f3cd519d
stop adding target="_blank" in the backend and move it to the frontend (to accomodate PWA users) - THANK YOU GEESE I LOVE YOU SO MUCH ( #473 )
...
* test
* bleg
* remove User.newtab and see if anyone complains (#471 )
* fddf
2022-11-21 07:14:26 -08:00
justcool393
4d096a5bb6
make roulette cute and valid python syntax
2022-11-21 09:10:41 -06:00
justcool393
9f51259ee6
[DO NOT MERGE] roulette 0 and 00 bets redux ( #470 )
...
* backend support for roulette betting on 0 and 00
* casino: roulette: add 0 and 00 frontend
* add spacer
* roulette: fix the thing
* don't payout where needful not to
* sanity check
* roulette: validate requests properly
* roulette actions from API make more sane
2022-11-21 06:44:16 -08:00
Snakes
0095012e02
Fix offsitementions erroring on AEVANN_ID.
...
Also re-wrap the string literals for soft ruler 80, hard ruler 100.
Who are you people who read code with word wrap enabled.
2022-11-21 00:58:17 -05:00
gooseman
81682c7a28
mdns chads cant stop winning
2022-11-20 16:41:45 -08:00
Aevann1
caabaf0c6f
expand IS_LOCALHOST
2022-11-21 00:16:49 +02:00
Aevann1
35f6b39d27
build imagemagick from source again
2022-11-20 23:35:09 +02:00
Aevann1
bb8877a5d3
dont send me offsitemention notifs
2022-11-20 18:33:16 +02:00
Snakes
23ff5450d6
Rename ranking constant by Capy request.
2022-11-20 06:31:16 -05:00
Snakes
db329f487f
User.pay_account everywhere, fix lottery payout.
2022-11-20 05:50:02 -05:00
Snakes
f5563900ae
Un-nerf schizohole in rankings.
2022-11-19 21:19:06 -05:00
Aevann1
5288d7a7dc
remove android app and replace with instructions on how to install PWA
2022-11-20 00:04:08 +02:00
Aevann1
d2ac8348dc
update app to v2.8
2022-11-19 23:18:25 +02:00
Aevann1
6b5a71c62e
use imagemagick 7.1.0-52 instead of 6.9.11-60 (seems to have fixed the issues of images doubling in size) + don't recompress images that are already webp -- WARNING I HAVE NO IDEA WHAT IM DOING
2022-11-19 21:55:07 +02:00
Aevann1
2b81c4b03c
Revert "Revert "sneed" (this is supposed to be like this)"
...
This reverts commit 5e773f9e75
.
2022-11-19 14:49:10 +02:00
justcool393
3fe1d196f1
newline at end of file
2022-11-19 06:48:42 -06:00
justcool393
5e773f9e75
Revert "sneed" (this is supposed to be like this)
...
This reverts commit b5aefda124
.
2022-11-19 06:45:54 -06:00
Aevann1
2362afa622
make the youtube code in sanitize be like the youtube code in posts.py
2022-11-19 06:44:07 -06:00
Aevann1
b5aefda124
sneed
2022-11-19 06:44:07 -06:00
justcool393
e54e31052a
add tildes.net to boosted sites
2022-11-19 06:44:07 -06:00
Aevann1
3cd1734390
stop spamming the console
2022-11-18 23:08:12 +02:00
Aevann1
bcfe98c295
remove hole pins when post moved
2022-11-18 21:58:12 +02:00
justcool393
255d5b2453
security: fix mute bypass
...
modmail: constantify user ID
2022-11-17 16:50:06 -06:00
justcool393
d1197bac82
chat: sanitize raw body
2022-11-16 08:00:04 -06:00
justcool393
f1bfb87243
chat: permission for mute bypass
2022-11-16 07:00:03 -06:00
justcool393
1565d9ca26
use abort(410) instead of the old message.html template
2022-11-15 23:32:57 -06:00
justcool393
3d7737387c
use default config vlaue const everywhere
2022-11-15 10:55:00 -06:00
Aevann1
532ebd3ac8
standardize g.db behavior
2022-11-15 17:39:00 +02:00
Aevann1
f1288ba991
fix https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3080531?context=8#context
2022-11-15 17:29:45 +02:00
Aevann1
aeb10e1ec6
exclude /r/SubSimGPT2Interactive
2022-11-15 16:44:08 +02:00
Aevann1
8c849bef65
add 2 more boosted sites
2022-11-15 16:33:20 +02:00
Snakes
b50a815eb0
Fix DB session for webm_to_mp4.
2022-11-15 06:24:17 -05:00
justcool393
8f2f48d6d1
[DO NOT MERGE] import detanglation ( #442 )
...
* move Base definition to files.classes.__init__.py
* fix ImportError
* move userpage listing to users.py
* don't import the app from classes
* consts: set default values to avoid crashes
consts: warn if the secret key is the default config value
* card view: sneed (user db schema)
* cloudflare: use DEFAULT_CONFIG_VALUE
* const: set default values
* decouple media.py from __main__
* pass database to avoid imports
* import cleanup and import request not in const, but in the requests mega import
* move asset_submissions site check to __init__
* asset submissions feature flag
* flag
* g.is_tor
* don't import request where it's not needed
* i think this is fine
* mail: move to own routes and helper
* wrappers
* required wrappers move
* unfuck wrappers a bit
* move snappy quotes and marseys to stateful consts
* marsify
* :pepodrool:
* fix missing import
* import cache
* ...and settings.py
* and static.py
* static needs cache
* route
* lmao all of the jinja shit was in feeds.py amazing
* classes should only import what they need from flask
* import Response
* hdjbjdhbhjf
* ...
* dfdfdfdf
* make get a non-required import
* isort imports (mostly)
* but actually
* configs
* reload config on import
* fgfgfgfg
* config
* config
* initialize snappy and test
* cookie of doom debug
* edfjnkf
* xikscdfd
* debug config
* set session cookie domain, i think this fixes the can't login bug
* sdfbgnhvfdsghbnjfbdvvfghnn
* hrsfxgf
* dump the entire config on a request
* kyskyskyskyskyskyskyskyskys
* duifhdskfjdfd
* dfdfdfdfdfdfdfdfdfdfdfdf
* dfdfdfdf
* imoprt all of the consts beacuse fuck it
* ðŸ˜
* dfdfdfdfdfdfsdasdf
* print the entire session
* rffdfdfjkfksj
* fgbhffh
* not the secret keys
* minor bug fixes
* be helpful in the warning
* gfgfgfg
* move warning lower
* isort main imports (i hope this doesn't fuck something up)
* test
* session cookie domain redux
* dfdfdfd
* try only importing Flask
* formkeys fix
* y
* :pepodrool:
* route helper
* remove before flight
* dfdfdfdfdf
* isort classes
* isort helpers
* move check_for_alts to routehelpers and also sort imports and get rid of unused ones
* that previous commit but actkally
* readd the cache in a dozen places they were implicitly imported
* use g.is_tor instead of request.headers. bla bla bla
* upgrade streamers to their own route file
* get rid of unused imports in __main__
* fgfgf
* don't pull in the entire ORM where we don't need it
* features
* explicit imports for the get helper
* explicit imports for the get helper redux
* testing allroutes
* remove unused import
* decouple flask from classes
* syntax fix also remember these have side fx for some reason (why?)
* move side effects out of the class
* posts
* testing on devrama
* settings
* reloading
* settingssdsdsds
* streamer features
* site settings
* testing settings on devrama
* import
* fix modlog
* remove debug stuff
* revert commit 67275b21ab6e2f2520819e84d10bfc1c746a15b6
* archiveorg to _archiveorg
* skhudkfkjfd
* fix cron for PCM
* fix bugs that snekky wants me to
* Fix call to realbody passing db, standardize kwarg
* test
* import check_for_alts from the right place
* cloudflare
* testing on devrama
* fix cron i think
* shadow properly
* tasks
* Remove print which will surely be annoying in prod.
* v and create new session
* use files.classes
* make errors import little and fix rare 500 in /allow_nsfw
* Revert "use files.classes"
This reverts commit 98c10b876cf86ce058b7fb955cf1ec0bfb9996c6.
* pass v to media functions rather than using g
* fix
* dfdfdfdfd
* cleanup, py type checking is dumb so don't use it where it causes issues
* Fix some merge bugs, add DEFAULT_RATELIMIT to main.
* Fix imports on sqlalchemy expressions.
* `from random import random` is an error.
* Fix replies db param.
* errors: fix missing import
* fix rare 500: only send to GIFT_NOTIF_ID if it exists, and send them the right text
* Fix signup formkey.
* fix 2 500s
* propagate db to submissions
* fix replies
* dfdfdfdf
* Fix verifiedcolor.
* is_manual
* can't use getters outside of an app context
* don't attempt to do gumroad on sites where it's not enabled
* don't attempt to do gumraod on sites's where it's unnecessary
* Revert "don't attempt to do gumroad on sites where it's not enabled"
This reverts commit 6f8a6331878655492dfaf1907b27f8be513c14d3.
* fix 500
* validate media type
Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-15 03:19:08 -06:00
justcool393
2b733e667e
make 429 less bitchy on WPD
2022-11-14 13:24:30 -06:00
justcool393
893d968950
errors: make WPD errors less bitchy
2022-11-14 13:23:45 -06:00
justcool393
239b9c30b4
wpd: fix 413
2022-11-14 13:16:38 -06:00
justcool393
c9ecb5d535
account linking improvements ( #448 )
...
currently account delinking is very messy and can sometimes just not work
we do codey stuff so it's not as bad
also we create a pretty page for mops to mop up borked account links
* alts: allow proper delinking
* fix prev commit
* url fix
* fix 500
* fixes
* :pepodrool:
* flag
* :pepodrool: redux
* sdsdsdsds
* correct endpoint
* fix html page
* alts: only adjust session history if flag is set
* fix 500
* allow relinking
* fsdsds
* :pepodrool: redux
* alts: don't fail if an alt isn't history
* use postToastSwitch + some API changes
* remove unnecessary variables
* d-none
* delink accounts mod action
* fa-link-slash
* alts: add form to create alt
* remove copied and pasted template
* rounded section
* UI improvement + fix
* \n
* fix status
* admin: remove duplicate route
admin: do a permissions check on 2 pages that need it
admin: set the manual flag for manually flagged alts
* variable change
* fix 500
* alts
* add shadowban icon to alt link tool
* shadowbanned tooltip
* add user info section
* fix 500, remove unnecessary form, and add alt votes button
* trans and also link to page
* margin
* sdsdsd
* stop the count
* fix prev commit
* with ctx
* plural
* alts
* don't show shadowbanned users to those who can't see them
this is... extremely rare and won't ever be seen in production however if perms were ever rearranged in the future, this keeps permissions correct
* shadowban check in alt list
* let shadow realm enthusiasts see shadowban alts
* sdsdsds
* test
* be graceful where needed
* sdsdsdsds
* alts: don't allow adding the same account
alts: clarify wording
* rename and reorder on admin panel
* EOL
* remove frankly unnecessary check
* try with a set
* test
* Revert "try with a set"
This reverts commit 72be353fba5ffa39b37590cc5d3bf584c94ee06e.
* Revert "Revert "try with a set""
This reverts commit 81e41890a192e8b46d0463477998e905fddf56ba.
* Revert "Revert "Revert "try with a set"""
This reverts commit be51592135a3c09848f993f0154bd2ac862ae505.
* clean up test
2022-11-14 12:32:13 -05:00
justcool393
271977cc6f
remove ghost cost
2022-11-14 11:22:10 -06:00
justcool393
000b4f4c37
can post in ghost threads
2022-11-14 11:20:34 -06:00
Aevann1
2c1b064b0a
remove rarely-used profanity filter entry
2022-11-14 18:14:47 +02:00
Aevann1
1375372dfc
remove redundant slur filters (the "fuck" one affects all conjugations n-word)
2022-11-14 18:14:47 +02:00
Snakes
4aedbc9b2e
Fix imports for sub move frontlist invalidation.
2022-11-14 04:14:41 -05:00
Aevann1
e83be235ba
delete frontpage cache when moving posts
2022-11-14 07:49:23 +02:00
justcool393
84d9ed6655
antispam: sanity check
2022-11-13 21:48:52 -06:00
Snakes
b5b8b2927c
Expand blackjack handling pipeline.
2022-11-13 21:43:26 -05:00
justcool393
7c0763d81f
blackjack fixes
2022-11-13 20:07:13 -06:00
justcool393
39e7e61bcb
posts: make ghost threads cost DC again
...
who the hell disabled this
2022-11-13 19:52:32 -06:00
Snakes
188923a908
Change schizocel NOTIFIED_USERS (by request).
...
This is like 35 pings a day on average, but he seems to think it's
what he wants.
2022-11-13 17:39:02 -05:00
carp
91e19193c8
Conjugations of fuck ( #446 )
...
fixed
2022-11-13 17:18:22 -05:00
Snakes
d3f25739f0
Fix ratelimit_user on 3 routes, make proper dec.
2022-11-13 07:25:57 -05:00
Snakes
dd912addd1
chat: allow dev envs, clarify error message.
2022-11-13 06:43:08 -05:00
justcool393
681d8b482a
chat: impose truescore chat limit
2022-11-13 05:31:48 -06:00
justcool393
bf98444ead
push notifications: fix pusher causing errors on large unicode msgs
2022-11-13 05:12:05 -06:00
justcool393
f4f03f6582
all seeing eye: rework reddit notifs a bit ( #445 )
...
* all seeing eye: rework reddit notifs a bit
this should be more reliable and catch more of these when they're sent
* fix reddit notifs to properly use fewer queries
2022-11-13 06:00:05 -05:00
justcool393
f63237a9a2
fix ratelimit user to work with apps
2022-11-13 02:36:36 -06:00
justcool393
aa272729f1
default ratelimit and default ratelimit slower
2022-11-13 00:43:47 -06:00
justcool393
1e25421ac9
fixed deduplication and changed to 30/minute per @TLSM
2022-11-13 00:20:19 -06:00
justcool393
80d7d5281d
ratelimit_user() wrapper
2022-11-13 00:07:15 -06:00
Aevann1
983e8b21d1
update android app
2022-11-12 19:56:54 +02:00
Aevann1
eca45ecf16
update app url
2022-11-12 16:47:12 +02:00
justcool393
3569c06ce2
add .video
2022-11-12 05:05:08 -06:00