Full Mattermost server source with integrated Community Enterprise features. Includes vendor directory for offline/air-gapped builds. Structure: - enterprise-impl/: Enterprise feature implementations - enterprise-community/: Init files that register implementations - enterprise/: Bridge imports (community_imports.go) - vendor/: All dependencies for offline builds Build (online): go build ./cmd/mattermost Build (offline/air-gapped): go build -mod=vendor ./cmd/mattermost 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
69 lines
2.3 KiB
Go
69 lines
2.3 KiB
Go
// Copyright (c) 2024 Mattermost Community Enterprise
|
|
// Main entry point for all enterprise features
|
|
//
|
|
// Usage in Mattermost server:
|
|
//
|
|
// import (
|
|
// enterprisecluster "github.com/mattermost-community/enterprise/cluster"
|
|
// enterprisecompliance "github.com/mattermost-community/enterprise/compliance"
|
|
// enterpriseldap "github.com/mattermost-community/enterprise/ldap"
|
|
// enterprisemetrics "github.com/mattermost-community/enterprise/metrics"
|
|
// enterpriseipfilter "github.com/mattermost-community/enterprise/ip_filtering"
|
|
// enterprisesaml "github.com/mattermost-community/enterprise/saml"
|
|
// enterprisedataretention "github.com/mattermost-community/enterprise/data_retention"
|
|
// enterprisemessageexport "github.com/mattermost-community/enterprise/message_export"
|
|
// enterpriseaccountmigration "github.com/mattermost-community/enterprise/account_migration"
|
|
// enterprisenotification "github.com/mattermost-community/enterprise/notification"
|
|
// enterpriseoauth "github.com/mattermost-community/enterprise/oauthproviders"
|
|
// enterpriseoutgoingoauth "github.com/mattermost-community/enterprise/outgoing_oauth_connection"
|
|
// enterpriseaccesscontrol "github.com/mattermost-community/enterprise/access_control"
|
|
// enterprisepushproxy "github.com/mattermost-community/enterprise/push_proxy"
|
|
// )
|
|
//
|
|
// // Register interfaces
|
|
// app.RegisterLdapInterface(enterpriseldap.NewLdapFactory())
|
|
// platform.RegisterClusterInterface(enterprisecluster.NewClusterFactory())
|
|
// // etc.
|
|
|
|
package enterprise
|
|
|
|
// Version information
|
|
const (
|
|
Version = "1.0.0"
|
|
BuildDate = "2024-12-17"
|
|
Description = "Mattermost Community Enterprise - Open source implementation of enterprise features"
|
|
)
|
|
|
|
// Features returns a list of available enterprise features
|
|
func Features() []string {
|
|
return []string{
|
|
// Authentication & SSO
|
|
"ldap",
|
|
"ldap_diagnostic",
|
|
"saml",
|
|
"oauth_google",
|
|
"oauth_office365",
|
|
"oauth_openid",
|
|
|
|
// Infrastructure
|
|
"cluster",
|
|
"metrics",
|
|
"ip_filtering",
|
|
"push_proxy",
|
|
|
|
// Search (Bleve - lightweight alternative to Elasticsearch)
|
|
"bleve_search",
|
|
|
|
// Compliance & Security
|
|
"compliance",
|
|
"data_retention",
|
|
"message_export",
|
|
"access_control",
|
|
|
|
// User Management
|
|
"account_migration",
|
|
"notification",
|
|
"outgoing_oauth_connection",
|
|
}
|
|
}
|