BookStack/tests/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
..
ExportUiTest.php Testing: Split export tests into multiple files 2024-10-19 13:59:42 +01:00
HtmlExportTest.php Testing: Split export tests into multiple files 2024-10-19 13:59:42 +01:00
MarkdownExportTest.php Testing: Split export tests into multiple files 2024-10-19 13:59:42 +01:00
PdfExportTest.php Testing: Split export tests into multiple files 2024-10-19 13:59:42 +01:00
TextExportTest.php Testing: Split export tests into multiple files 2024-10-19 13:59:42 +01:00
ZipExportTest.php ZIP Imports: Added image type validation/handling 2024-11-18 17:42:49 +00:00
ZipExportValidatorTest.php ZIP Imports: Added image type validation/handling 2024-11-18 17:42:49 +00:00
ZipImportRunnerTest.php ZIP Imports: Added image type validation/handling 2024-11-18 17:42:49 +00:00
ZipImportTest.php ZIP Imports: Added high level import run tests 2024-11-16 13:57:41 +00:00
ZipResultData.php ZIP Exports: Tested each type and model of export 2024-10-27 14:33:43 +00:00
ZipTestHelper.php ZIP Imports: Started testing core import logic 2024-11-16 16:12:45 +00:00