Commit Graph

17386 Commits

Author SHA1 Message Date
streamer45
c9dc5d5eac
Simplify 2023-10-06 10:00:37 -06:00
streamer45
593ce26f37
Merge remote-tracking branch 'origin/master' into plugin-metrics 2023-10-06 09:51:15 -06:00
Christopher Poile
afaf41b587
update calls plugin to v0.20.0 (#24729) 2023-10-06 08:25:28 -06:00
Agniva De Sarker
fcf238523f
Optimize mmctl CI run (#24732)
* 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
```
2023-10-06 10:43:06 -03:00
Harrison Healey
e440ba0089
Remove usage of mattermost-redux from Cypress (#24652)
* Remove usage of mattermost-redux from Cypress

* Add Webpack preprocessor for Cypress
2023-10-06 07:53:52 +08:00
Jesse Hallam
f5299cd193
Update e2e tests from upstream repository. (#24708)
Ideally, we'd eventually have a single source of truth for these.
2023-10-05 16:49:18 -03:00
Harshil Sharma
510136a192
Fixed a bug where channel URL preview used incorrect team (#24705) 2023-10-05 15:39:12 -04:00
Harrison Healey
ff929e4a15
Move the shared ESLint plugin/config into the monorepo (#24670)
* Move the shared ESLint plugin/config into the monorepo

* Add peer dependencies to ESLint plugin
2023-10-05 14:47:51 -04:00
Daniel Espino García
def164f790
Make GM Intro message to change based on the notification preferences. (#24634)
* Make GM Intro message to change based on the notification preferences.

* Fix test and minor refactoring

* Fix lint
2023-10-05 18:38:31 +02:00
Daniel Espino García
4409dc083b
Minor refactor to simplify the getStateFromNotifyProps (#24635) 2023-10-05 16:25:08 +02:00
Delaney Sylvans
d61364a24a
[MM-54024] Handle JSON nulls when unmarshalling in api4 (#24656)
* handle JSON nulls when unmarshalling in api4

* catch more cases of unhandled JSON null

* fix lint issues

* remove unnecessary checks

* add bot tests for null values

* fix bot_test lint

* add channel null tests

* add group null tests

* add notify_admin null tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-05 19:25:59 +05:30
Asaad Mahmood
5b25519890
MM-54723 - Updating btn icon sizes (#24679) 2023-10-05 13:10:51 +05:00
Daniel Espino García
5f0aac70ac
[MM-54497]Fix updatePost props (#24543)
* Fix updatePost props and plugin hooks

* Add more tests

* Minor naming improvement

* Revert plugin hooks changes

* Rename post variable

* Fix app layers

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-05 09:40:53 +02:00
Daniel Espino García
e3823a3263
Class to functional component example 1 (#24181)
* Class to functional component example 1

* Fix lint and tests

* Fix

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-05 09:39:54 +02:00
Harshil Sharma
45ccd50f8c
MM-54581 Fixed a bug where converted GM showed up in incorrect team as well when someone else converted it (#24633)
* 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
2023-10-05 11:10:43 +05:30
Ibrahim Serdar Acikgoz
8e7e5c8775
server/app: remove websocket_router.go (#24680) 2023-10-04 10:54:40 +03:00
Tom De Moor
a25aa43667
integrating WIP-languages (#24683)
* integrating WIP-languages

* handle malformed, but "correct" empty i18n files

---------

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2023-10-03 22:56:23 -03:00
AsisRout
631d59249e
MM-24276 Added "User joined and left" system messages (#24332)
* update log message

* Delete package-lock.json

* update Message ID

* Add Logic for Joined-Left Event

* fix join-leave single user

* Revert Log File

* Fix i18 extract file

* Add tests

* update tests

* Add a few more test cases

---------

Co-authored-by: Asis Rout <asisrout@Asiss-MacBook-Air.local>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2023-10-03 15:22:18 -04:00
Caleb Roseland
b7f1a7f262
MM-52792: Update createPost, updatePost, & patchPost (#24195) 2023-10-03 09:51:07 -05:00
Saturnino Abril
f3f9a84456
Cypress/E2E: Upgrade cypress and test server config (#24594)
* 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>
2023-10-03 10:26:37 -04:00
Scott Bishel
43cb6fa6c1
update playbooks to v1.39.0 (#24661) 2023-10-03 08:13:51 -06:00
Amy Blais
162d284a2b
Update minimum supported Edge version (#24621)
Automatic Merge
2023-10-03 15:11:53 +03:00
Daniel Espino García
6abc4201f0
Fix style for notices (#24636)
* Fix style for notices

* Fix snapshots

* Address feedback

* Update snapshots
2023-10-03 11:03:13 +02:00
Manoj Kumawat
91fe50f919
MM-52825 : Migrate "components/admin_console/database_settings.jsx" and tests to Typescript (#23939)
* 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>
2023-10-03 07:35:00 +02:00
Agniva De Sarker
b9c50641db
MM-54580: Fix panic in jobs/base_workers.go (#24631)
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.
```
2023-10-03 07:55:38 +05:30
Scott Bishel
ae1decd1a7
MM-54555 - Include channel name in error (#24614)
* include channel name in error

* update multiple returns

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-03 06:55:21 +08:00
Scott Bishel
7e3c0dfa4c
update prepackage boards to v7.11.4 (#24619)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-02 16:03:07 -06:00
Ben Cooke
9bbdca7240
[MM-54493] Allow a user to disable the webapp prefetch (#24389)
* 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>
2023-10-02 12:06:14 -04:00
Jesse Hallam
460fa05eb9
add period for consistency in help text (#24648)
Automatic Merge
2023-09-29 17:41:53 +03:00
Michael Kochell
2d9e0108e8
jira plugin prepackage 4.0.0 (#24609)
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2023-09-29 10:22:55 -04:00
Harrison Healey
e43096b98b
MM-54349 Increase timeout for ConfirmModalRedux test (#24607) 2023-09-28 14:51:11 -04:00
Ibrahim Serdar Acikgoz
53a0f8da27
Add limiting ability to log fields (#24251) 2023-09-28 19:28:40 +03:00
Asaad Mahmood
703ad006ad
MM-54566 - Adding color override for button (#24616)
* MM-54566 - Adding color override for button

* Updating icon sizes

* Updating icon sizes

* Updating css order
2023-09-28 11:21:32 -04:00
Daniel Espino García
d8977c87a7
Fix typo (#24623) 2023-09-28 15:05:55 +02:00
Jesse Hallam
d99901aeb4
Report flaky tests directly on a PR (#24615)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-27 10:14:54 -03:00
Elias Nahum
cd9e0d7509
fix mobile oauth tests (#24610)
* fix mobile oauth tests

* update test description

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-27 12:18:56 +03:00
mattermod
d5c497d7c9 Update latest version to 9.0.0 2023-09-27 07:00:39 +00:00
Jesse Hallam
14f784a0cc
MM-54556: Integrate wip i18n languages (#24308)
* merge languages from https://github.com/mattermost/i18n-wip

* allow only supported server locales

* Revert "merge languages from https://github.com/mattermost/i18n-wip"

This reverts commit 36de545102. We'll let
weblate populate these on start instead.

* copy fileutils to public/utils

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-26 13:49:27 -03:00
jprusch
a838433263 Translated using Weblate (German)
Currently translated at 99.8% (2485 of 2489 strings)

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/de/
2023-09-26 12:47:38 -04:00
Weblate.Fix@controlaltdieliet.be
b69d114aa9 Translated using Weblate (German)
Currently translated at 98.9% (5633 of 5695 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/de/
2023-09-26 12:47:38 -04:00
Tom De Moor
dc316c8037 Translated using Weblate (Dutch)
Currently translated at 98.9% (5633 of 5695 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/
2023-09-26 12:47:38 -04:00
Daniel Espino García
c42839094e
Fix flaky test introduced in #24495 (#24603) 2023-09-26 09:48:06 +02:00
Ben Cooke
295228dd88
fix style regression (#24605) 2023-09-25 15:04:23 -04:00
Ben Schumacher
35c1639ee3
[MM-54291] Add goroutines profile to support package (#24478) 2023-09-25 20:22:25 +02:00
Elias Nahum
7cd9780399
MM-54489 restrict mobile oauth/saml redirect to native app schemes (#24554)
* 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
2023-09-25 20:46:45 +03:00
Mario Vitale
1e121eb7f3
CLD-6297 - E2E tests improvements (#24541)
* 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>
2023-09-25 17:01:01 +02:00
Saturnino Abril
1fc6b96c1b
fix(e2e): several tests (#24539) 2023-09-25 22:09:42 +08:00
Asaad Mahmood
6f4382189f
Button styling update for consistent buttons (#24483)
* Updating button changes

* Updating button

* Updating invite modal button

* Updating button changes

* Updating button

* Updating buttons

* Updating buttons

* Updating buttons

* Updating back btn

* Updating various buttons

* Updating tests

* Updating test

* Reverting channel icon

* Update channel_profile.tsx

* Update setting_picture.tsx

* Updating tests

* Update group_member_list.test.tsx.snap

* Update user_group_popover.test.tsx.snap

* Update user_group_popover.test.tsx.snap

* Updating tests and adding btn class

* Adding btn-xs class

* Updating tests

* Updating test

* Updating test file

* Updating test

* Updating changes requested by daniel

* Updating test

* Updating based on harrisons feedback

* Updating buttons

* Updating test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-25 15:17:14 +05:00
Daniel Espino García
6c48cca78f
Fix MM-54027 (#24495)
* Fix MM-54027

* Add tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-25 11:08:58 +02:00
Daniel Espino García
2e0e35dda9
Fix MM53372 (#24494)
* Fix MM53372

* Remove unneeded casting
2023-09-25 11:08:10 +02:00