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

4190 Коммитов

Автор SHA1 Сообщение Дата
Pablo Vélez
8b8d0a0a09 MM-61897 - fix duplicated role dialog in boostrap modals (#29507)
* MM-61897 - fix duplicated role dialog in modals

* fix linter
2024-12-13 15:07:58 -05:00
Jesse Hallam
7179a9d1d6 reduce usage of Utils.localizeMessage (#29282)
* reduce usage of Utils.localizeMessage

As we begin to transition to react-intl's `formatjs` for extraction, our custom wrappers like `Utils.localizeMessage` prevent an adoption roadblock.

This is the first in a series of PRs to begin to migrate away in favour of:
* `useIntl` when inside React functional component
* use `injectIntl` and use access the `intl` prop from class components
* use the new `getIntl`, leveraging a memoized `createIntl` and the store outside of React components

I'm pausing in this effort to get a feel from peers on both the substance of these changes and best practices in supporting them.

* prefer shallowWithIntl, renderWithContext, and local injectIntl wrapping

* revert unintentional whitespaces

* clarify getIntl, add minor unit test

* avoid triggering mmjstool

* update e2e tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-12-13 09:49:28 -04:00
Devin Binnie
c19e0ea0e7 [MM-61958] Always fetch team unreads for current team on reconnect (#29529) 2024-12-12 12:49:13 -05:00
Jesús Espino
b8efccae69 Migrate MM-53377 regression test from Cypress to Playwright (#29460)
* feat: Migrate MM-53377 regression test from Cypress to Playwright

* fix: Update mm_53377 regression test to use admin client for setup

* fix: Correct admin client usage in mm_53377 regression test

* refactor: Standardize mm_53377 Playwright test with consistent naming and imports

* fix: Mark MM-T53377 test as fixme for investigation

* Migrating mm_53377_regression_test_spec.js cypress test to playwright

* Fixing linter errors

* Addressing PR review comment

* Fixing broken test
2024-12-12 12:02:22 +01:00
Jesús Espino
4e1e7334d8 Migrate remaining javascript files in webapp/channels/src/plugins to typescript (#29386)
* feat: Migrate actions.js to TypeScript with type annotations

* feat: Migrate actions.js to TypeScript with correct action types

* feat: Add actions plugin for webapp channels

* feat: Migrate actions.js to TypeScript with type annotations

* feat: Add interactive dialog plugin for webapp channels

* feat: Migrate interactive_dialog.js to TypeScript with type definitions

* feat: Add export plugin module for webapp channels

* feat: Migrate export.js to TypeScript with type declarations

* feat: Add initial plugin index file for webapp channels

* feat: migrate plugins/index.js to TypeScript with type definitions

* test: Add export plugin test file

* feat: Migrate export.test.js to TypeScript with type assertions

* feat: Add emoji actions file to webapp channels

* feat: Migrate emoji_actions.js to TypeScript with full type support

* Fixing some issues

* Revert "feat: Migrate emoji_actions.js to TypeScript with full type support"

This reverts commit e64aabe9fc6d36938cbaa40b7acb3356729a6686.

* fixing linter errors

* Fixing CI

* Addressing pr review comments

* Apply suggestions from code review

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

* Fixing linter errors

* Fixing CI

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2024-12-12 10:03:13 +01:00
Caleb Roseland
f1cb9f1ec2 MM-52512 fix ability to exclude archived channels in system console (#29122) 2024-12-10 13:28:20 -06:00
Scott Bishel
2c52f09071 update text, add tests (#29485)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-12-10 08:06:05 -07:00
Jesús Espino
4c27e6ebfe Fixing accessiblity on search input (#29423)
Automatic Merge
2024-12-10 08:47:37 +01:00
Harrison Healey
69df5df878 Add placeholder MMAction and MMReduxAction types (#29484)
* Add dummy MMReduxAction type and use it in its ActionFunc types

* Use MMReduxAction in mattermost-redux reducers

I updated most reducers except for the following:

- I couldn't figure out how to type the request reducers because of
  handleRequest, and it wasn't worth spending time on because it's
  stable and we don't really use those.
- The typing reducers are weird because they use WS event names as
  constants. They should be given their own action types separate from
  the event names, and they probably shouldn't be in mattermost-redux.

There's also a few places that still use AnyAction, but those are for
helpers for individual reducers. In the future, we should probably pass
the data from the action directly into those.

* Add dummy MMAction type and use it in the web app ActionFunc types

* Use MMAction in web app reducers
2024-12-09 19:22:07 +00:00
Harrison Healey
e873e5c1ef Add web app versions of ActionFunc types (#29483)
* Re-export ActionFunc types from mattermost-redux from types/store

* Start using ActionFunc types from types/store instead of mattermost-redux

These are all the places where the type checker failed when I added the
web app version of ActionFunc. I'll move all the other files in a
separate commit.

* Use ActionFunc types from types/store everywhere outside mattermost-redux

* Make types/store versions of ActionFunc use web app GlobalState

* Stop passing GlobalState into ActionFunc explicitly

* Stop casting as GlobalState where it's no longer needed

* Prevent importing mattermost-redux version of ActionFunc in the rest of the app

* Fix no-restricted-imports applying incorrectly to mattermost-redux and types/store
2024-12-09 13:37:41 -05:00
M-ZubairAhmed
f80afad1b6 [MM-58441] Create a floating-ui Tooltip which will swap out ReactBootstrap tooltip (#29464)
Added a new tooltip
- components/team_sidebar/components/team_button.tsx
- components/post_view/reaction/reaction_tooltip/reaction_tooltip.tsx
- components/post_view/post_recent_reactions/post_recent_reactions.tsx
- components/common/comment_icon.tsx
2024-12-09 14:50:08 +00:00
Weblate (bot)
cf219b0e06 Translations update from Mattermost Weblate (#29518)
Automatic Merge
2024-12-09 14:47:37 +01:00
David Krauser
3224e0d3a2 MM-61991 Show server hostname in about modal (#29413)
This introduces a new entry in the `Main Menu -> About` modal with the hostname of the currently connected websocket. This will be used to aid debugging issues in clustered environments by showing which node in the cluster is servicing requests for a particular websocket.

This information is only visible in self-managed instances. It will not be visible on cloud instances.
2024-12-06 10:39:36 -05:00
Michele Lo Russo
b03409202e Use "transform: scale" to resize emoticons, and "zoom" when supported (#29276) 2024-12-05 16:22:55 -07:00
Alexandre Sollier
c67e5089c1 [MM-61946] Don't change the emoji picker search input text case (#29397)
This removes the search input text lowercasing from the
`EmojiPickerSearch` component, where it is used as the text displayed to
the user.

Instead, filter lowercasing is done in the `getFilteredEmojis` function
to make emoji search case-insensitive.

Signed-off-by: Kuruyia <github@kuruyia.net>
2024-12-05 13:16:56 -05:00
Ivy Gesare
bc6f162d20 Change: Make custom status clear after 'Today', clear at midnight (#29072) 2024-12-06 01:18:13 +08:00
Saturnino Abril
90c0235c4b upgrade playwright dependencies, screenshots and tests (#29466) 2024-12-04 19:52:18 +08:00
Michele Lo Russo
43d589be79 Fix bug when you press PgUp/PgDown on a long message with sidebar open (#29272)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-12-04 10:53:32 +05:30
catalintomai
8861a8aef0 MM-60436 - remove telemetry api track calls (#28160) 2024-12-03 23:20:53 +00:00
Michele Lo Russo
e9878f8ac6 MM-61526 Fix scrollbar not clickable due to being covered by toaster (#29251)
* Fix scrollbar not clickable due to being covered by toaster

* Apply suggestions from code review

---------

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-12-03 17:40:16 -05:00
Harrison Healey
8533350a91 MM-61893 Replace usage of hasOwnProperty with Object.hasOwn (#29428)
* MM-61893 Replace usage of hasOwnProperty with Object.hasOwn

* Update type guard in messageToElement

* Replace a couple more hasOwnProperty calls
2024-12-03 21:53:23 +00:00
Joram Wilander
3ed209a34d Fix server update message not handling mutli-digit version numbers (#29436) 2024-12-03 21:55:04 +01:00
Weblate (bot)
3c6d5f2d47 Translations update from Mattermost Weblate (#29444)
Automatic Merge
2024-12-02 16:17:37 +01:00
Amy Blais
d8ede680c2 Downgrade language to Alpha (#29443)
Automatic Merge
2024-12-02 15:47:36 +01:00
Jesse Hallam
7c6f1d4554 feat: Add tooltips to channel info RHS top buttons (#29170)
* feat: Add tooltips to channel info RHS top buttons

* style: address linting issues

* feat: Add accessibility ids to Tooltips in top_buttons.tsx

* leverage WithTooltip for standardized styling

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-12-02 10:16:20 -04:00
Harrison Healey
ef46f8e164 MM-61560 Make it so that Menu.Items can be tested without a Menu (#29427)
* MM-61650 Make it so that Menu.Items can be tested without a Menu

* Rename file to stop Jest from complaining
2024-11-29 12:57:21 -05:00
Agniva De Sarker
4ec4b4d525 MM-61886: Add actionable page navigation metrics (#29332)
Page load is one of the metrics that we track and present
to MLT. However, in its current form, it is not very
actionable because it also contains the network latency.

We split the whole metric into these parts:
startTime
|
responseStart = TTFB
|
responseEnd = TTLB
|
domInteractive = Start of processing phase
|
loadEventEnd = Load complete

This gives us better visibility into exactly
which phase in the load process is slow.

I have experimented with other metrics like
- domContentLoadedEventStart
- domContentLoadedEventEnd
- domComplete

and observed that they do not have sufficient
gaps in the timespan to have any relevance.

Additionally, I have moved TTFB from being a
web vitals metric to being tracked from the performance
metrics to remain consistent with the other navigation
metrics measured.

Lastly, I took this chance to improve some of the
validation errors that we threw to include more
context into the input that was passed and why
does it fail.

This also meant that I had to change the tests
to check for error strings rather than direct
errors which is a bad thing, but I don't think
it's worth the effort trying to have named error
variables for all of them.

https://mattermost.atlassian.net/browse/MM-61886

```release-note
NONE
```
2024-11-29 11:24:35 +05:30
Devin Binnie
b33622e32c Remove unnecessary dispatch call (#29421) 2024-11-28 16:28:16 -05:00
Julien Tant
dabf383d4c [MM-61969] Fix regression where search suggestion would break when using uppercase letters (#29400) 2024-11-27 10:53:14 -07:00
Daniel Espino García
25ff7a3779 Fix MM-61710 (#29248)
* Fix MM-61710

* Fix test

* Make more secure the secureGetFromRecord

* Revert changes related to redux posts

* Move segureGetFromRecord

* Fix test

* Use hasOwn

* Address feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-27 17:13:22 +01:00
Devin Binnie
99f242527e [MM-60984] Force reload of all channels on reconnect to ensure we have updated message counts (#29355)
* [MM-60984] Force reload of all channels on reconnect to ensure we have updated message counts

* PR feedback

* Fix test
2024-11-27 08:14:11 -05:00
Harshil Sharma
ab99856591 Added null guard in hook (#29395) 2024-11-27 14:31:44 +05:30
M-ZubairAhmed
fe5756225c [MM-61066] Add support for disabled notifications in desktop (#28739) 2024-11-27 06:32:23 +00:00
Pablo Vélez
48c14af280 MM-61297 - remove unused code (#29354)
* MM-61297 - remove unused code

* remove unused code for install plugin in backend

* fix translations
2024-11-26 19:11:21 -05:00
Vicktor
924bef8b4d [GH-24981] Fix: Manually selecting EST timezones is confused with daylight savings (#29290)
* Give product branding button role

The product branding only handled click events to open the switcher menu.These changes make it possible to click on the product branding using SPACE and ENTER to open/close the switcher menu.

* Use dynamic index to select timezone utc

Some timezones have similar arrays, so hard-coding the first item lead to duplicate items being selected.

* Remove 'handleManualTimezone' method

This is method is declared but not used anywhere in the code base.

* Fix lint errors

* Add 'key' prop to input array items

Missing 'key' props led to a console error when you click the timezone option to change timezones. This change fixes it.

* Revert "Give product branding button role"

This reverts commit e781d708dbedaf8af8ba3790edd8c28d8605d6b9.

* Add comment providing more context to changes

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-26 08:31:04 +00:00
Weblate (bot)
24a1b5e0f3 Translations update from Mattermost Weblate (#29382)
* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 57.1% (3432 of 6008 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (6008 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 59.3% (3566 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 59.9% (3603 of 6008 strings)

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

* Translated using Weblate (Czech)

Currently translated at 94.0% (5652 of 6008 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (6008 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 60.0% (3607 of 6008 strings)

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

* Translated using Weblate (Czech)

Currently translated at 95.7% (5755 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 60.2% (3617 of 6008 strings)

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

* Translated using Weblate (Czech)

Currently translated at 96.4% (5796 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 60.2% (3617 of 6008 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (6008 of 6008 strings)

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

* Translated using Weblate (Czech)

Currently translated at 97.4% (5857 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.9% (6007 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 60.4% (3632 of 6008 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.1% (2574 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 60.7% (3651 of 6008 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.5% (2585 of 2597 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 82.0% (2131 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 61.4% (3694 of 6008 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 85.3% (2216 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 61.6% (3703 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 61.6% (3706 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 61.7% (3708 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 61.7% (3709 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 61.7% (3711 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 63.9% (3845 of 6008 strings)

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

* Translated using Weblate (Kazakh)

Currently translated at 6.9% (415 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 98.8% (2567 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 98.8% (5938 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 65.9% (3964 of 6008 strings)

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

* Translated using Weblate (Kazakh)

Currently translated at 6.9% (419 of 6008 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (6008 of 6008 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (6008 of 6008 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.5% (2586 of 2597 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (6008 of 6008 strings)

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

* Translated using Weblate (Kazakh)

Currently translated at 7.0% (421 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 67.3% (4047 of 6008 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 99.4% (2583 of 2597 strings)

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

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (6008 of 6008 strings)

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

* Translated using Weblate (Kazakh)

Currently translated at 7.5% (456 of 6008 strings)

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

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 70.1% (4216 of 6008 strings)

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

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (6008 of 6008 strings)

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

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 98.5% (2560 of 2597 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (6008 of 6008 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 98.7% (5933 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 70.7% (4250 of 6008 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 98.3% (2553 of 2597 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2597 of 2597 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 98.7% (5934 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 70.9% (4261 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 70.9% (4261 of 6008 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/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 (Ukrainian)

Currently translated at 70.9% (4261 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 70.9% (4261 of 6008 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 70.9% (4261 of 6008 strings)

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

---------

Co-authored-by: Serhii Khomiuk <sergiy.khomiuk@gmail.com>
Co-authored-by: master7 <marcin.karkosz@rajska.info>
Co-authored-by: Martin Mičuda <micuda@rematiptop.cz>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Henrique Latorre <hpflatorre@gmail.com>
Co-authored-by: Akbar Abdrakhmanov <kz.akbar@gmail.com>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: ThrRip <coding@thrrip.space>
Co-authored-by: Yanyiyi <oabb1388@gmail.com>
Co-authored-by: Dženan <dznv@pm.me>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
2024-11-26 08:01:13 +01:00
Harrison Healey
049aa42633 MM-59952/MM-61438 Fix web app not responding to WS events for status (#29371)
* MM-59952/MM-61438 Fix web app not responding to WS events for status

* Add E2E tests
2024-11-25 13:47:29 -05:00
Rajat Dabade
2d841962b0 MM-60376 removed the feature to import theme from Slack (#28891)
* MM-60376 removed the feature to import theme from Slack

* removed unnecessary keywords from en.json

* removed setEnforceFocus props

* updated snapshot

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-25 16:38:57 +05:30
Asaad Mahmood
c8e3737d96 MM-57079 - Fixing extra spacing in blockquote (#29137)
* MM-57079 - Fixing extra spacing in blockquote

MM-57079 - Fixing extra spacing in blockquote preview

* fixing css

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-24 20:39:32 +05:00
Pablo Vélez
dc5e395543 MM 61586 - fix fav icon accessibility focus problem (#29329)
* MM-61586 - fix fav icon accesibility focus issue

* add unit test to the component
2024-11-22 13:31:43 +01:00
Pablo Vélez
3add525ad1 MM-61643 - set role to none since react-boostrap set role='dialog' automagically (#29344) 2024-11-22 13:28:59 +01:00
Julien Tant
3b1eb64e02 [MM-51201/MM-60406/MM-60404] CrossTeam Search posts and files (#28478)
* poc - wip

* add search files across teams

* eslint

* fix existing tests

* fix webapp style

* fix test

* add api doc

* change initial state in test

* add tests on API

* add tests on file info layer

* fix file search tags

* add rhs reducer test

* reset team selected when the RHS is suppressed

* change css to reflect UI

* fix style

* fix doc wording

* make getSearchTeam return currentTeamId when value is not set

* await is unnecessary

* revert boolean check and add test

* add comment to getSearchTeam to let dev knows it defaults to currentTeam

* remove redundant team check

* simplfy test

* fix style check

---------

Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-21 13:40:46 -07:00
Pattara Kiatisevi
f0280d6dd4 Thai tone marks and vowels at the end of the search term is wrongly removed. (#29071)
Co-authored-by: sukoom pornsuksiri <sukoom@mm.co.th>
2024-11-21 13:47:48 +00:00
Daniel Espino García
2e13cbb84d Add post props validation (#29017)
* Add post props validation

* Fix tests and revert deletion

* Fix i18n

* fix tests

* Add some tests

* Fix tests

* Address feedback

* Fix lint

* Fix message attachments
2024-11-21 14:25:02 +01:00
Arya Khochare
12f8ff0e8b disable preview formattingBar disabled (#28727)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-21 11:57:45 +01:00
Pablo Vélez
6656a54484 MM-61830 - hide actions to no permissions channels (#29319)
* MM-61830 - hide actions to no permissions channels

* add translations

* add unit tests

* expand functionality to archived channels, update tests

* simplify logic to verify membership
2024-11-21 09:50:10 +01:00
Harshil Sharma
c98f2e75fb Scheduled post option bot time exclusion (#29330)
* Not displaying users timezone if user is a bot

* Added test

* Added the case of dm with self
2024-11-21 13:30:34 +05:30
Scott Bishel
790103fae0 MM-59540 Ensure user has invite team permission in order to change setting (#28670)
* ensure user has invite team permission in order to change setting

* add tests and handle UI

* lint fixes

* revert changes to invite section input

* update tests

* revert bad merge

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-20 16:02:32 -07:00
Arya Khochare
ecdf6ad679 1 quick react emoji on sidebar width less than 640px (#29195)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-19 16:37:48 +05:30
Harshil Sharma
949e13725f Added precense check for scheduled posts before accessing error code (#29322)
* Added precense check for scheduled posts before accesing error code

* Expliocitelly stated the undefined nature
2024-11-19 10:58:09 +00:00