From dbc53e00ceabe3831d700920d88847913b60ce77 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Thu, 25 Jul 2024 12:17:43 +0600 Subject: [PATCH 1/3] chore: update version to support nc-28 --- appinfo/info.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 318e406..16decc5 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,14 +5,14 @@ Email Recovery Email Recovery App - 6.1.0 + 7.0.0 agpl MURENA SAS EmailRecovery security https://gitlab.e.foundation/e/infra/selfhost/nextcloud-apps/email-recovery/-/issues/ - + OCA\EmailRecovery\Settings\RecoveryEmailSettings -- GitLab From 14cbf88faa1fbb46b692458759009b769dfaa90b Mon Sep 17 00:00:00 2001 From: Avinash Gusain Date: Mon, 5 Aug 2024 20:02:14 +0530 Subject: [PATCH 2/3] fix for tasks app --- src/email-recovery.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/email-recovery.js b/src/email-recovery.js index e28a1c9..b5dca6e 100644 --- a/src/email-recovery.js +++ b/src/email-recovery.js @@ -22,8 +22,11 @@ document.addEventListener('DOMContentLoaded', function() { const bannerHeight = banner.clientHeight + 'px' const topHeight = (banner.clientHeight + 50) + 'px' setTopStyle('#header', bannerHeight) - setMarginTopAndHeight('#content', topHeight) - setMarginTopAndHeight('#content-vue', topHeight) + if (document.querySelector('#content')) { + setMarginTopAndHeight('#content', topHeight); + } else { + setMarginTopAndHeight('#content-vue', topHeight); + } setTopStyleWhenElementAvailable('#header-menu-user-menu', topHeight) setTopStyleWhenElementAvailable('#header-menu-notifications', topHeight) setTopStyle('#header-menu-unified-search', topHeight) -- GitLab From 9e6092f4339f80c9dd4648b7e733ac6e63cc3d44 Mon Sep 17 00:00:00 2001 From: Avinash Gusain Date: Mon, 5 Aug 2024 20:07:29 +0530 Subject: [PATCH 3/3] fix lint --- src/email-recovery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/email-recovery.js b/src/email-recovery.js index b5dca6e..ea9d797 100644 --- a/src/email-recovery.js +++ b/src/email-recovery.js @@ -23,9 +23,9 @@ document.addEventListener('DOMContentLoaded', function() { const topHeight = (banner.clientHeight + 50) + 'px' setTopStyle('#header', bannerHeight) if (document.querySelector('#content')) { - setMarginTopAndHeight('#content', topHeight); + setMarginTopAndHeight('#content', topHeight) } else { - setMarginTopAndHeight('#content-vue', topHeight); + setMarginTopAndHeight('#content-vue', topHeight) } setTopStyleWhenElementAvailable('#header-menu-user-menu', topHeight) setTopStyleWhenElementAvailable('#header-menu-notifications', topHeight) -- GitLab