Ivan Tashkinov
284504f689
[ #2053 ] Changed `Notification/for_user_query/2` to use join to filter out inactive actors instead of subselect of _all_ inactive AP ids from `users`.
před 3 roky
Mark Felder
76f732766b
Exclude reporter from receiving notifications from their own reports.
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.
před 3 roky
Mark Felder
860b5c7804
Change user.deactivated field to user.is_active
před 3 roky
Haelwenn (lanodan) Monnier
c4439c630f
Bump Copyright to 2021
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/ >;'
před 3 roky
lain
e1e7e4d379
Object: Rework how Object.normalize works
Now it defaults to not fetching, and the option is named.
před 3 roky
Ilja
70e4b86250
Make notifs view work for reports
* 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)
před 3 roky
lain
d91c4feebe
Notification: Small refactor.
před 3 roky
Maksim Pechnikov
f0fefc4f5c
marks notifications as read after mute
před 3 roky
Sergey Suprunenko
25c69e271a
Make notifications about new statuses from muted threads read
před 3 roky
Sergey Suprunenko
0865f36965
Mark notifications about statuses from muted users as read automatically
před 3 roky
lain
29fa75d00d
Notification: For follows, notify the followed.
před 4 roky
Alexander Strizhakov
20c27bef40
renaming back and reject nil on create
před 4 roky
Alexander Strizhakov
6558f31cda
don't filter notifications for follow and move types
před 4 roky
Sergey Suprunenko
5af1bf443d
Skip notifications for statuses that contain an irreversible filtered word
před 4 roky
lain
09c5991f82
Apply suggestion to lib/pleroma/notification.ex
před 4 roky
lain
90083a754d
Notifications: Never return `nil` in the notification list.
před 4 roky
Mark Felder
fd5e797379
Simplify notification filtering settings further
před 4 roky
eugenijm
b15cfc3d36
Mastodon API: ensure the notification endpoint doesn't return less than the requested amount of records unless it's the last page
před 4 roky
lain
fc04a138d4
Apply suggestion to lib/pleroma/notification.ex
před 4 roky
rinpatch
3687788cf2
Merge branch 'notification-fixes' into 'develop'
Notification performance fixes
See merge request pleroma/pleroma!2595
před 4 roky
lain
40fc4e974e
Notfication: Add validation of notification types
před 4 roky
lain
9189b489ee
Migrations: Move Notification migration code to helper
před 4 roky
lain
9fa3f0b156
Notification: Change type of `type` to an enum.
před 4 roky
lain
115d08a754
Pipeline: Add a side effects step after the transaction finishes
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.
před 4 roky
lain
aa2ac76510
Notification: Don't break on figuring out the type of old EmojiReactions
před 4 roky
lain
e46aecda55
Notification: Fix notifications backfill for compacted activities
před 4 roky
lain
2c6ebe709a
Credo fixes
před 4 roky
lain
6cd2fa2a4c
Migrations: Add a migration to backfill notification types.
před 4 roky
lain
38dce485c4
Notification: Add function to backfill notification types
před 4 roky
lain
805ab86933
Notifications: Make notifications save their type.
před 4 roky
Mark Felder
9eea800026
Refactor notification settings
před 4 roky
lain
b8e029b5ea
Notification: Actually preload objects.
před 4 roky
lain
5fef405208
User: Change signature of get_users_from_set
před 4 roky
lain
8ae4d64d47
Apply suggestion to lib/pleroma/notification.ex
před 4 roky
lain
f57fa2a00d
Notifications: Simplify recipient calculation for some Activities.
Fixes the 'getting notfications for other people's posts' bug.
před 4 roky
Maksim Pechnikov
bd261309cc
added `unread_notifications_count` for `/api/v1/accounts/verify_credentials`
před 4 roky
eugenijm
441e28f365
Dismiss the follow request notification on rejection
před 4 roky
rinpatch
c75840f7b8
Merge branch 'follow-request-notifications' into 'develop'
Follow request notifications enforcement
See merge request pleroma/pleroma!2451
před 4 roky
rinpatch
7b05933677
Merge branch '1559-follow-request-notifications' into 'develop'
[#1559 ] Support for "follow_request" notifications
Closes #1559
See merge request pleroma/pleroma!2354
před 4 roky
Ivan Tashkinov
92efb888c7
Made follow request notifications non-optional (removed config switch).
před 4 roky
eugenijm
bef34568f0
Dismiss the follow request notification on rejection
před 4 roky
lain
6aa116eca7
Create activity handling: Flip it and reverse it
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.
před 4 roky
Ivan Tashkinov
b03aeae8b9
Apply suggestion to lib/pleroma/notification.ex
před 4 roky
Maksim Pechnikov
4b3b1fec4e
added an endpoint for getting unread notification count
před 4 roky
Ivan Tashkinov
f7e623c11c
[ #1364 ] Resolved merge conflicts with `develop`.
před 4 roky
lain
4576520461
Revert "Merge branch 'issue/1276' into 'develop'"
This reverts merge request !1877
před 4 roky
Ivan Tashkinov
99b0bc1989
[ #1364 ] Resolved merge conflicts with `develop`. Refactoring.
před 4 roky
Ivan Tashkinov
c556efb761
[ #1364 ] Enabled notifications on followed domain-blocked users' activities.
před 4 roky
Ivan Tashkinov
88b16fdfb7
[ #1364 ] Disabled notifications on activities from blocked domains.
před 4 roky
Ivan Tashkinov
1a4875adfa
[ #1559 ] Support for "follow_request" notifications (configurable).
(Not currently supported by PleromaFE, thus disabled by default).
před 4 roky