4896 Коммитов

Автор SHA1 Сообщение Дата
Julien Tant
acc19baca0 Bound document content extraction time and decouple it from uploads (MM-69098) (#36856) (#37043)
Automatic Merge
2026-06-15 08:35:26 +02:00
Ben Cooke
3b1f311c5f cherry pick (#36953) 2026-06-05 13:50:41 -04:00
Harshil Sharma
36ac3a43b1 Edit attachment permission (#36227) (#36723)
Automatic Merge
2026-05-25 12:24:05 +02:00
Maria A Nunez
202d125afa [release-10.11] MM-68547: Tighten authorization on group syncable link and patch endpoints (#36434)
Automatic Merge
2026-05-06 08:53:51 +02:00
Harrison Healey
c64ff9d84e MM-66937 Fix broken IME handling in Find Channels modal (#35264) (#35798)
* MM-66937 Add E2E tests for bug

* MM-66937 Remove delayInputUpdate on that input to fix the bug

* Remove delayInputUpdate prop from QuickInput and SuggestionBox

* Run prettier

* Inline updateInputFromProps and remove eslint-disable that's no longer needed

* Fix snapshots
2026-03-27 08:14:04 +02:00
Doug Lauder
a8db85c026 Cherry-pick MM-66789 (Include log viewer (system console) in log root path validation) (#35253)
Automatic Merge
2026-02-13 12:09:37 +02:00
Ibrahim Serdar Acikgoz
d2594e5046 Patch MM-67126 issue (#35142)
Automatic Merge
2026-02-02 12:53:32 +02:00
Christopher Poile
f626d98799 manual cherrypick: [MM-67130] Fix permalink preview permissions (#34909) (#35114)
* manual cherrypick: [MM-67130] Fix permalink preview permissions (#34909)

* remove permalink embeds when user loses access to orginating channel

* remove posts & embeds on team_leave event; simplify preview index.ts

* cleanup

* remove dead code

* more dead code elimination

* linter
2026-01-29 20:41:37 +00:00
Mattermost Build
12dce033d6 MM-64725 - channel settings modal do not update url automatically (#33500) (#35052)
Automatic Merge
2026-01-26 11:53:39 +02:00
Christopher Poile
ebe1bd4e31 MM-67077: Remove PSD file previews (#34898) (#35000)
Automatic Merge
2026-01-21 12:18:54 +02:00
Miguel de la Cruz
613bb616cd Avoid triggering unnecessary rerenders on the shared channels tooltip for users (#34336) (#34702)
Co-authored-by: Miguel de la Cruz <miguel@ctrlz.es>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-12-11 11:13:44 +02:00
Mattermost Build
f9fb13c7e6 [MM-65186] Keyboard focus is wrong when using Shift-Up to reply in thread (#34627) (#34697)
(cherry picked from commit 4fb41f3ba274f32b8e23f52e46b82e3d93f63af6)

Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
2025-12-10 05:17:54 +00:00
Mattermost Build
dad6bd7a15 Use validated redirectTo in error page (#34073) (#34169)
Automatic Merge
2025-10-16 16:13:38 +03:00
Mattermost Build
967e44805b Fix RHS reply input focus issues (#33965) (#34099)
Automatic Merge
2025-10-09 12:13:38 +03:00
Mattermost Build
f1f6719f38 [MM-64883] Don't show unreads from muted channels in the favicon/desktop app (#33592) (#33863)
(cherry picked from commit ccb098972994a8d85ba8cedca95436d19d9477e0)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2025-09-09 15:51:28 +00:00
Mattermost Build
2a35a97a18 Relax post action requirements to allow undefined name (#33612) (#33767)
Automatic Merge
2025-08-21 13:04:04 +03:00
Mattermost Build
4c718c4b9a [MM-63579] Missing status indicator in compact display mode (#33651) (#33716)
(cherry picked from commit 573c78481ead916e5925836fa1e992456cb671c5)

Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com>
2025-08-14 09:30:01 +00:00
Harrison Healey
004a6429e2 Add script to update web app package versions going forward (#33669) 2025-08-13 10:37:58 -04:00
Mattermost Build
5b955468ea MM-64957 - fix autoscroll not working (#33595) (#33603)
Automatic Merge
2025-07-31 19:34:00 +03:00
Mattermost Build
04d2ca2e3e [MM-64893] Account for extra whitespace when replacing date on search hint (#33563) (#33590)
* [MM-64893] Account for extra whitespace when replacing date on search hint

* Fix ordering of caret position and selection range

* Revert "Fix ordering of caret position and selection range"

This reverts commit 9d6fc51ef35c242817a52b6206610abc5fc55503.

* Remove delayInputUpdate

(cherry picked from commit c775615868393566d6cf6caa0820869890da97a2)

Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
2025-07-30 13:28:11 +00:00
Mattermost Build
6cbcf4e290 MM-64250 - solve js eror while downloading images (#33552) (#33589)
Automatic Merge
2025-07-30 15:34:00 +03:00
Harrison Healey
ce75debaca Make all internal dependencies use exact versions and ensure they match (#33564) 2025-07-28 12:44:06 +05:30
Mattermost Build
48e211b60c MM-64880 Revert change to border colour in list modals and remove a few things from applyTheme (#33508) (#33532)
Automatic Merge
2025-07-23 09:28:42 +03:00
Mattermost Build
4cb8d89403 [MM-64516] Do not allow user editable attributes to be used in ABAC table editor (#32522) (#33524)
Automatic Merge
2025-07-23 08:28:42 +03:00
Mattermost Build
07a34f02b6 MM-64531: [Shared Channels] Users on different remote servers should not communicate unless the remotes have established secure connection. (#30985) (#33434)
Automatic Merge
2025-07-15 11:58:41 +03:00
Agniva De Sarker
3a6aeee57e MM-63652: Transition gossip encryption functionality to GA (#33349) (#33429)
Create a new config setting, and migrate the old values to new.

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

Skip-Enterprise-PR: true

```release-note
NONE
```

* fix i18n

also fix unit tests

```release-note
NONE
```

* For fresh installations, default to true

```release-note
NONE
```

* gofmt files

```release-note
NONE
```

* Fixing some more strings

```release-note
NONE
```

* Update e2e tests

```release-note
NONE
```
2025-07-15 11:37:01 +05:30
unified-ci-app[bot]
b6e80b9f59 Update npm packages versions for release-10.11 2025-07-14 05:16:07 +00:00
Pablo Vélez
a17c387ff2 MM-64713 - channel invite modal in abac channel should keep filtered list of users (#32803) 2025-07-10 20:03:54 +02:00
Harshil Sharma
d1e5fdea2c Content flagging systems console settings (#31411)
* Added enable/disable setting and feature flag

* added rest of notifgication settings

* Added backend for content flagging setting and populated notification values from server side defaults

* WIP user selector

* Added common reviewers UI

* Added additonal reviewers section

* WIP

* WIP

* Team table base

* Added search in teams

* Added search in teams

* Added additional settings section

* WIP

* Inbtegrated reviewers settings

* WIP

* WIP

* Added server side validation

* cleanup

* cleanup

* [skip ci]

* Some refactoring

* type fixes

* lint fix

* test: add content flagging settings test file

* test: add comprehensive unit tests for content flagging settings

* enhanced tests

* test: add test file for content flagging additional settings

* test: add comprehensive unit tests for ContentFlaggingAdditionalSettingsSection

* Added additoonal settings test

* test: add empty test file for team reviewers section

* test: add comprehensive unit tests for TeamReviewersSection component

* test: update tests to handle async data fetching in team reviewers section

* test: add empty test file for content reviewers component

* feat: add comprehensive unit tests for ContentFlaggingContentReviewers component

* Added ContentFlaggingContentReviewersContentFlaggingContentReviewers test

* test: add notification settings test file for content flagging

* test: add comprehensive unit tests for content flagging notification settings

* Added ContentFlaggingNotificationSettingsSection tests

* test: add user profile pill test file

* test: add comprehensive unit tests for UserProfilePill component

* refactor: Replace enzyme shallow with renderWithContext in user_profile_pill tests

* Added UserProfilePill tests

* test: add empty test file for content reviewers team option

* test: add comprehensive unit tests for TeamOptionComponent

* Added TeamOptionComponent tests

* test: add empty test file for reason_option component

* test: add comprehensive unit tests for ReasonOption component

* Added ReasonOption tests

* cleanup

* Fixed i18n error

* fixed e2e test lijnt issues

* Updated test cases

* Added snaoshot

* Updated snaoshot

* lint fix

* lint fix

* review fixes

* updated snapshot

* CI

* Review fixes

* Removed an test, updated comment

* CI

* Test update
2025-07-10 17:47:16 +05:30
Ibrahim Serdar Acikgoz
254f641182 [MM-64371] Prevent WS being closed by browser due to navigation (#31367)
* prevent ws being closed by browser due to navigation

* add href back

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-07-10 11:30:54 +02:00
Matthew Birtch
b42f4fbffd MM-64483 YouTube Preview UI Update (#31288)
* fix youtube thumbnails

* fix lint issues, update snapshots

* Update _videos.scss

* Update _videos.scss

* revert change to 'YouTubeVideo' to 'YoutubeVideo'

* switch back to Youtube instead of YouTube

* accessibility fixes -add focus state

* fix lint issues

* Update youtube_video.test.tsx.snap

* remove logic for delaying different aspect ratios. always use 16:9

* Update _videos.scss

* fix rounded corners

* use css variables for radius

* restore attributes from original, remove bottom margin from player to prevent vertical shift

* fix issue with margin and nested 'video-div' elements

* update class to 'video-playing'

* fix linter issues

* address copilot review feedback and remove unused css

* Update youtube_video.test.tsx

* fixed failing test

* lint issue fix

* Update youtube_video.test.tsx

* review feedback changes

* Update _videos.scss

* update test and snapshot

* fix lint issues

* add scaling button on hover state back in

* feat: Make YouTube video component strings translatable

- Add useIntl import and formatMessage usage
- Create YouTubePrefix component for internationalized prefix
- Update YouTubeThumbnail component to use translatable strings
- Add translation IDs:
  - youtube_video.play.aria_label
  - youtube_video.thumbnail.alt_text  
  - youtube_video.play_button.aria_label
  - youtube_video.type

Addresses reviewer feedback to make hardcoded strings translatable
using React Intl's useIntl hook.

Co-authored-by: Matthew Birtch <matthewbirtch@users.noreply.github.com>

* fix lint issues

* Update en.json

* Update youtube_video.test.tsx.snap

* remove youtube prefix

* fix lint issues

* Update youtube_video.test.tsx.snap

* fix lint issue

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Matthew Birtch <matthewbirtch@users.noreply.github.com>
2025-07-09 10:33:47 -04:00
Harrison Healey
30ba6f573d MM-64681 Fix in: filter in mobile search box (#32120) 2025-07-08 14:45:28 -04:00
Harrison Healey
4bb35c5043 MM-64417 Change permissions table to use a grid for animation (#32573)
* MM-64417 Change permissions table to use a grid for animation

* Don't change padding on permissions table when animating

* Update snapshots

* Combine CSS for AdminPanel and AdminPanelTogglable

* Removed leftover reference to old CSS file

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-07-08 11:55:24 -04:00
sabril
780c893b4f upgrade playwright dependencies (#33348) 2025-07-08 23:00:48 +08:00
Tom De Moor
b4defc7aba Translated using Weblate (Dutch)
Currently translated at 99.9% (6448 of 6450 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
2025-07-07 18:44:34 +00:00
Tom De Moor
7b21a05a55 Translated using Weblate (Dutch)
Currently translated at 99.6% (6426 of 6450 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
2025-07-07 18:44:34 +00:00
MArtin Johnson
7e838d478f Translated using Weblate (Swedish)
Currently translated at 97.7% (6305 of 6450 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/sv/
2025-07-07 18:44:34 +00:00
Ainārs Keišs
d635c547bd Translated using Weblate (Latvian)
Currently translated at 0.3% (24 of 6450 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/lv/
2025-07-07 18:44:34 +00:00
Tom De Moor
95f6b631f4 Translated using Weblate (Dutch)
Currently translated at 99.0% (6389 of 6450 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nl/
2025-07-07 18:44:34 +00:00
Frank Paul Silye
4b47779608 Translated using Weblate (Norwegian Bokmål)
Currently translated at 81.4% (5255 of 6450 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/nb_NO/
2025-07-07 18:44:34 +00:00
jprusch
49330c48e7 Translated using Weblate (German)
Currently translated at 100.0% (6450 of 6450 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/de/
2025-07-07 18:44:34 +00:00
Serhii Khomiuk
dad0795c67 Translated using Weblate (Ukrainian)
Currently translated at 94.7% (6114 of 6450 strings)

Translation: Mattermost/webapp
Translate-URL: https://translate.mattermost.com/projects/mattermost/webapp/uk/
2025-07-07 18:44:34 +00:00
Ibrahim Serdar Acikgoz
5e76a1091c Fix bad link to ABAC Policy Edit page from Channel Management page (#33044) 2025-07-04 16:04:35 +02:00
Harrison Healey
5b6320b7dc MM-62744 Change how custom URLs are autolinked to fix remote user at-mentions (#32080)
* Stop explicitly passing autocompleteUrlSchemes into text formatting code

This is the first part of changing how autocompleteUrlSchemes works so
that it can be moved to be part of the parser like in mobile instead of
happening in the renderer.

I'm not a fan of using the global store directly in utils/markdown, but
this seems like the only way to have this apply to all the Markdown
that's rendered in various helpers throughout the app. Ideally, we'd
have some getMarkdownParser selector and a hook which provides the
config, but that's a future improvement to make"

* MM-62744 Move URL filtering to the Markdown parser instead of the renderer

MM-62744 is caused by two things:

1. URL autolinking takes place in the Markdown parser which occurs
   before at-mention parsing which (despite the "parsing" part) happens
   in the Markdown renderer in the web app.
2. The autolinking in marked is very aggressive and identifies anything
   that looks like some:text as a link.

Those lead to remote mentions like `@user:server` being incorrectly
parsed by Markdown as a link to `user:server`. It isn't renderered as a
link because the URL filtering logic in the Markdown parser blocks that,
but at that point, the Markdown renderer won't check if it's an
at-mention.

By moving the URL filtering to occur earlier, like it does in the mobile
app, the Markdown code won't autolink `@user:server` (unless the server
has `user` configured as a custom URL scheme for some reason), so it's
free to be turned into an at-mention by the renderer code.

* MM-62744 Ensure various regexes and features support remote mentions

* Update marked back to master
2025-07-03 11:05:12 -04:00
Sven Hüster
0d4c2b72f1 Improve clarity of channel notification limit messages (#32160)
* Improve clarity of channel notification limit messages

- Update user-facing messages to explain performance reasoning and provide guidance
- Enhance admin setting descriptions to be more informative about user experience  
- Change admin setting title to better reflect purpose

Fixes #32159

Co-authored-by: Sven Hüster <svelle@users.noreply.github.com>

* Update webapp/channels/src/i18n/en.json

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>

* Update server/i18n/en.json

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>

* Update server/i18n/en.json

* Update server/i18n/en.json

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Sven Hüster <svelle@users.noreply.github.com>
Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2025-07-03 09:33:17 -04:00
Christopher Poile
55eb63a367 [MM-64735] Add defensive fallback for userHasReadPermissionOnSomeResources (#33072)
* Add defensive fallback for userHasReadPermissionOnSomeResources

When called with a string instead of an object, the function now falls back
to checking a single resource permission instead of failing.

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

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

* Revert "Add defensive fallback for userHasReadPermissionOnSomeResources"

This reverts commit f9c32bc3e2598467e7c8a520319ac5ae49135cbf.

* simpler fix -- remove string as a possible parameter

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-03 08:47:09 -04:00
Harrison Healey
6004d15f9e MM-61595 Use dedicated popover component for post actions menu when empty (#31656)
* Link post actions menu button to existing menu

That menu isn't fully accessible because it uses the old Menu widget,
but the readout will at least be correct when tabbing through the post
controls.

* MM-61595 Use dedicated popover component for post actions menu when empty

* Update unit tests

* Split out ActionsMenuEmptyPopover to start of separate Popover component
2025-07-02 16:23:22 -04:00
Christopher Poile
9ad0f1e070 [MM-64708] Fix custom data retention policy navigation (#33011)
Fix navigation to custom data retention policy form by correcting permission
checking functions. The routes for creating and editing custom data retention
policies were using userHasReadPermissionOnSomeResources() with a single
string resource key, causing permission checks to fail and routes to be
hidden.

Changed both custom_policy_form and custom_policy_form_edit routes to use
userHasReadPermissionOnResource() instead, making them consistent with
other working data retention routes.

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

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-02 14:03:49 -04:00
Maria A Nunez
466e3c3502 Fix accessibility issue with dropdown options (#30715)
* Added getOptionLabel to fix dropdown accessibility for options

* Fix tests

* Revert unnecessary cases

* Other unnecessary case

* Linting

* PR Feedback

* Cleanup

* Cursor assisted - unit tests

* Linting

* Linting i18n

* Fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-07-02 13:19:48 -04:00
M-ZubairAhmed
0d9c4810f4 [MM-64618] ResizeObserver callback fires after component unmount during channel switching (#32668) 2025-07-02 22:30:17 +05:30