Commit Graph

6146 Commits (2ac830467b9517e53958503fc8a053b61e246c93)

Author SHA1 Message Date
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
Aevann 96b8afa617 use /temp_songs directory 2023-02-10 16:17:22 +02:00
Aevann eb68c743e1 remove unnecessary return 2023-02-10 16:15:37 +02:00
Aevann 400ed01ed2 remove time measurement 2023-02-10 15:51:42 +02:00
Aevann a0378e83ab revert 2023-02-10 15:48:31 +02:00
Aevann e243458338 fix 500 error 2023-02-10 15:45:36 +02:00
Aevann 419f3da1e5 try to lower time it takes to load bug thread 2023-02-10 15:35:22 +02:00
Aevann 72097b4592 fix 2023-02-10 15:21:28 +02:00
Aevann f0b1870e92 fix 2023-02-10 14:06:27 +02:00
Aevann e1037467cc fix 2023-02-10 14:05:37 +02:00
Aevann 97cf5c89fe fix 2023-02-10 14:03:18 +02:00
Aevann 54800df9f0 measure /post time 2023-02-10 14:02:00 +02:00
Aevann 83195cded9 take pizza off the autopin list and up it to 1 hour again 2023-02-10 13:53:42 +02:00
Aevann 28dddf4a8b minor change 2023-02-10 07:51:17 +02:00
Aevann baba929b80 minor fix 2023-02-09 15:49:45 +02:00
Aevann b3f9fc88f0 reduce the autopin from 1 hour to 10 minutes 2023-02-09 15:47:19 +02:00
Aevann d217b3e843 fix ratelimiting in wpd 2023-02-09 10:11:34 +02:00
Aevann 6250a75f00 same as last commit 2023-02-09 10:00:01 +02:00
Aevann 8449981617 minor fix 2023-02-09 08:24:03 +02:00
Aevann fc98963e7c remove unnecessary if condition 2023-02-09 07:12:37 +02:00
Aevann 911f183de6 remove csp report code 2023-02-09 06:58:41 +02:00
Aevann 2da4d08ad0 remove print debugging 2023-02-09 06:05:34 +02:00
Aevann 463a32e021 print debugging in devrama 2023-02-09 06:03:20 +02:00
Aevann fc9b55c776 allow me to change settings in devrama 2023-02-09 06:02:39 +02:00
Aevann a9ec1735c9 fix typo 2023-02-09 06:00:37 +02:00
Aevann db64174b80 remove unnecessary print statement 2023-02-09 05:52:51 +02:00
Aevann 44a80f0492 make under_attack a setting and use it in /submit for WPD 2023-02-09 05:50:30 +02:00
Aevann f19f34bc49 change site_settings to SITE_SETTINGS for consistency 2023-02-09 05:49:50 +02:00
Aevann b79172a1a2 add 500MB limit in WPD 2023-02-08 18:54:11 +02:00
Aevann 42de90c955 remove print debugging 2023-02-08 18:26:14 +02:00
Aevann ea9cdea42b print debugging 2023-02-08 18:22:48 +02:00
Aevann c4394316fb add upload progressbar in /submit 2023-02-08 09:15:37 +02:00
Aevann 399d32eaf5 extend usage of features['NSFW_MARKING'] 2023-02-08 08:22:11 +02:00
Aevann c22ce9b9e0 double coins for WPDcels 2023-02-08 05:36:24 +02:00
Aevann 4c87ace27c remove ?all 2023-02-08 04:32:14 +02:00
Aevann 88814ee208 expand blackjack 2023-02-07 05:31:49 +02:00
Aevann 95938ee3ec make sure all comment links have #context 2023-02-07 04:34:11 +02:00
Aevann d9ef24d399 minor fix 2023-02-07 04:07:40 +02:00
Aevann 38183e05fb fix granny bug 2023-02-06 07:42:11 +02:00
Aevann ed41a660fb make gumroad warnings more prominent 2023-02-06 05:39:44 +02:00
Aevann 47b9edfaf3 fix 500 error 2023-02-06 05:36:47 +02:00
Aevann 1041b3e564 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-06 05:34:11 +02:00
Aevann 925fd0497a disable showmore button in sidebars 2023-02-06 05:34:09 +02:00
mummified-corroding-granny fd613097b3 Improve page titles in some profile-related pages (#113)
Kindly,

As per title

granny

Reviewed-on: #113
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-06 03:23:15 +00:00
Aevann b772cf12fe minor change to print statement 2023-02-03 05:05:16 +02:00
Aevann df1f2792a1 comment /csp_violations again 2023-02-02 22:47:22 +02:00
Aevann 97ec2acadc claim rewards automatically on email verification 2023-02-02 22:42:56 +02:00
Aevann 28dbece47e restore /csp_violations 2023-02-02 22:15:03 +02:00
Aevann 6e389bccc7 reduce print statements 2023-02-02 22:13:22 +02:00
Aevann db5bc5c9ec fix 500 error 2023-02-02 22:09:08 +02:00
Aevann 9d244af7f5 increase ratelimit on /csp_violations 2023-02-02 21:33:52 +02:00
Aevann 38fe32703e modify /csp_violations 2023-02-02 21:33:22 +02:00
Aevann c5634cac78 fix automatic patron rewards 2023-02-02 21:28:23 +02:00
Aevann c7e565214e comment /csp_violations for now 2023-02-02 21:24:51 +02:00
Aevann ae83aa15ed fix /csp_violations 2023-02-02 19:33:47 +02:00
mummified-corroding-granny b0797c4493 fix-small-tisms that I had piled up in my todo (#109)
fix-small-tisms that I had piled up in my todo

Reviewed-on: #109
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-02 16:54:52 +00:00
Aevann 235fb21674 more print statements 2023-02-02 18:47:52 +02:00
Aevann 6ef6d06984 same as last commit 2023-02-02 06:16:54 +02:00
Aevann 6a53fa2063 add some print statements to claim_rewards 2023-02-02 06:14:09 +02:00
Aevann 3efa1dfb04 remove unnecessary timeouts in cache.memoize 2023-02-02 02:42:47 +02:00
Aevann cd8bdaa5fd cache worldcup result forever 2023-02-02 02:37:03 +02:00
Aevann 415dd9cc4a Revert "remove worldcup leaderboard"
This reverts commit 6dcb000c8f.
2023-02-02 02:27:38 +02:00
Aevann 06a70f7fd7 refactor donation code 2023-02-01 21:49:39 +02:00
Aevann c09ca02a1e remove unnecessary shit 2023-02-01 21:05:39 +02:00
Aevann b7e4f27f65 use transactions table in rdrama 2023-02-01 21:04:15 +02:00
Aevann 59fe09d0af disable NSFW marking in WPD 2023-02-01 20:52:34 +02:00
Aevann b0832d9ef6 update marseybux message 2023-02-01 20:41:52 +02:00
Aevann 20cbd7da43 remove unneeded shit (testing on devrama) 2023-02-01 19:21:14 +02:00
Aevann 0453367f47 hanlde git_head error 2023-02-01 19:17:12 +02:00
Aevann d4922b0e4c consistency in asset ordering 2023-02-01 19:00:50 +02:00
Aevann 1529e70abd remove /admin/chat for being unused and redundant to /contact 2023-01-30 11:57:00 +02:00
Aevann 8e5c00e351 pin snally posts 2023-01-29 18:29:17 +02:00
Aevann 17a7430193 fix 500 error 2023-01-29 15:58:11 +02:00
Aevann 4a1a66120f fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3500512#context 2023-01-29 15:51:34 +02:00
Aevann a01ba9234d re-disable /voted/comments 2023-01-29 15:47:13 +02:00
Aevann 477fc73632 rename /send_admin to /contact 2023-01-29 11:23:15 +02:00
Aevann 0b30067876 tweak admin perms 2023-01-29 10:28:29 +02:00
Aevann d5c23785d0 fix chat count 2023-01-28 17:10:45 +02:00
Aevann e57021026b restore /voted/comments 2023-01-28 16:37:32 +02:00
Aevann d38a9b8010 nerf "request" category 2023-01-28 12:45:51 +02:00