BookStack/tests
Dan Brown 31f1dca8a8
Added detection and thumbnail bypass for apng images
Adds apng sniffing when generating thumbnails with retained ratios to
serve the original image files, as we do for GIF images, to prevent
the image being resized to a static version.

Is more tricky than GIF since apng file mimes and extensions
are the same as png, we have to detect part of the file header
to sniff the type. Means we have to sniff at a later stage
than GIF since we have to load the image file data.

Made some changes to the image thubmnail caching while doing
this work to fit in with this handling.

Added test to cover.
For #3136.
2022-01-04 13:10:35 +00:00
..
Actions Fixed failing webhook test cases 2022-01-03 19:51:13 +00:00
Api Applied latest StyleCI changes 2021-12-15 13:49:20 +00:00
Auth Updated test to ensure autofocus is set on TOTP input 2021-11-22 13:28:46 +00:00
Commands Refactored the activity service 2021-12-11 17:29:33 +00:00
Entity Applied latest StyleCI changes 2021-12-20 17:40:27 +00:00
Helpers Applied latest styles changes from style CI 2021-10-16 16:01:59 +01:00
Permissions Applied latest StyleCI changes 2021-12-20 17:40:27 +00:00
Settings Laravel 7.x Shift (#3011) 2021-10-26 22:04:18 +01:00
test-data Added detection and thumbnail bypass for apng images 2022-01-04 13:10:35 +00:00
Unit Updated translators and merged styleci fixes 2021-11-23 20:41:12 +00:00
Uploads Added detection and thumbnail bypass for apng images 2022-01-04 13:10:35 +00:00
User Merge branch 'webhooks' 2021-12-18 11:40:08 +00:00
CreatesApplication.php
DebugViewTest.php Applied latest styleci changes 2021-10-15 14:16:45 +01:00
ErrorTest.php
FavouriteTest.php
HomepageTest.php Laravel 8 shift squash & merge (#3029) 2021-10-30 21:29:59 +01:00
LanguageTest.php Laravel 8 shift squash & merge (#3029) 2021-10-30 21:29:59 +01:00
OpenGraphTest.php
PublicActionTest.php Applied styleci changes 2021-09-26 15:48:22 +01:00
RecycleBinTest.php Applied styleci changes 2021-09-26 15:48:22 +01:00
SecurityHeaderTest.php Laravel 7.x Shift (#3011) 2021-10-26 22:04:18 +01:00
SharedTestHelpers.php Laravel 8 shift squash & merge (#3029) 2021-10-30 21:29:59 +01:00
StatusTest.php Added testing for webhook management interface 2021-12-10 14:54:58 +00:00
TestCase.php
TestEmailTest.php Updated failing tests, Applied StyleCI changes 2021-12-18 16:41:42 +00:00
TestResponse.php Added testing coverage for tag index 2021-11-06 21:54:02 +00:00
ThemeTest.php Added webhook_call_before theme event hook 2022-01-03 18:22:03 +00:00