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
80d7d5281d
ratelimit_user() wrapper
2022-11-13 00:07:15 -06: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
justcool393
1608b3168a
awards: don't allow users to award messages
2022-11-12 04:29:07 -06: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
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
05b7e79b76
remove the code i added for rdrama.com
2022-11-11 15:52:18 +02: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
282762bef8
increase vamp award duration from 1 day to 2 days (but dont advertise that this time)
2022-11-09 21:09:38 +02:00
Aevann1
471147080f
make award message better
2022-11-05 05:56:01 +02:00
justcool393
a84c6b6b24
fix text
2022-11-04 21:30:33 -05:00
justcool393
0943ee064c
rename is_cosmetic to cosmetic
2022-11-04 21:22:30 -05:00
justcool393
81ed8cfc81
awards: make cosmetic awards give 10% of the price to the recipient
2022-11-04 21:16:23 -05:00
Aevann1
07a12380de
accomodate alt domain
2022-11-03 17:29:14 +02:00
Aevann1
f73c6d46df
accomodate rdrama.com users
2022-11-02 08:31:04 +02:00
Aevann1
111c9ab208
fix this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3007141?context=8#context
2022-11-02 05:22:16 +02:00
justcool393
6caebac946
actions: move user-only actions to useractions, which gets rid of a circular dependency
2022-11-01 18:46:56 -05:00
justcool393
651cd60aa2
marsify: make marsify awards last a day
2022-11-01 15:33:00 -05:00
justcool393
6d636e4e42
use charge_account everywhere
2022-11-01 00:25:19 -05:00
justcool393
769f20852b
features: use AWARDS feature for awarding, not badges
2022-10-31 23:53:27 -05:00
Aevann1
e7e667f56f
fix undeflectable awards being vaporized
2022-11-01 02:11:44 +02:00
Aevann1
1032a3193f
fix bug with deflection
2022-10-30 23:27:53 +02:00
Aevann1
ea2bd29a47
fix d9ef62b9c6
2022-10-30 00:16:58 +02:00
Aevann1
3bd8384c05
fix stray space
2022-10-29 23:37:01 +02:00
Aevann1
d9ef62b9c6
prevent ppl from wasting their chud awards
2022-10-29 23:34:40 +02:00
Aevann1
5230e8e7f8
remove code that excluded me from deflector effect
2022-10-29 22:19:50 +02:00
justcool393
548f2613c7
pinprovements
2022-10-25 17:48:10 -05:00
justcool393
dbb7296dd7
stickies: allow JL2 to sticky post
...
stickies: unpin on removal
stickies: don't allow removed posts to be stickied
2022-10-23 17:17:49 -05:00
justcool393
0a9e7b3ef4
lawlzposts: don't allow unpin awards
...
lawlzposts: disable if pins feature flag is off
2022-10-23 12:14:27 -05:00
Snakes
984d8675b5
Fix rainbow award on non-rDrama sites.
2022-10-17 23:10:40 -04:00
justcool393
aa508fc076
remove discord
2022-10-16 05:42:52 -07:00
Aevann1
77312317f3
get rid of Boolean columns for permenant awards
2022-10-14 18:59:49 +02:00
justcool393
c67406b84b
use site specific patron name
2022-10-12 03:45:45 -07:00
justcool393
71759e6afa
400 -> 409
2022-10-11 09:55:24 -07:00
justcool393
c0acb1722b
abort a bunch of stuff where we manually returned JSON
2022-10-11 08:40:19 -07:00
justcool393
456dd43bba
replace "if not FEATURES" with wrapper
2022-10-11 00:33:23 -07:00
justcool393
75e593da00
Revert "feature required wrapper"
...
This reverts commit 8700bcc5ee
.
2022-10-10 02:54:47 -07:00
justcool393
8700bcc5ee
feature required wrapper
2022-10-09 23:16:05 -07:00
Aevann1
472aedb14e
remove log items generated by awards for JL3 (since they cant print anymore)
2022-10-10 06:40:48 +02:00
Snakes
f4a722d151
Fix lootbox purchasing identifier conflict.
2022-10-07 17:01:29 -04:00
Aevann1
b608a514e4
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-07 05:25:37 +02:00
Aevann1
2d2a35d7ca
make giving awards not refresh the page
2022-10-07 05:25:34 +02:00
justcool393
f5996afc5a
add some perm requirements and add agendaposter thing
2022-10-05 20:04:38 -07:00
justcool393
970a7adfbd
buy ghost award permission
2022-10-05 19:57:31 -07:00
justcool393
2fc3044d5b
shadowban perms and stuff
2022-10-05 19:24:37 -07:00
justcool393
d5a48871f8
user ban and also fix global hole mod a bit i hope i didn't screw up the templates
2022-10-05 18:58:43 -07:00
Aevann1
3cd21e8899
got rid of printi awards
2022-10-05 23:23:00 +02:00
justcool393
78b668a870
don't duplicate checks for users
2022-09-30 15:51:17 -07:00
justcool393
057bc360bf
don't duplicate get checks for posts
2022-09-30 15:51:17 -07:00
justcool393
7e3f43c9ab
unperson shadowbanned users ( #373 )
...
* unperson shadowbanned users
if a shadowbanned user copes, does anyone hear them seethe?
* unperson shadowbanned users (by id)
* don't import that
* Add include_blocks.
We don't always want to request blocks from the db when we have a user set
* block shadowbanned users from hole mod tools
* don't allow awarding shadowbanned things
* fix conflict
* gracefully use get_account when specified and also add include_blocks flag to get_account as well
2022-09-30 14:00:58 -07:00
Aevann1
51d7cd6d7e
fix shit with hole logs
2022-09-29 12:18:27 +02:00
Snakes
0b416dcf2c
Revise marsify logic.
2022-09-26 02:09:26 -04:00
Snakes
aea590dda1
Fix syntax error in 8b722f2075
.
2022-09-24 19:39:30 -04:00
justcool393
8b722f2075
don't leak usernames with deflectors ( #372 )
...
cope marsey xd
2022-09-24 19:34:33 -04:00
Aevann1
f9d1df54bf
make pin and unpin award work on a basic of 6 hours (unlike posts which is 1 hour)
2022-09-23 16:41:56 +02:00
Aevann1
8a8a67a059
remove ban_evade logic
2022-09-22 21:40:14 +02:00
Aevann1
d22d60b5f7
fix typos
2022-09-22 01:52:39 +02:00
Aevann1
eb12464d43
make award immunity only in rdrama
2022-09-22 00:30:12 +02:00
Aevann1
955cee3f83
revise award immunity
2022-09-22 00:28:58 +02:00
Aevann1
201208e673
make deflector not stack
2022-09-22 00:28:35 +02:00
Aevann1
f17bce610d
make chud award generate a mod log item when used by JL3
2022-09-21 22:55:34 +02:00
Aevann1
302a852de3
make carp immune to awards
2022-09-21 22:38:59 +02:00
Aevann1
61739b765e
made spider award not give any notifs
2022-09-21 22:27:12 +02:00
Aevann1
f79d65973c
fix 500 error on granting awards
2022-09-21 20:53:42 +02:00
Aevann1
272e39ebf2
add spider award
2022-09-20 19:52:52 +02:00
Aevann1
2026a1a9c7
restore the 10 award limit for me
2022-09-19 19:10:52 +02:00
Aevann1
e5da38d19c
change bite award back to 24 hrs
2022-09-18 23:25:58 +02:00
justcool393
50f60a5b5c
don't allow flairlocks on ghost posts ( #358 )
...
flairlocks can expose ghosts
2022-09-18 02:09:01 +02:00
Aevann1
2c33b09bbc
add vaporizing
2022-09-16 22:39:19 +02:00
Aevann1
2fb4ebdcb0
minor sanitize refactor
2022-09-16 18:30:34 +02:00
Aevann1
e19b2caf7d
make marsify award get deflected
2022-09-16 15:18:19 +02:00
Snakes
f1153031cc
Apply double-spend fix to hats.
2022-09-16 04:58:12 -04:00
Snakes
54cae4b570
Fix shop double-spend exploit.
2022-09-16 04:43:55 -04:00
Aevann1
9f231e096f
award printing change in WPD
2022-09-16 10:41:30 +02:00
Aevann1
4abf75edc0
add error codes
2022-09-12 11:52:07 +02:00
Aevann1
cc0f2059c3
more descriptive success messages
2022-09-12 07:23:08 +02:00
Aevann1
fbe7089d2a
more detailed success message description
2022-09-11 16:32:00 +02:00
Aevann1
021c74aaa5
nerf vamp award again
2022-09-10 02:31:45 +02:00
Aevann1
77128f54f8
adjust bite award logic
2022-09-09 08:49:05 +02:00
Aevann1
485c30ec3c
relax ratelimit on buying awards
2022-09-08 21:14:02 +02:00
Aevann1
4d3a76f686
vamp award adjust
2022-09-08 17:46:01 +02:00
Aevann1
9475aa27e4
award badges shit
2022-09-07 05:31:55 +02:00
Aevann1
043a235082
buff vamp house award again
2022-09-07 00:35:05 +02:00
Aevann1
71f3a2c24c
buff vamp house award
2022-09-07 00:25:29 +02:00
Aevann1
d930141dc5
same as last commit
2022-09-06 06:54:59 +02:00
Aevann1
1d419640a3
make deflector unaffect me
2022-09-06 06:53:49 +02:00
Aevann1
d0cfd8a8c1
change house femboy award
2022-09-06 06:16:41 +02:00
Aevann1
959e08bb83
make marsify not count towards /marseys
2022-09-05 10:49:34 +02:00
Aevann1
88e96988a9
more marsify/owoify shit
2022-09-04 21:43:02 +02:00
Aevann1
2201745c93
add owoify and marsify to offsites
2022-09-02 20:10:35 +02:00
Aevann1
57d7e2c125
fix owoify and marsify getting wasted when awarded on a post
2022-09-02 00:11:30 +02:00
Aevann1
1706b15ce6
fix deflector not working for house awards
2022-08-30 20:35:03 +02:00
Aevann1
2806634199
show the real base price for house awards when ur founder
2022-08-30 07:08:04 +02:00
Aevann1
8229425598
fix dict oopsie I did when adding house awards
2022-08-30 07:06:59 +02:00
Snakes
9c03ab2d5e
Fix owoify award affecting links, emoji, markup.
2022-08-27 00:48:44 -04:00
Aevann1
c497c589c9
make deflector work on house awards
2022-08-27 05:29:07 +02:00