summaryrefslogtreecommitdiff
path: root/config/config.exs
AgeCommit message (Collapse)Author
2024-05-27Add a dedicated connection pool for Rich MediaMark Felder
Sharing this pool with regular Media is problematic as Rich Media will connect to many different domains and thrash the pool, but regular Media will have predictable connections to the webservers hosting media for the fediverse servers you peer with.
2024-05-27Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into nsfw-api-mrfLain Soykaf
2024-05-27Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵Lain Soykaf
pleroma-ipfs_uploader
2024-05-27QdrantSearch: Add health checks.Lain Soykaf
2024-05-27Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵Lain Soykaf
qdrant-search-2
2024-05-25Search backend healthcheck processMark Felder
2024-05-19B Config: Set default Qdrant embedder to our fastembed-api serverLain Soykaf
2024-05-19B QdrantSearch: Switch to OpenAI apiLain Soykaf
2024-05-14Search: Basic Qdrant/Ollama searchLain Soykaf
2024-05-07Respect the TTL returned in OpenGraph tagsMark Felder
2024-05-07Increase the :max_body for Rich Media to 5MBMark Felder
Websites are increasingly getting more bloated with tricks like inlining content (e.g., CNN.com) which puts pages at or above 5MB. This value may still be too low.
2024-05-07RichMedia refactorMark Felder
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.
2024-03-19logger: remove request_id metadata which is not usefulMark Felder
2024-03-19Logger metadata for request path and authenticated userMark Felder
2024-03-19Logger metadata for inbound federation requestsMark Felder
2024-03-18Update minimum Postgres version to 11.0; disable JITMark Felder
This release is where JIT was introduced and it should be disabled. Pleroma's queries do not benefit from JIT, but it can increase latency of queries.
2024-03-01Add ForceMention mrfmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-02-14Websocket refactor to use Phoenix.Socket.TransportMark Felder
This will make us compatible with Cowboy and Bandit
2024-01-22Use config to control Uploader callback timeoutMark Felder
2024-01-20Use config to control streamer registryMark Felder
2024-01-20Use config to control background migratorsMark Felder
2024-01-20Use config to control loading of custom modulesMark Felder
2024-01-20Use config to control max_restartsMark Felder
2023-12-28Remove support for multiple federation publisher modulesMark Felder
This also unravels some needless indirection.
2023-11-28Merge branch 'promex' into 'develop'lain
Switch to PromEx for prometheus metrics See merge request pleroma/pleroma!3967
2023-11-14Add support for configuring a favicon and embed PWA manifest in ↵Henry Jameson
server-generated-meta
2023-11-13Switch to PromEx for prometheus metricsMark Felder
Recommending use of the separate HTTP server for exposing the metrics and securing it externally on your firewall or reverse proxy. It will listen on port 4021 by default.
2023-11-12Merge branch 'phoenix1.7' into 'develop'lain
Update to Phoenix 1.7 See merge request pleroma/pleroma!3900
2023-11-12Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵Lain Soykaf
pleroma-meilisearch
2023-11-07Merge branch 'develop' into phoenix1.7Mark Felder
2023-11-07Fix digest email processing, consolidate Oban queuesMark Felder
The email related jobs can all share a single Oban queue
2023-09-13Allow more flexibility in InlineQuotePolicytusooa
2023-09-13Add InlineQuotePolicy as a default MRFAlex Gleason
2023-09-13Add InlineQuotePolicy to force quote URLs inlineAlex Gleason
2023-07-07Add emoji policy to remove emojis matching certain urlstusooa
https://git.pleroma.social/pleroma/pleroma/-/issues/2775
2023-06-27Merge branch 'from/upstream-develop/tusooa/backup-status' into 'develop'Haelwenn
Detail backup states Closes #3024 See merge request pleroma/pleroma!3809
2023-05-31Move websocket config for Shoutbox to the EndpointMark Felder
This is the modern way of configuring it
2023-05-31Phoenix.Endpoint.Cowboy2Handler -> Plug.Cowboy.HandlerMark Felder
2023-04-23Remove SSH/BBS feature from coreduponin
And link to sshocial, the replacement client for this removed feature
2022-12-27Merge remote-tracking branch 'pleroma/develop' into secure-modemarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-12-24Make backup parameters configurabletusooa
2022-12-20Merge remote-tracking branch 'upstream/develop' into meilisearchEkaterina Vaartis
2022-12-18Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵Sean King
fine_grained_moderation_privileges
2022-11-12Merge branch 'from/upstream-develop/tusooa/no-strip-report' into 'develop'tusooa
Give admin the choice to not strip reported statuses Closes #2887 See merge request pleroma/pleroma!3773
2022-11-11Remove Quack logging backendMark Felder
2022-11-11Update links to Soapboxmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-09Do not strip reported statuses when configured not totusooa
2022-11-03expanding WebFingerAlexander Strizhakov
2022-10-10Change search_indexing = 10 and retries for indexing = 2Ekaterina Vaartis
2022-10-10Use oban for search indexingEkaterina Vaartis