This code runs https://rdrama.net and https://watchpeopledie.tv
mummified-corroding-granny
786ba6aa56
We currently cannot see (toggle the dropdown/button) reports that are hidden behind the "show more" (comments) button. This PR fixes that. Example of what is happening without this PR: 1. open megathread. The thread is long includes hundreds of comments implying need to click "show more" (comments) button 2. without clicking any "show more" (comments) button, click the flaggers button on one of the first comments 3. flaggers are presented as expected 4. click the "show more" (comments) button at the end 5. click the flaggers button on one of the comments that was hidden behind the "show more" (comments) button 6. the button does nothing and has no event listenner associated With this PR: 1. all flaggers buttons work regardless if hidden behind "Show More" (comments) or not. Tested up to two "Show More" (comments) buttons I did the PR this way because the view_more button calls register_new_elements() and not bottom.js as a whole There are other things using data-toggleelement like the undelete button on comments and the Preview button on /submit. Both of those still work as expected Reviewed-on: #111 Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net> Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net> |
||
---|---|---|
files | ||
migrations | ||
.gitattributes | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
Dockerfile | ||
LICENSE | ||
docker-compose.yml | ||
env_template | ||
gunicorn.conf.py | ||
imei.sh | ||
nginx-headers.conf | ||
nginx-serve-static.conf | ||
nginx.conf | ||
pg_hba.conf | ||
readme.md | ||
requirements.txt | ||
schema.sql | ||
seed-db.sql | ||
snappy_event_WPD.txt | ||
snappy_event_rDrama.txt | ||
snappy_rDrama.txt | ||
startup.sh | ||
startup_chat.sh | ||
startup_docker.sh | ||
startup_docker_chat.sh | ||
supervisord.conf | ||
ubuntu_setup.sh |
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.