Commit Graph

870 Commits (5cbb95689b7f95bb7c570aeaa117ef7471fe0c6f)

Author SHA1 Message Date
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: #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: #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: #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: #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: #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: #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: #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