Skip to content

[pull] master from mattermost:master - #911

Merged
pull[bot] merged 4 commits into
code:masterfrom
mattermost:master
Aug 14, 2026
Merged

[pull] master from mattermost:master#911
pull[bot] merged 4 commits into
code:masterfrom
mattermost:master

Conversation

@pull

@pull pull Bot commented Aug 14, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

cursor Bot and others added 4 commits August 14, 2026 10:39
)

* [MM-69748] Add Hide Archived toggle to Browse Channels modal

Archived channels previously appeared mixed in with active channels in
the Browse Channels modal under the default "All channel types" filter
(most visibly in search results), with no way to filter them out.

Add a "Hide Archived" checkbox next to "Hide Joined" that hides archived
channels by default. The toggle is backed by a persisted preference and
is not shown when the explicit "Archived channels" filter is selected.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* [MM-69748] Add tests for Hide Archived toggle in Browse Channels

Cover the default-hidden behavior, toggling to show archived channels,
the explicit Archived filter override, preference persistence, and the
checkbox being hidden on the Archived filter.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* [MM-69748] Strengthen Hide Archived tests per review

Add non-search browse-list coverage for getActiveChannels in both
directions, assert only archived rows are filtered from search, and
query the checkbox by accessible label.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* Fix archived channel leak/duplication in Browse Channels filters

- Exclude archived private channels from the private channels selector so
  they no longer bypass the Hide Archived toggle or duplicate with the
  archived list.
- Fold archived channels back into the Public/Private lists (by type) when
  the toggle is off, matching the All list behavior.
- Keep the search Public filter governed by the shared hide-archived block
  instead of hard-excluding archived public channels.
- Add regression tests for the mixed public/private archived scenario.

* Satisfy eslint style rules in browse channels changes

* Update Browse Channels E2E for Hide Archived default

Align Cypress search expectations and Playwright tab/aria
snapshots with the new Hide Archived checkbox (on by default).

Co-authored-by: mattermost-code <matty-code@mattermost.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: mattermost-code <matty-code@mattermost.com>
…ration setting (#37477)

* promote EnableExportDirectDownload to a Cloud-only configuration setting

Replace the FeatureFlags.EnableExportDirectDownload feature flag with a
FileSettings.EnableCloudExportDirectDownload configuration setting, gated
to Mattermost Cloud environments.

The /exportlink slash command and the export generate-presigned-url API
now require FileSettings.EnableCloudExportDirectDownload to be enabled and
a Cloud license. Operators previously enabling the feature via
MM_FEATUREFLAGS_ENABLEEXPORTDIRECTDOWNLOAD should transition to
MM_FILESETTINGS_ENABLECLOUDEXPORTDIRECTDOWNLOAD.

* add tests for Cloud-only export direct download gating

Cover the new EnableCloudExportDirectDownload + Cloud-license gate on
GeneratePresignURLForExport (app) and the generate-presigned-url API
(api4).

* add EnableCloudExportDirectDownload to FileSettings type

* gate export direct download on Cloud alone, without a configuration setting

* Use a bounded HTTP client in export presigned-URL tests

http.Get has no total timeout; if MinIO accepts the connection but
stalls, these tests can hang until the suite timeout.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: mattermost-code <matty-code@mattermost.com>
…butes to select fields (#37969)

* [MM-70188] Convert the platform, os, browser user agent session attributes to select fields

* Update server/public/model/session_attributes.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Aug 14, 2026
@pull pull Bot added the ⤵️ pull label Aug 14, 2026
@pull
pull Bot merged commit 9a9bbe2 into code:master Aug 14, 2026
8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants