Compare commits

...

2 commits
v1.4.0 ... main

Author SHA1 Message Date
0f7a992ae6 fixed progress digits limit 2025-07-03 00:00:48 +02:00
e5eb5ea651 Added support for nextcloud 30 2025-07-02 22:58:35 +02:00
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
<name>Groupfolder Filesystem Snapshots</name> <name>Groupfolder Filesystem Snapshots</name>
<summary>Allows restoring a groupfolder to a previous snapshot in the filesystem</summary> <summary>Allows restoring a groupfolder to a previous snapshot in the filesystem</summary>
<description>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</description> <description>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</description>
<version>1.4.0</version> <version>1.4.1</version>
<licence>agpl</licence> <licence>agpl</licence>
<author homepage="https://verdigado.com/">verdigado eG</author> <author homepage="https://verdigado.com/">verdigado eG</author>
<author mail="jonathan.treffler@verdigado.com">Jonathan Treffler</author> <author mail="jonathan.treffler@verdigado.com">Jonathan Treffler</author>
@ -13,7 +13,7 @@
<category>files</category> <category>files</category>
<bugs>https://git.verdigado.com/verdigado-public/nextcloud_groupfolder_filesystem_snapshots/issues</bugs> <bugs>https://git.verdigado.com/verdigado-public/nextcloud_groupfolder_filesystem_snapshots/issues</bugs>
<dependencies> <dependencies>
<nextcloud min-version="28" max-version="29"/> <nextcloud min-version="29" max-version="30"/>
<database>pgsql</database> <database>pgsql</database>
<database>sqlite</database> <database>sqlite</database>
<database>mysql</database> <database>mysql</database>

View file

@ -107,7 +107,7 @@ class DiffTaskService {
($progressCallback)([ ($progressCallback)([
"overallFiles" => $numFiles, "overallFiles" => $numFiles,
"doneFiles" => $numDoneFiles, "doneFiles" => $numDoneFiles,
"progress" => round(($numDoneFiles / $numFiles),2), "progress" => floor(($numDoneFiles / $numFiles) * 100) / 100,
]); ]);
} }
}, },