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 Addressed phpstan cases 2022-01-07 13:04:49 +00:00
BookSortMapItem.php Applied latest styleCI changes 2022-01-06 12:18:11 +00:00
Cloner.php Worked towards phpstan level 2, 13 errors remain 2022-10-24 12:12:48 +01:00
ExportFormatter.php Added test and handling for local_secure_restricted in exports 2022-09-02 14:21:43 +01:00
HierarchyTransformer.php Removed most usages of restricted entitiy property 2022-10-10 16:58:26 +01:00
NextPreviousContentLocator.php Applied another set of static analysis improvements 2021-11-20 14:03:56 +00:00
PageContent.php Made page-save HTML formatting much more efficient 2023-02-22 14:32:40 +00:00
PageEditActivity.php Added and ran PHPCS 2022-09-18 01:25:20 +01:00
PageEditorData.php Updated composer deps, applied latest StyleCI changes 2022-04-24 18:22:40 +01:00
PdfGenerator.php Updated DOMPDF, and other PHP dependancies 2022-07-17 14:01:59 +01:00
PermissionsUpdater.php Removed most usages of restricted entitiy property 2022-10-10 16:58:26 +01:00
ShelfContext.php Fixed a couple of non-intended logical permission issues 2022-07-16 20:55:32 +01:00
SiblingFetcher.php Applied another set of static analysis improvements 2021-11-20 14:03:56 +00:00
SlugGenerator.php Applied latest StyleCI changes 2021-11-06 22:00:33 +00:00
TrashCan.php Added reference handling on page actions 2022-08-17 17:37:27 +01:00