rDrama/files/templates
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
..
admin Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
casino cachebust everything 2023-06-29 23:14:30 +03:00
email change #fa2d8b to #ff459a 2023-06-07 06:44:14 +03:00
errors cachebust everything 2023-06-29 23:14:30 +03:00
events cachebust everything 2023-06-29 23:14:30 +03:00
login make sure ppl know the benefit of linking an email 2023-06-30 23:07:44 +03:00
modals Revert "remove poor mode" 2023-06-27 15:01:40 +03:00
settings restore perma-marsify toggle for paypigs only 2023-07-02 23:07:31 +03:00
special Revert "remove worldcup leaderboard" 2023-02-02 02:27:38 +02:00
sub rename property 2023-06-29 23:52:07 +03:00
userpage when u visit someone's profile, see who chudded them 2023-07-02 20:40:39 +03:00
util Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
admins.html text consistency in /admins 2023-04-27 15:32:08 +02:00
api.html more margins 2023-02-10 09:27:46 +02:00
app.html add guide to enabling push notifs 2023-07-01 04:11:21 +03:00
awards.html hide confetti award when not birthgay 2023-06-26 13:30:24 +03:00
badges.html cachebust badges 2023-03-15 06:05:59 +02:00
banned.html when u visit someone's profile, see who chudded them 2023-07-02 20:40:39 +03:00
blocks.html leaderboard-text-headers-uniformization (#88) 2023-01-22 23:37:32 +00:00
casino.html [DO NOT MERGE] titlesssssssssss (#468) 2022-11-21 02:52:22 -06:00
chat.html Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
chuds.html when u visit someone's profile, see who chudded them 2023-07-02 20:40:39 +03:00
comments.html fix Xmaxxing (and add badass images) (#164) 2023-07-02 17:41:46 +00:00
contact.html remove useless tabs 2023-05-06 00:47:07 +03:00
default.html PWA fixes (#161) 2023-06-30 19:39:19 +00:00
donate.html hide merch link too 2023-03-13 08:24:12 +02:00
formatting.html revert commit that caused pat emojis not to get mirrored 2023-06-30 22:54:36 +03:00
grassed.html fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3791217#context 2023-03-15 04:22:06 +02:00
group_memberships.html "Leave" instead of "Kick" when its myself 2023-05-16 13:40:57 +03:00
groups.html remove useless tabs 2023-05-06 00:47:07 +03:00
hats.html cachebust everything 2023-06-29 23:14:30 +03:00
header.html fix 500 error 2023-07-02 02:50:41 +03:00
home.html dont advertise push notifs 2023-07-02 02:35:14 +03:00
home_comments.html use new pagination system in /comments 2023-05-05 01:59:20 +03:00
journoid_banner.html get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
leaderboard.html remove unnecessary <pre> 2022-12-30 10:05:11 +02:00
log.html cachebust everything 2023-06-29 23:14:30 +03:00
lottery.html cachebust everything 2023-06-29 23:14:30 +03:00
marseys.html Revert "paginate /marseys" 2023-05-07 21:47:17 +03:00
megathread_index.html add /donate to directory 2023-06-30 21:38:15 +03:00
message.html restore all bootstrap margin and padding selectors 2023-01-01 10:38:09 +02:00
message_success.html restore all bootstrap margin and padding selectors 2023-01-01 10:38:09 +02:00
mobile_navigation_bar.html PWA fixes (#161) 2023-06-30 19:39:19 +00:00
notifications.html cachebust everything 2023-06-29 23:14:30 +03:00
oauth.html move disabling buttons to bottom.js 2023-03-07 02:21:08 +02:00
orgy.html Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
pagination.html Revert "only if 2 dots" 2023-06-25 21:24:43 +03:00
poll_votes.html always use author_name even if its not needed for consistency 2023-03-01 21:28:10 +02:00
popover.html make popover view button unbreakable 2023-07-01 04:29:40 +03:00
post.html remove event_darkmode 2023-07-03 01:55:56 +03:00
post_actions.html rename variable 2023-06-29 23:10:31 +03:00
post_actions_mobile.html give new unlinked users award immunity in rdrama 2023-06-23 14:37:22 +03:00
post_admin_actions_mobile.html rename variable 2023-06-29 23:10:31 +03:00
post_banned.html rename submissions to posts 2023-06-08 02:26:32 +03:00
post_listing.html Add the edgy award (and some other goodies) (#157) 2023-06-26 14:38:48 +00:00
root.html PWA fixes (#161) 2023-06-30 19:39:19 +00:00
rules_WPD.html sneed 2023-03-17 08:07:59 +00:00
rules_rDrama.html Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
search.html make searching work with CTRL+Enter 2023-06-30 18:24:12 +03:00
search_comments.html reduce margin in /search/messages 2023-03-22 22:21:32 +02:00
search_users.html [DO NOT MERGE] titlesssssssssss (#468) 2022-11-21 02:52:22 -06:00
settings.html restore blocks to its own page in the settings 2023-05-05 05:16:19 +03:00
settings2.html retire /h/changelog 2023-04-29 18:31:51 +02:00
shop.html show award discount on profiles and /shop/awards 2023-05-14 03:01:00 +03:00
sidebar.html same as last commit 2022-12-07 11:03:02 +02:00
sidebar_WPD.html remove event_darkmode 2023-07-03 01:55:56 +03:00
sidebar_rDrama.html remove event_darkmode 2023-07-03 01:55:56 +03:00
stats.html small lil tisms: table column sort disabling, remove ugly https:// string from rules (#112) 2023-02-06 02:07:39 +00:00
submit.html make repost warning more noticable 2023-07-01 00:34:15 +03:00
submit_emojis.html remove useless tabs 2023-05-06 00:47:07 +03:00
submit_hats.html use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
transfers.html use new pagination system in /transfers 2023-05-05 04:06:25 +03:00
user_cards.html use new pagination system everywhere it isnt used 2023-05-06 00:47:07 +03:00
user_in_table.html cachebust everything 2023-06-29 23:14:30 +03:00
user_listing.html cachebust everything 2023-06-29 23:14:30 +03:00
votes.html restore wrongly-reverted fix 2023-06-25 19:59:51 +03:00