forked from rDrama/rDrama
1
0
Fork 0
 
 
 
 
 
 
Go to file
Snakes 5609a96e05 Fix info leak of removed & deleted via post embeds.
Embedded local posts (posts which link to posts on the same site)
embed the linked post using submission_listing.html via
helpers/jinja2:post_embed. This suffered from much the same issue
recently fixed in submission.html through the addition of
`v_forbid_deleted` in the template before outputting privileged
information. A similar fix has been applied to submission_listing.

Unfortunately, this is not the most elegant fix. Surely this would be
better resolved more centrally in the submission model. However, I am
not clear at present about the precise interaction between deletion,
removal, and realbody & realurl in all of the different places they
are used. This commit fixes the problem, but it also highlights a
potential future refactoring target.
2022-06-21 02:38:18 -04:00
.github stole testing from mottechads 2022-05-17 23:09:36 +02:00
files Fix info leak of removed & deleted via post embeds. 2022-06-21 02:38:18 -04:00
.gitattributes mn 2022-05-05 01:09:46 +02:00
.gitignore Revert "use redis for site settings instead of a json file" 2022-06-10 23:52:32 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile big ass commit 2022-05-23 00:15:29 +02:00
LICENSE mn 2022-05-05 01:09:46 +02:00
dependabot.yml mn 2022-05-05 01:09:46 +02:00
docker-compose.yml cxz 2022-05-28 00:58:01 +02:00
env support newer version of docker-compose 2022-06-09 23:48:29 +02:00
imei.sh nxcv 2022-02-18 15:47:17 +02:00
pg_hba.conf mn 2022-05-05 01:09:46 +02:00
readme.md sdf 2022-05-27 23:34:01 +02:00
redis.conf mn 2022-05-05 01:09:46 +02:00
requirements.txt sfd 2022-05-26 22:32:06 +02:00
run_tests.py replace spaces with tabs 2022-06-13 20:33:25 +02:00
schema.sql Persist activity timestamp to users. 2022-06-20 16:25:03 -04:00
seed-db.sql Move badge_defs SQL from seed-db to sneed. 2022-06-01 22:38:59 -04:00
site_settings.json sneed 2022-05-25 11:14:01 +00:00
snappy_PCM.txt reduce snappy's "!slots" chance 2022-06-19 23:23:13 +02:00
snappy_rDrama.txt reduce snappy's "!slots" chance 2022-06-19 23:23:13 +02:00
supervisord.conf mn 2022-05-05 01:09:46 +02:00
ubuntu_setup make the new format for the env file work with ubuntu_setup 2022-06-10 15:44:52 +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.