* migrate saml_commands.js to typescript & added comments & added function used by saml_commands from common_login_commands.js to the common_login_commands.d.ts file
* update(saml_commands.ts): added the TestSettings and SamlUser interface
* update(cypress/tests/support/saml_commands.ts): enhance function header comments
* pass a logger instead of embedding on job
* leverage mlog.Millis
* use worker logger with HandleJobPanic
* rely on existing LogClone instead
* guard Job.LogClone against nil Job
* s/workername/worker_name
* Revert "rely on existing LogClone instead"
This reverts commit 17303cbac90d4b01815abca1309b78b97de368fb.
* Revert "guard Job.LogClone against nil Job"
This reverts commit f1ae22dee58d76f084582857830ffe8d4c546d7e.
* Convert ./components/admin_console/user_grid/user_grid_name.tsx from Class Component to Function Component #24740
* Update user_grid_name.tsx
Co-authored-by: Daniel Espino García <larkox@gmail.com>
---------
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
* Optimize mmctl CI run
- Remove coverage mode. They increase run time by 3x.
- Remove -race mode in PR builds. They increase run time by 2x and memory consumption as well.
```release-note
NONE
```
* caching go.sum path
```release-note
NONE
```
* Fixed a bug where converted GM showed up in incorrect team as well when someone else converted it
* Created new redux action
* Fixed test
* Unexported fjunction
* More tests
* Using old state instead new state as data exists in old, not new state
* upgrade cypress and test server config
* fix checks to lint and types
* fix CloudSettings and upgrade packages to latest
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* moved database_settings to typescript
* remove any and fix types
* fix config type
* fix type related issues and use proper parseInt method
* Uppdate snapshots
---------
Co-authored-by: Manoj Kumawat <manoj@faze.app>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
If GetJob fails, we would return a nil job and then try to log
with that. To prevent this, we keep a reference to the old job
and log with that in the error case.
https://mattermost.atlassian.net/browse/MM-54580
```release-note
Fix a panic where a simple worker would crash if if failed to get a job.
```
* allow a user to disable the webapp prefetch if they are experiencing degraded performance on initial load
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* MM-54489 restrict mobile oauth/saml redirect to native app schemes
* replace slices package with contains function in utils
* use the existing Contains utility function
* Fix unit tests
* more test cases
* fix cfg.NativeAppSettings.AppCustomURLSchemes assignment
* Append mmauth to cfg.NativeAppSettings.AppCustomURLSchemes in unit test
* Improve e2etests readme, remove unused apt install
* Add testing E2E Tests MultiOS
* Get rid of deprecation warning
* Smart selection of docker network driver for different OSes
* Unify makefile invocation for windows as well
* Tune JVM for ES and Keycloak
* fix: Made required changes to run locally on arm MacOS
* fix: FIxed network command and removed dashboard node user as it is not needed
* fix: make dashboard work for Mac
* Make runs without dashboard work again, make BROWSE tunable and document it
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>