mattermost/server
Jesse Hallam c8d6630141
MM-63240: Always allow viewing archived channels (#32162)
* server: allow access to channel bookmarks in an archived channel

* server: allow access to posts in archived channels

* server: allow accessing channel members for archived channels

* server: allow autocompleting/searching archived channels

* server: allow access to files from archived channels

* server: fix access issue on database error

* server: allow access to archived channels

* server: remove TeamSettings.ExperimentalViewArchivedChannels from telemetry

* server: remove ExperimentalViewArchivedChannels from client config

* webapp: simplify delete channel

* webapp: simplify channel settings modal

* webapp: do not redirect away from archived channel

* webapp: rhs, always search posts from archived channels

* webapp: switch channels, always support archived channels

* webapp: search channel provider, always support archived channels

* webapp: browse channels, always support archived channels

* webapp, search results? fixup?

* webapp, confusing type issue

* webapp: unarchive, no need to report view archived

* webapp: command test, no need for ExperimentalViewArchivedChannels in config

* webapp: remove ExperimentalViewArchivedChannels from system console

* webapp: redux, do not delete posts, also fix LEAVE_CHANNEL

* update e2e tests

* server: fail startup if ExperimentalViewArchivedChannels is not enabled

* extract i18n

* updated snapshots

* update tests

* simplify posts reducer

* updated tests

* additional e2e tests

* Fix locale consistency in Jest tests

Added consistent locale environment variables (LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8)
to all Jest test scripts to prevent locale-dependent date formatting differences
across development environments.

This resolves snapshot test failures where DateTime.toLocaleString() would produce
different date formats on different systems (e.g., "6/8/2025" vs "08/06/2025" vs "2025-06-08").

Updated test scripts:
- test, test:watch, test:updatesnapshot, test:debug, test-ci

Updated snapshot to consistent en_US format.

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

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

* Remove includeArchivedChannels parameter from GetMemberForPost

* Remove unnecessary includeDeleted variable assignments

* Deprecate ExperimentalViewArchivedChannels config field

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-08-15 13:50:20 -03:00
..
bin Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
build remove leftover mysql apt-key (#33708) 2025-08-14 09:52:18 +03:00
channels MM-63240: Always allow viewing archived channels (#32162) 2025-08-15 13:50:20 -03:00
cmd MM-63726: Adjust default MaxOpenConns/MaxIdleConns settings (#33593) 2025-08-11 14:06:12 -03:00
config MM-63240: Always allow viewing archived channels (#32162) 2025-08-15 13:50:20 -03:00
einterfaces [MM-64320] Remove deprecated include_removed_members option in api/v4/ldap/sync (#31121) 2025-07-17 12:35:08 +02:00
enterprise MM-63368: Remove MySQL (#33458) 2025-07-22 20:40:55 +05:30
fonts Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
i18n MM-63240: Always allow viewing archived channels (#32162) 2025-08-15 13:50:20 -03:00
platform MM-63240: Always allow viewing archived channels (#32162) 2025-08-15 13:50:20 -03:00
public MM-63240: Always allow viewing archived channels (#32162) 2025-08-15 13:50:20 -03:00
scripts Mirror postgres-13 image (#30047) 2025-01-30 15:18:09 +01:00
templates MM-59966 - Compliance Export overhaul - feature branch (#29789) 2025-01-10 16:56:02 -05:00
tests MM-63726: Adjust default MaxOpenConns/MaxIdleConns settings (#33593) 2025-08-11 14:06:12 -03:00
.gitignore Update .server/gitignore to ignore all JSON files under the directory (#27593) 2024-07-11 09:12:57 +02:00
.go-version s/bookwork/bullseye to preserve glibc < 2.34 (#33546) 2025-08-06 17:24:01 -03:00
.golangci.yml MM-61407: Remove Bleve (#33430) 2025-07-31 09:35:29 +05:30
.sass-lint.yml Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
config.mk MM-63368: Remove MySQL (#33458) 2025-07-22 20:40:55 +05:30
copyright.txt Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
docker-compose.makefile.m1.yml Remove obsolete docker version (#30040) 2025-01-30 12:53:25 -07:00
docker-compose.makefile.yml MM-63368: Remove MySQL (#33458) 2025-07-22 20:40:55 +05:30
docker-compose.yaml MM-63368: Remove MySQL (#33458) 2025-07-22 20:40:55 +05:30
go.mod s/bookwork/bullseye to preserve glibc < 2.34 (#33546) 2025-08-06 17:24:01 -03:00
go.sum MM-61407: Remove Bleve (#33430) 2025-07-31 09:35:29 +05:30
Makefile Prepackage playbooks v2.3.0 (#33574) 2025-07-28 15:17:25 -07:00
path.go Centralize the GetPackagePath (#27004) 2024-05-15 12:05:13 -03:00