1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 07:32:39 +01:00
BookStack/tests
Dan Brown b4fa82e329
Fixed related permissions query not considering drafts
Page-related items added on drafts could be visible in certain scenarios
since the applied permissions query filters would not consider
page draft visibility.
This commit alters queries on related items to apply such filtering.

Included test to cover API scenario.
Thanks to @haxatron for reporting.
2021-11-30 00:06:17 +00:00
..
Api Fixed related permissions query not considering drafts 2021-11-30 00:06:17 +00:00
Auth Updated test to ensure autofocus is set on TOTP input 2021-11-22 13:28:46 +00:00
Commands Apply fixes from StyleCI 2021-08-21 14:49:40 +00:00
Entity Added conversion of iframes to anchors on PDF export 2021-11-25 15:12:32 +00:00
Helpers Applied latest styles changes from style CI 2021-10-16 16:01:59 +01:00
Permissions Laravel 8 shift squash & merge (#3029) 2021-10-30 21:29:59 +01:00
Settings Laravel 7.x Shift (#3011) 2021-10-26 22:04:18 +01:00
test-data Moved sketchy file samples to base64 equivilents 2021-02-06 00:16:27 +00:00
Unit Updated translators and merged styleci fixes 2021-11-23 20:41:12 +00:00
Uploads Merge branch 'laravel_upgrade' 2021-11-04 22:42:35 +00:00
User Laravel 8 shift squash & merge (#3029) 2021-10-30 21:29:59 +01:00
AuditLogTest.php Laravel 8 shift squash & merge (#3029) 2021-10-30 21:29:59 +01:00
CreatesApplication.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
DebugViewTest.php Applied latest styleci changes 2021-10-15 14:16:45 +01:00
ErrorTest.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
FavouriteTest.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
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 Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
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 inital phpstan/larastan setup 2021-11-05 16:18:06 +00:00
TestCase.php Fixed dodgy test helper signature causing tests to fail 2021-09-18 21:29:42 +01:00
TestEmailTest.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
TestResponse.php Added testing coverage for tag index 2021-11-06 21:54:02 +00:00
ThemeTest.php Tweaked custom command registration, Added StyleCI fixes 2021-11-22 22:22:31 +00:00