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

4309 Коммитов

Автор SHA1 Сообщение Дата
Scott Bishel
7740eb9d43 MM-61751 -Enforce permissions on role detail form. (#29361)
* enforce permissions on role admin form

* update for more missing Hidden checks on detail pages

* add description to roles settings

* update snapshots

* update strings

* remove padding

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-31 07:08:34 -07:00
Julien Tant
9a5dd2b6a1 [MM-62776] Fix search not working anymore in responsive mode. (#30041) 2025-01-30 11:57:13 -07:00
Julien Tant
1fcb6a49a8 [MM-60407] Add team selector to search bar (#29389)
Automatic Merge
2025-01-30 18:50:08 +02:00
Scott Bishel
369b9fa96b Prompt Team Admin before joining private channel (#29955)
* Prompt Team Admin before joining private channel

* fix and implement prompt when team admin joins via channel link

* update premission check and unit tests

* remove comment

* clean up some code

* update check to fix E2E tests
2025-01-30 08:21:09 -07:00
Pablo Vélez
dc06bb2155 MM-62621 - a11y fixes channel info bottom menu (#29910)
* MM-62621 - a11y fixes channel info bottom menu

* fix translations

* add back library import style

* remove unnecesary pseudo menu aria roles and turn into plain buttons

* fix translations

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-30 07:39:22 -05:00
Rajat Dabade
ed98d147ae Fix the empty search state container stretching issue (#30045)
Automatic Merge
2025-01-30 09:50:12 +02:00
Devin Binnie
9ba9b646c3 [MM-62107] Remove the need to have the currently selected thread in the Unreads pane (#29876)
* [MM-62107] Remove the need to have the currently selected thread in the Unreads pane

* Remove selected thread from Followed Threads as well if it's not followed

---------

Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2025-01-29 14:29:59 -05:00
Jesús Espino
f1acdce42c Removing opentracing (#29965)
* Removing opentracing

* Fixing CI
2025-01-29 07:45:13 +01:00
Georg Bremer
f37ed867c8 Update Client4.createPost type (#29770)
* Update Client4.createPost type

Creating a post does not need all fields of `Post` populated, adding
jsut the `channel_id` and `message` or `props` works fine.

* Use PartialExcept

* Adapt create types to api/v4/source/*.yml types
2025-01-28 22:44:16 +00:00
Saurabh Sharma
57711d5251 MM-61638: Ensure custom buttons provide proper name, role, and state information (#29904)
* MM-61638: Add aria-hidden to icon

* MM-61638: Add type button to sidebar header button

* MM-61638: Fix failing lint

* MM-61638: Add aria attributes in button

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2025-01-28 16:24:06 +00:00
Saurabh Sharma
1999ff9263 [MA-50]: Provide fieldsets for groups of form controls (#29905)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-28 11:13:38 -05:00
Saurabh Sharma
b333902bef [MA-49]: Removed visiblity from screen reader when theme options are collapsed (#29782)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-28 10:40:07 -05:00
ayush-chauhan233
a672aa5be5 [MM-61641]: Ensure implicit list markup is avoided (#29787)
* MM-61641: Update post options to use semantic list elements

* MM-61641: Fix lint

* Apply suggestions from code review

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2025-01-28 10:37:18 -05:00
Caleb Roseland
3b69d36643 MM-62543: CPA sequential write ops & better validation (#29933)
* sequential write operations

* group_id required

* warn against names already in use

* add tests

* fix lint

* i18n
2025-01-28 15:28:43 +01:00
Saurabh Sharma
57f13549d7 [MM-61627]: Fix focus order in sidebar (#29743) 2025-01-28 19:44:06 +05:30
ayush-chauhan233
77ab7b92c6 [MM-61595]: Removed the unnecessary dialog text from toggle button's aria-label property (#29595) 2025-01-28 19:42:39 +05:30
Asaad Mahmood
fd213358f0 MM-62655 - Updating control label overflow (#29991) 2025-01-28 15:34:42 +05:00
Weblate (bot)
79299b9f66 Translations update from Mattermost Weblate (#30012)
Automatic Merge
2025-01-28 11:50:19 +02:00
ayush-chauhan233
7cd025d1fb [MM-61612]: Added dialog role to the emoji picker (#29690) 2025-01-28 12:54:37 +05:30
ayush-chauhan233
effe018813 [MA-43]: Updated the input grouping in notification setting tab (#29724) 2025-01-28 12:45:51 +05:30
ayush-chauhan233
ed161f31be [MM-61674]: Added appropriate roles to the menu component of post priority (#29545) 2025-01-28 12:40:02 +05:30
Julien Tant
dbf52d670d [MM-62193] Fix search in group channels (#29916)
* feat: Add profile loading for group channels in search autocomplete

* refactor: Use getChannelNameForSearchShortcut for channel name formatting

* refactor: Improve channel search term generation logic

* refactor: Simplify search channel provider logic and improve code readability

* fix: Improve channel search shortcut name handling with fallback

* refactor: Avoid overriding channels parameter in search channel provider

* refactor: Revert variable names to original style in search channel provider

* feat: Add getChannelNameForSearchShortcut selector for channel name retrieval

* refactor: Extract common channel name search logic into helper function

* fix text overflowing from search bar

* test: Add tests for completeDirectGroupInfo function

* test: Add type assertion for UsersState in channel_utils test

* test: add test case for completeDirectGroupInfo with omitCurrentUser false

* improve name composition for channels in search

* eslint

* lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-27 09:44:42 -07:00
Guillermo Vayá
6cc85c9e7d [MM-61928] Add clarifying note on personal token permissions (#29585) 2025-01-27 17:31:14 +01:00
Devin Binnie
396ee06dcb [MM-61319] Delete the thread from state when the root post is deleted by another user (#29975) 2025-01-24 15:44:11 -05:00
ayush-chauhan233
ca2b3fd528 [MM-61646]: Added logic to correctly give accessible name to channel header button (#29788)
* [MA-32]: Added logic to correctly give accessible name to channel header button

* [MA-32]: Fixed id name

* [MA-32]: Fixed failing e2e test case

* [MA-32]: Updated the aria-label attribute
2025-01-24 12:50:48 -05:00
Scott Bishel
49948891ce MM-62550- trim value and create batch updates (#29895)
* trim value and create batch updates

* update test

* update for review comments

---------

Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2025-01-24 10:28:19 -07:00
ayush-chauhan233
0cca57b6df [MM-61591]: Fixed the dialog aria-properties in profile popover (#29593)
* [MA-10]: Fixed the dialog aria-properties in profile popover

* [MA-10]: Updated the logic to add aria-label to profile popover

* [MA-10]: Updated the aria-label to be translatable

* [MA-10]:Updated the dialog aria-properties in profile popover

* [MA-10]: Fixed the dialog aria-properties in profile popover

* [MA-10]: Updated the translation string
2025-01-24 12:21:20 -05:00
Saurabh Sharma
f6a2f00fdb [MA-33]: Added aria-live to empty result messages (#29814)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-24 09:54:05 -05:00
Saurabh Sharma
54207acd6a [MM-61631]: Remove focusable child descendants (#29745)
* [MA-37]: Remove focusable child descendants

* [MA-37]: Fix E2E tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-24 09:52:16 -05:00
Saturnino Abril
5c9030ffc9 chore(deps): update (#29939) 2025-01-24 05:25:13 +08:00
Harrison Healey
481c18c7cc MM-62489 Fix error bar showing with developer mode disabled (#29911)
* MM-62489 Fix error bar showing with developer mode disabled

* Add changes that I forgot earlier
2025-01-23 15:34:08 -05:00
Pablo Vélez
6f737ac5ee MM-62192 - remove group upsell for regular users (#29958)
* MM-62192 - remove group upsell for regular users

* fix unit tests

* add new test and fix snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-23 14:59:09 -05:00
Vicktor
09fedc6cca [MM-55270] fix(accessibility): "channels" button in global header is not selectable with keyboard (#29224) 2025-01-23 22:57:13 +05:30
Julien Tant
b41b968eb8 restrict access to channel converstion to public for non team admin+ (#29819) 2025-01-23 09:42:20 -07:00
Weblate (bot)
4f62e7b3da Translations update from Mattermost Weblate (#29926)
* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

* Translated using Weblate (German)

Currently translated at 98.9% (2564 of 2592 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (2592 of 2592 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.0% (2568 of 2592 strings)

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

* Translated using Weblate (Russian)

Currently translated at 96.5% (2503 of 2592 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Russian)

Currently translated at 94.9% (5717 of 6020 strings)

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

* Translated using Weblate (Estonian)

Currently translated at 0.5% (33 of 6020 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2592 of 2592 strings)

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

* Translated using Weblate (Czech)

Currently translated at 99.7% (2586 of 2592 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (2592 of 2592 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 95.0% (5723 of 6020 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 98.9% (2564 of 2592 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 95.0% (5723 of 6020 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 98.9% (2565 of 2592 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.7% (2585 of 2592 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.9% (6019 of 6020 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2592 of 2592 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (6020 of 6020 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.7% (2586 of 2592 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 95.1% (5727 of 6020 strings)

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

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

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

---------

Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Konstantin <eleferen@gmail.com>
Co-authored-by: Tormi <tormipeterson@gmail.com>
Co-authored-by: Martin Mičuda <micuda@rematiptop.cz>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Serhii Khomiuk <sergiy.khomiuk@gmail.com>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-23 01:46:07 +00:00
Scott Bishel
8ad375365e MM-62545 Pin bottom actions and top line (#29860)
* pin bottom actions and top line.

* lint fixes

* lint fixes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-22 20:58:11 +00:00
M-ZubairAhmed
1373c05931 [MM-61966] "Browse or Create channel" menu on the right of team drop-down should use a11y supported menu (#29739) 2025-01-22 10:40:43 +05:30
ayush-chauhan233
a08341d398 [MA-21]: Added role='alert' to the error message element (#29723) 2025-01-21 18:06:32 -05:00
ayush-chauhan233
faeb6f52ac [MM-55284]: Fixed adding aria-label logic in team sidebar (#29562)
* [MA-6]: Fixed adding aria-label logic in team sidebar

* [MA-6]: Updated en.json, added create team button id

* [MA-6]: Fix: Added logic to add aria-label to users type

* [MA-6]: Fix typo

* [MA-6]: Added translation function to team button

* [MA-6]: Added translation function to team button

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-21 18:00:33 -05:00
Saurabh Sharma
12fea07714 [MM-61633]: Add aria-label in the on-boarding button (#29812)
* MM-61633: Add aria-label in the onboarding button

* MM-61633: Update formatting

* MM-61633: Add strings for localization

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-21 15:48:20 -05:00
ayush-chauhan233
4225b9bac1 [MM-61619]: Added aria-live property for message sent status (#29720)
* [MA-22]: Added aria-live property for message sent status

* Review Fixes: Updated the logic to programmatically change status element's content.

* [MA-22]: Rebased with master
2025-01-21 10:55:26 -05:00
Daniel Espino García
03b678e860 Fix error when navigating away of threads view (#29543)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-21 16:33:32 +01:00
Saurabh Sharma
543ff0e756 [MA-35]: Update aria-label (#29810)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-20 16:36:46 -05:00
ayush-chauhan233
5fbd6e1139 [MM-61588]: Fixed the keyboard interactivity of tablist and added appropriate ARIA properties (#29592)
* [MA-9]: Fixed the keyboard interactivity of tablist and added appropriate ARIA properties

* [MA-9]: Review Fixes: Added aria-level attribute to plugin preferences heading

* [MA-9]: Fixed failing e2e test case

* [MA-9]: Fixed styling in mobile view and fixed failing e2e test cases

* [MA-9]: Minor Refactoring

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-20 16:25:11 -05:00
Saurabh Sharma
ea3be1a9f2 [MM-61578]: Ensure the Add button is accessible with keyboard (#29653)
* [MA-16]: Ensure the Add button is accessible with keyboard

* [MA-16]: Add translations for label

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-20 16:22:51 -05:00
ayush-chauhan233
821448b94c [MA-46]: Handled intended hidden onboarding tasklist from assestive technology (#29840) 2025-01-20 16:13:59 -05:00
ayush-chauhan233
d28f84f525 [MM-61684]: Updated the heading element tag(#29841) 2025-01-20 15:56:40 +00:00
Harrison Healey
c7eb908e38 MM-61734 Add withErrorBoundary HOC and use for PostComponent (#29801)
* MM-61734 Add withErrorBoundary HOC and use for PostComponent

I originally planned to add error boundaries to some individual parts of the
post, but it seems sufficient to add them to just the outer PostComponent.

* Update button label
2025-01-20 10:02:11 -05:00
Harshil Sharma
ce29be0f38 Fixed minor misalignments with image component (#29861)
* Fixed minor misalignments with image component

* lint fix
2025-01-20 19:51:04 +05:30
M-ZubairAhmed
f3d1bc0731 [MM-62570] PluginLinkTooltip throws warning that class is invalid dom property (#29858) 2025-01-18 14:21:56 +00:00