aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/activity.ex
AgeCommit message (Collapse)Author
2021-03-25removeing corresponding add activityAlexander Strizhakov
2021-03-25Let pins federateAlexander Strizhakov
- save object ids on pin, instead of activity ids - pins federation - removed pinned_activities field from the users table - activityPub endpoint for user pins - pulling remote users pins
2021-01-13Merge remote-tracking branch 'remotes/origin/develop' into ↵Ivan Tashkinov
feature/object-hashtags-rework
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2021-01-04Object: Rework how Object.normalize workslain
Now it defaults to not fetching, and the option is named.
2020-12-31Alternative implementation of hashtag-filtering queries in ActivityPub. ↵Ivan Tashkinov
Fixed GROUP BY clause for aggregation on hashtags.
2020-12-18Cachex: Make caching provider switchable at runtime.lain
Defaults to Cachex.
2020-12-04Merge branch 'issue/2256' into 'develop'feld
[#2256] added subject actor to moderation log See merge request pleroma/pleroma!3164
2020-11-19added subject actor to moderation logMaksim Pechnikov
2020-11-19little fixAlexander Strizhakov
2020-11-19fix for mastodon forwarded reportsAlexander Strizhakov
2020-11-02Permit fetching individual reports with notes preloadedMark Felder
2020-09-10pin/unpin for activities with expires_at optionAlexander Strizhakov
2020-09-10don't expire pinned postsAlexander Strizhakov
2020-09-10schedule activity expiration in ObanAlexander Strizhakov
2020-08-12don't load pinned activities in due_expirationsAlexander Strizhakov
2020-06-13Merge branch '1851-favorites-pagination' into 'develop'rinpatch
StatusController: Correctly paginate favorites. Closes #1851 See merge request pleroma/pleroma!2636
2020-06-09StatusController: Correctly paginate favorites.lain
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.
2020-06-02Activity: Remove notifications-related functions.lain
2020-04-09[#1559] Addressed code review requests.Ivan Tashkinov
2020-04-07[#1559] Support for "follow_request" notifications (configurable).Ivan Tashkinov
(Not currently supported by PleromaFE, thus disabled by default).
2020-03-25[#1364] Minor improvements / comments.Ivan Tashkinov
Further fixes of incorrect usage of "relations" as a short form of "relationships".
2020-03-15[#1364] Improved control over generation / sending of notifications. Fixed ↵Ivan Tashkinov
blocking / muting users notifications issue. Added tests.
2020-03-02relay list shows hosts without accepted followAlexander Strizhakov
2020-03-02Bump copyright years of files changed after 2020-01-07Haelwenn (lanodan) Monnier
Done via the following command: git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
2020-02-25Fix Dialyzer warningsEgor Kislitsyn
2020-02-06EmojiReactions: Rename to EmojiReactsLain Soykaf
2020-01-22Notifications: Add emoji reaction notificationslain
2020-01-21exclude blocked user posts from search resultsMaksim Pechnikov
2019-12-12Merge branch 'develop' into feature/report-notesMaxim Filippov
2019-12-05ActivityPub: Fix deletes being exempt from MRFrinpatch
Closes #1461
2019-12-04Add report notesMaxim Filippov
2019-12-02Merge branch 'feature/move-activity' into 'develop'lain
Support "Move" activity Closes #1316 See merge request pleroma/pleroma!1883
2019-11-27Add a view for the move notificationEgor Kislitsyn
2019-11-26Add `direct_conversation_id` to web push payloadEgor Kislitsyn
2019-11-11Code style fixesMaxim Filippov
2019-10-07Line is too long!Maxim Filippov
2019-10-07Admin API: Reports, grouped by statusMaxim Filippov
2019-09-26Merge branch 'develop' into tests/mastodon_api_controller.exMaksim Pechnikov
2019-09-25Replace `Pleroma.FlakeId` with `flake_id` hex packageEgor Kislitsyn
2019-09-23Merge branch 'develop' into tests/mastodon_api_controller.exMaksim Pechnikov
2019-09-13Cleanup Pleroma.Activity and Pleroma.Web.ActivityPub.UtilsEgor Kislitsyn
2019-09-13fix Activity.get_by_idMaksim Pechnikov
2019-09-10Add an endpoint to get multiple statuses by IDsEgor Kislitsyn
2019-09-09Add Pleroma.Plugs.Cacheminibikini
2019-09-06activity: when restricting deactivated users, precalculate the user listAriadne Conill
the PostgreSQL query planner is easily confused due to the complexity of certain queries we make. while we plan to simplify these queries through unification of activities and objects, we are not yet there. it has been discovered that using a precalculated list of deactivated users encourages the query planner to prefer simpler indices instead of the activity_visibility index. accordingly, drop the subquery and precalc the user list instead.
2019-08-24Merge remote-tracking branch 'origin/develop' into ↵lain
sixohsix/pleroma-post_expiration
2019-08-15Hide muted theads from home/public timelines unless `with_muted` is setrinpatch
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-07-24Add activity expirations tableMike Verdone
Add a table to store activity expirations. An activity can have zero or one expirations. The expiration has a scheduled_at field which stores the time at which the activity should expire and be deleted.