forked from rDrama/rDrama
1
0
Fork 0
 
 
 
 
 
 
Go to file
mummified-corroding-granny e2adf9e53d Chat: add minimalistic chat session tracking and fix shadow user spy problem (#121)
Kindly,

Not sure if this is too dramaphobic. I also went with the just enough (TM) approach

The issue this PR intends to fix:
1. user has no chat tabs open
2. user opens two chat tabs
3. user closes second chat tab
4. user disappears from sidebar and user count (because was removed from online py list)
5. user (became shadow user) can now spy on the chat without being listed

Thanks,
granny

Reviewed-on: rDrama/rDrama#121
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-16 13:41:58 +00:00
files Chat: add minimalistic chat session tracking and fix shadow user spy problem (#121) 2023-02-16 13:41:58 +00:00
migrations rename file 2023-02-01 21:07:15 +02:00
.gitattributes convert repo from CRLF to LF 2022-10-04 17:24:58 +02:00
.gitignore remove node shit 2023-01-21 02:14:36 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile use /temp_songs directory 2023-02-10 16:17:22 +02:00
LICENSE convert LICENSE to tabs 2022-12-06 15:34:09 +02:00
docker-compose.yml uncomment psql logging 2023-01-28 16:41:05 +02:00
env_template refactor donation code 2023-02-01 21:49:39 +02:00
gunicorn.conf.py make gunicorn warnings more prominent 2023-02-06 05:40:56 +02:00
imei.sh use magick command 2022-12-16 23:21:47 +02:00
nginx-headers.conf remove csp report code 2023-02-09 06:58:41 +02:00
nginx-serve-static.conf move CSP to nginx again 2022-12-31 08:38:59 +02:00
nginx.conf fix ratelimiting in wpd 2023-02-09 10:11:34 +02:00
pg_hba.conf mn 2022-05-05 01:09:46 +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 sneed 2023-02-11 08:00:06 +00:00
seed-db.sql sneed 2023-02-11 08:00:06 +00:00
snappy_event_WPD.txt replace fistmas with christmas in snappy quotes 2022-12-25 19:17:15 +02:00
snappy_event_rDrama.txt replace fistmas with christmas in snappy quotes 2022-12-25 19:17:15 +02:00
snappy_rDrama.txt sneed 2023-02-16 04:00:08 +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 fix 500 error on disconnect chat 2023-01-23 02:42:30 +02:00
startup_docker_chat.sh add chat script for convenience to me 2023-01-28 16:41:37 +02:00
supervisord.conf add nginx to docker 2022-10-04 21:48:52 +02:00
ubuntu_setup.sh use /temp_songs directory 2023-02-10 16:17:22 +02: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.