forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

18192 Commits (4e0b7293d593c8d584c0018c603303f5ea0797e7)

Author SHA1 Message Date
Aevann1 ab2889e3c3 disable music for PCM 2022-12-19 20:57:02 +02:00
Aevann1 8349aead46 fix shadowbanned in tables 2022-12-19 19:15:32 +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 98afe7d2c3 don't use linux symlinks so the site works in windows 2022-12-19 19:12:05 +02:00
Aevann1 481d0d7c6a remove carp award immunity 2022-12-19 16:43:52 +02:00
SneedBot c70cdc65bf sneed 2022-12-19 14:32:33 +00:00
Aevann1 717ce15dba fix css 2022-12-19 16:31:41 +02:00
Aevann1 162ed8dd51 restore profile songs on WPD 2022-12-19 16:00:37 +02:00
Aevann1 e832be4c18 restore badge rate limit 2022-12-19 15:55:39 +02:00
Aevann1 b5fdc717da fix prev commit 2022-12-19 05:09:16 +02:00
Aevann1 3d903de380 fix prev commit 2022-12-19 05:07:17 +02:00
Aevann1 7d0f37a3d9 make default mode for WPD be dark mode 2022-12-19 05:06:19 +02:00
Aevann1 a2a4d1440a fix button not working 2022-12-19 04:47:53 +02:00
Aevann1 707f9d22c3 fistmas for WPD and PCM 2022-12-19 04:40:23 +02:00
Aevann1 aa7fa5279e disable songs on WPD 2022-12-19 04:36:58 +02:00
Aevann1 9452967fc0 no need for timer 2022-12-19 04:27:53 +02:00
gerudo 8d4f5b12fa dark mode (#80)
See diff

Reviewed-on: rDrama/rDrama#80
Co-authored-by: gerudo <gerudo@noreply.fsdfsd.net>
Co-committed-by: gerudo <gerudo@noreply.fsdfsd.net>
2022-12-19 02:27:16 +00:00
Aevann1 46c21e5e08 load light.css 2022-12-19 04:23:21 +02:00
Aevann1 216e9d0f22 readd the one removed last commit 2022-12-19 04:22:19 +02:00
Aevann1 269cc9b08c remove bad css rule 2022-12-19 04:20:29 +02:00
Aevann1 ce93e4f3bc dont play profile songs during event 2022-12-19 04:18:48 +02:00
Aevann1 1fd88dfd20 make red lighter 2022-12-19 04:04:23 +02:00
geese_suck 6eda92e5b7
swap red text on darkmode 2022-12-18 18:03:59 -08:00
Aevann1 cda5870f8e disable transparent.css when event 2022-12-19 03:45:00 +02:00
geese_suck 280a8bfeff
fix colors and whatnot 2022-12-18 17:44:49 -08: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: rDrama/rDrama#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 ec228f269f remove redundant column 2022-12-18 19:04:08 +02:00
Aevann1 e77f15b3c4 add badge id to /badges 2022-12-18 19:02:40 +02: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 e0bc8a22e2 generate modlog items for autojanny 2022-12-18 16:25:28 +02:00
Aevann1 cafe3c47d3 overwrite ban reason 2022-12-18 16:25:28 +02:00
Aevann1 fb4f7e5906 sneed 2022-12-17 20:41:17 +00: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 8cf4e49a5b fix #roll comand (JC broke it 2 weeks ago) 2022-12-17 17:33:29 +02:00
SneedBot 5cbe4749f1 sneed 2022-12-17 04:42:30 +00:00
SneedBot accde52c60 sneed 2022-12-16 23:45:28 +00:00
Aevann1 3627889b60 use magick command 2022-12-16 23:21:47 +02:00
Aevann1 bba1dbc10b remove pings 2022-12-16 22:50:22 +02:00
SneedBot 0a755f8bc7 sneed 2022-12-16 20:40:28 +00: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 c861e6e389 minor js fix 2022-12-16 22:17:23 +02:00
Aevann1 b6c01fb275 clicking twice shouldn't generate a mod log 2022-12-16 22:17:03 +02:00
Aevann1 6a65a15852 fix 2022-12-16 22:11:38 +02:00
Aevann1 ae51fe812a fix 500 error 2022-12-16 22:08:46 +02:00
Aevann1 760c4f7ae0 add error exception to postToastSwitch 2022-12-16 22:00:45 +02:00
SneedBot 2eaa72b4e8 sneed 2022-12-16 20:00:08 +00:00
SneedBot d35861a147 sneed 2022-12-16 19:37:36 +00:00
Aevann1 ecfba3e3b5 give me notifs for only "ban_user" and "shadowban" 2022-12-16 21:34:01 +02:00
Aevann1 da4c15d0af improve speed_emoji_modal 2022-12-16 21:14:24 +02:00
Aevann1 e5aa3c3e92 Revert "retvrn to imagemagick 6.9 as an experiment"
This reverts commit dcc087f6fd.
2022-12-16 20:13:58 +02:00
Aevann1 173f9e9853 fix push notif title 2022-12-16 20:06:00 +02:00
Aevann1 beba0a499d add longpostbot reply 2022-12-16 20:04:45 +02:00
SneedBot acddf374e1 sneed 2022-12-16 17:58:32 +00:00
Aevann1 e85eb63fa3 end my misery 2022-12-16 19:58:20 +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
SneedBot f1eeb9acc9 sneed 2022-12-16 17:45:47 +00:00
SneedBot 357057ca21 sneed 2022-12-16 17:45:47 +00:00
Aevann1 8dcc5ba0bb end my misery 2022-12-16 19:45:24 +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
SneedBot 78c05a2109 sneed 2022-12-16 04:00:07 +00:00
SneedBot 5cc8a6f6d1 sneed 2022-12-16 00:00:08 +00:00
justcool393 7aa10b9d1b special logic redux (#76)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#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: rDrama/rDrama#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 8400cade0a try fix for imagemagick 2022-12-15 23:56:09 +02:00
Aevann1 a7eb0f4d5b fix bug on submit 2022-12-15 23:43:20 +02:00
justcool393 1fd100d28c watermark: disable temporarily (#74)
it's borked on most of the themes we need to do some proper checking
will be reenabled and fixed by #46

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#74
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-15 21:39:43 +00:00
justcool393 855f0483ca user listings: ban reasons are safe 2022-12-15 20:29:28 +00:00
SneedBot 6313ed8c27 sneed 2022-12-15 19:45:29 +00:00
Aevann1 0ba5469424 increase sanitize timeout from 5 seconds to 10 seconds 2022-12-15 21:31:33 +02:00
Captain 84cfc21b0b added original name for user.json 2022-12-15 19:00:53 +00:00
Aevann1 bd8ac649d4 order punished listings by truescore instead 2022-12-15 20:31:58 +02:00
SneedBot ba3383c788 sneed 2022-12-15 16:00:08 +00:00
Aevann1 ce23b35980 css fix for videos 2022-12-15 16:47:16 +02:00
SneedBot 039c3964c9 sneed 2022-12-15 04:00:10 +00:00
justcool393 d556e72c04 users: let users see (comments on) own posts 2022-12-14 18:33:54 -06:00
Aevann1 10dc8a37ac better ban_reason when using ban award 2022-12-14 22:37:47 +02:00
Aevann1 8a2ca1d0d3 same as last bunch of commits 2022-12-14 21:54:30 +02:00
Aevann1 6535f94f63 same as last bunch of commits 2022-12-14 21:51:39 +02:00
Aevann1 bfc5b641c8 same as last 4 commits 2022-12-14 21:48:31 +02:00
Aevann1 69adbd6426 same as last 3 commits 2022-12-14 21:46:17 +02:00
Aevann1 c98a81908f same as last 2 commits 2022-12-14 21:45:30 +02:00
Aevann1 70d495070b add !important 2022-12-14 21:44:34 +02:00
Aevann1 43092ee07a add max-height and max-width to .resizable 2022-12-14 21:42:39 +02:00
Aevann1 e48d133977 rename Casino_Game to CasinoGame for consistency 2022-12-14 21:30:05 +02:00
Aevann1 a71b21c1b6 fix JC bug 2022-12-14 20:24:14 +02:00
Aevann1 38d8fe2647 Revert "try to serve turnstile script"
This reverts commit fc18ce9c8e.
2022-12-14 20:18:13 +02:00
Aevann1 88c6351d00 Revert "fix prev commit"
This reverts commit 573c5a7a95.
2022-12-14 20:18:00 +02:00
Aevann1 573c5a7a95 fix prev commit 2022-12-14 20:16:13 +02:00
Aevann1 fc18ce9c8e try to serve turnstile script 2022-12-14 20:14:39 +02:00
Aevann1 ac4a2c8ff7 add total truescore and total patrons to poll_votes.html 2022-12-14 19:28:31 +02:00
Aevann1 b176bc79ac remove the bigger class 2022-12-14 19:06:59 +02:00
Aevann1 0c94ec2067 restore themecolor to default when switching from win98 theme 2022-12-14 18:59:00 +02:00
Aevann1 cf14f30200 distinguish chudrama posts 2022-12-14 17:24:08 +02:00
Aevann1 d1642c980c add clay.party to BOOSTED SITES 2022-12-14 17:21:36 +02:00
SneedBot e22038c205 sneed 2022-12-14 14:04:35 +00: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
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
Aevann1 84b1d2a7d7 dont check badges for duplicate images 2022-12-10 10:26:55 +02:00
Aevann1 ce27be1d4a fix comment refactor bug 2022-12-10 10:26:47 +02:00
Aevann1 ff2ced1911 fix 500 error 2022-12-10 10:24:29 +02:00
Aevann1 45be6970d6 punished users listing fixes 2022-12-10 10:23:56 +02:00
Aevann1 0e7973a676 minor fix for /grassed 2022-12-10 10:11:11 +02:00
Aevann1 5dbb5c1317 add mainchan.com to BOOSTED_SITES 2022-12-10 09:28:19 +02:00
Snakes 39a0832223
Sort banned, chudded, etc listings by activity.
The listings of users affected by jannied states are long. To make
them more useful, sort by recent user activity (when v is allowed to
view last_active) to know which accounts are still in use.
2022-12-09 23:47:31 -05:00
Snakes f06da51288 vid-thumbs: suppress ffmpeg stdout, fix vid toggle
Previous behavior on submission_listing was clicking a thumbnail would
toggle an inline video player. This was retained for clicking the
thumbnail off the `.video-play` element; however, directly clicking
the `.video-play` did not have the `toggleVideo` onclick event attached
and would navigate the browser to the video file directly.
2022-12-10 04:05:46 +00:00
Aevann1 37cedaee9f add thumbnails for videos on the frontpage 2022-12-10 04:05:46 +00:00
SneedBot d2815ae9ae sneed 2022-12-10 00:00:07 +00:00
geese_suck 6a56f036cb
whitelist table class for tables in sanitizer 2022-12-09 13:04:28 -08:00
Aevann1 ef4cb46be7 fix voting 2022-12-09 19:11:53 +02:00
Aevann1 00a2bc4b0d fix 500 error 2022-12-09 19:04:00 +02:00
SneedBot d41e50d15c sneed 2022-12-09 16:42:38 +00:00
Aevann1 601e95ae07 boost all domains that have "forum" in them 2022-12-09 18:42:18 +02:00
Aevann1 d01fdf5d25 add cringetopia.org to reddit mentions 2022-12-09 14:46:11 +02:00
Aevann1 cfb49da217 fix prev commit 2022-12-09 14:07:37 +02:00
Aevann1 1f99bb0aa6 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3211375?context=8#context 2022-12-09 14:03:11 +02:00
Aevann1 ca4e0f5e66 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3210978?context=8#context 2022-12-09 12:54:29 +02:00
Aevann1 16cd5f2e17 profile anthem - allow downloading age-restricted videos 2022-12-09 09:30:27 +02:00
Aevann1 a01cde55ad minor js fix 2022-12-09 08:50:28 +02:00
Aevann1 8d116272fe p-do 2022-12-09 08:01:16 +02:00
Aevann1 485698e53e remove chat icon i added on the top on mobile 2022-12-09 08:00:32 +02:00
Aevann1 4561bb3e34 make custom css not affect all settings 2022-12-09 07:59:27 +02:00
Aevann1 25cd81e326 dont allow admins to remove themselves 2022-12-09 07:58:44 +02:00
Aevann1 77429369d7 ratelimit 2022-12-09 07:56:34 +02:00
Snakes 0d580b8b4f
Fix post comment count logic not activating.
Also standardize parameter list order for comment games.
2022-12-09 00:56:08 -05:00
Aevann1 07eb8bdebc fix 500 error 2022-12-09 07:54:56 +02:00
Aevann a0a8535ec3 fix standard urls for w3.org (#57)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#57
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-09 05:41:53 +00:00
Snakes 8221ab370a
WPD: update login required text for Carp. 2022-12-08 23:40:43 -05:00
Snakes d4b822b956
Amend 3e8c98494f: shadowbanned isn't a bool. 2022-12-08 23:06:21 -05:00
justcool393 0ea43788e3 feeds: fix XML namespace (#56)
namespaces are very particular and the https:// version is not the valid
namespace for this XML document

note: this doesn't fix it in the watermark code. that will be fixed by the watermark PR. please don't trample over it ty <3
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#56
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-09 03:49:50 +00:00
Snakes 25b5675ac4
Amend PR 52, 53: standardize style, basedbot bug 2022-12-08 22:48:40 -05:00
justcool393 f848f68799 walls: remove duplication among routes/templates (#52)
removes a bunch of duplicated code in commenting and userpages

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#52
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-09 03:35:28 +00:00
justcool393 3e8c98494f shadowbans: don't include in voting pages 2022-12-08 20:47:11 +00:00
SneedBot 9d23170a51 sneed 2022-12-08 16:10:52 +00:00
SneedBot 92050bc308 sneed 2022-12-08 16:10:52 +00:00
Aevann1 391d646a2c order asset submissions by most recent last 2022-12-08 17:50:23 +02:00
SneedBot c60ff2d5f1 sneed 2022-12-08 15:45:39 +00:00
SneedBot a4cfc02dc1 sneed 2022-12-08 15:42:18 +00:00
Aevann1 6210a33f6b rename marseyohno to marseyscream 2022-12-08 17:42:04 +02:00
Aevann1 660d0a5ec9 replace 571.webp sidebar image 2022-12-08 17:36:41 +02:00
SneedBot da9cd16a2a sneed 2022-12-08 15:36:12 +00:00
SneedBot c82a8943a2 sneed 2022-12-08 15:17:48 +00:00
Aevann1 69535a30f0 order assets submissions by most recent last 2022-12-08 17:05:23 +02:00
SneedBot 6eb4b2fedb sneed 2022-12-08 15:01:05 +00:00
SneedBot ec6cea59e4 sneed 2022-12-08 15:00:27 +00:00
Aevann1 a099450dc1 rename marseynooo 2022-12-08 16:59:35 +02:00
Aevann1 5e8f2d0681 clearer error message 2022-12-08 16:34:31 +02:00
SneedBot 2295463d24 sneed 2022-12-08 13:55:51 +00:00
Aevann1 9b5496b140 fix updating marseys that dont follow the naming convention 2022-12-08 15:55:30 +02:00
Aevann1 b89f9103d3 the advent of fixing codeblocks 2022-12-08 15:02:51 +02:00
Aevann1 082d56788d move random user button on mobile and replace it with chat button under certain circumstances 2022-12-08 14:15:21 +02:00
Aevann1 1cfa395b97 added padding 2022-12-08 08:13:48 +02:00
Aevann1 5d11c820f7 remove an estoric profanity filter 2022-12-08 07:22:46 +02:00
Aevann1 0d812f1294 check for profile background existence before atttempting to delete 2022-12-08 07:20:34 +02:00
Aevann1 0a915aae08 disable ghost threads in WPD 2022-12-08 07:14:59 +02:00
Snakes 05691b980d
PCM: Christmas lottery hyperinflation (by request). 2022-12-07 19:50:44 -05:00
Aevann1 b7836e696a fix marseywheredrama2.webp 2022-12-07 22:57:08 +02:00
Aevann1 9f8d2fc8a0 increase max size for site assets from 500kb to 1MB 2022-12-07 22:53:52 +02:00
Aevann1 ecda2536ec use insertAdjacentHTML 2022-12-07 22:27:25 +02:00
Aevann1 3c2880fd11 fix edge case 2022-12-07 21:59:02 +02:00
Aevann1 cff9249572 watermark 2022-12-07 21:05:52 +02:00
Aevann1 f95f4f2c97 simplify badge granting/removal 2022-12-07 21:03:06 +02:00
Aevann1 b8eb4384d6 fix midnight theme 2022-12-07 20:56:09 +02:00
Aevann1 bd3f0fcc84 fix 500 error 2022-12-07 19:57:56 +02:00
SneedBot 1b1d997415 sneed 2022-12-07 17:54:10 +00:00
Aevann1 93063516ce tie transparent theme to backgrounds 2022-12-07 19:53:29 +02:00
Aevann1 75bd617c47 all wpd jannies to grant/remove y'all seeing eye badge 2022-12-07 19:15:53 +02:00
Aevann1 124a86643d fix markdown preview for polls 2022-12-07 19:12:56 +02:00
mummified-corroding-granny 7a5750a408 Uniformization of verbiage. Purge every dot (#54)
As one would expect, pointless to have a dot at the end of the subject of a very important message (dot)
Were it not for the extraneous dot, the legitimacy of the message would still be in question due to its lack of verbiage uniformization. The verbiage is "verify" everywhere else except for some parts of the code itself. This is egregious. With this single-commit pull request, we erradicate the last of "Validate".

Co-authored-by: mmadeira <marcos_madeira@outlook.com>
Reviewed-on: rDrama/rDrama#54
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2022-12-07 16:54:18 +00:00
Aevann 81267ef1c6 do this https://stupidpol.site/h/countryclub/post/79285/tired-of-some-cute-twink-jannies/3194721?context=8#context (#53)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#53
2022-12-07 16:51:51 +00:00
Aevann1 e8f9d39bcf discussion -> wall 2022-12-07 11:04:22 +02:00
Aevann1 fee6e7150b same as last commit 2022-12-07 11:03:02 +02:00
Aevann1 e4b102873d in jinja, convert some + instances to ~ 2022-12-07 10:59:40 +02:00
Aevann1 d01b5dfd9f add "view entire discussion" to profile walls 2022-12-07 10:55:47 +02:00
Aevann1 4634b45212 fix profile wall push notif titles 2022-12-07 10:48:06 +02:00
Aevann1 1a4600bd95 imagemagick is really cringe 2022-12-07 10:42:23 +02:00
Aevann1 5d2dbee95e increase MAX_IMAGE_CONVERSION_TIMEOUT from 15 to 30 2022-12-07 10:30:11 +02:00
Aevann1 ab51e97e09 better error message 2022-12-07 10:28:01 +02:00
Aevann1 d781c853f8 force transparent theme on userprofiles with a profile background 2022-12-07 10:23:03 +02:00
Aevann1 a3f1b85e16 fix this https://stupidpol.site/h/programming/post/129189/advent-of-code-day-6/3195992?context=8#context 2022-12-07 09:58:46 +02:00
SneedBot 8e964d5b68 sneed 2022-12-07 07:54:23 +00:00
Aevann1 7d6b5862e4 uncomment commented line lol 2022-12-07 09:53:46 +02:00
Aevann1 3f6d2be5f6 fix chat in midnight theme 2022-12-07 09:52:54 +02:00
Aevann1 14aaed820c boost scrd.app 2022-12-07 09:36:56 +02:00
Aevann1 55125cf217 remove padding 2022-12-07 08:21:13 +02:00
Aevann1 5e87e53335 make poll limit 20 on rdrama and 30 on wpd 2022-12-07 07:30:03 +02:00
SneedBot 17696b5ca2 sneed 2022-12-06 22:09:50 +00:00
justcool393 6dbad04f08 band-aid fix for frozen session issue on signup (#50)
through some reason or another, people are somehow getting cookies that aren't prepended with a dot.

this is a problem because both sessions at, as best as I can tell, mix so it tries to read from a different cookie than we write to. this essentially "freezes" the session in place. users are unable to login, logout, signup, toggle poor mode, toggle NSFW, etc.

~~this attempts to delete bad session cookies (i.e. cookies with a domain that don't start with a dot).~~

~~we don't do this on "dotless" domains (and by extension localhost) because browser support for setting cookies on FQDNs that only have one dot has tenuous support among browsers anyway).~~

~~this *may* log some people out, but... their days of being able to do stuff on the site were numbered anyway.~~

**edit: as amazing as this thought was, browsers just wipe the entire cookies completely and there's no way to specifically target dotless cookies. for an issue that affects a few users, better to just tell them to clear their cookies. if *this* doesn't work, delete service-worker.js and be done with the whole service worker crap. forever. permanently. this PR also includes some QOL improvements.**

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#50
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-06 22:07:12 +00:00
justcool393 c12bf5105f WPD: remove poll limit (#51)
by request of the wpd mops

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#51
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-06 18:24:41 +00:00
Snakes 9160a853ec
Remove !YOU!.
Security mess and stale joke.
2022-12-05 20:06:04 -05:00
Snakes fe5ffd1bcf
security: sanitize !YOU! in <a href="">.
Unlike the recent auto-embed exploits which have been patched, this
requires active user action. However our userbase, like all userbases,
contains quite a few retards and phoneposters who don't check links
before clicking.

Example exploit:

    <a href="https://example.com/log?username=!YOU!">Bardfinn Dox</a>
2022-12-05 19:05:02 -05:00
Snakes 616634158c
Narrow approved_embed_hosts for security.
Probably will break some peoples' profilecss and irritate the
newsposters, but in light of recent live proven exploits to disclose
user IP & username pairs to remote servers, the broad list of embed
hosts was unsustainable and impossible to prove safe.

We extend is_safe_url to allow whitelisting subdomains, specifically
to solve the s.lain.la open redirect exploit. Also, open media proxies
like external-content.duckduckgo.com were concerning enough, despite
likely being safe, to warrant removal. Anything infrequently used and
difficult to review, or has a reasonable alternative, was also removed.

In general: we want people to be rehosting, and if we want to allow
more external content, we need to run a media proxy. The central issue
is that any user-configurable 302 is a potential disclosure risk, and
Lord knows how many ways there were to get <arbitrarynewssite>.com to
do so. Maybe zero, but the problem is we just don't know.
2022-12-05 18:57:35 -05:00
float-trip bca9aff068 Disallow !YOU! in URLs. (#49)
!YOU! + an escape for `approved_embed_hosts` could let you grab the IP and username of everyone who views your comment

https://rdrama.net/post/129053/you-callout-thread/3191218?context=8#context

lain.la has a URL shortener that also works to get around embed hosts, fwiw

Co-authored-by: float trip <float-trip@rdrama.net>
Reviewed-on: rDrama/rDrama#49
Co-authored-by: float-trip <float-trip@noreply.fsdfsd.net>
Co-committed-by: float-trip <float-trip@noreply.fsdfsd.net>
2022-12-05 21:20:59 +00:00
Aevann1 b5b3b9dcc3 fix pin awards 2022-12-05 18:01:13 +02:00
Aevann1 ede58dd886 fix margins 2022-12-05 17:23:41 +02:00
Aevann1 8101e7d91b fix 500 errors 2022-12-05 17:16:11 +02:00
Aevann1 15088e5eef add button to remove current profile background 2022-12-05 17:14:53 +02:00
Aevann1 84ec5f5b46 truncate unnecessary logic 2022-12-05 17:10:15 +02:00
Aevann1 847385ad87 fix https://stupidpol.site/h/changelog/post/128866/changelog-added-profile-walls-profile-views/3188365?context=8#context 2022-12-05 16:51:50 +02:00
SneedBot 4ddbd0117f sneed 2022-12-05 14:38:36 +00:00
Aevann1 2b7f7cef1b fix marking read from push notifs 2022-12-05 16:38:24 +02:00
Aevann1 99c12a74ad only show "upload profile background" if user on desktop or uses transparent theme to prevent confusion 2022-12-05 16:30:55 +02:00
Aevann1 ab7144d94a Revert "only show "upload profile background" if user on desktop or uses transparent theme"
This reverts commit 7b0de3e79d.
2022-12-05 16:25:39 +02:00
SneedBot 8d9c7fe635 sneed 2022-12-05 14:22:33 +00:00
Aevann1 7b0de3e79d only show "upload profile background" if user on desktop or uses transparent theme 2022-12-05 16:22:19 +02:00
Aevann1 7f1de57ffe minor log fix 2022-12-05 16:06:11 +02:00
Aevann1 159cb52e46 add looksmax.org to BOOSTED_SITES 2022-12-05 15:59:01 +02:00
Aevann1 4583c3d4eb cosmetic changes 2022-12-05 08:46:04 +02:00
Aevann1 67136ec707 minor style change 2022-12-05 08:23:42 +02:00
Aevann1 c0169d0dab fix voting on profile wall 2022-12-05 08:18:37 +02:00
Aevann1 1fead79a86 fix 2022-12-05 08:15:13 +02:00
Aevann1 9dacb7c307 add teamblind.com to boosted sites 2022-12-05 08:13:11 +02:00
Aevann1 f5ef9f431a fix wall margins 2022-12-05 08:12:46 +02:00
Aevann1 77058d31dc move pcm sidebar image to top 2022-12-05 07:35:05 +02:00
Aevann1 39ad0bd5f8 fix margins 2022-12-05 07:33:32 +02:00
Aevann1 4e4a0e734a margin change 2022-12-05 07:29:44 +02:00
Aevann1 bbc33b9331 edit PCM rules 2022-12-05 07:28:15 +02:00
Aevann 18df70caab allow JL3 to edit rules (#39)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00
Aevann1 77c37b0fd2 same as last commit 2022-12-05 07:01:20 +02:00
Aevann1 e7fbf5f5b9 site background shit 2022-12-05 07:00:44 +02:00
Aevann1 ea934e17b9 fix 500 error 2022-12-05 06:57:27 +02:00
Aevann1 57ffc26fc6 grammar + consistency 2022-12-05 06:56:05 +02:00
Aevann1 868fb1024f update carp's badge 2022-12-05 06:37:03 +02:00
Aevann f8aa67fb9a add button on profile to upload profile background (#48)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#48
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 04:16:45 +00:00
SneedBot ef4243f5c0 sneed 2022-12-05 04:12:09 +00:00
Aevann1 87573936e7 disable site background in profiles 2022-12-05 06:05:20 +02:00
Aevann1 aeeeabbfd7 fix margins 2022-12-05 05:43:24 +02:00
Aevann1 3971607aee fix agendapostered wall comments 2022-12-05 05:08:06 +02:00
Aevann1 13a208ee88 remove stray tabs and spaces 2022-12-05 05:03:10 +02:00
Aevann1 af3b028ca5 add links to individuals comments in walls + fix awards for wall comments 2022-12-05 05:01:50 +02:00
Aevann1 6cfe0fceb4 hide another broken button 2022-12-05 04:33:42 +02:00
Aevann1 29d1d08eb8 hide 2 broken buttons 2022-12-05 04:27:30 +02:00
Aevann1 e9f4f88f24 fix notifs for profile wall replies 2022-12-05 04:19:51 +02:00
Aevann1 d6a219c151 fix this https://rdrama.net/h/changelog/post/128866/changelog-added-profile-walls-profile-views/3186595?context=8#context 2022-12-05 04:11:13 +02:00
Aevann1 1e34625c1f fix editing wall comments 2022-12-05 04:08:24 +02:00
Aevann1 111832a7d2 fix 500 error 2022-12-05 04:04:14 +02:00
Aevann1 5473cb3084 add snus mentions 2022-12-05 04:01:55 +02:00
Aevann1 f2c4dc429a fix for MIMW_ID 2022-12-05 04:01:01 +02:00
Aevann1 bfb8eba832 dont do relationship query when not necessary 2022-12-05 03:59:31 +02:00
Aevann1 66aeb82823 add pings for MIMW 2022-12-05 03:57:24 +02:00
Aevann1 dbc64dc487 fix profile wall for logged-outcels 2022-12-05 03:53:09 +02:00