aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/activity.ex
AgeCommit message (Collapse)Author
2019-10-04Replace `Pleroma.FlakeId` with `flake_id` hex packageEgor Kislitsyn
2019-09-13Cleanup Pleroma.Activity and Pleroma.Web.ActivityPub.UtilsEgor Kislitsyn
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.
2019-07-11Extend Pleroma.Pagination to support offset-based pagination, use ↵Eugenij
async/await to execute status and account search in parallel
2019-06-05Contain search for unauthenticated usersEgor Kislitsyn
2019-05-21Add virtual :thread_muted? fieldAaron Tinio
that may be set when fetching activities
2019-05-16Add Reports to Admin APISergey Suprunenko
2019-05-16Use named binding to conditionally join objectAaron Tinio
2019-05-14Merge remote-tracking branch 'pleroma/develop' into feature/disable-accountEgor Kislitsyn
2019-05-08Merge developAlexander Strizhakov
Merge conflict in lib/pleroma/activity.ex
2019-05-07Remove `bookmarks` assoc and add a fake `bookmark` assoc insteadrinpatch
2019-05-07Use with_preloaded_bookmark in create_by_object_ap_id_with_objectrinpatch
2019-05-07- Actually use preloaded bookmarks in viewsrinpatch
- Preload bookmarks in bookmark timeline - Rework bookmark preload tests
2019-05-07Preload bookmarks wherever the object is preloadedrinpatch
2019-05-07Merge remote-tracking branch 'pleroma/develop' into feature/disable-accountEgor Kislitsyn
2019-05-06Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into ↵Alexander Strizhakov
feature/845-improve-status-deletion
2019-04-22Merge remote-tracking branch 'pleroma/develop' into feature/disable-accountEgor Kislitsyn
2019-04-18Add a guard to fetching reply activityrinpatch
2019-04-17Fix delete-by_ap_id to expect not only embeded objectsrinpatch
2019-04-17Remove updating reply count for embeded objectsrinpatch
2019-04-17Merge branch 'develop' into feature/database-compactionrinpatch
2019-04-15Remove inReplyToStatusIdrinpatch
2019-04-11move user disable into deactivationEgor Kislitsyn
2019-04-11Merge remote-tracking branch 'pleroma/develop' into feature/disable-accountEgor Kislitsyn
2019-04-06Handle `scheduled_at` on status creation.eugenijm
2019-03-26Increment replies_count on replies (MastoAPI)eugenijm
2019-03-25fix up missing announcements with preloadsWilliam Pitcock
2019-03-23activity: use left join instead of inner join when fetching activities that ↵William Pitcock
may or may not have a child object
2019-03-23activity: add get_by_ap_id_with_object()William Pitcock
2019-03-23formattingWilliam Pitcock
2019-03-23activity: fix credo nitpickWilliam Pitcock
2019-03-23activity: add with_preloaded_object() convenienceWilliam Pitcock
2019-03-22object: add support for preloading objects when walking an activity graph in ↵William Pitcock
normal form
2019-03-21Merge branch 'ecto-3-migration' into 'develop'rinpatch
Ecto 3.0.7 (ecto_sql 3.0.5) migration See merge request pleroma/pleroma!957
2019-03-20Ecto 3.0.5 migrationrinpatch
kms
2019-03-18Added support for exclude_types, limit, and min_id in Mastodoneugenijm
notifications. Unify Mastodon-compatible pagination logic.
2019-03-13[Credo] fix Credo.Check.Readability.AliasOrderHaelwenn (lanodan) Monnier
2019-03-11Broadcast deleted activity id on deletion to conform to MastoAPI streamig speceugenijm
2019-03-04allow users to disable their own accountEgor Kislitsyn
2019-02-20ReportsEgor
2019-02-09de-group alias/esHaelwenn (lanodan) Monnier
2019-01-25Merge branch 'classic-flakeids' into 'develop'kaniini
Flake Ids for Users and Activities Closes #450 See merge request pleroma/pleroma!645
2019-01-23Merge branch 'develop' into rename/pleroma_activity_consistencylain
2019-01-23Flake Ids for Users and Activitieshref