BookStack/app/Entities
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
..
Managers Fixed book-tree-gen page visibility issue 2020-12-17 17:31:18 +00:00
Repos Fixed revision issues caused by page fillable changes 2020-05-23 12:28:14 +01:00
Book.php Added chapters to the API 2020-05-23 00:28:41 +01:00
BookChild.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
Bookshelf.php Added chapters to the API 2020-05-23 00:28:41 +01:00
BreadcrumbsViewComposer.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
Chapter.php Fixed book-tree-gen page visibility issue 2020-12-17 17:31:18 +00:00
Entity.php Updated PR code to use isA and updated that function definition 2020-09-26 17:00:17 +01:00
EntityProvider.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
ExportService.php Aligned export styles a little better and fixed potential DOMPDF css error 2020-02-15 15:34:06 +00:00
HasCoverImage.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
Page.php Fixed issue where updated page content would not be indexed 2020-05-23 00:46:13 +01:00
PageRevision.php Entity Repo & Controller Refactor (#1690) 2019-10-05 12:55:01 +01:00
SearchOptions.php Fixed empty search scenario 2020-06-27 13:37:18 +01:00
SearchService.php Converted search filters to not be vue based 2020-06-27 13:29:00 +01:00
SearchTerm.php Re-structured the app code to be feature based rather than code type based 2018-09-25 12:30:50 +01:00
SlugGenerator.php Added Illuminate\Support\Str::slug to generate slug from text to improve the creation of slugs with non-English characters 2020-06-25 18:08:13 +02:00