aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/activity
AgeCommit message (Collapse)Author
2022-09-03Merge branch 'from/upstream-develop/tusooa/streaming-fix' into 'develop'Haelwenn
Streaming fix Closes #2796 See merge request pleroma/pleroma!3738
2022-09-03Merge branch 'from/upstream-develop/tusooa/assoc-object-id' into 'develop'Haelwenn
Add function to calculate associated object id Closes #2307 See merge request pleroma/pleroma!3692
2022-09-03Merge branch 'from/upstream-develop/tusooa/edits' into 'develop'Haelwenn
Editing Closes #1429, #2859, and #2288 See merge request pleroma/pleroma!3678
2022-08-31Exclude Announce instead of restricting to Create in visibility_tagsTusooa Zhu
2022-08-31Do not stream out Announces to public timelinesTusooa Zhu
2022-08-27Make local-only posts stream in local timelineTusooa Zhu
2022-08-27Do not stream out Create of ChatMessageTusooa Zhu
2022-08-20Switch to associated_object_id indexTusooa Zhu
2022-06-09Fix incorrectly cached content after editingTusooa Zhu
2022-05-06LintTusooa Zhu
Ref: fix-local-public
2022-05-06Make local-only statuses searchableTusooa Zhu
Ref: fix-local-public
2022-02-25Copyright bump for 2022Sean King
2021-08-27Make activity search properly use GIN indexesTusooa Zhu
The original approach to search in GIN indexes is to use `to_tsvector(text)` in the WHERE clause of the query. According to postgres docs [pdoc], this method does not make use of the index, while `to_tsvector(config, text)` does. This commit changed the query to use the two-argument `to_tsvector()`. [pdoc]: https://www.postgresql.org/docs/12/textsearch-tables.html To obtain the search config in use, we make a query to the db first. The `::regconfig::oid` hack is needed because Postgrex does not support regconfig type directly [postgrexbug]. I use the conversion from and to `oid` instead of `text` because I tested in the actual DB and querying using the conversion via `text` is slow just as the one-argument `to_tsvector()` variant. [postgrexbug]: https://github.com/elixir-ecto/postgrex/issues/502 BUG: https://git.pleroma.social/pleroma/pleroma/-/issues/2758
2021-08-12Activity.Search: fallback on status resolution on DB TimeoutHaelwenn (lanodan) Monnier
2021-05-29Merge remote-tracking branch 'pleroma/develop' into cycles-htmlAlex Gleason
2021-05-29Break out activity-specific HTML functions into Pleroma.Activity.HTMLAlex Gleason
Fixes cycles in lib/pleroma/ecto_type/activity_pub/object_validators/safe_text.ex
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-02-11Merge remote-tracking branch 'remotes/origin/develop' into ↵Ivan Tashkinov
feature/object-hashtags-rework # Conflicts: # CHANGELOG.md # lib/mix/tasks/pleroma/database.ex # lib/pleroma/web/templates/feed/feed/_activity.rss.eex
2021-02-06Update priv/repo/migrations/20190501125843_add_fts_index_to_objects.exs, ↵hyperion
priv/repo/optional_migrations/rum_indexing/20190510135645_add_fts_index_to_objects_two.exs files
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-28Revert "Merge branch 'features/hashtag-column' into 'develop'"Haelwenn
This reverts merge request !2824
2020-12-28Pleroma.Object/1: take %Object{} as argument insteadHaelwenn (lanodan) Monnier
2020-12-22Insert text representation of hashtags into object["hashtags"]Haelwenn (lanodan) Monnier
Includes a new mix task: pleroma.database fill_old_hashtags
2020-12-21Encapsulation of tags / hashtags fetching from objects.Ivan Tashkinov
2020-11-23Search: Save detected pg version in a persistent term.lain
2020-11-20Search: Change search method based on detected pg versionlain
2020-11-19Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearchlain
2020-11-19Search: Only skip ordering the rum index.lain
2020-11-19Search: Add option to search with the websearch functionlain
2020-11-19Activity search: Fix order of resultslain
Greatly speeds up the search for RUM.
2020-10-08Remote Timeline: add Streaming supportAlex Gleason
2020-05-26Activity.Queries: Use correct actor restriction.lain
2020-03-24Implemented preloading of relationships with parent activities' actors for ↵Ivan Tashkinov
statuses/timeline rendering. Applied preloading for notifications rendering. Fixed announces rendering issue (preloading-related).
2020-03-13Fix hashtags WebSocket streamingEgor Kislitsyn
2020-03-03Update CopyrightsMark Felder
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-20[#1505] Fixed @spec for Queries.by_object_in_reply_to_id/3Ivan Tashkinov
2020-01-22[#1505] Added Mastodon-compatible `replies` collection to Note federated ↵Ivan Tashkinov
representation.
2020-01-21exclude blocked user posts from search resultsMaksim Pechnikov
2019-12-09status search: prefer the status fetched by url over other resultsrinpatch
2019-12-05ActivityPub: Fix deletes being exempt from MRFrinpatch
Closes #1461
2019-09-18Bump copyright years of files changed in 2019Haelwenn (lanodan) Monnier
Done via the following command: git diff 1e6c102bfcfe0e4835a48f2483f2376f9bf86a20 --stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
2019-09-16Revert "Merge branch 'revert-4fabf83a' into 'develop'"Egor Kislitsyn
This reverts commit fe7fd331263007e0fb2877ef7370a09a9704da36, reversing changes made to 4fabf83ad01352442906d79187aeab4c777f4df8.
2019-09-16Revert "Merge branch 'streamer-refactoring' into 'develop'"kaniini
This reverts merge request !1653
2019-09-16Streamer refactoringSteven Fuchs
2019-09-13Cleanup Pleroma.Activity and Pleroma.Web.ActivityPub.UtilsEgor Kislitsyn
2019-08-27added tests for ActivityPub.like\unlikeMaksim Pechnikov