From e5eb5ea65105cecc21811b3ed804d0de32c2a7fa Mon Sep 17 00:00:00 2001 From: TreJo Date: Wed, 2 Jul 2025 22:58:35 +0200 Subject: [PATCH 1/2] Added support for nextcloud 30 --- appinfo/info.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index bf96d33..6edf2a5 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,7 +5,7 @@ Groupfolder Filesystem Snapshots Allows restoring a groupfolder to a previous snapshot in the filesystem App proving a PHP API for other apps, that allows (partially) restoring a groupfolder to a previous snapshot in the filesystem. Requires a filesystem with snapshot support (tested with and made for ZFS). It is made for other apps to integrate with, IT DOES NOT WORK STANDALONE - 1.4.0 + 1.4.1 agpl verdigado eG Jonathan Treffler @@ -13,7 +13,7 @@ files https://git.verdigado.com/verdigado-public/nextcloud_groupfolder_filesystem_snapshots/issues - + pgsql sqlite mysql From 0f7a992ae6d3aaeeecfcd661c8161e22fe231e12 Mon Sep 17 00:00:00 2001 From: TreJo Date: Thu, 3 Jul 2025 00:00:48 +0200 Subject: [PATCH 2/2] fixed progress digits limit --- lib/Service/DiffTaskService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/DiffTaskService.php b/lib/Service/DiffTaskService.php index c4d7032..0f789ec 100644 --- a/lib/Service/DiffTaskService.php +++ b/lib/Service/DiffTaskService.php @@ -107,7 +107,7 @@ class DiffTaskService { ($progressCallback)([ "overallFiles" => $numFiles, "doneFiles" => $numDoneFiles, - "progress" => round(($numDoneFiles / $numFiles),2), + "progress" => floor(($numDoneFiles / $numFiles) * 100) / 100, ]); } },