Fixes #272 missing md5sum

* dashboard: add warning if missing checksums
* add a "compute all missing md5sum" option in batch manager (inspired by delete orphans)
* progress bar when computing md5sums
This commit is contained in:
Teatek
2019-01-22 10:26:52 +01:00
committed by Pierrick Le Gall
parent 29f938acba
commit b05241f508
10 changed files with 206 additions and 4 deletions
+12
View File
@@ -251,6 +251,18 @@ if ($nb_photos_in_caddie > 0)
);
}
// any photos with no md5sum ?
$nb_no_md5sum = count(get_photos_no_md5sum());
if ($nb_no_md5sum > 0)
{
$template->assign(
array(
'NB_NO_MD5SUM' => $nb_no_md5sum,
'U_NO_MD5SUM' => $link_start.'batch_manager&filter=prefilter-no_sync_md5sum',
)
);
}
// any orphan photo?
$nb_orphans = count(get_orphans());