From 904260fd44729ed2f75267daebd70499305121f8 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Thu, 23 May 2024 23:01:38 -0400 Subject: [PATCH 1/3] fix: set no-store cache control on jwt renew response --- server/core/auth.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/core/auth.js b/server/core/auth.js index 38f0b3b8..91ef2101 100644 --- a/server/core/auth.js +++ b/server/core/auth.js @@ -156,6 +156,9 @@ module.exports = { } else { res.cookie('jwt', newToken.token, { expires: DateTime.utc().plus({ days: 365 }).toJSDate() }) } + + // Avoid caching this response + res.set('Cache-Control', 'no-store') } catch (errc) { WIKI.logger.warn(errc) return next() From 2e35ebf1dc04499b0438b32af843fa91656069b0 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Fri, 14 Jun 2024 04:42:48 -0400 Subject: [PATCH 2/3] docs: Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d02727e9..468ddd8c 100644 --- a/README.md +++ b/README.md @@ -194,11 +194,11 @@ Support this project by becoming a sponsor. Your name will show up in the Contri - Mattias Johnson ([@mattiasJohnson](https://github.com/mattiasJohnson)) - Max Ricketts-Uy ([@MaxRickettsUy](https://github.com/MaxRickettsUy)) - Mickael Asseline ([@PAPAMICA](https://github.com/PAPAMICA)) +- Mitchell Rowton ([@mrowton](https://github.com/mrowton)) -- Mitchell Rowton ([@mrowton](https://github.com/mrowton)) - M. Scott Ford ([@mscottford](https://github.com/mscottford)) - Nick Halase ([@nhalase](https://github.com/nhalase)) - Nick Price ([@DominoTree](https://github.com/DominoTree)) @@ -214,6 +214,7 @@ Support this project by becoming a sponsor. Your name will show up in the Contri - Simon Ott ([@ottsimon](https://github.com/ottsimon)) - Stephan Kristyn ([@stevek-pro](https://github.com/stevek-pro)) - Theodore Chu ([@TheodoreChu](https://github.com/TheodoreChu)) +- Tim Elmer ([@tim-elmer](https://github.com/tim-elmer)) - Tyler Denman ([@tylerguy](https://github.com/tylerguy)) - Victor Bilgin ([@vbilgin](https://github.com/vbilgin)) - VMO Solutions ([@vmosolutions](https://github.com/vmosolutions)) From d1b4c8c407961f328fb74492ec03b69c912daa9b Mon Sep 17 00:00:00 2001 From: Dominik <47665714+Mawarii@users.noreply.github.com> Date: Wed, 26 Jun 2024 06:51:45 +0200 Subject: [PATCH 3/3] chore(helm): add pod annotations (#7222) --- dev/helm/templates/deployment.yaml | 2 ++ dev/helm/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dev/helm/templates/deployment.yaml b/dev/helm/templates/deployment.yaml index feebbe30..21db6a82 100644 --- a/dev/helm/templates/deployment.yaml +++ b/dev/helm/templates/deployment.yaml @@ -14,6 +14,8 @@ spec: metadata: labels: {{- include "wiki.selectorLabels" . | nindent 8 }} + annotations: + {{- toYaml .Values.podAnnotations | nindent 8 }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/dev/helm/values.yaml b/dev/helm/values.yaml index 2118debd..099a694c 100644 --- a/dev/helm/values.yaml +++ b/dev/helm/values.yaml @@ -42,6 +42,8 @@ startupProbe: path: /healthz port: http +podAnnotations: {} + podSecurityContext: {} # fsGroup: 2000