feat: Backup archive browser — view files without extracting #59
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add an AJAX-powered file browser that lets admins inspect the contents of a backup archive without extracting it. Show directory tree, file sizes, and modification dates.
Use Cases
Implementation
ZipArchive::statIndex()/ZipArchive::getNameIndex()for ZIP filesPharDataiterator for tar.gz filesFiles
src/Controller/AjaxController.php— addbrowseArchive()methodtmpl/backup/default.php— add "Browse Contents" buttontmpl/backups/default.php— add browse icon in actions column