mattermost/server
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
..
bin Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
build chore(ci): upgrade Go to 1.26.3 in build container Dockerfiles (#36648) 2026-05-20 17:56:19 +03:00
channels [MM-68576] Add SAML connectivity status to support packet diagnostics (#36321) 2026-05-21 10:21:34 +02:00
cmd MM-68762: Discoverable Private Channels — Server data layer (#36539) 2026-05-15 21:04:32 +02:00
config Fix config Sanitize fields missing from desanitize, causing FakeSetting to be persisted (#36619) 2026-05-20 10:04:21 +00:00
einterfaces [MM-68576] Add SAML connectivity status to support packet diagnostics (#36321) 2026-05-21 10:21:34 +02:00
enterprise MM-68150: Upgrade golangci-lint to v2.12.2 (#36554) 2026-05-14 17:29:37 -04:00
fips MM-65959: Add FIPS indicator to about dialog (#34463) 2025-12-11 18:37:29 -04:00
fonts Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
i18n Add inline action buttons for bot-posted markdown (#36219) 2026-05-20 13:34:44 -06:00
platform MM-68150: Upgrade golangci-lint to v2.12.2 (#36554) 2026-05-14 17:29:37 -04:00
public [MM-68576] Add SAML connectivity status to support packet diagnostics (#36321) 2026-05-21 10:21:34 +02:00
scripts ci: invalidate poisoned shard-timing cache and guard future saves (#36568) 2026-05-14 16:01:49 +00:00
templates [MM-67859] Update license renewal and expiry email branding (#35701) 2026-04-04 20:30:36 -03:00
tests MM-68149: Upgrade to Go 1.26.2 (#36418) 2026-05-12 15:59:12 +00:00
.gitignore Update .server/gitignore to ignore all JSON files under the directory (#27593) 2024-07-11 09:12:57 +02:00
.go-version Upgrade Go to 1.26.3 (#36656) 2026-05-20 13:21:14 -03:00
.golangci.yml MM-68150: Upgrade golangci-lint to v2.12.2 (#36554) 2026-05-14 17:29:37 -04:00
.sass-lint.yml Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
AGENTS.md Add server/AGENTS.md (#35903) 2026-04-21 02:33:20 -07:00
config.mk Add Azurite to test infrastructure (#36485) 2026-05-11 12:06:59 +02:00
copyright.txt Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
docker-compose.makefile.yml Add Azurite to test infrastructure (#36485) 2026-05-11 12:06:59 +02:00
docker-compose.pgvector.yml Add pluggable AI actions menu with custom prompts extension point (#35930) 2026-04-14 18:46:20 +00:00
docker-compose.yaml MM-67668: Replace Promtail with OpenTelemetry collector (#35381) 2026-02-27 16:48:17 +01:00
go.mod MM-68151: Update server dependencies (#36571) 2026-05-20 18:20:19 -03:00
go.sum MM-68151: Update server dependencies (#36571) 2026-05-20 18:20:19 -03:00
Makefile Update Calls to v1.11.5 (#36574) 2026-05-15 09:22:08 -04:00
path.go Centralize the GetPackagePath (#27004) 2024-05-15 12:05:13 -03:00