aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-08-13Merge branch 'length-limit-bio' into 'develop'rinpatch
Add configurable length limits for `User.bio` and `User.name` See merge request pleroma/pleroma!1515
2019-08-13mrf_vocabulary: add describe API supportAriadne Conill
2019-08-13fix credoAriadne Conill
2019-08-13Merge branch 'fix/mastoapi-more-object-preloads' into 'develop'Haelwenn
Mastodon API: Preloading and normalization optimizations See merge request pleroma/pleroma!1558
2019-08-14Nicer formatting for safe_render errorsrinpatch
2019-08-13nodeinfo: use MRF.describe() instead of hardcoded MRF transparency stuffAriadne Conill
2019-08-13MRF: add describe() to all modules, add base MRF configuration to base ↵Ariadne Conill
describe()
2019-08-13MRF: add describe() for gathering and describing the MRF configurationAriadne Conill
2019-08-13tests for Web/ActivityPub/RelayMaksim
2019-08-13tests for /web/mastodon_api/mastodon_api.exMaksim
2019-08-13MRF: add vocabulary policy moduleAriadne Conill
2019-08-13Mastodon API: Preloading and normalization optimizationsrinpatch
- Try to normalize the activity instead of object wherever possible - Put the `user` key on non-home timelines as well so bookmarks and thread mutes are preloaded there as well - Skip trying to get the user when rendering mentions if the id == as:Public or user's follower collection - Preload the object when getting replied to activities and do not crash if it's not present This almost solves the problem of Pleroma hammering the db with a lot of queries when rendering timelines, the things left are 1. When rendering mentions and the user is not in cache, save it for later and request all uncached users in one go 2. Somehow get rid of needing to get the latest follow activity to detect the value of `requested` in a relationship. (create a database view for user relationship and cache it maybe?)
2019-08-13config: remove legacy activitypub accept_blocks settingAriadne Conill
Anyone who is interested in dropping blocks can write their own MRF policy at this point. This setting predated the MRF framework. Disabling the side effect (unsubscription) is still a config option per policy.
2019-08-12ConversationView: Align parameter names with other views.lain
2019-08-12Conversation: Add endpoint to get a conversation by id.lain
2019-08-12Conversations: Use 'recipients' for accounts in conversation view.lain
According to gargron, this is the intended usage.
2019-08-11Do not fetch the reply object in `fix_type` unless the object has therinpatch
`name` key and use a depth limit when fetching it
2019-08-10MRF: ensure that subdomain_match calls are case-insensitiveAriadne Conill
2019-08-10Merge branch 'develop' into 'fix/hide-follows-counters'kaniini
# Conflicts: # CHANGELOG.md
2019-08-10Strip internal fields including likes from incoming and outgoing activitiesSergey Suprunenko
2019-08-10tests for Pleroma.UploadersMaksim
2019-08-10Mastodon API: Fix thread mute detectionrinpatch
It was calling CommonAPI.thread_muted? with post author's account instead of viewer's one.
2019-08-10Uploader.S3 added support stream uploadsMaksim
2019-08-09Fix deactivated user deletionMaxim Filippov
2019-08-09Mastodon API: Set follower/following counters to 0 when hidingrinpatch
followers/following is enabled We are already doing that in AP representation, so I think we should do it here as well for consistency.
2019-08-08Merge branch 'feature/digest-email' into 'develop'lain
Feature/digest email See merge request pleroma/pleroma!1078
2019-08-08Merge remote-tracking branch 'origin/develop' into pleroma-conversationslain
2019-08-07Return profile URL in MastodonAPI's `url` fieldThibaut Girka
2019-08-07Simplify logic to mention.js `url` fieldThibaut Girka
`User.profile_url` already fallbacks to ap_id
2019-08-07Return profile URL when available instead of actor URI for MastodonAPI ↵Thibaut Girka
mention URL Fixes #1165
2019-08-06Merge branch 'fix/object-reembeds' into 'develop'Haelwenn
Do not rembed the object after updating it Closes #1142 See merge request pleroma/pleroma!1538
2019-08-07Do not rembed the object after updating itrinpatch
2019-08-07OStatus Announce Representer: Do not depend on the object being embeddedrinpatch
in the Create activity
2019-08-07Stop depending on the embedded object in restrict_favorited_byrinpatch
2019-08-06[#1150] fixed parser TwitterCardMaksim
2019-08-06Conversation: Rename function to better express what it does.lain
2019-08-06Participation: Setting recipients will always add the owner.lain
2019-08-05tests for CommonApi/UtilsMaksim
2019-08-05Linting.lain
2019-08-05CommonAPI: Replies to conversations also get the correct context id.lain
2019-08-05Pleroma Conversations API: Add a way to set recipients.lain
2019-08-04Remove Reply-To from report emailsEugenij
2019-08-04Merge branch 'feature/relay-list-task' into 'develop'kaniini
tasks: relay: add list task Closes #1101 See merge request pleroma/pleroma!1528
2019-08-04Do not add the "next" key to likes.json if there is no more itemsSergey Suprunenko
2019-08-03tasks: relay: add list taskAriadne Conill
2019-08-03templates/layout/app.html.eex: Style anchorsHaelwenn (lanodan) Monnier
[ci skip]
2019-08-03Merge branch 'patch-2' into 'develop'kaniini
Add preferredUsername to service actors so Mastodon can resolve them See merge request pleroma/pleroma!1526
2019-08-03RefactorThibaut Girka
2019-08-03Only add `preferredUsername` to service actor json when the underlying user ↵Thibaut Girka
actually has a username
2019-08-03Admin fixesAlexander Strizhakov