Commit Graph
20762 Commits
Author SHA1 Message Date
sabril c0ab40d644 e2e(fix): message reaction spec (#31357) 2025-06-11 11:22:58 +08:00
Julien TantandClaude 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
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 AulakhandBen Schumacher 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 SchumacherandClaude 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
sabrilandMattermost Build 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
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 PoileandMattermost Build 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 SchumacherandClaude 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 SchumacherandClaude 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
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 CostaandMattermost Build 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 SharmaandMattermost Build 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 MisasiandGuillermo Vayá 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 HealeyandMattermost Build 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
unified-ci-app[bot] 20e3715f76 Update latest minor version to 10.10.0 (#31304)
Automatic Merge
2025-06-04 09:46:05 +03: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
Eva SarafianouandDaniel Schalla 0a7be9f034 Move from ubuntu to distroless image (#31136)
* Move from ubuntu to distroless image

* Update updated ubunty image for first stage

* Update server/build/Dockerfile

Co-authored-by: Daniel Schalla <daniel@mattermost.com>

* Update server/build/Dockerfile

Co-authored-by: Daniel Schalla <daniel@mattermost.com>

* Add mising env var for health check

* Add mattermost user in /etc/passwd

* Fix e2e userId

* use cypress in place of server. Wget and not curl

* Simplify e2e changes

---------

Co-authored-by: Daniel Schalla <daniel@mattermost.com>
2025-06-03 20:52:13 +03:00
Claudio Costa 05585e5388 Update gosaml2 to latest v0.10.0 (#31263) 2025-06-03 11:57:26 +02: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
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
Caleb Roseland 949b45a0f9 bump playbooks 1.41.1 (#31276) 2025-06-02 15:47:32 -05:00
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
Tom De Moor 589085b1a4 Translated using Weblate (Dutch)
Currently translated at 99.7% (2686 of 2693 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/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
Frank Paul Silye bf57f4a8af Translated using Weblate (Norwegian Bokmål)
Currently translated at 4.1% (113 of 2693 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/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