Age | Commit message (Collapse) | Author |
|
Oban queue simplification
See merge request pleroma/pleroma!4123
|
|
|
|
tusooa/extract-fix
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
Instance rules
See merge request pleroma/pleroma!3669
|
|
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.
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
# Conflicts:
# docs/development/API/differences_in_mastoapi_responses.md
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
Currently translated at 63.1% (60 of 95 strings)
Translation: Pleroma/Pleroma Backend (domain errors)
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-backend-domain-errors/ja/
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
# Conflicts:
# docs/development/API/differences_in_mastoapi_responses.md
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
|
|
|
|
|
|
scrubbers/default: Add more formatting elements from HTML4 / GoToSocial
See merge request pleroma/pleroma!3979
|
|
|
|
|
|
Fix GenerateUnsetUserKeys migration
See merge request pleroma/pleroma!3976
|
|
Added: acronym, bdo, big, cite, dfn, ins, kbd, q, samp, s, tt, var, wbr
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
Count and display post quotes
See merge request pleroma/pleroma!3956
|
|
|
|
pleroma-meilisearch
|
|
The email related jobs can all share a single Oban queue
|
|
|
|
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
instances: Store some metadata based on NodeInfo
See merge request pleroma/pleroma!3853
|
|
Detail backup states
Closes #3024
See merge request pleroma/pleroma!3809
|
|
|
|
|
|
|
|
Cleanup OStatus-era user upgrades and ap_enabled indicator
See merge request pleroma/pleroma!3880
|
|
Includes https://github.com/elixir-gettext/gettext/pull/304 in 0.20.0+
Includes https://github.com/elixir-gettext/expo/issues/91 in 0.22+ via expo 0.2.0+
|
|
OAuth scopes descriptions
Closes #3065
See merge request pleroma/pleroma!3848
|
|
|
|
|