From b16eb3d888950c1cf18660a660c22c886ce524b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominic=20Br=C3=A4unlein?= Date: Tue, 1 Oct 2024 18:52:57 +0700 Subject: [PATCH 1/6] [#58141] Document Nextcloud GroupFolder encryption activation command https://community.openproject.org/work_packages/58141 --- .../integrations/nextcloud/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/system-admin-guide/integrations/nextcloud/README.md b/docs/system-admin-guide/integrations/nextcloud/README.md index 9433fdf227b3..90887ea92700 100644 --- a/docs/system-admin-guide/integrations/nextcloud/README.md +++ b/docs/system-admin-guide/integrations/nextcloud/README.md @@ -373,6 +373,16 @@ sudo systemctl restart apache2 If that also not work please check the [instructions for setting up pretty URLs in Nextcloud](https://docs.nextcloud.com/server/22/admin_manual/installation/source_installation.html#pretty-urls). This usually also resolves the issue of stripped `Authorization` headers. +#### Files are not encrypted when using Nextcloud server-side encryption + +If your Nextcloud server uses server-side encryption, please note that the GroupFolder encryption needs to be manually enabled. +This is relevant for automatically managed project folders, as the GroupFolder app is used in these cases. +To enable encryption for GroupFolders, run the following command on your Nextcloud server: + +```shell +occ config:app:set groupfolders enable_encryption --value="true" +``` + #### Project folders are not created or you do not have access You have setup the *Project folder* in both environments (Nextcloud and OpenProject), but you cannot see any folder named `OpenProject` in the root directory of **Files** app in Nextcloud. From 714054fc0852876ba87b9def7864718cb595760e Mon Sep 17 00:00:00 2001 From: dominic-braeunlein Date: Tue, 1 Oct 2024 21:32:33 +0700 Subject: [PATCH 2/6] Update docs/system-admin-guide/integrations/nextcloud/README.md Co-authored-by: Maya Berdygylyjova --- docs/system-admin-guide/integrations/nextcloud/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/system-admin-guide/integrations/nextcloud/README.md b/docs/system-admin-guide/integrations/nextcloud/README.md index 90887ea92700..411f3d1b3937 100644 --- a/docs/system-admin-guide/integrations/nextcloud/README.md +++ b/docs/system-admin-guide/integrations/nextcloud/README.md @@ -375,7 +375,8 @@ If that also not work please check the [instructions for setting up pretty URLs #### Files are not encrypted when using Nextcloud server-side encryption -If your Nextcloud server uses server-side encryption, please note that the GroupFolder encryption needs to be manually enabled. +> [!NOTE] +If your Nextcloud server uses server-side encryption, the GroupFolder encryption needs to be manually enabled. This is relevant for automatically managed project folders, as the GroupFolder app is used in these cases. To enable encryption for GroupFolders, run the following command on your Nextcloud server: From c760609f8262d94eabe024c73d749743e49bab1c Mon Sep 17 00:00:00 2001 From: Maya Berdygylyjova Date: Wed, 2 Oct 2024 06:39:27 +0200 Subject: [PATCH 3/6] Update docs/system-admin-guide/integrations/nextcloud/README.md --- docs/system-admin-guide/integrations/nextcloud/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/system-admin-guide/integrations/nextcloud/README.md b/docs/system-admin-guide/integrations/nextcloud/README.md index 411f3d1b3937..4070bb403fa3 100644 --- a/docs/system-admin-guide/integrations/nextcloud/README.md +++ b/docs/system-admin-guide/integrations/nextcloud/README.md @@ -376,7 +376,7 @@ If that also not work please check the [instructions for setting up pretty URLs #### Files are not encrypted when using Nextcloud server-side encryption > [!NOTE] -If your Nextcloud server uses server-side encryption, the GroupFolder encryption needs to be manually enabled. +> If your Nextcloud server uses server-side encryption, the GroupFolder encryption needs to be manually enabled. This is relevant for automatically managed project folders, as the GroupFolder app is used in these cases. To enable encryption for GroupFolders, run the following command on your Nextcloud server: From 0c2069db7b22568dc395acf9c6f67e6c6515f97e Mon Sep 17 00:00:00 2001 From: Maya Berdygylyjova Date: Wed, 2 Oct 2024 06:41:41 +0200 Subject: [PATCH 4/6] Update docs/system-admin-guide/integrations/nextcloud/README.md --- docs/system-admin-guide/integrations/nextcloud/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/system-admin-guide/integrations/nextcloud/README.md b/docs/system-admin-guide/integrations/nextcloud/README.md index 4070bb403fa3..30ec4ed9a828 100644 --- a/docs/system-admin-guide/integrations/nextcloud/README.md +++ b/docs/system-admin-guide/integrations/nextcloud/README.md @@ -377,7 +377,7 @@ If that also not work please check the [instructions for setting up pretty URLs > [!NOTE] > If your Nextcloud server uses server-side encryption, the GroupFolder encryption needs to be manually enabled. -This is relevant for automatically managed project folders, as the GroupFolder app is used in these cases. +> This is relevant for automatically managed project folders, as the GroupFolder app is used in these cases. To enable encryption for GroupFolders, run the following command on your Nextcloud server: ```shell From b0f753a3a3d2c579f0426f22cade34ccfc2a387a Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Wed, 2 Oct 2024 09:20:58 +0200 Subject: [PATCH 5/6] Use the dynamic view height for the height calculation to aboid an additional scrollbar when on mobile devices the adress bar is shown. The adress bar is part of the 100vh but not of 100dvh. --- frontend/src/global_styles/layout/_base.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/global_styles/layout/_base.sass b/frontend/src/global_styles/layout/_base.sass index 08da9c9412eb..c6465b61d7b9 100644 --- a/frontend/src/global_styles/layout/_base.sass +++ b/frontend/src/global_styles/layout/_base.sass @@ -49,7 +49,7 @@ margin: 0 0 0 0 padding: 0 // Needed for Safari - height: calc(100vh - var(--header-height)) + height: calc(100dvh - var(--header-height)) overflow-y: auto overflow-x: hidden background-color: var(--body-background) From b00d839c0403a7298dc5b8c6f1f2bb0668c7d361 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Wed, 2 Oct 2024 13:17:38 +0200 Subject: [PATCH 6/6] Add increased spacing between form elements --- frontend/src/global_styles/primer/_overrides.sass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/global_styles/primer/_overrides.sass b/frontend/src/global_styles/primer/_overrides.sass index 570bc7c90340..396c4ded90bd 100644 --- a/frontend/src/global_styles/primer/_overrides.sass +++ b/frontend/src/global_styles/primer/_overrides.sass @@ -91,3 +91,7 @@ sub-header, &:hover background: var(--header-item-bg-hover-color) color: var(--header-item-font-hover-color) + +// Todo: Remove once https://github.com/primer/view_components/pull/3087 is merged +.FormControl-spacingWrapper + row-gap: var(--stack-gap-normal)