Custom error messages for file-size instance limits

(#1244) Feature Closed: Shipped media self-hosting

Problem

For self-hosted instances with upload limits, some communities may offer alternative file sharing/hosting services that are more suitable for large files. The current upload error message is hardcoded into Fluxer, which is less convenient when trying to convey information such as "You can upload large files to <URL>" to community members.

Proposal

Instead of the existing hardcoded error message string defined here: https://github.com/fluxerapp/fluxer/blob/ad99de22bc1dea150b2c43baed0fa010d84852c0/fluxer_app/src/features/messaging/components/alerts/FileSizeTooLargeModal.tsx#L40 A variable that defaults to the above string, configurable within the instance configuration would be the simplest way to implement this.

1 comment

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Under consideration to Shipped
Shipped for self-hosted instances in Fluxer 2026.1025.4648. Admins can set an "Upload limit message" on the admin branding page, written in Markdown, and it appears in the file-too-large alert. Run rexctl upgrade to get it.