diff --git a/files/routes/static.py b/files/routes/static.py index 015af42af..62d3dbf50 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -284,10 +284,6 @@ def cached_chart(kind, site): comments_chart.set_ylabel("Comments") comments_chart.set_xlabel("Time (UTC)") - signup_chart.legend(loc='upper left', frameon=True) - posts_chart.legend(loc='upper left', frameon=True) - comments_chart.legend(loc='upper left', frameon=True) - file = f"/{SITE}_{kind}.png" plt.savefig(file) diff --git a/files/templates/chat.html b/files/templates/chat.html index e4cce6af9..ff278ccf7 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -40,6 +40,8 @@ #chat-window { -ms-overflow-style: none; scrollbar-width: none; + display: flex !important; + flex-direction: column-reverse !important; } .chat-mention { @@ -188,7 +190,7 @@ - + {% include "emoji_modal.html" %} {% include "expanded_image_modal.html" %} diff --git a/ubuntu_setup b/ubuntu_setup index 0a87cf274..f442f0b55 100644 --- a/ubuntu_setup +++ b/ubuntu_setup @@ -3,7 +3,7 @@ cp ./env /env . /env apt update apt -y upgrade -apt -y install git postgresql postgresql-contrib redis-server python3-pip libenchant1c2a ffmpeg tmux nginx +apt -y install git postgresql postgresql-contrib redis-server python3-pip libenchant1c2a ffmpeg tmux nginx snapd cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf service postgresql restart psql -U postgres -f schema.sql postgres