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

2294 Коммитов

Автор SHA1 Сообщение Дата
Mattermost Build
628e088715 remove leftover mysql apt-key (#33708) (#33711)
(cherry picked from commit 527ea8421bc5f366209f21c609f200c3f38768c1)

Co-authored-by: sabril <5334504+saturninoabril@users.noreply.github.com>
2025-08-14 10:50:08 +03:00
Mattermost Build
2d5cdc6e21 [MM-64896][MM-64898] Pass inviteid/tokenid to relay state/props for external auth when auto-joining a team (#33545) (#33666)
Automatic Merge
2025-08-13 13:04:00 +03:00
unified-ci-app[bot]
ed9e2dbbce Update latest patch version to 10.11.2 (#33639)
Automatic Merge
2025-08-08 10:04:04 +03:00
Mattermost Build
e14175eb65 [MM-65015] Restore Mobile redirection on oauth login (#33626) (#33633) 2025-08-07 17:47:01 +00:00
Mattermost Build
540f4c1145 s/bookwork/bullseye to preserve glibc < 2.34 (#33546) (#33629)
With glibc 2.34 and the [removal of libpthread](https://developers.redhat.com/articles/2021/12/17/why-glibc-234-removed-libpthread), binaries built using [Debian bookworm](https://www.debian.org/releases/bookworm/) aren't compatible with older but still supported operating systems like RHEL8. In those environments, Mattermost fails to start with errors like:
```
mattermost/bin/mattermost: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by mattermost/bin/mattermost)
mattermost/bin/mattermost: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by mattermost/bin/mattermost)
```

One option might be to generate a static build and avoid the glibc dependency, but this kind of change is out of scope for now. Let's just revert back to using [Debian bullseye](https://www.debian.org/releases/bullseye/), which remains supported until at least August 2026.

(cherry picked from commit c2120b7224ce8d2f8dd34f17fbeba06296b733db)

Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2025-08-06 20:49:03 +00:00
unified-ci-app[bot]
59b427296b Update latest patch version to 10.11.1 (#33620)
Automatic Merge
2025-08-05 10:04:04 +03:00
Mattermost Build
8f6b6f1d0d [MM-64911] Ensure redirect URL is validated before redirecting (#33559) (#33596)
Automatic Merge
2025-07-31 09:34:00 +03:00
Mattermost Build
7eda0e799c Prepackage playbooks v2.3.0 (#33574) (#33579)
Automatic Merge
2025-07-29 11:34:00 +03:00
Mattermost Build
95eaf401af MM-64926: Membership sync sends sensitive data to remote (#33560) (#33577)
Automatic Merge
2025-07-29 10:33:59 +03:00
Mattermost Build
38208b8f06 MM-64755: Fix redirect in oauth login (#33388) (#33569)
Automatic Merge
2025-07-28 09:33:59 +03:00
Mattermost Build
d5190466de Fix PostgreSQL SSL connection issue with sslmode=require in distroless images (#33523) (#33538)
Automatic Merge
2025-07-23 13:28:49 +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
4952acea88 update calls (#33477) (#33491)
Automatic Merge

(cherry picked from commit 59f74324547f8d821568136519dd888cce94ca9a)

Co-authored-by: Christopher Poile <cpoile@gmail.com>
2025-07-21 09:22:09 +03:00
Mattermost Build
e7fe67e03c Upgrading board prepackage version to v9.1.5 (#33447) (#33460)
Automatic Merge
2025-07-18 10:28:41 +03:00
Mattermost Build
f21005e359 Add URL validation to LinkMetadata cache and store (#31814) (#33453)
Automatic Merge
2025-07-17 20:58:42 +03:00
Mattermost Build
2fceeceba6 MM-64675: Enable modification of plugin settings in local mode (#33376) (#33452)
Automatic Merge
2025-07-17 20: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
Mattermost Build
7f4fbd803a MM-62745: [Shared Channels] Fix duplicate mentioning - local user with the same username as someone on the remote server - Part2 (#32101) (#33414)
Automatic Merge
2025-07-14 19:28:42 +03: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
Cyrus
e2b6e807c4 [MM-21466] delete users cmd return err (#31191)
* refactored error managment for deleteUsersCmdF

* updated tests related to deleteUsersCmdF

* updated user_e2e_test to reflect changes made to the deleteUsersCmdF function

* Empty-Commit to retrigger workflow

* applied gofmt formating reqs to user_test.go

* added suggested changes to the deleteUsersCmdF regarding error gathering

* added requested changes regarding error aggragation on deleteUsersCmdF

* style(mmctl): removing trailing whitespace

* feat(mmctl): returning errors in deleteUserCmdF on err

* fix(mmctl): returns when err parsing args

* test(mmctl): updated tests to expect err instead of reading printer

* style: updating returned errs

* tests: updated test to reflect error change

* tests(mmctl): updated e2e DeleteUserCmd test

* Update server/cmd/mmctl/commands/user.go

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

* refactor: changing error to return username instead of email

* refactor: changing email to username for errors

---------

Co-authored-by: Arnaud Wanet <andrewwanet9@gmail.com>
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2025-07-09 17:12:04 +02:00
Claudio Costa
47a7e62b44 Fix flaky test TestMmctlE2ESuite/TestPreferenceUpdateCmd (#33375) 2025-07-09 08:01:40 -06:00
Agniva De Sarker
c4dde3d0ab MM-64632: Fix a panic in bulk import (#33360)
We were incorrect de-referencing the channels slice
without checking for nil pointer first.

https://mattermost.atlassian.net/browse/MM-64632
```release-note
NONE
```
2025-07-09 09:37:36 +05:30
Harrison Healey
ad38971dd6 MM-64658 Fix handling of upload sessions (#32141)
* MM-64658 Fix handling of upload sessions

* Fix style issue
2025-07-08 16:46:00 +00:00
Harrison Healey
4b77485e8f MM-64718 Improve validation of thread follower imports (#33287)
* MM-64718 Improve validation of thread follower imports

* Add additional test cases and restucture tests
2025-07-08 11:57:48 -04:00
catalintomai
a8fa77f107 MM-64779: Upload type validation. (#33351) 2025-07-08 00:13:02 +02:00
Tom De Moor
f7cb74117b Translated using Weblate (Dutch)
Currently translated at 99.7% (2714 of 2720 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/
2025-07-07 18:44:34 +00:00
MArtin Johnson
76c5c1a686 Translated using Weblate (Swedish)
Currently translated at 99.9% (2716 of 2718 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/sv/
2025-07-07 18:44:34 +00:00
Tom De Moor
e6f5f7697a Translated using Weblate (Dutch)
Currently translated at 99.9% (2716 of 2718 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/
2025-07-07 18:44:34 +00:00
jprusch
082c72e36c Translated using Weblate (German)
Currently translated at 100.0% (2718 of 2718 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/de/
2025-07-07 18:44:34 +00:00
Manuela Silva
9dd29b134f Translated using Weblate (Portuguese)
Currently translated at 5.1% (140 of 2718 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pt/
2025-07-07 18:44:34 +00:00
Manuela Silva
6db8b5e6a2 Translated using Weblate (Portuguese)
Currently translated at 2.5% (69 of 2718 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pt/
2025-07-07 18:44:34 +00:00
Manuela Silva
1171bde078 Translated using Weblate (Portuguese)
Currently translated at 1.6% (46 of 2718 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pt/
2025-07-07 18:44:34 +00:00
Serhii Khomiuk
b9cf283ac7 Translated using Weblate (Ukrainian)
Currently translated at 97.6% (2655 of 2718 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/uk/
2025-07-07 18:44:34 +00:00
Martin Mičuda
3eae025ccd Translated using Weblate (Czech)
Currently translated at 97.8% (2659 of 2718 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/cs/
2025-07-07 18:44:34 +00:00
Claudio Costa
4a7aeae861 [MM-64663] Fix potential panic in mmctl ldap job show command (#32575)
* Fix potential panic in `mmctl ldap job show` command

* fix examples and docs

---------

Co-authored-by: Christopher Poile <cpoile@gmail.com>
2025-07-04 07:48:17 -06:00
unified-ci-app[bot]
cbf685b2f4 Update latest minor version to 10.11.0 (#33309)
Automatic Merge
2025-07-04 14:52:01 +03:00
Christopher Speller
c11df2ff7a Update Agents plugin to v1.2.4 (#33273) 2025-07-04 08:28:48 +03: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
Jesse Hallam
d2188ce1dd remove spurious user limits log (#33038)
Only log a warning when the created user exceeds the `MaxUserLimits` if
`MaxUsersLimit > 0`. This was showing up spuriously on licensed servers
for which no limit applied.

Note that this is distinct from blocking user creation past
`MaxHardUsersLimit`.
2025-07-02 13:29:48 -03:00
Jesse Hallam
ebe03c1d45 Channel Store: No SELECT * (#32167)
* Replace SELECT * with explicit column lists in channel store

Migrates channel_store.go away from SELECT * patterns to explicit column
lists for better performance, maintainability, and schema safety.

- Replace GetPinnedPosts raw SQL with query builder using postSliceColumns()
- Replace "cc.*" in group channel search with channelSliceColumns()
- Replace GetChannelsBatchForIndexing raw SQL with query builder
- Replace channel member and team queries with respective column helpers
- Use SelectBuilder helper instead of manual ToSql() calls

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

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

* Replace SELECT * with COUNT(*) in user_test.go

Replaces unnecessary SELECT * queries with SELECT COUNT(*) in
TestPermanentDeleteUser bot count verification. Only needs to check
the count of bots, not retrieve full bot records.

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

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-02 15:35:54 +00:00
Pablo Vélez
e99aa4e430 MM-64428 - user tag invite filtering (#31226)
* MM-64428 - user tag invite filtering

* fix lint issues

* remove unnecesary line

* update translations and skip mysql tests

* simplify the solution so in abac channels the invitation link is never shown

* finish clean up of unnecessary code

* clean up and remove no longer necessary translations

* remove leftover props and remove no longer needed tests after simplification

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-07-02 14:55:02 +02:00
Ibrahim Serdar Acikgoz
0809ce7a62 [MM-64630] Fix an issue where multiple channels can't be removed from policies (#32164)
* Fix an issue where multiple channels can't be removed from policies

* actually fix the issue

* use hardcoded limit

* simplify removal
2025-07-01 20:48:57 +02:00
Miguel de la Cruz
d8758f8984 Improve response on team restore (#32118)
Co-authored-by: Miguel de la Cruz <miguel@ctrlz.es>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-07-01 16:54:30 +00:00
Daniel Espino García
1b7d27707d Fix MM64178 (#30957)
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-30 16:43:59 -05:00
Sharuru
8e41f66817 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (2717 of 2717 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/zh_Hans/
2025-06-30 14:17:02 +00:00
Frank Paul Silye
04a27801c7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 4.2% (116 of 2717 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nb_NO/
2025-06-30 14:17:02 +00:00
Tom De Moor
898df23ac2 Translated using Weblate (Dutch)
Currently translated at 99.8% (2713 of 2717 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/nl/
2025-06-30 14:17:02 +00:00
Manuela Silva
ad8ee664ef Translated using Weblate (Portuguese)
Currently translated at 1.1% (30 of 2717 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/pt/
2025-06-30 14:17:02 +00:00
Matthew Williams
2bbbc44649 Translated using Weblate (English (Australia))
Currently translated at 100.0% (2717 of 2717 strings)

Translation: Mattermost/server
Translate-URL: https://translate.mattermost.com/projects/mattermost/server/en_AU/
2025-06-30 14:17:02 +00:00