mattermost/server/public/model
Alejandro García Montoro c6b59cc9a7
MM-68663: Admin console support and Test Connection generalization for Azure Blob Storage (#36583)
* Generalize the file storage Test Connection endpoint

Replaces the S3-only /api/v4/file/s3_test handler with a backend-agnostic
POST /api/v4/file/test that validates mandatory fields per driver and
runs a write/read/delete probe against the configured backend. The
legacy /file/s3_test route stays as a thin wrapper so existing clients
keep working.

The driver switch validates S3 and Azure mandatory fields explicitly,
treats Local as a no-op (no required credentials), and rejects unknown
or empty driver names with a 400 and a specific error code so admins
get a useful message instead of a generic backend failure.

Reuses config.Desanitize (renamed from the package-private desanitize)
so the FakeSetting placeholder swap for secrets is shared with the
PUT /api/v4/config save path. Adding a new driver-secret in the future
only requires touching config.Desanitize once. Desanitize is also made
nil-safe on every pointer dereference so callers can hand it a partial
config without first running SetDefaults().

Mattermost-redux and the webapp client gain a corresponding
TestFileStoreConnection method that the admin console action layer
calls instead of the deprecated S3-specific method.

------
AI assisted commit

* Wire Azure Blob Storage into the file storage admin console

Adds the Azure Blob Storage option to the File Storage panel in the
System Console. Selecting it enables Azure-specific fields for the
storage account name, container, optional path prefix, shared key,
optional endpoint override, secure-connections toggle, and request
timeout. The fields are hidden and disabled when the driver is set to
Local or S3, matching the existing pattern.

Help text and placeholders are added in the webapp i18n catalog so
admins see the same field labels documented in the admin guide.

The same set of fields is repeated for the Files Export panel when
DedicatedExportStore is enabled, keeping the export backend
configurable independently of the primary file store.

------
AI assisted commit

* Document /api/v4/file/test in the OpenAPI spec

Adds the new backend-agnostic file storage Test Connection endpoint to
the public OpenAPI surface. The request body is optional: callers that
omit it test the running server configuration, callers that include a
full AdminConfig test the supplied configuration without persisting
anything. The deprecated /api/v4/file/s3_test endpoint is left
unchanged in the spec for the existing S3-only flow.

------
AI assisted commit

* Add UI-only Cypress coverage for the Azure file storage panel

Adds a Cypress spec that drives the System Console File Storage panel,
switches the driver to Azure Blob Storage, fills in the Azure fields,
and asserts the expected fields appear (and S3 fields are hidden). The
spec is UI-only and does not depend on an Azure backend or Azurite, so
it can run in CI without external infrastructure.

Updates the existing environment_spec.js so it tolerates the new Azure
option in the driver dropdown.

------
AI assisted commit

* Nil-guard file storage mandatory-field checks

CheckMandatoryS3Fields and CheckMandatoryAzureFields built a
FileBackendSettings via NewFileBackendSettingsFromConfig before
validating, but that constructor dereferences pointers
unconditionally and would panic if a caller skipped the api
handler's reflective nil check. Validate the required pointers
directly against FileSettings instead, dropping the throwaway
constructor call so the methods are safe to call from any path.

------
AI assisted commit

* Check permission before validating file settings

The /file/test handler ran checkHasNilFields before
SessionHasPermissionTo, so an unauthorized caller posting a partial
config got a 400, leaking config shape, rather than a 403. Swap the two
blocks so the permission decision happens first.

------
AI assisted commit

* Preserve FakeSetting when desanitize has no actual

The Azure access key, export Azure access key, and S3 secret access key
branches in Desanitize reassigned target to actual without checking
actual for nil. When the running config had no value, the FakeSetting
placeholder in target was replaced with nil, dropping the field from the
round-trip. Guard the assignment so the placeholder stays in place when
actual is unset.

------
AI assisted commit

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2026-05-25 11:36:02 +00:00
..
testdata Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
access.go Add support for resource parameter with OAuth (#33743) 2025-11-11 15:24:42 -05:00
access_policy.go [MM-68693] Resource level permission policies and new simulation (#36472) 2026-05-21 14:40:05 +02:00
access_policy_test.go [MM-68693] Resource level permission policies and new simulation (#36472) 2026-05-21 14:40:05 +02:00
access_request.go [MM-68693] Resource level permission policies and new simulation (#36472) 2026-05-21 14:40:05 +02:00
access_test.go Add support for resource parameter with OAuth (#33743) 2025-11-11 15:24:42 -05:00
agents.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_row.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
audit.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
audit_events.go MM-68419: Add expires_at to PAT data model and enforce expiry at token validation (#36243) 2026-05-22 10:30:30 +02:00
audit_record.go [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
auditconv.go Marks the RemoteTeamId field of RemoteClusters as deprecated (#27364) 2024-06-22 23:08:55 +02:00
auditconv_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
audits.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
authorize.go Add support for resource parameter with OAuth (#33743) 2025-11-11 15:24:42 -05:00
authorize_test.go Add support for resource parameter with OAuth (#33743) 2025-11-11 15:24:42 -05:00
autotranslation.go [MM-67231] Etag fixes for autotranslations (#35196) 2026-02-09 18:32:26 -05:00
autotranslation_test.go Autotranslations MVP (#34696) 2026-01-26 17:05:34 -05:00
bot.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
bot_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
builtin.go MM-68150: Upgrade golangci-lint to v2.12.2 (#36554) 2026-05-14 17:29:37 -04:00
builtin_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
bulk_export.go [MM-57295] Bulk export: add roles and permission schemes (#26523) 2024-03-26 08:43:25 -06:00
bundle_info.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
bundle_info_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
cel.go MM-68500 - add AttributeValueMasking flag and HasMaskedValues field (#36408) 2026-05-05 12:33:28 +02:00
cel_test.go MM-68500 - add AttributeValueMasking flag and HasMaskedValues field (#36408) 2026-05-05 12:33:28 +02:00
channel.go [MM-68693] Resource level permission policies and new simulation (#36472) 2026-05-21 14:40:05 +02:00
channel_bookmark.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
channel_bookmark_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
channel_data.go MM-52532: Fix golangci warnings (#23709) 2023-06-13 14:08:36 +05:30
channel_join_request.go MM-68762: Discoverable Private Channels — Server data layer (#36539) 2026-05-15 21:04:32 +02:00
channel_join_request_test.go MM-68762: Discoverable Private Channels — Server data layer (#36539) 2026-05-15 21:04:32 +02:00
channel_list.go Add whitespace linter (#24855) 2023-10-11 10:13:36 +02:00
channel_member.go Add bulk set (replace) channel memberships API endpoint (#36031) 2026-04-15 01:41:33 -04:00
channel_member_history.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
channel_member_history_result.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
channel_member_test.go Sanatize LastViewedAt and LastUpdateAt for other users on channel member object (#33835) 2025-09-05 08:06:16 -07:00
channel_mentions.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
channel_mentions_test.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
channel_search.go [MM-61756] Attribute Based Access Control - Phase 1 (#30785) 2025-05-15 11:33:08 +02:00
channel_sidebar.go [MM-68037] Managed Sidebar Categories (MVF) (#35935) 2026-04-14 09:00:59 -04:00
channel_sidebar_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
channel_stats.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
channel_test.go MM-68762: Discoverable Private Channels — Server data layer (#36539) 2026-05-15 21:04:32 +02:00
channel_view.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
client4.go MM-68663: Admin console support and Test Connection generalization for Azure Blob Storage (#36583) 2026-05-25 11:36:02 +00:00
client4_route.go MM-65970: New way to build routes in Client4 (#34499) 2026-01-29 14:26:47 +00:00
client4_route_test.go MM-65970: New way to build routes in Client4 (#34499) 2026-01-29 14:26:47 +00:00
client4_test.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01: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_discovery.go [MM-57106] Remove unused cluster settings (#26490) 2024-03-22 10:44:38 +01:00
cluster_discovery_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
cluster_info.go MM-53228: Adding schema version to cluster info (#24209) 2023-08-10 09:40:49 +05:30
cluster_message.go Surface WebSocket event context in oversized cluster publish message logs (#36214) 2026-04-22 18:16:54 -04:00
cluster_message_test.go Surface WebSocket event context in oversized cluster publish message logs (#36214) 2026-04-22 18:16:54 -04:00
cluster_stats.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
command.go [MM-67377] Fix (#35336) 2026-03-06 13:39:48 +01:00
command_args.go Include connection ID in plugin context (#36074) 2026-05-11 10:09:47 +02:00
command_args_test.go Include connection ID in plugin context (#36074) 2026-05-11 10:09:47 +02:00
command_autocomplete.go [MM-57356] Make use of go1.21 features (#26620) 2024-04-04 13:44:03 +02:00
command_autocomplete_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
command_request.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
command_response.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
command_response_test.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
command_test.go [MM-67377] Fix (#35336) 2026-03-06 13:39:48 +01:00
command_webhook.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
command_webhook_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
compliance.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
compliance_post.go Add whitespace linter (#24855) 2023-10-11 10:13:36 +02:00
compliance_post_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
config.go Fix config Sanitize fields missing from desanitize, causing FakeSetting to be persisted (#36619) 2026-05-20 10:04:21 +00:00
config_test.go Fix config Sanitize fields missing from desanitize, causing FakeSetting to be persisted (#36619) 2026-05-20 10:04:21 +00:00
content_flagging.go Data spillage report generation UI (#36340) 2026-05-18 20:24:50 +05:30
content_flagging_report.go Data spillage report generation UI (#36340) 2026-05-18 20:24:50 +05:30
content_flagging_setting_request.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
content_flagging_settings.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
content_flagging_settings_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
content_flagging_test.go Rename Content Flagging to Data Spillage Handling (#35407) 2026-03-06 21:15:01 -05:00
custom_profile_attributes.go Migrate CPA to the v2 Property System (#36180) 2026-05-14 12:46:07 -04:00
custom_profile_attributes_test.go Migrate CPA to the v2 Property System (#36180) 2026-05-14 12:46:07 -04:00
custom_status.go MM-56881 Validate and ensure valid CustomStatus is stored (#26287) 2024-03-04 15:53:55 -07:00
data_retention_policy.go [MM-64360] Data retention: optionally preserve pinned posts (#31165) 2025-06-09 15:41:07 -04:00
draft.go [MM-61758] Burn on read feature (#34703) 2025-12-11 07:59:50 +01:00
draft_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
email_notification.go [MM-64840] Add EmailNotificationWillBeSent Plugin Hook (#33421) 2025-08-05 09:09:07 -04:00
emoji.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
emoji_data.go Revert "Add "thanks" and "thank you" to "pray" emoji (#24090)" (#24969) 2023-10-17 11:57:35 -04:00
emoji_search.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
emoji_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
example_channel_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
feature_flags.go [MM-68693] Resource level permission policies and new simulation (#36472) 2026-05-21 14:40:05 +02:00
feature_flags_test.go [MM-68693] Resource level permission policies and new simulation (#36472) 2026-05-21 14:40:05 +02:00
file.go [MM-53454] Add export file settings + slash command for public link (#23915) 2023-07-19 13:01:39 -07:00
file_info.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
file_info_list.go MM-52532: Fix golangci warnings for public module (#23918) 2023-06-30 20:12:56 +05:30
file_info_search_results.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
file_info_test.go MM-68439 Centralize filename handling for FileInfo (#36223) 2026-04-23 14:09:26 -04:00
fips.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
fips_default.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
github_release.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
gitlab.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
group.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
group_member.go [MM-55323] Allow end users to fetch the group members list of groups which allow @-mentions (#26551) 2024-04-12 19:41:50 +02:00
group_syncable.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
group_syncable_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
group_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
guest_invite.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
incoming_webhook.go Add "last used" field for incoming webhooks (#36416) 2026-05-19 15:22:04 +02:00
incoming_webhook_test.go Add root id to webhooks (#36415) 2026-05-07 14:09:32 +02:00
initial_load.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
integration_action.go Add inline action buttons for bot-posted markdown (#36219) 2026-05-20 13:34:44 -06:00
integration_action_test.go Add inline action buttons for bot-posted markdown (#36219) 2026-05-20 13:34:44 -06:00
integrity.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
ip_filtering.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
job.go MM-68419: Add expires_at to PAT data model and enforce expiry at token validation (#36243) 2026-05-22 10:30:30 +02:00
job_test.go [MM-56074] mmctl job commands (#26855) 2024-06-17 12:07:05 -04:00
ldap.go [MM-63152] LDAP Wizard (#31417) 2025-06-16 16:19:33 -04:00
license.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
license_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
limits.go Add single-channel guest tracking and reporting (#35451) 2026-03-10 10:31:10 -04:00
link_metadata.go MM-67372: Improve link preview metadata handling and filtering (#35178) 2026-02-09 16:26:14 +02:00
link_metadata_test.go MM-67372: Improve link preview metadata handling and filtering (#35178) 2026-02-09 16:26:14 +02:00
manifest.go MM-67793: Remove dependency on blang/semver/v4 (#35742) 2026-03-25 13:41:33 +00:00
manifest_test.go [MM-66875][MM-66876] Implement RHS plugin popout (#34692) 2025-12-11 14:04:43 -05:00
map.go Introduce model.AssertNotSameMap (#34058) 2025-10-27 13:16:59 -03:00
map_test.go Introduce model.AssertNotSameMap (#34058) 2025-10-27 13:16:59 -03:00
marketplace_plugin.go MM-65970: New way to build routes in Client4 (#34499) 2026-01-29 14:26:47 +00:00
member_invite.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
mention_map.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
mention_map_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
message_attachment.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
message_attachment_test.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
message_export.go MM-59966 - Compliance Export overhaul - feature branch (#29789) 2025-01-10 16:56:02 -05:00
metrics.go MM-67793: Remove dependency on blang/semver/v4 (#35742) 2026-03-25 13:41:33 +00:00
metrics_test.go MM-61886: Add actionable page navigation metrics (#29332) 2024-11-29 11:24:35 +05:30
mfa_secret.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
migration.go MM-68762: Discoverable Private Channels — Server data layer (#36539) 2026-05-15 21:04:32 +02:00
mm_blocks_actions.go Add inline action buttons for bot-posted markdown (#36219) 2026-05-20 13:34:44 -06:00
modeltestlib_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
notification.go MM-65575: Fix server panic when bot posts trigger persistent notifications (#34174) 2025-12-08 20:41:29 +00:00
notify_admin.go [MM-53102] Add support for multi-word highlights without notifications in web (#24050) 2023-11-11 19:33:28 +05:30
oauth.go feat: Add Microsoft Intune MAM authentication support (#34577) 2025-12-10 08:31:53 +02:00
oauth_dcr.go [MM-67605] Add DCR redirect URI allowlist for OAuth DCR (#35291) 2026-02-19 01:06:08 +00:00
oauth_dcr_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
oauth_metadata.go [MM-66681] Update path matching (#34524) 2025-11-19 09:50:25 -05:00
oauth_test.go OAuth public client support through DCR and PKCE support for public/confidential clients (#33664) 2025-11-11 17:43:37 +00:00
onboarding.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
outgoing_oauth_connection.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
outgoing_oauth_connection_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
outgoing_webhook.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
outgoing_webhook_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
packet_metadata.go MM-67793: Remove dependency on blang/semver/v4 (#35742) 2026-03-25 13:41:33 +00:00
packet_metadata_test.go Migrate from gopkg.in/yaml.v3 to github.com/goccy/go-yaml (#34510) 2025-11-18 08:52:05 +01:00
permalink.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
permission.go MM-68762: Discoverable Private Channels — Server data layer (#36539) 2026-05-15 21:04:32 +02:00
permission_test.go [MM-56061] Only render where field in model.AppError when it's present (#25648) 2023-12-11 10:27:51 +01:00
plugin_cluster_event.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
plugin_constants.go Enable to AI plugin by default (#28770) 2024-11-01 06:30:25 -07:00
plugin_event_data.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
plugin_key_value.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
plugin_key_value_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
plugin_kvset_options.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
plugin_on_install_event.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
plugin_reattach.go MM-57018: support reattaching plugins (#26421) 2024-04-11 11:10:25 -04:00
plugin_status.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
plugin_toast.go feat: pluginapi: filewillbedownloaded / sendtoastmessage (#34596) 2026-02-16 17:10:39 +01:00
plugin_valid.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
plugin_valid_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
plugins_response.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
post.go Add inline action buttons for bot-posted markdown (#36219) 2026-05-20 13:34:44 -06:00
post_acknowledgement.go MM-68339: Add XML struct tags and multi-remote registration for shared channels plugin API (#36126) 2026-04-28 08:53:06 -04:00
post_deletion_report.go Data spillage deletion summary (#36018) 2026-05-04 06:40:26 +05:30
post_deletion_report_test.go Data spillage deletion summary (#36018) 2026-05-04 06:40:26 +05:30
post_embed.go Sanitize post for audit with preview links (#23745) 2023-06-15 08:23:56 -04:00
post_info.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
post_list.go [MM-61758] Burn on read feature (#34703) 2025-12-11 07:59:50 +01:00
post_list_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
post_metadata.go [MM-68183] Permission policies (#36003) 2026-04-16 04:02:12 +03:00
post_reporting_test.go Add cursor-based Posts Reporting API for compliance and auditing (#34252) 2025-11-17 09:02:19 -07:00
post_search_results.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
post_test.go Add inline action buttons for bot-posted markdown (#36219) 2026-05-20 13:34:44 -06:00
preference.go [MM-67880] Add /mobile-logs slash command (#35658) 2026-04-20 12:46:36 +02:00
preference_test.go [MM-56904] Reduce the number of api requests made to fetch user information for GMs on page load (#27149) 2024-07-25 15:57:23 -04:00
product_notices.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
property_access.go MM-68501 - implement GetMaskedVisualAST and wire API handler (#36413) 2026-05-12 18:26:08 +02:00
property_access_control.go Migrate CPA to the v2 Property System (#36180) 2026-05-14 12:46:07 -04:00
property_access_test.go MM-68501 - implement GetMaskedVisualAST and wire API handler (#36413) 2026-05-12 18:26:08 +02:00
property_field.go [MM-68777] Add admin property field permission level (#36558) 2026-05-22 11:01:41 -04:00
property_field_attrs_validation.go Migrate CPA to the v2 Property System (#36180) 2026-05-14 12:46:07 -04:00
property_field_attrs_validation_test.go Migrate CPA to the v2 Property System (#36180) 2026-05-14 12:46:07 -04:00
property_field_test.go [MM-68777] Add admin property field permission level (#36558) 2026-05-22 11:01:41 -04:00
property_group.go Migrate CPA to the v2 Property System (#36180) 2026-05-14 12:46:07 -04:00
property_group_test.go Property System v2 Generic APIs blacklist (#36171) 2026-04-24 11:51:02 +02:00
property_value.go Migrate CPA to the v2 Property System (#36180) 2026-05-14 12:46:07 -04:00
property_value_test.go Migrate CPA to the v2 Property System (#36180) 2026-05-14 12:46:07 -04:00
push_notification.go upgrade golangci-lint (#35845) 2026-03-30 13:41:32 -03:00
push_notification_test.go Add whitespace linter (#24855) 2023-10-11 10:13:36 +02:00
push_response.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
push_response_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
reaction.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
reaction_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
read_receipt.go [MM-61758] Burn on read feature (#34703) 2025-12-11 07:59:50 +01:00
recap.go Add unread badge to Recaps sidebar link (#36246) 2026-05-06 15:14:18 +02:00
remote_cluster.go MM-68339: slugify RemoteCluster.Name in plugin registration (#36309) 2026-04-28 13:37:33 -04:00
remote_cluster_test.go MM-68339: slugify RemoteCluster.Name in plugin registration (#36309) 2026-04-28 13:37:33 -04: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
role.go MM-68762: Discoverable Private Channels — Server data layer (#36539) 2026-05-15 21:04:32 +02:00
role_test.go Return descriptive errors from Role.IsValid and Role.IsValidWithoutId (#36582) 2026-05-15 18:40:25 +00:00
saml.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
scheduled_post.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
scheduled_post_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
scheduled_task.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
scheduled_task_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
scheme.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
search_params.go Thai tone marks and vowels at the end of the search term is wrongly removed. (#29071) 2024-11-21 13:47:48 +00:00
search_params_test.go Thai tone marks and vowels at the end of the search term is wrongly removed. (#29071) 2024-11-21 13:47:48 +00:00
security_bulletin.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
service_environment.go Service environment (#23443) 2023-06-07 10:15:33 -03:00
service_environment_dev_default.go Service environment (#23443) 2023-06-07 10:15:33 -03:00
service_environment_production_default.go Service environment (#23443) 2023-06-07 10:15:33 -03:00
service_environment_test.go fix TestGetServiceEnvironment (#24506) 2023-09-08 11:00:48 -03:00
session.go MM-63316: Guest access to channel (#30467) 2025-04-14 13:07:50 +02:00
session_serial_gen.go Add metrics for mobile versions snapshots (#28191) 2024-09-24 12:02:19 +02:00
session_test.go MM-52792: Update createPost, updatePost, & patchPost (#24195) 2023-10-03 09:51:07 -05:00
shared_channel.go MM-68339: Add XML struct tags and multi-remote registration for shared channels plugin API (#36126) 2026-04-28 08:53:06 -04:00
shared_channel_test.go MM-68339: Add XML struct tags and multi-remote registration for shared channels plugin API (#36126) 2026-04-28 08:53:06 -04:00
slack_compatibility.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
slack_compatibility_test.go [MM-67739] Rename SlackAttachment to MessageAttachment across the codebase (#35445) 2026-03-10 16:37:21 +01:00
status.go MM-68339: Add XML struct tags and multi-remote registration for shared channels plugin API (#36126) 2026-04-28 08:53:06 -04:00
status_test.go Fix errcheck linter errors in helpers (#31578) 2025-11-12 13:00:51 +01:00
suggest_command.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
support_packet.go [MM-68578] Add support packet DB performance diagnostics (#36324) 2026-05-21 12:45:18 +02:00
switch_request.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
system.go MM-67540 - Allow searching public channel messages without channel membership (#35298) 2026-03-09 14:07:44 -04:00
team.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
team_member.go adds team member data sanitizing (#35562) 2026-04-09 16:12:15 +02:00
team_member_serial_gen.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
team_member_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
team_search.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
team_stats.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
team_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
temporary_post.go [MM-61758] Burn on read feature (#34703) 2025-12-11 07:59:50 +01:00
terms_of_service.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
terms_of_service_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
thread.go optionally exclude threads in direct messages (#29042) 2024-11-14 16:57:15 +08:00
thread_test.go [MM-59367] export: enable exporting thread followers for CRT (#27623) 2024-08-29 14:06:41 +02:00
token.go Magic link (passwordless) authentication for guests (#34264) 2025-11-20 14:06:23 +01:00
typing_request.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
unicode.go [MM-67671] Add CJK Post search support for PostgreSQL (#35260) 2026-02-25 10:18:51 -05:00
unicode_test.go [MM-67671] Add CJK Post search support for PostgreSQL (#35260) 2026-02-25 10:18:51 -05:00
upload_session.go Enforce use of any instead of interface{} (#30588) 2025-03-31 10:44:34 +02:00
upload_session_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
usage.go Enable to AI plugin by default (#28770) 2024-11-01 06:30:25 -07:00
user.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
user_access_token.go MM-68419: Add expires_at to PAT data model and enforce expiry at token validation (#36243) 2026-05-22 10:30:30 +02:00
user_access_token_search.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
user_access_token_test.go MM-68419: Add expires_at to PAT data model and enforce expiry at token validation (#36243) 2026-05-22 10:30:30 +02:00
user_autocomplete.go [MM-67118] Add Agents to @ mention autocomplete in channel (#34881) 2026-01-19 16:10:57 -05:00
user_count.go Remove remote users from the license counting and explicitly dissallow them to log in (#22582) 2023-08-14 17:54:10 +02:00
user_get.go MM-62751: [Shared Channels] Allow remote users to be discoverable in the create DM/GM modal (#30918) 2025-06-13 16:51:12 +02:00
user_search.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
user_serial_gen.go [MM-59069] Make sure OTP are actual One Time Password (#28074) 2024-09-17 00:44:32 +02:00
user_terms_of_service.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
user_terms_of_service_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
user_test.go MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
users_stats.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
utils.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
utils_serial_gen.go [MM-59069] Make sure OTP are actual One Time Password (#28074) 2024-09-17 00:44:32 +02:00
utils_test.go MM-68150: Upgrade golangci-lint to v2.12.2 (#36554) 2026-05-14 17:29:37 -04:00
version.go Update latest minor version to 11.8.0 (#36437) 2026-05-06 08:23:38 +02:00
version_test.go Expose public/ API as submodule (#23345) 2023-05-10 13:07:02 -03:00
view.go Add board channel types (BO/BP) for Integrated Boards (#35887) 2026-05-13 16:25:08 -07:00
view_test.go Add board channel types (BO/BP) for Integrated Boards (#35887) 2026-05-13 16:25:08 -07:00
websocket_client.go MM-56071: Track multiple threads (#25775) 2023-12-21 08:42:58 +05:30
websocket_client_test.go [MM-64654] Migrate to modern Go features (#31820) 2025-07-18 12:54:51 +02:00
websocket_message.go MM-68762: Discoverable Private Channels — Server data layer (#36539) 2026-05-15 21:04:32 +02:00
websocket_message_test.go Introduce model.AssertNotSameMap (#34058) 2025-10-27 13:16:59 -03:00
websocket_request.go Pass remote address in WebSocketMessageHasBeenPosted plugin hook (#27332) 2024-06-13 09:01:49 +02:00
wrangler.go Feature: Wrangler (#23602) 2023-12-11 15:27:34 -05:00
xml_helpers.go MM-68339: Add XML struct tags and multi-remote registration for shared channels plugin API (#36126) 2026-04-28 08:53:06 -04:00