BookStack/app/Entities/Tools
Dan Brown 31495758a9
Made page-save HTML formatting much more efficient
Replaced the existing xpath-heavy system with a more manual traversal
approach. Fixes following slow areas of old system:
- Old system would repeat ID-setting action for elements (Headers could
  be processed up to three times).
- Old system had a few very open xpath queries for headers.
- Old system would update links on every ID change, which triggers it's
  own xpath query for links, leading to exponential scaling issues.

New system only does one xpath query for links when changes are needed.
Added test to cover.

For #3932
2023-02-22 14:32:40 +00:00
..
Markdown Fixed static analysis issues 2023-02-06 20:00:44 +00:00
BookContents.php Worked towards phpstan level 2, 13 errors remain 2022-10-24 12:12:48 +01:00
BookSortMap.php
BookSortMapItem.php
Cloner.php Worked towards phpstan level 2, 13 errors remain 2022-10-24 12:12:48 +01:00
ExportFormatter.php
HierarchyTransformer.php
NextPreviousContentLocator.php
PageContent.php Made page-save HTML formatting much more efficient 2023-02-22 14:32:40 +00:00
PageEditActivity.php
PageEditorData.php
PdfGenerator.php
PermissionsUpdater.php
ShelfContext.php
SiblingFetcher.php
SlugGenerator.php
TrashCan.php