mattermost/server/channels
Scott Bishel 82b8d4dc07
MM-55966 - Update ArrayFromJSON to use LimitedReader (#25510)
* update ArrayFromJSON to use LimitedReader

* update for bad merge

* fix lint errors

* update test code

* update unit tests

* update unit tests

* fix unit tests

* use consts, other cleanup

* add non sorting duplicate check

* set config to default value, then config setting if available

* fix lint errors

* fixes and debugs

* fix log test

* remove setting from Client, add unlimited Parser to client

* a couple more fixes

* another fix

* rename some variables

* remove superflous call

* check for valid MaximumPayloadSize

* update language file

* fix for e2e-tests

* update util function to return error

* lint fix

* update config property name to include unit

* fix for unit test

* add new config to telemetry

* call function to create LimitedReader

* Deprecate old function, use new function name

* return new AppError on failed parse

* return new AppError on failed parse

* return new AppError on failed parse

* add constant for i18n valid constants

* Update server/public/model/utils_test.go

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* Apply suggestions from code review

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* update error variable, remove unnecessary check

* Update function names

* fix errors from merge

* update unit test to create unique ids

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
2024-01-09 10:04:16 -07:00
..
api4 MM-55966 - Update ArrayFromJSON to use LimitedReader (#25510) 2024-01-09 10:04:16 -07:00
app Fix error message when sharing already shared channel; also make idempotent (#25854) 2024-01-09 12:42:11 +01:00
audit Add whitespace linter (#24855) 2023-10-11 10:13:36 +02:00
db Add Options field to RemoteClusters (#25771) 2023-12-19 13:01:35 -05:00
doc/help Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
jobs MM-55987: Bypass uploading to S3 for local mode mmctl import (#25591) 2023-12-13 09:38:00 +05:30
manualtesting MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
product MM-56082 Add PreferencesHaveChanged plugin hook (#25659) 2024-01-03 12:25:53 -05:00
store Plugin API for Shared Channels: support auto invite (#25834) 2024-01-08 18:12:18 +01:00
testlib [MM-55595] Use annotated logger in search layer (#25468) 2023-12-04 18:34:57 +01:00
utils [WIP] [MM-55031] OAuth Outgoing Connection App integration (#25379) 2023-12-26 10:46:20 +01:00
web MM-56082 Add PreferencesHaveChanged plugin hook (#25659) 2024-01-03 12:25:53 -05:00
wsapi [MM-55480] Update logr to v2.0.21 (#25431) 2023-11-23 10:30:08 +01:00