Age | Commit message (Collapse) | Author |
|
|
|
Display reposted replies with exclude_replies: true
See merge request pleroma/pleroma!3961
|
|
NSFW API Policy
See merge request pleroma/pleroma!3471
|
|
|
|
pleroma-ipfs_uploader
|
|
reject-replies-to-deleted
|
|
Search backend healthcheck process
See merge request pleroma/pleroma!4120
|
|
|
|
|
|
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
pleroma_ctl: Use realpath(1) instead of readlink(1)
See merge request pleroma/pleroma!4118
|
|
Bump minimum Elixir to 1.13
See merge request pleroma/pleroma!4014
|
|
From realpath(1) in POSIX 202x Draft 4.1:
> If file does not name a symbolic link, readlink shall write a diagnostic
> message to standard error and exit with non-zero status.
Which also doesn't includes `-f`, in preference of `realpath`.
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
|
|
|
|
Add "status" notification type
See merge request pleroma/pleroma!3659
|
|
|
|
Implement `/api/v1/accounts/familiar_followers`
See merge request pleroma/pleroma!4098
|
|
PleromaAPI: Simplify marking notifications as read
See merge request pleroma/pleroma!4111
|
|
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
This reverts merge request !4105
|
|
defined
|
|
Strip actor from objects before federating
Closes #3269
See merge request pleroma/pleroma!4105
|
|
|
|
Instance rules
See merge request pleroma/pleroma!3669
|
|
Fix processing of Web Push and streaming notifications
See merge request pleroma/pleroma!4032
|
|
Add new values to /api/v2/instance
Closes #3250 and #3251
See merge request pleroma/pleroma!4106
|
|
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
Removed back in 2019
https://github.com/mastodon/mastodon/pull/11213
|
|
Rich Media parsing was previously handled on-demand with a 2 second HTTP request timeout and retained only in Cachex. Every time a Pleroma instance is restarted it will have to request and parse the data for each status with a URL detected. When fetching a batch of statuses they were processed in parallel to attempt to keep the maximum latency at 2 seconds, but often resulted in a timeline appearing to hang during loading due to a URL that could not be successfully reached. URLs which had images links that expire (Amazon AWS) were parsed and inserted with a TTL to ensure the image link would not break.
Rich Media data is now cached in the database and fetched asynchronously. Cachex is used as a read-through cache. When the data becomes available we stream an update to the clients. If the result is returned quickly the experience is almost seamless. Activities were already processed for their Rich Media data during ingestion to warm the cache, so users should not normally encounter the asynchronous loading of the Rich Media data.
Implementation notes:
- The async worker is a Task with a globally unique process name to prevent duplicate processing of the same URL
- The Task will attempt to fetch the data 3 times with increasing sleep time between attempts
- The HTTP request obeys the default HTTP request timeout value instead of 2 seconds
- URLs that cannot be successfully parsed due to an unexpected error receives a negative cache entry for 15 minutes
- URLs that fail with an expected error will receive a negative cache with no TTL
- Activities that have no detected URLs insert a nil value in the Cachex :scrubber_cache so we do not repeat parsing the object content with Floki every time the activity is rendered
- Expiring image URLs are handled with an Oban job
- There is no automatic cleanup of the Rich Media data in the database, but it is safe to delete at any time
- The post draft/preview feature makes the URL processing synchronous so the rendered post preview will have an accurate rendering
Overall performance of timelines and creating new posts which contain URLs is greatly improved.
|
|
This reverts merge request !4101
|
|
|
|
Fixes #3250
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
Include image description in status media cards
See merge request pleroma/pleroma!4101
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
ReceiverWorker: Make sure non-{:ok, _} is returned as {:error, …}
See merge request pleroma/pleroma!4100
|
|
Prevent Media Helper from respawning ffmpeg for bad media
See merge request pleroma/pleroma!4086
|
|
Otherwise an error like `{:signature, {:error, {:error, :not_found}}}` ends up considered a success.
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
|
|
Fix BookmarkFolderView, add test
See merge request pleroma/pleroma!4096
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
|
|
activities
This also removes generation of notifications for blocked/filtered/muted users and threads.
|