BookStack/app/Entities
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
..
Models Worked towards phpstan level 2, 13 errors remain 2022-10-24 12:12:48 +01:00
Queries Aligned permission applicator method names 2022-07-16 19:54:25 +01:00
Repos Worked towards phpstan level 2, 13 errors remain 2022-10-24 12:12:48 +01:00
Tools Made page-save HTML formatting much more efficient 2023-02-22 14:32:40 +00:00
BreadcrumbsViewComposer.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
EntityProvider.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00