1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-29 23:22:34 +01:00
BookStack/app/Theming
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
..
CustomHtmlHeadContentProvider.php Applied latest styleci changes 2021-09-06 22:19:06 +01:00
ThemeEvents.php Added extendable/scalable formatter for webhook data 2022-03-26 16:53:02 +00:00
ThemeService.php Updated translators and merged styleci fixes 2021-11-23 20:41:12 +00:00