From 007ac2bb8e0b6eebcb8f5341516a7f7d39983063 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 7 Feb 2022 14:21:29 +0100 Subject: [PATCH 1/4] hide the scrollbar when mouse is out (menu always displayed) --- CHANGELOG.md | 3 +++ css/sideMenu.css | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51ed6f3..596a0c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## [Unreleased] +### Added +* hide the scrollbar when mouse is out (menu always displayed) + ## 2.3.2 ### Fixed - fix hidden menu diff --git a/css/sideMenu.css b/css/sideMenu.css index db83941..4de43d4 100644 --- a/css/sideMenu.css +++ b/css/sideMenu.css @@ -247,6 +247,11 @@ .side-menu-always-displayed .side-menu-apps-list { height: calc(100vh - 49px); top: 49px; + overflow: hidden; +} + +.side-menu-always-displayed .side-menu-apps-list:hover { + overflow: auto; } .side-menu-always-displayed #side-menu, From 0f73ad42c4d51e949866dc4d900c8f81f162bc4f Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 7 Feb 2022 14:28:34 +0100 Subject: [PATCH 2/4] fix SQL Exception InvalidFieldNameException (#93) --- lib/Service/LangRepository.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/Service/LangRepository.php b/lib/Service/LangRepository.php index c998a7e..3c379f0 100644 --- a/lib/Service/LangRepository.php +++ b/lib/Service/LangRepository.php @@ -26,7 +26,12 @@ class LangRepository $qb = $this->db->getQueryBuilder(); $qb->select($qb->createFunction('DISTINCT configvalue')) - ->where('configkey="lang" and appid="core" and configvalue<>"en"') + ->where('configkey=:configkey and appid=:appid and configvalue<>:configvalue') + ->setParameters([ + 'configkey' => 'lang', + 'appid' => 'core', + 'configvalue' => 'en', + ]) ->from('preferences') ; From 9afde0dc9dc9462a826f3710e24e85895faffd5d Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 7 Feb 2022 14:29:51 +0100 Subject: [PATCH 3/4] update changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 596a0c0..4007b68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ ## [Unreleased] +## 2.3.3 ### Added * hide the scrollbar when mouse is out (menu always displayed) +### Fixed +* fix SQL Exception InvalidFieldNameException (#93) ## 2.3.2 ### Fixed From a67688e77900d38bfbe047e908b9e5365811c2b0 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 7 Feb 2022 14:30:08 +0100 Subject: [PATCH 4/4] release v2.3.3 --- appinfo/info.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 881366c..232d990 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -26,7 +26,7 @@ If you like this application and if you want to support the development: * [Donate with liberapay](https://liberapay.com/deblan) * [Leave a comment](https://apps.nextcloud.com/apps/side_menu#comments) ]]> - 2.3.2 + 2.3.3 agpl Simon Vieille SideMenu