aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/notification.ex
AgeCommit message (Collapse)Author
2022-09-03Merge branch 'from/upstream-develop/tusooa/assoc-object-id' into 'develop'Haelwenn
Add function to calculate associated object id Closes #2307 See merge request pleroma/pleroma!3692
2022-08-20Switch to associated_object_id indexTusooa Zhu
2022-06-05LintTusooa Zhu
2022-06-05Create Update notificationsTusooa Zhu
2022-03-20Merge branch 'delete_report_notifs_when_demoting_from_superuser' into 'develop'Haelwenn
Delete report notifs when demoting from superuser Closes #2840 See merge request pleroma/pleroma!3642
2022-03-06Delete report notifs when demoting from superuserIlja
When someone isn't a superuser any more, they shouldn't see the reporsts any more either. Here we delete the report notifications from a user when that user gets updated from being a superuser to a non-superuser.
2022-02-25Copyright bump for 2022Sean King
2021-11-15Merge branch 'block-behavior' into 'develop'lain
Configurable block visibility, fixes #2123 Closes #2123 See merge request pleroma/pleroma!3242
2021-07-18Poll notification: only notify local usersAlex Gleason
2021-07-18Poll notification: notify for polls even when block_from_strangers is setAlex Gleason
2021-07-17MastodonAPI: Support poll notificationAlex Gleason
2021-04-29Merge remote-tracking branch 'upstream/develop' into block-behaviorAlex Gleason
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-06Exclude blockers from notifications when `blockers_visible: false`Alex Gleason
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