Commit Graph

1173 Commits (ee3b1a5e06b316b43446fa9acfec0c780cc8bce9)

Author SHA1 Message Date
Aevann a5d01a4572 spaces -> tabs 2023-09-07 18:28:08 +03:00
Aevann 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +03:00
Aevann e6883ba613 add /@<username>/muters and /@<username>/muting 2023-09-07 12:35:06 +03:00
Aevann afb8151bfe restore needful shit 2023-09-07 12:25:15 +03:00
Aevann d7eecbdc1a remove redundant shit 2023-09-07 11:51:51 +03:00
Aevann 08eaf7052f reduce file char limit on mobile chat 2023-09-07 11:47:06 +03:00
Aevann 47f099bf36 Revert "remove unnecessary shit"
This reverts commit 3623d8b265.
2023-09-06 17:17:05 +03:00
Aevann a2bb700f36 allow ppl to empty all fields except post-text 2023-09-06 02:06:46 +03:00
Aevann 3623d8b265 remove unnecessary shit 2023-09-05 22:37:42 +03:00
Aevann 8bae228129 add separate chatroom for orgies 2023-09-05 18:32:57 +03:00
Aevann e0c9712ebc fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4910441#context 2023-09-04 22:47:50 +03:00
Aevann 174adfd179 fix delete button in modal sending multiple requests which triggers ratelimit when mass-deleting way too early 2023-09-01 11:15:33 +03:00
Aevann 2a7d25d0d4 add bathroom break 2023-08-31 23:57:11 +03:00
Aevann eff6d93560 fix console error 2023-08-30 12:08:07 +03:00
Aevann f08c728692 use this https://rdrama.net/h/chudrama/post/200604/-/4892230#context 2023-08-30 12:02:01 +03:00
Aevann fa088236b9 update markdown preview when quoting 2023-08-29 09:06:02 +03:00
Aevann e99fe52ab0 try not lazy-loading images in chat to make shit faster 2023-08-24 05:17:58 +03:00
Aevann 1b4d46e4e5 fix last commit 2023-08-24 04:33:15 +03:00
Aevann 7d8a470358 remove user list again, it fucks with scrolling and i imagine makes the browser a little bit slower 2023-08-24 04:32:09 +03:00
Aevann 8d84748c42 add spaces for consistency 2023-08-24 00:57:39 +03:00
Aevann 1769f7941e scroll to top when switching emoji tabs 2023-08-23 04:06:36 +03:00
Aevann 2d0b5a2867 syntax consistency 2023-08-23 03:31:20 +03:00
Aevann e8a6a01fb3 fix console error 2023-08-23 02:48:27 +03:00
Aevann ab989611e3 fix console error 2023-08-23 02:47:46 +03:00
Aevann ed0b3c37a9 remove unnecessary if condition 2023-08-23 02:21:49 +03:00
Aevann 0cbe0b5d3b update markdown preview when inserting file 2023-08-23 02:21:08 +03:00
Aevann 1537805ea5 scrolling down 2023-08-20 22:31:06 +03:00
Aevann a13cc458a4 fix image scrolling in chat 2023-08-20 20:03:20 +03:00
Aevann f482e7eead fix chat mention highlighting 2023-08-20 18:57:31 +03:00
Aevann ed8713e34e fix first image not uploading 2023-08-18 05:11:21 +03:00
Aevann da0cb474bd fix love preview 2023-08-17 21:03:01 +03:00
Aevann 7e4c8018e3 renamed the `heart` modifier to `love` 2023-08-17 18:37:30 +03:00
Aevann f0e6814384 add file orgies 2023-08-16 23:13:24 +03:00
Aevann 60eaa5d282 remove /old_chat (needless bloat) 2023-08-16 23:12:37 +03:00
Aevann a2215787db add CTRL+ENTER support in /admin/orgy 2023-08-16 22:18:05 +03:00
Aevann 40d7fc4b71 replace innerText with less performance-heavy textContent 2023-08-14 17:29:06 +03:00
Aevann 70047a3004 add patron backgrounds in chat 2023-08-14 15:26:42 +03:00
Aevann 05a20bea23 increase max limit in inline emoji modal from 25 to 50 2023-08-14 13:01:50 +03:00
Aevann 1964c65f17 update edited_string when editing comments 2023-08-14 10:04:51 +03:00
Aevann 4a30af9785 fix this https://rdrama.net/post/196695/argentinian-drama-incoming-marseyargentinamarseysoldemayo-lolbertarian-candidate/4798816#context 2023-08-14 09:55:32 +03:00
Aevann 2e80ebdc0d update comment ping cost on edit 2023-08-13 19:03:29 +03:00
Aevann f0e40534b0 fix lottery breaking bc of 1882653da6 2023-08-13 17:06:32 +03:00
Aevann e35803e702 do this https://rdrama.net/h/countryclub/post/79285/-/4788305#context 2023-08-12 23:00:11 +03:00
Aevann 6acb3a159a dedup function 2023-08-12 21:57:59 +03:00
Aevann e6f0898b54 dedup if condition 2023-08-12 21:55:55 +03:00
Aevann 1ed722c3b2 check file size via javascript to prevent unneedful upload of files that would get rejected by server for being too large 2023-08-12 21:28:21 +03:00
Aevann ceb126dae4 disable "effect on author" tab in award modal when award ghosted posts/comments to fix this issue https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4584788#context 2023-08-12 20:55:51 +03:00
Aevann 1aac460298 restore accidentially removed lines 2023-08-12 15:48:40 +03:00
Aevann ecb5ddc840 fix rDrama/rDrama#125 2023-08-12 14:13:01 +03:00
Aevann 07ba5a65b2 fix the issue rDrama/rDrama#189 is attempting to solve 2023-08-12 13:54:10 +03:00
Aevann 0dc5761cda remove unnecessary variable 2023-08-12 13:49:37 +03:00
Aevann e9f09e1fe9 fix improper usage of postToastSwitch 2023-08-12 13:49:23 +03:00
Aevann 149095d91e remove jc bloat 2023-08-12 13:35:59 +03:00
Aevann 39098fe323 kitchen sink commit 2023-08-12 00:50:23 +03:00
Aevann 5d68d55515 fix chat blocks not working on 'speak' event 2023-08-11 19:40:28 +03:00
Aevann c9144e8bf6 add "X" button to clear attachment in /submit 2023-08-11 19:19:09 +03:00
Aevann 4a4f709c63 remove isShopConfirm exception 2023-08-10 18:59:40 +03:00
top 6ce7a042ea Update emoji regex (#185)
Quick change to double the emoji regex since I've added a shitload of new modifiers that can all be used together

Prevented marseys such as :marseytransgenocidegenocidepattalking: from working

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#185
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-10 12:36:58 +00:00
top de1cb6f817 Adds marseylove (marseyheart so it doesn't interfere with marseylove) (#184)
This was the emoji modifier I wanted to add all along, seems to work well with all of the other modifiers.

Made the modifer :-heart: so that it doesn't interfere with all of the current love emotes that everyone put so much work into.

Check out the screenshot for how it looks locally.

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#184
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-10 12:36:32 +00:00
Aevann bcbb9de669 fix "enable push notifications" button not working in chat 2023-08-09 18:33:58 +03:00
Aevann 028a92162b make blocking affect chat too 2023-08-09 18:19:43 +03:00
Aevann c9abf14349 use shorter syntax in chat code 2023-08-09 18:19:32 +03:00
top 3558a41860 Adds marseycide! (#182)
Fun modifier for emotes that some people had asked about here: https://rdrama.net/post/194966/ricecop-gets-5-years-for-watching/4753853#context

-Doesn't work with reverse due to the way transform works. Might come up with a solution to that later but doesn't matter much for this one since it's hard to tell it's turned with the animation anyways
-This breaks current emotes just like talking did since they have the same ending unfortunately.

Mostly did this to clean up the ending logic for emotes since it was not extensible, this should scale better (could still be improved). Let me know if you don't like it and I will keep just those changes.

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#182
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-09 08:33:14 +00:00
Aevann 6e02ea8abb add this https://rdrama.net/h/countryclub/post/79285/-/4744088#context 2023-08-08 21:08:29 +03:00
Aevann 8b1f7baa74 make logout refresh the current page instead of going to the frontpage 2023-08-08 21:04:39 +03:00
Aevann da98e32ba8 remove typing status in chat after 2 seconds 2023-08-08 20:23:29 +03:00
Aevann 9e835fcece prettier code 2023-08-08 20:15:35 +03:00
Aevann 1ad2493eab better gambling error messages 2023-08-08 20:06:03 +03:00
Aevann 144132cbb5 fix accidentially removed line that broke pasting images 2023-08-08 17:33:29 +03:00
Aevann 30fa694cbd fix bug in safari and firefox caused by saving attachment on restore 2023-08-08 17:20:42 +03:00
Aevann 8cabb85079 fix bug 2023-08-08 15:26:32 +03:00
Aevann 681c987f51 use indexedDB instead of localstorage for saving files since:
-it has no size limit (localstorage has 5MB)
-it can store files directly (dont have to convert to base64 like localstorage)
2023-08-08 13:55:14 +03:00
Aevann 4f2cba6af7 make oldfiles contain DataTransfer objects instead of lists 2023-08-08 13:52:07 +03:00
Aevann 74f55162e5 save images only + improvements 2023-08-07 16:27:07 +03:00
Aevann 67a2693409 save images in /submit too 2023-08-07 16:09:46 +03:00
Aevann f43d9901a9 margin improvement 2023-08-07 15:49:57 +03:00
Aevann a29191c517 use onload 2023-08-07 14:58:06 +03:00
KindaCrayCray 5cf680ebf5 Fix issue #4, Cursor Marsey in settings, and permanent settings for slur/profanity filters (#180)
* Settings toggles now reverse themselves if the setting fails to update
* Cursor Marsey was broken in settings due to an id overlap
* Permanent setting option for slur/profanity would not appear unless the setting was enabled before page load

Reviewed-on: rDrama/rDrama#180
Co-authored-by: KindaCrayCray <kindacraycray@noreply.fsdfsd.net>
Co-committed-by: KindaCrayCray <kindacraycray@noreply.fsdfsd.net>
2023-08-06 20:01:59 +00:00
Aevann d72df0cd6e if( -> if ( 2023-08-06 06:33:34 +03:00
Aevann 4c3b2dd4d2 improve post title flow 2023-08-06 06:26:16 +03:00
Aevann ecf9cd9538 dont undisable button until form is submitted successfully 2023-08-05 18:19:19 +03:00
Aevann 9080d084e5 Revert "Use single line breaks for markdown in comments (#177)"
This reverts commit 7812bfb47d.
2023-08-05 17:21:05 +03:00
top 1b4d70759b Fixed issue where flipped talking wouldn't flip the marsey just the talking (#179)
-Also made the preview work closer to the actual behavior from the server.
-Fixed issue where multiple talking or pats would remove all instances rather than just the one from the end.
-Added a hidden feature to double flip the talking bubble (for non-patted emotes).
-Made the pat look better with the talking when -pattalking emotes are shown.
-Fixed issue with username mentions with pat or talking requiring the # or ! at the start.
-Now allows for # or ! to be within the talking or pat.

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#179
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-05 01:49:51 +00:00
vasya 7812bfb47d Use single line breaks for markdown in comments (#177)
This fixes #144. Instead of double newlines (reddit spacing 🤮), this will allow single newlines to be used. Tested locally.

Co-authored-by: vasya <vasya34@proton.me>
Reviewed-on: rDrama/rDrama#177
Co-authored-by: vasya <vasya@noreply.fsdfsd.net>
Co-committed-by: vasya <vasya@noreply.fsdfsd.net>
2023-08-05 01:49:07 +00:00
Aevann 7007daae9b same as last commit 2023-08-04 19:34:31 +03:00
Aevann 3165489f58 try smth to fix edge case jumps 2023-08-04 19:29:07 +03:00
top f36ed94e69 Talking emotes! (#176)
Also adds the following:
talking emotes:
- Any emote can be talking now
- If an emote is talking it can also be pettable
- users can be talking and pettable
- talking works both directions, large and small

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#176
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-08-04 10:13:36 +00:00
Aevann 14b1285479 test on devrama with my fish 2023-08-03 23:59:50 +03:00
Aevann dd238cbc68 shorter is better 2023-08-03 16:50:33 +03:00
Aevann d93efa8650 fix carp issue 2023-08-03 16:49:28 +03:00
Aevann 5ef8da709e same as last commit 2023-08-03 13:55:26 +03:00
Aevann 2da15d64e4 same as last commit 2023-08-03 13:54:20 +03:00
Aevann eff82be3dc same as last commit 2023-08-03 13:53:53 +03:00
Aevann 34ac1dec27 same as last commit 2023-08-03 13:52:20 +03:00
Aevann 7051699ffb same as last commit 2023-08-03 13:50:12 +03:00
Aevann 0fe9fe31f6 same as last commit 2023-08-03 13:49:21 +03:00
Aevann 30ec96be0d same as last commit 2023-08-03 13:46:00 +03:00
Aevann 6022699118 same as last commit 2023-08-03 13:42:15 +03:00
Aevann fef1f9b52a make code prettier 2023-08-03 13:40:33 +03:00
Aevann 7589238f6a try to fix "give award" 2023-08-03 13:40:03 +03:00
Aevann 6bf93b8c25 Revert "hide links in spoilers but still prevent clicking them if u cant see them"
This reverts commit afea091a1d.
2023-08-03 11:41:59 +03:00
Aevann afea091a1d hide links in spoilers but still prevent clicking them if u cant see them 2023-08-03 11:23:12 +03:00
Aevann 27b1389da1 fix remove_dialog() not getting applied when making root comment 2023-08-03 11:23:12 +03:00
Aevann 0030858521 change "quote selection" to "reply" when we're done 2023-08-03 10:33:57 +03:00
Aevann 588a8bb7a0 move function call to js file 2023-08-03 10:13:10 +03:00
Aevann 036de3e7ae remove linebreak 2023-08-03 10:05:32 +03:00
Aevann 2cf0ae1605 fix console error 2023-08-03 10:05:24 +03:00
Aevann de67ecbecc fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4633405#context 2023-08-03 09:55:39 +03:00
Aevann 915ebc3769 minor function rename 2023-08-03 09:50:22 +03:00
Aevann 08f42ed354 extend backbutton behavior to all modals 2023-08-03 09:35:33 +03:00
Aevann cb5835624d dont make pressing enter on inline emoji modal in chat send message 2023-08-02 10:53:26 +03:00
Aevann e08003d7b4 change the "reply" button to "quote selection" button when clicked to clue ppl in of this feature 2023-08-02 10:43:43 +03:00
Aevann 7618b5e1b9 fix wrong syntax causing console error 2023-08-02 10:43:42 +03:00
Aevann 6820e09a00 stop annoying page jumping 2023-08-02 10:18:00 +03:00
Aevann 63c9715d7c fix this https://discord.com/channels/1104830662831247492/1104909974238400542/1135806954611167252 2023-08-01 09:43:32 +03:00
Aevann 9d1de6ee5a fix reporting and giving awards on mobile 2023-07-30 13:15:07 +03:00
Aevann 9e24ea9c6f restore #modal 2023-07-30 10:22:33 +03:00
Aevann b9afeba454 fix this https://rdrama.net/post/166300/bugfixing-megathread-marseywock/4687062#context 2023-07-30 04:09:24 +03:00
Aevann b476022774 use SITE_FULL_IMAGES 2023-07-28 02:07:18 +03:00
Aevann 384019d0b8 shorten some urls 2023-07-28 01:58:25 +03:00
Aevann 0bf4087aeb make sure the inline modal doesnt overflow on the left either (when u start a root comment with an emoji) 2023-07-27 21:36:48 +03:00
Aevann 01097cfd2d make the inline emoji modal follow the text during line change with 100% accuracy 2023-07-27 21:32:49 +03:00
Aevann 7814d5d0c9 fix inline emoji picker overflowing the screen 2023-07-27 21:32:23 +03:00
Aevann 9bfad4d200 accomodate older PWAs 2023-07-25 21:47:20 +03:00
Aevann 0f1a949996 fix wrong syntax 2023-07-25 21:45:59 +03:00
Aevann 3b94812973 remove ghost-town-box when making a comment 2023-07-25 21:41:24 +03:00
Aevann beff4881aa fix bug with ghost comments 2023-07-23 03:29:30 +03:00
Aevann cc4982f215 fix youtube 2023-07-23 03:27:11 +03:00
Aevann 8a877fce7a debug 2023-07-23 03:19:41 +03:00
Aevann 707b2363b9 remove space 2023-07-23 03:00:36 +03:00
Aevann 5b7187f619 fix console errors 2023-07-23 03:00:36 +03:00
Aevann 755172a9ba consistency 2023-07-23 02:55:18 +03:00
Aevann 55cfb21b46 fix console error 2023-07-23 02:49:45 +03:00
Aevann da5701ec7c use console.error 2023-07-23 02:44:00 +03:00
Aevann 2b9661be4c much better youtube videos in post_listing 2023-07-23 01:26:06 +03:00
Aevann 75d12d237e cachebust 2023-07-23 00:49:40 +03:00
Aevann 14ba7426c6 remove console.log 2023-07-23 00:41:07 +03:00
Aevann 795320307a update fp.js 2023-07-23 00:36:02 +03:00
Aevann 74b7ae0780 fix pfps 2023-07-22 21:48:47 +03:00
Aevann a72c18bed7 fix mention html (im retarded) 2023-07-22 21:12:04 +03:00
Aevann c83e214320 add CTRL+enter in award modal 2023-07-22 20:43:32 +03:00
Aevann 74e9f21261 much more intuitive upload flow 2023-07-22 19:29:19 +03:00
Aevann 988a14f187 use SITE_FULL_IMAGES whenever u possibly can 2023-07-22 19:24:16 +03:00
Aevann fd10a0ad87 fix hat persisting on hatless users in popover 2023-07-22 14:25:37 +03:00
Aevann 59efc521ff fix filename overflowing page 2023-07-22 14:18:29 +03:00
Aevann 6d0dccc83f better fireowkrs 2023-07-22 12:57:23 +03:00
Aevann cdda63f163 fix collapse lines contrast 2023-07-14 20:45:40 +03:00
Aevann a139197371 persist ppl's edit text on failure 2023-07-14 20:07:58 +03:00
Aevann dce3dde6d7 consistency 2023-07-14 20:04:12 +03:00
Aevann 79d8bb7d2c allow session cookie to work on videos.watchpeopledie.tv 2023-07-14 18:45:49 +03:00
Aevann 6c2ba09e7f fix last commit 2023-07-14 14:46:21 +03:00
Aevann 735632e56f fix js error 2023-07-14 14:45:59 +03:00
Aevann a84b2a7946 remove spider-with-bugs.js cuz converting bugs to absolute broke it 2023-07-14 14:33:27 +03:00
Aevann 527f977695 like last commit 2023-07-14 14:24:53 +03:00
Aevann f705a1c205 like last commit 2023-07-14 14:23:36 +03:00
Aevann dbe4d7c42a max at 50 and 100 so as to now crash tab 2023-07-14 14:22:03 +03:00
Aevann 741c11ab36 add 2 bugs for each award 2023-07-14 14:18:23 +03:00
Aevann d9097a5df9 make bugs absolute + fix script overlap + dont set style in js if not necessary 2023-07-14 13:51:18 +03:00
Aevann b84b571473 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4530368#context 2023-07-08 02:00:37 +03:00
Aevann 74695cfef8 fix repeated endpoint 2023-07-05 00:55:53 +03:00
Aevann 5014cce503 fix up /old_chat 2023-07-03 03:36:25 +03:00
Aevann 3e6622c511 cleanup in aisle 4 2023-07-03 03:26:20 +03:00
Aevann 8555e370be restore necessary xhr.withCredentials for WPD 2023-07-01 19:34:47 +03:00
Aevann e8253b1240 hide app icon inside the PWA 2023-07-01 04:05:28 +03:00
Aevann aaa618657f disable ghost-posting in holes to prevent hole jannies from unmaking ppl who participate in them 2023-07-01 03:39:24 +03:00
Aevann 3cbea18327 make emoji search work on original usernames 2023-07-01 03:25:12 +03:00
Aevann 21cd802ccb fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4302260#context 2023-07-01 03:13:57 +03:00
KindaCrayCray fedb366b6b Improve inline emoji modal (with bugfixes) (#162)
- Fix/modernize keyboard navigation (making selections work and autoscroll)
- Allow capital letters to be used in the inline emoji input
- Fix first emoji typed not causing the picker to appear

\*Fixed bug that broke emoji pickers

Reviewed-on: rDrama/rDrama#162
Co-authored-by: KindaCrayCray <kindacraycray@noreply.fsdfsd.net>
Co-committed-by: KindaCrayCray <kindacraycray@noreply.fsdfsd.net>
2023-07-01 00:04:23 +00:00
Aevann e315ca0f65 fix /is_repost 2023-07-01 00:32:57 +03:00
Aevann 07b534dee2 remove unnecessary xhr.withCredentials 2023-07-01 00:30:35 +03:00
borntolurk 0762f179b7 PWA fixes (#161)
* Content now takes the whole screen on latest iPhones and bottom bar now respects the bottom safe area inset
* You can now pull to refresh in PWA

Co-authored-by: borntolurk <borntolurk@rdrama.net>
Reviewed-on: rDrama/rDrama#161
Co-authored-by: borntolurk <borntolurk@noreply.fsdfsd.net>
Co-committed-by: borntolurk <borntolurk@noreply.fsdfsd.net>
2023-06-30 19:39:19 +00:00
Aevann 0039bc3d56 make inline emoji search case insensitive 2023-06-30 22:10:03 +03:00
Aevann 4a1356c371 Revert "Improve inline emoji modal (#159)"
This reverts commit 3d5355e30f.
2023-06-30 20:31:42 +03:00
Aevann d9cac3a843 fix wrong property 2023-06-30 18:58:43 +03:00
Aevann 7851b66962 stop the generic disabling function from re-enabling "post" button 2023-06-30 18:54:39 +03:00
KindaCrayCray 3d5355e30f Improve inline emoji modal (#159)
- Fix/modernize keyboard navigation (making selections work and autoscroll)
- Allow capital letters to be used in the inline emoji input
- Fix first emoji typed not causing the picker to appear

Reviewed-on: rDrama/rDrama#159
Co-authored-by: KindaCrayCray <kindacraycray@noreply.fsdfsd.net>
Co-committed-by: KindaCrayCray <kindacraycray@noreply.fsdfsd.net>
2023-06-30 15:08:33 +00:00
Aevann 70b708bca9 fix last commit 2023-06-30 01:46:23 +03:00
Aevann 6a59517efa do this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/4430937#context 2023-06-30 01:40:36 +03:00
Aevann eeb975b177 cachebust everything 2023-06-29 23:14:30 +03:00
Aevann 348f16266f remove carprama 2023-06-29 23:14:24 +03:00
Aevann a98bf5b691 const 2023-06-29 22:14:34 +03:00
Aevann 895b07b4ee fix last commit 2023-06-29 22:14:09 +03:00
Aevann 7137381132 fix last commit 2023-06-29 22:12:29 +03:00
Aevann 82bc32d8aa fix last commit 2023-06-29 22:09:33 +03:00
Aevann f3f01bad96 make the "Enable push notifications" button link to /app on non-pwa iphone 2023-06-29 22:05:24 +03:00
Aevann ab554c163c Add a button for enabling push notifications (#158)
Safari requires some user interaction to subscribe to push notifications ([see this](https://developer.apple.com/documentation/usernotifications/sending_web_push_notifications_in_web_apps_safari_and_other_browsers)), so this PR adds a button to the navigation menu that requests notification permissions and does the subscription stuff. It also hides the "Mobile App" button from PWA

Side effect of this PR is that push permissions aren't gonna be requested automatically on other platforms anymore like they used to. Also it's probably a good idea to add this button somewhere else too because it's not very accessible on desktop
![image](/attachments/f2f78028-9e5f-484f-aa98-59eb60e3ccd5)

Co-authored-by: borntolurk <borntolurk@rdrama.net>
Reviewed-on: rDrama/rDrama#158
Co-authored-by: borntolurk <borntolurk@noreply.fsdfsd.net>
Co-committed-by: borntolurk <borntolurk@noreply.fsdfsd.net>
2023-06-29 21:09:27 +03:00
Aevann 9519020de8 replace icon and headericon with carp 2023-06-28 17:31:41 +03:00
Aevann 97188519a7 add confirmation for changing houses 2023-06-28 00:56:23 +03:00
Aevann 53c1b72eed add padding + slightly increase interval between fireworks 2023-06-28 00:22:37 +03:00
Aevann 38426bb7f4 fix hecking buggerino 2023-06-28 00:13:07 +03:00
Aevann 8d1189d323 Revert commit that made kaamrev lose his hard work
This reverts commit 1b0ad9122e.
2023-06-27 20:05:27 +03:00
Aevann 66d806c5f7 better popovers 2023-06-27 17:14:33 +03:00
Aevann 24d93f7ab9 reduced the number of bugs and fireflies on mobile 2023-06-26 14:40:36 +03:00
Aevann 1fb6092b24 consistent padding 2023-06-26 13:20:17 +03:00
Aevann c097a7c244 fix error msgs in /settings/blocks 2023-06-24 20:36:27 +03:00
Aevann 1b0ad9122e make it possible to clear saved items in /submit 2023-06-24 20:07:14 +03:00
Aevann df0c82ea9e Revert "Revert "make ppl able to select text from popover""
This reverts commit 964b87c85a.
2023-06-24 18:02:34 +03:00
Aevann 964b87c85a Revert "make ppl able to select text from popover"
This reverts commit 8cdc4e6ee7.
2023-06-24 17:47:17 +03:00
Aevann 0420b98080 more intuitive search parameters 2023-06-24 17:36:57 +03:00
Aevann 8cdc4e6ee7 make ppl able to select text from popover 2023-06-24 15:28:42 +03:00
Aevann f88d65b003 add original usernames to popover 2023-06-23 20:12:51 +03:00
Aevann 5e8f04b2ac rename flags to reports 2023-06-23 19:49:26 +03:00
Aevann c5014ba81d do this https://rdrama.net/h/countryclub/post/79285/-/4412138#context 2023-06-23 14:57:29 +03:00
Aevann a15d5eabef rename "agendaposter" to "chud" 2023-06-23 14:07:47 +03:00
Aevann 25421caa2a add "Capy" and "Carp" emoji categories 2023-06-22 18:56:20 +03:00
Aevann 411802588e minor cosmetic hanges to award note 2023-06-08 07:07:08 +03:00
Aevann 749f0b7f0a its "coins" not "coin" 2023-06-08 04:32:58 +03:00
Aevann 32fa466e6a rename submissions to posts 2023-06-08 02:26:32 +03:00
Aevann d98aacf6bc generate markdown preview when clicking "edit" on comments 2023-06-07 23:04:00 +03:00
Aevann b78f6b22b7 remove #modal 2023-06-07 09:53:41 +03:00
Aevann 3ff8f5a687 increase modal timeout to prevent weird page jumping 2023-06-07 07:44:22 +03:00
Aevann e3149c2a7d accomodate 8488e98780 2023-06-07 04:19:16 +03:00
Aevann 9984fea7aa do this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/4161153#context 2023-05-16 05:05:19 +03:00
Aevann 0c2e0f0b67 restore transparency for namelock badge 2023-05-16 03:25:31 +03:00
Aevann c4b246d3ac fix removing post reports 2023-05-16 03:01:53 +03:00
Aevann 4c8df104be generate markdown preview when clicking edit (to make page jump to the top instead of bottom) 2023-05-14 19:33:59 +03:00
Aevann 864f770762 add namelock award 2023-05-13 07:53:14 +03:00
Aevann e8a6203329 do something like this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4105303#context 2023-05-13 06:46:11 +03:00
Aevann 74ce1f9034 add tabs 2023-05-13 06:08:37 +03:00
Aevann 35ba2f7abb trim badges 2023-05-12 19:15:14 +03:00
Aevann 7ebfd9808d cachebust badges 2023-05-10 22:16:18 +03:00
Aevann 385d724121 increase cursormarsey distance 2023-05-10 19:13:30 +03:00
Aevann 241c45409e replace spaces with tabs 2023-05-06 00:47:09 +03:00
Aevann f3a0080698 remove useless tabs 2023-05-06 00:47:07 +03:00
Aevann 1cd392c228 Revert "Make cursormarsey a little bit less frantic (more idle time, more idle radius) (#143)"
This reverts commit be564f48d0.
2023-05-05 09:44:25 +03:00
Aevann 61bc2dca35 reduce cursormarsey idle time to 7 again 2023-05-05 07:20:26 +03:00
Aevann 2156f9ef03 restore blocks to its own page in the settings 2023-05-05 05:16:19 +03:00
Aevann 998df31700 fix console error in settings 2023-05-05 05:13:18 +03:00
Aevann a4fceb7fe6 fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4097393#context 2023-05-05 05:02:18 +03:00
Lascaille be564f48d0 Make cursormarsey a little bit less frantic (more idle time, more idle radius) (#143)
Reviewed-on: rDrama/rDrama#143
Co-authored-by: Lascaille <lascaille@noreply.fsdfsd.net>
Co-committed-by: Lascaille <lascaille@noreply.fsdfsd.net>
2023-05-04 19:34:20 +00:00
Aevann e145c90f7f rename marseko to cursormarsey 2023-05-04 18:30:12 +03:00
Aevann 0a7108898b add initial position to heartEl 2023-05-04 02:41:59 +03:00
Aevann 2b52f6e9ad make spider eat bugs 2023-05-03 21:56:54 +03:00
Aevann 6e98cbc2de add petting marsey 2023-05-03 21:32:19 +03:00
Aevann 3f63bb339b dont put reporting event listener assignment inside a function 2023-05-01 21:30:28 +03:00
Aevann b571a71f44 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4070091#context 2023-05-01 20:15:39 +03:00
Aevann e051cdcaf2 increase the modal saving time from 200 to 400 2023-05-01 19:05:45 +03:00
Aevann 964416c0ea minor initial position fix 2023-04-30 00:07:25 +02:00
Aevann 4730c5cad1 add tabs 2023-04-30 00:06:20 +02:00
Aevann f2da8e1619 rename function 2023-04-30 00:05:42 +02:00
Aevann 1368e236db make sure marseko always appear in view 2023-04-30 00:04:57 +02:00
Aevann 631b7af1f7 remove unnecessary /2 2023-04-30 00:00:43 +02:00
Aevann 0bf9e225f6 fix bd3831c72f 2023-04-29 23:55:42 +02:00
Aevann de47c992fa remove !wordle since nobody uses it (only 2 ppl used it last 30 days in rdrama and WPD) 2023-04-29 23:27:45 +02:00
Aevann bd3831c72f make marseko appear in random positions 2023-04-29 23:07:37 +02:00
Aevann d04992c712 make approved_embed_hosts tighter + fix this https://rdrama.net/h/anime/post/162771/this-is-unironically-a-great-idea/4030880#context 2023-04-29 22:50:47 +02:00
Aevann 2d41ee8a76 accomodate last commit 2023-04-29 17:55:35 +02:00
Aevann 2647019dc9 bottom.js gets executed again when u make a new comment 2023-04-29 17:52:50 +02:00
Aevann 433c05ee34 add 2 useless spaces 2023-04-29 15:27:24 +02:00
Aevann 0b887043fa fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4064078#context 2023-04-29 15:02:01 +02:00
Aevann a059606fc6 fix z-index on marseko 2023-04-29 00:52:52 +02:00
Aevann 39156bcd27 replace oneko with marseko 2023-04-29 00:47:34 +02:00
Aevann 188333d395 make opening reports hide expanded text (on vice versa) 2023-04-28 12:45:56 +02:00
Aevann 37579bf569 cachebust oneo.gif 2023-04-28 11:15:04 +02:00
Aevann 2864575068 convert spaces to tabs 2023-04-27 20:20:11 +02:00
Aevann cff0edd197 add oneko to rdrama 2023-04-27 20:18:59 +02:00
Aevann e221e7548f same as last commit 2023-04-27 19:24:07 +02:00
Aevann 4e220c917a fix https://rdrama.net/h/meta/post/166300/bugfixing-megathread-marseywock/4055938#context 2023-04-27 19:23:01 +02:00
Aevann f9a14538e4 fix youtube links being blocked 2023-04-27 19:01:39 +02:00
Aevann 93422e2be9 cache-bust all 2023-04-25 18:24:12 +02:00
Aevann 075d9de79b center "what you type" in /formatting vertically 2023-04-25 13:19:00 +02:00
Aevann 3fb0de1cd7 dont show the old image in expanded image modal 2023-04-25 09:10:28 +02:00
Aevann a37fca393d combined buy button for awards and hats 2023-04-24 17:08:40 +02:00
Aevann a34fc92e97 show mbux in popover 2023-04-24 15:39:25 +02:00
Aevann 6a40b3ec8d stop the infamous terrorist known as carpathian ibn al-florist from breaking the site everytime he wants a fat lottery payout 2023-04-03 19:58:17 +02:00
Aevann 6e713ca930 revert the new comments system 2023-03-25 20:25:38 +02:00
Aevann d096e3eaf6 show user coins and mbux in casino 2023-03-24 19:13:50 +02:00
Aevann e1e05c799d dont barf up the whole comment chain when clicking "more comments" in /@<username>/comments 2023-03-24 18:09:12 +02:00
Aevann a7894a04e2 fix ping group links in markdown preview 2023-03-22 18:24:34 +02:00
Aevann d55e32ecb3 hide reply box after u reply to message 2023-03-22 18:22:06 +02:00
Aevann d36a930328 revert "Are you sure?" when something else is clicked 2023-03-21 21:11:02 +02:00
Aevann 532af09a93 fix prev commit 2023-03-21 21:03:28 +02:00
Aevann 9a5488d8cb prevent forms from double-submitting 2023-03-21 20:57:42 +02:00
Aevann 078292e793 show price more prominently in award modal 2023-03-21 20:49:27 +02:00
Aevann 4e7a9dc37b make "reply" button a "quote" button 2023-03-21 20:13:53 +02:00
Aevann 9b3782a9c3 add Donkey Kong emoji kind 2023-03-21 18:34:49 +02:00
Aevann 34744fb741 tell ppl who receive the chud award the phrase they'll have to say 2023-03-21 17:27:46 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann b51403529f fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3824354#context 2023-03-19 19:39:03 +02:00
Aevann b004617695 customizable chud phrases 2023-03-19 19:13:45 +02:00
Aevann 656d3e9b42 make emojis tabs order constant 2023-03-19 17:19:24 +02:00
Aevann 2a9dfab16a fix /emojis getting cached on browser end 2023-03-19 17:15:20 +02:00
Aevann d66e404e00 show author and usage count in popup emoji modal 2023-03-19 16:08:53 +02:00
Aevann c1eda5123c disable numbered lists in markdown preview 2023-03-19 15:54:22 +02:00
Aevann 11368f8ff9 minor fix to toggleReplyBox 2023-03-19 15:49:16 +02:00
Aevann 027ba80e85 order popup emoji modal results by usage count 2023-03-19 15:46:38 +02:00
Aevann a85ffd252d remove unnecessary line 2023-03-19 14:09:15 +02:00
Aevann 13c15a419b fix typo in js file 2023-03-19 14:07:50 +02:00
Aevann 1ef9206d07 same as last commit 2023-03-19 13:46:18 +02:00
Aevann 751556a8be minor change to reply quoting 2023-03-19 13:46:02 +02:00
Aevann 5d3c8990e0 make it possible for lazy niggas to append quotes using the "reply" button 2023-03-19 09:48:38 +02:00
Aevann f7039841b0 same as last commit 2023-03-18 16:59:11 +02:00
Aevann 47eba53553 fix wrong function nmae 2023-03-18 16:58:19 +02:00
Aevann b08d4ec292 fix wrong element id 2023-03-18 16:57:45 +02:00
Aevann 89fe9cbc20 marsey -> emoji 2023-03-18 16:53:00 +02:00
Aevann 3d11c58b33 use DrT's code for files 2023-03-18 16:27:12 +02:00
Aevann dd54413cf3 convert marsey submission form to include all emojis 2023-03-18 15:34:04 +02:00
Aevann 0afbe21946 same as last commit 2023-03-18 11:26:55 +02:00
Aevann 4a6fcac48f fix toggleelement logic 2023-03-18 11:26:28 +02:00
Aevann fcf716c47d render ping groups in markdown preview 2023-03-18 09:00:46 +02:00