Snakes
dd912addd1
chat: allow dev envs, clarify error message.
2022-11-13 06:43:08 -05:00
justcool393
d7f07dcd67
chat: allow club users into chat as well
2022-11-13 05:37:53 -06:00
justcool393
681d8b482a
chat: impose truescore chat limit
2022-11-13 05:31:48 -06:00
Snakes
8fee66c894
Reorder decorators to support f63237a9a2
.
...
Ultimately necessary because otherwise all bots share rate limits
with each other. The somewhat haphazard ordering of decorators bothers
me, but it's functionally required.
Approaches using request context (like reading the Authorization
header in ratelimit_user) likely produce bugs all their own.
2022-11-13 05:18:52 -05: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
7f36637b54
test
2022-11-13 00:11:56 -06:00
justcool393
80d7d5281d
ratelimit_user() wrapper
2022-11-13 00:07:15 -06:00
justcool393
f6842a13e4
links
2022-11-12 20:58:28 -06:00
justcool393
538497eb55
antispam: hook up duplicate checker
2022-11-12 20:48:33 -06:00
Snakes
5ce62245b1
Adjust modmail anti-spam.
2022-11-12 21:37:33 -05:00
justcool393
fd1b7d98bb
voting in the shadow realm fixes
2022-11-12 07:55:16 -06:00
Aevann1
0f9bde0d7b
sneed
2022-11-12 14:10:32 +02:00
Aevann1
31e6ca0889
fix pinned comments logic
2022-11-12 13:33:18 +02:00
justcool393
1d063e39ab
awards: move sb check to be earlier to avoid a query in rare cases
2022-11-12 04:33:47 -06:00
Aevann1
f9b673e33d
allowing adding bets via edit
2022-11-12 12:30:05 +02:00
justcool393
1608b3168a
awards: don't allow users to award messages
2022-11-12 04:29:07 -06:00
Aevann1
3f17624de6
validate poll options body_html length
2022-11-12 12:27:05 +02:00
justcool393
e3cd6c73f5
use the name styling the @Aevann1 likes
2022-11-12 04:24:08 -06:00
justcool393
c4c4076560
spider: fix bug that would instantly eat a spider award if someone was permanently spidered
2022-11-12 04:21:17 -06:00
Aevann1
27a8fd4657
same as last commit
2022-11-12 12:11:46 +02:00
Aevann1
a9188f5dac
"This user" -> "@username"
2022-11-12 12:08:43 +02:00
Aevann1
1b162fb049
prevent ppl from wasting their progressive stack on boosted users
2022-11-12 12:07:58 +02:00
Aevann1
b37ebff403
revert prev commit and redo logic
2022-11-12 12:02:23 +02:00
Aevann1
6f30cdeee5
only limit /settings/kofi to subscriptions
2022-11-12 11:56:26 +02:00
Aevann1
18c7fb365e
move the logic for my prev commit to SQLalchemy
2022-11-12 11:24:05 +02:00
Aevann1
9b85fd5dd5
hide modmail messages from muted users in the main notifications tab (they still appear in the modmail tab)
2022-11-12 11:19:56 +02:00
Aevann1
42e40c1691
split off muting and unmuting
2022-11-12 11:11:34 +02:00
justcool393
b1924e0cdf
don't bother try checking invalid urls
2022-11-11 23:40:17 -06:00
Aevann1
0796a17422
switch from hcaptcha to turnstile
2022-11-11 20:34:06 +02:00
Aevann1
7f2630f4c3
increase chat limit from 100 msgs to 500 (yolo or smth)
2022-11-11 19:19:24 +02:00
Aevann1
e28d26db2d
notify of flairs
2022-11-11 19:04:31 +02:00
Aevann1
ecf68caf20
(Mod) -> (/h/sub Mod)
2022-11-11 19:01:40 +02:00
Aevann1
fc19b1a23e
make the block number accurate for holes with stealth mode
2022-11-11 17:00:56 +02:00
Aevann1
05b7e79b76
remove the code i added for rdrama.com
2022-11-11 15:52:18 +02:00
Aevann1
1b4856e20f
exclude slackernews from hole nerf
2022-11-11 15:37:40 +02:00
justcool393
9f4d62d305
:)
2022-11-11 04:19:44 -06:00
justcool393
0cf37cfe5f
fix for worker timeout
2022-11-11 04:19:44 -06:00
justcool393
0c7eab0def
:pepodrool:
2022-11-11 04:19:43 -06:00
justcool393
f5912bb4cc
we don't need bloody bs4 to get a bloody title
2022-11-11 04:19:43 -06:00
Aevann1
37068acadf
exclude ('space', 'istory', 'dino') from hole nerf
2022-11-11 11:40:31 +02:00
Snakes
439b73d6ae
Make explicit submission flag behavior.
...
Main intention is to allow API users (bots) to benefit from the
defaults typically enforced clientside, and to generally be clearer
about what values do what.
2022-11-11 00:23:03 -05:00
Aevann1
fd3edf51c9
minor bool change
2022-11-11 06:46:14 +02:00
Aevann1
254798d0d4
fix 500 error in WPD/PCM
2022-11-11 06:43:02 +02:00
Snakes
047571ae57
Revert "ranking: don't progstack every single post"
...
This reverts commit 7011c85313
.
2022-11-09 18:31:29 -05:00
justcool393
7011c85313
ranking: don't progstack every single post
2022-11-09 17:18:34 -06:00
Snakes
8ab77eb0ee
Disable non-cosmetic awards on ghost posts.
...
Per poll result: https://rdrama.net/post/79285/-/3049889
Permits cosmetics and pin/unpin to be used; disables all others.
2022-11-09 18:07:23 -05:00
Aevann1
876f1d48f1
extend BOOSTED_USERS to comments
2022-11-09 23:28:11 +02:00
Aevann1
c066227d2b
remove pizza autovote
2022-11-09 23:27:16 +02:00
Snakes
4f0f4412c0
Fix /submit not testing `ghost` as boolean.
2022-11-09 16:24:35 -05:00