Commit Graph

6525 Commits (bec99392fe0a5966df9306fbc121a35979d19c9a)

Author SHA1 Message Date
Aevann bdc5d8bd12 allow jannies to change the kind of emojis 2023-03-21 18:50:26 +02:00
Aevann 4c47cc5d63 stop implementing BAN_EVASION_DOMAIN since nobody actually uses it https://camas.unddit.com/#{%22searchFor%22:1,%22resultSize%22:100,%22query%22:%22stupidpol.site%22} 2023-03-21 17:39:26 +02:00
Aevann 34744fb741 tell ppl who receive the chud award the phrase they'll have to say 2023-03-21 17:27:46 +02:00
Aevann a786832cf6 same as last commit 2023-03-21 16:17:36 +02:00
Aevann 4b352a9625 asset_submissions/marseys -> asset_submissions/emojis 2023-03-21 16:16:18 +02:00
Aevann 95d1b2c9ce add exclamation mark 2023-03-21 16:15:51 +02:00
Aevann 6cb43bb32c reduce max length of agendaposter_phrase to 50 2023-03-21 16:15:43 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann 07f37ef00b wipe chuddedfor too when moving to chudrama 2023-03-21 13:43:28 +02:00
Aevann d6804a6489 fix 500 error 2023-03-21 13:03:27 +02:00
Aevann f1a8db74b7 enforce length limit for chud phrase in the backend 2023-03-19 20:17:44 +02:00
Aevann f329433443 put unread notifs first 2023-03-19 20:05:53 +02:00
Aevann 836c6ae29f fix 500 error 2023-03-19 19:31:00 +02:00
Aevann 60e9175a63 make chud phrase lowercase 2023-03-19 19:28:07 +02:00
Aevann b004617695 customizable chud phrases 2023-03-19 19:13:45 +02:00
Aevann df1ebf7cad use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
Aevann 2a9dfab16a fix /emojis getting cached on browser end 2023-03-19 17:15:20 +02:00
Aevann df0184b728 marsey -> emoji 2023-03-19 15:46:38 +02:00
Aevann f5a68a7e79 fix 500 errors 2023-03-19 14:01:57 +02:00
Aevann 62fcaec40d fix muted users not notifying the person they reply to 2023-03-19 10:30:03 +02:00
Aevann f6b2aeb24f restore def error (it saves submitted values) 2023-03-18 19:18:44 +02:00
Aevann ab93c94bfc add IGNORE_AWARD_IMMUNITY perm 2023-03-18 18:11:25 +02:00
Aevann 95a0edf070 disable "GIVE AWARD" button on carp and pizzashill 2023-03-18 18:10:14 +02:00
Aevann 135039f19e give capy badge automatically too 2023-03-18 17:25:56 +02:00
Aevann 99ef7575ad enforce emoji naming scheme 2023-03-18 17:21:20 +02:00
Aevann 18f3cdd27e emoji badges 2023-03-18 17:13:36 +02:00
Aevann a289fd464b fix 500 error 2023-03-18 16:56:34 +02:00
Aevann 1895056cb7 redirect /submit/marseys to /submit/emojis 2023-03-18 16:54:01 +02:00
Aevann 89fe9cbc20 marsey -> emoji 2023-03-18 16:53:00 +02:00
Aevann 665bd82437 marsey -> emoji 2023-03-18 16:39:26 +02:00
Aevann 0b2e923c2f increase WPD"s multiplier to 5 2023-03-18 16:07:07 +02:00
Aevann 9a146f1eef fix 500 error 2023-03-18 16:02:03 +02:00
Aevann dd54413cf3 convert marsey submission form to include all emojis 2023-03-18 15:34:04 +02:00
Aevann 49d958ef46 do this https://stupidpol.site/h/countryclub/post/79285/-/3810012#context 2023-03-18 12:59:30 +02:00
Aevann 386f8455f0 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3816789#context 2023-03-18 08:06:54 +02:00
Aevann 4fc5e2aa8d fix badge_grant errors for the api 2023-03-17 19:59:55 +02:00
Aevann 8d096e1123 put a space before file link too 2023-03-17 19:40:55 +02:00
Aevann 2cf2d869de refactor banning and chudding on posts/comments 2023-03-17 16:37:13 +02:00
Aevann 1bce14efcd rename remove_media to remove_media_using_link for clarity 2023-03-17 12:25:49 +02:00
Aevann a83dc8bba9 make CF cache emojis without an extra page rule 2023-03-17 11:44:05 +02:00
Aevann 6259cfdf72 increase WPD's multiplier from 3.5 to 4 2023-03-17 10:08:31 +02:00
Aevann f3642c4893 fix 500 error 2023-03-16 17:38:48 +02:00
Aevann 5b80166bed 2fa -> two-factor authentication 2023-03-16 17:17:53 +02:00
Aevann 7dd5f179df pin RitalinRx posts 2023-03-16 15:38:49 +02:00
Aevann a95cf32735 fix badge_granting via the api 2023-03-16 15:38:18 +02:00
Aevann 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +02:00
Aevann c07a4f9860 revert last commit 2023-03-16 07:10:20 +02:00
Aevann a9a2ba7038 expunge all instances when the request is done 2023-03-16 07:07:29 +02:00
Aevann a392fbb86d restore autoflush 2023-03-16 06:21:57 +02:00
Aevann 132f7a4115 add BOTS feature 2023-03-16 06:07:39 +02:00
Aevann dd509a00aa limit hole pins to 2 per poll 2023-03-15 08:24:48 +02:00
Aevann 1e832b0027 Revert "remove hidevotedon"
This reverts commit d8cf302a43.
2023-03-15 08:03:11 +02:00
Aevann 3de34c9a65 Merge branch 'keep-session-open' of https://fsdfsd.net/rDrama/rDrama 2023-03-15 08:02:47 +02:00
Aevann f5682dd483 fix video and audio links 2023-03-15 08:00:02 +02:00
Aevann f31256e10c fix 2023-03-15 07:33:55 +02:00
Aevann b2dc965846 more fixes 2023-03-15 07:29:59 +02:00
Aevann a5d5e8e3b8 Revert "remove hidevotedon"
This reverts commit d8cf302a43.
2023-03-15 07:22:13 +02:00
Aevann c6a7051200 flush instead of committing inside requests 2023-03-15 07:19:35 +02:00
Aevann e7dc7c5641 fix 2023-03-15 07:09:46 +02:00
Aevann a068d22213 more fixes 2023-03-15 06:47:47 +02:00
Aevann d8cf302a43 remove hidevotedon 2023-03-15 06:21:52 +02:00
Aevann 3044499f5e do what slackernews wants 2023-03-15 06:01:33 +02:00
Aevann f768d81103 keep db sessions open 2023-03-15 05:58:00 +02:00
Aevann e45472893a i actually like SRD posts, why did i limit them? 2023-03-15 05:17:56 +02:00
Aevann 903fb21961 fix images again 2023-03-15 05:07:43 +02:00
Aevann 096fb962f1 remove notify_jannies_of_grooming 2023-03-15 04:20:56 +02:00
Aevann 3cdffac133 same as last commit 2023-03-15 04:16:41 +02:00
Aevann a2e926ef17 minor fix 2023-03-15 04:13:39 +02:00
Aevann bd2355007c remove retarded ratelimit 2023-03-13 21:26:38 +02:00
Aevann 4a756d742f extend under siege to new posts 2023-03-13 21:18:08 +02:00
Aevann f8e95564b5 make h/hole be valid syntax for moving post 2023-03-13 20:51:30 +02:00
Aevann 0c806e26eb make WPD"s mul 3.5 instead of 4 2023-03-13 07:30:11 +02:00
Aevann 2f793e9cf9 fix missing import 2023-03-13 07:28:22 +02:00
Aevann 4b3ad27e08 increase WPD multiplier 2023-03-12 22:46:33 +02:00
Aevann 47321e9923 add under_attack to automatic ddos mitigation 2023-03-12 21:50:07 +02:00
Aevann 07cfaa22d0 fix polls again 2023-03-12 21:21:22 +02:00
Aevann 61ca35c2de fix polls again 2023-03-12 21:18:08 +02:00
Aevann d2ccce4dba allow making bets in comments 2023-03-12 19:36:35 +02:00
Aevann 904c2ab764 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3771814#context 2023-03-12 17:02:25 +02:00
Aevann a5c93d199b put max attribute for days 2023-03-12 16:48:19 +02:00
Aevann 81550b4386 minor change to gitref 2023-03-12 16:33:54 +02:00
Aevann b6b1597748 whenever u import from const, import everything 2023-03-12 15:03:58 +02:00
Aevann 97608ea0a9 test getting rid of ![]( on devrama 2023-03-12 15:02:31 +02:00
Aevann 4ad72f0e9e remove DONT_SHADOWBAN const 2023-03-12 14:44:16 +02:00
Aevann cefc6e945b better messages to user when moving hole of post 2023-03-12 12:39:17 +02:00
Aevann 571ae603c7 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3770101#context 2023-03-12 11:40:30 +02:00
Aevann 563ced8707 boost all sites with "chan" in the domain 2023-03-12 11:10:08 +02:00
Aevann 0f62958024 minor fix 2023-03-12 10:31:17 +02:00
Aevann eb5f2723c2 ddos mitigation tweak for WPD 2023-03-12 01:11:46 +02:00
Aevann 40834d8277 fix unread highlight 2023-03-11 12:11:39 +02:00
Aevann 7f90ad45a0 fix chat 2023-03-11 11:56:32 +02:00
Aevann ccf6ccd468 same as last commit 2023-03-11 11:50:29 +02:00
Aevann c58872e3c6 same as last commit 2023-03-11 11:12:16 +02:00
Aevann a88a1dab92 minimize db queries in /notifications 2023-03-11 11:11:17 +02:00
Aevann 69649cb503 minor improvement to notifs 2023-03-11 10:51:19 +02:00
Aevann 19e3145f45 improvement to notifs 2023-03-11 10:21:33 +02:00
Aevann 83550c33bd fix last commit 2023-03-11 09:36:41 +02:00
Aevann 52b7161938 fix last commit 2023-03-11 09:34:54 +02:00
Aevann 8476ded483 fix last commit 2023-03-11 09:34:32 +02:00
Aevann d9ecb5b884 minor fix to g.v 2023-03-11 09:31:02 +02:00
Aevann 25312029aa add poster_url for videos 2023-03-11 08:29:52 +02:00
Aevann 04844fc7ce add automatic DDOS mitigation 2023-03-11 08:13:58 +02:00
Aevann 84cebda61f rename perm to be more clear 2023-03-11 06:53:54 +02:00
Aevann ba22df33df fix showmore 2023-03-11 01:30:42 +02:00
Aevann 1a200a975f redirect /shop to /shop/awards 2023-03-10 22:27:36 +02:00
Aevann 2ed9571176 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3754221#context 2023-03-10 04:21:57 +02:00
Aevann 5e4a843e8e add MODS_EVERY_GROUP perm for myself 2023-03-10 04:10:17 +02:00
Aevann 7550f5ff99 restore eg.log 2023-03-10 04:05:00 +02:00
Aevann e8e7e9670b do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3738025#context 2023-03-10 03:28:03 +02:00
Aevann 24101995af same as last commit 2023-03-10 01:43:52 +02:00
Aevann d8575791be notif fix 2023-03-10 01:41:57 +02:00
Aevann 514b7bfa7f ratelimit /delete_media and notify me of its usage 2023-03-09 22:50:12 +02:00
Aevann 5708d4d64e dont wipe saved shit in /submit unless post is successful 2023-03-09 07:52:20 +02:00
Aevann 9f66e33061 Revert "convert IS_FISTMAS and IS_HOMOWEEN from functions to variables"
This reverts commit b45d845630.
2023-03-08 08:51:40 +02:00
Aevann b45d845630 convert IS_FISTMAS and IS_HOMOWEEN from functions to variables 2023-03-08 08:10:18 +02:00
Aevann d6afc9f1de remove pizza from autopin again 2023-03-08 08:02:26 +02:00
Aevann 77e7663476 remove leftover shit 2023-03-08 08:01:53 +02:00
Aevann 3afecb326b fix videos and image on WPD 2023-03-07 22:33:12 +02:00
Aevann 5a0f7e540d make group names case-insensetive 2023-03-07 20:55:17 +02:00
Aevann db5287c7d8 when hole exists, give error instead of redirecting 2023-03-07 16:28:57 +02:00
Aevann 56fe72d294 better tier logic in claim_rewards 2023-03-07 16:22:25 +02:00
Aevann a1838f3e77 allow betting with mbux 2023-03-07 07:27:21 +02:00
Aevann 20993c004c for house change, pool coins and mbux together 2023-03-07 07:09:17 +02:00
Aevann 6bb35b3d2f allow ppl to make holes w/ mbux 2023-03-07 07:07:23 +02:00
Aevann 1025c32322 allow ppl to make ping groups w/ mbux 2023-03-07 07:06:17 +02:00
Aevann cb5227fdc4 same as last commits 2023-03-07 03:24:02 +02:00
Aevann e4c8fab6dc same as last 2 commits 2023-03-07 03:17:51 +02:00
Aevann 393bb7b033 dont run thumbnail_thread from posts from the site itself 2023-03-07 03:12:56 +02:00
Aevann 355af22171 do this https://stupidpol.site/post/152490/downvoting-isnt-funny-its-just-annoying/3729531#context 2023-03-07 02:25:40 +02:00
Aevann 2ac830467b use STARS const 2023-03-06 22:49:01 +02:00
Aevann aae979066e dont pin posts in /h/slavshit 2023-03-06 22:45:21 +02:00
Aevann a76729cda5 add IGNORE_1WEEk_EDITING_LIMIT perm 2023-03-06 22:22:15 +02:00
Aevann d604a6cd99 commit leftover file from last commit 2023-03-06 21:52:31 +02:00
Aevann 873292d60d make remove_media() to fix 500 error 2023-03-06 21:32:08 +02:00
Aevann 1694d5262b disallow wordle from the name too 2023-03-06 19:19:28 +02:00
Aevann ce501ddf05 fix repost-detection in /submit 2023-03-06 02:00:01 +02:00
Aevann 0c91650a1d remove jc insanity 2023-03-06 00:50:06 +02:00
Aevann 3e3b81fb00 allow child comments by everyone in ADMIGGERS_THREADS 2023-03-05 18:44:14 +02:00
Aevann 2fb93834f9 disallow perma-punished users from /donate 2023-03-05 18:25:13 +02:00
Aevann d3b189ad83 combine donate templates 2023-03-05 12:17:05 +02:00
Aevann d545316b3b fix /rss 2023-03-05 12:13:00 +02:00
Aevann 7417a115af combine 2 janny perms 2023-03-05 12:03:21 +02:00
Aevann 8d57a983cd do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3708981#context 2023-03-04 23:50:19 +02:00
Aevann 6162d02ca3 forbid slots in ping group names 2023-03-04 23:45:12 +02:00
Aevann 0073c2224f move update_assets.html 2023-03-04 20:55:07 +02:00
Aevann eb59a6a1bc reduce automute from 60 mins to 10 mins 2023-03-04 20:16:38 +02:00
Aevann ff6c4f89ad repin pizzashill's posts 2023-03-03 22:11:43 +02:00
Aevann 2112626910 increase charlimit for bio, friends, and enemies to 5k 2023-03-03 06:19:52 +02:00
Aevann 97911f261b add sentto seach query for messages + make before and after work for user search 2023-03-03 04:04:09 +02:00
Aevann 01f671d19a remove the .json endpoints 2023-03-03 03:53:04 +02:00
Aevann 117624f313 add session["GLOBAL"] 2023-03-02 22:29:22 +02:00
Aevann d7f42ac50a dont give shekels to ppl not notified bc of blocks + dont give shekels to ppl ALSO mentioned directly + prevent group double charging on edit + do this https://stupidpol.site/h/countryclub/post/79285/-/3695711#context 2023-03-02 21:56:43 +02:00
Aevann e9a15cd0b8 disallow creating !everyone 2023-03-02 21:21:38 +02:00
Aevann 4dde817fcc remove leftover debug print 2023-03-02 02:47:19 +02:00
Aevann 6884e5b3ed fix https://rdrama.net/events/worldcup2022/leaderboard 2023-03-02 02:36:41 +02:00
Aevann 308bb03125 add !everyone 2023-03-02 02:32:51 +02:00
Aevann fdda74a008 fix 500 error with newest sqlalchemy version 2023-03-02 02:27:17 +02:00
Aevann b0075fb393 fix badge thread 2023-03-01 22:57:18 +02:00
Aevann 30a8de0126 restore login_required mod log 2023-03-01 22:45:42 +02:00
Aevann ca1b25783f redup redis url 2023-03-01 21:49:17 +02:00
Aevann cf9500ddbd enable notifs for ghost posts 2023-03-01 21:28:19 +02:00
Aevann b3f75b9beb always use author_name even if its not needed for consistency 2023-03-01 21:28:10 +02:00
Aevann 95bb5db1af remove intervention code for being not necessary anymore 2023-03-01 21:15:11 +02:00
Aevann f9c49fc49c fix 500 error 2023-03-01 02:01:26 +02:00
Aevann 891fa80388 use "p" variable instead of "post" variabe for consistency 2023-03-01 00:37:12 +02:00
Aevann ff73022863 mive /edit_post and /edit_comment to the bottom 2023-03-01 00:22:59 +02:00
Aevann 55c8a51a1d make it possible to position poll options 2023-03-01 00:09:16 +02:00
Aevann 82af0d4528 fix not being able to see ur own replies in DMs 2023-02-28 22:52:43 +02:00
Aevann 76156ba9c4 make it impossible to leave !jannies 2023-02-28 22:07:31 +02:00
Aevann 24c298f329 do this https://stupidpol.site/h/countryclub/post/79285/-/3681172#context 2023-02-28 21:36:14 +02:00
Aevann 4980bafc62 fix duplicate notifs 2023-02-28 20:51:11 +02:00
Aevann 24b3e96e03 minor fix to notifs 2023-02-28 19:27:36 +02:00
Aevann fc53358964 only generate a modaction if v.id != asset.submitter_id 2023-02-28 19:15:49 +02:00
Aevann 64fb4c7a92 put unapproved apps before approved apps 2023-02-28 19:13:38 +02:00
Aevann c6af523b5d handle turnstile outages 2023-02-28 19:02:03 +02:00
Aevann 330fd9c97d handle race condition 2023-02-28 18:56:22 +02:00
Aevann 8f50c90b17 fix to /notifications 2023-02-28 18:52:29 +02:00
Aevann 1769c762b0 support multiline award notes 2023-02-27 20:17:33 +02:00
Aevann 86b0d2f5c1 fix comments not appearing 2023-02-27 18:16:12 +02:00
Aevann 8342e8b7c3 increase the limit from 8 files to 20 files 2023-02-27 18:05:28 +02:00
Aevann 984aecec9a destroy the shadow realm (#135)
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: #135
2023-02-27 15:38:12 +00:00
Aevann 668499846b try to fix mbux bug 2023-02-27 17:02:45 +02:00
Aevann 5b71b0a81a refactor file upload 2023-02-27 17:02:35 +02:00
Aevann 9559c6e93a hide ghosts in push notifs 2023-02-27 15:35:53 +02:00
Aevann 17bb6dad48 blackjack fix exploit 2023-02-27 07:33:45 +02:00
Aevann 6e200d332e use [file] instead of <file> 2023-02-27 07:24:26 +02:00
Aevann e1c9f752c3 better replies 2023-02-27 04:11:41 +02:00
Aevann 6e3dd62a47 fix irrelevant replies in notifs 2023-02-27 03:56:10 +02:00
Aevann 9a618508f7 consistency 2023-02-27 02:48:19 +02:00
Perjury 20bbc9ff24 Pointless bullshit checks for people who like to use mitmproxy a bit too much (#134)
Does it do anything meaningful? No
Does it do anything harmful? No
Did I test it? uhhhhhm

Co-authored-by: Perjury <perjury@sabotaged.email>
Reviewed-on: #134
Co-authored-by: Perjury <perjury@noreply.fsdfsd.net>
Co-committed-by: Perjury <perjury@noreply.fsdfsd.net>
2023-02-27 00:47:51 +00:00
Aevann 2c279a8369 remove unnecessary modmail preamble 2023-02-27 02:41:25 +02:00
Aevann aec0bbc7bd dont give error when body is missing <file> 2023-02-26 14:46:38 +02:00
Aevann 663cdde1f4 increase the limit for concurrent file uploads from 4 to 8 2023-02-26 14:19:30 +02:00
Aevann 6ac9b32834 allow positioning of files 2023-02-26 14:08:37 +02:00
Aevann 825cee14eb always show parent comment in /notifications 2023-02-26 13:14:18 +02:00
Aevann 686f88e9cf css solution to the height spam question 2023-02-26 13:08:52 +02:00
Aevann fe0b8887bc change 1/second ratelimit to 1/2 second 2023-02-26 12:26:26 +02:00
Aevann 588c133e67 decrease unnecessary 1/2 minutes ratelimit 2023-02-26 12:24:38 +02:00
Aevann 3a07858639 revert back from \n to \n\n for easier to read source and making linefeeds work when theres <pre> or ``` 2023-02-26 12:20:32 +02:00
Aevann fd9e1c3fec in push notifs: link the post I was mentioned in 2023-02-26 11:37:44 +02:00
Aevann 8085fa3351 make modmail appear in /search/messages 2023-02-26 11:22:42 +02:00
Aevann 890fedf1f3 remove redundant condition 2023-02-26 11:14:39 +02:00
Aevann 510ff42dab fix error 2023-02-26 10:50:57 +02:00
Aevann 82a73392a9 fix errors 2023-02-26 10:49:09 +02:00
Aevann 7dd2879328 fix 500 error 2023-02-26 10:47:41 +02:00
Aevann 8c495c914a default ratelimit doesnt apply implicitly if theres other @limiter.limit before the function, so add it explicity before all functions 2023-02-26 10:41:04 +02:00
Aevann d500257729 better syntax for redis host 2023-02-26 10:02:07 +02:00
Aevann 4c35f0b07f remove unnecessary line 2023-02-26 08:35:59 +02:00
Aevann b7f12dacda fix again 2023-02-26 04:03:09 +02:00
Aevann e43319b34d fix 2023-02-26 04:01:37 +02:00
Aevann a77be15791 delete the 1/second ratelimiter in after_request 2023-02-26 03:58:41 +02:00
Aevann 7aaeedea36 better ratelimiting 2023-02-26 03:42:39 +02:00
Aevann 6cc9c784cc minor changes to notifs 2023-02-26 01:44:31 +02:00
Aevann db7cb3d415 fix 500 error 2023-02-26 00:07:26 +02:00
Aevann 3cec0297cf rename /!group/members to /!group 2023-02-26 00:06:43 +02:00
Aevann 878ba5b80b Revert "change groups ratelimit"
This reverts commit 8d3d105eba.
2023-02-25 23:53:48 +02:00
Aevann 63ff0d8511 better UI for ping groups 2023-02-25 23:44:02 +02:00
Aevann 8be4e6adc2 always show parent comment in notifications 2023-02-25 21:57:50 +02:00
Aevann 00c70a23fb show number of emojis and the zip size 2023-02-25 21:18:40 +02:00
Aevann 0bc727a6e1 give me push notifs for direct replies 2023-02-25 20:17:24 +02:00
Aevann 0a8bb14c64 try not limiting push notifs body size and see what happens 2023-02-25 20:16:28 +02:00
Aevann 8418e0075f move .cookies to /cookies 2023-02-25 19:45:13 +02:00
Aevann 61d256eaaa adds an easy link to download all emojis 2023-02-25 01:14:18 +02:00
Aevann 5797132548 restore blackjack 2023-02-24 23:50:10 +02:00
Aevann 5a912f7966 clearer error message 2023-02-24 22:20:31 +02:00
Aevann fac4da6769 order memberships better 2023-02-24 21:53:40 +02:00
Aevann 8d3d105eba change groups ratelimit 2023-02-24 21:44:22 +02:00
Aevann a83c5767c1 fix 500 error 2023-02-24 21:43:27 +02:00
Aevann 0832037d3e make it possible to kick niggas from ping groups 2023-02-24 21:41:25 +02:00
Aevann d26cc5a83f ping groups improvements 2023-02-24 21:29:07 +02:00
Aevann 46fbe339c6 disable blackjack temprarily https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3002373#context 2023-02-24 20:23:13 +02:00
Aevann 6fcc525772 remove unnecessary body 2023-02-24 09:16:50 +02:00
Aevann 7f2d6a29a5 fix 500 error in /contact 2023-02-24 08:53:40 +02:00
Aevann 858592965f fix 500 errors 2023-02-24 08:48:30 +02:00
Aevann a90744145a add ping groups 2023-02-24 08:31:06 +02:00
Aevann 112ef66616 fix posts link in leaderboard 2023-02-24 05:58:28 +02:00
Aevann fbdad373f2 fix broken push notifs 2023-02-24 05:28:03 +02:00
Aevann 22051152de fix 500 error 2023-02-24 05:00:22 +02:00
Aevann d2bda15383 remove unnecessary f 2023-02-24 04:54:31 +02:00
Aevann 81561f23ca give push notifs for comments in subscribed threads 2023-02-24 04:50:46 +02:00
Aevann c697d3ea34 change notif title to be clearer 2023-02-24 04:43:26 +02:00
Aevann cb73c7c681 give push notifs to mentions on edit 2023-02-24 04:42:20 +02:00
Aevann e37031c4dd make sure g.db.flush() is always above _push_notif_thread 2023-02-24 04:36:25 +02:00
Aevann 1848d24993 shorter syntax for if condition 2023-02-24 04:29:53 +02:00
Aevann 3e7ccb7756 add push notifs to add_notif() 2023-02-24 04:28:10 +02:00
Aevann 5a511c00a8 include username in push notifs 2023-02-24 04:22:47 +02:00
Aevann 5d6cb1ba46 add push notifs for modmail 2023-02-24 04:04:11 +02:00
Aevann ad63fca3e7 giev push notif for app requests 2023-02-24 03:58:52 +02:00
Aevann 6755cbf28a move an if condition to push_notif() 2023-02-24 03:56:46 +02:00
Aevann 2caf9a9faf remove redundant if condition 2023-02-24 03:47:50 +02:00
Aevann 52a63fbba3 restore modmail notifs for myself 2023-02-24 01:25:47 +02:00
Aevann 03a82a0d4f delete code irrelevant now 2023-02-23 15:04:33 +02:00
Aevann abe61d41af restores simps and haters for comments and /voted/comments 2023-02-22 19:30:09 +02:00
Aevann a395c18955 remove unnecessary tabs 2023-02-22 19:27:33 +02:00
Aevann 9de379d72f give error when jannies attempt to chud a perma-chudded user or ban a permabanned-user 2023-02-22 19:11:29 +02:00
Aevann e5b9009dc2 notify users when their flair gets changed by jannies 2023-02-22 19:00:38 +02:00
Aevann bd97dc7d5f fix last commit 2023-02-22 16:43:39 +02:00
Aevann 42ed35770c paginate /admin/dm_images 2023-02-22 16:36:52 +02:00
Aevann c7d7de289f search post urls too 2023-02-21 20:18:42 +02:00
Aevann 8cf4b6fda6 reduce default admin level 2023-02-21 17:14:37 +02:00
Aevann e2206278a1 Revert "Revert "routes: added various per-app exclusions (#128)""
This reverts commit f4a4b5f7be.
2023-02-21 16:51:22 +02:00
Aevann 3ab70d6cd0 remove @darkmarsey from blacklist 2023-02-21 16:37:45 +02:00
Aevann fd1f253ede check for ban_reason length after sanitizing 2023-02-21 16:30:31 +02:00
Aevann f4a4b5f7be Revert "routes: added various per-app exclusions (#128)"
This reverts commit 4e52488b35.
2023-02-20 18:06:51 +02:00
mummified-corroding-granny 4e52488b35 routes: added various per-app exclusions (#128)
Kindly,

Why (at least on WPD):
* /marseys results in a 500 (balls-deep)
* /worldcup... and /directory are empty pages
* /toggle_holes results in almost all posts getting removed from the front page in the perspective of the logged-in user

Thanks,
granny

Reviewed-on: #128
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-20 14:40:21 +00:00
mummified-corroding-granny 6f06b24ead routes: add /flairs as an alternative route to /holes (#129)
Kindly,

As per $title. For WPD, with love

Thanks,
granny

Reviewed-on: #129
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-20 14:40:00 +00:00
Aevann cff77f21e3 fix for future messages 2023-02-19 22:02:13 +02:00
Aevann 15c303f9f2 add message search 2023-02-19 21:56:52 +02:00
Aevann 288fcde832 add /admin/delete_media 2023-02-19 21:31:26 +02:00
Aevann 472bed996f add button to remove progstack 2023-02-19 16:02:30 +02:00
Aevann b819fa51d0 make it possible for jannies to stack chuds and bans 2023-02-19 15:23:08 +02:00
Aevann cb9ffefb7f rename /shop to /shop/awards and /hats to /shop/hats 2023-02-19 11:34:10 +02:00
Aevann 8158b70c20 apparently cardview toggle got removed from the settings, so might as well remove it from the code 2023-02-19 11:20:16 +02:00
Aevann bc93d6c7b7 reduce chat history from 500 messages to 250 to make it load faster 2023-02-19 10:47:20 +02:00
Aevann 1754eeffe2 add a link to the post/comment in the grass ban reason 2023-02-19 00:44:16 +02:00
Aevann 5d0c3742b0 change the grass award message to be clearer 2023-02-19 00:43:51 +02:00
Aevann 17488de9d2 remove unused import 2023-02-19 00:35:59 +02:00
Aevann 81cc869fe2 make sure autojanny, zozbot, longpostbot add to the comment count of a post 2023-02-18 23:59:17 +02:00
Aevann 8c0fcc5405 add 4 additional mod log actions for approving and rejecting assets 2023-02-18 23:34:39 +02:00
Aevann d4913ce4ee constantify CASINO_RATELIMIT 2023-02-18 20:22:48 +02:00
Aevann d2c2d313a2 show the reply box on deleted posts 2023-02-18 20:10:44 +02:00
Aevann 6af1954b8f Revert "bandaid fix to ping groups post"
This reverts commit 8205efa318.
2023-02-18 18:43:06 +02:00
Aevann d4210c2710 renamed p.embed_url to p.embed 2023-02-18 18:33:19 +02:00
Aevann 57e9cb3428 remove .deleted column for alts 2023-02-18 17:19:14 +02:00
Aevann ef2bda6920 remove relinking 2023-02-18 16:55:18 +02:00
Aevann 03bd9653ea disallow non-jannies from moving their posts to /h/changelog 2023-02-18 01:26:38 +02:00
Aevann d5d3e1f65e use abort in /submit 2023-02-18 01:25:01 +02:00
Aevann d26c209c75 exclude SRDEnjoyer from algo 2023-02-17 22:56:56 +02:00
Aevann 85587d28cd remove @chiobu from algo ban 2023-02-17 22:13:14 +02:00
Aevann 5da9c26664 allow jannies to add additional tags 2023-02-17 19:06:22 +02:00
Aevann c3842b8bf8 remove unnecessary song change code 2023-02-17 18:42:55 +02:00
Aevann 92b77735ae fix profile songs in localhost 2023-02-17 17:20:51 +02:00
Aevann 8537dfbf21 dont commit on error 2023-02-17 16:49:23 +02:00
Aevann fa836ee549 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-17 16:21:16 +02:00
Aevann d027e51faa fix 500 error 2023-02-17 16:21:12 +02:00
Aevann 362cd288d8 fix 500 error 2023-02-17 16:17:05 +02:00
mummified-corroding-granny 58e985525b chat: prevent usernames sticking after rename and color change (#123)
Kindly,

As per $title.

Currently, if a user changes name or color while in chat, the username will stick forever (until clearing all sessions with a process restart).

This PR fxes both of these situations. The code is getting ugly and would benefit from using dictionaries instead of lists, but I suspect there are other priorities.

Thanks,
granny

Reviewed-on: #123
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-17 13:58:02 +00:00
mummified-corroding-granny e2adf9e53d Chat: add minimalistic chat session tracking and fix shadow user spy problem (#121)
Kindly,

Not sure if this is too dramaphobic. I also went with the just enough (TM) approach

The issue this PR intends to fix:
1. user has no chat tabs open
2. user opens two chat tabs
3. user closes second chat tab
4. user disappears from sidebar and user count (because was removed from online py list)
5. user (became shadow user) can now spy on the chat without being listed

Thanks,
granny

Reviewed-on: #121
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-16 13:41:58 +00:00
Aevann 8205efa318 bandaid fix to ping groups post 2023-02-11 08:55:37 +02:00
Aevann e5343fb7a8 dont hang workers on youtube song change 2023-02-10 16:29:09 +02:00