BookStack/app/Entities
Dan Brown 817581aa0c
Watching: Prevent issues when watchable or user is deleted
- Adds filtering to the watched items list in notification preferences
  so that deleted (recycle bin) items are removed via query.
- Adds relations and logic to properly remove watches upon user and
  entity delete events, to old watches in database do not linger.
- Adds testing to cover the above.

Did not add migration for existing data, since patch will be close to
introduction, and lingering DB entries don't open a security concern,
just some potential confusion in specific potential scenarios.
Probably not work extra migration risk, although could add in future if
concerns/issues are found.

Related to #4499
2023-09-03 14:19:43 +01:00
..
Controllers Merge branch 'add-priority' into development 2023-08-21 15:43:16 +01:00
Models Watching: Prevent issues when watchable or user is deleted 2023-09-03 14:19:43 +01:00
Queries Notifications: User watch list and differnt page watch options 2023-08-14 13:11:18 +01:00
Repos API: Reviewed changes for API priority control 2023-08-21 15:42:47 +01:00
Tools Watching: Prevent issues when watchable or user is deleted 2023-09-03 14:19:43 +01:00
BreadcrumbsViewComposer.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
EntityProvider.php Watching: Prevent issues when watchable or user is deleted 2023-09-03 14:19:43 +01:00