mirror of
https://github.com/LemmyNet/lemmy.git
synced 2026-01-28 09:29:09 -06:00
* Add post_actions.disable_notifications (fixes #3042) * Split up logic for send_local_notifs() * refactor * fmt * add api endpoint, check * dont call send_local_notifs from comment delete/remove * move scrape_text_for_mentions() inside send_local_notifs() * nullable * simplify * handle parent notification first * cleanup * remove `CommentResponse.recipient_ids` * post notifications enum * Follow posts (fixes #3069) * use references * cleanup * new file * db migration to merge mention, reply tables * code adjustments * adjust test code * adjust enum case * wip: get rid of inbox_combined table * add table local_user_notification * tests compiling * get rid of inbox_combined, only use notification table * rename view * notify private messages * clippy * copy existing data * wip: tests * move tests * clippy * notify post subscribers * community subscribe * test fixes * migration fix * rename routes * separate struct for api * rename api params * merge migrations * separate notification modes for post/community * fix * down migration copy data * test fix * update api tests * only single notification table * clippy * use local user id for recipient * fix comments * rename table * recipient local user * add indices * keep local user id * renames and cleanup * NotificationDataType * change notification response * fix api tests * test fix * remove private_message.read * fixes * test fix * fix