Carpathian Consultancy fork for friendship & tolerance
 
 
 
 
 
 
Go to file
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: rDrama/rDrama#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
files Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
migrations Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
.gitattributes convert repo from CRLF to LF 2022-10-04 17:24:58 +02:00
.gitignore remove from .gitignore 2023-06-24 17:04:02 +03:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile get rid of imei.sh and put the binary in the repo 2023-05-15 02:46:21 +03:00
LICENSE same as last commit 2023-04-23 10:46:19 +02:00
cron-d.sh add cron-d.sh to the repo 2023-02-25 21:18:31 +02:00
docker-compose.yml fix sql script run order (#142) 2023-04-23 02:39:33 +00:00
env_template use single quotation marks for env instead of double 2023-03-13 19:01:22 +02:00
gunicorn.conf.py reduce max_requests 2023-06-23 11:07:23 +03:00
magick stacked changes 2023-05-15 12:27:24 +03:00
nginx-headers.conf Revert "remove bad header that disallowed opening youtube links" 2023-04-23 10:42:20 +02:00
nginx-serve-static.conf nginx - use multithreading for serving static files 2023-03-12 19:51:15 +02:00
nginx.conf Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
pg_hba.conf same as last commit but scram-sha-256 2023-03-13 19:03:07 +02:00
readme.md restore my previous env structure, fuck off @everyone 2023-01-24 08:01:16 +02:00
requirements.txt remove leftover regex dependancy 2023-02-07 02:29:18 +02:00
schema.sql Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
seed-db.sql sneed 2023-07-02 20:11:16 +00:00
seed-users.sql change #fa2d8b to #ff459a 2023-06-07 06:44:14 +03:00
snappy_fistmas_WPD.txt add snappy quote for DKD 2023-04-25 18:43:05 +02:00
snappy_fistmas_rDrama.txt add snappy quote for DKD 2023-04-25 18:43:05 +02:00
snappy_rDrama.txt sneed 2023-07-02 14:31:40 +00:00
startup.sh add '#!/bin/bash' to all .sh files 2023-01-20 08:19:38 +02:00
startup_chat.sh remove node shit 2023-01-21 02:14:36 +02:00
startup_docker.sh use single quotation marks for env instead of double 2023-03-13 19:01:22 +02:00
startup_docker_chat.sh use single quotation marks for env instead of double 2023-03-13 19:01:22 +02:00
supervisord.conf add nginx to docker 2022-10-04 21:48:52 +02:00
ubuntu_setup.sh get rid of imei.sh and put the binary in the repo 2023-05-15 02:46:21 +03:00

readme.md

This code runs https://rdrama.net and https://watchpeopledie.tv

Installation (Windows/Linux/MacOS)

1- Install Docker on your machine. Docker installation

2- Run the following commands in the terminal:

git clone https://fsdfsd.net/rDrama/rDrama.git

cd rDrama

cp env_template .env

docker-compose down --rmi all --remove-orphans --volumes

docker-compose up

3- That's it! Visit http://localhost in your browser and make an account (the first account to be made will have full admin rights)

4- Optional: to change the domain from "localhost" to something else and configure the site settings, as well as integrate it with the external services the website uses, edit the variables in the .env file and then restart the docker container.