BookStackApp_BookStack/tests
Dan Brown e9f906ce56
Attachments: Fixed full range request handling
We were not responsing with a range request, where the requested range
was for the full extent of content. This changes things to always
provide a range request, even for the full range.

Change made since our existing logic could cause problems in chromium
browsers.

Elseif statement removed as its was likley redundant based upon other
existing checks.
This also changes responses for requested ranges beyond content, but I
think that's technically correct looking at the spec (416 are for when
there are no overlapping request/response ranges at all).

Updated tests to cover.
For #5342
2024-11-29 13:19:55 +00:00
..
Activity fix tests namespace definition 2024-10-26 13:24:49 +02:00
Api API: Fixed lacking permission enforcement on book contents 2024-08-29 14:43:21 +01:00
Auth OIDC: Added extra userinfo content-type normalisation and test 2024-11-28 16:58:06 +00:00
Commands Testing: Improved reliability 2024-11-08 11:35:18 +00:00
Entity Testing: Improved reliability 2024-11-08 11:35:18 +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 Attachments: Fixed full range request handling 2024-11-29 13:19:55 +00:00
User Users: Changed name validation to min:1 instead of 2 2024-10-15 11:07:41 +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