BookStack/tests
Dan Brown 3f3fad7113
Fixed book-tree-gen page visibility issue
When book trees were generated, pages in chapters where ALL pages within
were not supposed to be visibile, would be visible due to the code
falling back on the raw relation which would not account for
permissions.

This has now been changed so that a custom 'visible_pages' attribute is set and used by any book tree structures, to ensure it does not fall back to the raw relation.

Added an extra test to cover.

For #2414
2020-12-17 17:31:18 +00:00
..
Api Added chapters to the API 2020-05-23 00:28:41 +01:00
Auth Removed redundant test 2020-09-26 18:24:05 +01:00
Entity Ensured base64 images are read from image upload folder 2020-12-06 15:34:18 +00:00
Permissions Fixed book-tree-gen page visibility issue 2020-12-17 17:31:18 +00:00
test-data Made display thumbnail generation use original data if smaller 2019-12-22 12:44:49 +00:00
Unit Updated functionality for logging failed access 2020-07-28 12:59:43 +01:00
Uploads Prevented possible XSS via link attachments 2020-10-31 15:01:52 +00:00
User Added tests and translations for dark-mode components 2020-04-11 20:44:23 +01:00
ActivityTrackingTest.php Re-structured the app code to be feature based rather than code type based 2018-09-25 12:30:50 +01:00
AuditLogTest.php Added audit log interface 2020-09-19 12:06:45 +01:00
BrowserKitTest.php Updated to Laravel 5.8 2019-09-13 23:58:40 +01:00
CommandsTest.php Added command to regenerate comment content 2020-05-01 23:41:47 +01:00
CreatesApplication.php Namespaced tests to align with new laravel default 2017-02-04 11:58:42 +00:00
ErrorTest.php Prevented entity "Not Found" events from being logged 2020-05-23 11:28:59 +01:00
HomepageTest.php Updated page delete to handle inactive custom homepage correctly 2019-05-27 12:40:19 +01:00
LanguageTest.php Updated styles to use logical properties/values 2020-04-05 13:07:19 +01:00
PublicActionTest.php Performed review of "public intended" functionality provided in #1817 2020-03-14 18:29:31 +00:00
SharedTestHelpers.php Prevented entity "Not Found" events from being logged 2020-05-23 11:28:59 +01:00
TestCase.php Simplified guard names and rolled out guard route checks 2020-02-02 13:10:21 +00:00
TestEmailTest.php Updated email test send to show error on failure 2020-02-15 14:13:15 +00:00
TestResponse.php Added testing coverage for Bookshelves 2018-09-21 15:15:16 +01:00
ThemeTest.php Added test to check custom theme lang items 2019-10-26 18:07:14 +01:00