aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/notification.ex
AgeCommit message (Collapse)Author
2021-02-15[#2053] Changed `Notification/for_user_query/2` to use join to filter out ↵Ivan Tashkinov
inactive actors instead of subselect of _all_ inactive AP ids from `users`.
2021-02-03Exclude reporter from receiving notifications from their own reports.Mark Felder
Currently only works if the reporting actor is an admin, but if we include moderators with those who receive notification reports it will work for them.
2021-01-15Change user.deactivated field to user.is_activeMark Felder
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2021-01-04Object: Rework how Object.normalize workslain
Now it defaults to not fetching, and the option is named.
2020-11-13Make notifs view work for reportsIlja
* These are the first small steps for issue 2034 "Reports should send a notification to admins". * I added a new type of notification "pleroma:report" to the the database manually (a migration will need to be written later) * I added the new type to the notification_controller * I made the view return the notification. It doesn't include the report itself (yet)
2020-08-31Notification: Small refactor.lain
2020-08-28marks notifications as read after muteMaksim Pechnikov
2020-08-17Make notifications about new statuses from muted threads readSergey Suprunenko
2020-08-15Mark notifications about statuses from muted users as read automaticallySergey Suprunenko
2020-07-13Merge branch 'develop' into refactor/notification_settingsMark Felder
2020-07-08Notification: For follows, notify the followed.lain
2020-07-06renaming back and reject nil on createAlexander Strizhakov
2020-07-06don't filter notifications for follow and move typesAlexander Strizhakov
2020-07-06Skip notifications for statuses that contain an irreversible filtered wordSergey Suprunenko
2020-06-29Apply suggestion to lib/pleroma/notification.exlain
2020-06-29Notifications: Never return `nil` in the notification list.lain
2020-06-26Simplify notification filtering settings furtherMark Felder
2020-06-25Merge branch 'develop' into refactor/notification_settingsMark Felder
2020-06-14Mastodon API: ensure the notification endpoint doesn't return less than the ↵eugenijm
requested amount of records unless it's the last page
2020-06-08Apply suggestion to lib/pleroma/notification.exlain
2020-06-06Notfication: Add validation of notification typeslain
2020-06-06Migrations: Move Notification migration code to helperlain
2020-06-06Notification: Change type of `type` to an enum.lain
2020-06-05Pipeline: Add a side effects step after the transaction finisheslain
This is to run things like streaming notifications out, which will sometimes need data that is created by the transaction, but is streamed out asynchronously.
2020-06-04Notification: Don't break on figuring out the type of old EmojiReactionslain
2020-06-03Notification: Fix notifications backfill for compacted activitieslain
2020-06-02Credo fixeslain
2020-06-02Migrations: Add a migration to backfill notification types.lain
2020-06-02Notification: Add function to backfill notification typeslain
2020-06-02Notifications: Make notifications save their type.lain
2020-05-29Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵lain
remake-remodel-dms
2020-05-28Refactor notification settingsMark Felder
2020-05-27Merge branch 'refactor-add-mention-step-one' into 'develop'rinpatch
Fix ObjectView calling into strange functions Closes #1807 See merge request pleroma/pleroma!2580
2020-05-27Notification: Actually preload objects.lain
2020-05-25User: Change signature of get_users_from_setlain
2020-05-10Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵lain
remake-remodel-dms
2020-05-08Merge branch 'bugfix/fix-like-notifications' into 'develop'rinpatch
Notifications: Simplify recipient calculation for some Activities. See merge request pleroma/pleroma!2486
2020-05-08Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵lain
remake-remodel-dms
2020-05-07Apply suggestion to lib/pleroma/notification.exlain
2020-05-07Notifications: Simplify recipient calculation for some Activities.lain
Fixes the 'getting notfications for other people's posts' bug.
2020-05-06added `unread_notifications_count` for `/api/v1/accounts/verify_credentials`Maksim Pechnikov
2020-05-04Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵lain
remake-remodel-dms
2020-05-04Merge branch 'develop' into issue/1276-2Maksim Pechnikov
2020-05-01Made follow request notifications non-optional (removed config switch).Ivan Tashkinov
2020-05-01Merge branch 'develop' into issue/1276-2Maksim Pechnikov
2020-04-30Dismiss the follow request notification on rejectioneugenijm
2020-04-28Create activity handling: Flip it and reverse itlain
Both objects and create activities will now go through the common pipeline and will be validated. Objects are now created as a side effect of the Create activity, rolling back a transaction if it's not possible to insert the object.
2020-04-22Apply suggestion to lib/pleroma/notification.exIvan Tashkinov
2020-04-21Merge remote-tracking branch 'remotes/origin/develop' into ↵Ivan Tashkinov
1364-no-pushes-from-blocked-domains-users # Conflicts: # CHANGELOG.md