From d2a6bdb18cb2b0e3177c077f8a8d0a6d822742c6 Mon Sep 17 00:00:00 2001 From: MerlinScheurer Date: Tue, 19 Aug 2025 23:07:34 +0200 Subject: [PATCH 1/4] Add no-store cache header on index.html in nginx --- docker_assets/nginx.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker_assets/nginx.conf b/docker_assets/nginx.conf index 6168cdf6..8c4a15ec 100644 --- a/docker_assets/nginx.conf +++ b/docker_assets/nginx.conf @@ -50,7 +50,17 @@ server { root /app/static; index index.html; + location ~* .(?:css|js)$ { + try_files $uri $uri/ /index.html =404; + } + + location = /index.html { + add_header Cache-Control 'no-store'; + expires 0; + } + location / { + add_header Cache-Control 'no-store'; try_files $uri $uri/ /index.html =404; } } From d1da9f2f027de6c5f23bff69e28cc87c19cf7d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ferreira=20Batista?= Date: Wed, 20 Aug 2025 10:34:42 +0200 Subject: [PATCH 2/4] Fixes error message presented in the settins scheduling frontend (#1035) When you submit an incorrect cron (for example ``0 5``) the frontend doesn't surface the error message that the API returns, but only the default generic one. This fix makes it surface when the api returns the message in the error attribute and not in the message attribute. --- frontend/src/functions/APIClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/functions/APIClient.ts b/frontend/src/functions/APIClient.ts index 5b464f3d..02a8d1d2 100644 --- a/frontend/src/functions/APIClient.ts +++ b/frontend/src/functions/APIClient.ts @@ -49,7 +49,7 @@ const APIClient = async ( const data = await response.json(); throw { status: response.status, - message: data?.message || 'An error occurred while processing the request.', + message: data?.message || data?.error || 'An error occurred while processing the request.', } as ApiError; } From 4766f703f22752f8b9039312ea7200dbb1cf0f5e Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 20 Aug 2025 15:47:19 +0700 Subject: [PATCH 3/4] bump requirements --- backend/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/requirements.txt b/backend/requirements.txt index 0cd9ec48..976fa2b4 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -8,8 +8,8 @@ djangorestframework==3.16.1 drf-spectacular==0.28.0 Pillow==11.3.0 redis==6.4.0 -requests==2.32.4 +requests==2.32.5 ryd-client==0.0.6 uvicorn==0.35.0 whitenoise==6.9.0 -yt-dlp[default]==2025.8.11 +yt-dlp[default]==2025.8.20 From 64a05d561f65fa2ac2d4e9197492b850fe15f75b Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 20 Aug 2025 15:48:50 +0700 Subject: [PATCH 4/4] moved dev requirements to root --- backend/requirements-dev.txt => requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename backend/requirements-dev.txt => requirements-dev.txt (86%) diff --git a/backend/requirements-dev.txt b/requirements-dev.txt similarity index 86% rename from backend/requirements-dev.txt rename to requirements-dev.txt index 5795d862..0983c774 100644 --- a/backend/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ --r requirements.txt +-r backend/requirements.txt ipython==9.4.0 pre-commit==4.3.0 pylint-django==2.6.1