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

4733 Коммитов

Автор SHA1 Сообщение Дата
Devin Binnie
f3d20cfc15 [MM-62999] Fix label in notification settings for notification sound combo box (#31295) 2025-06-05 08:50:37 -04:00
Claudio Costa
65c5f40c6a [MM-62409] Generate and publish code coverage for webapp (#31144)
* Generate and publish code coverage for webapp

* Upate coverage output path

* Simplify coverage patterns

* Disable coverage file search

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-05 14:04:27 +02:00
Harshil Sharma
2337c580f6 Ignored email from client search (#31057)
* Ignored email from client search

* removed redundent email split

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-05 10:05:25 +05:30
Nick Misasi
91862811f5 [CLD-9186] Remove onboarding tasklist, add preview banner (#31203)
* Remove pricing modal. Adjust everywhere to instead open mattermost.com/pricing. When air gapped, don't show buttons to view plans.

* Fix lint

* Further clean up of unused code. Fixes for linter

* Remove onboarding tasklist for previews, add Cloud previer banner

* Fixes for linter, i18n

* Revert dev lines

* Fix lint

* When below one minute, switch to seconds

* fix linter

* fixes for PR feedback

* useExternalLink for opening pricing modal with enriched params

* Fix i17n

* Fix style, tests

* Update webapp/channels/src/components/announcement_bar/cloud_preview_announcement_bar/index.tsx

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>

* Fix linter

---------

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2025-06-04 16:24:58 -04:00
Harrison Healey
93d1ec5f1c Attempt to make ESLint-Webpack integration work in all editors (#31169)
* Attempt to make ESLint-Webpack integration work in all editors

* Reorder imports in Webpack config

This isn't validated by CI, but my local ESLint is complaining.
2025-06-04 20:09:54 +00:00
Harrison Healey
6517fa2fd1 MM-63411 Don't focus thread textbox automatically when it has a draft (#31250)
* MM-63411 Don't focus thread textbox automatically when it has a draft

* Add E2E test

* Add test files forgotten in previous commit

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-04 16:08:33 -04:00
Devin Binnie
a19eb5b9ef [MM-62983] Add aria-live region for updating the file preview modal carousel position (#31296) 2025-06-04 08:47:10 -04:00
Matthew Birtch
a87d29fce7 Remove redundant button styles and use proper button classes (#30929)
* remove redundant button styles and use proper button classes

* remove import for contact_us css

* fix view plans button to be xs

* tweak to disabled state on save button in floating bar

* change contact us to tertiary button like before

* updated btn-full on free edition right panel

* update contact button to be primary when shown in the trial card

* fix issue with hover state on save changes panel error state

* fix style lint issues

* update snapshots

* fixed a few license page buttons

* fix lint issue

* Update index.test.tsx.snap

* add empty end lines

* fixed scope of css so it doesn't affect product switcher

* upate button font size for xs, update bg color for button in announce bar

* fix lint error

* update missed cancel buttons to use proper classes

* fixed text spec to find the right button

* updated snapshots

* fix issue with test on cancel button

* update snapshots
2025-06-03 15:37:20 -04:00
Ibrahim Serdar Acikgoz
ec75435f3f [MM-64405] continously make syntax check (#31197)
* continously make syntax check

* reflect UX feedback
2025-06-03 11:10:25 +02:00
Miguel de la Cruz
147a5a0bd6 Remove the Beta label from Connected Workspaces (#31275)
Co-authored-by: Miguel de la Cruz <miguel@ctrlz.es>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-03 09:00:53 +00:00
Scott Bishel
ee0361894f MM-60200 Fix for Plugin Dialog with wrong channel ID. (#28122)
* save arguments to state for later usage

* add test

* feat: Add tests for submitInteractiveDialog with channel and thread context

* fix: Add missing properties to DialogSubmission in integration_actions.test.ts

* feat: Add channel_id to DialogSubmission objects in test file

* refactor: Move selectedThreadIdInTeam to views.threads state

* add channel id to state

* add unit test

* add unit test

* update submitInteractiveDialog

* update tests for changes

* remove log line

* refactor: Enhance submitInteractiveDialog proxy action with improved error handling

* add userID to submit data to plugin

* remove log message

* remove unnecessary default state

* lint fixes

* update unit test

* fixes from code review

* fixes from code review

* fixes from code review

* fix test, add userID to expected

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2025-06-02 13:12:12 -06:00
Nick Misasi
0cacee570a Remove in-product pricing modal (#31187)
* Remove pricing modal. Adjust everywhere to instead open mattermost.com/pricing. When air gapped, don't show buttons to view plans.

* Fix lint

* Further clean up of unused code. Fixes for linter

* fixes for PR feedback

* useExternalLink for opening pricing modal with enriched params

* Fix i17n

* Fix style, tests
2025-06-02 14:08:57 -04:00
Hosted Weblate
6484ae25b7 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/
2025-06-02 17:43:53 +02:00
master7
e415157e39 Translated using Weblate (Polish)
Currently translated at 99.3% (6287 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2025-06-02 17:43:53 +02:00
Tom De Moor
0eab63ecfe Translated using Weblate (Dutch)
Currently translated at 99.9% (6326 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
2025-06-02 17:43:53 +02:00
Serhii Khomiuk
8f77f4d206 Translated using Weblate (Ukrainian)
Currently translated at 97.0% (6143 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/uk/
2025-06-02 17:43:53 +02:00
Frank Paul Silye
f1202ef83b Translated using Weblate (Norwegian Bokmål)
Currently translated at 83.2% (5271 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-06-02 17:43:53 +02:00
Tom De Moor
5c28507763 Translated using Weblate (Dutch)
Currently translated at 99.6% (6308 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
2025-06-02 17:43:53 +02:00
Sharuru
e04f456093 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (6329 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/
2025-06-02 17:43:53 +02:00
MArtin Johnson
86aada4cb0 Translated using Weblate (Swedish)
Currently translated at 99.9% (6328 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
2025-06-02 17:43:53 +02:00
master7
f700236987 Translated using Weblate (Polish)
Currently translated at 99.1% (6277 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2025-06-02 17:43:53 +02:00
Manuela Silva
adf9187d6d Translated using Weblate (Portuguese)
Currently translated at 1.9% (125 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pt/
2025-06-02 17:43:53 +02:00
master7
0b9ed462a6 Translated using Weblate (Polish)
Currently translated at 99.0% (6266 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2025-06-02 17:43:53 +02:00
Martin Mičuda
769a5b0495 Translated using Weblate (Czech)
Currently translated at 95.8% (6064 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/cs/
2025-06-02 17:43:53 +02:00
master7
7de1b757e2 Translated using Weblate (Polish)
Currently translated at 98.6% (6246 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2025-06-02 17:43:53 +02:00
jprusch
dc58edf56a Translated using Weblate (German)
Currently translated at 100.0% (6329 of 6329 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/
2025-06-02 17:43:53 +02:00
Miguel de la Cruz
c6c27e7752 Adds a feature flag and the logic to hide plugin interactions on shared channels (#31185)
* Adds a feature flag and the logic to hide plugin interactions on shared channels

* Address review comments

* Fix CI

* Address review comments

* Address review comments

---------

Co-authored-by: Miguel de la Cruz <miguel@ctrlz.es>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-02 12:59:19 +00:00
Uday Rana
58d6c71ed2 [MM-53650] Add disable emoticon rendering setting to webapp (#29414)
* add renderEmoticonsAsEmoji to post_markdown

* add renderEmoticonsAsEmoji to preferences, config

* add EnableRenderEmoticonsAsEmoji to GenerateClientConfig

* add EnableRenderEmoticonsAsEmoji to TeamSettings

* create renderEmoticonsAsEmoji component

* update translation file

* update tests

* add tests for RenderEmoticonsAsEmoji

* remove unused prop

* remove unused variables

* add test cases for undefined/false values for renderemoticonsasemoji

* switch strings from backticks to single quotes

* Update webapp/channels/src/components/user_settings/display/render_emoticons_as_emoji/render_emoticons_as_emoji.tsx

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

* Update webapp/channels/src/components/user_settings/display/render_emoticons_as_emoji/render_emoticons_as_emoji.tsx

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

* Update webapp/channels/src/components/user_settings/display/render_emoticons_as_emoji/render_emoticons_as_emoji.tsx

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

* Update webapp/channels/src/utils/emoticons.tsx

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

* remove server setting

* remove usestate

* update i18n

* remove config setting

* fix broken test

* fix focus edit button logic

* update tests for when render emoticons option is undefined

* remove config usage from selectors

* update setting display text

* remove 'automatically' from setting description

* use default from preferences instead of hardcoded true

* update component snapshot

* remove renderemoticonsasemoji = true from emoticons tests

* Apply suggestions from code review

* Switch from useEffect to useDidUpdate

* Run fix-style

* Add RenderEmoticonsAsEmoji component to test spec

* Rewrite RenderEmoticonsAsEmoji to mirror ManageTimezones and ManageLanguages

* Update UserSettingsDisplay snapshot

* Switch test to renderWithContext, update props

* Move options into const objects

* Wrap functions in useCallback

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-02 14:35:27 +02:00
Ibrahim Serdar Acikgoz
a457d3b73c [MM-64367] Update property/attribute naming convetion (#31168)
Automatic Merge
2025-06-02 10:00:09 +03:00
Sven Hüster
655d6f3fc7 [MM-63944] fix channel header color (#30899)
Automatic Merge
2025-06-02 09:00:09 +03:00
Ibrahim Serdar Acikgoz
6f26ad5cec [ABAC - Table Editor] Improvements on table editor and review feedback (#31125)
* reflect review comments

* update table editor

* adjust test limits

* reflect review comments

* MM-64376

* resolve conflicts

* address review comments

* fix merge conflict error
2025-06-01 12:05:57 +02:00
Ibrahim Serdar Acikgoz
35e06a2ee8 [MM-64422] Update icons for CEL Table Editor (#31213) 2025-05-30 22:39:24 +02:00
Ibrahim Serdar Acikgoz
2cf345dd5c removed channels will disappear from channel list in policy edit (#31140) 2025-05-30 18:59:59 +02:00
David Krauser
761584c040 [MM-64244] Add websocket disconnect reason metric (#31032)
We've recently spent some effort improving websocket reconnection logic. With this commit, I've augmented the websocket reconnect metric to include a disconnect reason. This will help us measure the impact of these changes in production.
2025-05-30 08:15:20 -04:00
Harshil Sharma
c9006b55e1 Fixed width of edit scheduled post UI (#31196) 2025-05-30 10:20:29 +05:30
Ibrahim Serdar Acikgoz
81d3273bc7 error when policy toggled but not selected (#31200) 2025-05-29 08:13:03 +02:00
Pablo Vélez
e52e285ba6 MM-64378 - disable channel settings menu option for users with no permissions (#31178) 2025-05-29 00:27:01 +02:00
Jesse Hallam
332be84efd Revert "MM-63648 - markdown images sometimes do not show the more button (#30716)" (#31224)
This reverts commit 20f9f58e4c.
2025-05-28 21:53:34 +00:00
Daniel Espino García
6fc60583eb Fix dialog dropdown being cut-off (#30881)
* Fix dialog dropdown being cut-off

* Fix dropdown e2e tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-05-28 13:05:33 +02:00
Matthew Birtch
b6401d9042 MM-63950 replace --denim- variables (#30925) 2025-05-27 07:55:37 -04:00
Miguel de la Cruz
e51ea025db Deletes CPA values on CPA field type change (#31122)
* Deletes CPA values on CPA field type change

* Fix error method name reference

* Cleans the state when a CPA field's type is updated

* Fix types

* Fix linter

* Webapp no longer makes a decision on the change and server sents a flag in the WS message

* Fix linter

---------

Co-authored-by: Miguel de la Cruz <miguel@ctrlz.es>
2025-05-27 13:38:05 +02:00
Matthew Birtch
649b939e6a MM-63898 Improve Blockquote Style (#31008)
* quote style exploration

* style tweak

* updated quote style

* Update _markdown.scss

* update value to match css

* fix linter issue

* changed reply bar to button-bg

* tweaks to compact mode

* a few more minor tweaks to spacing for compact mode and in edit preview mode

* fix lint issue

* add comment back in

* move to proper if statement for theme util
2025-05-26 22:20:42 -04:00
Maria A Nunez
5b28ddadb9 Accessibility: Add header tags missing in title sections (#30776)
* Fixed missing header in create account

* Fixed modal header

* Fixed header for suggestionList for autocomplete popup

* Fixed heading for search hints title

* Fixed header tag in search suggestion header

* Fixed header tag in RHS title

* Fixed header in RHS search results title

* Fixed header for RHS CHannel Info title

* Linting

* Fix tests

* Styling fix

* Linting

* PR Feedback

* Fixed tests

* Moved subtitle into h2

* Fix tests from merge

* Linting

* Fix snapshots

* Updated playwright tests snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-05-26 20:53:04 -04:00
Harrison Healey
1e0621252f Explicitly list exports from mattermost-redux (#31176) 2025-05-26 15:17:17 -04:00
Jesse Hallam
70a42ffd5f Reject mysql for enterprise advanced (#31164)
* reject MySQL with the enterprise advanced license

If a user attempts to set an Enterprise Advanced License while
configured with MySQL, reject the license. This SKU is not compatible
with MYSQL.

* fix trial typo

* suppress trial banner if MySQL

* Update server/channels/app/platform/license_test.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix types

* suppress mysql from show start trial modal

* Skip MySQL-incompatible tests for access control and channel banner features

Skip the following tests when running with MySQL database:
- Access control policy tests (create, get, delete, check/test expressions, search, assign/unassign, get channels)
- Channel banner tests in TestPatchChannel and TestCanEditChannelBanner

These features are not supported on MySQL and the tests would fail.
Tests will continue to run normally on PostgreSQL.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Skip TestSearchChannelsForAccessControlPolicy subtest for MySQL

Add MySQL skip logic to the "SearchChannelsForAccessControlPolicy with regular user"
subtest as this access control feature is not supported on MySQL.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* reject trial license requests for MySQL

* return false on sku + mysql match, even if logger is nil

* Fix MySQL trial license tests to skip appropriately based on database driver

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-05-26 15:44:32 -03:00
Hosted Weblate
f2bb82bc01 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/
2025-05-26 20:38:25 +02:00
Frank Paul Silye
ebc9523cc4 Translated using Weblate (Norwegian Bokmål)
Currently translated at 83.4% (5268 of 6312 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-05-26 20:38:25 +02:00
ThrRip
68f8ff320a Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (6312 of 6312 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/zh_Hans/
2025-05-26 20:38:25 +02:00
MArtin Johnson
34a4785ace Translated using Weblate (Swedish)
Currently translated at 99.4% (6275 of 6312 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
2025-05-26 20:38:25 +02:00
master7
e33f045199 Translated using Weblate (Polish)
Currently translated at 98.9% (6244 of 6312 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/pl/
2025-05-26 20:38:25 +02:00