forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

17832 Commits (e5aa3c3e923f0dd90fba7f12c4e9f274baded3ff)

Author SHA1 Message Date
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
Aevann1 b433efb7fd no discord screenshots in the sidebar, kys who ever added this 2022-12-14 15:10:11 +02:00
SneedBot b7486bfe62 sneed 2022-12-14 04:44:10 +00: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 e4c9472c92
PCM: adjust TRUESCORE_CLUB_MINIMUM
By Kippy request. Also discussed the precise truescore breakpoints
with him in detail so this _should_ be the last time we have to
change it.
2022-12-13 23:20:34 -05:00
justcool393 34ce953884 Fix DM and modmail replies 404ing (#65)
messages got borked completely by this commit

this reverts commit b649a16b46.

---

Snakes note: DM and modmail replies 404'd because dispatched
to the wrong endpoint. The fix to that affected cancel buttons
in some contexts, so this PR also fixes those. Cancel button
presence and behavior should be same as it was a ~week ago
(i.e. correct), and all reply everywhere seem to work right.

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#65
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-14 04:16:43 +00: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: rDrama/rDrama#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
Aevann1 8bc8546089 fix prev commit 2022-12-14 00:05:34 +02:00
Aevann1 c10c00473a make is_banned fkey on user id 2022-12-14 00:02:53 +02:00
Aevann1 8dbc566c03 disable banner expansion in WPD 2022-12-13 23:56:12 +02:00
Aevann1 972c5533f1 Revert "disable banner expansion in WPD"
This reverts commit 273341d45b.
2022-12-13 23:54:34 +02:00
Aevann1 47d597a716 Revert "Revert "disable banner expansion in WPD""
This reverts commit b7bbc2cc1e.
2022-12-13 23:51:53 +02:00
Aevann1 b7bbc2cc1e Revert "disable banner expansion in WPD"
This reverts commit 273341d45b.
2022-12-13 23:49:26 +02:00
Aevann1 5be1fbd3fb add taglines 2022-12-13 23:24:45 +02:00
Aevann1 273341d45b disable banner expansion in WPD 2022-12-13 23:24:24 +02:00
Aevann1 129f335363 better shadowban propagation 2022-12-13 23:12:58 +02:00
Aevann1 6ad67b97c3 reduce all-seeing eye price to 5k 2022-12-13 21:51:07 +02:00
SneedBot 6fba254510 sneed 2022-12-13 19:02:28 +00:00
SneedBot c0c10dc34a sneed 2022-12-13 19:01:59 +00:00
Aevann1 b531d38384 small change to punish listings 2022-12-13 20:54:18 +02:00
Aevann1 1ba74ad8fa fix for last commit 2022-12-13 20:52:28 +02:00
Aevann1 36fca9caab minor bugfix 2022-12-13 20:50:38 +02:00
Aevann1 f551c8e018 add tagline to rdrama 2022-12-13 20:32:42 +02:00
Aevann1 b649a16b46 fix cancel button 2022-12-13 20:26:25 +02:00
Aevann1 fa30af6e5c fix "undelete" button on comments not removing the yellow 2022-12-13 20:17:04 +02:00
Aevann1 c9bfd1ca33 addendum to last commit 2022-12-13 20:13:25 +02:00
Aevann1 dcc087f6fd retvrn to imagemagick 6.9 as an experiment 2022-12-13 20:05:13 +02:00
Aevann1 04b4a01b0a add marco threads to WC leaderboard 2022-12-13 19:21:15 +02:00
Aevann1 904660194f fix JC bug 2022-12-13 19:19:39 +02:00
Aevann1 eaf0faeaaf do this https://stupidpol.site/post/130970/this-is-fucking-bullshit-codecels-fix 2022-12-13 19:15:07 +02:00
Aevann1 0376124eb0 clearer notifications for hole and admin actions 2022-12-13 19:11:26 +02:00
Aevann1 647d8fdd2a minor fix for bug 2022-12-13 18:54:11 +02:00
Aevann1 7fa88a3633 make unread inaccessible notifs as read 2022-12-13 18:47:57 +02:00
Aevann1 c4b2e5fc4b do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3233481?context=8#context 2022-12-13 18:36:16 +02:00
Aevann1 ab5cd4c60e add datalounge.com to BOOSTED sites 2022-12-13 18:34:26 +02:00
Aevann1 a48a290b16 remove bad sidebar img 2022-12-13 12:25:39 +02:00
SneedBot e09ea2a954 sneed 2022-12-13 10:24:30 +00:00
geese_suck 3cbe9a0937
reeee 2022-12-12 13:07:20 -08:00
Aevann1 7c3b3cde30 prevent the pathetic manlet from privating his profile 2022-12-12 22:48:04 +02:00
SneedBot 259b72cb10 sneed 2022-12-12 20:45:25 +00:00
Aevann1 2b358ddcfc prevent the manlet from deleting his comments 2022-12-12 22:45:11 +02:00
Aevann1 feead592a4 increase hole banner ratelimit 2022-12-12 16:40:53 +02:00
Aevann1 f2a80c23ce fix 500 error on login_2fa.html 2022-12-12 10:03:12 +02:00
Aevann1 012f9ffd31 capitalize rocket daddy 2022-12-12 09:51:21 +02:00
Snakes 3459c4c9da
Fix merge of #59 with data-click2 attributes.
PR #59 was started prior to 59e0beebb2
and data-click2 -> data-click was not automerged for obvious reasons.
Resolve this to fix the delete banner buttons.
2022-12-11 20:03:22 -05:00
justcool393 ab41db22b7 [DO NOT MERGE] multiple sub banners (#59)
allows multiple sub banners

Snakes note: By request of Carp, especially for WPD.

Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Snakes 7778e6078d
WPD: temporary Christmas header logo swap. 2022-12-11 17:53:43 -05:00
Snakes bd84fe9579
rDrama: restore random sidebar image behavior.
Relevant commits for temporary behavior, manually reverted:
 - ed834225ae
 - 1bb80046f4
 - 15b5dfcb3a
2022-12-11 17:25:14 -05:00
Snakes f366504bdd
WPD: temporary Christmas headericon swap. 2022-12-11 17:22:48 -05:00
Aevann1 89b2c978e5 add thecoli to boosted sites 2022-12-11 23:53:06 +02:00
Aevann1 13be7c2893 add margin 2022-12-11 23:50:11 +02:00
SneedBot 237a2258d0 sneed 2022-12-11 21:12:18 +00:00
Aevann1 402e506335 increase --signature-max-height by 50px 2022-12-11 21:55:50 +02:00
Aevann1 2258b18566 show the votes button to logged-out niggas 2022-12-11 21:32:30 +02:00
Aevann1 59e0beebb2 minor change 2022-12-11 21:19:10 +02:00
Aevann1 d59543891f add BAN_EVASION_FULL constant 2022-12-11 20:56:04 +02:00
Aevann1 235cfb0dfa do this https://stupidpol.site/h/marsey/post/130585/marsey-lost-and-found-who-made/3224501?context=8#context 2022-12-11 20:52:15 +02:00
Aevann1 2e09951716 fix this https://stupidpol.site/h/programming/post/129962/advent-of-code-2022-day-9/3219293?context=8#context 2022-12-11 20:33:44 +02:00
Aevann1 0d57f11a03 make yt videos smaller inside textareas 2022-12-11 20:27:31 +02:00
Aevann1 2f8fefe76b add encyclopediadramatica to boosted sites 2022-12-11 20:24:33 +02:00
Aevann1 b0b181e610 fix css rule 2022-12-11 19:16:30 +02:00
Aevann1 a1debd4051 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3223428?context=8#context 2022-12-11 18:30:40 +02:00
Aevann1 dab0097128 whoops 2022-12-11 18:24:50 +02:00
Aevann1 88770c2abd remove redundancy 2022-12-11 18:24:15 +02:00
Aevann1 49ac549651 disallow ppl giving chud award in /h/chudrama 2022-12-11 18:22:44 +02:00
Aevann1 a60a73aef2 fix <video> if condition 2022-12-11 18:21:32 +02:00
Aevann1 d8b29a85e6 bump bet amount 2022-12-11 17:57:39 +02:00
SneedBot 009d66d5ba sneed 2022-12-11 08:00:05 +00:00
SneedBot 5830f444f8 sneed 2022-12-11 04:00:03 +00:00
Aevann1 02eb014dd8 posters for videos 2022-12-10 21:39:30 +02:00
Aevann1 4439f03ef5 resizable videos 2022-12-10 21:12:14 +02:00
Aevann1 3b207646c5 make videos bigger 2022-12-10 20:42:00 +02:00
Aevann1 b2d457c028 increase css limit from 4000 to 10000 2022-12-10 20:30:19 +02:00
SneedBot 8d5b55f7ed sneed 2022-12-10 17:18:17 +00:00
Aevann1 cd9591cd28 make post.new work when viewing comment 2022-12-10 19:06:28 +02:00
Aevann1 06e1195189 restore "cancel" button JC removed 2022-12-10 18:55:39 +02:00
Aevann1 d023d6109b fix 2022-12-10 17:36:52 +02:00
SneedBot f3bb6176ea sneed 2022-12-10 15:35:06 +00:00
Aevann1 82a4903702 add margin to wall comment textarea 2022-12-10 17:25:34 +02:00
Aevann1 78769cae7f add icons 2 buttons 2022-12-10 17:22:37 +02:00
Aevann1 f2d7a5d35c minor padding change 2022-12-10 17:22:29 +02:00
Aevann1 a0f5cc8dfb allow ppl to see and post on walls of private profiles (per poll) 2022-12-10 17:01:58 +02:00
Aevann1 3e3d39e432 minor /set_new rework 2022-12-10 16:57:19 +02:00
Aevann1 da4f3937f5 change mod log descriptions of mark +18 and unmark +18 2022-12-10 16:52:25 +02:00
Aevann1 2525db6b07 give ppl a notif when janny toggles nsfw on their posts 2022-12-10 16:47:20 +02:00
Aevann1 7d317e1fa8 if /h/programming assimilates, move its posts to /h/slackernews 2022-12-10 16:00:58 +02:00
Aevann1 5e52a86500 cleanup user ids in const.py 2022-12-10 16:00:03 +02:00
Aevann1 95759972c7 minor position change for video icon 2022-12-10 15:35:00 +02:00
Aevann1 1a1a55712e cachebust default_thumb_video.webp 2022-12-10 15:19:04 +02:00
Aevann1 aed7ea399f update default_thumb_video.webp 2022-12-10 15:18:48 +02:00
Aevann1 033e4dd35c disable janny chudding in /h/chudrama 2022-12-10 15:06:30 +02:00
Aevann1 52f5b2a347 serve almost all files from nginx 2022-12-10 14:21:52 +02:00
Aevann1 e1d5b8eb88 minor fix to sorting tables 2022-12-10 13:57:23 +02:00
Aevann1 1886dd986e move sort_table.js to core.js 2022-12-10 12:40:34 +02:00
Aevann1 b2591daa2b filter 0 truescore from punishment listings 2022-12-10 10:57:48 +02:00
Aevann1 3cc6387e32 more improvements to punishment listings 2022-12-10 10:54:56 +02:00
Aevann1 a3c51202d1 improvement to sorting table + get rid of scope="col" 2022-12-10 10:47:15 +02:00