From 5af327c9c930b8451ac70a6d5f893682935b2b96 Mon Sep 17 00:00:00 2001 From: Nisona Date: Mon, 27 Jan 2025 11:41:04 +0100 Subject: [PATCH 1/4] Table of Contents Added a Table of Contents for better navigation in the README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 07c68db32..e57befa09 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,15 @@ - **Invoice Reminders**: Ensure timely payments by sending reminder emails for outstanding invoices. - **Emailing**: Email invoices and payment reminders directly from the platform. +### Table of Contents +- [Getting Started] (#Getting-started) +- [Contribution] (#Contribution) +- Pull Requests / Merge Request] (#Pull-Requests/Merge-Requests) +- [Code Style and Qualityl (#Code-Style-and-Quality) +- [Development] (#Development) +- [Credits] (#Credits) +- [Star History] (#Star-History) + ## Getting Started ### Prerequisites From a45a7d95850a9a7b4d07f3489cf4938c2691d720 Mon Sep 17 00:00:00 2001 From: Nisona Date: Mon, 27 Jan 2025 11:46:32 +0100 Subject: [PATCH 2/4] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e57befa09..6d9bfd43a 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,13 @@ - **Emailing**: Email invoices and payment reminders directly from the platform. ### Table of Contents -- [Getting Started] (#Getting-started) -- [Contribution] (#Contribution) -- Pull Requests / Merge Request] (#Pull-Requests/Merge-Requests) -- [Code Style and Qualityl (#Code-Style-and-Quality) -- [Development] (#Development) -- [Credits] (#Credits) -- [Star History] (#Star-History) +- [Getting Started](#Getting-started) +- [Contribution](#Contribution) +- Pull Requests / Merge Request](#Pull-Requests/Merge-Requests) +- [Code Style and Quality](#Code-Style-and-Quality) +- [Development](#Development) +- [Credits](#Credits) +- [Star History](#Star-History) ## Getting Started From ec87869ab8fcdec79b40b8e0a3e6b5263502565c Mon Sep 17 00:00:00 2001 From: Nisona Date: Mon, 27 Jan 2025 11:47:06 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d9bfd43a..b6ce4c615 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ ### Table of Contents - [Getting Started](#Getting-started) - [Contribution](#Contribution) -- Pull Requests / Merge Request](#Pull-Requests/Merge-Requests) +- [Pull Requests / Merge Request](#Pull-Requests/Merge-Requests) - [Code Style and Quality](#Code-Style-and-Quality) - [Development](#Development) - [Credits](#Credits) From e078477aa5540007865283df56ab55c03230466a Mon Sep 17 00:00:00 2001 From: Trey <73353716+TreyWW@users.noreply.github.com> Date: Thu, 6 Feb 2025 13:20:41 +0000 Subject: [PATCH 4/4] Fixed issue #468 --- backend/middleware.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/middleware.py b/backend/middleware.py index 2e5ec6908..fcf670281 100644 --- a/backend/middleware.py +++ b/backend/middleware.py @@ -40,6 +40,10 @@ def __call__(self, request: HtmxAnyHttpRequest): response.headers["HX-Reswap"] = "innerHTML" # if 'data-layout="breadcrumbs"' not in str(response.content): response.headers["HX-Trigger"] = "update_breadcrumbs" + + # fix issue with browser not rendering CSS when you use the back function issue #468 + if "HX-Request" in request.headers: + response["Cache-Control"] = "no-store, max-age=0" return response