mattermost/server/einterfaces
Ben Schumacher a7ef484fee
[MM-68576] Add SAML connectivity status to support packet diagnostics (#36321)
* Add SAML connectivity status to support packet diagnostics

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Fix SAML diagnostics tests for config validation

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Add enterprise SAML diagnostics hook for support packet

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Cleanup

* Fix SAML support packet tests to use enterprise mock interface

Tests were expecting the platform layer to perform HTTP metadata URL
checks directly, but that logic belongs in the enterprise SAML
diagnostic implementation. Updated tests to install a mock enterprise
interface (matching the existing pattern in the override test) instead
of relying on bare HTTP calls that only work without the enterprise
interface registered.

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

* Simplify SamlDiagnosticInterface to return error instead of (string, string)

The status return was always either StatusOk or StatusFail, which maps
directly to nil/non-nil error. Removing the redundant status string
makes the interface idiomatic Go and lets the call site derive status
from error presence.

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

* lint fix

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 10:21:34 +02:00
..
jobs Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
mocks [MM-68576] Add SAML connectivity status to support packet diagnostics (#36321) 2026-05-21 10:21:34 +02:00
.mockery.yaml Migrate mockery to packages feature (#29013) 2024-11-07 12:48:11 +01:00
access_control.go [MM-61756] Attribute Based Access Control - Phase 1 (#30785) 2025-05-15 11:33:08 +02:00
account_migration.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
autotranslation.go Add the ability to patch channel autotranslations (#35078) 2026-02-06 18:19:06 +01:00
cloud.go [MM-67030] Remove newsletter signup and replace with terms/privacy agreement (#34801) 2026-01-23 18:24:27 +00:00
cluster.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
compliance.go [MM-54435] Use annotated logger to capture compliance export logs (#24791) 2023-10-23 10:20:32 +02:00
data_retention.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
intune.go feat: Add Microsoft Intune MAM authentication support (#34577) 2025-12-10 08:31:53 +02:00
ip_filtering.go [CLD-6324] Cloud IP Filtering (#24726) 2023-11-14 09:12:04 -05:00
ldap.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
license.go [CLD-9487] Support for Entry + updates to Edition & License screen (#33672) 2025-08-27 10:05:39 -04:00
message_export.go MM-59966 - Compliance Export overhaul - feature branch (#29789) 2025-01-10 16:56:02 -05:00
metrics.go [MM-65979] Add Prometheus metrics for plugin webapp performance (#35075) 2026-02-13 18:07:54 +05:30
notification.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
oauthproviders.go [MM-66838] Update throttled library to v2.15.0 with Go modules support (#34657) 2026-03-19 11:36:19 +01:00
outgoing_oauth_connection.go Webapp - Outgoing OAuth Connections (#25507) 2024-02-09 14:49:49 -05:00
pap.go implement property field seatch within access control policies (#35494) 2026-03-10 16:13:00 +01:00
pdp.go [MM-61756] Attribute Based Access Control - Phase 1 (#30785) 2025-05-15 11:33:08 +02:00
push_proxy.go Push Proxy Authentication (#34211) 2025-11-12 20:16:44 +02:00
saml.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
saml_diagnostic.go [MM-68576] Add SAML connectivity status to support packet diagnostics (#36321) 2026-05-21 10:21:34 +02:00