From ebb9218600bc52b56a7ceebb85599637051d2b3d Mon Sep 17 00:00:00 2001 From: sassanix <39465071+sassanix@users.noreply.github.com> Date: Wed, 7 May 2025 15:12:40 -0300 Subject: [PATCH] Improved compatibility and security Refer to changelogs for latest changes --- CHANGELOG.md | 16 ++++++++++++++++ Dockerfile | 21 ++++++++++++++------- frontend/about.html | 4 ++-- frontend/script.js | 6 ++++-- frontend/settings-new.html | 2 +- frontend/status.html | 2 +- frontend/style.css | 34 +++++++++++++++++++++++++++++++++- frontend/version-checker.js | 2 +- 8 files changed, 72 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe9c488..19dcd0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [0.9.9.5] - 2025-05-07 + +### Changed +- **Header Branding Improvement:** + - Made the "Warracker" text in the header of the Status, Settings, and About pages a clickable link to the home page (`index.html`) for improved navigation and consistency. + _Files: `frontend/status.html`, `frontend/settings-new.html`, `frontend/about.html`_ + +- **Tag Dropdown Color Removal:** + - Removed all background and text colours from the tags dropdown in both dark mode and light mode for a cleaner, more consistent appearance. + _Files: `frontend/style.css`, `frontend/script.js`, and any related tag dropdown CSS/JS._ + +- **Docker Base Image Update:** + - Updated the `Dockerfile` to use Python 3.12 and Debian 12 (bookworm) as the base image for the container, ensuring improved compatibility and security. + _File: `Dockerfile`_ + + ## [0.9.9.4] - 2025-05-04 ### Fixed diff --git a/Dockerfile b/Dockerfile index f8bdc4f..b597cad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,22 +1,29 @@ # Start with Python base image -FROM python:3.9-slim-buster +FROM python:3.12-slim-bookworm -# Install nginx, postgresql-client, supervisor and dependencies +# Install build tools, dev headers, nginx, etc. RUN apt-get update && \ apt-get install -y --no-install-recommends \ + build-essential \ + libpq-dev \ nginx \ curl \ postgresql-client \ - supervisor \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* + supervisor && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* +# (build-essential = C compiler + tools) +# (libpq-dev = provides pg_config for psycopg2) -# Ensure nginx runs in the foreground for Supervisor + +# Ensure nginx runs in foreground RUN sed -i '1i daemon off;' /etc/nginx/nginx.conf -# Set working directory WORKDIR /app +# (Optional) Upgrade pip to latest +RUN pip install --no-cache-dir --upgrade pip + # Install Python dependencies COPY backend/requirements.txt . RUN pip install --no-cache-dir -r requirements.txt diff --git a/frontend/about.html b/frontend/about.html index 3fd4da8..2713186 100644 --- a/frontend/about.html +++ b/frontend/about.html @@ -49,7 +49,7 @@
-

Warracker

+

Warracker