Aevann
50439f988f
remove graceful=True from filter_emojis_only cuz its not useful at all
2023-09-06 21:14:07 +03:00
Aevann
f2ed74ec6a
dedup sorting in the jinja templates
2023-09-05 17:32:36 +03:00
Aevann
c2c9c79e20
decrease edit and delete ratelimits to hinder mass-deleting and mass-editing
2023-09-01 11:23:49 +03:00
Aevann
174adfd179
fix delete button in modal sending multiple requests which triggers ratelimit when mass-deleting way too early
2023-09-01 11:15:33 +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
0c1cf5e3f8
remove legacy mentions
2023-08-29 08:44:49 +03:00
Aevann
1705893fa6
Revert "very needful update"
...
This reverts commit b0fb782b3c
.
2023-08-23 05:26:41 +03:00
Aevann
b0fb782b3c
very needful update
2023-08-23 00:54:15 +03:00
Aevann
e1d6c97465
Revert "use gevent.with_timeout whenever u can"
...
This reverts commit eb0af76e46
.
2023-08-20 19:24:53 +03:00
Aevann
eb0af76e46
use gevent.with_timeout whenever u can
2023-08-20 19:14:02 +03:00
Aevann
8097c16b55
remove now-unnecessary lines relating to int vals
2023-08-20 19:03:34 +03:00
Aevann
96668282df
use flush intead of commit
2023-08-20 06:04:25 +03:00
Aevann
4993c3a889
remove auto-flush to reduce average lock duration
2023-08-20 05:00:35 +03:00
Aevann
5b3a0a6073
reduce post ratelimit on wpd from 30/day to 20/day
2023-08-17 05:42:16 +03:00
Aevann
ffc55ebb81
fix posting on wpd taking a million years
2023-08-17 04:53:37 +03:00
Aevann
a5cbc1ffbd
Revert "try random shit to fix posting in WPD"
...
This reverts commit 12fbd8da83
.
2023-08-17 02:17:49 +03:00
Aevann
6af8e60692
Revert "try random bullshit to fix posting on wpd"
...
This reverts commit f575c37b40
.
2023-08-17 02:17:24 +03:00
Aevann
f575c37b40
try random bullshit to fix posting on wpd
2023-08-17 00:25:16 +03:00
Aevann
12fbd8da83
try random shit to fix posting in WPD
2023-08-17 00:14:11 +03:00
Aevann
d920ae47c1
addendum to last commit
2023-08-15 23:34:06 +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
b06fc47a02
restrict the behavior added in last commit to post titles only
2023-08-13 17:23:47 +03:00
Aevann
1882653da6
addendum to 149095d91e
2023-08-12 17:56:39 +03:00
Aevann
5cbb95689b
force darkdeity posts in mnn
2023-08-12 13:19:12 +03:00
Aevann
7ab046474f
disallow !followers ping in posts
2023-08-11 16:38:49 +03:00
Aevann
3ec2038caf
same as last commit
2023-08-11 16:15:34 +03:00
G-tix
4602e374ee
Remove unnecessary redirects and remove temp event stuff. ( #183 )
...
Removing 400 redirects as this confuses users (including me lol). Also removed some event stuff which seems redundant.
Reviewed-on: rDrama/rDrama#183
Co-authored-by: G-tix <g-tix@noreply.fsdfsd.net>
Co-committed-by: G-tix <g-tix@noreply.fsdfsd.net>
2023-08-10 12:37:57 +00:00
Aevann
67f968d04d
show who exiled the user in the icon
2023-08-08 20:01:58 +03:00
Aevann
8c76addad6
fix bug
2023-08-08 15:06:13 +03:00
Aevann
ed34558f33
remove unnecessary .all()
2023-08-05 22:26:42 +03:00
Aevann
a3a29408f4
fix 500 error
2023-08-05 22:26:17 +03:00
Aevann
fe5acdddd9
minor syntax change
2023-08-05 22:23:58 +03:00
Aevann
6ade4f2093
fix 500 error
2023-08-05 22:23:24 +03:00
Aevann
3330c2517f
total tracking parameter death
2023-08-05 21:51:09 +03:00
Aevann
c560e793d4
fix bug where edited post options didnt work unless u edit again
2023-08-04 03:11:34 +03:00
Aevann
0cac3ed55f
dont include THOT's other bets
2023-08-03 11:48:02 +03:00
Aevann
299bda3b8a
"""""fix"""""" ping groups in /submit
2023-08-02 11:27:03 +03:00
Aevann
467135421a
Revert "enforce consistency for ffmpeg params"
...
This reverts commit 19b30e726b
.
2023-07-31 03:25:47 +03:00
Aevann
6e9d3d68dc
strip after not before
2023-07-30 09:20:02 +03:00
Aevann
bd3a672c2d
make thumbnail_thread not fail bc of idle_in_transaction_session_timeout
2023-07-30 04:35:12 +03:00
Aevann
8beb2d7e8e
remove typing (useless code bloat)
2023-07-30 03:42:06 +03:00
Aevann
e1853befaa
restore needful .strip()
2023-07-29 22:17:50 +03:00
Aevann
7c462bc17f
remove a bunch of unnecessary/confusing garbage
2023-07-29 22:13:37 +03:00
Aevann
19b30e726b
enforce consistency for ffmpeg params
2023-07-29 21:50:09 +03:00
Aevann
3ee037c2c7
temporarily disable ping groups on making posts
2023-07-29 21:32:00 +03:00
Aevann
0a9b19bb15
delete redis cache on post deletion/removal/undeletion/unremoval
2023-07-29 01:51:54 +03:00
Aevann
5d8794ef5f
get rid of ffmpeg console spam
2023-07-28 21:26:55 +03:00
Aevann
6f16ba3be0
enforce subprocess consistency
2023-07-28 20:01:56 +03:00
Aevann
46d24cddfc
same as 36b2db7b2b
2023-07-27 03:35:44 +03:00
Aevann
65c277b5a6
fix 500 error
2023-07-26 16:19:53 +03:00
Aevann
ffba8b3b2d
only query the columns u need
2023-07-26 15:31:44 +03:00
Aevann
935cd1d116
silence lock error
2023-07-26 15:12:37 +03:00
Aevann
6ceb087912
restore necessary flush
2023-07-26 01:08:33 +03:00
Aevann
a57ff00e09
make the site faster by not having GET endpoints waiting for UPDATE statements to finish (they can take really long bc of locks)
2023-07-26 00:26:34 +03:00
Aevann
a104337204
move execute_snappy to the bottom and see what happens
2023-07-25 21:37:10 +03:00
Aevann
0340aaf244
remove unnecessary flush
2023-07-25 21:37:09 +03:00
Aevann
4710ba4467
readjust THOT pins
2023-07-25 15:27:10 +03:00
Aevann
feec6740d1
catch ffmpeg timeout for making poster
2023-07-23 18:14:10 +03:00
Aevann
01151de87f
do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4619404#context
2023-07-22 22:34:16 +03:00
Aevann
6726668237
force LLM posts in chudrama
2023-07-22 19:32:46 +03:00
Aevann
a2106d191a
disasllow ppl from publishing drafts while banned
2023-07-22 17:40:23 +03:00
Aevann
0f76908c3b
pin women worldcup posts
2023-07-22 13:57:54 +03:00
Aevann
649ea49c67
mute annoying errors
2023-07-18 13:17:37 +03:00
Aevann
c2d709e9ef
dont allow saves sorting in posts (it results in 500 error)
2023-07-17 20:32:41 +03:00
Aevann
c8a40deb97
fix this https://rdrama.net/h/toomanyxchromosomes/post/187815/footballer-cleared-of-rpe-for-the/4583480#context
2023-07-16 14:56:24 +03:00
Aevann
a139197371
persist ppl's edit text on failure
2023-07-14 20:07:58 +03:00
Aevann
ff67e30949
dont count failed requests towards ratelimit
2023-07-13 16:50:46 +03:00
Aevann
fca27c37eb
remove unnecessary v shit
2023-07-08 16:32:14 +03:00
Aevann
ecf3e1133f
exempt kaamrev from 1week edit limit
2023-07-08 00:28:08 +03:00
Aevann
f1856a6ec2
only call calc_users when its necessary
2023-07-07 23:40:16 +03:00
Aevann
6dacba53b6
tinker with cache to stop insane cpu usage by redis-server
2023-07-07 22:08:23 +03:00
Aevann
6c89776b1d
dont autopin ghost threads
2023-07-06 04:44:05 +03:00
Aevann
aaa618657f
disable ghost-posting in holes to prevent hole jannies from unmaking ppl who participate in them
2023-07-01 03:39:24 +03:00
Aevann
d4613c3308
allow ppl to make reposts
2023-07-01 00:35:39 +03:00
Aevann
af4b262c7d
add padding
2023-07-01 00:30:24 +03:00
Aevann
778f4f045e
rename variable
2023-06-29 23:10:31 +03:00
Aevann
bac356db1d
make sure all usages of subprocess have timeout duration
2023-06-29 22:38:55 +03:00
Aevann
f33f0647a9
expand thread caching
2023-06-27 23:08:52 +03:00
Aevann
7493722457
redis cache frontpage
2023-06-27 23:03:14 +03:00
Aevann
95c25d73e6
fix last commit
2023-06-27 15:08:02 +03:00
Aevann
2ecd9c4dec
force permachudded posts in chudrama
2023-06-27 15:08:01 +03:00
Aevann
5b86ee21b0
fix bug that caused urls with quoted spaces to not work https://i.imgur.com/RFyI9jB.png
2023-06-26 18:28:07 +03:00
Aevann
3d3e517a4c
Add House Edgy
2023-06-26 18:05:27 +03:00
Aevann
6958b70975
do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4197134#context
2023-06-24 23:31:12 +03:00
Aevann
bb3c120e8c
fix wrong autojanny comment count
2023-06-23 20:47:08 +03:00
Aevann
d9bed378a9
complement 32fa466e6a
2023-06-23 16:46:42 +03:00
Aevann
e607c39d67
make chud effects not retroactive
2023-06-23 16:14:23 +03:00
Aevann
a15d5eabef
rename "agendaposter" to "chud"
2023-06-23 14:07:47 +03:00
Aevann
8203af3595
increase snally/tgtw pin duration to 8hrs
2023-06-20 13:29:39 +03:00
Aevann
1003663071
increase snappy,tgtw pin duration
2023-06-19 08:03:41 +03:00
Aevann
e283544570
only cache posts in redis on WPD
2023-06-14 23:24:32 +03:00
Aevann
d7d44606ac
add "saves" and "subscriptions" sorts everywhere
2023-06-08 04:56:12 +03:00
Aevann
9c6c264307
limit the "show more" button to comments only
2023-06-08 04:36:41 +03:00
Aevann
193250cd76
only show pinned comments in "hot" sort
2023-06-08 04:22:17 +03:00
Aevann
d8bfc0a0a9
dont pass db session as an argument unless necessary
2023-06-08 03:49:37 +03:00
Aevann
ee92098abe
fix this https://rdrama.net/post/174840/according-to-siteindicescom-rdramanet-has-a
2023-06-08 03:32:33 +03:00
Aevann
32fa466e6a
rename submissions to posts
2023-06-08 02:26:32 +03:00
Aevann
27330e1d62
restore IGNORE_DOMAIN_BAN janny perm
2023-06-02 16:48:58 +03:00
Aevann
cd942c18a2
rename the over_18 cookie key in a last ditch attempt to relieve the duplicate cookie victims of infinite +18 warnings
2023-05-16 06:45:54 +03:00
Aevann
5c4e0a5b79
stacked changes
2023-05-15 12:27:24 +03:00
Aevann
bee7cc8892
put my fake headers in const
2023-05-15 03:07:21 +03:00
Aevann
2685b844c1
dont run execute_under_siege on editing
2023-05-14 23:39:03 +03:00
Aevann
ada7c713ab
use "post" instead of "submission" for consistency
2023-05-14 23:38:09 +03:00
Aevann
dfe5fdcea1
make logged_out-cels count towards post view counts again
2023-05-12 22:40:34 +03:00
Aevann
aca1ac2801
replace <br> with \n
2023-05-12 22:23:29 +03:00
Aevann
7c334ceab7
remove IGNORE_DOMAIN_BAN perm
2023-05-12 22:21:50 +03:00
Aevann
592b4374a6
add IGNORE_DOMAIN_BAN
2023-05-07 21:06:08 +03:00
Aevann
6eec81c2ec
remove unused imports
2023-05-05 03:23:04 +03:00
Aevann
d0cc9a4822
revert a606d9ed67
2023-05-04 22:55:08 +03:00
Aevann
a606d9ed67
implement cloudflare caching instead of redis caching
2023-05-03 23:41:41 +03:00
Aevann
6c397ea291
cache posts in redis
2023-05-03 17:40:36 +03:00
Aevann
ed375c27d5
retire /h/changelog
2023-04-29 18:31:51 +02:00
Aevann
2cdbf9ed5d
restore autopinning
2023-04-24 17:17:12 +02:00
Aevann
2949afaaca
remove autopinning
2023-04-16 19:45:33 +02:00
Aevann
c4263c9439
fix prev commit
2023-04-02 10:04:32 +02:00
Aevann
5bc6597188
add 1/1 second ratelimiter for user ids to fix blackjack exploit
2023-04-02 08:52:26 +02:00
Aevann
3b7569745e
fix minor chud evasion exploit
2023-03-25 20:18:12 +02:00
Aevann
f52aae0ec3
change autojanny chud message
2023-03-25 18:46:50 +02:00
Aevann
019253e6db
use css for chud images instead
2023-03-24 14:29:19 +02:00
Aevann
f5e507f795
fix 2 chud phrases
2023-03-23 17:36:28 +02:00
Aevann
4f788cb909
dedup chud-checking logic
2023-03-23 14:50:01 +02:00
Aevann
f78cd322d1
much better chud award logic
2023-03-22 23:39:25 +02:00
Aevann
50680e0fa8
cut down on chud award evasion
2023-03-21 23:33:43 +02:00
Aevann
4c47cc5d63
stop implementing BAN_EVASION_DOMAIN since nobody actually uses it https://camas.unddit.com/#{%22searchFor%22:1,%22resultSize%22:100,%22query%22:%22stupidpol.site%22}
2023-03-21 17:39:26 +02:00
Aevann
b004617695
customizable chud phrases
2023-03-19 19:13:45 +02:00
Aevann
f5a68a7e79
fix 500 errors
2023-03-19 14:01:57 +02:00
Aevann
7dd5f179df
pin RitalinRx posts
2023-03-16 15:38:49 +02:00
Aevann
57765f0776
revert sqlalchemy changes
2023-03-16 08:27:58 +02:00
Aevann
a392fbb86d
restore autoflush
2023-03-16 06:21:57 +02:00
Aevann
c6a7051200
flush instead of committing inside requests
2023-03-15 07:19:35 +02:00
Aevann
f768d81103
keep db sessions open
2023-03-15 05:58:00 +02:00
Aevann
4a756d742f
extend under siege to new posts
2023-03-13 21:18:08 +02:00
Aevann
571ae603c7
fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3770101#context
2023-03-12 11:40:30 +02:00
Aevann
25312029aa
add poster_url for videos
2023-03-11 08:29:52 +02:00
Aevann
5708d4d64e
dont wipe saved shit in /submit unless post is successful
2023-03-09 07:52:20 +02:00
Aevann
d6afc9f1de
remove pizza from autopin again
2023-03-08 08:02:26 +02:00
Aevann
77e7663476
remove leftover shit
2023-03-08 08:01:53 +02:00
Aevann
cb5227fdc4
same as last commits
2023-03-07 03:24:02 +02:00
Aevann
e4c8fab6dc
same as last 2 commits
2023-03-07 03:17:51 +02:00
Aevann
393bb7b033
dont run thumbnail_thread from posts from the site itself
2023-03-07 03:12:56 +02:00
Aevann
355af22171
do this https://stupidpol.site/post/152490/downvoting-isnt-funny-its-just-annoying/3729531#context
2023-03-07 02:25:40 +02:00
Aevann
aae979066e
dont pin posts in /h/slavshit
2023-03-06 22:45:21 +02:00
Aevann
a76729cda5
add IGNORE_1WEEk_EDITING_LIMIT perm
2023-03-06 22:22:15 +02:00
Aevann
ce501ddf05
fix repost-detection in /submit
2023-03-06 02:00:01 +02:00
Aevann
0c91650a1d
remove jc insanity
2023-03-06 00:50:06 +02:00
Aevann
ff6c4f89ad
repin pizzashill's posts
2023-03-03 22:11:43 +02:00
Aevann
d7f42ac50a
dont give shekels to ppl not notified bc of blocks + dont give shekels to ppl ALSO mentioned directly + prevent group double charging on edit + do this https://stupidpol.site/h/countryclub/post/79285/-/3695711#context
2023-03-02 21:56:43 +02:00
Aevann
308bb03125
add !everyone
2023-03-02 02:32:51 +02:00
Aevann
cf9500ddbd
enable notifs for ghost posts
2023-03-01 21:28:19 +02:00