Commit Graph

17490 Commits

Author SHA1 Message Date
Agniva De Sarker
bd982356a7
Move mmctl CI tests to free tier (#24899)
Only the -race tests in master branch takes
more memory. So it will take more time, but there's no
need to optimize run time in master as nobody
is waiting for it to complete.

```release-note
NONE
```
2023-10-13 21:09:36 +05:30
Mattermod
a4754181f9
Update minor version to 9.2.0 (#24914)
Automatic Merge
2023-10-13 16:22:23 +03:00
mattermod
22686de81d Update latest version to 9.0.1 2023-10-13 12:28:43 +00:00
Alejandro García Montoro
2bc99398f9
MM-53023: Add origin client to ObserveAPIEndpointDuration (#23631)
* Add origin device to ObserveAPIEndpointDuration

* Fix generation of einterfaces mocks

* make einterfaces-mocks

* Use request's query and headers to get origin

* Add desktop to the origin device identification

* Test originDevice function

* Rename origin device to origin client
2023-10-12 19:09:52 +02:00
Sai Deepesh
1fe2295c70
[MM-47094] Migrate "components/integrations/abstract_oauth_app.jsx" and tests to Typescript (#24529) 2023-10-12 21:26:54 +05:30
Michael Kochell
195927eb4a
Revert "jira plugin prepackage 4.0.0 (#24609)" (#24901)
This reverts commit 2d9e0108e8.
2023-10-12 11:05:00 -04:00
Devin Binnie
89492a6a46
[MM-53428] Delete empty drafts on upsert (#24046)
* [MM-53428] Delete empty drafts on upsert

* Add migrations to fix existing drafts

* Fix CI

* Delete empty drafts entirely from the DB

* Fix lint

* Implement batch migration for deleting drafts

* Missing store layers

* Add updated mock

* Remove unnecessary test

* PR feedback

* Add check for cluster migration

* Fix MySQL

* Don't check for len<2

* Bit of PR feedback

* Use query builder for parameters

* PR feedback

* More PR feedback

* Merge'd

* unit test GetLastCreateAtAndUserIdValuesForEmptyDraftsMigration

* simplified builder interface

* fix DeleteEmptyDraftsByCreateAtAndUserId for MySQL

* rework as batch migration worker

* fix typo

* log ip address on version mismatches too

* simplify reset semantics

* remove trace log in favour of low spam

* document parameters for clarity

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2023-10-12 10:52:10 -04:00
M-ZubairAhmed
760dfe41f9
[MM-54879] Goodbye, GraphQL -- Regards Webapp (#24850) 2023-10-12 17:03:13 +05:30
Soumyadip Moni
cd4d220a21
[MM-54831] Convert LocalizedInput of 'rename_channel_modal.tsx' to regular input component (#24874) 2023-10-12 16:59:16 +05:30
Ben Schumacher
e4fa6200c3
[MM-45309] Replace github.com/mattermost/gziphandler with github.com/klauspost/compress/gzhttp (#24293) 2023-10-12 08:27:31 +02:00
Ben Schumacher
eb35e83152
[MM-54850] Use request-specific logger in channels/app/admin_advisor.go (#24859) 2023-10-12 08:23:57 +02:00
Agniva De Sarker
3dd9e3715c
Goodbye, GraphQL (#24827)
```release-note
NONE
```
2023-10-12 09:47:35 +05:30
Claudio Costa
d172ff1881
[MM-51852] Update getProfilesInCalls selector (#24731)
* Update getProfilesInCalls selector

* Update tests
2023-10-11 10:48:19 -06:00
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