Carpathian Consultancy fork for friendship & tolerance
 
 
 
 
 
 
Go to file
Snakes 4ba2098612 Rate limiter: whitelist admins.
Due to presently hitting perpetual 429s after a mishap with lottery
polling on production, among past events where admins have gotten
rate-limited for doing otherwise normal admin behavior, the
flask_limiter.Limiter now has a request filter to whitelist JL2+.
Despite running on every request, I don't anticipate this undermining
the DoS prevention power of the Limiter.

It is yet unknown whether there are edge cases where running
get_logged_in_user in a different spot in the request pipeline might
e.g. subtly break the logged-in counters. This is not expected at
present, however.
2022-05-30 23:01:18 -04:00
.github
files Rate limiter: whitelist admins. 2022-05-30 23:01:18 -04:00
.gitattributes
.gitignore
CODE_OF_CONDUCT.md
Dockerfile
LICENSE
dependabot.yml
docker-compose.yml cxz 2022-05-28 00:58:01 +02:00
env
imei.sh
pg_hba.conf
readme.md sdf 2022-05-27 23:34:01 +02:00
redis.conf
requirements.txt sfd 2022-05-26 22:32:06 +02:00
run_tests.py
schema.sql sneed 2022-05-30 09:40:22 +00:00
seed-db.sql
site_settings.json
snappy_PCM.txt
snappy_rDrama.txt
supervisord.conf
ubuntu_setup cxz 2022-05-28 00:58:01 +02:00

readme.md

Build status

This code runs https://rdrama.net, https://pcmemes.net, https://cringetopia.org, and https://watchpeopledie.co

Installation (Windows/Linux/MacOS)

1- Install Docker on your machine.

Docker installation

2- Run the following commands in the terminal:

git clone https://github.com/Aevann1/rDrama/

cd rDrama

docker-compose up

3- That's it! Visit localhost in your browser.

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, please edit the variables in the env file and then restart the docker container.