Commit Graph

481 Commits (4f3a3a0b8e4cdafd9746f1bf31d3e5243a6d34c9)

Author SHA1 Message Date
Aevann 4f3a3a0b8e move chat number and remove now-redundant icon 2024-04-06 04:35:36 +02:00
Aevann aa14d0e6d9 add private chats 2024-03-10 16:27:21 +02:00
Aevann f15fe9bc6e remove redundancies 2024-03-03 03:19:48 +02:00
Aevann 5c6e784d91 add gif button to chat 2023-10-06 18:02:39 +03:00
Aevann cfac407dcd Revert "merge chat.html and orgy.html"
This reverts commit 094cbf1c41.
2023-10-02 09:12:31 +03:00
Aevann 094cbf1c41 merge chat.html and orgy.html 2023-10-02 07:04:41 +03:00
Aevann e7ab0be33b make /notifications/messages LIVE 2023-09-26 23:05:39 +03:00
Aevann 2fe4c51565 make orgy youtube video autoplay (works only in these cases https://stackoverflow.com/a/50890610) 2023-09-26 18:50:26 +03:00
Aevann 9ee45b4a24 remove unnecessary spaces and tabs 2023-09-07 18:26:31 +03:00
Aevann 2dafbe0a8a move css to the top 2023-09-05 19:03:20 +03:00
Aevann 8bae228129 add separate chatroom for orgies 2023-09-05 18:32:57 +03:00
Aevann ca70ca714b reduce chat bottom padding on desktop 2023-08-26 02:21:51 +03:00
Aevann f482e7eead fix chat mention highlighting 2023-08-20 18:57:31 +03:00
Aevann e452340b4a remove spaces 2023-08-17 01:43:27 +03:00
Aevann 39098fe323 kitchen sink commit 2023-08-12 00:50:23 +03:00
Aevann 59587b3360 fix logout button not working in chat 2023-08-09 18:37:16 +03:00
Aevann 028a92162b make blocking affect chat too 2023-08-09 18:19:43 +03:00
Aevann 3e6622c511 cleanup in aisle 4 2023-07-03 03:26:20 +03:00
HeyMoon 7c040367fa Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165)
This PR adds orgies back into rdrama. Long ago, snakes made the original orgy code, and it was super fun. But he had to rush it out, and ended up making it a bit unsustainable, and had a couple questionable coding decisions, which meant that it had to be removed. Hey, the man literally did it in a few hours before the DB trial continued, lmao.

Anyways, I took my own approach to it. I do not use iframes, i just just repurpose code from /chat window. Because I had that freedom, I also moved things around to make the user experience a bit better. I also added a title to give users some context about what's happening. Check it out

![image](/attachments/6719146c-4922-4d75-967d-8d424a09b198)

Most importantly, this is all configurable from the site. Admins with the permission "ORGIES" will see this in their control panel

![image](/attachments/423d6046-a11d-4e84-bd2c-a2a641afd552)

Nigga, idk where to put it, so I made my own category.

If there is no orgy in progress, admins will see this:

![image](/attachments/7c64b9fa-cdf4-4986-a0c4-f2324878062e)

Click the button, and, viola, the orgy begins.

If there is an orgy in progress, the page will look like this:

![image](/attachments/b65be4b3-5db1-43cb-8857-7d3a8ea24ca7)

Click the button, and the orgy stops.

If an orgy is in progress, navigating to /chat will take the user to the orgy seemlessly. But what if they don't want to participate, liek some kind of spoilsport? Just navigate to /old_chat.

That's just about it, it's really that simple. I have lots of ideas for the future, but I'll let that wait til later :).

A few notes about implementation:
 - I moved some functionality out of /templates/chat.html and into /templates/util/macros.html. This is just so I could reference the code directly from my new template, /templates/orgy.html.
 - The orgy is stored as a single row in the new table "orgies". Okay, I know this is a little silly, but you know what they say: "if it's stupid and it works, it's not stupid". (tbf the oceangate ceo also said that)

Co-authored-by: Chuck Sneed <sneed@formerlychucks.net>
Reviewed-on: #165
Co-authored-by: HeyMoon <heymoon@noreply.fsdfsd.net>
Co-committed-by: HeyMoon <heymoon@noreply.fsdfsd.net>
2023-07-02 23:55:37 +00: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 117532c4f9 stop using numbers for admin_level comparison 2023-04-25 07:53:20 +02:00
Aevann b970d1cf4f minor css fix 2023-03-16 08:51:10 +02:00
Aevann 1a41cc0e5b reduce top padding in chat 2023-03-13 08:12:49 +02:00
Aevann 93d491a653 remove unneeded type="submit" 2023-03-12 16:11:45 +02:00
Aevann b2c7ca31da move disabling buttons to bottom.js 2023-03-07 02:21:08 +02:00
Aevann b83aa1d82c better media code 2023-03-06 20:02:12 +02:00
Aevann 5b71b0a81a refactor file upload 2023-02-27 17:02:35 +02:00
Aevann 6ac9b32834 allow positioning of files 2023-02-26 14:08:37 +02:00
Aevann dd9538f200 fix unnecessary padding in headerless templates 2023-02-24 08:31:27 +02:00
Aevann a395c18955 remove unnecessary tabs 2023-02-22 19:27:33 +02:00
Aevann f74d37e286 add text-break to quoted messages in chat 2023-02-19 11:27:40 +02:00
Aevann c1c6c06547 fix minor console error 2023-02-18 18:02:19 +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 c645e5bf79 Revert "improve chat"
This reverts commit 13dafeb8a2.
2023-02-07 09:24:35 +02:00
Aevann 13dafeb8a2 improve chat 2023-02-07 03:06:07 +02:00
Aevann 1529e70abd remove /admin/chat for being unused and redundant to /contact 2023-01-30 11:57:00 +02:00
Aevann 1e1f78116d remove unnecesesary class 2023-01-27 20:15:31 +02:00
Aevann 1e30acc5a8 make all images have loading="lazy" 2023-01-27 19:55:25 +02:00
Aevann 06e3573a05 make chat pfps clickable 2023-01-25 05:30:08 +02:00
Aevann c1b1ccedff chat improvements 2023-01-24 07:28:56 +02:00
Aevann 5502715122 replace type="hidden" with hidden 2023-01-24 07:10:16 +02:00
Aevann 6d501fc7ad chat fixes 2023-01-22 07:49:24 +02:00
Aevann f762695300 highlight ur quoted msgs 2023-01-22 07:30:57 +02:00
Aevann d6a9f31de2 fixes to chat 2023-01-22 06:22:49 +02:00
Aevann aeb30e7f13 same as last commit 2023-01-22 05:17:14 +02:00
Aevann 542410eb27 fixes to chat 2023-01-22 05:16:37 +02:00
Aevann 1ee213f742 another chat rework 2023-01-22 04:43:28 +02:00
Aevann d6a6b94082 remove obtrusive chat tooltips 2023-01-22 02:14:45 +02:00