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-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-13tests for Web/ActivityPub/RelayMaksim
2019-08-13tests for /web/mastodon_api/mastodon_api.exMaksim
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-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-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-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-05tests for CommonApi/UtilsMaksim
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
2019-08-03Remove spaces from the domain searchSergey Suprunenko
2019-08-03Handle MRF rejections of incoming AP activitiesSergey Suprunenko
2019-08-03Add preferredUsername to service actors so Mastodon can resolve themThibaut Girka
2019-08-02tasks/pleroma/user.ex: Fix documentation of --max-use and --expire-atHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1155 [ci skip]
2019-08-02Fix/mediaproxy whitelist base urlfeld
2019-08-02Merge branch 'develop' into feature/digest-emailRoman Chvanikov
2019-08-02Merge branch 'feature/hide-follows-remote' into 'develop'lain
Refactor Follows/Followers counter syncronization and set hide_followers/hide_follows for remote users See merge request pleroma/pleroma!1411
2019-08-01Add configurable length limits for `User.bio` and `User.name`Egor Kislitsyn
2019-07-31Merge branch 'fix/disallow-ostatus-follows-locked' into 'develop'kaniini
Disallow following locked accounts over OStatus See merge request pleroma/pleroma!1512
2019-07-31Disallow following locked accounts over OStatusrinpatch
2019-07-31test for Pleroma.Web.CommonAPI.Utils.get_by_id_or_ap_idMaksim
2019-07-31ostatus: explicitly disallow protocol downgrade from activitypubAriadne Conill
This closes embargoed bug #1135.
2019-07-31Add tests for counters being updated on followrinpatch
2019-07-31tests for TwitterApi/UtilControllerMaksim
2019-07-31Fix credo issuesrinpatch
2019-07-31Merge branch 'develop' into feature/hide-follows-remoterinpatch