Remove boards product references (#23855)

Automatic Merge
Этот коммит содержится в:
Miguel de la Cruz
2023-07-18 14:17:29 +02:00
коммит произвёл GitHub
родитель 62495f16bd
Коммит 150c6e7aef
1371 изменённых файлов: 17 добавлений и 264248 удалений

Просмотреть файл

@@ -272,16 +272,6 @@ type SubscriptionChange struct {
ShippingAddress *Address `json:"shipping_address"`
}
// TODO remove BoardsLimits.
// It is not used for real.
// Focalboard has some lingering code using this struct
// https://github.com/mattermost/mattermost/server/v8/boards/blob/fd4cf95f8ac9ba616864b25bf91bb1e4ec21335a/server/app/cloud.go#L86
// we should remove this struct once that code is removed.
type BoardsLimits struct {
Cards *int `json:"cards"`
Views *int `json:"views"`
}
type FilesLimits struct {
TotalStorage *int64 `json:"total_storage"`
}
@@ -295,12 +285,6 @@ type TeamsLimits struct {
}
type ProductLimits struct {
// TODO remove Boards property.
// It is not used for real.
// Focalboard has some lingering code using this property
// https://github.com/mattermost/mattermost/server/v8/boards/blob/fd4cf95f8ac9ba616864b25bf91bb1e4ec21335a/server/app/cloud.go#L86
// we should remove this property once that code is removed.
Boards *BoardsLimits `json:"boards,omitempty"`
Files *FilesLimits `json:"files,omitempty"`
Messages *MessagesLimits `json:"messages,omitempty"`
Teams *TeamsLimits `json:"teams,omitempty"`

Просмотреть файл

@@ -33,9 +33,6 @@ type FeatureFlags struct {
// CallsEnabled controls whether or not the Calls plugin should be enabled
CallsEnabled bool
// A dash separated list for feature flags to turn on for Boards
BoardsFeatureFlags string
// Enable DataRetention for Boards
BoardsDataRetention bool
@@ -71,7 +68,6 @@ func (f *FeatureFlags) SetDefaults() {
f.AppsEnabled = true
f.PluginApps = ""
f.PluginFocalboard = ""
f.BoardsFeatureFlags = ""
f.BoardsDataRetention = false
f.NormalizeLdapDNs = false
f.GraphQL = false