1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-23 19:32:29 +01:00
BookStack/app/Entities/Models
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
..
Book.php Removed most usages of restricted entitiy property 2022-10-10 16:58:26 +01:00
BookChild.php Fixed lack of url reference updating on book child move 2022-08-30 22:12:52 +01:00
Bookshelf.php Removed most usages of restricted entitiy property 2022-10-10 16:58:26 +01:00
Chapter.php Removed most usages of restricted entitiy property 2022-10-10 16:58:26 +01:00
Deletable.php Played around with a new app structure 2023-05-17 17:56:55 +01:00
Deletion.php Played around with a new app structure 2023-05-17 17:56:55 +01:00
Entity.php Watching: Prevent issues when watchable or user is deleted 2023-09-03 14:19:43 +01:00
HasCoverImage.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Page.php Pages API: Made raw_html available on page responses 2023-06-20 17:07:46 +01:00
PageRevision.php Played around with a new app structure 2023-05-17 17:56:55 +01:00