feat(config): make profile and activity text length limits configurable

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
This commit is contained in:
Marcus Fihlon 2026-05-01 11:53:21 +02:00
parent c84377b05a
commit a7d38f7f8a
Signed by: McPringle
GPG key ID: C6B7F469EE363E1F
20 changed files with 274 additions and 18 deletions

View file

@ -84,6 +84,18 @@ fitpub:
# Leave empty to allow open registration
password: ${REGISTRATION_PASSWORD:}
# User settings
user:
bio:
max-length: ${FITPUB_USER_BIO_MAX_LENGTH:500}
# Activity settings
activity:
title:
max-length: ${FITPUB_ACTIVITY_TITLE_MAX_LENGTH:200}
description:
max-length: ${FITPUB_ACTIVITY_DESCRIPTION_MAX_LENGTH:5000}
# Storage settings
storage:
fit-files: