1
0
Fork 0

fix multiple issues from user exports config changes

- improve nginx config
- fix DATA_UPLOAD_MAX_MEMORY_SIZE default not being an int
- translate fallback value in id_to_username template tag
- make location of setting to turn on user exports easier to locate for admins

fixes #3227
fixes #3231
fixes #3232
fixes #3236
This commit is contained in:
Hugh Rundle 2024-01-20 13:19:13 +11:00
parent fd0b1d90b0
commit ddc35a7a52
No known key found for this signature in database
GPG key ID: A7E35779918253F9
6 changed files with 35 additions and 11 deletions

View file

@ -137,6 +137,7 @@ TWO_FACTOR_LOGIN_MAX_SECONDS=60
# and AWS_S3_CUSTOM_DOMAIN (if used) are added by default.
# Value should be a comma-separated list of host names.
CSP_ADDITIONAL_HOSTS=
# The last number here means "megabytes"
# Increase if users are having trouble uploading BookWyrm export files.
DATA_UPLOAD_MAX_MEMORY_SIZE = (1024**2 * 100)
# Default value is 2.5MB, this value is 100MB
DATA_UPLOAD_MAX_MEMORY_SIZE=104857600