Commit Graph

5033 Commits (5566fddbaa9a765ec0045974350a8bd97afa4494)

Author SHA1 Message Date
justcool393 5566fddbaa asset submissions: fix ImportError 2022-11-02 18:54:01 -05:00
Snakes a310d43b10
Fix DMs not checking blocks. 2022-11-02 16:23:01 -04: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 cd33fa9046 slots: fix numerous bugs with slots
slots: fix missing imports (x2)
slots: fix other user errors being returned to a potentially completely unrelated user

for example if Snappy was under the rehab effect and it pulled the slot, it'd abort and potentially cause other bugs down the chain, which makes no sense to a user or could leave a post in a wonky state
2022-11-01 18:03:53 -05:00
Aevann1 da5cc4093f make snappy gamble again 2022-11-02 00:40:22 +02:00
Aevann1 141ec98c06 small dedup in asset_submissions 2022-11-02 00:27:42 +02:00
justcool393 7d80483f67 alts: only change session data if new include_current_session flag is set 2022-11-01 16:58:42 -05:00
justcool393 89d5428f77 bans: don't leak shadowbans to people who can't see them 2022-11-01 15:59:18 -05:00
justcool393 651cd60aa2 marsify: make marsify awards last a day 2022-11-01 15:33:00 -05:00
justcool393 2fed50cb46 not post.stickied_utc 2022-11-01 15:19:35 -05:00
justcool393 f665941e16 pins: use variable instead of recomputing again 2022-11-01 15:15:29 -05:00
justcool393 02efc44682 pins: reintroduce bug/feature at @Aevann1's request
the old behavior was actually to let admins bypass the limit, but this was buggy when the new multi pin thing was added and wouldn't let jannies make permapins if pins were at the limit
to make the code clear though, the permission name has been changed
2022-11-01 15:14:11 -05:00
justcool393 d5812096af voting: allow voting to cause a user's DC balance to go negative 2022-11-01 12:50:01 -05:00
justcool393 1e9f9564dc commentsaverelationship 2022-11-01 12:19:21 -05:00
justcool393 62e171c09a fix mbux -> coins 2022-11-01 03:54:02 -05:00
justcool393 6d636e4e42 use charge_account everywhere 2022-11-01 00:25:19 -05:00
justcool393 905b070437 twentyone: ratelimits: put a once per 2 seconds ratelimit to patch up race conditions 2022-11-01 00:04:55 -05:00
justcool393 769f20852b features: use AWARDS feature for awarding, not badges 2022-10-31 23:53:27 -05:00
justcool393 67b56fb743 users: fix comments page 2022-10-31 23:37:29 -05:00
Snakes d7aaa33c7f
Formalize unpurchasable hats. 2022-10-31 23:38:10 -04:00
Aevann1 e7e667f56f fix undeflectable awards being vaporized 2022-11-01 02:11:44 +02:00
justcool393 b17ea4fd37 awards: only restrict admins if award feature flag set 2022-10-31 18:11:49 -05:00
Aevann1 48775dbb5d disallow jannies from undoing ban awards 2022-11-01 01:05:02 +02:00
Aevann1 cc473795bf make banned domains case insensitive 2022-10-31 16:33:11 +02:00
Aevann1 88e7f30f04 make !SLOTS work too 2022-10-31 02:20:50 +02:00
Aevann1 1032a3193f fix bug with deflection 2022-10-30 23:27:53 +02:00
justcool393 4ff2a55ed2 fix prev 2022-10-30 15:36:30 -05:00
justcool393 d61eda8427 merge i think 2022-10-30 15:08:20 -05:00
Aevann1 e50e2fcae8 fix prev commit 2022-10-30 20:47:49 +02:00
Aevann1 62d3738e46 rename ADMIGGER variable to ADMIGGER_THREADS for clarity 2022-10-30 20:45:53 +02:00
Aevann1 aec5f96a7b changes to donation flow 2022-10-30 20:43:06 +02:00
Aevann1 6778ef14ad diversity is our strength 2022-10-30 20:27:36 +02:00
Aevann1 8dd9045a33 allow distinguishing other ppl's comments 2022-10-30 17:32:54 +02:00
Aevann1 b9c482712a constantify file extensions 2022-10-30 16:55:43 +02:00
Aevann1 23883c530b constantify TRUESCORE_DONATE_LIMIT 2022-10-30 16:18:42 +02:00
justcool393 d1e35e4afe fix prev commit 2022-10-30 02:37:31 -05:00
justcool393 cd60a11180 users: add the previous improvements to comments 2022-10-30 02:36:50 -05:00
justcool393 7f716a6e72 users and search: add status codes 2022-10-30 02:33:42 -05:00
justcool393 5d2f4d203b users: add is_visible_to function for checking user visibility to a certain other user 2022-10-30 02:31:21 -05:00
justcool393 68deff8f60 users: is_following adjustments
users: move is_following check to part of the user model itself
users: also don't query followers if the username is wrong and we're redirecting anyway
2022-10-30 02:19:49 -05:00
justcool393 8a3be91c04 users: procoins feature required to be able to transfer mbux 2022-10-30 02:10:21 -05:00
justcool393 27738ef7c9 add type annotations and fix prev commit 2022-10-30 02:07:37 -05:00
justcool393 9bf1ac689c users: fix bug that would steal coins or mbux if they entered a reason that was too long
users: refactor transfer_currency into its own thing
2022-10-30 02:05:02 -05:00
justcool393 b9f2a7123e actions: move pizzashill autovotes to actions 2022-10-30 01:03:23 -05:00
Aevann1 f09ec0ca17 restore slot gambling in comments 2022-10-30 02:36:23 +02:00
Aevann1 a18c2e24e9 fix bug in casino slots + change return value 2022-10-30 02:12:32 +02:00
Aevann1 47ac6e12db small grammar change 2022-10-30 01:53:09 +02:00
Aevann1 cb8706ec6b small fix to /live 2022-10-30 01:33:23 +02:00