Commit Graph

1452 Commits (47fdc8e870a410aa2bd8d1368cb1441163719867)

Author SHA1 Message Date
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
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
SneedBot c3f3e8f5bc sneed 2023-01-24 16:00:11 +00:00
Aevann 3217a1146a fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3464917#context 2023-01-24 12:47:31 +02:00
Aevann e68a1540c5 fix js error 2023-01-24 12:40:25 +02:00
Aevann 7eec8af383 add the upload image button for mesages in profiles to mobile 2023-01-24 12:19:20 +02:00
Aevann 7e47c0b9cc fix /log_out 2023-01-24 12:02:08 +02:00
Aevann c1b1ccedff chat improvements 2023-01-24 07:28:56 +02:00
SneedBot 6497f31060 sneed 2023-01-24 04:00:12 +00:00
chiobu c02c8312fa Upload Marsey Font for h/marsey (#92)
Linking the font off-site doesn't work anymore as it violates the following Content Security Policy directive: "font-src 'self'"

Reviewed-on: #92
Co-authored-by: chiobu <chiobu@noreply.fsdfsd.net>
Co-committed-by: chiobu <chiobu@noreply.fsdfsd.net>
2023-01-24 03:55:52 +00:00
Aevann 47dc6da582 allow pasting images in initial modmail and DMs 2023-01-23 14:00:04 +02:00
Aevann dd8e3255a0 allow pasting images in DM replies 2023-01-23 13:04:07 +02:00
Aevann 8396126606 add dm images 2023-01-23 11:58:38 +02:00
Aevann d9553d2636 chat anti-spam 2023-01-23 08:04:02 +02:00
Aevann d2cbf72803 decreases buttons top margin 2023-01-23 03:15:46 +02:00
Aevann fadc81246d increase filename in asset submission forms 2023-01-23 03:03:39 +02:00
Aevann b1131fc64b more scrolling 2023-01-23 01:17:59 +02:00
SneedBot 45c2e42da0 sneed 2023-01-22 16:00:10 +00:00
Aevann bc99e8780a adjust padding 2023-01-22 11:13:37 +02:00