1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-23 19:32:29 +01:00
BookStack/app/Entities/Tools
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
..
Markdown Fixed static analysis issues 2023-02-06 20:00:44 +00:00
BookContents.php Worked towards phpstan level 2, 13 errors remain 2022-10-24 12:12:48 +01:00
BookSortMap.php Addressed phpstan cases 2022-01-07 13:04:49 +00:00
BookSortMapItem.php Applied latest styleCI changes 2022-01-06 12:18:11 +00:00
Cloner.php Played around with a new app structure 2023-05-17 17:56:55 +01:00
ExportFormatter.php Added test and handling for local_secure_restricted in exports 2022-09-02 14:21:43 +01:00
HierarchyTransformer.php Played around with a new app structure 2023-05-17 17:56:55 +01:00
NextPreviousContentLocator.php Applied another set of static analysis improvements 2021-11-20 14:03:56 +00:00
PageContent.php Set page include limit to be 3 as expected instead of 4 2023-05-02 12:44:55 +01:00
PageEditActivity.php Added and ran PHPCS 2022-09-18 01:25:20 +01:00
PageEditorData.php Comments: Added read-only listing into page editor 2023-06-16 13:08:04 +01:00
PdfGenerator.php Updated DOMPDF, and other PHP dependancies 2022-07-17 14:01:59 +01:00
PermissionsUpdater.php Content Permissions API: Fixed param combination bug 2023-06-20 14:13:26 +01:00
ShelfContext.php Fixed a couple of non-intended logical permission issues 2022-07-16 20:55:32 +01:00
SiblingFetcher.php Applied another set of static analysis improvements 2021-11-20 14:03:56 +00:00
SlugGenerator.php Played around with a new app structure 2023-05-17 17:56:55 +01:00
TrashCan.php Watching: Prevent issues when watchable or user is deleted 2023-09-03 14:19:43 +01:00