mattermost/server
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
..
bin Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
build Source available metrics (#24879) 2024-01-08 10:47:24 -04:00
channels MM-55966 - Update ArrayFromJSON to use LimitedReader (#25510) 2024-01-09 10:04:16 -07:00
cmd Source available metrics (#24879) 2024-01-08 10:47:24 -04:00
config Feature: Wrangler (#23602) 2023-12-11 15:27:34 -05:00
einterfaces [WIP] [MM-55031] OAuth Outgoing Connection App integration (#25379) 2023-12-26 10:46:20 +01:00
enterprise Source available metrics (#24879) 2024-01-08 10:47:24 -04:00
fonts Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
i18n MM-55966 - Update ArrayFromJSON to use LimitedReader (#25510) 2024-01-09 10:04:16 -07:00
platform MM-55966 - Update ArrayFromJSON to use LimitedReader (#25510) 2024-01-09 10:04:16 -07:00
public MM-55966 - Update ArrayFromJSON to use LimitedReader (#25510) 2024-01-09 10:04:16 -07:00
scripts [MM-56017] Remove prereq-check.sh redantant script from Make (#25529) 2023-12-02 17:50:15 +05:30
templates [CLD-6678] Various improvements for IP filtering feature (#25485) 2023-11-28 09:09:50 -05:00
tests [GH24626] Remove ExperimentalTimezone as this is always true (#24657) 2023-10-30 15:31:05 -04:00
.codecov.yml Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
.gitignore Source available metrics (#24879) 2024-01-08 10:47:24 -04:00
.go-version feat: Introduce go-version file to support multiple go versions on CI (#25271) 2023-11-03 16:25:54 +02:00
.gobom.json Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
.golangci.yml [MM-55409] Enable revive linter on enterprise code (#25391) 2023-11-10 15:24:12 +01:00
.sass-lint.yml Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
config.mk Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
copyright.txt Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
docker-compose.makefile.m1.yml update ES to 7.17.10 and enable ARM images through our own repository (#23851) 2023-06-26 21:00:48 +03:00
docker-compose.makefile.yml Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
docker-compose.yaml server/docker-compose.yml: updates to run HA in local after monorepo (#23552) 2023-06-01 09:58:43 +03:00
go.mod Source available metrics (#24879) 2024-01-08 10:47:24 -04:00
go.sum MM-53676: Bump dependencies (#25744) 2023-12-20 19:44:50 +05:30
Makefile Source available metrics (#24879) 2024-01-08 10:47:24 -04:00