Граф коммитов

2998 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
Saturnino Abril
b7b08dbc0f CLD-5948 Playwright/E2E: Update dependencies, server default config and its types, and remove Boards and mobile view tests (#24583)
* update dependencies

* update dependencies

* remove mobile view

* remove boards

* update default config  and its types

* update snapshots

* fix formatting

* check works and fix styling
2023-09-20 05:28:35 +08: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
Scott Bishel
64fabbeed3 MM-54123 Add group slash command (#24553)
* adding group members to channel initial commit

* adding group to channel functionality along with add new team members

* fixing circular dependency

* fixing e2e and other optimizations

* adding e2e tests for adding group members to channels

* cypress lint

* fixing comments

* adding count to button

* improvements

* adjusting some stuff from PR comments

* remove ability to add user to team, update message for non-team members

* remove adding to team from add groups functionality

* update misspelled variable

* lint and unit test fixes

* add tests, cleanup

* lint fix

* revert package-lock.json

* fixes for cypress tests

* rename TeamInviteBanner to TeamWarningBanner, since invites are no longer allowed

* update for warning

* lint fixes

* cleanup

* fix failing e2e tests

* update slash command for user groups

* revert package-lock

* remove unused function

* update based on feedback

* update tests for last change

* i18n-extract, reorder

* retrieve and display user name

---------

Co-authored-by: Benjamin Cooke <benkcooke@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-15 11:00:41 -06: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
Harrison Healey
0fb6e5169d Move logic to track mobile view into its own component (#24272)
* Move logic to track mobile view into its own component

* Address feedback
2023-09-14 17:02:31 -04:00
Ben Cooke
bc4904e5b3 MM-54123 Add group to channel (#22954)
* adding group members to channel initial commit

* adding group to channel functionality along with add new team members

* fixing circular dependency

* fixing e2e and other optimizations

* adding e2e tests for adding group members to channels

* cypress lint

* fixing comments

* adding count to button

* improvements

* adjusting some stuff from PR comments

* remove ability to add user to team, update message for non-team members

* remove adding to team from add groups functionality

* update misspelled variable

* lint and unit test fixes

* add tests, cleanup

* lint fix

* revert package-lock.json

* fixes for cypress tests

* rename TeamInviteBanner to TeamWarningBanner, since invites are no longer allowed

* update for warning

* lint fixes

* cleanup

* fix failing e2e tests

* update messages to not use markdown

---------

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-14 08:43:44 -06:00
Scott Bishel
4929fde3d3 update text (#24531)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-14 07:57:56 -06:00
Harrison Healey
4d37aad678 MM-53524/MM-53525 Clean up post textbox measurement (#23973)
* Don't always render post textbox preview in background

* Remove most usage of custom-textarea--emoji-picker

This class is only needed by the pre-AdvancedTextEditor usage of the
Textbox. It otherwise conflicted with the code that controls the
AdvancedTextEditor's right padding

* Change right padding for post textbox to use CSS class

* Remove AutosizeTextarea.recalculatePadding

This was only needed because we started setting the padding of the
textarea programatically at some point. Originally, we could rely on
the reference textarea having the same styling because it had the same
CSS class as the actual textarea.

* Change reference textarea to a div

Using an actual textarea to measure the size of the text doesn't allow
us to measure the width of the text because textareas don't stretch to
fit text. Using a div with the same styling as the textarea works though

* Remove redundant measuring div from AutosizeTextarea

* Update snapshots for AutosizeTextarea

* Fix padding being counted twice when measuring width

* Change AutosizeTextarea to use a ResizeObserver to be more responsive

* Fix right padding on post preview

* Disable transitions when AutosizeTextarea first measures

* Fix measurement of trailing newlines

* Revert "Disable transitions when AutosizeTextarea first measures"

This reverts commit a036fdbfd64e49af9a2eaa3d3e06a5af453b1a5c.

* Revert "Change AutosizeTextarea to use a ResizeObserver to be more responsive"

This reverts commit c8fa4a19bde087a0fe80e3639aed2f3ae2eae04a.

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-09-13 18:05:43 -04:00
Devin Binnie
c53b5f7b2b [MM-54440] Add link to notification docs in the Settings modal (#24538)
* [MM-54440] Add link to notification docs in the Settings modal

* Fix i18n

* PR feedback
2023-09-13 09:19:09 -04:00