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 anos atrás
lain
ca0e6e702b
ChatMessageReference -> Chat.MessageReference
4 anos atrás
lain
f3ccd50a33
ChatMessageReferences: Adjust views
4 anos atrás
rinpatch
8f6d428880
AccountView: Use mediaproxy URLs for emojis
Also use atom keys in emoji maps instead of binaries
Closes #1810
4 anos atrás
lain
23e248694d
Announcements: Fix all tests.
4 anos atrás
Egor Kislitsyn
6609714d66
Move Scrobble views to ScrobbleView
4 anos atrás
Egor Kislitsyn
7803a85d2c
Add OpenAPI spec for StatusController
4 anos atrás
Ivan Tashkinov
aee88d11be
[ #2456 ] Removed support for embedded relationships in account view.
4 anos atrás
Maksim Pechnikov
4d71c4b805
fixed 'source' object in verify_credentials
4 anos atrás
Maksim Pechnikov
bd261309cc
added `unread_notifications_count` for `/api/v1/accounts/verify_credentials`
4 anos atrás
Egor Kislitsyn
332e016bcd
Add OpenAPI spec for ScheduledActivityController
4 anos atrás
lain
db55dc9445
ActivityPub: Remove `react_with_emoji`.
4 anos atrás
Ivan Tashkinov
d5cdc907e3
Restricted embedding of relationships where applicable (statuses / notifications / accounts rendering).
Added support for :skip_notifications for accounts listing (index.json).
Adjusted tests.
4 anos atrás
lain
5102468d0f
Polls: Persist and show voters' count
4 anos atrás
lain
c845820911
Notifications: Create a chat notification.
4 anos atrás
lain
ca598e9c27
AccountView: Return user ap_id.
4 anos atrás
Egor Kislitsyn
cf4ebba774
Cleanup SubscriptionController
4 anos atrás
Maksim Pechnikov
4b3b1fec4e
added an endpoint for getting unread notification count
4 anos atrás
lain
4576520461
Revert "Merge branch 'issue/1276' into 'develop'"
This reverts merge request !1877
4 anos atrás
Haelwenn (lanodan) Monnier
9172d719cc
profile emojis in User.emoji instead of source_data
4 anos atrás
Ivan Tashkinov
aa78325117
[ #2323 ] Fixed a typo causing /accounts/relationships to render default relationships. Improved the tests.
4 anos atrás
Haelwenn (lanodan) Monnier
185520d1b4
Provide known-good user.uri, remove User.profile_url/1
4 anos atrás
Haelwenn (lanodan) Monnier
b30fb1f3bb
User: Fix use of source_data in profile_url/1
4 anos atrás
Haelwenn (lanodan) Monnier
2553400a66
Initial failing test statement against funkwhale channels
4 anos atrás
Ivan Tashkinov
dfbc05d496
Misc refactoring / tweaks (`ThreadMute.exists?/2`).
4 anos atrás
Ivan Tashkinov
460e41585c
Further preloading (more endpoints), refactoring, tests.
4 anos atrás
Haelwenn (lanodan) Monnier
15be6ba9c2
AccountView: fix for other forms of <br> in bio
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1643
4 anos atrás
Alexander Strizhakov
f3791add99
removing with_move parameter
4 anos atrás
Haelwenn (lanodan) Monnier
863ec33ba2
Add support for funkwhale Audio activity
reel2bits fixture not included as it lacks the Actor fixture for it.
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1624
Closes: https://git.pleroma.social/pleroma/pleroma/issues/764
4 anos atrás
Alexander Strizhakov
f0753eed0f
removing try block in tesla request
added mocks for tests which fail with Tesla.Mock.Error
4 anos atrás
Mark Felder
05da5f5cca
Update Copyrights
4 anos atrás
Haelwenn (lanodan) Monnier
6da6540036
Bump copyright years of files changed after 2020-01-07
Done via the following command:
git diff fcd5dd259a
--stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
4 anos atrás
Haelwenn (lanodan) Monnier
1257331291
MastodonAPI.StatusView: Do not use site_name
site_name allow to spoof the origin of the domain and so hacks like:
<!-- served on https://hacktivis.me/tmp/joinmastodon.org.html -->
<meta property="og:image" content="https://hacktivis.me/datalove/img/meme/pleroma/mastodon%2C%20forbidden%20amuse%20yourself.jpeg " />
<meta property="og:title" content="Mastodon: Forbidden Amuse Yourself" />
<meta property="og:site_name" content="joinmastodon.org" />
<meta http-equiv="refresh" content="0; url=http://joinmastodon.org/ ">
4 anos atrás
Lain Soykaf
f875b9650a
EmojiReactions: Add Mastodon-aligned reaction endpoints, change response
4 anos atrás
Lain Soykaf
8a79f20c21
EmojiReactions: Rename to EmojiReacts
4 anos atrás
rinpatch
983a87175e
mastodon API: do not sanitize html in non-html fields
4 anos atrás
lain
a802e07241
Emoji Reactions: Add `reacted` field to emoji reactions
4 anos atrás
lain
347f3ed2c6
Emoji reactions: Change api format once more
4 anos atrás
lain
615b72238e
Notifications: Add emoji reaction notifications
4 anos atrás
lain
dd3fc50ea4
Emoji reactions: Change cache and reply format
4 anos atrás
lain
4c5b5f14dc
StatusView: Add `emoji_reactions`
4 anos atrás
Thomas Citharel
d2f1c4f658
Add ActivityPub Object Event type support
Adds Event support in the same way Video objects are handled, with the
name of the object as message header.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
4 anos atrás
Hakaba Hitoyo
701815e64c
[ActivityPub] Configurable ActivityPub actor type
4 anos atrás
Maksim Pechnikov
ed7f850ad2
fix test
4 anos atrás
Egor Kislitsyn
624e720aa4
Add `with_move` query param to the notifications API
4 anos atrás
Maksim Pechnikov
a52da55eb9
added User.NotificationSetting struct
4 anos atrás
Egor Kislitsyn
f595cfe623
Remove User.user_info/2
4 anos atrás
Egor Kislitsyn
1fc28a4b44
Add a view for the move notification
4 anos atrás
Ivan Tashkinov
de892d2fe1
[ #1335 ] Reorganized users.subscribers as UserRelationship. Added tests for UserRelationship-related functionality.
4 anos atrás
Ivan Tashkinov
ba5cc30165
[ #1335 ] Implemented notification mutes and reblog mutes as UserRelationships. User to UserRelationship relations and functions refactoring.
4 anos atrás