BookStack/app
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
..
Access Altered ldap_connect usage, cleaned up LDAP classes 2023-05-30 13:12:00 +01:00
Activity Notifications: Aligned how user language is used 2023-09-02 15:11:42 +01:00
Api Cache: Increases database cache value size 2023-08-21 23:01:42 +01:00
App Notifications: Fixed send content permission checking 2023-08-17 17:57:31 +01:00
Config Security: Added new SSR allow list and validator 2023-08-26 15:28:29 +01:00
Console Updated command classes to include "Command" in name 2023-05-24 13:21:46 +01:00
Entities Watching: Prevent issues when watchable or user is deleted 2023-09-03 14:19:43 +01:00
Exceptions Merge pull request #4320 from devdot/improve-api-auth-exception 2023-06-25 23:35:19 +01:00
Facades Played around with a new app structure 2023-05-17 17:56:55 +01:00
Http Notifications: Add phpunit test for notification sending 2023-08-16 16:02:00 +01:00
Notifications Notifications: Aligned how user language is used 2023-09-02 15:11:42 +01:00
Permissions Watching: Prevent issues when watchable or user is deleted 2023-09-03 14:19:43 +01:00
References Cleaned up namespacing in routes 2023-05-18 20:57:05 +01:00
Search Search: Updated popular items query, load parent book for chapters/pages 2023-06-10 15:08:07 +01:00
Settings Status: Updated cache check to use unique key 2023-08-17 21:24:35 +01:00
Theming Webhooks: Fixed failing delete-based events 2023-07-12 16:16:12 +01:00
Translation Notifications: Aligned how user language is used 2023-09-02 15:11:42 +01:00
Uploads Images: Updated image timestamp upon file change 2023-07-05 11:28:03 +01:00
Users Watching: Prevent issues when watchable or user is deleted 2023-09-03 14:19:43 +01:00
Util SSR: Updated allow list handling & covered webhook usage 2023-08-26 20:13:37 +01:00