Commit Graph

5602 Commits (2183161916a141f192377897bf4ee2d92effc941)

Author SHA1 Message Date
Aevann1 2183161916 add toggle for event music 2022-12-20 03:38:19 +02:00
Aevann1 373a6cf0db add grinch 2022-12-20 03:13:34 +02:00
Aevann1 bee14957a7 increase cache timeout for stats by x10 2022-12-20 02:43:51 +02:00
Aevann1 eee0dfce6a restore /stats 2022-12-20 02:42:39 +02:00
Aevann1 c190fa89b2 give jannoids notifs for deleted and removed comments 2022-12-19 23:28:37 +02:00
Aevann1 4997ba561a disable 2fa requirement in localhost 2022-12-19 23:27:56 +02:00
Aevann1 e217cc9758 give new user notifs to 3 jannies in PCM 2022-12-19 22:32:24 +02:00
Aevann1 e6e8fa0d1a dont link any alts to boo's main account 2022-12-19 22:20:57 +02:00
Aevann1 f19bbb1c09 double XP 2022-12-19 21:09:51 +02:00
Aevann1 ecb3ee52b4 disable admin features unless 2FA configured 2022-12-19 20:57:20 +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 481d0d7c6a remove carp award immunity 2022-12-19 16:43:52 +02:00
Aevann1 e832be4c18 restore badge rate limit 2022-12-19 15:55:39 +02:00
Aevann1 cda5870f8e disable transparent.css when event 2022-12-19 03:45:00 +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: #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 54e3a7eeab fix 500 error 2022-12-18 19:01:06 +02:00
Aevann1 4a334133bc same as last commit 2022-12-18 18:47:11 +02:00
Aevann1 31aa9b09a8 relax ratelimit for badge_grant 2022-12-18 18:46:44 +02:00
Aevann1 6cde4a040c make ?context=8 default 2022-12-18 16:48:48 +02:00
Aevann1 cafe3c47d3 overwrite ban reason 2022-12-18 16:25:28 +02:00
Aevann1 9974f98b8c Revert "Revert "remove the logic for fixing old mentions""
This reverts commit 5e9e1872af.
2022-12-17 21:11:22 +02:00
Aevann1 5e9e1872af Revert "remove the logic for fixing old mentions"
This reverts commit 90f6f0b96e.
2022-12-17 21:05:29 +02:00
Aevann1 2256fecee6 /stats crashes workers - disable until someone else fixes it (not me) 2022-12-17 20:55:24 +02:00
Aevann1 537e729195 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3256216?context=8#context 2022-12-17 17:57:50 +02:00
Aevann1 c546412951 fix bug due to bad syntax 2022-12-16 22:40:16 +02:00
Aevann1 fdf8380659 fix wrong syntax (marseybrainlet) 2022-12-16 22:25:48 +02:00
Aevann1 b6c01fb275 clicking twice shouldn't generate a mod log 2022-12-16 22:17:03 +02:00
Aevann1 ae51fe812a fix 500 error 2022-12-16 22:08:46 +02:00
Aevann1 ecfba3e3b5 give me notifs for only "ban_user" and "shadowban" 2022-12-16 21:34:01 +02:00
Aevann1 173f9e9853 fix push notif title 2022-12-16 20:06:00 +02:00
Aevann1 90f6f0b96e remove the logic for fixing old mentions 2022-12-16 19:50:34 +02:00
Aevann1 8660fcaa2e fix old mentions 2022-12-16 19:47:40 +02:00
Aevann1 f54b9a0259 fix 500 error 2022-12-16 19:45:01 +02:00
Aevann1 7c389bbdfd fix old mentions 2022-12-16 19:43:06 +02:00
Aevann1 78e2fe9d5a remove unnecessary logic now 2022-12-16 16:48:17 +02:00
justcool393 7aa10b9d1b special logic redux (#76)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #76
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-15 22:56:04 +00:00
justcool393 82f34d0cab submissions: special posting sub logic by request (#75)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #75
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-15 22:51:59 +00:00
Aevann1 bd8ac649d4 order punished listings by truescore instead 2022-12-15 20:31:58 +02:00
Aevann1 10dc8a37ac better ban_reason when using ban award 2022-12-14 22:37:47 +02:00
Aevann1 a71b21c1b6 fix JC bug 2022-12-14 20:24:14 +02:00
Aevann1 ac4a2c8ff7 add total truescore and total patrons to poll_votes.html 2022-12-14 19:28:31 +02:00
Aevann1 0c94ec2067 restore themecolor to default when switching from win98 theme 2022-12-14 18:59:00 +02:00
Aevann1 c491b5deb2 disable shit award 15 coins 2022-12-14 16:03:18 +02:00
Aevann1 1773632a75 remove punished listings filtering 2022-12-14 15:17:39 +02:00
Aevann1 df804c3179 minor change to punished listings 2022-12-14 15:12:02 +02:00
Snakes cf5eff3f48
Revert "better shadowban propagation"
This reverts commit 129f335363.

If there exists a loop in alts, this sends a worker into an infinite
loop, thrashes the database, and eventually crashes the worker. This,
in practice, makes shadowbanning people with many alts impossible since
our alt linking algorithm almost explicitly creates cycles rather than
maintaining a tree.

To fix this, we need SQL that builds a set of all Users in the
connected Alt graph of a given user (likely using a recursive CTE)
and then bans them at once, rather than running a depth-first search
with maximum depth that doesn't remember previously visited nodes.

There is also potentially the chance that this isn't because of cycles
per se but rather because quintic polynomial behavior explodes quickly
even in the low-double-digits number of alts.
2022-12-13 23:21:53 -05:00
Snakes 88352cc1cb
Revert "modmail: fix modmail 404 (#64)"
This reverts commit a9309096b4.

This doesn't fix the modmail bug in all contexts and introduces a bug
in another. Root cause is that POST /comments is sometimes called by
DM reply boxes (rather than POST /@<username>/message), revert pending
fix.
2022-12-13 22:07:32 -05:00
justcool393 a9309096b4 modmail: fix modmail 404 (#64)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #64
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-14 02:13:50 +00:00
Aevann1 b923776e71 simplify punished listings 2022-12-14 00:29:56 +02:00