mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-54730] Don't use old hardcoded rule for validating imported posts (#25823)
* don't use old hardcoded rule for validating imported posts * fix http verb in doc * Use client config * Handle local mode * E2E tests * Enforce default if unable to use real limit * Unit tests * Fix tests * Use model.PostMessageMaxRunesV2 as lower default * Update direct post message length validation --------- Co-authored-by: Mattermost Build <build@mattermost.com> Co-authored-by: streamer45 <cstcld91@gmail.com>
This commit is contained in:
@@ -675,7 +675,7 @@
|
||||
description: Whether to return the associated users as part of the response or not
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
default: false
|
||||
responses:
|
||||
"200":
|
||||
description: Post list retrieval successful
|
||||
@@ -967,7 +967,7 @@
|
||||
Acknowledge a post that has a request for acknowledgements.
|
||||
|
||||
##### Permissions
|
||||
|
||||
|
||||
Must have `read_channel` permission for the channel the post is in.<br/>
|
||||
Must be logged in as the user or have `edit_other_users` permission.
|
||||
|
||||
@@ -1052,7 +1052,7 @@
|
||||
- posts
|
||||
summary: Move a post (and any posts within that post's thread)
|
||||
description: >
|
||||
Move a post/thread to another channel.
|
||||
Move a post/thread to another channel.
|
||||
|
||||
THIS IS A BETA FEATURE. The API is subject to change without notice.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user