mattermost/server/channels/app
Pavel Zeman 6fdef8c9cc
ci: enable fullyparallel mode for server tests (#35816)
* ci: enable fullyparallel mode for server tests

Replace os.Setenv, os.Chdir, and global state mutations with
parallel-safe alternatives (t.Setenv, t.Chdir, test hooks) across
37 files. Refactor GetLogRootPath and MM_INSTALL_TYPE to use
package-level test hooks instead of environment variables.

This enables gotestsum --fullparallel, allowing all test packages
to run with maximum parallelism within each shard.

Co-authored-by: Claude <claude@anthropic.com>

* ci: split fullyparallel from continue-on-error in workflow template

- Add new boolean input 'allow-failure' separate from 'fullyparallel'
- Change continue-on-error to use allow-failure instead of fullyparallel
- Update server-ci.yml to pass allow-failure: true for test coverage job
- Allows independent control of parallel execution and failure tolerance

Co-authored-by: Claude <claude@anthropic.com>

* fix: protect TestOverrideLogRootPath with sync.Mutex for parallel tests

- Replace global var TestOverrideLogRootPath with mutex-protected functions
- Add SetTestOverrideLogRootPath() and getTestOverrideLogRootPath() functions
- Update GetLogRootPath() to use thread-safe getter
- Update all test files to use SetTestOverrideLogRootPath() with t.Cleanup()
- Fixes race condition when running tests with t.Parallel()

Co-authored-by: Claude <claude@anthropic.com>

* fix: configure audit settings before server setup in tests

- Move ExperimentalAuditSettings from UpdateConfig() to config defaults
- Pass audit config via app.Config() option in SetupWithServerOptions()
- Fixes audit test setup ordering to configure BEFORE server initialization
- Resolves CodeRabbit's audit config timing issue in api4 tests

Co-authored-by: Claude <claude@anthropic.com>

* fix: implement SetTestOverrideLogRootPath mutex in logger.go

The previous commit updated test callers to use SetTestOverrideLogRootPath()
but didn't actually create the function in config/logger.go, causing build
failures across all CI shards. This commit:

- Replaces the exported var TestOverrideLogRootPath with mutex-protected
  unexported state (testOverrideLogRootPath + testOverrideLogRootMu)
- Adds exported SetTestOverrideLogRootPath() setter
- Adds unexported getTestOverrideLogRootPath() getter
- Updates GetLogRootPath() to use the thread-safe getter
- Fixes log_test.go callers that were missed in the previous commit

Co-authored-by: Claude <claude@anthropic.com>

* fix(test): use SetupConfig for access_control feature flag registration

InitAccessControlPolicy() checks FeatureFlags.AttributeBasedAccessControl
at route registration time during server startup. Setting the flag via
UpdateConfig after Setup() is too late — routes are never registered
and API calls return 404.

Use SetupConfig() to pass the feature flag in the initial config before
server startup, ensuring routes are properly registered.

Co-authored-by: Claude <claude@anthropic.com>

* fix(test): restore BurnOnRead flag state in TestRevealPost subtest

The 'feature not enabled' subtest disables BurnOnRead without restoring
it via t.Cleanup. Subsequent subtests inherit the disabled state, which
can cause 501 errors when they expect the feature to be available.

Add t.Cleanup to restore FeatureFlags.BurnOnRead = true after the
subtest completes.

Co-authored-by: Claude <claude@anthropic.com>

* fix(test): restore EnableSharedChannelsMemberSync flag via t.Cleanup

The test disables EnableSharedChannelsMemberSync without restoring it.
If the subtest exits early (e.g., require failure), later sibling
subtests inherit a disabled flag and become flaky.

Add t.Cleanup to restore the flag after the subtest completes.

Co-authored-by: Claude <claude@anthropic.com>

* Fix test parallelism: use instance-scoped overrides and init-time audit config

  Replace package-level test globals (TestOverrideInstallType,
  SetTestOverrideLogRootPath) with fields on PlatformService so each test
  gets its own instance without process-wide mutation. Fix three audit
  tests (TestUserLoginAudit, TestLogoutAuditAuthStatus,
  TestUpdatePasswordAudit) that configured the audit logger after server
  init — the audit logger only reads config at startup, so pass audit
  settings via app.Config() at init time instead.

  Also revert the Go 1.24.13 downgrade and bump mattermost-govet to
  v2.0.2 for Go 1.25.8 compatibility.

* Fix audit unit tests

* Fix MMCLOUDURL unit tests

* Fixed unit tests using MM_NOTIFY_ADMIN_COOL_OFF_DAYS

* Make app migrations idempotent for parallel test safety

  Change System().Save() to System().SaveOrUpdate() in all migration
  completion markers. When two parallel tests share a database pool entry,
  both may race through the check-then-insert migration pattern. Save()
  causes a duplicate key fatal crash; SaveOrUpdate() makes the second
  write a harmless no-op.

* test: address review feedback on fullyparallel PR

- Use SetLogRootPathOverride() setter instead of direct field access
  in platform/support_packet_test.go and platform/log_test.go (pvev)
- Restore TestGetLogRootPath in config/logger_test.go to keep
  MM_LOG_PATH env var coverage; test uses t.Setenv so it runs
  serially which is fine (pvev)
- Fix misleading comment in config_test.go: code uses t.Setenv,
  not os.Setenv (jgheithcock)

Co-authored-by: Claude <claude@anthropic.com>

* fix: add missing os import in post_test.go

The os import was dropped during a merge conflict resolution while
burn-on-read shared channel tests from master still use os.Setenv.

Co-authored-by: Claude <claude@anthropic.com>

---------

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: wiggin77 <wiggin77@warpmail.net>
Co-authored-by: Mattermost Build <build@mattermost.com>
2026-04-08 20:48:36 -04:00
..
email Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
featureflag Add whitespace linter (#24855) 2023-10-11 10:13:36 +02:00
imaging MM-67077: Remove PSD file previews (#34898) 2026-01-15 13:39:46 -05:00
imports fix: only match root-level JSONL files when importing a zip (#35481) 2026-03-05 15:20:17 +01:00
oauthproviders/gitlab [MM-63393] Add support for preferred_username claims (#30852) 2026-02-10 10:10:27 -05:00
oembed MM-60351 Use oEmbed for YouTube links (#28312) 2024-10-01 14:06:45 -04:00
password Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
platform ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
plugin_api_tests [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
properties Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
slashcommands Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
teams Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
test_templates [MM-64840] Add EmailNotificationWillBeSent Plugin Hook (#33421) 2025-08-05 09:09:07 -04:00
users Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
access_control.go Add property system app layer architecture (#35157) 2026-03-26 07:54:50 +00:00
access_control_test.go invalidate channel cache after deleting a channel access control policy (#35174) 2026-02-05 21:45:11 +01:00
admin.go [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
admin_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
agents.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
agents_bridge.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
agents_bridge_test.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
ai_bridge_test_helper.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
analytics.go Add single-channel guest tracking and reporting (#35451) 2026-03-10 10:31:10 -04:00
app.go Add property system app layer architecture (#35157) 2026-03-26 07:54:50 +00:00
app_test.go upgrade golangci-lint (#35845) 2026-03-30 13:41:32 -03:00
audit.go Add documentation for audit levels (#34457) 2025-11-12 14:07:12 +01:00
authentication.go MM-64692: Migrate passwords to PBKDF2 (#33830) 2025-09-11 16:43:34 +02:00
authentication_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
authorization.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
authorization_test.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
auto_responder.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
auto_responder_test.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
bot.go [MM-67314] Fix system bot DM restriction bypass (#35477) 2026-03-09 14:08:30 -04:00
bot_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
brand.go [MM-61099] Fix errcheck issues in server/channels/app/brand.go (#30679) 2025-05-21 16:35:00 +02:00
busy.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
busy_test.go [MM-62408] Server Code Coverage with Fully Parallel Tests (#30078) 2025-05-30 13:58:26 +02:00
channel.go Added nil checks (#35755) 2026-04-06 08:47:24 +05:30
channel_bookmark.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
channel_bookmark_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
channel_category.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
channel_category_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
channel_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
channels.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
cloud.go Add support for dynamic fetching of preview modal content from S3 bucket (#33380) 2025-07-15 12:58:18 -04:00
cluster.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
cluster_discovery.go Add whitespace linter (#24855) 2023-10-11 10:13:36 +02:00
cluster_handlers.go [MM-53156] Remove Multi-Product architecture (#25669) 2024-02-15 13:01:44 +01:00
command.go [MM-67143] Fix for custom slash command response URL (#34922) 2026-03-25 12:06:34 -04:00
command_autocomplete.go [MM-67143] Fix for custom slash command response URL (#34922) 2026-03-25 12:06:34 -04:00
command_autocomplete_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
command_test.go [MM-62408] Server Code Coverage with Fully Parallel Tests (#30078) 2025-05-30 13:58:26 +02:00
compliance.go Add trigger field to command execution logs (#34950) 2026-01-21 11:31:05 +01:00
config.go [MM-63760] Only partially sanitize DB datasources for Support Packet (#30728) 2025-06-06 15:07:54 +02:00
config_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
constants.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
content_flagging.go Add property system app layer architecture (#35157) 2026-03-26 07:54:50 +00:00
content_flagging_test.go Add property system app layer architecture (#35157) 2026-03-26 07:54:50 +00:00
context.go Add property system app layer architecture (#35157) 2026-03-26 07:54:50 +00:00
custom_profile_attributes.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
custom_profile_attributes_test.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
data_retention.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
desktop_login.go [MM-61106] fix server/channels/app/desktop_login.go errcheck issues (#28818) 2024-11-04 13:27:07 +01:00
desktop_login_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
doc.go Add comprehensive documentation for server/channels layers (#33449) 2025-07-22 11:53:42 +02:00
download.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
download_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
draft.go [MM-61899] Properly restrict users who previously shared a team from DMs/GMs when they no longer share a team. (#30094) 2025-09-30 11:41:14 -04:00
draft_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
e2e_agents_bridge.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
email_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
emoji.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
emoji_bench_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
emoji_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
enterprise.go Autotranslations MVP (#34696) 2026-01-26 17:05:34 -05:00
enterprise_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
expirynotify.go [MM-64485] Remove separate notification log file (#33473) 2025-08-20 10:17:45 +02:00
expirynotify_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
export.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
export_converters.go [MM-53245] export/import: add Props to the replies (#29531) 2024-12-18 17:36:17 +01:00
export_test.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
extract_plugin_tar.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
extract_plugin_tar_test.go Use testify ElementsMatch instead of sorting slices before comparison (#34899) 2026-01-13 11:40:03 -04:00
file.go feat: pluginapi: filewillbedownloaded / sendtoastmessage (#34596) 2026-02-16 17:10:39 +01:00
file_bench_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
file_helper.go [MM-57826] Make sure the original errors are wrapped when AppErrors are returned (#26771) 2024-04-22 12:03:28 +02:00
file_helper_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
file_info.go Update file_info.go (fix errcheck issue) (#28966) 2024-11-14 08:42:32 +01:00
file_info_test.go [MM-62408] Server Code Coverage with Fully Parallel Tests (#30078) 2025-05-30 13:58:26 +02:00
file_test.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
group.go Fix permissions in GetGroupsByNames (#35119) 2026-02-09 10:13:48 +00:00
group_test.go apply view restrcitions while fetching group members (#35172) 2026-02-05 12:45:57 +01:00
helper_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
hosted_customer.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
image.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
import.go Fix import failures for Japanese filenames with dakuten on macOS (#35204) 2026-03-18 12:16:55 +00:00
import_bulk_insert_test.go MM-68076 Chunk bulk INSERTs to respect PostgreSQL parameter limit (#35767) 2026-03-30 22:40:40 -04:00
import_functions.go MM-66092 - enhance user permissions data structure validations (#34654) 2026-01-16 10:59:07 -04:00
import_functions_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
import_test.go fix: only match root-level JSONL files when importing a zip (#35481) 2026-03-05 15:20:17 +01:00
import_utils.go Bump Go to v1.23.7 (#30455) 2025-03-17 14:22:07 +01:00
import_utils_test.go [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
integration_action.go move error back to logging warning...as caused breaking change (#35841) 2026-03-27 11:29:56 -06:00
integration_action_test.go move error back to logging warning...as caused breaking change (#35841) 2026-03-27 11:29:56 -06:00
ip_filtering.go [MM-64900] Migrate to use request.CTX instead of context.Context (#33541) 2025-09-18 16:14:24 +02:00
job.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
job_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
ldap.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
license.go MM-64486: Remove telemetry (#33606) 2025-09-04 18:46:18 +00:00
license_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
limits.go Add single-channel guest tracking and reporting (#35451) 2026-03-10 10:31:10 -04:00
limits_test.go Add single-channel guest tracking and reporting (#35451) 2026-03-10 10:31:10 -04:00
login.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
login_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
main_test.go MM-63368: Remove MySQL (#33458) 2025-07-22 20:40:55 +05:30
mention_keywords.go Depublishing some app layer methods (#29559) 2024-12-12 20:15:38 +01:00
mention_keywords_test.go [MM-62408] Server Code Coverage with Fully Parallel Tests (#30078) 2025-05-30 13:58:26 +02:00
mention_parser.go MM-54201 Refactor mention parsing in preparation for multi-word mentions (#25030) 2023-10-23 12:37:58 -04:00
mention_parser_standard.go MM-54201 Refactor mention parsing in preparation for multi-word mentions (#25030) 2023-10-23 12:37:58 -04:00
mention_parser_standard_test.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
mention_results.go MM-54201 Refactor mention parsing in preparation for multi-word mentions (#25030) 2023-10-23 12:37:58 -04:00
mention_results_test.go [MM-62408] Server Code Coverage with Fully Parallel Tests (#30078) 2025-05-30 13:58:26 +02:00
metrics.go [MM-65979] Add Prometheus metrics for plugin webapp performance (#35075) 2026-02-13 18:07:54 +05:30
metrics_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
migrations.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
migrations_test.go Add property system app layer architecture (#35157) 2026-03-26 07:54:50 +00:00
notification.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
notification_email.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
notification_email_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
notification_push.go MM-67091 Fixing notification titles rendering encoded values as-is (#35001) 2026-02-19 13:44:36 +02:00
notification_push_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
notification_test.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
notify_admin.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
notify_admin_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
oauth.go oauth check (#35553) 2026-03-18 13:31:48 -04:00
oauth_test.go oauth check (#35553) 2026-03-18 13:31:48 -04:00
onboarding.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
onboarding_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
opengraph.go MM-67372: Improve link preview metadata handling and filtering (#35178) 2026-02-09 16:26:14 +02:00
opengraph_test.go MM-67372: Improve link preview metadata handling and filtering (#35178) 2026-02-09 16:26:14 +02:00
options.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
permissions.go [MM-64900] Migrate to use request.CTX instead of context.Context (#33541) 2025-09-18 16:14:24 +02:00
permissions_migrations.go PermissionManageOauth removal impact (#35554) 2026-03-15 12:05:29 -04:00
permissions_migrations_test.go PermissionManageOauth removal impact (#35554) 2026-03-15 12:05:29 -04:00
permissions_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
plugin.go MM-67793: Remove dependency on blang/semver/v4 (#35742) 2026-03-25 13:41:33 +00:00
plugin_api.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
plugin_api_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
plugin_commands.go Add trigger field to command execution logs (#34950) 2026-01-21 11:31:05 +01:00
plugin_commands_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
plugin_db_driver.go MM-56402: Introduce a pluginID to track RPC DB connections (#26424) 2024-04-16 18:53:26 +05:30
plugin_db_driver_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
plugin_deadlock_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
plugin_event.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
plugin_file_download_hook_test.go feat: pluginapi: filewillbedownloaded / sendtoastmessage (#34596) 2026-02-16 17:10:39 +01:00
plugin_health_check_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
plugin_hooks_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
plugin_install.go chore: fix typos in comments (#34960) 2026-04-03 13:43:25 +00:00
plugin_install_test.go Use testify ElementsMatch instead of sorting slices before comparison (#34899) 2026-01-13 11:40:03 -04:00
plugin_key_value_store.go Cleanup usage of global logger (#26835) 2024-04-24 11:52:33 +02:00
plugin_prepackaged_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
plugin_properties_test.go Add property system app layer architecture (#35157) 2026-03-26 07:54:50 +00:00
plugin_public_keys.go MM-52532: Fix golangci warnings (#23709) 2023-06-13 14:08:36 +05:30
plugin_reattach.go Fix errcheck issues in server/channels/app/plugin_reattach (#29115) 2024-11-05 09:59:24 +01:00
plugin_requests.go Add trigger field to command execution logs (#34950) 2026-01-21 11:31:05 +01:00
plugin_requests_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
plugin_shutdown_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
plugin_signature.go Always require signatures for prepackaged plugins (#31785) 2025-06-24 15:11:02 -03:00
plugin_signature_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
plugin_statuses.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
plugin_test.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
post.go MM-68140: Validate post read access before rewrite thread context (#35864) 2026-04-01 02:07:45 -07:00
post_acknowledgements.go Flag post API (#33765) 2025-10-02 20:24:29 +05:30
post_acknowledgements_test.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
post_file_change.go Feature edit attachments (#29769) 2025-01-13 18:16:56 +05:30
post_file_change_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
post_helpers.go Changes for BoR post soft-deletion (#35100) 2026-02-12 05:25:49 -05:00
post_helpers_test.go Changes for BoR post soft-deletion (#35100) 2026-02-12 05:25:49 -05:00
post_metadata.go Show priority badges in permalink previews (#35532) 2026-03-10 10:17:59 -04:00
post_metadata_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
post_permission_utils.go disable burn on read posts on shared channels (#35460) 2026-04-01 11:30:35 +02:00
post_permission_utils_test.go Add guards to avoid cards being created when the integrated boards feature flag is disabled (#35836) 2026-03-27 08:51:29 -07:00
post_persistent_notification.go Added nil checks (#35755) 2026-04-06 08:47:24 +05:30
post_persistent_notification_test.go Added nil checks (#35755) 2026-04-06 08:47:24 +05:30
post_priority.go MM-66909 - Fix BoR sender not seeing priority label on new post (#34964) 2026-02-17 20:10:30 -05:00
post_restore.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
post_restore_test.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
post_rewrite_test.go MM-66577 Preserve locale in rewrite prompt (#35013) 2026-02-03 11:32:03 -05:00
post_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
preference.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
product_notices.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
product_notices_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
property_field.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
property_field_test.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
property_group.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
property_value.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
property_value_test.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
ratelimit.go [MM-66838] Update throttled library to v2.15.0 with Go modules support (#34657) 2026-03-19 11:36:19 +01:00
ratelimit_test.go [MM-66838] Update throttled library to v2.15.0 with Go modules support (#34657) 2026-03-19 11:36:19 +01:00
reaction.go [MM-61758] Burn on read feature (#34703) 2025-12-11 07:59:50 +01:00
reaction_test.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
recap.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
recap_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
remote_cluster.go MM-64522: Use PBKDF2 as the new key derivation for remote cluster invitation (#33493) 2025-07-21 19:08:31 +05:30
remote_cluster_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
report.go Add single-channel guests filter and channel count column to System Console Users (#35517) 2026-03-12 12:50:53 -04:00
report_test.go Add single-channel guests filter and channel count column to System Console Users (#35517) 2026-03-12 12:50:53 -04:00
response_transfer.go Add streaming support to PluginHTTP API for inter-plugin requests (#34366) 2025-11-05 14:21:13 +00:00
role.go [MM-67741] Scope role_updated WS events to affected team/channel (#35497) 2026-03-16 14:36:55 -04:00
role_test.go [MM-67741] Scope role_updated WS events to affected team/channel (#35497) 2026-03-16 14:36:55 -04:00
saml.go MM-66299: type handling for ConsumeTokenOnce (#34247) 2025-10-22 18:03:33 -03:00
scheduled_post.go Guest cannot add file to post without upload_file permission (#34538) 2026-01-07 10:40:05 -04:00
scheduled_post_job.go Add guards to avoid cards being created when the integrated boards feature flag is disabled (#35836) 2026-03-27 08:51:29 -07:00
scheduled_post_job_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
scheduled_post_test.go Guest cannot add file to post without upload_file permission (#34538) 2026-01-07 10:40:05 -04:00
scheme.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
searchengine.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
security_update_check.go MM-64486: Remove telemetry (#33606) 2025-09-04 18:46:18 +00:00
server.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
server_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
session.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
session_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
shared_channel.go Includes deleted remote cluster infos to correctly show shared user information (#35192) 2026-03-04 14:46:10 +01:00
shared_channel_global_user_sync_self_referential_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
shared_channel_membership_sync_self_referential_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
shared_channel_service_iface.go MM-67616: Refactor shared channel membership sync to use ChannelMemberHistory (#35619) 2026-03-23 10:12:17 -04:00
shared_channel_sync_self_referential_utils_test.go MM-68179: Run sendLoop workers on all HA nodes (#35909) 2026-04-07 18:49:54 +02:00
shared_channel_test.go Add audits for accessing posts without membership (#31266) 2026-01-20 10:38:27 +01:00
slack.go Improved processing of attachments (#35854) 2026-04-07 13:25:38 +03:00
slack_test.go Improved processing of attachments (#35854) 2026-04-07 13:25:38 +03:00
status.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
status_test.go chore: fix typos in comments (#34960) 2026-04-03 13:43:25 +00:00
summarization.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
summarization_test.go Ability to E2E AI Bridge features + Initial Recaps E2E (#35541) 2026-03-30 16:20:47 +00:00
support_packet.go Add single-channel guest count to support packet stats (#35846) 2026-03-30 11:13:09 -04:00
support_packet_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
syncables.go [MM-63772] Add LDAP setting to re-add removed members (#30787) 2025-05-20 11:15:25 +02:00
syncables_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
team.go MM-68016, MM-68017, MM-68018 Add plugin pre-hooks for membership and channel archive (#35731) 2026-03-25 08:45:17 -04:00
team_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
terms_of_service.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
toast.go feat: pluginapi: filewillbedownloaded / sendtoastmessage (#34596) 2026-02-16 17:10:39 +01:00
toast_test.go feat: pluginapi: filewillbedownloaded / sendtoastmessage (#34596) 2026-02-16 17:10:39 +01:00
upload.go [MM-61899] Properly restrict users who previously shared a team from DMs/GMs when they no longer share a team. (#30094) 2025-09-30 11:41:14 -04:00
upload_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
usage.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
usage_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
user.go Fix nil pointer dereference in UpdateUser (MATTERMOST-SERVER-VF) (#35717) 2026-03-23 16:48:22 -04:00
user_agent.go upgrade golangci-lint (#35845) 2026-03-30 13:41:32 -03:00
user_agent_test.go [MM-67425] Add an unsupported Desktop App setting and screen for users (#35382) 2026-03-04 15:16:11 +00:00
user_limits_test.go Generate instead of hard-coding test passwords, enforce new minimum for FIPS, shard CI, fix FIPS builds (#35905) 2026-04-08 16:49:43 -03:00
user_terms_of_service.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
user_terms_of_service_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
user_test.go ci: enable fullyparallel mode for server tests (#35816) 2026-04-08 20:48:36 -04:00
user_viewmembers_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
view.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
view_test.go Merge the Integrated Boards MVP feature branch (#35796) 2026-03-27 10:36:35 +01:00
web_broadcast_hooks.go Add support for channel mentions in webhook attachments (#34235) 2026-02-16 13:31:32 -07:00
web_broadcast_hooks_test.go Add support for channel mentions in webhook attachments (#34235) 2026-02-16 13:31:32 -07:00
web_conn.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
web_conn_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
web_hub.go [MM-61758] Burn on read feature (#34703) 2025-12-11 07:59:50 +01:00
webhook.go Improved processing of attachments (#35854) 2026-04-07 13:25:38 +03:00
webhook_test.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
webhub_fuzz.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00