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

3772 Коммитов

Автор SHA1 Сообщение Дата
Agniva De Sarker
e13bd3af67 MM-52212: Skip all sidebarCategory tests (#23375)
We see more tests from the same file fail
with the same error

https://mattermost.atlassian.net/browse/MM-52212
```release-note
NONE
```
2023-05-11 20:24:27 +05:30
Eric Sethna
6d18b69abb MM-52613: Add icons to "Add channels" LHS menu (#23239) 2023-05-11 14:30:57 +05:30
Harrison Healey
c35d738e04 MM-52536 Webpack unification part 1 (#23322)
* MM-52536 Update Webpack and use the same version for all products

* Switch Channels to use asset modules

* Remove unused module configuration from Boards/Playbooks

* Remove file-loader and html-loader

* Unify versions of CSS-related loaders

* Remove unused webpack-node-externals dependency

* Add missing MiniCssExtractPlugin to Boards/Playbooks production builds
2023-05-10 15:20:16 -04:00
Safouen Turki
070ee26081 MM-40566 Remove collapse from websocket sync (#22607)
* Web App -> Monorepo

* Fix Lint issues

* Fix Type issue

* Update webapp/playbooks/src/components/backstage/playbook_editor/playbook_editor.tsx

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2023-05-10 10:00:34 -04:00
Harrison Healey
11b08edf94 Let Boards/Product dev servers run on default ports (#23257) 2023-05-09 12:56:17 -04:00
M-ZubairAhmed
5c28071fb3 [MM-MM-52695] webapp/channels : Change plain import of PropsFromRedux to "import type" for certain files (#23337)
A while ago, we introduced the PropsFromRedux pattern, which was mostly used in class-based components or functional components if hooks were not used for selectors and dispatch. However, we discussed that it is recommended to import the type PropsFromRedux back to the component file from its index file with the type to avoid any cyclic import bugs.
`import type {PropsFromRedux} from './index'; `
2023-05-09 16:28:44 +05:30
Caleb Roseland
f815c20fca MM-51798: Fix Boards+Playbooks channel header RHS button styling (#23276)
* fix playbook icon

* fix boards icon

* lint

* fix test
2023-05-09 10:39:34 +02:00
Julien Tant
d40689466d [MM-51854] Onboarding Role selection screen (#23121)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-08 13:57:41 -07:00
Caleb Roseland
657c0024f9 MM-52261: Remove boards language selector, use Language in Display Settings (#23095)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-08 13:37:33 -05:00
na
a1470c77ac [MM-51453] - Bring back old log list if format is plain text (#23312)
* [MM-51453] - Bring back old log list if format is plain text

* i18n error

* linter

* remove redundant file

* linter again

* PR  comments

* i18n again

* Update tests

---------

Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro.local>
2023-05-08 22:53:09 +07:00
KyeongSoo Kim
8e6a5f6ffc [WebApp][MM-48061]: Allow CTRL/CMD + K to insert link formatting when text is selected (#22671)
* add isTextSelectedInPostOrReply util

* apply util

* add test

* format selected text as a markdown hyperlink if the clipboard contains a URL

* fix lint and dependency

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-08 19:50:18 +05:30
Ashish Dhama
3dcc32bbdc fix import issue in forward post actions (#23329) 2023-05-08 19:47:45 +05:30
Hosted Weblate
2c682150db 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-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/
2023-05-08 10:36:23 +02:00
Konstantin
96ffaa0ff7 Translated using Weblate (Russian)
Currently translated at 100.0% (5747 of 5747 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ru/
2023-05-08 10:36:23 +02:00
jprusch
32fe6a61f5 Translated using Weblate (German)
Currently translated at 100.0% (5747 of 5747 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/de/
2023-05-08 10:36:23 +02:00
Hosted Weblate
224b047106 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-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/
2023-05-08 10:36:23 +02:00
Konstantin
8b607c4de3 Translated using Weblate (Russian)
Currently translated at 61.8% (375 of 606 strings)

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

Translated using Weblate (Russian)

Currently translated at 100.0% (5874 of 5874 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/ru/
2023-05-08 10:36:23 +02:00
Milo Ivir
79bc34d4d2 Translated using Weblate (Croatian)
Currently translated at 100.0% (608 of 608 strings)

Translation: mattermost-languages-shipped/mattermost-playbooks-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-playbooks-webapp-monorepo/hr/
2023-05-08 10:36:23 +02:00
Laurens Ramandt
ea2ea76f58 Translated using Weblate (Dutch)
Currently translated at 98.2% (5770 of 5874 strings)

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

Translated using Weblate (Dutch)

Currently translated at 98.2% (5770 of 5874 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/
2023-05-08 10:36:23 +02:00
jprusch
537d7b562b Translated using Weblate (German)
Currently translated at 100.0% (5874 of 5874 strings)

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

Translated using Weblate (German)

Currently translated at 100.0% (608 of 608 strings)

Translation: mattermost-languages-shipped/mattermost-playbooks-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-playbooks-webapp-monorepo/de/
2023-05-08 10:36:23 +02:00
Tom De Moor
6ff308f476 Translated using Weblate (Dutch)
Currently translated at 100.0% (608 of 608 strings)

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

Translated using Weblate (Dutch)

Currently translated at 98.4% (5784 of 5874 strings)

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

Translated using Weblate (Dutch)

Currently translated at 98.2% (5770 of 5874 strings)

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

Translated using Weblate (Dutch)

Currently translated at 97.9% (5753 of 5874 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/
2023-05-08 10:36:23 +02:00
Kwangoh Moon
ce6f83caf8 Translated using Weblate (Korean)
Currently translated at 99.7% (453 of 454 strings)

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

Translated using Weblate (Korean)

Currently translated at 61.2% (3522 of 5747 strings)

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

Translated using Weblate (Korean)

Currently translated at 99.7% (453 of 454 strings)

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

Translated using Weblate (Korean)

Currently translated at 99.7% (453 of 454 strings)

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

Translated using Weblate (Korean)

Currently translated at 99.7% (453 of 454 strings)

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

Translated using Weblate (Korean)

Currently translated at 100.0% (608 of 608 strings)

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

Translated using Weblate (Korean)

Currently translated at 95.3% (433 of 454 strings)

Translation: mattermost-languages-shipped/mattermost-boards-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-boards-webapp-monorepo/ko/
2023-05-08 10:36:23 +02:00
Hosted Weblate
a270d6681c 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-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-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/
2023-05-08 10:36:23 +02:00
Ashish Dhama
be771b187b Migrate multiple enzyme unit test to testing library (#23237) 2023-05-08 11:00:46 +05:30
Nathaniel Allred
9ee3526ca1 Mm 52577 Tie use of Stripe (or its mock) to use of CWS (or its mock) (#23277)
* set config CWSMock value according to model.MockCWS
2023-05-05 10:03:12 -05:00
Vishal
d860548a76 [MM-37933] Channel preference to auto-follow all threads in the channel (#21430)
* Add auto-follow feature
---------

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-05 12:09:00 +05:30
Saturnino Abril
8fdbbf3d5b E2E/Playwright: MM-T5424 Find channel limit to 50 results (#23248)
* fix aria-label of Find Channels modal

* add components

* add test for MM-T5424

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-05 06:20:23 +08:00
Safouen Turki
fefca512c8 MM-28338 Fix Combined system messages (#22608)
* Web App -> Monorepo

* Update message data

* update snapshots

* update tests

* update tests, add null filter for userIds.

* Revert "update snapshots"

This reverts commit 4b3f5b192d355866bca978cfc708352bb5218694.

* Remove not related tests

* Update post_list

* Update test (removing usernames for UserIds)

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

better readability.

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>

* remove unnecessary tests.

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-04 11:09:27 -04:00
Nathan
670b0e4c9f [MM-44954] Regenerate default avatar (#22871)
* Regenerate default profile picture if username has changed

- Only actions is profile picture has not been changed
- Adjusts ResetLastPictureUpdate store function to store
-curTime instead of 0
    - This is to support updating the default picture while still
    retaining the ability to discern a default image from a set one.
- Changes SetDefaultProfileImage to leverage UpdateDefaultProfileImage
- Test updates around updating user default profile pictures

* App interface updates

* Only display picture update date if non-negative

- Ensures we don't display negative timestamps (default images)
- Change ported for mono-repo changes

* Remove duplicate test assertion

---------

Co-authored-by: Nathan Geist <ngeist@spiria.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-04 10:14:26 -04:00
Ashish Dhama
389062193b [WebApp][MM-51266]: Add compass (MUI wrapper components) in common components package (#22942)
* wrap all the components using compass-components with compass-components theme provider

Co-authored-by: @michelengelen 
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-04 13:43:33 +05:30
Ashish Dhama
96b537167c [WebApp][MM-52125]: Migrate multiple enzyme unit test to testing library (#23245)
* Migrate multiple enzyme unit test to testing library
2023-05-04 11:55:01 +05:30
Ashish Dhama
444bbd56f1 Migrate multiple enzyme unit test to testing library (#23236) 2023-05-04 11:17:11 +05:30
Harrison Healey
0e371b010e MM-52258 Replace usage of localizeAndFormatMessage (#23009)
* MM-52258 Replace usage of localizeAndFormatMessage

* Remove unused import

* Update snapshot
2023-05-03 15:06:47 -04:00
Harrison Healey
0b55509432 MM-49937 Fix tappable area of modals on mobile (#23231) 2023-05-03 15:04:56 -04:00
Harrison Healey
d001994ef9 MM-52282 Remove ExperimentalSettings.PatchPluginsReactDOM (#23172)
* MM-52282 Remove ExperimentalSettings.PatchPluginsReactDOM

* Fix missing file from last commit

* Fix test usage of plugin.NewEnvironment
2023-05-03 15:04:10 -04:00
Harrison Healey
2e852c06a8 MM-51562 Update package versions to 7.11.0 (#23230)
Automatic Merge
2023-05-03 18:04:29 +03:00
Caleb Roseland
b43a74808d MM-52265: Boards ESLint improvements (#23218)
* eslint changes

* sync max-lines with channels rule

* eslint fixes

* remove dupe rules
2023-05-03 07:32:51 -07:00
Ashish Dhama
b5ce8ac741 [WebApp][MM-52138]: Wrap all the components using compass-components with compass-components theme provider (#22941)
* wrap all the components using compass-components with compass-components theme provider

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-03 19:54:01 +05:30
Weblate (bot)
f3131286af Translations update from Mattermost Weblate (#23214)
* 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-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/

* Translated using Weblate (Korean)

Currently translated at 99.7% (453 of 454 strings)

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

Translated using Weblate (Korean)

Currently translated at 99.7% (453 of 454 strings)

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

Translated using Weblate (Korean)

Currently translated at 100.0% (608 of 608 strings)

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

Translated using Weblate (Korean)

Currently translated at 95.3% (433 of 454 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (454 of 454 strings)

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

Translated using Weblate (Swedish)

Currently translated at 99.1% (2516 of 2538 strings)

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (608 of 608 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 84.9% (2156 of 2538 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 97.9% (5753 of 5874 strings)

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

---------

Co-authored-by: Kwangoh Moon <raymond.moon@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: andersonjeccel <anderson@idmotion.com.br>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
2023-05-03 12:32:04 +02:00
na
6fb9916b59 [MM-50204] - Don't pass invalid prop to textarea by advanced text editor (#23224)
* [MM-50204] - Don't pass invalid prop to textarea by advanced text editor

* Remove using reflect

---------

Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro.local>
2023-05-03 13:38:07 +07:00
Konstantinos Pittas
b6caed652a [MM-46218] Set focus to highlighted post (#23082)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-03 08:43:31 +03:00
Matheus
86f3a8bb1f MM-22967 : Fixing file upload error feedback from server (#22972)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-03 09:55:08 +05:30
Caleb Roseland
f9f4553dae MM-52529: remove defunct 'all teams' fallback text & tooltip (#23216) 2023-05-02 16:14:02 -05:00
Harrison Healey
f77501ec10 MM-50750 Remove unused HelpController component (#22861)
* MM-50750 Remove unused HelpController component

* Fix snapshot

* Remove leftover string from bad merge
2023-05-02 13:07:30 -04:00
Harrison Healey
3ba75afa08 MM-52173 Add setting to delay channel autocomplete (#22952)
* Add unit tests for ChannelMentionProvider.handleCompleteWord

* Add a minimum length before the ChannelMentionProvider triggers

* MM-52173 Move delayed autcomplete behind a setting

* Fix e2e test type check

* Update Textbox tests

* Add new setting to server telemetry
2023-05-02 10:11:15 -04:00
Pablo Andrés Vélez Vidal
aac4f23379 MM-52175 - fix button formatting and add anchor to the end (#23048)
* MM-52175 - fix button formatting and add anchor to the end

* make anchor optional

* use built in URL function to extract the anchor

* add anchor to tasklitst download apps

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-29 11:36:31 +02:00
Caleb Roseland
e300cb942a Merge remote-tracking branch 'weblate/master' into i18n-resolve-conflicts-28-04-2023 2023-04-28 10:46:22 -05:00
Laurens Ramandt
8408aafc20 Translated using Weblate (Dutch)
Currently translated at 99.4% (5772 of 5806 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/
2023-04-28 17:19:17 +02:00
Tom De Moor
3d7fc23247 Translated using Weblate (Dutch)
Currently translated at 99.5% (5778 of 5806 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/nl/
2023-04-28 16:20:20 +02:00
Francesco Bedini
84755aad0f Translated using Weblate (Italian)
Currently translated at 65.4% (3799 of 5806 strings)

Translation: mattermost-languages-shipped/mattermost-webapp-monorepo
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp-monorepo/it/
2023-04-28 15:03:01 +02:00