2489 Коммитов

Автор SHA1 Сообщение Дата
Hosted Weblate
98b72ffbf5 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-19 09:52:22 +03:00
Asaad Mahmood
de42776e35 MM-54931 - Updating settings modals UI (#24934)
* Updating modals

* Updating tests

* Updating css

* Updating edit button

* Updating collapse icon in sidebar
2023-10-19 11:14:12 +05:00
Danial Keimasi
76337aed24 Use getFileDownloadUrl for file_search_result_item (#24654)
Fixes #24653

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-18 19:01:19 -04:00
Jesse Hallam
c0afe57ae1 Fix vi merge issues (#25001)
* Translated using Weblate (Vietnamese)

Currently translated at 71.8% (1789 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 100.0% (5706 of 5706 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 68.6% (1708 of 2489 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 60.6% (1510 of 2489 strings)

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

* Translated using Weblate (Russian)

Currently translated at 98.8% (5640 of 5706 strings)

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

Translated using Weblate (Russian)

Currently translated at 98.7% (5633 of 5706 strings)

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

Translated using Weblate (Russian)

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/ru/

* Translated using Weblate (Vietnamese)

Currently translated at 70.6% (1758 of 2489 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 70.6% (1758 of 2489 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 71.4% (1778 of 2489 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 71.7% (1785 of 2489 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 71.4% (1778 of 2489 strings)

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

* 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/

Update translation files

Updated by "Remove blank strings" hook in Weblate.

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (5706 of 5706 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 73.8% (1837 of 2489 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 73.2% (1822 of 2489 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 71.8% (1789 of 2489 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 99.3% (5667 of 5703 strings)

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

Translated using Weblate (Swedish)

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/sv/

Translated using Weblate (Swedish)

Currently translated at 99.7% (2484 of 2489 strings)

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

* Translated using Weblate (Hebrew)

Currently translated at 1.8% (46 of 2489 strings)

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

* Translated using Weblate (French)

Currently translated at 81.9% (4676 of 5703 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 78.1% (1946 of 2489 strings)

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

Translated using Weblate (Vietnamese)

Currently translated at 75.7% (1885 of 2489 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 5.9% (339 of 5703 strings)

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

Translated using Weblate (Croatian)

Currently translated at 6.8% (171 of 2489 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (5703 of 5703 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 99.9% (5702 of 5703 strings)

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

* Translated using Weblate (Kazakh)

Currently translated at 1.1% (65 of 5703 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 81.5% (2029 of 2489 strings)

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

* Translated using Weblate (Vietnamese)

Currently translated at 81.5% (2029 of 2489 strings)

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

---------

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: linkvn <nguyentunglinh87@gmail.com>
Co-authored-by: Konstantin <eleferen@gmail.com>
Co-authored-by: cescpmantidfly <cescpmantidfly@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Tomer Ben-Rachel <tomerpacific@gmail.com>
Co-authored-by: Nicolas <nicolas.miard@zaclys.net>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Bartek Szopka <bartek.szopka+github@gmail.com>
Co-authored-by: Akbar Abdrakhmanov <kz.akbar@gmail.com>
2023-10-18 14:20:14 -03:00
Jesús Espino
1d421a3694 MM-52824 Migrate file_upload_settings.jsx to typescript (#24913)
Automatic Merge
2023-10-18 19:22:23 +03:00
js029
4b766c09d5 [MM 24831] Convert LocalizedInput of 'email_to_oauth.tsx' to regular input component (#24973) 2023-10-18 17:58:10 +05:30
Asaad Mahmood
52fe06db4e MM-54777 - Updating invite modal guest button (#24977)
* MM-54777 - Updating invite modal guest button

* Updating button
2023-10-18 14:14:47 +05:00
Dipan Dhali
a272a78e63 Convert ShieldOutlineIcon to function Component (#24810)
* Convert ShieldOutlineIcon to function Component

* Fixed Extra line and Test file
2023-10-18 10:04:40 +02:00
Kritik Jiyaviya
0bf7f1413c Convert ./components/post_view/scroll_to_bottom_arrows.tsx to functional component (#24801)
* Convert ./components/post_view/scroll_to_bottom_arrows.tsx from Class Component to Function Component

* update scroll_to_bottom_arrows component

* enhancement: scroll_to_bottom_arrows component

* update scroll_to_bottom_arrows component

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-18 09:52:34 +02:00
Paul Vernin
d2d820cb31 [MM-54474] Fixed behaviour of markdown code button (#24816)
* update webapp/../apply_markdown.ts to support codeblock and inline block markdown correctly & added corresponding unit tests to apply_markdown.test.tsx

* refactor apply_markdown.ts

* refactor applyMarkdownToSelection to support different starting/ending delimiter && delete applyCodeBlockToSelection

* updated apply_markdown.test.tsx

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-17 16:25:09 -04:00
Harrison Healey
3d0fd16666 MM-54640 Add API to get multiple emojis by name at once (#24651)
* MM-54640 Add API to get multiple emojis by name at once

* Fix status code when too many names are requested

* Address feedback

* Update unit tests

* Fix styling

* Fix more styling

* Fix mismatched i18n id
2023-10-17 12:03:28 -04:00
Harrison Healey
77cc356d46 Revert "Add "thanks" and "thank you" to "pray" emoji (#24090)" (#24969)
This reverts commit 6abaf04a95.
2023-10-17 11:57:35 -04:00
Tom De Moor
1de790a4fe Adding Vietnamese as a new language (beta) (#24074)
* adding vietnamese

* ran npm run test:updatesnapshot

* ran npm run test:updatesnapshot

* Update i18n.jsx

* updatesed snapshot

* fix whitespace in snapshots

* add vi as supported server locale

* update docs to point at server-side list of supported locales

* removed incorrect translation

---------

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2023-10-17 10:08:13 -03:00
Rafael Kristoforus Yanto
09adf9ae91 [MM-54842] Convert LocalizedInput of 'abstract_command.tsx' to regular input component (#24886) 2023-10-17 18:20:01 +05:30
Balaji K
f86ec9da18 #24773 Converted ./components/emoji_picker/components/emoji_picker_header.tsx to Function Component (#24803)
* #24773 Converted ./components/emoji_picker/components/emoji_picker_header.tsx to Function Component

* Fixed the lint errors and removed the explicit functional component type

* Added memo to make the functional component pure.
2023-10-17 12:59:36 +02:00
Yusuke Nemoto
654669aa00 [MM-54858] Can't set 0 to a dialog element with subtype=number in interactive dialog (#24916)
* fix: avoid considering 0 as falsy value

* refactor: simplify value assertion

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-17 12:57:03 +02:00
Dipan Dhali
f44f4edd17 [MM-54834] Convert LocalizedInput of mfa/setup/setup.tsx to regular input component (#24931) 2023-10-17 16:26:47 +05:30
Firmansyah Yanuar
98c8f9ae44 [MM-54794] Convert ./components/widgets/icons/fa_next_icon.tsx to function component (#24785)
* chore(channels): convert next icon to functional component

* test(channel): update next snapshot

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

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-17 12:49:35 +02:00
Harsh Solanki
1f384cad4e [MM-54838] Convert LocalizedInput of 'system_users.tsx' to regular input component (#24858) 2023-10-17 14:58:46 +05:30
Ritesh Mukim
fb1234667b [MM-23408] Migrate "components/setting_item_max.test.jsx" to Typescript (#24938) 2023-10-17 14:57:25 +05:30
Balaji K
2b2743d9cb #24774 Converted ./plugins/rhs_plugin/rhs_plugin.tsx to Function Component (#24802)
* #24774 Converted ./plugins/rhs_plugin/rhs_plugin.tsx to Function Component

* Fixed the lint errors and removed explicit FC type

* Added memo to make the functional component pure.
2023-10-17 10:42:36 +02:00
Harshil Sharma
4633d4d3b9 MM-54731 Fixed a bug preventing users be added from system console (#24828)
* Fixed a bug preventing users be added from system console

* Updated usersToRemove
2023-10-17 11:54:54 +05:30
Umar Abid
1a12faaaae GH-24784 Convert ./components/common/site_name_and_description.tsx to Function Component (#24809)
* fix: convert ./components/common/site_name_and_description.tsx to function component

* update: code style changes

* fix: refactor code

* fix: update failing snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-16 17:30:06 +02:00
Nick Misasi
8f2ae32e82 [CLD-6077] Changes to Country Selectors throughout Webapp (#24868)
* Standardize country selectors into using a central component - don't use Country Name, use Country Code

* Fix colour of placeholder

* Updates

* Update state selector to reflect changes from Country Name to Country Code

* Fix linter"
2023-10-16 11:23:22 -04:00
Tanmay Vardhaman Thole
cb83bd154b convert EmojiIcon component from class based to function based component (#24792)
* convert EmojiIcon comp to functional comp

* comment resolved

* memoization added

* snapshot updated

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-16 17:05:05 +02:00
Tanmay Vardhaman Thole
b4f3816f0c migrate channel header dropdown comp to functional comp (#24793)
* migrate channel header comp to functional comp

* snapshots updated

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-16 17:04:31 +02:00
Nick Misasi
930309e01e [CLD-6373] Fix non-admin users requesting self hosted expansion status on load (#24890)
* Fix non-admin users requesting self hosted expansion status on load

* Fix linter

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-16 09:55:13 -04:00
Jesús Espino
b6fd1b7bcf migrating elasticsearch_settings.test.jsx to typescript (#24947)
* migrating elasticsearch_settings.test.jsx to typescript

* Fixing CI
2023-10-16 15:11:33 +02:00
Jesús Espino
8eaaa7228e migrating database_settings.test.jsx to typescript (#24946)
* migrating database_settings.test.jsx to typescript

* Removing unnecessary type assertion
2023-10-16 13:45:53 +02:00
Eric Sethna
6abaf04a95 Add "thanks" and "thank you" to "pray" emoji (#24090) 2023-10-16 16:10:57 +05:30
M-ZubairAhmed
d557bd864f [MM-54138] Remove code involving getRedirectLocation and state.entities.posts.expandedURLs (#24739) 2023-10-16 16:09:59 +05:30
Zubair Imtiaz
d98dc31425 Fixes [#24664] Improve System Message Formatting for Channel Header Edits (#24714)
* Added cancel button in the delete category modal

* fix lint error

* fix eslint issues

* Line break Added in system messages-ChannelHeader

* fix-lint

* Update _post.scss

* Update _markdown.scss

* Update system_message_helpers.tsx

* remove_extra_spaces

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-16 12:34:43 +02:00
Maria A Nunez
2f5b756d67 MM-53481 Fix textbox broken Help link (#24889)
* Fixed broken link

* Fix importa

* Lint

* Fix import

* Linting

* fix snapshots
2023-10-16 06:24:47 -04:00
Paul Vernin
6457a47110 update (_sidebar-right.scss): remove default max-width (400px) of .sidebar--right (#24878) 2023-10-16 11:22:26 +02:00
Kritik Jiyaviya
a2475a46a6 Convert ./components/integrations/integration_option.tsx to functional component (#24806)
* Convert ./components/integrations/integration_option.tsx to functional component

* update integration_option component

* improve integration_option component
2023-10-16 10:21:35 +02:00
Harshil Sharma
89eae8babe Updated error message for invalid attachments (#24872) 2023-10-16 11:24:58 +05:30
Saturnino Abril
6746857ee7 MM-52642 CLD-6352 MM-54007 Prepare setup for Playwright pipeline (#24647)
* pipeline(playwright): prepare setup for playwright

* feedback address

* clean up readme

* Fix docker-compose command and definition for dashboard

* fix the dashboard

* ignore dashboard when formatting

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Mario Vitale <mvitale1989@hotmail.com>
2023-10-14 07:02:32 +08:00
Michael Kochell
e9da1ee8ca Performance metrics: Differentiate requests that are from page load (#24327)
* POC page_load_context header

* refactor to make this.pageLoadContext a private field, and relocate setTimeout code

* add pageLoadContext to `ObserveAPIEndpointDuration` method

* move to telemetry_actions

* move PageContext constant in webapp

* give server control of possible page_load_context values

* variable name change

---------

Co-authored-by: mickmister <mickmister>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-13 14:59:12 -04:00
Ben Cooke
72c75f01ce [MM-52710] Adding a separator to the channel search string (#24349)
* adding a separator to the search string
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-13 12:52:23 -04:00
Gabriel Akinyosoye
02d0b12c96 [MM-54639] Help menu should open correctly aligned (#24655)
* remove openLeft

* remove prop usage

* revert menu

* change user guide dropdown

* update snapshot
2023-10-13 12:49:10 -04:00
Maria A Nunez
7074850fb1 Remove professional plus from in-product pricing (#24727)
* Remove professional plus from cloud pricing

* Removed additional unused strings
2023-10-13 11:57:56 -04:00
Scott Bishel
f4b4afdae6 MM-53855 - Handle serverError undefined or null (#24630)
* handle serverError undefined or null

* exclude bots from list and search for adding users to roles

* add import, fix lint

* add unit tests

* update test, team/channel admin based on membership, not user roles

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-13 09:57:17 -06: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
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
Claudio Costa
d172ff1881 [MM-51852] Update getProfilesInCalls selector (#24731)
* Update getProfilesInCalls selector

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