BookStack/app/Entities/Models
Dan Brown 3625f12abe
Added extendable/scalable formatter for webhook data
Creates a new organsied formatting system for webhook data, with
interfaces for extending with custom model formatting rules.
Allows easy usage & extension of the default bookstack formatting
behaviour when customizing webhook events via theme system, and keeps
default data customizations organised.

This also makes the following webhook data changes:
- owned_by/created_by/updated_by user details are loaded for events with
  Entity details. (POTENTIALLY BREAKING CHANGE).
- current_revision details are loaded for page update/create events.

Added testing to cover added model formatting rules.

For #3279 and #3218
2022-03-26 16:53:02 +00:00
..
Book.php Applied another round of static analysis updates 2021-11-22 23:33:55 +00:00
BookChild.php Applied stylci advisories 2021-08-24 21:23:55 +01:00
Bookshelf.php Applied another round of static analysis updates 2021-11-22 23:33:55 +00:00
Chapter.php Added ability to copy/clone chapters 2021-12-19 15:40:52 +00:00
Deletion.php Fixed error on webhooks for recycle bin operations 2022-01-10 17:47:49 +00:00
Entity.php Improved custom homepage check on item deletion 2022-01-10 17:04:01 +00:00
HasCoverImage.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Page.php Added extendable/scalable formatter for webhook data 2022-03-26 16:53:02 +00:00
PageRevision.php Added extendable/scalable formatter for webhook data 2022-03-26 16:53:02 +00:00
SearchTerm.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00