BookStack/app/Exports
Dan Brown 59cfc087e1
ZIP Imports: Added image type validation/handling
Images were missing their extension after import since it was
(potentially) not part of the import data.
This adds validation via mime sniffing (to match normal image upload
checks) and also uses the same logic to sniff out a correct extension.

Added tests to cover.
Also fixed some existing tests around zip functionality.
2024-11-18 17:42:49 +00:00
..
Controllers ZIP Imports: Added high level import run tests 2024-11-16 13:57:41 +00:00
ZipExports ZIP Imports: Added image type validation/handling 2024-11-18 17:42:49 +00:00
ExportFormatter.php ZIP Exports: Finished up format doc, move files, started builder 2024-10-15 16:14:11 +01:00
Import.php ZIP Imports: Added full contents view to import display 2024-11-05 13:17:31 +00:00
ImportRepo.php ZIP Import: Finished base import process & error handling 2024-11-14 15:59:15 +00:00
PdfGenerator.php ZIP Exports: Finished up format doc, move files, started builder 2024-10-15 16:14:11 +01:00