Add ServiceSettings.MaximumPayloadSize to SystemConsole (#27124)
* Add ServiceSettings.MaximumPayloadSize to SystemCnosole * Update label
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9d30a62c94
Коммит
b0984be119
@@ -770,6 +770,13 @@ const AdminDefinition: AdminDefinitionType = {
|
||||
help_text: defineMessage({id: 'admin.service.writeTimeoutDescription', defaultMessage: 'If using HTTP (insecure), this is the maximum time allowed from the end of reading the request headers until the response is written. If using HTTPS, it is the total time from when the connection is accepted until the response is written.'}),
|
||||
isDisabled: it.not(it.userHasWritePermissionOnResource(RESOURCE_KEYS.ENVIRONMENT.WEB_SERVER)),
|
||||
},
|
||||
{
|
||||
type: 'number',
|
||||
key: 'ServiceSettings.MaximumPayloadSizeBytes',
|
||||
label: defineMessage({id: 'admin.service.maximumPayloadSize', defaultMessage: 'Maximum Payload Size (Bytes):'}),
|
||||
help_text: defineMessage({id: 'admin.service.maximumPayloadSizeDescription', defaultMessage: 'The maximum number of bytes allowed in the payload of incoming HTTP calls'}),
|
||||
isDisabled: it.not(it.userHasWritePermissionOnResource(RESOURCE_KEYS.ENVIRONMENT.WEB_SERVER)),
|
||||
},
|
||||
{
|
||||
type: 'dropdown',
|
||||
key: 'ServiceSettings.WebserverMode',
|
||||
|
||||
@@ -2252,6 +2252,8 @@
|
||||
"admin.service.listenExample": "E.g.: \":8065\"",
|
||||
"admin.service.managedResourcePaths": "Managed Resource Paths:",
|
||||
"admin.service.managedResourcePathsDescription": "A comma-separated list of paths on the Mattermost server that are managed by another service. See <link>here</link> for more information.",
|
||||
"admin.service.maximumPayloadSize": "Maximum Payload Size (Bytes):",
|
||||
"admin.service.maximumPayloadSizeDescription": "The maximum number of bytes allowed in the payload of incoming HTTP calls",
|
||||
"admin.service.mfaDesc": "When true, users with AD/LDAP or email login can add multi-factor authentication to their account using Google Authenticator.",
|
||||
"admin.service.mfaTitle": "Enable Multi-factor Authentication:",
|
||||
"admin.service.minimumHashtagLengthDescription": "Minimum number of characters in a hashtag. This must be greater than or equal to 2. MySQL databases must be configured to support searching strings shorter than three characters, <link>see documentation</link>.",
|
||||
|
||||
Ссылка в новой задаче
Block a user