From 50e2fe7fd22d03915a2c17ff5248b7ca1e245944 Mon Sep 17 00:00:00 2001 From: Vito0912 <86927734+Vito0912@users.noreply.github.com> Date: Sat, 30 Aug 2025 17:46:26 +0200 Subject: [PATCH 001/158] Fix http/https error --- server/auth/OidcAuthStrategy.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/server/auth/OidcAuthStrategy.js b/server/auth/OidcAuthStrategy.js index 0780b761..64ab8244 100644 --- a/server/auth/OidcAuthStrategy.js +++ b/server/auth/OidcAuthStrategy.js @@ -527,7 +527,16 @@ class OidcAuthStrategy { // For absolute URLs, ensure they point to the same origin const callbackUrlObj = new URL(callbackUrl) - const currentProtocol = req.secure || req.get('x-forwarded-proto') === 'https' ? 'https' : 'http' + // NPM appends both http and https in x-forwarded-proto sometimes, so we need to check for both + const xfp = (req.get('x-forwarded-proto') || '').toLowerCase() + const currentProtocol = + req.secure || + xfp + .split(',') + .map((s) => s.trim()) + .includes('https') + ? 'https' + : 'http' const currentHost = req.get('host') // Check if protocol and host match exactly From afab429c753f30c1fad394eb5e1c250cfb100372 Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Sat, 30 Aug 2025 10:01:25 -0700 Subject: [PATCH 002/158] Fix: ensure all keys are unique in MultiSelect --- client/components/ui/MultiSelect.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/client/components/ui/MultiSelect.vue b/client/components/ui/MultiSelect.vue index bf0d1ec9..e33e74a4 100644 --- a/client/components/ui/MultiSelect.vue +++ b/client/components/ui/MultiSelect.vue @@ -4,10 +4,11 @@
-
+ +
- +
{{ item }}
@@ -259,8 +260,9 @@ export default { } this.focus() }, - removeItem(item) { - var remaining = this.selected.filter((i) => i !== item) + removeItem(item, idx) { + var remaining = this.selected.slice() + remaining.splice(idx, 1) this.$emit('input', remaining) this.$emit('removedItem', item) this.$nextTick(() => { From ba7160c30587cfd7da82a8dfdb9e026a0a785a2c Mon Sep 17 00:00:00 2001 From: advplyr Date: Tue, 2 Sep 2025 17:31:48 -0500 Subject: [PATCH 003/158] Add index to removeItem on multiselect keydown --- client/components/ui/MultiSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/ui/MultiSelect.vue b/client/components/ui/MultiSelect.vue index e33e74a4..c7572ba5 100644 --- a/client/components/ui/MultiSelect.vue +++ b/client/components/ui/MultiSelect.vue @@ -8,7 +8,7 @@
- +
{{ item }}
From 856cf180a583fb789235620bfdb3d03a51009ef2 Mon Sep 17 00:00:00 2001 From: advplyr Date: Fri, 5 Sep 2025 17:21:55 -0500 Subject: [PATCH 004/158] Fix chapter editor overflow, set custom wrap breakpoint #4652 --- client/pages/audiobook/_id/chapters.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue index a2fe42ff..a62c5f7a 100644 --- a/client/pages/audiobook/_id/chapters.vue +++ b/client/pages/audiobook/_id/chapters.vue @@ -12,24 +12,24 @@
-
+
-