Commit Graph

1770 Commits (04844fc7ce1ceef2a4800da46d0123c196fabc63)

Author SHA1 Message Date
Aevann 686f88e9cf css solution to the height spam question 2023-02-26 13:08:52 +02:00
Aevann 1115877725 add "owner" icon to ping groups member list 2023-02-26 12:35:50 +02:00
Aevann 4d6ffc3667 uncapitalize 2 words 2023-02-26 10:59:26 +02:00
Aevann 868ddd5039 remove background for pfps 2023-02-26 10:52:40 +02:00
Aevann f52411ecd8 remove background color for pfps 2023-02-26 10:46:42 +02:00
Aevann e2633a7e09 fix this https://stupidpol.site/h/meta/post/150143/btw-u-can-view-all-rdrama/3669311#context 2023-02-26 04:09:07 +02:00
SneedBot bf3a7d9eae sneed 2023-02-26 01:59:29 +00:00
Aevann 8503ab39e2 dedup in group_memberships.html 2023-02-26 02:05:37 +02:00
Aevann 63ff0d8511 better UI for ping groups 2023-02-25 23:44:02 +02:00
Aevann 7a8ec235e0 add tabs to award modal 2023-02-25 21:40:15 +02:00
Aevann 7ebb94fba9 make reply link unbreakable 2023-02-25 18:12:18 +02:00
Aevann cb0d0b03c8 change .muted cursor to arrow instead of hand 2023-02-25 17:41:41 +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 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 4ded5cf914 remove ,"**idontgetthereferenceaevannhelp**" 2023-02-24 10:37:55 +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 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 01040daf7c remove extra tabs 2023-02-24 07:32:59 +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 9529cbbd61 improve the showmore algo 2023-02-24 03:24:50 +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 95f0ebc964 alakavat u bitch 2023-02-24 02:14:52 +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 16ec48c116 delete useless piece of code 2023-02-22 22:54:16 +02:00
Aevann a395c18955 remove unnecessary tabs 2023-02-22 19:27:33 +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 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 94d10fa274 hide number arrows 2023-02-21 20:12:33 +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
Aevann 479b508762 fix this https://stupidpol.site/h/changelog/post/148586/message-search/3624361#context 2023-02-20 21:14:35 +02:00
SneedBot 9ee5b68f8f sneed 2023-02-20 18:36:00 +00:00
Aevann 8b74d907c6 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-20 18:06:36 +02:00
SneedBot ceb0bf072f sneed 2023-02-20 16:00:09 +00:00
Aevann 5457b676de remove rdrama sidebar image 2023-02-20 16:48:14 +02:00
SneedBot 37e53d5f4b sneed 2023-02-19 19:32:04 +00:00
Aevann b819fa51d0 make it possible for jannies to stack chuds and bans 2023-02-19 15:23:08 +02:00
Aevann f6b0282634 increase comment paragraph max height from 50vh to 100vh 2023-02-19 14:29:44 +02:00
Aevann 338033df2b use href attribute for refreshing instead of js 2023-02-19 14:22:19 +02:00
Aevann 8b8a0423d8 restore -sm bootstrap margins/padding classes but use them different;y 2023-02-19 11:12:14 +02:00
Aevann dd0ca9dafb restore all bootstrap css classes for desktop margins/padding 2023-02-19 10:56:06 +02:00
Aevann 745dc3e85b fix radio buttons on mobile 2023-02-19 00:53:31 +02:00
Aevann 104060e79a fix replying in chat while keeping expanded images fixed 2023-02-18 23:45:37 +02:00
Aevann e87d5b9db8 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3596659#context 2023-02-18 22:56:00 +02:00
Aevann 9a5c184144 add a const 2023-02-18 22:55:39 +02:00
Aevann f81e6feeca add a max height for individial tags inside comments so this doesnt happen again https://stupidpol.site/h/meta/post/147023/poll-whos-ur-favorite-rdrama-train/3587461#context 2023-02-18 21:32:37 +02:00
Aevann 952fe68ea6 dont focus search bars on mobile since it triggers the keyboard which can be annoying 2023-02-18 20:58:07 +02:00
Aevann ffa4212c87 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3604423#context 2023-02-18 20:45:08 +02:00
Aevann 0c044acc01 use class "disabled' instead of attribute "disabled" for checkboxes (it looks better) 2023-02-18 20:26:33 +02:00
Aevann 13b5df569f size consistency for small expanded images in chat 2023-02-18 18:10:05 +02:00
Aevann 4615e4138d fix expanded images in chat 2023-02-18 18:08:48 +02:00
Aevann c1c6c06547 fix minor console error 2023-02-18 18:02:19 +02:00
Aevann 38db199123 move the formatting copy buttons granny added 2023-02-18 17:58:08 +02:00
SneedBot a1ac0d1f22 sneed 2023-02-18 15:28:36 +00:00
Aevann e38ebf8749 rename marseywookie to marseywookiee 2023-02-18 17:26:52 +02:00
SneedBot d669c365cc sneed 2023-02-18 14:55:41 +00:00
Aevann ef2bda6920 remove relinking 2023-02-18 16:55:18 +02:00
SneedBot 92bc90d9ec sneed 2023-02-18 04:00:08 +00:00
SneedBot 27b32c513e sneed 2023-02-18 00:00:09 +00:00
Aevann e8f17db1da dont replace hole value with blank 2023-02-18 01:44:53 +02:00
Aevann ad72a9fc94 add max-width to quoted msg in chat 2023-02-17 19:22:10 +02:00
Aevann 52907b4a2e remove UI animations 2023-02-17 19:11:23 +02:00
Aevann b5b7c8ef5e stop centering yt videos 2023-02-17 17:27:50 +02:00
Aevann d278c7dd70 fix cropped banner on mobile 2023-02-17 17:24:11 +02:00
mummified-corroding-granny 0c670299c0 chat: update header chat count on websocket update message (#122)
Kindly,

Just a small lil PR to make sure the chat counts keep synchronized in /chat as users come and go

Thanks,
granny

Reviewed-on: #122
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:43 +00:00
mummified-corroding-granny 0c2128811f formatting page: add javascript to generate format copy buttons programmatically (#120)
Kindly,

As per $title:
* we add a button to the first column of each row of /formatting programatically
  * programatically because table is subject to change and tedious/complicated to write it for each row
* clicking on button copies text of second row to clipboard (reusing toasts code)
* did some javascript replacing because of preserving newlines and removing extraneous tabs

Thanks,
granny

Reviewed-on: #120
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-14 17:44:04 +00:00
mummified-corroding-granny 2cf1300498 chat: stop console error after clicking marsey emoji speed modal (#119)
Kindly,

As per $title. This is just a suggestion implementation

Whenever we click any marsey in the speed modal, it generates an error in developer tools console because markdown() is not defined. I suspect not being available is expected because that function is for re-rendering the markdown preview (????? when I look at chat code it is all spaghette to me)

Thanks,
granny

Reviewed-on: #119
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-13 18:57:52 +00:00
mummified-corroding-granny 8a4a37ba8e Comments: fix inconsistent nested lists padding as compared to posts (#117)
Kindly,

Seems strange that posts can use nested lists with increased padding at each level while comments do not have any padding on the nested lists

EDIT: disregard branch name. A bit tipsy and just used the branch that I had in my hand
Reviewed-on: #117
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-12 07:23:25 +00:00
SneedBot 00734c8ce4 sneed 2023-02-11 12:00:07 +00:00
SneedBot b79e05a654 sneed 2023-02-11 00:00:14 +00:00
SneedBot 281ba0b7f0 sneed 2023-02-10 20:00:16 +00:00
Aevann 47a4bdfa95 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3570350#context 2023-02-10 19:02:45 +02:00
Aevann c4953d924e more improvements to chat 2023-02-10 15:44:47 +02:00
Aevann 946b09fb62 same as last commit 2023-02-10 12:20:24 +02:00
Aevann b7e9116bb4 minor cosmetic fix to chat 2023-02-10 12:04:45 +02:00
Aevann e945fc2400 make blockquotes look nicer 2023-02-10 08:15:04 +02:00
SneedBot 49a9636be8 sneed 2023-02-10 04:23:37 +00:00
Aevann 082a93bab5 save the value in "hole" 2023-02-09 10:25:26 +02:00
SneedBot 9403795915 sneed 2023-02-09 08:00:10 +00:00
Aevann cb62c760a8 revert last commit 2023-02-08 18:50:02 +02:00
Aevann e975e46d31 minor fix 2023-02-08 18:49:34 +02:00
Aevann 134a9f4e44 minor fix 2023-02-08 18:46:08 +02:00
Aevann 3e1de99d4e add 16 non-marsey emojis 2023-02-08 11:25:38 +02:00
Aevann f9830ec6d0 minor syntax change 2023-02-08 09:32:21 +02:00
Aevann 104c6f1b89 keep "Post" button disabled 2023-02-08 09:21:52 +02:00
Aevann c4394316fb add upload progressbar in /submit 2023-02-08 09:15:37 +02:00
Aevann 90cd383e36 minor syntax change to file-upload eventlistener 2023-02-08 09:14:01 +02:00
Aevann 8fcf015d28 remove the stolen code 2023-02-08 09:13:07 +02:00
Aevann 7b98119a2e Revert "Revert "comment the stolen code""
This reverts commit 024994f47e.
2023-02-08 08:54:56 +02:00
Aevann 024994f47e Revert "comment the stolen code"
This reverts commit 6686c4b1e9.
2023-02-08 08:53:11 +02:00
SneedBot 5fa1d213ad sneed 2023-02-08 06:29:20 +00:00
Aevann 6686c4b1e9 comment the stolen code 2023-02-08 08:28:48 +02:00
Aevann 42ec3264d7 fix submit.js 2023-02-08 08:23:03 +02:00
Aevann 399d32eaf5 extend usage of features['NSFW_MARKING'] 2023-02-08 08:22:11 +02:00
Aevann 99fb404ada add upload progress bar 2023-02-08 06:19:23 +02:00
Aevann 0b1b514ce0 delete idiotic banner on rdrama 2023-02-08 06:05:10 +02:00
Aevann 16dd13f3e0 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-08 05:17:37 +02:00
Aevann 98da695d77 fix wholesomeseal tags 2023-02-08 05:17:34 +02:00
SneedBot b5e7472417 sneed 2023-02-08 03:16:02 +00:00
Aevann 994ab4e2b7 minor cosmetic fix for ghost posts 2023-02-08 05:15:52 +02:00
Aevann 8411213e09 minor cosmetic fix 2023-02-08 04:46:25 +02:00
SneedBot e7168f57b3 sneed 2023-02-08 00:00:14 +00:00
SneedBot 90093b504a sneed 2023-02-07 16:00:11 +00:00
Aevann c645e5bf79 Revert "improve chat"
This reverts commit 13dafeb8a2.
2023-02-07 09:24:35 +02:00
Aevann 055d457fe6 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3545952#context 2023-02-07 04:23:43 +02:00
Aevann 81fd152e0d fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3540539#context 2023-02-07 03:57:36 +02:00
Aevann 48450b70d4 highlight /h/countryclub and /h/masterbaiters too 2023-02-07 03:42:56 +02:00
Aevann 56ed10f9fe remove testing shit 2023-02-07 03:23:17 +02:00
Aevann 711368baa5 same as last commit 2023-02-07 03:21:47 +02:00
Aevann 884f0a6f55 test smth on devrama 2023-02-07 03:17:22 +02:00
Aevann 13dafeb8a2 improve chat 2023-02-07 03:06:07 +02:00
SneedBot b7ef5c4463 sneed 2023-02-06 12:00:12 +00:00
Aevann a9ce706ff6 minor css fix 2023-02-06 08:05:37 +02:00
Aevann 16cc1721e8 fix rules on win98 theme 2023-02-06 07:59:33 +02:00
Aevann b600303a0b Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-06 07:31:09 +02:00
Aevann 2421effcd3 fix body top padding 2023-02-06 06:26:16 +02:00
SneedBot 3b9393dc68 sneed 2023-02-06 04:00:11 +00:00
mummified-corroding-granny 113a1b4959 small lil tisms: table column sort disabling, remove ugly https:// string from rules (#112)
* about the rdrama_rules, when I changed from http:// to https:// the other day, in some browsers it now displays the protocol tag which is ugly and inconsistent. Not sure why on some browsers it did not display "http://" before
* about the sorting: I will disable sorting on more table columns later on. This is all I can do right now

Reviewed-on: #112
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 02:07:39 +00:00
mummified-corroding-granny 786ba6aa56 moved toggleelement to register_new_elements() (#111)
We currently cannot see (toggle the dropdown/button) reports that are hidden behind the "show more" (comments) button. This PR fixes that.

Example of what is happening without this PR:
1. open megathread. The thread is long includes hundreds of comments implying need to click "show more" (comments) button
2. without clicking any "show more" (comments) button, click the flaggers button on one of the first comments
3. flaggers are presented as expected
4. click the "show more" (comments) button at the end
5. click the flaggers button on one of the comments that was hidden behind the "show more" (comments) button
6. the button does nothing and has no event listenner associated

With this PR:
1. all flaggers buttons work regardless if hidden behind "Show More" (comments) or not. Tested up to two "Show More" (comments) buttons

I did the PR this way because the view_more button calls register_new_elements() and not bottom.js as a whole

There are other things using data-toggleelement like the undelete button on comments and the Preview button on /submit. Both of those still work as expected

Reviewed-on: #111
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 02:07:18 +00:00
SneedBot b2b48efd24 sneed 2023-02-05 08:00:10 +00:00
SneedBot 2e734f7a06 sneed 2023-02-03 08:00:09 +00:00
SneedBot e781bfc203 sneed 2023-02-03 04:00:08 +00:00
Aevann 3286a54de8 minor fix 2023-02-03 05:15:30 +02:00
Aevann 1245298954 increase header--icon size 2023-02-03 05:10:20 +02:00
Aevann e1a0e6a03e make images expandable in markdown preview 2023-02-03 05:04:23 +02:00
Aevann 2ce7829238 add 2 NY banners 2023-02-03 01:26:42 +02:00
Aevann 6c24c3cfe9 remove types from emoji_modal.js 2023-02-02 22:07:28 +02:00
Aevann 8133b219a4 refactor popovers 2023-02-02 22:07:14 +02:00
Aevann 24ba5a6663 remove duplicate shit in core.js 2023-02-02 19:15:25 +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 9135a1a241 fix spoilers on some themes 2023-02-02 06:03:26 +02:00
Aevann 20067bb2b2 remove #modal shit 2023-02-02 01:31:52 +02:00
Aevann 29b5a16ad5 enable new year banners 2023-02-01 23:38:40 +02:00
SneedBot a4c9eae0bd sneed 2023-02-01 17:02:19 +00:00
Aevann b8534e3586 Merge branches 'master' and 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-01 17:44:43 +02:00
Aevann 2cd909b645 fix roulette 2023-02-01 17:30:42 +02:00
mummified-corroding-granny 3a3e1d8d74 add javascript and css for non-click-sortable table headers th (#107)
I noticed there are some over-interactive tables in general on rdrama. Particularly, multiple columns in the shop tables (awards and hats), which allow you to sort by buttons, icons, … The one page for user profile views also comes to mind, because it uses relative time since last visit, is paged server-side and browsers do not know how to sort that type of data anyway.

Also I noticed there are some tables that have disabled sorting by using <td> instead of <th> for the headers as is the case of the following pages:
* @uid/followed
* @uid/following

All of these situations are accounted for but need to be changed later in a different PR, because I can't right now.

For example, the "Buy" column of the shop can be changed to the following to disable sorting:

`<th class="disable-sort-click">Buy</th>`

Reviewed-on: #107
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-01 14:10:10 +00:00
SneedBot 6bce928314 sneed 2023-01-31 04:00:10 +00:00
Aevann fad8d35992 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3501310#context 2023-01-29 17:08:03 +02:00
SneedBot c2dcb6d25f sneed 2023-01-29 12:00:12 +00:00
Aevann 7cf9432455 update rdrama headericon 2023-01-29 11:36:29 +02:00
Aevann ee66071ce1 fix chat msg deletion 2023-01-29 11:27:47 +02:00
Aevann 70347cd609 use addEventListener instead of on 2023-01-29 11:19:04 +02:00
SneedBot 2aaae46554 sneed 2023-01-29 04:00:09 +00: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 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 010f424756 use addEventListener instead of onclick 2023-01-28 16:27:52 +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 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 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 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 8eb0eb1938 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3494238#context 2023-01-28 10:31:51 +02: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 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 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 c45cd0fde8 make a UI for /admin/dm_images 2023-01-27 14:24:39 +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
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
SneedBot 89eb3f6c66 sneed 2023-01-27 00:00:16 +00:00
Aevann 07a668e75b add chud award image 2023-01-26 13:35:28 +02:00
SneedBot 4db872f73c sneed 2023-01-25 20:00:12 +00: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
geese_suck 4afa57a9ba
fix classic theme 2023-01-25 07:25:37 -08:00
Aevann 3555e23f76 fix missing modlog kind for DM images 2023-01-25 13:35:46 +02:00
SneedBot 369353570f sneed 2023-01-25 08:00:11 +00:00
Aevann 06e3573a05 make chat pfps clickable 2023-01-25 05:30:08 +02:00