Egor Kislitsyn
bd63089a63
Fix tests
преди 4 години
eugenijm
b15cfc3d36
Mastodon API: ensure the notification endpoint doesn't return less than the requested amount of records unless it's the last page
преди 4 години
href
cb7be6eef2
Remove use of atoms in MRF.UserAllowListPolicy
преди 4 години
Egor Kislitsyn
520367d6fd
Fix atom leak in Rich Media Parser
преди 4 години
Ivan Tashkinov
2188097066
[ #1794 ] Fixes URI query handling for hashtags extraction in search.
преди 4 години
Haelwenn (lanodan) Monnier
40970f6bb9
New mix task: pleroma.user reset_mfa <nickname>
преди 4 години
Egor Kislitsyn
1f35acce54
Merge OGP parser with TwitterCard
преди 4 години
Ivan Tashkinov
b28cec4271
[ #1794 ] Fixes URI query handling for hashtags extraction in search.
преди 4 години
lain
5d87405b51
ActivityPubTest: Update test for atomized parameters.
преди 4 години
Thibaut Girka
570123ae21
Add test
преди 4 години
lain
600e2ea073
ActivityPubTest: Make test easier to understand.
преди 4 години
lain
9e411372d0
ActivityPub: Don't show announces of your own objects in timeline.
преди 4 години
Egor Kislitsyn
3dd1de61a7
Add `url` field to AdminAPI.AccountView
преди 4 години
lain
063e6b9841
StatusController: Correctly paginate favorites.
Favorites were paginating wrongly, because the pagination headers
where using the id of the id of the `Create` activity, while the
ordering was by the id of the `Like` activity. This isn't easy to
notice in most cases, as they usually have a similar order because
people tend to favorite posts as they come in. This commit adds a
way to give different pagination ids to the pagination helper, so
we can paginate correctly in cases like this.
преди 4 години
lain
e1bc37d118
MigrationHelper: Move notification backfilling to own module.
преди 4 години
Egor Kislitsyn
d44843e677
Restrict ActivityExpirationPolicy to Notes only
преди 4 години
lain
89b85f6529
ChatController: Remove nonsensical pagination.
преди 4 години
lain
fe2a5d0614
ChatController: Make last_read_id mandatory.
преди 4 години
Sergey Suprunenko
8d9e586887
Delete pending follow requests on user deletion
преди 4 години
lain
801e668a97
ChatController: Add `last_read_id` option to mark_as_read.
преди 4 години
lain
2cdaac4330
SideEffects: Move streaming of chats to after the transaction.
преди 4 години
lain
f4cf4ae16e
ChatController: Use new oauth scope *:chats.
преди 4 години
lain
9189b489ee
Migrations: Move Notification migration code to helper
преди 4 години
lain
ca0e6e702b
ChatMessageReference -> Chat.MessageReference
преди 4 години
lain
4e8c0eecd5
WebPush: Don't break on contentless chat messages.
преди 4 години
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.
преди 4 години
lain
0efa8aa0b9
Transmogrifier: For follows, create notifications last.
As the notification type changes depending on the follow state,
the notification should not be created and streamed out before the
state settles. For this reason, the notification creation has been
delayed until it's clear if the user has been followed or not.
This is a bit hacky but it will be properly rewritten using the
pipeline soon.
преди 4 години
lain
cc8a7dc205
SideEffects / ChatView: Add an unread cache.
This is to prevent wrong values in the stream.
преди 4 години
lain
aa2ac76510
Notification: Don't break on figuring out the type of old EmojiReactions
преди 4 години
lain
d44da91bbf
SubscriptionOperation: Let chat mentions through.
преди 4 години
Egor Kislitsyn
317e2b8d61
Use atoms as keys in `ActivityPub.fetch_*` functions options
преди 4 години
lain
56dfa0e0fb
Transmogrifier: Update notification after accepting.
преди 4 години
lain
9a53f619e0
Apply suggestion to test/chat_message_reference_test.exs
преди 4 години
lain
41503b1673
Apply suggestion to test/web/activity_pub/transmogrifier/chat_message_test.exs
преди 4 години
lain
00748e9650
ChatMessageReferences: Change seen -> unread
преди 4 години
lain
b952f3f379
WebPush: Push out chat message notications.
преди 4 години
lain
5d7dda883e
SideEffectsTest: More tests.
преди 4 години
Egor Kislitsyn
a8132690bd
Fix credo
преди 4 години
lain
b3407344d3
ChatController: Add function to mark single message as read.
преди 4 години
lain
c020fd4352
ChatMessageReferenceView: Return read status as `unread`.
преди 4 години
Egor Kislitsyn
c16315d055
Add OpenAPI spec for AdminAPI.ReportController
преди 4 години
Egor Kislitsyn
9d572f2f66
Move report actions to AdminAPI.ReportController
преди 4 години
lain
fb4ae9c720
Streamer, SideEffects: Stream out ChatMessageReferences
Saves us a few calles to fetch things from the DB that we already
have.
преди 4 години
lain
7f5c5b11a5
Chats: Remove `unread` from the db, calculate from unseen messages.
преди 4 години
lain
2591745fc2
ChatMessageReferences: Move tests
преди 4 години
lain
f3ccd50a33
ChatMessageReferences: Adjust views
преди 4 години
lain
aa22fce8f4
ChatMessageReference: Introduce and switch in chat controller.
преди 4 години
lain
38dce485c4
Notification: Add function to backfill notification types
преди 4 години
lain
37542a9dfa
Activity: Remove notifications-related functions.
преди 4 години
lain
127ccc4e1c
NotificationController: Don't return chat_mentions by default.
преди 4 години