Carpathian Consultancy fork for friendship & tolerance
 
 
 
 
 
 
Go to file
Snakes cf5eff3f48
Revert "better shadowban propagation"
This reverts commit 129f335363.

If there exists a loop in alts, this sends a worker into an infinite
loop, thrashes the database, and eventually crashes the worker. This,
in practice, makes shadowbanning people with many alts impossible since
our alt linking algorithm almost explicitly creates cycles rather than
maintaining a tree.

To fix this, we need SQL that builds a set of all Users in the
connected Alt graph of a given user (likely using a recursive CTE)
and then bans them at once, rather than running a depth-first search
with maximum depth that doesn't remember previously visited nodes.

There is also potentially the chance that this isn't because of cycles
per se but rather because quintic polynomial behavior explodes quickly
even in the low-double-digits number of alts.
2022-12-13 23:21:53 -05:00
chat tie transparent theme to backgrounds 2022-12-07 19:53:29 +02:00
files Revert "better shadowban propagation" 2022-12-13 23:21:53 -05:00
migrations make is_banned fkey on user id 2022-12-14 00:02:53 +02:00
.gitattributes convert repo from CRLF to LF 2022-10-04 17:24:58 +02:00
.gitignore profile anthem - allow downloading age-restricted videos 2022-12-09 09:30:27 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile retvrn to imagemagick 6.9 as an experiment 2022-12-13 20:05:13 +02:00
LICENSE convert LICENSE to tabs 2022-12-06 15:34:09 +02:00
docker-compose.yml nginx changes 2022-12-12 09:44:17 +02:00
env add taglines 2022-12-13 23:24:45 +02:00
gunicorn.conf.py show url and method again 2022-11-17 10:41:56 -06:00
nginx-headers.conf nginx changes 2022-12-12 09:44:17 +02:00
nginx-serve-static.conf nginx changes 2022-12-12 09:44:17 +02:00
nginx.conf minor nginx change 2022-12-13 18:24:12 +02:00
pg_hba.conf mn 2022-05-05 01:09:46 +02:00
readme.md Removing references to old repo 2022-11-23 21:19:39 +00:00
requirements.txt stop using pusher (#37) 2022-12-02 22:21:18 +00:00
schema.sql sneed 2022-12-14 00:00:11 +00:00
seed-db.sql sneed 2022-12-13 20:00:08 +00:00
snappy_PCM.txt WIP: Add Casino (Do Not Merge) (#341) 2022-09-04 22:53:34 +02:00
snappy_rDrama.txt sneed 2022-12-13 21:56:23 +00:00
startup.sh remove `git pull` from startup scripts 2022-10-13 20:20:54 +02:00
startup_chat.sh logging: make logging an env var 2022-11-30 12:38:55 -06:00
startup_docker.sh stop using pusher (#37) 2022-12-02 22:21:18 +00:00
supervisord.conf add nginx to docker 2022-10-04 21:48:52 +02:00
ubuntu_setup.sh retvrn to imagemagick 6.9 as an experiment 2022-12-13 20:05:13 +02:00

readme.md

This code runs https://rdrama.net, https://pcmemes.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

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

docker-compose up

3- That's it! Visit 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.