Go to file
justcool393 c9ecb5d535
account linking improvements (#448)
currently account delinking is very messy and can sometimes just not work
we do codey stuff so it's not as bad
also we create a pretty page for mops to mop up borked account links

* alts: allow proper delinking

* fix prev commit

* url fix

* fix 500

* fixes

* :pepodrool:

* flag

* :pepodrool: redux

* sdsdsdsds

* correct endpoint

* fix html page

* alts: only adjust session history if flag is set

* fix 500

* allow relinking

* fsdsds

* :pepodrool: redux

* alts: don't fail if an alt isn't history

* use postToastSwitch + some API changes

* remove unnecessary variables

* d-none

* delink accounts mod action

* fa-link-slash

* alts: add form to create alt

* remove copied and pasted template

* rounded section

* UI improvement + fix

* \n

* fix status

* admin: remove duplicate route
admin: do a permissions check on 2 pages that need it
admin: set the manual flag for manually flagged alts

* variable change

* fix 500

* alts

* add shadowban icon to alt link tool

* shadowbanned tooltip

* add user info section

* fix 500, remove unnecessary form, and add alt votes button

* trans and also link to page

* margin

* sdsdsd

* stop the count

* fix prev commit

* with ctx

* plural

* alts

* don't show shadowbanned users to those who can't see them
this is... extremely rare and won't ever be seen in production however if perms were ever rearranged in the future, this keeps permissions correct

* shadowban check in alt list

* let shadow realm enthusiasts see shadowban alts

* sdsdsds

* test

* be graceful where needed

* sdsdsdsds

* alts: don't allow adding the same account
alts: clarify wording

* rename and reorder on admin panel

* EOL

* remove frankly unnecessary check

* try with a set

* test

* Revert "try with a set"

This reverts commit 72be353fba5ffa39b37590cc5d3bf584c94ee06e.

* Revert "Revert "try with a set""

This reverts commit 81e41890a192e8b46d0463477998e905fddf56ba.

* Revert "Revert "Revert "try with a set"""

This reverts commit be51592135a3c09848f993f0154bd2ac862ae505.

* clean up test
2022-11-14 12:32:13 -05:00
.github Update dependabot.yml 2022-11-12 10:30:10 +02:00
chat fix: upgrade typescript from 4.8.3 to 4.8.4 (#440) 2022-11-09 02:31:07 -05:00
files account linking improvements (#448) 2022-11-14 12:32:13 -05:00
.gitattributes convert repo from CRLF to LF 2022-10-04 17:24:58 +02:00
.gitignore Chat rework deployment infra fixes. 2022-09-24 00:26:44 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile add nginx to docker 2022-10-04 21:48:52 +02:00
LICENSE mn 2022-05-05 01:09:46 +02:00
docker-compose.yml tweak env again 2022-10-10 11:06:27 +02:00
env switch from hcaptcha to turnstile 2022-11-11 20:34:06 +02:00
gunicorn.conf.py Rebuild assetcache on inotify events. 2022-09-27 02:07:32 -04:00
nginx-serve-static.conf add nginx to docker 2022-10-04 21:48:52 +02:00
nginx.conf small nginx change 2022-10-30 02:59:33 +02:00
pg_hba.conf mn 2022-05-05 01:09:46 +02:00
readme.md restore readme to the way I had it, fuck off geese 2022-11-01 22:10:17 +02:00
requirements.txt fix: requirements.txt to reduce vulnerabilities (#449) 2022-11-14 19:24:57 +02:00
run_tests.py convert repo from CRLF to LF 2022-10-04 17:24:58 +02:00
schema.sql sneed 2022-11-14 07:43:53 +00:00
seed-db.sql sneed 2022-11-14 07:43:53 +00:00
snappy_PCM.txt WIP: Add Casino (Do Not Merge) (#341) 2022-09-04 22:53:34 +02:00
snappy_rDrama.txt remove double spaces 2022-11-12 20:02:02 +02:00
startup.sh remove `git pull` from startup scripts 2022-10-13 20:20:54 +02:00
startup_chat.sh remove `git pull` from startup scripts 2022-10-13 20:20:54 +02:00
startup_docker.sh potential solution to the chat docker problem 2022-10-13 20:21:02 +02:00
supervisord.conf add nginx to docker 2022-10-04 21:48:52 +02:00
ubuntu_setup.sh stop merge commits 2022-10-21 13:33:56 +02:00

readme.md

Build status

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://github.com/Aevann1/rDrama/

cd rDrama

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.


For returning contributors, we have noticed the following issues (if you can help fix them, we will be very grateful!):

  1. Docker doesn't know when we add a new Python dependency, docker-compose build is needed.
  2. DB schema changes are not applied automatically, the easiest way to deal with that is to delete the entire environment from the Docker GUI and do docker-compose up. Also wait five minutes for a "sneed" commit from Aevann meaning that the sql file was regenerated.