Add soft_limit, increase_uri and rename info_url to info_uri

This commit is contained in:
Hugh Nimmo-Smith
2025-10-10 11:51:12 +01:00
parent e0cbf0f44f
commit 459ede6966
6 changed files with 209 additions and 21 deletions
@@ -2180,7 +2180,11 @@ Options for each entry include:
* `max_size` (byte size): Amount of data that can be uploaded in the time period by the user. Required.
* `msc4335_info_url` (string): Experimental MSC4335 URL to a page with more information about the upload limit. Optional.
* `msc4335_info_uri` (string): Experimental MSC4335 URI to where the user can find information about the upload limit. Optional.
* `msc4335_soft_limit` (boolean): Experimental MSC4335 value to say if the limit can be increased. Optional.
* `msc4335_increase_uri` (string): Experimental MSC4335 URI to where the user can increase the upload limit. Required if msc4335_soft_limit is true.
Example configuration:
```yaml
@@ -2189,7 +2193,9 @@ media_upload_limits:
max_size: 100M
- time_period: 1w
max_size: 500M
msc4335_info_url: https://example.com/quota
msc4335_info_uri: https://example.com/quota
msc4335_soft_limit: true
msc4335_increase_uri: https://example.com/increase-quota
```
---
### `max_image_pixels`