BookStack/tests/Entity
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
..
BookShelfTest.php Extracted test file handling to its own class 2023-02-08 14:39:13 +00:00
BookTest.php Extracted test file handling to its own class 2023-02-08 14:39:13 +00:00
ChapterTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00
CommentSettingTest.php Quick run through of applying new test entity helper class 2022-09-29 22:11:16 +01:00
CommentTest.php Quick run through of applying new test entity helper class 2022-09-29 22:11:16 +01:00
ConvertTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00
EntityAccessTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00
EntitySearchTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00
ExportTest.php Merge pull request #3986 from BookStackApp/permission_testing 2023-01-24 21:37:28 +00:00
MarkdownToHtmlTest.php
PageContentTest.php Made page-save HTML formatting much more efficient 2023-02-22 14:32:40 +00:00
PageDraftTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00
PageEditorTest.php Quick run through of applying new test entity helper class 2022-09-29 22:11:16 +01:00
PageRevisionTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00
PageTemplateTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00
PageTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00
SearchOptionsTest.php Refactored search-based code to its own folder 2022-08-16 11:28:05 +01:00
SortTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00
TagTest.php Copied over work from user_permissions branch 2023-01-21 11:08:34 +00:00