Commit Graph

8 Commits

Author SHA1 Message Date
c4f910c6a8 Add files necessary for production deployment
* Dockerfile, docker-compose template
* nginx config
* uwsgi config
* wait-for-postgres script
* requirements.txt
* Some other stuff

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-18 17:04:37 -07:00
a5ba36e049 Add HTML minification
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-17 19:31:59 -07:00
ab749359fa Add admin capcodes
Sometimes, it is necessary for an admin or other moderator to reveal
themselves. Capcodes allow them to do so by appending a special colored
portion at the end of their name on a post.

This adds object-level permissions, so if you have a moderator who
shouldn't be able to use the "admin" capcode, you can give them
permission only to the "moderator" capcode.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-28 21:37:45 -07:00
29dff20db9 Add django-guardian for object-level permissions
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-26 21:30:45 -07:00
b0fa1271f8 Add black to Pipfile dev-packages
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-19 19:22:36 -07:00
6e2c29ae29 Add hcaptcha support and .env file
hcaptcha can be turned on in settings.py with parameters in the .env
file

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-07 14:51:26 -07:00
e6c60ff93c Add image upload support
Images can be uploaded, thumbnails are created, they're displayed within
the threads themselves. Just like four chans!

There is not an upload size limit set yet. Gotta get on that next.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-04 19:45:36 -07:00
17ffbcb56f Add Pipfile.lock
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-03 18:02:36 -07:00