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

19933 Коммитов

Автор SHA1 Сообщение Дата
ayush-chauhan233
a013797ed0 [MM-45724] Accessibility on ATE unexpectedly able to tab on hidden formatting controls/buttons (#29722) 2025-01-31 21:55:40 +05:30
Saurabh Sharma
7a959038f9 [MM-61599]: Remove tabIndex from non-interactive elements (#29659) 2025-01-31 21:54:56 +05:30
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
Agniva De Sarker
341f919fa8 MM-62782: Bumping minimum Postgres version to 13 (#30039)
As discussed in https://docs.mattermost.com/install/prepare-mattermost-database.html#minimum-supported-version-policy

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

```release-note
Minimum postgres version has been bumped to 13.
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-31 09:57:35 +05:30
enzowritescode
dde07f6a3c Remove obsolete docker version (#30040)
* Remove obsolete docker version from Docker files and docker composer generator
2025-01-30 12:53:25 -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
Scott Bishel
f2af360401 MM-62500 - Apply Delete check on commands (#29896)
* apply delete check on commands, add tests

* combine tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-30 08:20:36 -07:00
Mario Vitale
1f34d784dd Mirror postgres-13 image (#30047)
* Mirror postgres-13 image
2025-01-30 15:18:09 +01: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
Miguel de la Cruz
8c3490b3d8 Skip racy test on api4.TestCreatePost (#30029)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-30 11:07:10 +00:00
Rajat Dabade
ed98d147ae Fix the empty search state container stretching issue (#30045)
Automatic Merge
2025-01-30 09:50:12 +02:00
Miguel de la Cruz
9f172fed70 Update the property field model to interface with SQLX (#29987)
* Update the property field model to interface with SQLX

* Fix tests
2025-01-30 03:32:24 +00:00
AulakhHarsh
bec3bbf88f add e2e tests for sendPasswordResetEmail cmd (#29907) 2025-01-29 23:29:37 +00:00
Christopher Poile
28c561d643 [MM-62179] Fix: mmctl debug error when setting email (#29953)
* only GetUserByEmail if arg is an email

* fixing tests

* fix typo
2025-01-29 23:45:11 +01:00
Julien Tant
05ca61c784 Fix Mafile layers definition (#30043) 2025-01-29 20:06:55 +00: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
kshitij katiyar
291feba75c Bump prepackage Jira plugin version to 4.2.0 (#30037)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2025-01-29 20:12:46 +01:00
Harshil Sharma
f9cff5c8d6 Edit file attachment e2e tests (#29797) 2025-01-29 17:15:49 +00:00
Claudio Costa
528026d6fb Use CreateConnectedWebSocketClient test util (#30036) 2025-01-29 07:58:43 -06:00
Jesús Espino
f1acdce42c Removing opentracing (#29965)
* Removing opentracing

* Fixing CI
2025-01-29 07:45:13 +01:00
Doug Lauder
565c8aa42d Audit usage of the searchPosts API (#29909)
* Audit calls to searchPosts API

* Update server/public/model/post_search_results.go

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>

* Update server/public/model/post_search_results.go

* Update server/public/model/post_search_results.go

---------

Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-28 22:21:05 -05: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
Christopher Poile
87ea6d8b1c [MM-62537] Fix: Integration action nil ptr dereference (#29986)
* guard against nil dereference; lock down with tests

* fix test name
2025-01-28 13:46:12 -05:00
Jesse Hallam
95fe972d83 only report flaky on master (#30033)
Reporting flaky tests on release branches isn't useful, as we aren't
likely to go back and patch these. Let's only surface flaky reports from
master. (PR semantics remain unchanged).
2025-01-28 16:25:19 +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
Agniva De Sarker
afbd9d64c3 [AI assisted]: MM-62295: Search and index archived channels as well. (#29796)
We add a new field delete_at in the channels template.

This field is then searched in the SearchChannels function.

Also added tests to verify that archived channels are searched
properly, and also indexed correctly.

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

```release-note
- Now archived channels are searchable with ES/OS if TeamSettings.ExperimentalViewArchivedChannels is enabled.
- If there are old channels which were archived before a bulk index was run, users would need to purge indexes, and do bulk index again. Because those old archived channels are removed from the index when a bulk index is run.
```


Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-28 19:44:55 +05:30
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
Devin Binnie
64070b0780 [MM-62541] Exclude files not attached to a post from the file count for a channel (#29976)
* [MM-62541] Exclude files not attached to a post from the file count for a channel

* Added test to ensure that we only grab files with a post id
2025-01-28 08:17:11 -05:00
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
Ben Schumacher
d8d65b8ec7 [MM-62079] Rewrite TestCreatePost (#29903) 2025-01-28 10:02:03 +01: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
8b5a3e6217 [MM-62502] Ensure MFA Check on search routes (#29880) 2025-01-27 18:03:16 +00:00
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
Scott Bishel
b26c43e716 Permission changes (#29570)
* update permission mistakes

* add getAnalytics to TeamStatistics

* add PermissionGetAnalytics to ReadTeamStatistics

* add mocks for migrations

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-27 16:28:27 +00:00
Seiya Homma
a5faf9e6e3 [MM-61775] Fix errcheck issues in server/channels/app/platform/web_broadcast_hook.go (#29514)
Co-authored-by: Caleb Roseland <caleb@calebroseland.com>
2025-01-27 11:26:28 +00:00
Christopher Poile
737bed311c MM-60115, MM-62436, MM-62493: Compliance export downloads from local and s3; e2e tests (#29806)
* add ZipReader method to filestore and file/s3 backends

to merge

to merge

* add WriteStreamResponse as an alternative to WriteFileResponse

* add generated layers

* enable download link; download job endpoint now streams export dir zips

* fix MM-62493

* re-enable e2e tests--we have download links, folks

* Add tests for ZipReader in filestore and s3store

* remove unnecessary error return on ZipReader

* little cleanup

* improve tests; some refactoring: s.Nil(err) -> s.NoError(err)

* blank commit

* backwards compatability for pre-10.5 job downloads

* compress file response; better errors; better comments; PR comments

* update generated app layers

* improve/widen tests; improve comments; simplify localstore ZipReader

* regenerate layers

* follow GoDoc conventions

* update generated layers

* remove unnecessary comment

* in jobs/job-id/download, clean exportDir before sending to ZipReader

* better comments; add an error return on ZipReader

* improve file permissions

* adjust tests for new error returns

* linting

* i18n
2025-01-27 09:28:07 +05:30
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