Commit Graph

17527 Commits

Author SHA1 Message Date
Deepayan Mukherjee
77ee4d93b7
[MM-24856] User request specific loggers in channels/api4/system.go (#24881)
* replace global mlog with local c.Logger and setInvalidParam with setInvalidParamWithErr if relevant

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>

* replace global mlog.Info with local c.Logger.Info

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>

---------

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>
2023-10-11 17:34:49 +02:00
Ben Schumacher
13c05a571f
Migrate store methods to use request.Context instead of context.Context (#24836) 2023-10-11 13:08:55 +02:00
Ben Schumacher
0d5a8b8841
Add whitespace linter (#24855) 2023-10-11 10:13:36 +02:00
Balaji K
176370e175
[MM-54835] Convert LocalizedInput of 'custom_url_schemes_setting.tsx' to regular input component (#24854) 2023-10-11 11:46:45 +05:30
js029
463945e8cc
[MM-54839] Convert LocalizedInput of 'email_to_ldap.tsx' to regular input component (#24837) 2023-10-11 11:45:13 +05:30
Kritik Jiyaviya
8ae1cb2c37
[MM-54833] Convert LocalizedInput of 'password_reset_form.tsx' to regular input component (#24839) 2023-10-11 11:40:42 +05:30
Agniva De Sarker
4f279a1dd9
Set env vars properly when running mmctl tests (#24842)
Exporting a variable doesn't really pass that
down to the docker container. We pass the `--env`
variable manually.

```release-note
NONE
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-11 11:12:18 +05:30
Matthew Birtch
21845e2b9b
MM-53513 Update styles of slack attachment buttons (#24628)
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-10 16:34:03 -05:00
Jesús Espino
6274faeda8
Revert "Migrating the admin_definition.jsx file to typescript (#24658)" (#24869)
This reverts commit a1bf8504a8.
2023-10-10 22:33:24 +02:00
Harrison Healey
88954c651a
Update subpackage versions for 9.2 (#24865) 2023-10-10 13:27:16 -04:00
Jesús Espino
a1bf8504a8
Migrating the admin_definition.jsx file to typescript (#24658)
* Migrating admin_definition from jsx to tsx

* Fixing types and errors

* Fixing all the types errors

* Fixing linter errors

* Removing no longer needed yup dependency

* Moving admin_definition types to its own file

* Removing a couple of anys

* Fixing linter errors

* Fixing tests snapshots
2023-10-10 13:26:45 -04:00
Firmansyah Yanuar
cf9f853526
[MM-54795] Convert ./components/widgets/icons/fa_previous_icon.tsx to function component (#24786)
* chore(channels): convert previous icon to functional components

* chore(channels): change to arrow function, remove `t`, and use `classNames`

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-10 13:21:43 -04:00
Asaad Mahmood
d2790dcab7
MM-54768 - Updating user popover UI (#24814)
* MM-54768 - Updating user popover UI

* Fixing test errors

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-10 22:00:34 +05:00
Asaad Mahmood
f573aaba02
MM-54139 - Updating disabled state menu color (#24815) 2023-10-10 21:51:00 +05:00
Firmansyah Yanuar
e23fe22328
[MM-54798] Convert ./components/widgets/separator/basic-separator.tsx to function component (#24788)
* chore(channels): convert basic separator to functional components

* chore: change to arrow function

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-10 11:48:06 -04:00
linkvn
ca012fc375 Translated using Weblate (Vietnamese)
Currently translated at 59.4% (1479 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/vi/
2023-10-10 18:21:15 +03:00
Achmad Dinofaldi Firmansyah
b0d40fc94b Translated using Weblate (Indonesian)
Currently translated at 36.7% (914 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/id/

Translated using Weblate (Indonesian)

Currently translated at 33.2% (827 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/id/
2023-10-10 18:21:15 +03:00
Alphanum404
ab953df8de Translated using Weblate (Indonesian)
Currently translated at 33.2% (827 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/id/
2023-10-10 18:21:15 +03:00
master7
cd8fa9b430 Translated using Weblate (Polish)
Currently translated at 100.0% (5706 of 5706 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pl/
2023-10-10 18:21:15 +03:00
Tom De Moor
cafa2da328 Translated using Weblate (Dutch)
Currently translated at 99.6% (5687 of 5706 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/
2023-10-10 18:21:15 +03:00
Sharuru
28923e51b0 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5706 of 5706 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/zh_Hans/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (2489 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/zh_Hans/
2023-10-10 18:21:15 +03:00
kaakaa
7304f1a0f9 Translated using Weblate (Japanese)
Currently translated at 100.0% (5706 of 5706 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ja/

Translated using Weblate (Japanese)

Currently translated at 100.0% (2489 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ja/
2023-10-10 18:21:15 +03:00
Peyo6565
7b95e3143d Translated using Weblate (French)
Currently translated at 92.9% (2313 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/fr/
2023-10-10 18:21:15 +03:00
Matthew Williams
20d13c9ef5 Translated using Weblate (English (Australia))
Currently translated at 99.9% (5705 of 5706 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/en_AU/

Translated using Weblate (English (Australia))

Currently translated at 99.9% (2488 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/en_AU/
2023-10-10 18:21:15 +03:00
jprusch
cf02207493 Translated using Weblate (German)
Currently translated at 100.0% (5706 of 5706 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/de/

Translated using Weblate (German)

Currently translated at 100.0% (2489 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/de/
2023-10-10 18:21:15 +03:00
Hosted Weblate
e3ae3f6522 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/
2023-10-10 18:21:15 +03:00
MArtin Johnson
5d4382f989 Translated using Weblate (Swedish)
Currently translated at 98.9% (2464 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/sv/
2023-10-10 18:21:15 +03:00
Bhautik Bavadiya
ef04acee91 Translated using Weblate (Gujarati)
Currently translated at 0.8% (20 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/gu/

Translated using Weblate (Gujarati)

Currently translated at 0.7% (19 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/gu/
2023-10-10 18:21:15 +03:00
MixeroTN
d5a57e3207 Translated using Weblate (Polish)
Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (2489 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/pl/
2023-10-10 18:21:15 +03:00
Tom De Moor
37de7f7d98 Translated using Weblate (Dutch)
Currently translated at 99.9% (2488 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/nl/

Translated using Weblate (Vietnamese)

Currently translated at 55.4% (1379 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/vi/

Translated using Weblate (Dutch)

Currently translated at 99.0% (5645 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/

Translated using Weblate (Vietnamese)

Currently translated at 94.9% (5415 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/vi/

Translated using Weblate (Vietnamese)

Currently translated at 55.3% (1377 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/vi/

Added translation using Weblate (Vietnamese)

Added translation using Weblate (Vietnamese)

Translated using Weblate (Chinese (Traditional))

Currently translated at 62.8% (3585 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/zh_Hant/

Translated using Weblate (Chinese (Simplified))

Currently translated at 98.7% (5633 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/zh_Hans/
2023-10-10 18:21:15 +03:00
Kaya Zeren
80c69d5c9c Translated using Weblate (Turkish)
Currently translated at 100.0% (5702 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/tr/

Translated using Weblate (Turkish)

Currently translated at 100.0% (2489 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/tr/

Translated using Weblate (Turkish)

Currently translated at 98.5% (5617 of 5702 strings)

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/tr/

Translated using Weblate (Turkish)

Currently translated at 99.7% (2483 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/tr/
2023-10-10 18:21:15 +03:00
Konstantin
ffdaf326bd Translated using Weblate (Russian)
Currently translated at 98.9% (2464 of 2489 strings)

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/ru/
2023-10-10 18:21:15 +03:00
Hosted Weblate
fb4e367aa3 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translation: Mattermost/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: mattermost-languages-shipped/mattermost-server-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-server-monorepo/
2023-10-10 18:21:15 +03:00
Harrison Healey
421fe4b5f0
MM-54325 Have web app build script return error codes on failure (#24723)
* MM-54325 Have web app build script return error codes on failure

* Make web app --runner option not return an error code
2023-10-10 11:17:24 -04:00
Jesús Espino
bb4aa764bc
Migrating some files from javascript to typescript (#24663)
* Migrating some files to typescript

* Some other files migrated

* Migrating more javascript to typescript

* Migrating more javascript to typescript

* Fixing types

* Fixing linter errors

* Fixing some imports

* Fixing linter errors

* Renaming the snapshots

* Addressing PR review comments
2023-10-10 16:22:11 +02:00
Manuel Hidalgo Lorente
4ae44810d3
[MM-54841] Convert LocalizedInput of 'oauth_to_email.tsx' to regular input component (#24852) 2023-10-10 18:36:34 +05:30
Harshil Sharma
52072ccf31
Added Cypress tests and few optimizations (#24592)
* added e2e test

* Cleanup

* Unused permission

* Minor changes

* Added case when there is no common team

* More tests

* nit
2023-10-10 17:55:18 +05:30
Harshil Sharma
06765b1f44
Displayed error message for already used channel name (#24860)
* WIP

* Displayed existing channel name error

* refactoring
2023-10-10 17:41:49 +05:30
Miguel de la Cruz
f18002a8d6
Add a simple mmctl README file (#23638)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2023-10-10 10:34:08 +02:00
Paul Vernin
26077e127c
[MM-48233] Migrate /support/saml_commands.js file to TypeScript (#24807)
* 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
2023-10-10 07:16:42 +08:00
Daniel Espino García
67ca4644bb
Bump to latest mmjstool (#24838)
Automatic Merge
2023-10-09 19:51:15 +03:00
Jesse Hallam
47bfa2b66b
Pass a logger instead of embedding on job (#24650)
* 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 17303cbac9.

* Revert "guard Job.LogClone against nil Job"

This reverts commit f1ae22dee5.
2023-10-09 11:04:55 -03:00
M-ZubairAhmed
aa172294bd
[MM-54829] Convert LocalizedInput of 'emoji_list.tsx' to regular input component (#24818) 2023-10-09 18:06:52 +05:30
Amarjeet Singh Rai
71ff170db2
Convert ./components/admin_console/user_grid/user_grid_name.tsx to a function component #24740 (#24754)
* 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>
2023-10-07 10:10:30 +02:00
Ben Schumacher
aad25be4e1
[MM-54434] Use job.Logger to capture ldap logs (#24493) 2023-10-06 22:43:21 +02: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