From 1ae09458c6450642b74fd79674d7ab935b76ac02 Mon Sep 17 00:00:00 2001 From: Oneric Date: Sat, 28 Sep 2024 17:47:28 +0200 Subject: [PATCH 1/3] Fix redirect on logout An instance may restrict access to the public timeline (among others) to authenticated users and there already is a setting to decide which page to show authenticated and unauthenticated viewers by default each. However, the logout redirect didn't honour this setting leading to potentially broken pages and errors on logout --- src/components/settings_modal/settings_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/settings_modal/settings_modal.js b/src/components/settings_modal/settings_modal.js index 27dab3ec..9a2df9b0 100644 --- a/src/components/settings_modal/settings_modal.js +++ b/src/components/settings_modal/settings_modal.js @@ -69,7 +69,7 @@ const SettingsModal = { this.$store.dispatch('closeSettingsModal') }, logout () { - this.$router.replace('/main/public') + this.$router.replace(this.$store.state.instance.redirectRootNoLogin || '/main/all') this.$store.dispatch('closeSettingsModal') this.$store.dispatch('logout') }, From 35cf3327c843b6fd49eac5822a630994d24b62ff Mon Sep 17 00:00:00 2001 From: tea Date: Sat, 23 Sep 2023 21:18:55 +0200 Subject: [PATCH 2/3] fix panel z-index conflicting with heading popover resolves #342 --- src/panel.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/panel.scss b/src/panel.scss index 3a814269..6fada805 100644 --- a/src/panel.scss +++ b/src/panel.scss @@ -18,7 +18,6 @@ bottom: 0; left: 0; right: 0; - z-index: 5; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); box-shadow: var(--panelShadow); pointer-events: none; @@ -60,7 +59,6 @@ padding: 0.6em; height: var(--__panel-heading-height); line-height: var(--__panel-heading-height-inner); - z-index: 4; &.-flexible-height { --__panel-heading-height: auto; @@ -131,6 +129,7 @@ color: var(--panelText); background-color: $fallback--bg; background-color: var(--bg, $fallback--bg); + z-index: 4; &::after { background-color: $fallback--fg; From 8231c8f0b6bc05f76ad175f41db9b2d1b81284bf Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sat, 19 Oct 2024 19:19:15 +0200 Subject: [PATCH 3/3] add proper autocomplete prop for TOTP login field --- src/components/mfa_form/totp_form.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/mfa_form/totp_form.vue b/src/components/mfa_form/totp_form.vue index 709eb9b8..17ded4a1 100644 --- a/src/components/mfa_form/totp_form.vue +++ b/src/components/mfa_form/totp_form.vue @@ -18,6 +18,7 @@