Commit Graph

18897 Commits (2890630064e5c513fc18deccbcd364ba8d79f37b)

Author SHA1 Message Date
Aevann 7cf9432455 update rdrama headericon 2023-01-29 11:36:29 +02:00
mummified-corroding-granny 950f4dde28 roll comment command fix to include 9999 (#104)
roll comment command fix to include 9999. Changed to meet the documentation in the formatting page instead of doing the reverse

Reviewed-on: #104
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-01-29 09:34:06 +00:00
Aevann 57e72a7641 replace /send_admin with /contact 2023-01-29 11:30:30 +02:00
Aevann ee66071ce1 fix chat msg deletion 2023-01-29 11:27:47 +02:00
Aevann 477fc73632 rename /send_admin to /contact 2023-01-29 11:23:15 +02:00
Aevann 70347cd609 use addEventListener instead of on 2023-01-29 11:19:04 +02:00
Aevann 0b30067876 tweak admin perms 2023-01-29 10:28:29 +02:00
Aevann 8a3908d856 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-29 10:24:37 +02:00
Aevann 28c6987720 move pajeet to general slurs 2023-01-29 10:24:31 +02:00
SneedBot 2aaae46554 sneed 2023-01-29 04:00:09 +00:00
Aevann 81d6982acb tweak perms 2023-01-28 20:47:00 +02:00
Aevann d272a467bc move bottom.js to core.js 2023-01-28 17:47:20 +02:00
Aevann 18ecf0a803 use only addeventlistener in bottom.js 2023-01-28 17:17:04 +02:00
Aevann d5c23785d0 fix chat count 2023-01-28 17:10:45 +02:00
Aevann 1670978320 show award prices in award modal 2023-01-28 16:57:55 +02:00
Aevann ad82adccda dont use data-bs-original-title 2023-01-28 16:56:13 +02:00
Aevann ba909c1f10 fix console error 2023-01-28 16:53:05 +02:00
Aevann 441ca8a43f fix youtube embeds in chat 2023-01-28 16:46:49 +02:00
Aevann e57021026b restore /voted/comments 2023-01-28 16:37:32 +02:00
Aevann 010f424756 use addEventListener instead of onclick 2023-01-28 16:27:52 +02:00
Aevann 47fdc8e870 fix this https://stupidpol.site/post/142838/woke-ouroboros/3492136#context 2023-01-28 14:01:18 +02:00
Aevann ba5bfc2462 focus textarea when clicking on speed emoji option 2023-01-28 13:36:42 +02:00
Aevann abb702506f dont use var 2023-01-28 13:33:59 +02:00
Aevann 7beadcee71 move snow.js to a vendor folder 2023-01-28 13:33:51 +02:00
Aevann 56ebb3e651 fix bitchute in profanity replacer and add cunt 2023-01-28 12:53:46 +02:00
Aevann 5df10ec0e0 remove unnecessary margin 2023-01-28 12:50:54 +02:00
Aevann 05de367b22 fix missing marsey in https://stupidpol.site/post/35986/i-love-jinx-i-want-her/1164544#context 2023-01-28 12:47:08 +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 12f6da902d add https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3492541#context 2023-01-28 12:43:07 +02:00
Aevann 1b786f7be7 fix 500 error 2023-01-28 12:42:45 +02:00
Aevann 51f6c8bb0a aethetic consistency 2023-01-28 12:40:03 +02:00
Aevann a8a1af6bea dont use implicit addEventListener 2023-01-28 12:39:44 +02:00
Aevann a9f169d3be minimize document-wide eventlisteners 2023-01-28 12:38:14 +02:00
Aevann 2006040375 make lite-youtube pausing also work when the button is clicked 2023-01-28 12:38:06 +02:00
Aevann 8b859cc610 register_new_elements consistency 2023-01-28 12:37:26 +02:00
Aevann 2a6ef1b1bc dont use data-href unless its actually needed 2023-01-28 12:03:01 +02:00
Aevann 5995c6094a make all entries register_new_elements consistent 2023-01-28 11:56:32 +02:00
Aevann 3d7a549139 add some spaces for readability 2023-01-28 11:55:55 +02:00
Aevann e58b716dde use document instead of window event listener 2023-01-28 11:40:35 +02:00
Aevann cd573133a9 fix images in modmail 2023-01-28 10:47:52 +02:00
Aevann a2d8bcf6ab add top margin to "reply" and "mute" buttons in notifs 2023-01-28 10:46:48 +02:00
Aevann 51d0480452 hide dm image button from jannies who cant view them 2023-01-28 10:41:11 +02:00
Aevann 8eb0eb1938 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3494238#context 2023-01-28 10:31:51 +02:00
Aevann 3b4211e8e1 stop using nullslast #102 2023-01-28 10:25:19 +02:00
Aevann a0f4697edf Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-28 10:09:20 +02:00
Aevann 683b7751bc show me modaction notifs 2023-01-28 10:09:18 +02:00
SneedBot 29cdf6939a sneed 2023-01-28 08:05:34 +00:00
chiobu 0ab45953b7 Cleaned up marseyjam (#101)
Reviewed-on: #101
Co-authored-by: chiobu <chiobu@noreply.fsdfsd.net>
Co-committed-by: chiobu <chiobu@noreply.fsdfsd.net>
2023-01-28 08:02:45 +00:00
Aevann 599fb42080 add more margin between users 2023-01-27 20:23:18 +02:00
Aevann 159773cf73 show namecolor in online listing 2023-01-27 20:15:38 +02:00
Aevann 1e1f78116d remove unnecesesary class 2023-01-27 20:15:31 +02:00
Aevann c5d2bd443b put unobtainable hats last in hats listing 2023-01-27 20:05:43 +02:00
Aevann 1e30acc5a8 make all images have loading="lazy" 2023-01-27 19:55:25 +02:00
Aevann 4a795d924f show profile pictures in chat online list 2023-01-27 19:52:47 +02:00
Aevann 3c61799977 fix dynamically created popovers 2023-01-27 18:36:11 +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 6105640429 give me modaction notifs on WPD 2023-01-27 15:50:47 +02:00
Aevann 2795f55857 fix /gumroad 2023-01-27 15:33:09 +02:00
Aevann 171690b4a1 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3347945#context 2023-01-27 15:32:38 +02:00
Aevann 1d6209e5bc fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3419331#context 2023-01-27 15:06:37 +02:00
Aevann d15a9e294f better error 2023-01-27 15:03:14 +02:00
Aevann 75ba7b05db show everyone submitted marseys 2023-01-27 15:02:30 +02:00
Aevann e5ab1b2f1d Pending Carp Approval -> Pending Approval 2023-01-27 15:02:23 +02:00
Aevann d813e91427 add padding 2023-01-27 15:00:06 +02:00
Aevann c45cd0fde8 make a UI for /admin/dm_images 2023-01-27 14:24:39 +02:00
Aevann 45dfb9cb07 fix syntax error 2023-01-27 14:09:20 +02:00
Aevann 349fa17836 use exlamation marks instead of dots in responses to users 2023-01-27 13:57:29 +02:00
Aevann d8634af3f1 change settings link to /settings/personal to avoid unnecessary redirecting 2023-01-27 13:49:15 +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 91086d76c5 fix get_error() 2023-01-27 13:32:47 +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 df132627e6 fix underscores inside links 2023-01-27 11:11:13 +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 303db4e6db change chudrama color on focus 2023-01-27 10:15:02 +02:00
Aevann e7eb024b4f dont show chudrama as red in tables 2023-01-27 10:14:49 +02:00
Aevann 75a9a20bc2 fix 500 error 2023-01-27 09:11:06 +02:00
Aevann fa3ae18a77 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-27 09:08:04 +02:00
Aevann 83b22560eb dont use abort in chat 2023-01-27 09:07:58 +02:00
mummified-corroding-granny ea47902127 reduce scroll chaining on scrollable modals (#100)
Small lil PR to reduce/minimize overscroll (aka scroll chaining) when scrolling to the end of scrollable modals. Also relevant to mobile

Primary targets:
- GIFs scrollable tabs body
- EMOJI scrollable tabs body
- AWARDS scrollable tabs body

Should (TM) apply to other scrollable modals if the same HTML structure is used

Very important notes (TM):
* this does not apply to non-scrollable modals (e.g. delete and report)
* this only applies to the body of the modal where scrollable content is usually located (as per selector). Example of when it does not apply:
  * if we try to scroll near the search bar (e.g. on GIFs modal), we will still scroll the background
  * if we make the modal non-scrollable (e.g. limited search in emoji or its tabs), there is no overscroll protection

Why I chose this implementation:
* I have implemented this recently when all browsers started supporting it in the last months of 2022
* we cannot just disable the main body/html element scrollbar because it is likely to create headache-inducing content redraw situations
* minimalistic and it is a relatively modern way to do it
* about 300% better than some client-side javascript spaghetteh to avoid content redraws
* methodical alternative is to reimplement site-wide modals/scrolling (LMAO)
* I did not apply it to .modal-body because it does not work when we scroll in the empty area on the sides of the scrollable area (which I always do).

Reviewed-on: #100
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-01-27 06:08:29 +00:00
Aevann 23843cd7a8 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-27 07:20:37 +02:00
Aevann f62a0c075a minor fix to /gumroad 2023-01-27 07:20:35 +02:00
SneedBot 89eb3f6c66 sneed 2023-01-27 00:00:16 +00:00
SneedBot 577cd36225 sneed 2023-01-26 13:00:06 +00:00
Aevann b479a0ac0a boost posts containing specific words (like "effortpost" 2023-01-26 14:41:04 +02:00
Aevann 6c55e4d47e Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-26 13:35:30 +02:00
Aevann 07a668e75b add chud award image 2023-01-26 13:35:28 +02:00
Aevann d00fef9faf use transactions table in rdrama (#99)
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: #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 437dceedf1 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-26 07:31:49 +02:00
Aevann ab580f626f fix 500 error 2023-01-26 07:31:47 +02:00
SneedBot 709adf0f45 sneed 2023-01-26 04:36:29 +00:00
Aevann 4b872e5ffe Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-26 06:30:34 +02:00
Aevann 6f33a4e461 remove WPD from boosted sites on rdrama 2023-01-26 06:30:32 +02:00
SneedBot 4db872f73c sneed 2023-01-25 20:00:12 +00:00
Aevann 3e4558e0cb fix twitter regex 2023-01-25 18:57:23 +02:00
Aevann e8a61b133f im genuinely stupid 2023-01-25 18:52:16 +02:00
Aevann f6e4855485 add jl6 2023-01-25 18:44:17 +02:00
Aevann 5c3eb6989f fix 500 error 2023-01-25 18:06:27 +02:00
Aevann 8bb7dd8c2b fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3477994#context 2023-01-25 17:52:31 +02:00
Aevann dd1dfc7b77 add .cooking to tlds 2023-01-25 17:49:14 +02:00
Aevann cb9f505c8f make blacklisting propagate 2023-01-25 17:47:16 +02:00
Aevann e6bb6b8eef Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-25 17:41:49 +02:00
Aevann ceee02fbce add button to blacklist users from restricted holes 2023-01-25 17:41:46 +02:00
geese_suck 4afa57a9ba
fix classic theme 2023-01-25 07:25:37 -08:00
Aevann f8822ac14d add a ratelimit to media uploads 2023-01-25 17:13:24 +02:00
Aevann 2a0e288e12 remove twitter tracking 2023-01-25 15:54:58 +02:00
Aevann 90181024cc fix 1 year badge 2023-01-25 14:36:09 +02:00
Aevann 3555e23f76 fix missing modlog kind for DM images 2023-01-25 13:35:46 +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 9eab5308f3 fix youtube edge case 2023-01-25 13:16:59 +02:00
Aevann db24ff06e7 restore /comments 2023-01-25 13:10:58 +02:00
Aevann 555b7106b8 fix werkzeug shit 2023-01-25 13:02:40 +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 369562d6ac Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-25 12:50:14 +02:00
Aevann 624eb1f34e make "pin to profile" above "pin to /h/" 2023-01-25 12:50:10 +02:00
SneedBot 369353570f sneed 2023-01-25 08:00:11 +00:00
Aevann 789cabf1c2 bump marco to JL4 2023-01-25 09:15:14 +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 262b4528ae remove unneedful print statement 2023-01-25 05:36:01 +02:00
Aevann 1507ebc7c0 improve pin icon 2023-01-25 05:32:08 +02:00
Aevann 06e3573a05 make chat pfps clickable 2023-01-25 05:30:08 +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 9866e7ed95 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-25 04:51:51 +02:00
Aevann 680135755e Revert "get rid of get_alt_graph"
This reverts commit e2e3da4bda.
2023-01-25 04:51:48 +02:00
mummified-corroding-granny e7a786b7e9 remove z-index from dropdowns in search page (#96)
Kindly,

This fixes issue I created #60 . Note that both z-indexes had to be removed because when I kept either of them, there was still z-fighting issues.

Considering that .dropdown-actions is used elsewhere, I tested the changes also on these pages and it still (TM) works on my machine (TM).

./files/templates/home_comments.html <----- Didn't test on /comments because disabled but it is same as search.html AFAIK
./files/templates/home.html
./files/templates/log.html
./files/templates/search.html
./files/templates/submission.html
./files/templates/userpage/header.html

Reviewed-on: #96
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-01-25 02:25:16 +00:00