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

20782 Коммитов

Автор SHA1 Сообщение Дата
Daniel Espino García
0376bc7cc1 Fix license upload when already set by env variable (#30974)
* Fix license upload when already set by env variable

* Add tooltip

* Fix tests and texts

* Fix snapshots

* Add disabled styles to secondary button

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-13 13:07:20 +02:00
Miguel de la Cruz
43018759e5 Adds support for GMs in shared channels (#31403)
* Adds support for GMs in shared channels

* Fix linter

* Remove creatorID from slack call

---------

Co-authored-by: Miguel de la Cruz <miguel@ctrlz.es>
2025-06-13 10:43:30 +00:00
Devin Binnie
07edaa875b [MM-63045] Add root component to read arbitrary text globally, ensure thread menu reads its actions on execution (#31353)
* [MM-63045] Add root component to read arbitrary text globally, ensure thread menu reads its actions on execution

* PR feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-12 21:20:45 +00:00
Devin Binnie
926c7f1e49 [MM-61623][MM-61632][MM-61635] Remove min-width for the RHS when window size <400px (#31389)
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2025-06-12 16:37:52 -04:00
Devin Binnie
74258c3b7a [MM-64425] Add configurable account deletion link (#31396)
* [MM-64425] Add configurable account deletion link

* Fix types

* PR feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-12 11:00:00 -04:00
Devin Binnie
6d7a8c6d72 [MM-63027] Add status region for the channel filter dropdown (#31390)
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2025-06-12 10:44:47 -04:00
Jesse Hallam
2ddb8e5d0a Replace SELECT * with explicit column lists in sqlstore (#31356) 2025-06-11 18:16:05 -03:00
Devin Binnie
65d3d5984f [MM-63041] Convert many inputs to the Input component, replace clientError with more correct client-side validation that conforms to the input (#31279)
* [MM-63041] Convert many inputs to the Input component, replace clientError with more correct client-side validation that conforms to the input

* Fix line length

* PR feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-11 17:02:32 -04:00
Devin Binnie
e6be282568 [MM-61562] Ensure emoji picker focus returns to button when not selecting an emoji (#31370)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-11 15:58:43 -04:00
Devin Binnie
d41e5184e0 [MM-62987] Fix timestamp not actually being read (#31386) 2025-06-11 15:58:11 -04:00
Devin Binnie
0635c8b3f6 [MM-63057][MM-63003] Set aria-hidden on decorative icons (#31387)
* [MM-63057] Set aria-hidden=true on EditIcon to mark it decorative

* [MM-63003] Mark search lightbulb icon as decorative

* Snaps
2025-06-11 15:57:27 -04:00
Devin Binnie
25a4839a9e Automatic channel category sorting (#30866)
* Automatic channel category sorting

* Fix types

* AIed

* Fix issue where categories are updated for all users

* Move all logic to server, clean up

* PR feedback

* Fix lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-11 14:29:36 -04:00
M-ZubairAhmed
c6a11763a8 [MM-63799] Fix the high number of detached nodes in post list in dynamic-virtualized-list (#30864) 2025-06-11 22:42:15 +05:30
Devin Binnie
ee5926f03c [MM-62996] Add focusability to react-select remove button in notifications settings (#31238)
* [MM-62996] Fix the readout for react-select instructions on user_settings_notifications

* Update webapp/channels/src/components/user_settings/notifications/user_settings_notifications.tsx

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

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2025-06-11 15:35:28 +00:00
Devin Binnie
c47a84da39 [MM-63046] Have the draft actions labelled by their tooltip (#31369) 2025-06-11 09:27:11 -04:00
Chris Gibson
5e3a89d70c [GH-29960] Change behaviour for log messages that do not have a valid session (#30014)
Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2025-06-11 14:15:40 +02:00
Ibrahim Serdar Acikgoz
fcce46655a Skip flaky test TestUnassignPoliciesFromChannels (#31380) 2025-06-11 12:45:22 +02:00
Rajat Dabade
9fe44bfa6a Updated board prepackaged version to v9.1.3 (#31306)
Automatic Merge
2025-06-11 13:16:06 +03:00
sabril
3230eaf84c e2e(fix): custom status expiry spec (#31358) 2025-06-11 11:27:45 +08:00
sabril
d84f455ba0 e2e(fix): dm category spec (#31359) 2025-06-11 11:24:17 +08:00
sabril
c0ab40d644 e2e(fix): message reaction spec (#31357) 2025-06-11 11:22:58 +08:00
Julien Tant
731bd7c414 MM-63285: Add property field methods to plugin API (#31035)
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-10 16:10:28 -07:00
Harrison Healey
81856f9e7d MM-64544 Fix width of threads textbox at all screen sizes (#31366) 2025-06-10 20:22:16 +00:00
Jesse Hallam
e6d8bf5835 Upgrade Go to 1.24.3 (#31220)
* Upgrade Go to 1.24.3

Updates the following files:
- server/.go-version: 1.23.9 → 1.24.3
- server/build/Dockerfile.buildenv: golang:1.23.9-bullseye → golang:1.24.3-bullseye
- server/go.mod: go 1.23.0 → go 1.24.3, toolchain go1.23.9 → go1.24.3
- server/public/go.mod: go 1.23.0 → go 1.24.3, toolchain go1.23.9 → go1.24.3

Also fixes non-constant format string errors introduced by Go 1.24.3's stricter format string checking:
- Added response() helper function in slashcommands/util.go for simple string responses
- Removed unused responsef() function from slashcommands/util.go
- Replaced responsef() with response() for translated strings that don't need formatting
- Fixed fmt.Errorf and fmt.Fprintf calls to use proper format verbs instead of string concatenation
- Updated marketplace buildURL to handle format strings conditionally

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

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

* Update generated mocks for Go 1.24.3

Regenerated mocks using mockery v2.53.4 to ensure compatibility with Go 1.24.3.
This addresses mock generation failures that occurred with the Go upgrade.

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

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

* Update to bookworm and fix non-existent sha

Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>

* fix non-constant format string

---------

Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Stavros Foteinopoulos <stafot@gmail.com>
2025-06-10 15:04:57 -03:00
Harrison Healey
d01d6501f7 MM-63050 Improve screen reader support for SuggestionList (#31228)
* Remove aria-live from SuggestionBox

aria-live isn't the idiomatic way to make the autocomplete accessible to
screen readers. Instead, we should've used aria-activedescendant which
was done for the at-mention autocomplete in a previous ticket, but that
didn't apply to other types of autocompletes. That lead to the
at-mention autocomplete being too noisy (as there were two different
things telling the user what the results were), and it meant that other
types of autocompletes didn't function.

This needs a couple direct followups:
1. The E2E tests need to be updated since they test for aria-live.
2. The Suggestion items for other types of autocompletes need IDs for
   the aria-activedescendant to work.

* Consistently set IDs for all SuggestionList items

Instead of leaving it up to the individual Suggestion components,
this'll ensure that a11y support works for all of them going forward as
long as they properly forward other props to the underlying li element.

I would've preferred if each instance of SuggestionList had unique IDs,
but they currently all use the ID suggestionList, and I didn't want to
update that ID across 55 different Cypress tests. There's should only be
a single SuggestionList visible at a time, so the current situation is
fine enough.

* Remove textboxId from AtMentionProvider

* Change suggestion list to scroll using IDs instead of findDOMNode and refs

* Add an aria-label to SuggestionList

* Make all Suggestion components use the option role

* Add number of results to SuggestionList readout

* Change SuggestionBox to only set aria-expanded with results

* Add tests for ARIA of SuggestionBox

* Address feedback
2025-06-10 12:56:25 -04:00
Harsh Aulakh
09a2037b61 MMCTL: Add import delete cmd for removing the import files (#29764)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2025-06-10 12:06:38 +02:00
Ben Schumacher
0cf6361139 [MM-63578] Fix support packet caching issue (#31133)
Fix support packet caching issue by adding no-cache headers

Added Cache-Control headers to prevent browser caching when downloading support packets.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-10 11:39:06 +02:00
Claudio Costa
2fd319b0ac Fix webapp code coverage tracking (#31360) 2025-06-10 08:09:55 +00:00
Claudio Costa
8f74daa9b8 [MM-62409] Fix webapp coverage upload for master runs (#31320)
* Fix webapp coverage upload for master runs

* Only pass codecov token

* Update to trigger workflow
2025-06-10 08:37:04 +02:00
sabril
09146310db fix MM-T5671 (#31352)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-10 12:34:36 +08:00
sabril
5756643256 E2E/Test: Fix smoke tests (#31332)
* add passwd for psql local query and add server/postgres logs for debugging

* set license for smoke tests

* fix fmt
2025-06-10 11:45:29 +08:00
Ben Cooke
aac34f6db4 [MM-64360] Data retention: optionally preserve pinned posts (#31165)
* add new config to preserve pinned posts during data retention

* more graceful error if the pinned post was a reply in a deleted thread
2025-06-09 15:41:07 -04:00
Weblate (bot)
6eb2128abc Translations update from Mattermost Weblate (#31348)
* Translated using Weblate (German)

Currently translated at 100.0% (2700 of 2700 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (6352 of 6352 strings)

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

* Translated using Weblate (Polish)

Currently translated at 98.9% (6287 of 6352 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.2% (6307 of 6352 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 97.0% (6162 of 6352 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.6% (6328 of 6352 strings)

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

* 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: Serhii Khomiuk <sergiy.khomiuk@gmail.com>
2025-06-09 17:34:31 +00:00
Agniva De Sarker
2e23a20899 Improve claude code to run bash commands (#31316)
* Improve claude code to run bash commands

With this limitation removed, it can do more things in a PR.

```release-note
NONE
```

* Update claude.yml

* fix indentation

```release-note
NONE
```
2025-06-09 20:17:25 +05:30
kasyap dharanikota
596053b9af S3store/image type (#30451)
* add video type

* add video mime-type

* combine MIME type maps and update tests

* correct MIME type detection for video files

* format code

* lint fix

* simplified mimeType

* change avi mime type

* add avi type
2025-06-09 09:09:34 +05:30
Christopher Poile
c0f1cbf727 [MM-64296] Help for AI: Respect env overrides for consoleLevel (#31278)
* respect env overrides for consoleLevel; add tests

* clean up test

* merge conflict

* improve parallelizability

* be better commenting

* better name for fn, comment explaining why we're using it

* empty

* empty

* empty

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-07 17:35:08 -04:00
Devin Binnie
efc8094bc2 [MM-62992][MM-62994][MM-62995] Profile Settings accessibility fixes (#31236)
* [MM-62995] Add aria-live for Profile Picture upload

* [MM-62992][MM-62994] Add error icon and screen reader text to SettingItemMax

* Fix e2e

* PR feedback
2025-06-06 16:44:19 -04:00
Ben Schumacher
5b389c5224 [MM-63760] Only partially sanitize DB datasources for Support Packet (#30728)
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-06 15:07:54 +02:00
Ben Schumacher
160cb91ab9 Fix error return value in Schedulers.scheduleJob (#31294) 2025-06-06 14:59:31 +02:00
Ben Schumacher
e3452dce94 [MM-29049] Fix remaining errcheck errors in app, api4 and web package (#31307)
Co-authored-by: Claude <noreply@anthropic.com>
2025-06-06 07:44:43 +02:00
Julien Tant
7e013f4c1a Fix cross-team search from: filter not working (#31277)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-05 11:53:35 -07:00
Ben Schumacher
924ed4ae02 Fix Support Packet v2 version number (#30723) 2025-06-05 20:07:31 +02:00
Akhil Bisht
4e337b9a43 MM-61450 fix errcheck issue in server/channel/app/permissions_test.go (#31132) 2025-06-05 19:43:40 +02:00
Caleb Roseland
f2aa50170f MM-63705: bump styled-components & luxon (#31030) 2025-06-05 11:35:16 -05:00
Julien Tant
ef67b3bf5f Fix OpenAPI schema for custom profile attributes (#31070) 2025-06-05 16:31:42 +00:00
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
Ben Schumacher
50d81c2a38 Move cluser node specific files it thier own directories in Support Packet (#30755) 2025-06-05 07:58:34 +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