Commit Graph

19398 Commits (55c8a51a1d6a1242de0a7b000d3d8e9e33c037e1)

Author SHA1 Message Date
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 5e984d8640 add ping groups to WPD sidebar 2023-02-26 02:09:39 +02:00
Aevann 8503ab39e2 dedup in group_memberships.html 2023-02-26 02:05:37 +02:00
Aevann 6cc9c784cc minor changes to notifs 2023-02-26 01:44:31 +02:00
Aevann 7ec3d1c5f2 fix this https://stupidpol.site/post/150202/its-here-downvoters-stoningdownvotes/3668279#context 2023-02-26 00:18:43 +02:00
Aevann 452636c40d fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3663805#context 2023-02-26 00:15:49 +02:00
Aevann db7cb3d415 fix 500 error 2023-02-26 00:07:26 +02:00
Aevann d020b99359 link to ping groups 2023-02-26 00:06:49 +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 7a8ec235e0 add tabs to award modal 2023-02-25 21:40:15 +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 49c0264afd change margins for registered users 2023-02-25 20:12:58 +02:00
Aevann fd4b2037fc remove excessive empty space at the bottom in /submit 2023-02-25 20:10:18 +02:00
Aevann 97d2ae8935 add /h/countryclub to boosted holes 2023-02-25 19:54:30 +02:00
Aevann 8418e0075f move .cookies to /cookies 2023-02-25 19:45:13 +02:00
Aevann cea377b562 make JL8 for me 2023-02-25 18:19:29 +02:00
Aevann 7ebb94fba9 make reply link unbreakable 2023-02-25 18:12:18 +02:00
Aevann 16ec90fb79 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3661428#context 2023-02-25 18:09:20 +02:00
Aevann bc091de92d add another \n before chud images 2023-02-25 18:01:54 +02:00
Aevann 43488c188d change padding/margins on wpd sidebar too 2023-02-25 17:51:06 +02:00
Aevann cb0d0b03c8 change .muted cursor to arrow instead of hand 2023-02-25 17:41:41 +02:00
Aevann 7e829f0065 decrease padding and margins on registered users 2023-02-25 17:33:24 +02:00
Aevann 298b9723aa fix :platyfuckyou: 2023-02-25 01:37:59 +02:00
Aevann 7c05e3b1f7 add @zenziz tags 2023-02-25 01:33:32 +02:00
Aevann 61d256eaaa adds an easy link to download all emojis 2023-02-25 01:14:18 +02:00
Aevann f49bdb295c restore user counter per poll vote 2023-02-25 00:01:55 +02:00
Aevann 4092d4b90b restore registered users counter for myself 2023-02-24 23:55:47 +02:00
Aevann ff4e04a926 add disable-sort-click to all empty <th>s 2023-02-24 23:55:01 +02:00
Aevann 5797132548 restore blackjack 2023-02-24 23:50:10 +02:00
Aevann 9ff3f9eea6 add longpostbot quote 2023-02-24 23:46:16 +02:00
Aevann 5a912f7966 clearer error message 2023-02-24 22:20:31 +02:00
Aevann 74720412b2 modifications to rdrama sidebar 2023-02-24 22:12:44 +02:00
Aevann fac4da6769 order memberships better 2023-02-24 21:53:40 +02:00
Aevann a3dec0033c clearer header 2023-02-24 21:52:46 +02:00
Aevann 644bd719d5 remove unnecessary button 2023-02-24 21:51:28 +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 4324609159 remove unnecessary <th></th>s 2023-02-24 21:30:19 +02:00
Aevann d26cc5a83f ping groups improvements 2023-02-24 21:29:07 +02:00
Aevann 96d0e697a4 put /ping_groups on the sidebar 2023-02-24 20:36:54 +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 287c77ce2e fix missing import 2023-02-24 19:58:09 +02:00
Aevann ba8564504e same as last commit 2023-02-24 11:01:57 +02:00
Aevann 587c115ea6 same as last commit 2023-02-24 11:00:43 +02:00
Aevann ae749d9ab8 try to fix stuck blackjack games 2023-02-24 10:53:03 +02:00
Aevann 4ded5cf914 remove ,"**idontgetthereferenceaevannhelp**" 2023-02-24 10:37:55 +02:00
Aevann dd9a837f38 reduce top margin 2023-02-24 09:38:57 +02:00
Aevann 6482a46955 restore compatibility 2023-02-24 09:31:12 +02:00
Aevann ae26306846 Revert "improve the showmore algo"
This reverts commit 9529cbbd61.
2023-02-24 09:29:46 +02:00
Aevann 6fcc525772 remove unnecessary body 2023-02-24 09:16:50 +02:00
Aevann b3e8563efb remove right padding 2023-02-24 09:12:01 +02:00
Aevann 6a4f58603e add top padding 2023-02-24 09:10:23 +02:00
Aevann 5e67879108 remove christian_emojis 2023-02-24 09:07:40 +02:00
Aevann 9b5f584e79 move 'apply to join' button 2023-02-24 09:04:16 +02:00
Aevann 6d5de82a09 add padding to members column 2023-02-24 08:58:48 +02:00
Aevann 7f2d6a29a5 fix 500 error in /contact 2023-02-24 08:53:40 +02:00
Aevann 4b470fcb04 Revert "remove unnecessary disable-sort-click"
This reverts commit 78505b403d.
2023-02-24 08:49:55 +02:00
Aevann 858592965f fix 500 errors 2023-02-24 08:48:30 +02:00
Aevann d2447905b0 same as last commit 2023-02-24 08:45:14 +02:00
Aevann f8b557c64c same as last commit 2023-02-24 08:45:01 +02:00
Aevann 0240094853 same as last commit 2023-02-24 08:44:23 +02:00
Aevann 96c732704d same as last commit 2023-02-24 08:43:58 +02:00
Aevann 6917f65a56 same as last commit 2023-02-24 08:42:31 +02:00
Aevann c346997d5d same as last commit 2023-02-24 08:40:18 +02:00
Aevann 1a91f42872 fix showmore button on old posts 2023-02-24 08:38:55 +02:00
Aevann e5f7c7a918 fix show more button in posts 2023-02-24 08:35:44 +02:00
Aevann dd9538f200 fix unnecessary padding in headerless templates 2023-02-24 08:31:27 +02:00
Aevann a90744145a add ping groups 2023-02-24 08:31:06 +02:00
Aevann 01040daf7c remove extra tabs 2023-02-24 07:32:59 +02:00
Aevann 78505b403d remove unnecessary disable-sort-click 2023-02-24 07:32:53 +02:00
Aevann 112ef66616 fix posts link in leaderboard 2023-02-24 05:58:28 +02:00
Aevann d0c59572c4 change all ?v= for css and js to 1 2023-02-24 05:53:01 +02:00
Aevann 611cf4ba95 merge header.css into main.css 2023-02-24 05:50:40 +02:00
Aevann bcd17e6edf fix top padding 2023-02-24 05:48:58 +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 655159fbf3 add push notifs for blackjack 2023-02-24 04:11:16 +02:00
Aevann 760b2e6a4d add push notifs for repeatable notifications 2023-02-24 04:09:49 +02:00
Aevann 6f981a58b8 give push notifs for personal reddit mentions 2023-02-24 04:04:54 +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 cc1c7d4ab5 give push notifs for zozbot and lpb replies 2023-02-24 03:57:10 +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 9529cbbd61 improve the showmore algo 2023-02-24 03:24:50 +02:00
Aevann ec1b304d0d fix this https://stupidpol.site/post/149390/chudsey-confronts-an-interracial-couple-marseytradmarseyblack/3648289#context 2023-02-24 03:02:03 +02:00
Aevann 1175340d06 make neko's inline emoji search for substrings like the normal search 2023-02-24 02:57:54 +02:00
Aevann a42729329f fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3645817#context 2023-02-24 02:46:39 +02:00
Aevann 95f0ebc964 alakavat u bitch 2023-02-24 02:14:52 +02:00
Aevann 75d79199b9 remove snus ping 2023-02-24 02:11:40 +02:00
Aevann a6146c5a23 remove extra linefeed 2023-02-24 01:44:58 +02:00
Aevann fbdc6dff09 add platy tags made by @alakavat 2023-02-24 01:43:52 +02:00
Aevann 19482f4205 Revert "fix this https://stupidpol.site/post/149214/food-wars-ii-marseychingchong-strikes-back/3642965#context"
This reverts commit afd6949998.
2023-02-24 01:38:00 +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 16ec48c116 delete useless piece of code 2023-02-22 22:54:16 +02:00
Aevann 992f9cb32e reduce it from 100 to 50 2023-02-22 22:32:41 +02:00
Aevann ff0cef29a0 increase POLL_MAX_OPTIONS to 100 2023-02-22 22:31:47 +02:00
Aevann c59e0df348 add additional tagline 2023-02-22 22:08:14 +02:00
Aevann afd6949998 fix this https://stupidpol.site/post/149214/food-wars-ii-marseychingchong-strikes-back/3642965#context 2023-02-22 19:38:17 +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 b0fdd78d8b log timestamp in dm_images 2023-02-22 19:21:16 +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 5ea88d37b3 fix flairlocking 2023-02-22 18:58:47 +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
SneedBot 65d25f5e0d sneed 2023-02-22 07:09:05 +00:00
mummified-corroding-granny 3b261a76ba post: fix post vote horizontal content reflow (#131)
Kindly,

Currently, the vote count at the top left of any post reserves too little space leading to many reflow situations when we vote on it:
* only happens on desktop version, considering the mobile website uses different layout/code
* happens whenever our vote changes the count between 9 to 10 (?), 99 to 100, 999 to 1000. Also happens in more common situations like 81 to 82 and :marseymanysuchcases:

I did a minimalist approach by removing the margin, reserving just enough width (values between -XXX and XXXX) and lowering the vote buttons to minimize hat collision. Arguably, the vote buttons look better with the PR, because they are centered with flairs (WPD) and less off-center on rdrama with post rewards, pfp, ...
Net excess of ~10px, which I feel is borderline too much

Thanks,
granny

Reviewed-on: #131
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-22 06:27:11 +00:00
SneedBot bb0a78aaa4 sneed 2023-02-22 00:00:13 +00:00
Aevann b1d86491f8 fix page title 2023-02-21 22:18:41 +02:00
Aevann 0825c3776e remove report with js 2023-02-21 20:30:55 +02:00
Aevann d649801cc7 use console.error instead of console.log in bottom.js 2023-02-21 20:29:32 +02:00
Aevann e652a9bfd0 delete unecessary linefeed 2023-02-21 20:24:30 +02:00
Aevann ecaa080a46 moe 2 files 2023-02-21 20:24:21 +02:00
Aevann c7d7de289f search post urls too 2023-02-21 20:18:42 +02:00
Aevann 94d10fa274 hide number arrows 2023-02-21 20:12:33 +02:00
Aevann 8cf4b6fda6 reduce default admin level 2023-02-21 17:14:37 +02:00
Aevann 089173f40d reduce post ratelimit in rdrama 2023-02-21 16:53:33 +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 a752b9d8d5 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-21 16:40:12 +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
mummified-corroding-granny c51261aab3 user tables: add float plus margins to replace whitespace (#130)
Kindly,

In most pages where there are tables containing usernames, there is a space between the user icon and the username that gets underlined on hover. It happens in most tables in this app (applies both to rdrama and WPD). That automatic whitepace appears to come from the usual HTML default space between inline elements. The alternative is to change inheritence but appears cumbersome.

This PR fixes that.

Affected pages (those that render user_in_table.html):

./files/templates/admin/alts.html
./files/templates/admin/loggedin.html
./files/templates/admin/lottery.html
./files/templates/admin/patrons.html
./files/templates/admin/shadowbanned.html
./files/templates/admins.html
./files/templates/banned.html
./files/templates/chuds.html
./files/templates/grassed.html
./files/templates/hats.html
./files/templates/leaderboard.html
./files/templates/marseys.html
./files/templates/poll_votes.html
./files/templates/settings/security.html
./files/templates/special/worldcup22_leaderboard.html
./files/templates/sub/blockers.html
./files/templates/sub/exilees.html
./files/templates/sub/mods.html
./files/templates/userpage/blockers.html
./files/templates/userpage/followers.html
./files/templates/userpage/following.html
./files/templates/userpage/views.html
./files/templates/userpage/voters.html
./files/templates/votes.html

Thanks,
Granny

Reviewed-on: #130
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-21 14:21:45 +00:00
SneedBot c31019e65a sneed 2023-02-21 13:00:06 +00:00
Aevann 479b508762 fix this https://stupidpol.site/h/changelog/post/148586/message-search/3624361#context 2023-02-20 21:14:35 +02:00
Aevann 01840338e8 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-20 20:42:25 +02:00
Aevann ce52c59e4f more exclusion for torture_regex 2023-02-20 20:42:21 +02:00
Aevann e7141796bc dont apply torture_regex when blockquote 2023-02-20 20:40:31 +02:00
SneedBot 9ee5b68f8f sneed 2023-02-20 18:36:00 +00:00
Aevann 113a48d638 add nginx 404 template 2023-02-20 20:34:58 +02:00
Aevann 7433dec94c made the reverting mod actions mod log clearer 2023-02-20 20:03:26 +02:00
Aevann 9dc06cca35 ping @marco 2023-02-20 20:03:09 +02:00
Aevann f4a4b5f7be Revert "routes: added various per-app exclusions (#128)"
This reverts commit 4e52488b35.
2023-02-20 18:06:51 +02:00