forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

6315 Commits (96330210e862f681bd7f2af8a80bea3555ac4de9)

Author SHA1 Message Date
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: rDrama/rDrama#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: rDrama/rDrama#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: rDrama/rDrama#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: rDrama/rDrama#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: rDrama/rDrama#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: rDrama/rDrama#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
Aevann 83b34832b8 fix chat count 2023-01-28 12:44:15 +02:00
Aevann cd573133a9 fix images in modmail 2023-01-28 10:47:52 +02:00
Aevann 3b4211e8e1 stop using nullslast rDrama/rDrama#102 2023-01-28 10:25:19 +02:00
Aevann 159773cf73 show namecolor in online listing 2023-01-27 20:15:38 +02:00
Aevann c5d2bd443b put unobtainable hats last in hats listing 2023-01-27 20:05:43 +02:00
Aevann 4a795d924f show profile pictures in chat online list 2023-01-27 19:52:47 +02:00
Aevann 895b3a5b7b fix 500 error 2023-01-27 16:03:19 +02:00
Aevann 6b2bbb066f same as last commit 2023-01-27 15:51:04 +02:00
Aevann 2795f55857 fix /gumroad 2023-01-27 15:33:09 +02:00
Aevann d15a9e294f better error 2023-01-27 15:03:14 +02:00
Aevann c45cd0fde8 make a UI for /admin/dm_images 2023-01-27 14:24:39 +02:00
Aevann 349fa17836 use exlamation marks instead of dots in responses to users 2023-01-27 13:57:29 +02:00
Aevann 66461e652c more redirections 2023-01-27 13:48:48 +02:00
Aevann f1877be84e make /settings/log_out_all_others redirect 2023-01-27 13:33:03 +02:00
Aevann 57f029040d remove error codes from redirect() 2023-01-27 13:28:50 +02:00
Aevann d9b0b6084d add forgetten error code 2023-01-27 13:25:32 +02:00
Aevann 7bda728287 redirect /settings/filters 2023-01-27 13:20:15 +02:00
Aevann 580438908d rename err to error for consistency 2023-01-27 13:19:56 +02:00
Aevann 15a9d53ba6 use get_msg() in /profile_css 2023-01-27 12:04:30 +02:00
Aevann 4c9181e0b1 save failed profilecss 2023-01-27 12:02:11 +02:00
Aevann d01d6e183a change endpoint path to be the same as GET version 2023-01-27 11:53:04 +02:00
Aevann 08bbe29726 save failed css on failure 2023-01-27 11:49:29 +02:00
Aevann 2c332c5fa7 avoid duplicating err and msg code 2023-01-27 11:41:32 +02:00
Aevann fd343424ec make /create_hole redirect to the GET version 2023-01-27 11:39:32 +02:00
Aevann 4c9f27aa1f make /send_admin redirect to /contact 2023-01-27 11:26:59 +02:00
Aevann 21dd678c2d restore simps and haters but exclude comment votes 2023-01-27 10:59:36 +02:00
Aevann 2854599ed5 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3489058#context 2023-01-27 10:19:36 +02:00
Aevann ffa04a3cd5 constantify my log action types 2023-01-27 10:18:05 +02:00
Aevann 75a9a20bc2 fix 500 error 2023-01-27 09:11:06 +02:00
Aevann 83b22560eb dont use abort in chat 2023-01-27 09:07:58 +02:00
Aevann f62a0c075a minor fix to /gumroad 2023-01-27 07:20:35 +02:00
Aevann b479a0ac0a boost posts containing specific words (like "effortpost" 2023-01-26 14:41:04 +02:00
Aevann d00fef9faf use transactions table in rdrama (#99)
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#99
2023-01-26 11:25:28 +00:00
Aevann cf27b8bd66 fix 500 error 2023-01-26 08:47:31 +02:00
Aevann d6dda995af fix cartesian product 2023-01-26 07:47:20 +02:00
Aevann 6b5f87a638 icons 2023-01-26 07:45:38 +02:00
Aevann 2754abb58e fix 500 error 2023-01-26 07:39:17 +02:00
Aevann 5eea908e6f fix 500 error 2023-01-26 07:36:41 +02:00
Aevann ab580f626f fix 500 error 2023-01-26 07:31:47 +02:00
Aevann e8a61b133f im genuinely stupid 2023-01-25 18:52:16 +02:00
Aevann 5c3eb6989f fix 500 error 2023-01-25 18:06:27 +02:00
Aevann cb9f505c8f make blacklisting propagate 2023-01-25 17:47:16 +02:00
Aevann ceee02fbce add button to blacklist users from restricted holes 2023-01-25 17:41:46 +02:00
Aevann f8822ac14d add a ratelimit to media uploads 2023-01-25 17:13:24 +02:00
Aevann 94d7042512 add progstack btn to comments 2023-01-25 13:35:37 +02:00
Aevann b31405c23d rename handle_youtube to handle_youtube_links 2023-01-25 13:17:12 +02:00
Aevann db24ff06e7 restore /comments 2023-01-25 13:10:58 +02:00
Aevann c4d3234988 make can_see give 403 error instead of 404 2023-01-25 12:59:45 +02:00
Aevann 1496b12e8f add progstack awawrd to WPD 2023-01-25 12:57:50 +02:00
Aevann e1f4d53b9a exclude me from alt linking 2023-01-25 07:50:22 +02:00
Aevann dc16683e18 use a set instead :marseyautism: 2023-01-25 07:03:30 +02:00
Aevann 569d76ab38 respect the dead 2023-01-25 07:02:57 +02:00
Aevann 167b04543c exclude jannoids from profile views 2023-01-25 05:45:23 +02:00
Aevann ca1b716010 fix pfp caching 2023-01-25 05:18:17 +02:00
Aevann b23dc76d78 fix muting linking alts 2023-01-25 04:53:52 +02:00
Aevann 680135755e Revert "get rid of get_alt_graph"
This reverts commit e2e3da4bda.
2023-01-25 04:51:48 +02:00
Aevann 585d8f9695 fix make admin button 2023-01-25 03:53:20 +02:00
Aevann 9327ef6eed chat fixes 2023-01-25 03:17:39 +02:00
Aevann 947be4fef6 fix missing perm 2023-01-25 03:07:49 +02:00
Aevann e2e3da4bda get rid of get_alt_graph 2023-01-25 03:07:30 +02:00
Aevann 7e8329c296 remove account merging stuff 2023-01-24 14:20:30 +02:00
Aevann b1b7393f11 disable more slow enddpoints 2023-01-24 13:25:04 +02:00
Aevann 95674fa39a fix /admin/alts 2023-01-24 12:32:06 +02:00
Aevann 757c244f65 allow JL4 to unpin award pins 2023-01-24 12:24:27 +02:00
Aevann c1268d396b make it not possible to sticky removed comments 2023-01-24 12:23:19 +02:00
Aevann 1eb0cdffac add progstack to WPD too (fixed) 2023-01-24 12:05:16 +02:00
Aevann 0a42bde52b Revert "add progstack to WPD too"
This reverts commit 966d6d2161.
2023-01-24 12:02:33 +02:00
Aevann 966d6d2161 add progstack to WPD too 2023-01-24 08:50:09 +02:00
Aevann fa58ad978b fix syntax error in a previous commit 2023-01-24 08:02:35 +02:00
Aevann f1bdfa8eda disable modaction for login_required 2023-01-24 07:48:27 +02:00
Aevann 2c2167d51f limit all non-death holes in WPD 2023-01-24 07:43:46 +02:00
Aevann c1b1ccedff chat improvements 2023-01-24 07:28:56 +02:00
Aevann 223909a2f8 fix 500 error on muting 2023-01-24 06:53:07 +02:00
Aevann d1ee3ba0a3 fix 500 error 2023-01-23 14:44:30 +02:00
Aevann bdaced6c10 allow admins to apply progstack 2023-01-23 14:40:44 +02:00
Aevann 9ad4cf8035 add exclamation mark 2023-01-23 12:30:34 +02:00
Aevann f277b9ab8a more kofi shit 2023-01-23 12:26:47 +02:00
Aevann 9074c68c57 testing kofi 2023-01-23 12:19:32 +02:00
Aevann 8396126606 add dm images 2023-01-23 11:58:38 +02:00
Aevann d34f836052 make patron rewards automatic in WPD 2023-01-23 10:42:38 +02:00
Aevann e18b5fd29d same as last commit 2023-01-23 10:06:59 +02:00
Aevann 11aef2ae3d make mutes propagate 2023-01-23 10:06:32 +02:00
Aevann d9553d2636 chat anti-spam 2023-01-23 08:04:02 +02:00
Aevann 0126bb9729 cut down on chat spam 2023-01-23 04:45:34 +02:00
Aevann 921b9b1a2e re-enable autocheck for ratelimiting 2023-01-23 04:38:39 +02:00
Aevann cdb1b42f72 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3342634#context 2023-01-23 04:14:56 +02:00
Aevann a560958c3a fix youtube timestamps 2023-01-23 04:06:56 +02:00
Aevann 705f04b556 add error handling to git_head 2023-01-23 02:54:37 +02:00
Aevann 6fb5f7e552 disable slow endpoing 2023-01-23 02:43:15 +02:00
Aevann 3ab09c0e20 fix 500 error on disconnect chat 2023-01-23 02:42:30 +02:00
Aevann afc5c82fef disable empty searches 2023-01-23 01:30:22 +02:00
Aevann 7f1ddf5c0c fix delinking alts 2023-01-22 10:20:38 +02:00
Aevann 24edb49f3b add jl5 (for me) 2023-01-22 10:04:49 +02:00
Aevann 8d74d69d76 chat improvements 2023-01-22 09:19:23 +02:00
Aevann bb6d798647 fix quoting new messages 2023-01-22 08:00:50 +02:00
Aevann 83b0f1ebf5 fix chat 2023-01-22 06:48:48 +02:00
Aevann dd80ac2530 same as last commit 2023-01-22 06:46:00 +02:00
Aevann 21d2ba8bd3 debugging 2023-01-22 06:44:39 +02:00
Aevann fdd05d36be fixes to chat 2023-01-22 06:19:18 +02:00
Aevann 3fe80c4f4d same as last commit 2023-01-22 05:18:19 +02:00
Aevann 542410eb27 fixes to chat 2023-01-22 05:16:37 +02:00
Aevann 1ee213f742 another chat rework 2023-01-22 04:43:28 +02:00
Aevann 3e5599cd96 stop separating online counter by chat type 2023-01-22 02:11:01 +02:00
Aevann 57fdc74a43 disable 2 other endpoints temporarily on rdrama 2023-01-22 02:01:48 +02:00
Aevann f64f0ddaf0 fix last commit 2023-01-21 12:54:15 +02:00
Aevann 6cc7d311a3 only emit catchup once 2023-01-21 12:50:30 +02:00
Aevann f2fdefa8cd chat overhaul 2023-01-21 12:36:21 +02:00
Aevann 35808e9fd7 use username instead of id in linking/delinking mod notes 2023-01-21 07:54:29 +02:00
Aevann e3fc980984 order /banned and /admin/shadowbanned by ban reason 2023-01-21 07:50:48 +02:00
Aevann e96f121f3f tell ppl to check their spam folder just in case 2023-01-21 07:36:27 +02:00
Aevann a40dee5bd8 improve user ratelimiting 2023-01-21 06:39:46 +02:00
Aevann 9ded1cab20 move live commit to the sidebar where its less annoying 2023-01-21 06:27:30 +02:00
Aevann b13ec4f4c7 give an error message in /comments to stop bad bug reports 2023-01-21 05:59:53 +02:00
Aevann 0da34bf23c check for existing snappy quotes 2023-01-21 05:08:05 +02:00
Aevann 131cf0b456 disable /comments on rdrama again 2023-01-21 00:01:09 +02:00
Aevann cc8a3211d9 restore /comments 2023-01-20 23:55:06 +02:00
Aevann 88d298801f Revert "redirect /comments to /search/comments"
This reverts commit c67f28125d.
2023-01-20 23:53:42 +02:00
Aevann c67f28125d redirect /comments to /search/comments 2023-01-20 23:43:30 +02:00
Aevann 21dcdc9310 disable it only on rdrama 2023-01-20 23:17:12 +02:00
Aevann f579fa24ec disable /comments temporarily 2023-01-20 23:16:09 +02:00
Aevann 4718576778 remove leftover discord shit 2023-01-20 07:41:45 +02:00
Aevann f17fade8a6 purge discord from site code 2023-01-20 07:31:53 +02:00
Aevann 0ab0b9cbe6 prevent jannies of smuggies and ye24 from turning off stealth mode 2023-01-20 07:15:08 +02:00
Aevann a33bbc8fc2 >= 2 instead of >= 1 2023-01-20 06:35:23 +02:00
Aevann 2511054947 fix leak of admin chat 2023-01-20 06:34:32 +02:00
Aevann 70ab540717 make the online listing specific to the type of chat 2023-01-20 06:25:35 +02:00
Aevann acc71d4cae add /admin/chat and dont store profile_url in chat dict 2023-01-20 06:10:25 +02:00
Aevann 1919fc822a give me push notifs for DMs 2023-01-20 05:42:05 +02:00
Aevann d82835a968 same as last commit 2023-01-20 03:31:51 +02:00
Aevann 366cfd69c6 Revert "quadruple message limit in chat"
This reverts commit d219bedba6.
2023-01-20 03:15:11 +02:00
Aevann d219bedba6 quadruple message limit in chat 2023-01-20 02:50:15 +02:00
Aevann 30dd9bc5d5 restore chat for rdrama 2023-01-20 02:12:36 +02:00
Aevann 925cdcad3a remove .save file 2023-01-03 13:55:11 +02:00
Aevann ae1eced819 minor syntax change 2023-01-03 13:34:21 +02:00
Aevann 898ef997f0 boost slackernews 2023-01-03 13:27:43 +02:00
Aevann 36c2e3ae3d add commas to registered users 2023-01-03 12:57:21 +02:00
Aevann e6e5225a42 minor fix 2023-01-03 10:00:37 +02:00
Aevann 6dcb000c8f remove worldcup leaderboard 2023-01-03 09:03:15 +02:00
Aevann 4e24336a66 fix 500 error 2023-01-01 17:44:37 +02:00
Aevann dd3dfa5197 make users list viewable by everypony 2023-01-01 16:52:16 +02:00
Aevann a4562b615a YOLO session_id 2023-01-01 16:27:12 +02:00
Aevann 738ad622b8 remove small redundancy 2023-01-01 16:25:30 +02:00
SneedBot ce48b0f3a0 sneed 2023-01-01 13:04:09 +00:00
Aevann 498db92dd9 fix custom css 2023-01-01 15:03:55 +02:00
Aevann 6cbefa6e82 fix 500 error 2023-01-01 14:34:53 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
SneedBot a56bb59aa6 sneed 2023-01-01 10:45:08 +00:00
Aevann d0874f614b background improvements 2023-01-01 11:59:29 +02:00
Aevann e30d3649f1 setting fixes 2023-01-01 11:42:23 +02:00
Aevann 8df7c59649 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3333157#context 2023-01-01 11:02:39 +02:00
Aevann c4c3ff95fe fix missing () 2023-01-01 07:48:15 +02:00
Aevann db6db63836 change event structure 2023-01-01 07:33:09 +02:00
Aevann 661646f134 fix IMAGE_FORMATS 2023-01-01 05:38:37 +02:00
Aevann 03fb84e618 fix HOLIDAY_EVENT check 2023-01-01 04:50:11 +02:00
Aevann 78351abc4c clean up legacy stuff 2023-01-01 03:17:07 +02:00
Aevann 7a529e70f8 disallow chudding and banning ppl for negative days 2023-01-01 02:58:37 +02:00
Aevann 0c303b81a3 move CSP to nginx again 2022-12-31 08:38:59 +02:00
Aevann 8ee189022b seething hatred 2022-12-30 21:01:47 +02:00
Aevann c4872ecb07 Revert "attempt to fix ratelimiting user"
This reverts commit 99597fc36c.
2022-12-30 20:43:13 +02:00
Aevann 99597fc36c attempt to fix ratelimiting user 2022-12-30 20:40:58 +02:00
Aevann 9a8c986f93 attempt to fix ratelimiting user 2022-12-30 20:33:07 +02:00
Aevann af60fc3ed7 fix exploit 2022-12-30 20:19:34 +02:00
Aevann f5211c19f9 fix chat annoyance 2022-12-30 20:09:55 +02:00
Aevann 4c371408da make /signup more friendly to retards 2022-12-30 19:29:04 +02:00
Aevann 9490f1796c check badge names 2022-12-30 18:28:24 +02:00
Aevann af59e82528 restore banning domains 2022-12-30 18:24:20 +02:00
Aevann 5c13700080 hide ghost identity leak in dev console 2022-12-30 18:22:57 +02:00
Aevann e0e8eb3dd6 fix mod log links 2022-12-30 18:10:29 +02:00
Aevann 9e0a3fd6b9 reduce commit hash from 12 chars to 7 2022-12-30 16:39:34 +02:00
Aevann 7cc9170711 show live counter of registered users 2022-12-30 15:54:49 +02:00
Aevann 0bbe5d5ddd show live commit to everyone 2022-12-30 15:32:58 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann 6927009b3a delete /comments 2022-12-30 09:35:32 +02:00
Aevann 93e9a42fa3 stop using inline style/script elements 2022-12-29 16:20:27 +02:00
Aevann 56b80d447d remove unnecessary ruqqus holdover 2022-12-29 12:42:08 +02:00
Aevann 909e3f5f29 use a cool flask feature i didnt know about 2022-12-29 12:39:10 +02:00
Aevann 1ec32c3895 combine 2 replace statements 2022-12-29 12:35:49 +02:00
Aevann c1e147c190 dont pin agendaposter comment 2022-12-29 09:01:36 +02:00
Aevann 9540e7c26e same as last commit 2022-12-28 16:37:26 +02:00
Aevann d932c07b3d fix videos on wpd 2022-12-28 16:34:01 +02:00
Aevann c326c999f2 fix csp violation 2022-12-28 12:25:52 +02:00
Aevann f7aa7d8dfd better error messages 2022-12-28 11:50:48 +02:00
Aevann 53fcc2ac40 fix reverting admin actions showing wrong username in toast 2022-12-28 11:47:30 +02:00
Aevann ccfb99cb63 fix 500 error 2022-12-28 11:44:39 +02:00
Aevann 04c91082a5 also show me "unshadowban" and "unban_user" 2022-12-28 11:37:55 +02:00
Aevann 7b71c36e3f require reason for banning 2022-12-28 11:31:27 +02:00
Aevann 5fef411e0c fix 500 error 2022-12-28 11:28:00 +02:00
Aevann 678f40ccba consistency 2022-12-28 10:35:41 +02:00
Aevann 181a660760 comment domains for now 2022-12-28 06:12:57 +02:00
Aevann bf00867fe8 fix devrama settings 2022-12-27 15:35:14 +02:00
Aevann 3b8bb2576b fix jc mistake 2022-12-27 08:19:36 +02:00
Aevann 68c00456f0 patch another janny xss 2022-12-27 08:11:44 +02:00
Aevann 84874ab3ff fix 500 error 2022-12-27 07:40:54 +02:00
Aevann 54b49d374c minor fix 2022-12-27 07:37:21 +02:00
Aevann 47ba7f11f2 limit LLM cuck to private toggle 2022-12-27 07:31:28 +02:00
Aevann 5fdec63e8c disallow changing site settings in devrama 2022-12-27 07:25:29 +02:00
Aevann 844c58fe90 dont print /csp_violations when bc of extension 2022-12-27 07:20:32 +02:00
Aevann 512c864327 fix xss on banning domains (only admins could use it) 2022-12-27 07:18:46 +02:00
Aevann 465565f26c give error when domain ban reason too long 2022-12-27 07:02:14 +02:00
Aevann 0060d5e293 open devrama again 2022-12-27 06:35:25 +02:00
Aevann 84bff9cb44 fix 2022-12-27 06:32:53 +02:00
Aevann d607e57c92 fixes 2022-12-27 06:24:25 +02:00
Aevann 937443560c limit devrama access to meself 2022-12-27 06:17:16 +02:00
Aevann fc95e3741f fix this https://stupidpol.site/h/meta/post/134631/im-too-lazy-to-test-so/3311192#context 2022-12-27 06:08:45 +02:00
Aevann 0fb7418ad9 disable removing jannies in devrama 2022-12-27 06:01:57 +02:00
Aevann 99ab57dea4 clearer error message when replying to deleted shit 2022-12-27 05:52:41 +02:00
Aevann 2bf85bb7ca fix 2022-12-27 05:40:03 +02:00
Aevann 1715dc938d dont generate nonce for xhr and increase nonce elngth 2022-12-27 05:00:15 +02:00
Aevann ff5df9e610 fix prev commit 2022-12-27 04:52:25 +02:00
Aevann 4add61d045 fix devrama jannying 2022-12-27 04:50:42 +02:00
Aevann 0336e87619 exclude devrama from 2fa requirement 2022-12-27 03:54:19 +02:00
Aevann 25e0291b1d minor fix for 500 error 2022-12-27 03:37:41 +02:00
Aevann 6114111654 tighten CSP 2022-12-27 03:22:39 +02:00
Aevann 644772d397 replace mention pfps too 2022-12-26 21:00:49 +02:00
Aevann bc453f8057 add missing import 2022-12-26 05:14:02 +02:00
Aevann 40305f01f2 dont lock jannies out of /chat 2022-12-26 04:49:14 +02:00
Aevann f37e1dc702 disallow jannoids from undoing chud awards 2022-12-26 04:38:32 +02:00
Aevann e3529d0495 use abort instead of return {"error": 2022-12-26 04:37:30 +02:00
Aevann 561b14cfd6 make post thumbnails not animated 2022-12-26 04:16:46 +02:00
Aevann 9af435adf0 im genuinely fucking retarded 2022-12-26 04:14:09 +02:00
Aevann d5eed41992 dont notify me of my own modmail message 2022-12-26 02:14:47 +02:00
Aevann 205ca3dc6f same as last commit 2022-12-25 22:41:36 +02:00
Aevann c4e4a8d853 give jannies push notifs for chat 2022-12-25 22:30:50 +02:00
Aevann d30d6b8314 limit chat on rdrama to jannoids 2022-12-25 22:13:29 +02:00
Aevann c4fc37d23a remove unnecessary stuff since im deleting olduser now 2022-12-25 08:15:27 +02:00
Aevann 829db5684b perserve site stats on cache.clear() 2022-12-25 08:14:30 +02:00
Aevann 67f71997b6 move g.db.commit() 2022-12-25 08:13:07 +02:00
Aevann c798eb5090 no point using gevent if the worker timeout is the same lol 2022-12-25 08:12:49 +02:00
Aevann 4a93626040 partially revert prev commit and fix it 2022-12-25 07:54:34 +02:00
Aevann 2f48039a4b minor /move fix 2022-12-25 07:50:31 +02:00
Aevann 6ce3402726 migrate mentions too 2022-12-25 06:53:12 +02:00