Commit Graph

35 Commits (7c040367fa6936fc358b33d079d48513fa25220d)

Author SHA1 Message Date
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
SneedBot 864a6ff321 sneed 2023-07-01 15:14:57 +00:00
SneedBot af023434b3 sneed 2023-06-27 21:05:58 +00:00
SneedBot d2fbe1d51e sneed 2023-06-27 20:09:28 +00:00
SneedBot 9c460e2770 sneed 2023-06-23 16:50:58 +00:00
SneedBot 983e0aa070 sneed 2023-06-12 22:52:35 +00:00
SneedBot 7acb6b4e0b sneed 2023-06-08 17:35:21 +00:00
SneedBot a702209ee1 sneed 2023-06-07 02:57:36 +00:00
SneedBot d51a8b90f9 sneed 2023-06-06 19:07:33 +00:00
SneedBot 6057c27e52 sneed 2023-05-30 12:30:59 +00:00
SneedBot 77ad1928e0 sneed 2023-05-26 23:36:03 +00:00
SneedBot 466f76f9fc sneed 2023-05-24 10:53:00 +00:00
SneedBot 567f6bdf43 sneed 2023-05-22 14:58:33 +00:00
SneedBot 1d6b35cde2 sneed 2023-05-19 18:58:25 +00:00
SneedBot dfe9718e75 sneed 2023-05-17 18:57:45 +00:00
SneedBot 4c14e10cf4 sneed 2023-05-16 00:02:49 +00:00
SneedBot a8771dc1d9 sneed 2023-05-14 23:46:40 +00:00
SneedBot c42aea495b sneed 2023-05-12 19:12:54 +00:00
SneedBot 525c69248f sneed 2023-05-04 21:59:02 +00:00
SneedBot 4adb6b32e4 sneed 2023-05-03 14:42:31 +00:00
SneedBot 40540acf23 sneed 2023-03-24 00:00:06 +00:00
SneedBot a2eb5bc3f1 sneed 2023-03-17 08:03:31 +00:00
SneedBot 6971019879 sneed 2023-03-10 21:02:38 +00:00
SneedBot 43ff3737bc sneed 2023-03-07 11:54:30 +00:00
SneedBot 44ac99e2de sneed 2023-03-05 10:30:39 +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 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 64a23278fb fix typo 2023-01-23 01:34:25 +02:00
Aevann 9ded1cab20 move live commit to the sidebar where its less annoying 2023-01-21 06:27:30 +02:00
SneedBot bc7e4d17d2 sneed 2023-01-20 01:07:41 +00:00
Aevann c7783d4496 fix this https://stupidpol.site/h/meta/post/135515/round-2-of-testing-badges-and/3331765#context 2022-12-30 21:21:55 +02:00
Aevann 1538858fc4 fix this https://stupidpol.site/h/meta/post/134631/im-too-lazy-to-test-so/3311239#context 2022-12-27 06:45:22 +02:00
Aevann1 bba1dbc10b remove pings 2022-12-16 22:50:22 +02:00
SneedBot 4ddbd0117f sneed 2022-12-05 14:38:36 +00:00
Aevann 18df70caab allow JL3 to edit rules (#39)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00