aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/object.ex
AgeCommit message (Collapse)Author
2021-05-31Merge remote-tracking branch 'pleroma/develop' into cycles-base-urlAlex Gleason
2021-05-31Deprecate Pleroma.Web.base_url/0Alex Gleason
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
2021-02-11[#3213] Reorganized hashtags cleanup. Transaction-wrapped ↵Ivan Tashkinov
Hashtag.get_or_create_by_names/1. Misc. improvements.
2021-01-31[#3213] Added HashtagsCleanupWorker periodic job.Ivan Tashkinov
2021-01-25[#3213] Switched to using embedded hashtags in Object.hashtags/1Ivan Tashkinov
(to avoid extra joins / preload in timeline queries).
2021-01-21[#3213] Ignoring of blank elements from objects.data->tag.Ivan Tashkinov
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-07[#3213] Removed PK from hashtags_objects table. Improved hashtags_transfer ↵Ivan Tashkinov
mix task (logging of failed ids).
2021-01-04Object: Rework how Object.normalize workslain
Now it defaults to not fetching, and the option is named.
2020-12-30[#3213] Made Object.object_data_hashtags/1 handle both AS2 and plain text ↵Ivan Tashkinov
hashtags.
2020-12-30[#3213] Fixed Object.object_data_hashtags/1 to process only AS2 elements of ↵Ivan Tashkinov
`data.tag` (basing on #2984).
2020-12-28Revert "Merge branch 'features/hashtag-column' into 'develop'"Haelwenn
This reverts merge request !2824
2020-12-28Merge branch 'features/hashtag-column' into 'develop'Haelwenn
Insert text representation of hashtags into object["hashtags"] See merge request pleroma/pleroma!2824
2020-12-28Pleroma.Object/1: take %Object{} as argument insteadHaelwenn (lanodan) Monnier
2020-12-28[#3213] Made Object.hashtags/1 work with :hashtags assoc. Adjusted tests.Ivan Tashkinov
2020-12-26Merge remote-tracking branch 'remotes/origin/develop' into ↵Ivan Tashkinov
feature/object-hashtags-rework
2020-12-22Added Hashtag entity and objects-hashtags association with auto-sync with ↵Ivan Tashkinov
`data.tag` on Object update.
2020-12-22Create Object.hashtags/1 wrapperHaelwenn (lanodan) Monnier
2020-12-21Encapsulation of tags / hashtags fetching from objects.Ivan Tashkinov
2020-12-18Cachex: Make caching provider switchable at runtime.lain
Defaults to Cachex.
2020-08-05Fix linting.lain
2020-08-05Apply 1 suggestion(s) to 1 file(s)lain
2020-07-15Fix multiple-choice poll detectionHaelwenn (lanodan) Monnier
2020-05-20Merge branch 'issue/1509' into 'develop'lain
[#1509] purge media from cache after delete See merge request pleroma/pleroma!2539
2020-05-18MediaController: enforced owner-only access in :show action.Ivan Tashkinov
Improved error response on denied access (now 403). Adjusted tests.
2020-05-15added media proxy invalidationMaksim Pechnikov
2020-04-22Polls: Persist and show voters' countlain
2020-03-02Merge branch 'feature/1482-activity_pub_transactions' into 'develop'Haelwenn
ActivityPub actions & side-effects in transaction Closes #1482 See merge request pleroma/pleroma!2089
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-03-01fix for compilingAlexander Strizhakov
2020-03-01ActivityPub actions & side-effects in transactionAlexander Strizhakov
2020-02-09[#1505] Fixed `replies` serialization (included objects' ids instead of ↵Ivan Tashkinov
activities' ids).
2020-01-31Make attachments cleanup optionalRoman Chvanikov
2020-01-19Delete attachments asynchronouslyRoman Chvanikov
2020-01-17Delete attachments after object and cache cleanupRoman Chvanikov
2020-01-14Check if object->data is array when looking up attachment objects to deleteRoman Chvanikov
2020-01-12Delete attachments when status is deletedRoman Chvanikov
2019-12-11Merge branch 'develop' into issue/1411Mark Felder
2019-12-05ActivityPub: Fix deletes being exempt from MRFrinpatch
Closes #1461
2019-12-01Merge branch 'develop' into issue/1411Maksim Pechnikov
2019-11-23fetcher: move local object checking into a reusable functionrinpatch
2019-11-21Object: Use inspect to log missing preload.lain
2019-11-18updated fetch_favoritesMaksim Pechnikov
2019-10-18Fix a migration wiping user info of users that don't have any mutesrinpatch
And introduce safe_jsonb_set
2019-09-23Merge branch 'develop' into tests/mastodon_api_controller.exMaksim Pechnikov
2019-09-18Fix wrong argument order when calling NaiveDateTime.diffrinpatch
2019-09-18Initial poll refresh supportrinpatch
Implement refreshing the object with an interval and call the function when getting the poll.
2019-09-09Add Pleroma.Plugs.Cacheminibikini
2019-09-06tests for mastodon_api_controller.exMaksim Pechnikov