2489 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
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
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
Daniel Espino García
67ca4644bb Bump to latest mmjstool (#24838)
Automatic Merge
2023-10-09 19:51:15 +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
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
Asaad Mahmood
5b25519890 MM-54723 - Updating btn icon sizes (#24679) 2023-10-05 13:10:51 +05: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
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
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
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
Harrison Healey
e43096b98b MM-54349 Increase timeout for ConfirmModalRedux test (#24607) 2023-09-28 14:51:11 -04: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
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
Ben Cooke
295228dd88 fix style regression (#24605) 2023-09-25 15:04:23 -04: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
2e0e35dda9 Fix MM53372 (#24494)
* Fix MM53372

* Remove unneeded casting
2023-09-25 11:08:10 +02:00
Daniel Espino García
88d043a971 Make GM behave as DM (#24289)
* Make GM behave as DM

* Fix lint

* Add desktop notification special behavior

* Change notification preferences menu

* Make changes to the GM channel intro

* Fix tests

* Fix i18n and style lint

* Add system notice and update style

* Fix style and fix tests

* Fix tests

* Handle push notifications as desktop notifications

* Fix tests

* Add test and default GMs to none when user level config is none

* Fix test

* Update only for mentions text

* Add tests

* Fix lint

* Fix lint
2023-09-19 15:29:57 +02:00
Harshil Sharma
39d6cb8008 MM-53125 Add feature to convert group message to private channel (#24421)
* Added convert to channel menu item

* WIP

* refactored channel name input field and created conversion modal

* style

* style

* WIP

* wip

* Created API to fetch common teams of GM members

* Added UI for all members deactivated

* Fetched common teams in client

* WIP

* Added a required attribute to DropdownInput component

* Fixed a case with dropdown input required flag

* WIP

* API first draft

* Genetayed layers and mocks

* Fixed create channel bug

* WIP

* Added cache invalidation

* Calling API from client

* Updated API to accept name and display name as well

* WIP

* Moved converted GM to correct category

* Style fixes

* Added logic to move user to new team/channel after GM conversion

* Prevented guest user from performing action

* Added loading indicator

* Added smoother height transistion when loading finishes

* UI imporvements

* WIP

* Formatted GM conversion message on client side

* lint fix

* Moved convert option from sidebar menu to channel header menu

* Some cleanup

* Updated server layers

* Fixed i18n

* Fixed types

* Fix server i18n

* Fixed channel creation bug

* Added store test for GetCommonTeamIDsForMultipleUsers

* Server tests done

* Updated snapshots

* Updated layers

* lint fix

* Update tests

* For CI

* lint

* restored debug code

* Used user ID instead of username in channel conversion post

* WIP

* Review fixes

* LInt fixes

* Test fix

* WIP

* WIP

* WIP

* wip

* Review fixes, lots of them

* Review fix

* Disabled WIP test

* test

* Cleanup

* Test fix

* removed testing line

* Fixed incorrect default message

* Review fixes

* Fixes

* lint and i18n fix

* Setting category on server side

* updated i18n

* Updated tests

* Added tests

* Refs cleanup

* added test

---------

Co-authored-by: Harshil Sharma <harshilsharma@Harshils-MacBook-Pro.local>
2023-09-19 14:41:34 +02:00
Alex DeCamillo
d08f1ca3fb MM-54356: In-correct User count when adding members that already exists to the channel (#24540)
* Only add user who isn't in the channel

* Update webapp/channels/src/packages/mattermost-redux/src/actions/channels.ts

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>

---------

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-19 08:48:59 +02:00
Caleb Roseland
9a3b503169 MM-54505: re-enable remote marketplace functionality (#24561) 2023-09-15 12:17:53 -05:00
Claudio Costa
db139627ff [MM-54494] Update selector to get profiles connected to calls (#24544)
* Update selector to get profiles connected to calls

* Clean plugin version
2023-09-14 15:23:18 -06:00