BookStack/tests
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
..
Activity API: Added to, and updated, testing to cover audit log additions 2024-05-05 15:44:58 +01:00
Api API: Fixed lacking permission enforcement on book contents 2024-08-29 14:43:21 +01:00
Auth LDAP: Updated tests for recursive group changes 2024-08-28 21:16:18 +01:00
Commands API: Added to, and updated, testing to cover audit log additions 2024-05-05 15:44:58 +01:00
Entity Testing: Split export tests into multiple files 2024-10-19 13:59:42 +01:00
Exports ZIP Imports: Added image type validation/handling 2024-11-18 17:42:49 +00:00
Helpers Tags: Stopped recycle bin tags being counted on index 2024-04-15 18:44:59 +01:00
Meta Tests: Categorised up meta tests 2024-09-30 17:07:53 +01:00
Permissions Comments: Removed remaining uses of redundant 'text' field 2024-01-31 16:35:58 +00:00
References References: Fixed references count/list recycle bin interaction 2024-04-01 17:08:53 +01:00
Settings API: Added to, and updated, testing to cover audit log additions 2024-05-05 15:44:58 +01:00
test-data Images: Updated GIF handling to use native methods 2024-06-09 17:00:58 +01:00
Unit PDF: Added tests for pdf command, fixed old tests for changes 2024-04-26 15:39:40 +01:00
Uploads Actually add the test this time 2024-07-05 03:59:49 +00:00
User Users: Improved user response for failed invite sending 2024-09-29 16:41:18 +01:00
CreatesApplication.php Framework: Upgrade from Laravel 9 to 10 2024-03-16 15:12:14 +00:00
DebugViewTest.php Tests: Fixed debug test to work with social class changes 2023-12-06 16:57:15 +00:00
ErrorTest.php 404: Fixed entity list issue with entity with non-visible parent 2024-02-28 13:08:06 +00:00
FavouriteTest.php URL Handling: Removed referrer-based redirect handling 2023-12-10 12:37:21 +00:00
HomepageTest.php Homepage: Added tags button to non-default home views 2023-09-24 09:31:44 +01:00
LanguageTest.php Languages: Enabled Welsh option 2024-10-04 11:02:17 +01:00
PublicActionTest.php Tests: Categorised up meta tests 2024-09-30 17:07:53 +01:00
SecurityHeaderTest.php CSP: Updated handling of drawio URL to consider port 2024-07-14 16:06:18 +01:00
StatusTest.php Added testing for webhook management interface 2021-12-10 14:54:58 +00:00
TestCase.php API: Added to, and updated, testing to cover audit log additions 2024-05-05 15:44:58 +01:00
ThemeTest.php Settings: Added test to cover setting category by view 2024-10-11 13:33:07 +01:00
UrlTest.php Quick run through of applying new test entity helper class 2022-09-29 22:11:16 +01:00